comp-hub 0.28.5 → 0.28.6

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 (92) hide show
  1. package/README.md +132 -132
  2. package/bin/cli.js +53 -53
  3. package/bin/lib/commands.js +173 -173
  4. package/bin/lib/constants.js +22 -22
  5. package/bin/lib/http.js +62 -62
  6. package/bin/lib/startup.js +183 -183
  7. package/bin/lib/utils.js +112 -112
  8. package/dist/index.js +1 -1
  9. package/dist/website/container/assets/{index-DW_KDaXl.js → index-C4rP9NOf.js} +9 -9
  10. package/dist/website/container/assets/index-DyP-WX-l.css +1 -0
  11. package/dist/website/container/index.html +32 -32
  12. package/dist/website/container/js/vue2-sfc-loader.js +260 -260
  13. package/dist/website/container/js/vue3-sfc-loader.js +289 -289
  14. package/dist/website/item/assets/index-YY_elpPJ.js +39 -0
  15. package/dist/website/item/assets/index-xGYf6R_n.css +1 -0
  16. package/dist/website/item/index.html +30 -30
  17. package/dist/website/main/assets/{CanvasAnimation.vue_vue_type_script_setup_true_lang-Xr4R8ONt.js → CanvasAnimation.vue_vue_type_script_setup_true_lang-CllQrgJy.js} +1 -1
  18. package/dist/website/main/assets/index-30_1ggVR.js +1 -0
  19. package/dist/website/main/assets/{index-tKPA5N_x.js → index-5AGG9ot8.js} +1 -1
  20. package/dist/website/main/assets/index-5NbrFL1v.js +1 -0
  21. package/dist/website/main/assets/{index-DGaY7dL7.js → index-B5P6DgaP.js} +1 -1
  22. package/dist/website/main/assets/index-B94DbVvF.js +1 -0
  23. package/dist/website/main/assets/index-B9ln289Q.js +1 -0
  24. package/dist/website/main/assets/{index-DIKKFNiV.css → index-BboFkG3x.css} +1 -1
  25. package/dist/website/main/assets/{index-9E0N8vk2.js → index-Bix1nJzT.js} +1 -1
  26. package/dist/website/main/assets/index-Bt7T-LaE.js +1 -0
  27. package/dist/website/main/assets/index-C5FOjHtG.js +1 -0
  28. package/dist/website/main/assets/{index-RcR0UXkh.js → index-C9Y3CNRO.js} +1 -1
  29. package/dist/website/main/assets/{index-BGYcKO_k.js → index-CBkRhssK.js} +2 -2
  30. package/dist/website/main/assets/{index-BblV7ZcF.js → index-CJBbqPIC.js} +1 -1
  31. package/dist/website/main/assets/{index-CdLdwW7r.js → index-CRPDDq-V.js} +13 -13
  32. package/dist/website/main/assets/{index-CsUtZbBp.js → index-CS5py2lv.js} +1 -1
  33. package/dist/website/main/assets/{index-X1ZIWbVW.js → index-CYEfOQSg.js} +2 -2
  34. package/dist/website/main/assets/{index-BqUY_Pbs.js → index-CeYUbWQf.js} +1 -1
  35. package/dist/website/main/assets/{index-DxyEzkir.css → index-Cl0SK7oa.css} +1 -1
  36. package/dist/website/main/assets/index-ClGXZTwx.js +1 -0
  37. package/dist/website/main/assets/index-CyPExloz.css +1 -0
  38. package/dist/website/main/assets/{index-bdWvkmhc.js → index-D206deyl.js} +1 -1
  39. package/dist/website/main/assets/{index-BMSnGhSG.js → index-D8JLLNls.js} +1 -1
  40. package/dist/website/main/assets/index-DJ4AvgpT.css +1 -0
  41. package/dist/website/main/assets/{index-BVcp4iEn.js → index-DMKeTfl9.js} +1 -1
  42. package/dist/website/main/assets/index-DNzk9GC4.js +1 -0
  43. package/dist/website/main/assets/{index-Dfkpa19a.js → index-DdlcdFg6.js} +1 -1
  44. package/dist/website/main/assets/index-Dgyjv57X.js +1 -0
  45. package/dist/website/main/assets/index-DkvChnew.js +1 -0
  46. package/dist/website/main/assets/{index-DbmFA7Z2.js → index-DnoK5_sf.js} +1 -1
  47. package/dist/website/main/assets/index-Du5qihI4.js +1 -0
  48. package/dist/website/main/assets/{index-B8QVBEgQ.js → index-OKDkiqud.js} +1 -1
  49. package/dist/website/main/assets/index-OQIUhz5k.js +1 -0
  50. package/dist/website/main/assets/{index-Cc3zDN4S.js → index-pnMxQIk7.js} +1 -1
  51. package/dist/website/main/assets/index-qAIxUXsY.css +1 -0
  52. package/dist/website/main/assets/{index-qSRqezAW.js → index-zrOq4KJF.js} +1 -1
  53. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-BOye9Q0l.js +1 -0
  54. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-BcUGs_WV.js +2 -0
  55. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C2f6_gwm.js +1 -0
  56. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-DzvWwe2g.js → index.vue_vue_type_script_setup_true_lang-Cl-Fl4oU.js} +1 -1
  57. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BYKlY94g.js → index.vue_vue_type_script_setup_true_lang-CsP7DU8L.js} +1 -1
  58. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-piiSvWkd.js +1 -0
  59. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-CwaGkvXy.js → index.vue_vue_type_style_index_0_lang-HhqETZCz.js} +1 -1
  60. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-BNPcBMvg.js → index.vue_vue_type_style_index_0_lang-_EGM5AW2.js} +1 -1
  61. package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-lii4Mw4k.js +1 -0
  62. package/dist/website/main/assets/{useCompEditStore-EVZp94pg.css → useCompEditStore-CTeLLTZM.css} +1 -1
  63. package/dist/website/main/assets/{useCompEditStore-DI3vFtGm.js → useCompEditStore-De0RvlRq.js} +135 -135
  64. package/dist/website/main/assets/{useKeyword-bWHMALoZ.js → useKeyword-DPx3R5YX.js} +1 -1
  65. package/dist/website/main/assets/{useMessage-BVw3M4ej.js → useMessage-8Gi-vx-A.js} +1 -1
  66. package/dist/website/main/assets/useVscodeOpen--nBM6CZ-.js +1 -0
  67. package/dist/website/main/index.html +2 -2
  68. package/package.json +45 -45
  69. package/dist/website/container/assets/index-D6braxue.css +0 -1
  70. package/dist/website/item/assets/index-BWvMfSxu.css +0 -1
  71. package/dist/website/item/assets/index-Cqs5iLeY.js +0 -39
  72. package/dist/website/main/assets/index-BEVcnNvI.js +0 -1
  73. package/dist/website/main/assets/index-BHUDEWGt.js +0 -1
  74. package/dist/website/main/assets/index-BYC9CuLh.js +0 -1
  75. package/dist/website/main/assets/index-BwgqBNRu.js +0 -1
  76. package/dist/website/main/assets/index-CG7uKVdX.js +0 -1
  77. package/dist/website/main/assets/index-CzTcYkCn.css +0 -1
  78. package/dist/website/main/assets/index-D-uwf4yo.css +0 -1
  79. package/dist/website/main/assets/index-D6MA33Hi.js +0 -1
  80. package/dist/website/main/assets/index-Dd8ha0TC.js +0 -1
  81. package/dist/website/main/assets/index-Diq3BceD.js +0 -1
  82. package/dist/website/main/assets/index-DkakQhTy.js +0 -1
  83. package/dist/website/main/assets/index-Dz2nPzxk.js +0 -1
  84. package/dist/website/main/assets/index-FFTkVbVX.css +0 -1
  85. package/dist/website/main/assets/index-qsIY_6aA.js +0 -1
  86. package/dist/website/main/assets/index-rWF_BNTH.js +0 -1
  87. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CCaH-GEy.js +0 -1
  88. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DPbqR98S.js +0 -1
  89. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DTrkhAMQ.js +0 -2
  90. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DtCu4Izc.js +0 -1
  91. package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-1ZphBFBL.js +0 -1
  92. package/dist/website/main/assets/useVscodeOpen-SZpyzVHG.js +0 -1
@@ -0,0 +1 @@
1
+ @charset "UTF-8";.app-container[data-v-3ece2a62]{width:100%;height:100%}.segmented[data-v-652cb401]{--segmented-bg: #f0f0f0;--segmented-selected-bg: #409eff;--segmented-selected-shadow: none;--segmented-color: #a6a6a6;--segmented-selected-color: #ffffff;--segmented-padding: 1px;--segmented-font-size: 14px;--segmented-border-radius: 6px;--segmented-item-border-radius: 4px;--segmented-item-height: 32px;--segmented-item-min-width: 40px;--segmented-item-padding-x: 12px;display:inline-flex;position:relative;background:var(--segmented-bg);border-radius:var(--segmented-border-radius);padding:var(--segmented-padding);user-select:none;-webkit-user-select:none}html.dark .segmented[data-v-652cb401]{--segmented-bg: #1e1e1e}.segmented--block[data-v-652cb401]{display:flex;width:100%}.segmented--block .segmented__item[data-v-652cb401]{flex:1;justify-content:center}.segmented--vertical[data-v-652cb401]{flex-direction:column}.segmented.is-disabled[data-v-652cb401]{opacity:.6;cursor:not-allowed}.segmented__indicator[data-v-652cb401]{position:absolute;top:var(--segmented-padding);left:var(--segmented-padding);border-radius:var(--segmented-item-border-radius);background:var(--segmented-selected-bg);box-shadow:var(--segmented-selected-shadow);transition:transform .25s cubic-bezier(.4,0,.2,1),width .25s cubic-bezier(.4,0,.2,1),height .25s cubic-bezier(.4,0,.2,1);pointer-events:none;z-index:1}.segmented__item[data-v-652cb401]{position:relative;display:inline-flex;align-items:center;height:var(--segmented-item-height);min-width:var(--segmented-item-min-width);padding:0 var(--segmented-item-padding-x);font-size:var(--segmented-font-size);color:var(--segmented-color);border-radius:var(--segmented-item-border-radius);cursor:pointer;transition:color .25s cubic-bezier(.4,0,.2,1);white-space:nowrap;z-index:2}.segmented__item[data-v-652cb401]:hover:not(.is-disabled):not(.is-selected){color:var(--segmented-selected-color)}.segmented__item.is-selected[data-v-652cb401]{color:var(--segmented-selected-color)}.segmented__item.is-disabled[data-v-652cb401]{opacity:.4;cursor:not-allowed}.segmented__input[data-v-652cb401]{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.segmented__label[data-v-652cb401]{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:100%}.segmented--large[data-v-652cb401]{--segmented-font-size: 16px;--segmented-item-height: 40px;--segmented-item-min-width: 48px;--segmented-item-padding-x: 16px;--segmented-border-radius: 8px;--segmented-item-border-radius: 6px;--segmented-padding: 4px}.segmented--small[data-v-652cb401]{--segmented-font-size: 12px;--segmented-item-height: 24px;--segmented-item-min-width: 32px;--segmented-item-padding-x: 8px;--segmented-border-radius: 4px;--segmented-item-border-radius: 3px;--segmented-padding: 2px}.ec-outer[data-v-50d3a8b1]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ec-outer--dark[data-v-50d3a8b1]{background-color:#0d1117}.ec-outer--light[data-v-50d3a8b1]{background-color:#f5f7fa}.ec-inner[data-v-50d3a8b1]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.ec-inner--dark[data-v-50d3a8b1]{background-color:#21262d}.ec-inner--light[data-v-50d3a8b1]{background-color:#fff}.ec-icon[data-v-50d3a8b1]{font-size:3rem;line-height:1;margin-bottom:1rem}.ec-title[data-v-50d3a8b1]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.ec-title--dark[data-v-50d3a8b1]{color:#ff6b6b}.ec-title--light[data-v-50d3a8b1]{color:#ff4d4f}.ec-list[data-v-50d3a8b1]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.ec-item[data-v-50d3a8b1]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.ec-item--dark[data-v-50d3a8b1]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.ec-item--light[data-v-50d3a8b1]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.ec-actions[data-v-50d3a8b1]{display:flex;justify-content:center;gap:.75rem}.wc-outer[data-v-c171e829]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.wc-outer--dark[data-v-c171e829]{background-color:#0d1117}.wc-outer--light[data-v-c171e829]{background-color:#f5f7fa}.wc-inner[data-v-c171e829]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.wc-inner--dark[data-v-c171e829]{background-color:#21262d}.wc-inner--light[data-v-c171e829]{background-color:#fff}.wc-icon[data-v-c171e829]{font-size:3rem;line-height:1;margin-bottom:1rem}.wc-title[data-v-c171e829]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.wc-title--dark[data-v-c171e829]{color:#d29922}.wc-title--light[data-v-c171e829]{color:#b8860b}.wc-list[data-v-c171e829]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.wc-item[data-v-c171e829]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.wc-item--dark[data-v-c171e829]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.wc-item--light[data-v-c171e829]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.wc-actions[data-v-c171e829]{display:flex;justify-content:center;gap:.75rem}.card[data-v-18822aad]{--card-bg: #fff;--card-border-color: #e4e7ed;--card-color: #303133;--card-shadow-color: rgba(0, 0, 0, .1);border-radius:4px;border:1px solid var(--card-border-color);background-color:var(--card-bg);color:var(--card-color);overflow:hidden;transition:box-shadow .3s ease}html.dark .card[data-v-18822aad]{--card-bg: #1d1e1f;--card-border-color: #30363d;--card-color: #c9d1d9;--card-shadow-color: rgba(0, 0, 0, .4)}.card.is-never-shadow[data-v-18822aad],.card.is-hover-shadow[data-v-18822aad]{box-shadow:none}.card.is-hover-shadow[data-v-18822aad]:hover,.card.is-always-shadow[data-v-18822aad]{box-shadow:0 2px 12px 0 var(--card-shadow-color)}.card__header[data-v-18822aad]{padding:12px 20px;border-bottom:1px solid var(--card-border-color);font-size:16px;font-weight:500;box-sizing:border-box}.card__body[data-v-18822aad]{padding:20px;box-sizing:border-box}.card__footer[data-v-18822aad]{padding:12px 20px;border-top:1px solid var(--card-border-color);box-sizing:border-box}.carousel[data-v-99eabb22]{position:relative;overflow:hidden}.carousel--horizontal[data-v-99eabb22]{width:100%}.carousel--vertical[data-v-99eabb22]{height:100%}.carousel__viewport[data-v-99eabb22]{width:100%;height:100%;overflow:hidden;position:relative}.carousel__viewport--card[data-v-99eabb22]{display:flex;align-items:center;justify-content:center}.carousel__track[data-v-99eabb22]{display:flex;width:100%;height:100%;transition:transform .4s ease}.carousel__track--card[data-v-99eabb22]{position:relative;width:100%;height:100%;display:block;transition:none}.carousel__track--animating[data-v-99eabb22]{transition:transform .4s ease}.carousel__track--motion-blur[data-v-99eabb22]{filter:blur(2px);transition:transform .4s ease,filter .4s ease}.carousel__arrow[data-v-99eabb22]{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:none;border-radius:50%;background-color:#fffc;color:#333;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #0000001a;opacity:0;transition:opacity .3s ease,background-color .3s ease;z-index:10}.carousel__arrow[data-v-99eabb22]:hover{background-color:#fff}.carousel__arrow--always[data-v-99eabb22]{opacity:1}.carousel__arrow--left[data-v-99eabb22]{left:16px}.carousel__arrow--right[data-v-99eabb22]{right:16px}.carousel:hover .carousel__arrow[data-v-99eabb22]{opacity:1}.carousel__arrow-icon[data-v-99eabb22]{display:inline-block;width:8px;height:8px;border-style:solid;border-color:#333;border-width:0 2px 2px 0}.carousel__arrow-icon--left[data-v-99eabb22]{transform:rotate(135deg);margin-left:2px}.carousel__arrow-icon--right[data-v-99eabb22]{transform:rotate(-45deg);margin-right:2px}.carousel__indicators[data-v-99eabb22]{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;gap:8px;align-items:center;list-style:none;margin:0;padding:6px 12px;z-index:10;background-color:#0006;border-radius:20px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.carousel__indicators--vertical[data-v-99eabb22]{inset:50% 12px auto auto;transform:translateY(-50%);flex-direction:column}.carousel__indicator[data-v-99eabb22]{width:8px;height:8px;border-radius:50%;background-color:#fff6;cursor:pointer;transition:background-color .3s ease,transform .3s ease;position:relative}.carousel__indicator span[data-v-99eabb22]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.carousel__indicator--active[data-v-99eabb22]{background-color:#fff;transform:scale(1.25)}.carousel-item[data-v-9638f2b6]{flex-shrink:0;width:100%;height:100%;overflow:hidden;transition:transform .4s ease,opacity .4s ease}.carousel-item--card[data-v-9638f2b6]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.carousel-item--card.carousel-item--active[data-v-9638f2b6]{cursor:default}.async-comp-wrapper[data-v-0db0534e],.async-comp-container[data-v-0db0534e]{width:100%;height:100%;position:relative}.async-comp-container.async-comp-overflow-auto[data-v-0db0534e]{overflow:auto}.async-comp-container.async-comp-overflow-hidden[data-v-0db0534e]{overflow:hidden}.async-comp-error[data-v-0db0534e]{position:absolute;inset:0;width:100%;height:100%}[data-v-da931a53] .carousel__viewport{height:100%}.comp-mini-carousel[data-v-da931a53],.comp-mini-carousel-item[data-v-da931a53]{width:100%;height:100%}.comp-mini-carousel-slide[data-v-da931a53]{width:100%;height:100%;border-bottom-left-radius:.125rem;border-bottom-right-radius:.125rem}.panel-mini-wrapper[data-v-d25ab806]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.panel-mini-card[data-v-d25ab806]{height:100%;max-height:250px;width:340px}[data-v-d25ab806] .panel-mini-card-body{padding:0!important;overflow:hidden!important;width:100%!important;height:100%!important}.panel-full-card[data-v-c0b89875]{flex:1;overflow:hidden;width:100%;height:100%}[data-v-c0b89875] .panel-full-card-body{padding:0!important;overflow:hidden!important;width:100%!important;height:100%!important}.edit-panel[data-v-75604ea1]{width:100%;height:100%;background-color:#fff}html.dark .edit-panel[data-v-75604ea1]{background-color:#141414}.edit-panel__carousel[data-v-75604ea1]{width:100%;height:100%}.edit-panel__content[data-v-75604ea1]{width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;padding:4px}.edit-panel__tools[data-v-75604ea1]{display:flex;width:100%;justify-content:center;gap:10px;align-items:center;margin-bottom:2px}.edit-panel__refresh-btn[data-v-75604ea1]{cursor:pointer}.el-carousel__button{background-color:#fff!important;border:1px solid #4d4949!important;border-radius:4px!important;height:6px!important}.el-carousel__indicator--horizontal{padding:2px 4px}.el-carousel--horizontal,.el-carousel--vertical{overflow:visible}*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;overflow:hidden}#app{height:100%;overflow:hidden}.avatar[data-v-003efef3]{--avatar-bg: #c0c4cc;--avatar-color: #fff;--avatar-border-color: #dcdfe6;display:inline-flex;align-items:center;justify-content:center;background-color:var(--avatar-bg);color:var(--avatar-color);overflow:hidden;vertical-align:middle;flex-shrink:0;box-sizing:border-box}html.dark .avatar[data-v-003efef3]{--avatar-bg: #4a4a4a;--avatar-color: #e0e0e0;--avatar-border-color: #505050}.avatar--circle[data-v-003efef3]{border-radius:50%}.avatar--square[data-v-003efef3]{border-radius:4px}.avatar__img[data-v-003efef3]{width:100%;height:100%;display:block}.avatar__icon[data-v-003efef3]{width:50%;height:50%}.avatar__text[data-v-003efef3]{line-height:1;white-space:nowrap;-webkit-user-select:none;user-select:none}.loading-wrapper[data-v-b9460f48]{display:flex;align-items:center;justify-content:center;min-height:120px}.loading-inline[data-v-b9460f48]{min-height:unset;padding:40px 0}.loading-text[data-v-b9460f48]{font-size:13px;color:#909399}.loading-dots[data-v-b9460f48]{display:inline}.loading-dot[data-v-b9460f48]{display:inline-block;opacity:0;animation:dot-blink-b9460f48 1.2s infinite}@keyframes dot-blink-b9460f48{0%,40%{opacity:0}50%,90%{opacity:1}to{opacity:0}}.hl[data-v-26edf6e2]{background:#ffe600;padding:0 2px;border-radius:2px}[data-v-c7de7948] .el-avatar--circle{border:1px solid #857e7e;padding:0!important}.dot[data-v-74b57ee0]:after{content:"";position:absolute;top:0%;right:0%;transform:translate(var(--offsetX),var(--offsetY));width:7px;height:7px;border-radius:50%;background-color:#f5222d;border:1px solid #fff}.code-container .hljs{border-radius:5px!important}.grid-container[data-v-c35eb13d]{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--v35e9a485),1fr));gap:var(--v31bce968)}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.list-leave-active{position:absolute;width:var(--v35e9a485)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .3s ease}.transition-fade-enter-from{opacity:0;transform:translate(-30px)}.transition-fade-leave-to{opacity:0;transform:translate(30px)}.is-collected[data-v-cb30e841]{color:#facc15}.segmented[data-v-d6bbadfd]{--segmented-bg: #f0f0f0;--segmented-selected-bg: #409eff;--segmented-selected-shadow: none;--segmented-color: #a6a6a6;--segmented-selected-color: #ffffff;--segmented-padding: 1px;--segmented-font-size: 14px;--segmented-border-radius: 6px;--segmented-item-border-radius: 4px;--segmented-item-height: 32px;--segmented-item-min-width: 40px;--segmented-item-padding-x: 12px;display:inline-flex;position:relative;background:var(--segmented-bg);border-radius:var(--segmented-border-radius);padding:var(--segmented-padding);user-select:none;-webkit-user-select:none}html.dark .segmented[data-v-d6bbadfd]{--segmented-bg: #1e1e1e}.segmented--block[data-v-d6bbadfd]{display:flex;width:100%}.segmented--block .segmented__item[data-v-d6bbadfd]{flex:1;justify-content:center}.segmented--vertical[data-v-d6bbadfd]{flex-direction:column}.segmented.is-disabled[data-v-d6bbadfd]{opacity:.6;cursor:not-allowed}.segmented__indicator[data-v-d6bbadfd]{position:absolute;top:var(--segmented-padding);left:var(--segmented-padding);border-radius:var(--segmented-item-border-radius);background:var(--segmented-selected-bg);box-shadow:var(--segmented-selected-shadow);transition:transform .25s cubic-bezier(.4,0,.2,1),width .25s cubic-bezier(.4,0,.2,1),height .25s cubic-bezier(.4,0,.2,1);pointer-events:none;z-index:1}.segmented__item[data-v-d6bbadfd]{position:relative;display:inline-flex;align-items:center;height:var(--segmented-item-height);min-width:var(--segmented-item-min-width);padding:0 var(--segmented-item-padding-x);font-size:var(--segmented-font-size);color:var(--segmented-color);border-radius:var(--segmented-item-border-radius);cursor:pointer;transition:color .25s cubic-bezier(.4,0,.2,1);white-space:nowrap;z-index:2}.segmented__item[data-v-d6bbadfd]:hover:not(.is-disabled):not(.is-selected){color:var(--segmented-selected-color)}.segmented__item.is-selected[data-v-d6bbadfd]{color:var(--segmented-selected-color)}.segmented__item.is-disabled[data-v-d6bbadfd]{opacity:.4;cursor:not-allowed}.segmented__input[data-v-d6bbadfd]{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.segmented__label[data-v-d6bbadfd]{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:100%}.segmented--large[data-v-d6bbadfd]{--segmented-font-size: 16px;--segmented-item-height: 40px;--segmented-item-min-width: 48px;--segmented-item-padding-x: 16px;--segmented-border-radius: 8px;--segmented-item-border-radius: 6px;--segmented-padding: 4px}.segmented--small[data-v-d6bbadfd]{--segmented-font-size: 12px;--segmented-item-height: 24px;--segmented-item-min-width: 32px;--segmented-item-padding-x: 8px;--segmented-border-radius: 4px;--segmented-item-border-radius: 3px;--segmented-padding: 2px}.ec-outer[data-v-fa71b307]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ec-outer--dark[data-v-fa71b307]{background-color:#0d1117}.ec-outer--light[data-v-fa71b307]{background-color:#f5f7fa}.ec-inner[data-v-fa71b307]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.ec-inner--dark[data-v-fa71b307]{background-color:#21262d}.ec-inner--light[data-v-fa71b307]{background-color:#fff}.ec-icon[data-v-fa71b307]{font-size:3rem;line-height:1;margin-bottom:1rem}.ec-title[data-v-fa71b307]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.ec-title--dark[data-v-fa71b307]{color:#ff6b6b}.ec-title--light[data-v-fa71b307]{color:#ff4d4f}.ec-list[data-v-fa71b307]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.ec-item[data-v-fa71b307]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.ec-item--dark[data-v-fa71b307]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.ec-item--light[data-v-fa71b307]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.ec-actions[data-v-fa71b307]{display:flex;justify-content:center;gap:.75rem}.wc-outer[data-v-1da76557]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.wc-outer--dark[data-v-1da76557]{background-color:#0d1117}.wc-outer--light[data-v-1da76557]{background-color:#f5f7fa}.wc-inner[data-v-1da76557]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.wc-inner--dark[data-v-1da76557]{background-color:#21262d}.wc-inner--light[data-v-1da76557]{background-color:#fff}.wc-icon[data-v-1da76557]{font-size:3rem;line-height:1;margin-bottom:1rem}.wc-title[data-v-1da76557]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.wc-title--dark[data-v-1da76557]{color:#d29922}.wc-title--light[data-v-1da76557]{color:#b8860b}.wc-list[data-v-1da76557]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.wc-item[data-v-1da76557]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.wc-item--dark[data-v-1da76557]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.wc-item--light[data-v-1da76557]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.wc-actions[data-v-1da76557]{display:flex;justify-content:center;gap:.75rem}.pane-card[data-v-aa13ea29] .pane-body{padding:0!important;display:flex;flex-direction:column;overflow:hidden}.pane-card[data-v-aa13ea29] .pane-header{padding:0!important}.pane-maximized[data-v-aa13ea29]{position:fixed;inset:0;z-index:50}[data-v-322b616a] .el-pagination{justify-content:var(--pagination-location)}[data-v-dce214d2]::deep(.not-matched){text-decoration:line-through;opacity:.6}.diff-code-loading[data-v-8224ac56]{position:absolute;top:80px;left:50%;transform:translate(-50%)}[data-v-8224ac56] .highlight-file{animation:highlight-pulse-8224ac56 .5s ease;animation-iteration-count:3}@keyframes highlight-pulse-8224ac56{0%,to{box-shadow:none}50%{box-shadow:0 0 0 3px var(--el-color-primary-light-5)}}.d2h-file-wrapper{scroll-margin-top:20px}.no-diff{text-align:center;padding:20px;color:#999}.card-no-padding[data-v-31c49d28] .el-card__body{padding:0;overflow:hidden}.diff-container{display:flex;flex-direction:column;overflow:hidden}.diff-container .el-dialog__body{flex:1;overflow:hidden}.card[data-v-ec284f6f]{--card-bg: #fff;--card-border-color: #e4e7ed;--card-color: #303133;--card-shadow-color: rgba(0, 0, 0, .1);border-radius:4px;border:1px solid var(--card-border-color);background-color:var(--card-bg);color:var(--card-color);overflow:hidden;transition:box-shadow .3s ease}html.dark .card[data-v-ec284f6f]{--card-bg: #1d1e1f;--card-border-color: #30363d;--card-color: #c9d1d9;--card-shadow-color: rgba(0, 0, 0, .4)}.card.is-never-shadow[data-v-ec284f6f],.card.is-hover-shadow[data-v-ec284f6f]{box-shadow:none}.card.is-hover-shadow[data-v-ec284f6f]:hover,.card.is-always-shadow[data-v-ec284f6f]{box-shadow:0 2px 12px 0 var(--card-shadow-color)}.card__header[data-v-ec284f6f]{padding:12px 20px;border-bottom:1px solid var(--card-border-color);font-size:16px;font-weight:500;box-sizing:border-box}.card__body[data-v-ec284f6f]{padding:20px;box-sizing:border-box}.card__footer[data-v-ec284f6f]{padding:12px 20px;border-top:1px solid var(--card-border-color);box-sizing:border-box}.carousel[data-v-049de567]{position:relative;overflow:hidden}.carousel--horizontal[data-v-049de567]{width:100%}.carousel--vertical[data-v-049de567]{height:100%}.carousel__viewport[data-v-049de567]{width:100%;height:100%;overflow:hidden;position:relative}.carousel__viewport--card[data-v-049de567]{display:flex;align-items:center;justify-content:center}.carousel__track[data-v-049de567]{display:flex;width:100%;height:100%;transition:transform .4s ease}.carousel__track--card[data-v-049de567]{position:relative;width:100%;height:100%;display:block;transition:none}.carousel__track--animating[data-v-049de567]{transition:transform .4s ease}.carousel__track--motion-blur[data-v-049de567]{filter:blur(2px);transition:transform .4s ease,filter .4s ease}.carousel__arrow[data-v-049de567]{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:none;border-radius:50%;background-color:#fffc;color:#333;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #0000001a;opacity:0;transition:opacity .3s ease,background-color .3s ease;z-index:10}.carousel__arrow[data-v-049de567]:hover{background-color:#fff}.carousel__arrow--always[data-v-049de567]{opacity:1}.carousel__arrow--left[data-v-049de567]{left:16px}.carousel__arrow--right[data-v-049de567]{right:16px}.carousel:hover .carousel__arrow[data-v-049de567]{opacity:1}.carousel__arrow-icon[data-v-049de567]{display:inline-block;width:8px;height:8px;border-style:solid;border-color:#333;border-width:0 2px 2px 0}.carousel__arrow-icon--left[data-v-049de567]{transform:rotate(135deg);margin-left:2px}.carousel__arrow-icon--right[data-v-049de567]{transform:rotate(-45deg);margin-right:2px}.carousel__indicators[data-v-049de567]{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;gap:8px;align-items:center;list-style:none;margin:0;padding:6px 12px;z-index:10;background-color:#0006;border-radius:20px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.carousel__indicators--vertical[data-v-049de567]{inset:50% 12px auto auto;transform:translateY(-50%);flex-direction:column}.carousel__indicator[data-v-049de567]{width:8px;height:8px;border-radius:50%;background-color:#fff6;cursor:pointer;transition:background-color .3s ease,transform .3s ease;position:relative}.carousel__indicator span[data-v-049de567]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.carousel__indicator--active[data-v-049de567]{background-color:#fff;transform:scale(1.25)}.carousel-item[data-v-efff3604]{flex-shrink:0;width:100%;height:100%;overflow:hidden;transition:transform .4s ease,opacity .4s ease}.carousel-item--card[data-v-efff3604]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.carousel-item--card.carousel-item--active[data-v-efff3604]{cursor:default}.text-container[data-v-3179173f]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--v26a8013a);overflow:hidden}.text-single[data-v-3179173f]{visibility:hidden;position:absolute;white-space:nowrap;width:1px}::deep(.el-radio__input.is-checked + .el-radio__label) span[data-v-3c8e54c4]:first-child{box-shadow:0 0 8px currentColor}
@@ -1,34 +1,34 @@
1
- <!doctype html>
2
- <html lang="" name="item">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" href="/item/favicon.ico" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
1
+ <!doctype html>
2
+ <html lang="" name="item">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" href="/item/favicon.ico" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <style>
8
8
  html.dark {
9
9
  color-scheme: dark;
10
10
  }
11
- </style>
12
- <script>
13
- try {
14
- const urlParams = new URLSearchParams(window.location.search);
15
- const isDark = urlParams.get("isDark") === "true";
16
- if (isDark) {
17
- document.documentElement.classList.add("dark");
18
- }
19
- } catch (error) {
20
- console.error("解析 URL 参数失败", error);
21
- }
22
- </script>
23
- <script type="module" crossorigin src="/item/assets/index-Cqs5iLeY.js"></script>
24
- <link rel="stylesheet" crossorigin href="/item/assets/index-BWvMfSxu.css">
25
- </head>
26
-
27
- <body>
28
- <div id="app"></div>
29
-
30
-
31
- <!-- 勿要删除,全局配置替换字符串 -->
32
- <!--GLOBAL_CONFIG-->
33
- </body>
34
- </html>
11
+ </style>
12
+ <script>
13
+ try {
14
+ const urlParams = new URLSearchParams(window.location.search);
15
+ const isDark = urlParams.get("isDark") === "true";
16
+ if (isDark) {
17
+ document.documentElement.classList.add("dark");
18
+ }
19
+ } catch (error) {
20
+ console.error("解析 URL 参数失败", error);
21
+ }
22
+ </script>
23
+ <script type="module" crossorigin src="/item/assets/index-YY_elpPJ.js"></script>
24
+ <link rel="stylesheet" crossorigin href="/item/assets/index-xGYf6R_n.css">
25
+ </head>
26
+
27
+ <body>
28
+ <div id="app"></div>
29
+
30
+
31
+ <!-- 勿要删除,全局配置替换字符串 -->
32
+ <!--GLOBAL_CONFIG-->
33
+ </body>
34
+ </html>
@@ -1 +1 @@
1
- import{M as w}from"./index-CdLdwW7r.js";import{ag as S,aF as m,aA as n}from"./vendor-ui-CGT0cG1n.js";import{v as g,aF as y,a7 as M,a9 as b,ab as T,l as D,i as _,af as R}from"./vendor-core-BKehvho7.js";const A={class:"w-full h-full"},P={ref:"canvas",class:"w-full h-full bg-[#333436]"},B=g({__name:"CanvasAnimation",setup(C){const d=y("canvas"),o=R(!1);let h=null;class x{rangeR;r;rSpeed;cvs;ctx;x;y;xSpeed;ySpeed;lastMoveTime;fillStyle;maxTimeDiff=100;constructor({cvs:t,ctx:i}){this.rangeR=[3,7],this.r=n(this.rangeR[0],this.rangeR[1]),this.rSpeed=n(-1,1),this.cvs=t,this.ctx=i,this.x=n(0+this.r,this.cvs.width-this.r),this.y=n(0+this.r,this.cvs.height-this.r),this.xSpeed=n(-10,10),this.ySpeed=n(-10,10),this.lastMoveTime=null,this.fillStyle=w.randomColor()}setLastMoveTime(t){this.lastMoveTime=t}draw(){if(this.lastMoveTime){const s=Date.now()-this.lastMoveTime,e=Math.min(s,this.maxTimeDiff)/1e3;let a=this.x+e*this.xSpeed,c=this.y+e*this.ySpeed,l=this.r+e*this.rSpeed;l<=this.rangeR[0]?(l=this.rangeR[0],this.rSpeed=Math.abs(this.rSpeed)):l>=this.rangeR[1]&&(l=this.rangeR[1],this.rSpeed=-Math.abs(this.rSpeed)),a-this.r<0?(a=this.r,this.xSpeed=Math.abs(this.xSpeed)):a+this.r>this.cvs.width&&(a=this.cvs.width-this.r,this.xSpeed=-Math.abs(this.xSpeed)),c-this.r<0?(c=this.r,this.ySpeed=Math.abs(this.ySpeed)):c+this.r>this.cvs.height&&(c=this.cvs.height-this.r,this.ySpeed=-Math.abs(this.ySpeed)),this.x=a,this.y=c,this.r=l}const t=Math.max(0,this.r);this.ctx.beginPath(),this.ctx.arc(this.x,this.y,t,0,2*Math.PI),this.ctx.fillStyle=this.fillStyle,this.ctx.fill(),this.lastMoveTime=Date.now()}}class u{points;maxDis;cvs;ctx;constructor({pointNumber:t=30,maxDis:i=100,cvs:s,ctx:e}){this.points=Array(t).fill(0).map(()=>new x({cvs:s,ctx:e})),this.maxDis=i,this.cvs=s,this.ctx=e}resetPointsTime(){const t=Date.now();this.points.forEach(i=>{i.setLastMoveTime(t)})}draw(){if(o.value){if(document.hidden){setTimeout(()=>this.draw(),100);return}requestAnimationFrame(()=>this.draw()),this.ctx.clearRect(0,0,this.cvs.width,this.cvs.height);for(const[t,i]of this.points.entries()){i.draw();for(const s of this.points.slice(t+1)){const e=Math.sqrt((i.x-s.x)**2+(i.y-s.y)**2);isNaN(e)||e>this.maxDis||(this.ctx.beginPath(),this.ctx.moveTo(i.x,i.y),this.ctx.lineTo(s.x,s.y),this.ctx.strokeStyle=`rgba(200,200,200,${Math.max(0,Math.min(1,1-e/this.maxDis))})`,this.ctx.stroke(),this.ctx.closePath())}}}}}function p(){if(!d.value)return;console.log("渲染动画"),o.value=!0;const r=window.innerWidth,t=110*window.innerWidth/r,i=80*window.innerWidth/r,s=d.value,e=s.getContext("2d");if(!e)return;const a=window.devicePixelRatio||1;s.width=window.innerWidth*a,s.height=window.innerHeight*a,h&&(h=null),h=new u({pointNumber:Math.floor(t),maxDis:Math.floor(i),cvs:s,ctx:e}),h.draw()}const f=S(p,200);function v(){document.hidden?o.value=!1:d.value&&h&&(o.value=!0,h.resetPointsTime(),h.draw())}return m(window,"resize",f),m(document,"visibilitychange",v),M(()=>{f()}),b(()=>{o.value=!1,h=null}),(r,t)=>(T(),D("div",A,[_("canvas",P,null,512)]))}});export{B as _};
1
+ import{M as w}from"./index-CRPDDq-V.js";import{ag as S,aF as m,aA as n}from"./vendor-ui-CGT0cG1n.js";import{v as g,aF as y,a7 as M,a9 as b,ab as T,l as D,i as _,af as R}from"./vendor-core-BKehvho7.js";const A={class:"w-full h-full"},P={ref:"canvas",class:"w-full h-full bg-[#333436]"},B=g({__name:"CanvasAnimation",setup(C){const d=y("canvas"),o=R(!1);let h=null;class x{rangeR;r;rSpeed;cvs;ctx;x;y;xSpeed;ySpeed;lastMoveTime;fillStyle;maxTimeDiff=100;constructor({cvs:t,ctx:i}){this.rangeR=[3,7],this.r=n(this.rangeR[0],this.rangeR[1]),this.rSpeed=n(-1,1),this.cvs=t,this.ctx=i,this.x=n(0+this.r,this.cvs.width-this.r),this.y=n(0+this.r,this.cvs.height-this.r),this.xSpeed=n(-10,10),this.ySpeed=n(-10,10),this.lastMoveTime=null,this.fillStyle=w.randomColor()}setLastMoveTime(t){this.lastMoveTime=t}draw(){if(this.lastMoveTime){const s=Date.now()-this.lastMoveTime,e=Math.min(s,this.maxTimeDiff)/1e3;let a=this.x+e*this.xSpeed,c=this.y+e*this.ySpeed,l=this.r+e*this.rSpeed;l<=this.rangeR[0]?(l=this.rangeR[0],this.rSpeed=Math.abs(this.rSpeed)):l>=this.rangeR[1]&&(l=this.rangeR[1],this.rSpeed=-Math.abs(this.rSpeed)),a-this.r<0?(a=this.r,this.xSpeed=Math.abs(this.xSpeed)):a+this.r>this.cvs.width&&(a=this.cvs.width-this.r,this.xSpeed=-Math.abs(this.xSpeed)),c-this.r<0?(c=this.r,this.ySpeed=Math.abs(this.ySpeed)):c+this.r>this.cvs.height&&(c=this.cvs.height-this.r,this.ySpeed=-Math.abs(this.ySpeed)),this.x=a,this.y=c,this.r=l}const t=Math.max(0,this.r);this.ctx.beginPath(),this.ctx.arc(this.x,this.y,t,0,2*Math.PI),this.ctx.fillStyle=this.fillStyle,this.ctx.fill(),this.lastMoveTime=Date.now()}}class u{points;maxDis;cvs;ctx;constructor({pointNumber:t=30,maxDis:i=100,cvs:s,ctx:e}){this.points=Array(t).fill(0).map(()=>new x({cvs:s,ctx:e})),this.maxDis=i,this.cvs=s,this.ctx=e}resetPointsTime(){const t=Date.now();this.points.forEach(i=>{i.setLastMoveTime(t)})}draw(){if(o.value){if(document.hidden){setTimeout(()=>this.draw(),100);return}requestAnimationFrame(()=>this.draw()),this.ctx.clearRect(0,0,this.cvs.width,this.cvs.height);for(const[t,i]of this.points.entries()){i.draw();for(const s of this.points.slice(t+1)){const e=Math.sqrt((i.x-s.x)**2+(i.y-s.y)**2);isNaN(e)||e>this.maxDis||(this.ctx.beginPath(),this.ctx.moveTo(i.x,i.y),this.ctx.lineTo(s.x,s.y),this.ctx.strokeStyle=`rgba(200,200,200,${Math.max(0,Math.min(1,1-e/this.maxDis))})`,this.ctx.stroke(),this.ctx.closePath())}}}}}function p(){if(!d.value)return;console.log("渲染动画"),o.value=!0;const r=window.innerWidth,t=110*window.innerWidth/r,i=80*window.innerWidth/r,s=d.value,e=s.getContext("2d");if(!e)return;const a=window.devicePixelRatio||1;s.width=window.innerWidth*a,s.height=window.innerHeight*a,h&&(h=null),h=new u({pointNumber:Math.floor(t),maxDis:Math.floor(i),cvs:s,ctx:e}),h.draw()}const f=S(p,200);function v(){document.hidden?o.value=!1:d.value&&h&&(o.value=!0,h.resetPointsTime(),h.draw())}return m(window,"resize",f),m(document,"visibilitychange",v),M(()=>{f()}),b(()=>{o.value=!1,h=null}),(r,t)=>(T(),D("div",A,[_("canvas",P,null,512)]))}});export{B as _};
@@ -0,0 +1 @@
1
+ import{aJ as L,U as O,b as k}from"./vendor-ui-CGT0cG1n.js";import{m as s,B as T,u,i as R}from"./index-CRPDDq-V.js";import{c as b,a as I}from"./index.vue_vue_type_script_setup_true_lang-BcUGs_WV.js";import{v as S,aA as P,y as A,aC as x,aD as M,ac as d,aF as B,a9 as D,aP as K,ax as n,ab as N,l as F,r as c,aO as f,af as U,g as l,ao as V}from"./vendor-core-BKehvho7.js";import{u as Y}from"./useKeyword-DPx3R5YX.js";import"./index-5NbrFL1v.js";import"./useCompMetaLocalStore-BKTMp_k8.js";import"./useCacheOssStore-OAoLDVbw.js";import"./useVscodeOpen--nBM6CZ-.js";import"./useTeamHeaders-DxHN7-t0.js";/* empty css */import"./BaseDialog.vue_vue_type_script_setup_true_lang-BROcUfEh.js";import"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-pswB5SUz.js";import"./useMessage-8Gi-vx-A.js";const $={class:"size-full p-[10px] pr-0"},se=S({__name:"index",setup(z){const{t:p}=P(),_=A()?.uid,C=x(),w=M(),o=b(C.path)();d(s.PROVIDE_KEY_COMP_LIST_STORE,o);const m=new Map;d(s.PROVIDE_KEY_CALLBACKS,m);const y=B("compIframeContainer"),i=U({data:[],search:{column:[{prop:"keyword",component:V(k),label:l(()=>p("common.keyword")),value:"",autoQuery:!1,attributes:{placeholder:l(()=>p("comp.keywordPlaceholder")),fetchSuggestions:h,triggerOnFocus:!1,style:"width: 400px",fitInputWidth:!0}}]},pagination:{total:0,attributes:{pageSizes:[10,20,30]}},autoLoading:!1,fetchData:E}),g=l(()=>i.value?.search?.column[0]?.value??"");Y(g,y);function h(e,t){if(e.length<=1)return t([]);u.v1Keyword.keywordcontrollerQuerykeywordscomp({keyword:e,type:"compMyCollect"}).then(a=>{const{keywords:r=[]}=a.data||{};t(r)})}async function E(e){o.setLoading(!0),e.keyword&&window?.umami?.track(R.SEARCH_COMPONENT,{keyword:e.keyword,page:"collect"});const t=await u.v1Comp.compcontrollerCollectedcomps(e),{rows:a,total:r}=t.data??{};o.renderList(a??[]),i.value.pagination.total=r??0,o.setLoading(!1)}function v(e){w.push({path:`/preview/${e}`})}return m.set(s.COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT,e=>{o.delCompListById(e)}),D(()=>{o.$reset()}),(e,t)=>{const a=O,r=L;return K((N(),F("div",$,[c(n(T),{tableConfig:i.value},{table:f(()=>[c(a,{always:"",wrapClass:"pr-[10px]"},{default:f(()=>[c(I,{ref:"compIframeContainer",iuid:n(_),compType:n(s).IFRAME_ROUTES.CONTAINER.COLLECT,onPreview:v},null,8,["iuid","compType"])]),_:1})]),_:1},8,["tableConfig"])])),[[r,n(o).loading]])}}});export{se as default};
@@ -1 +1 @@
1
- import{U as a}from"./vendor-ui-CGT0cG1n.js";import"./index-CdLdwW7r.js";import{_ as s}from"./index.vue_vue_type_style_index_0_lang-BNPcBMvg.js";import{v as c,aC as n,ab as l,j as m,aO as u,r as i,g as p}from"./vendor-core-BKehvho7.js";import"./core-CcVTMiBP.js";const h=c({__name:"index",setup(_){const o=n(),t=p(()=>{const{markdownSrc:r}=o.query;return r||""});return(r,f)=>{const e=a;return l(),m(e,{"wrap-class":"md-container",class:"size-full w-[1300px] mx-auto"},{default:u(()=>[i(s,{src:t.value,"show-toc":!0,scrollContainer:".md-container"},null,8,["src"])]),_:1})}}});export{h as default};
1
+ import{U as a}from"./vendor-ui-CGT0cG1n.js";import"./index-CRPDDq-V.js";import{_ as s}from"./index.vue_vue_type_style_index_0_lang-_EGM5AW2.js";import{v as c,aC as n,ab as l,j as m,aO as u,r as i,g as p}from"./vendor-core-BKehvho7.js";import"./core-CcVTMiBP.js";const h=c({__name:"index",setup(_){const o=n(),t=p(()=>{const{markdownSrc:r}=o.query;return r||""});return(r,f)=>{const e=a;return l(),m(e,{"wrap-class":"md-container",class:"size-full w-[1300px] mx-auto"},{default:u(()=>[i(s,{src:t.value,"show-toc":!0,scrollContainer:".md-container"},null,8,["src"])]),_:1})}}});export{h as default};
@@ -0,0 +1 @@
1
+ import{w as _}from"./vendor-core-BKehvho7.js";import{o as p,m as a}from"./index-CRPDDq-V.js";const P=(o="")=>{if(!o)throw new Error("createCompMetaStore scopeId is required");return _(`compMeta_${o}`,{state:()=>({detail:{},depEntryNameToFile:{},versionToFileAccessPath:{},localCompInfo:[],latestVersion:""}),getters:{isLocalExist:e=>e.localCompInfo.length!==0,latestVersionToFileAccessPath:e=>e.versionToFileAccessPath[e.latestVersion]??[]},actions:{setLatestVersion(e){this.$patch(t=>{t.latestVersion=e})},setLocalCompInfo(e){this.$patch(t=>{t.localCompInfo=e})},setDetail(e,t){this.$patch(r=>{r.detail[e]={...r.detail[e],...t}})},setDepEntryNameToFile(e,t){this.$patch(r=>{r.depEntryNameToFile[e]=t})},setVersionToFileAccessPath(e,t){this.$patch(r=>{r.versionToFileAccessPath[e]=t})}}})};function u(o,e){return o.filter(t=>{const r=e.find(l=>l.name===t.name||l.name===t.parent?.name);if(!r)return!1;const{match:m}=r,{major:s,minor:n,patch:h}=p.parseVersion(t.version),{major:i,minor:c,patch:T}=p.parseVersion(r.version);switch(m){case a.COMP_MATCH_TYPE_AUTO:return!0;case a.COMP_MATCH_TYPE_ONLY_INSTALL:return!0;case a.COMP_MATCH_TYPE_MAJOR_VERSION:return s===i;case a.COMP_MATCH_TYPE_MINOR_VERSION:return s===i&&n===c;case a.COMP_MATCH_TYPE_EXACT_VERSION:return s===i&&n===c&&h===T}})}export{P as c,u as p};
@@ -1,4 +1,4 @@
1
- import{e as De,A as Ye,J as P,a9 as ot,al as at,x as ut,y as ct,r as Ft,f as ft,a0 as dt}from"./vendor-ui-CGT0cG1n.js";import{y as ce,M as me,t as H,p as J,J as Le,m as Nt,j as St}from"./index-CdLdwW7r.js";/* empty css */import{v as te,ab as j,l as le,F as Et,ah as pt,i as W,$ as At,ap as $,j as X,aO as T,q as ae,k as ht,g as q,aA as ie,aj as oe,r as b,ax as k,af as U,aF as re,ay as Ct,aE as mt,al as Bt,B as Mt,y as gt,X as Dt,a7 as Lt}from"./vendor-core-BKehvho7.js";import{_ as Be}from"./AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CP9hjm3T.js";import{_ as Fe}from"./BaseDialog.vue_vue_type_script_setup_true_lang-BROcUfEh.js";import{m as ye}from"./md5-ohq5q_Pj.js";import{_ as Xe}from"./LoadingWrapper.vue_vue_type_script_setup_true_lang-kJcgjuK5.js";import{h as vt}from"./moment-B-YVwB4U.js";import{_ as Ot}from"./index.vue_vue_type_script_setup_true_lang-BYKlY94g.js";import"./useCacheOssStore-OAoLDVbw.js";const kt=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],We=[[697,698,"ON"],[706,719,"ON"],[722,735,"ON"],[741,749,"ON"],[751,767,"ON"],[768,879,"NSM"],[884,885,"ON"],[894,894,"ON"],[900,901,"ON"],[903,903,"ON"],[1014,1014,"ON"],[1155,1161,"NSM"],[1418,1418,"ON"],[1421,1422,"ON"],[1423,1423,"ET"],[1424,1424,"R"],[1425,1469,"NSM"],[1470,1470,"R"],[1471,1471,"NSM"],[1472,1472,"R"],[1473,1474,"NSM"],[1475,1475,"R"],[1476,1477,"NSM"],[1478,1478,"R"],[1479,1479,"NSM"],[1480,1535,"R"],[1536,1541,"AN"],[1542,1543,"ON"],[1544,1544,"AL"],[1545,1546,"ET"],[1547,1547,"AL"],[1548,1548,"CS"],[1549,1549,"AL"],[1550,1551,"ON"],[1552,1562,"NSM"],[1563,1610,"AL"],[1611,1631,"NSM"],[1632,1641,"AN"],[1642,1642,"ET"],[1643,1644,"AN"],[1645,1647,"AL"],[1648,1648,"NSM"],[1649,1749,"AL"],[1750,1756,"NSM"],[1757,1757,"AN"],[1758,1758,"ON"],[1759,1764,"NSM"],[1765,1766,"AL"],[1767,1768,"NSM"],[1769,1769,"ON"],[1770,1773,"NSM"],[1774,1775,"AL"],[1776,1785,"EN"],[1786,1808,"AL"],[1809,1809,"NSM"],[1810,1839,"AL"],[1840,1866,"NSM"],[1867,1957,"AL"],[1958,1968,"NSM"],[1969,1983,"AL"],[1984,2026,"R"],[2027,2035,"NSM"],[2036,2037,"R"],[2038,2041,"ON"],[2042,2044,"R"],[2045,2045,"NSM"],[2046,2069,"R"],[2070,2073,"NSM"],[2074,2074,"R"],[2075,2083,"NSM"],[2084,2084,"R"],[2085,2087,"NSM"],[2088,2088,"R"],[2089,2093,"NSM"],[2094,2136,"R"],[2137,2139,"NSM"],[2140,2143,"R"],[2144,2191,"AL"],[2192,2193,"AN"],[2194,2198,"AL"],[2199,2207,"NSM"],[2208,2249,"AL"],[2250,2273,"NSM"],[2274,2274,"AN"],[2275,2306,"NSM"],[2362,2362,"NSM"],[2364,2364,"NSM"],[2369,2376,"NSM"],[2381,2381,"NSM"],[2385,2391,"NSM"],[2402,2403,"NSM"],[2433,2433,"NSM"],[2492,2492,"NSM"],[2497,2500,"NSM"],[2509,2509,"NSM"],[2530,2531,"NSM"],[2546,2547,"ET"],[2555,2555,"ET"],[2558,2558,"NSM"],[2561,2562,"NSM"],[2620,2620,"NSM"],[2625,2626,"NSM"],[2631,2632,"NSM"],[2635,2637,"NSM"],[2641,2641,"NSM"],[2672,2673,"NSM"],[2677,2677,"NSM"],[2689,2690,"NSM"],[2748,2748,"NSM"],[2753,2757,"NSM"],[2759,2760,"NSM"],[2765,2765,"NSM"],[2786,2787,"NSM"],[2801,2801,"ET"],[2810,2815,"NSM"],[2817,2817,"NSM"],[2876,2876,"NSM"],[2879,2879,"NSM"],[2881,2884,"NSM"],[2893,2893,"NSM"],[2901,2902,"NSM"],[2914,2915,"NSM"],[2946,2946,"NSM"],[3008,3008,"NSM"],[3021,3021,"NSM"],[3059,3064,"ON"],[3065,3065,"ET"],[3066,3066,"ON"],[3072,3072,"NSM"],[3076,3076,"NSM"],[3132,3132,"NSM"],[3134,3136,"NSM"],[3142,3144,"NSM"],[3146,3149,"NSM"],[3157,3158,"NSM"],[3170,3171,"NSM"],[3192,3198,"ON"],[3201,3201,"NSM"],[3260,3260,"NSM"],[3276,3277,"NSM"],[3298,3299,"NSM"],[3328,3329,"NSM"],[3387,3388,"NSM"],[3393,3396,"NSM"],[3405,3405,"NSM"],[3426,3427,"NSM"],[3457,3457,"NSM"],[3530,3530,"NSM"],[3538,3540,"NSM"],[3542,3542,"NSM"],[3633,3633,"NSM"],[3636,3642,"NSM"],[3647,3647,"ET"],[3655,3662,"NSM"],[3761,3761,"NSM"],[3764,3772,"NSM"],[3784,3790,"NSM"],[3864,3865,"NSM"],[3893,3893,"NSM"],[3895,3895,"NSM"],[3897,3897,"NSM"],[3898,3901,"ON"],[3953,3966,"NSM"],[3968,3972,"NSM"],[3974,3975,"NSM"],[3981,3991,"NSM"],[3993,4028,"NSM"],[4038,4038,"NSM"],[4141,4144,"NSM"],[4146,4151,"NSM"],[4153,4154,"NSM"],[4157,4158,"NSM"],[4184,4185,"NSM"],[4190,4192,"NSM"],[4209,4212,"NSM"],[4226,4226,"NSM"],[4229,4230,"NSM"],[4237,4237,"NSM"],[4253,4253,"NSM"],[4957,4959,"NSM"],[5008,5017,"ON"],[5120,5120,"ON"],[5760,5760,"WS"],[5787,5788,"ON"],[5906,5908,"NSM"],[5938,5939,"NSM"],[5970,5971,"NSM"],[6002,6003,"NSM"],[6068,6069,"NSM"],[6071,6077,"NSM"],[6086,6086,"NSM"],[6089,6099,"NSM"],[6107,6107,"ET"],[6109,6109,"NSM"],[6128,6137,"ON"],[6144,6154,"ON"],[6155,6157,"NSM"],[6158,6158,"BN"],[6159,6159,"NSM"],[6277,6278,"NSM"],[6313,6313,"NSM"],[6432,6434,"NSM"],[6439,6440,"NSM"],[6450,6450,"NSM"],[6457,6459,"NSM"],[6464,6464,"ON"],[6468,6469,"ON"],[6622,6655,"ON"],[6679,6680,"NSM"],[6683,6683,"NSM"],[6742,6742,"NSM"],[6744,6750,"NSM"],[6752,6752,"NSM"],[6754,6754,"NSM"],[6757,6764,"NSM"],[6771,6780,"NSM"],[6783,6783,"NSM"],[6832,6877,"NSM"],[6880,6891,"NSM"],[6912,6915,"NSM"],[6964,6964,"NSM"],[6966,6970,"NSM"],[6972,6972,"NSM"],[6978,6978,"NSM"],[7019,7027,"NSM"],[7040,7041,"NSM"],[7074,7077,"NSM"],[7080,7081,"NSM"],[7083,7085,"NSM"],[7142,7142,"NSM"],[7144,7145,"NSM"],[7149,7149,"NSM"],[7151,7153,"NSM"],[7212,7219,"NSM"],[7222,7223,"NSM"],[7376,7378,"NSM"],[7380,7392,"NSM"],[7394,7400,"NSM"],[7405,7405,"NSM"],[7412,7412,"NSM"],[7416,7417,"NSM"],[7616,7679,"NSM"],[8125,8125,"ON"],[8127,8129,"ON"],[8141,8143,"ON"],[8157,8159,"ON"],[8173,8175,"ON"],[8189,8190,"ON"],[8192,8202,"WS"],[8203,8205,"BN"],[8207,8207,"R"],[8208,8231,"ON"],[8232,8232,"WS"],[8233,8233,"B"],[8234,8238,"BN"],[8239,8239,"CS"],[8240,8244,"ET"],[8245,8259,"ON"],[8260,8260,"CS"],[8261,8286,"ON"],[8287,8287,"WS"],[8288,8303,"BN"],[8304,8304,"EN"],[8308,8313,"EN"],[8314,8315,"ES"],[8316,8318,"ON"],[8320,8329,"EN"],[8330,8331,"ES"],[8332,8334,"ON"],[8352,8399,"ET"],[8400,8432,"NSM"],[8448,8449,"ON"],[8451,8454,"ON"],[8456,8457,"ON"],[8468,8468,"ON"],[8470,8472,"ON"],[8478,8483,"ON"],[8485,8485,"ON"],[8487,8487,"ON"],[8489,8489,"ON"],[8494,8494,"ET"],[8506,8507,"ON"],[8512,8516,"ON"],[8522,8525,"ON"],[8528,8543,"ON"],[8585,8587,"ON"],[8592,8721,"ON"],[8722,8722,"ES"],[8723,8723,"ET"],[8724,9013,"ON"],[9083,9108,"ON"],[9110,9257,"ON"],[9280,9290,"ON"],[9312,9351,"ON"],[9352,9371,"EN"],[9450,9899,"ON"],[9901,10239,"ON"],[10496,11123,"ON"],[11126,11263,"ON"],[11493,11498,"ON"],[11503,11505,"NSM"],[11513,11519,"ON"],[11647,11647,"NSM"],[11744,11775,"NSM"],[11776,11869,"ON"],[11904,11929,"ON"],[11931,12019,"ON"],[12032,12245,"ON"],[12272,12287,"ON"],[12288,12288,"WS"],[12289,12292,"ON"],[12296,12320,"ON"],[12330,12333,"NSM"],[12336,12336,"ON"],[12342,12343,"ON"],[12349,12351,"ON"],[12441,12442,"NSM"],[12443,12444,"ON"],[12448,12448,"ON"],[12539,12539,"ON"],[12736,12773,"ON"],[12783,12783,"ON"],[12829,12830,"ON"],[12880,12895,"ON"],[12924,12926,"ON"],[12977,12991,"ON"],[13004,13007,"ON"],[13175,13178,"ON"],[13278,13279,"ON"],[13311,13311,"ON"],[19904,19967,"ON"],[42128,42182,"ON"],[42509,42511,"ON"],[42607,42610,"NSM"],[42611,42611,"ON"],[42612,42621,"NSM"],[42622,42623,"ON"],[42654,42655,"NSM"],[42736,42737,"NSM"],[42752,42785,"ON"],[42888,42888,"ON"],[43010,43010,"NSM"],[43014,43014,"NSM"],[43019,43019,"NSM"],[43045,43046,"NSM"],[43048,43051,"ON"],[43052,43052,"NSM"],[43064,43065,"ET"],[43124,43127,"ON"],[43204,43205,"NSM"],[43232,43249,"NSM"],[43263,43263,"NSM"],[43302,43309,"NSM"],[43335,43345,"NSM"],[43392,43394,"NSM"],[43443,43443,"NSM"],[43446,43449,"NSM"],[43452,43453,"NSM"],[43493,43493,"NSM"],[43561,43566,"NSM"],[43569,43570,"NSM"],[43573,43574,"NSM"],[43587,43587,"NSM"],[43596,43596,"NSM"],[43644,43644,"NSM"],[43696,43696,"NSM"],[43698,43700,"NSM"],[43703,43704,"NSM"],[43710,43711,"NSM"],[43713,43713,"NSM"],[43756,43757,"NSM"],[43766,43766,"NSM"],[43882,43883,"ON"],[44005,44005,"NSM"],[44008,44008,"NSM"],[44013,44013,"NSM"],[64285,64285,"R"],[64286,64286,"NSM"],[64287,64296,"R"],[64297,64297,"ES"],[64298,64335,"R"],[64336,64450,"AL"],[64451,64466,"ON"],[64467,64829,"AL"],[64830,64847,"ON"],[64848,64911,"AL"],[64912,64913,"ON"],[64914,64967,"AL"],[64968,64975,"ON"],[64976,65007,"BN"],[65008,65020,"AL"],[65021,65023,"ON"],[65024,65039,"NSM"],[65040,65049,"ON"],[65056,65071,"NSM"],[65072,65103,"ON"],[65104,65104,"CS"],[65105,65105,"ON"],[65106,65106,"CS"],[65108,65108,"ON"],[65109,65109,"CS"],[65110,65118,"ON"],[65119,65119,"ET"],[65120,65121,"ON"],[65122,65123,"ES"],[65124,65126,"ON"],[65128,65128,"ON"],[65129,65130,"ET"],[65131,65131,"ON"],[65136,65278,"AL"],[65279,65279,"BN"],[65281,65282,"ON"],[65283,65285,"ET"],[65286,65290,"ON"],[65291,65291,"ES"],[65292,65292,"CS"],[65293,65293,"ES"],[65294,65295,"CS"],[65296,65305,"EN"],[65306,65306,"CS"],[65307,65312,"ON"],[65339,65344,"ON"],[65371,65381,"ON"],[65504,65505,"ET"],[65506,65508,"ON"],[65509,65510,"ET"],[65512,65518,"ON"],[65520,65528,"BN"],[65529,65533,"ON"],[65534,65535,"BN"],[65793,65793,"ON"],[65856,65932,"ON"],[65936,65948,"ON"],[65952,65952,"ON"],[66045,66045,"NSM"],[66272,66272,"NSM"],[66273,66299,"EN"],[66422,66426,"NSM"],[67584,67870,"R"],[67871,67871,"ON"],[67872,68096,"R"],[68097,68099,"NSM"],[68100,68100,"R"],[68101,68102,"NSM"],[68103,68107,"R"],[68108,68111,"NSM"],[68112,68151,"R"],[68152,68154,"NSM"],[68155,68158,"R"],[68159,68159,"NSM"],[68160,68324,"R"],[68325,68326,"NSM"],[68327,68408,"R"],[68409,68415,"ON"],[68416,68863,"R"],[68864,68899,"AL"],[68900,68903,"NSM"],[68904,68911,"AL"],[68912,68921,"AN"],[68922,68927,"AL"],[68928,68937,"AN"],[68938,68968,"R"],[68969,68973,"NSM"],[68974,68974,"ON"],[68975,69215,"R"],[69216,69246,"AN"],[69247,69290,"R"],[69291,69292,"NSM"],[69293,69311,"R"],[69312,69327,"AL"],[69328,69336,"ON"],[69337,69369,"AL"],[69370,69375,"NSM"],[69376,69423,"R"],[69424,69445,"AL"],[69446,69456,"NSM"],[69457,69487,"AL"],[69488,69505,"R"],[69506,69509,"NSM"],[69510,69631,"R"],[69633,69633,"NSM"],[69688,69702,"NSM"],[69714,69733,"ON"],[69744,69744,"NSM"],[69747,69748,"NSM"],[69759,69761,"NSM"],[69811,69814,"NSM"],[69817,69818,"NSM"],[69826,69826,"NSM"],[69888,69890,"NSM"],[69927,69931,"NSM"],[69933,69940,"NSM"],[70003,70003,"NSM"],[70016,70017,"NSM"],[70070,70078,"NSM"],[70089,70092,"NSM"],[70095,70095,"NSM"],[70191,70193,"NSM"],[70196,70196,"NSM"],[70198,70199,"NSM"],[70206,70206,"NSM"],[70209,70209,"NSM"],[70367,70367,"NSM"],[70371,70378,"NSM"],[70400,70401,"NSM"],[70459,70460,"NSM"],[70464,70464,"NSM"],[70502,70508,"NSM"],[70512,70516,"NSM"],[70587,70592,"NSM"],[70606,70606,"NSM"],[70608,70608,"NSM"],[70610,70610,"NSM"],[70625,70626,"NSM"],[70712,70719,"NSM"],[70722,70724,"NSM"],[70726,70726,"NSM"],[70750,70750,"NSM"],[70835,70840,"NSM"],[70842,70842,"NSM"],[70847,70848,"NSM"],[70850,70851,"NSM"],[71090,71093,"NSM"],[71100,71101,"NSM"],[71103,71104,"NSM"],[71132,71133,"NSM"],[71219,71226,"NSM"],[71229,71229,"NSM"],[71231,71232,"NSM"],[71264,71276,"ON"],[71339,71339,"NSM"],[71341,71341,"NSM"],[71344,71349,"NSM"],[71351,71351,"NSM"],[71453,71453,"NSM"],[71455,71455,"NSM"],[71458,71461,"NSM"],[71463,71467,"NSM"],[71727,71735,"NSM"],[71737,71738,"NSM"],[71995,71996,"NSM"],[71998,71998,"NSM"],[72003,72003,"NSM"],[72148,72151,"NSM"],[72154,72155,"NSM"],[72160,72160,"NSM"],[72193,72198,"NSM"],[72201,72202,"NSM"],[72243,72248,"NSM"],[72251,72254,"NSM"],[72263,72263,"NSM"],[72273,72278,"NSM"],[72281,72283,"NSM"],[72330,72342,"NSM"],[72344,72345,"NSM"],[72544,72544,"NSM"],[72546,72548,"NSM"],[72550,72550,"NSM"],[72752,72758,"NSM"],[72760,72765,"NSM"],[72850,72871,"NSM"],[72874,72880,"NSM"],[72882,72883,"NSM"],[72885,72886,"NSM"],[73009,73014,"NSM"],[73018,73018,"NSM"],[73020,73021,"NSM"],[73023,73029,"NSM"],[73031,73031,"NSM"],[73104,73105,"NSM"],[73109,73109,"NSM"],[73111,73111,"NSM"],[73459,73460,"NSM"],[73472,73473,"NSM"],[73526,73530,"NSM"],[73536,73536,"NSM"],[73538,73538,"NSM"],[73562,73562,"NSM"],[73685,73692,"ON"],[73693,73696,"ET"],[73697,73713,"ON"],[78912,78912,"NSM"],[78919,78933,"NSM"],[90398,90409,"NSM"],[90413,90415,"NSM"],[92912,92916,"NSM"],[92976,92982,"NSM"],[94031,94031,"NSM"],[94095,94098,"NSM"],[94178,94178,"ON"],[94180,94180,"NSM"],[113821,113822,"NSM"],[113824,113827,"BN"],[117760,117973,"ON"],[118e3,118009,"EN"],[118010,118012,"ON"],[118016,118451,"ON"],[118458,118480,"ON"],[118496,118512,"ON"],[118528,118573,"NSM"],[118576,118598,"NSM"],[119143,119145,"NSM"],[119155,119162,"BN"],[119163,119170,"NSM"],[119173,119179,"NSM"],[119210,119213,"NSM"],[119273,119274,"ON"],[119296,119361,"ON"],[119362,119364,"NSM"],[119365,119365,"ON"],[119552,119638,"ON"],[120513,120513,"ON"],[120539,120539,"ON"],[120571,120571,"ON"],[120597,120597,"ON"],[120629,120629,"ON"],[120655,120655,"ON"],[120687,120687,"ON"],[120713,120713,"ON"],[120745,120745,"ON"],[120771,120771,"ON"],[120782,120831,"EN"],[121344,121398,"NSM"],[121403,121452,"NSM"],[121461,121461,"NSM"],[121476,121476,"NSM"],[121499,121503,"NSM"],[121505,121519,"NSM"],[122880,122886,"NSM"],[122888,122904,"NSM"],[122907,122913,"NSM"],[122915,122916,"NSM"],[122918,122922,"NSM"],[123023,123023,"NSM"],[123184,123190,"NSM"],[123566,123566,"NSM"],[123628,123631,"NSM"],[123647,123647,"ET"],[124140,124143,"NSM"],[124398,124399,"NSM"],[124643,124643,"NSM"],[124646,124646,"NSM"],[124654,124655,"NSM"],[124661,124661,"NSM"],[124928,125135,"R"],[125136,125142,"NSM"],[125143,125251,"R"],[125252,125258,"NSM"],[125259,126063,"R"],[126064,126143,"AL"],[126144,126207,"R"],[126208,126287,"AL"],[126288,126463,"R"],[126464,126703,"AL"],[126704,126705,"ON"],[126706,126719,"AL"],[126720,126975,"R"],[126976,127019,"ON"],[127024,127123,"ON"],[127136,127150,"ON"],[127153,127167,"ON"],[127169,127183,"ON"],[127185,127221,"ON"],[127232,127242,"EN"],[127243,127247,"ON"],[127279,127279,"ON"],[127338,127343,"ON"],[127405,127405,"ON"],[127584,127589,"ON"],[127744,128728,"ON"],[128732,128748,"ON"],[128752,128764,"ON"],[128768,128985,"ON"],[128992,129003,"ON"],[129008,129008,"ON"],[129024,129035,"ON"],[129040,129095,"ON"],[129104,129113,"ON"],[129120,129159,"ON"],[129168,129197,"ON"],[129200,129211,"ON"],[129216,129217,"ON"],[129232,129240,"ON"],[129280,129623,"ON"],[129632,129645,"ON"],[129648,129660,"ON"],[129664,129674,"ON"],[129678,129734,"ON"],[129736,129736,"ON"],[129741,129756,"ON"],[129759,129770,"ON"],[129775,129784,"ON"],[129792,129938,"ON"],[129940,130031,"ON"],[130032,130041,"EN"],[130042,130042,"ON"],[131070,131071,"BN"],[196606,196607,"BN"],[262142,262143,"BN"],[327678,327679,"BN"],[393214,393215,"BN"],[458750,458751,"BN"],[524286,524287,"BN"],[589822,589823,"BN"],[655358,655359,"BN"],[720894,720895,"BN"],[786430,786431,"BN"],[851966,851967,"BN"],[917502,917759,"BN"],[917760,917999,"NSM"],[918e3,921599,"BN"],[983038,983039,"BN"],[1048574,1048575,"BN"],[1114110,1114111,"BN"]];function wt(e){if(e<=255)return kt[e];let t=0,n=We.length-1;for(;t<=n;){const r=t+n>>1,x=We[r];if(e<x[0]){n=r-1;continue}if(e>x[1]){t=r+1;continue}return x[2]}return"L"}function bt(e){const t=e.length;if(t===0)return null;const n=new Array(t);let r=!1;for(let l=0;l<t;){const o=e.charCodeAt(l);let F=o,c=1;if(o>=55296&&o<=56319&&l+1<t){const m=e.charCodeAt(l+1);m>=56320&&m<=57343&&(F=(o-55296<<10)+(m-56320)+65536,c=2)}const E=wt(F);(E==="R"||E==="AL"||E==="AN")&&(r=!0);for(let m=0;m<c;m++)n[l+m]=E;l+=c}if(!r)return null;let x=0;for(let l=0;l<t;l++){const o=n[l];if(o==="L"){x=0;break}if(o==="R"||o==="AL"){x=1;break}}const s=new Int8Array(t);for(let l=0;l<t;l++)s[l]=x;const i=x&1?"R":"L",a=i;let u=a;for(let l=0;l<t;l++)n[l]==="NSM"?n[l]=u:u=n[l];u=a;for(let l=0;l<t;l++){const o=n[l];o==="EN"?n[l]=u==="AL"?"AN":"EN":(o==="R"||o==="L"||o==="AL")&&(u=o)}for(let l=0;l<t;l++)n[l]==="AL"&&(n[l]="R");for(let l=1;l<t-1;l++)n[l]==="ES"&&n[l-1]==="EN"&&n[l+1]==="EN"&&(n[l]="EN"),n[l]==="CS"&&(n[l-1]==="EN"||n[l-1]==="AN")&&n[l+1]===n[l-1]&&(n[l]=n[l-1]);for(let l=0;l<t;l++){if(n[l]!=="EN")continue;let o;for(o=l-1;o>=0&&n[o]==="ET";o--)n[o]="EN";for(o=l+1;o<t&&n[o]==="ET";o++)n[o]="EN"}for(let l=0;l<t;l++){const o=n[l];(o==="WS"||o==="ES"||o==="ET"||o==="CS")&&(n[l]="ON")}u=a;for(let l=0;l<t;l++){const o=n[l];o==="EN"?n[l]=u==="L"?"L":"EN":(o==="R"||o==="L")&&(u=o)}for(let l=0;l<t;l++){if(n[l]!=="ON")continue;let o=l+1;for(;o<t&&n[o]==="ON";)o++;const F=l>0?n[l-1]:a,c=o<t?n[o]:a,E=F!=="L"?"R":"L";if(E===(c!=="L"?"R":"L"))for(let S=l;S<o;S++)n[S]=E;l=o-1}for(let l=0;l<t;l++)n[l]==="ON"&&(n[l]=i);for(let l=0;l<t;l++){const o=n[l];(s[l]&1)===0?o==="R"?s[l]++:(o==="AN"||o==="EN")&&(s[l]+=2):(o==="L"||o==="AN"||o==="EN")&&s[l]++}return s}function _t(e,t){const n=bt(e);if(n===null)return null;const r=new Int8Array(t.length);for(let x=0;x<t.length;x++)r[x]=n[t[x]];return r}const yt=/[ \t\n\r\f]+/g,Wt=/[\t\n\r\f]| {2,}|^ | $/;function Rt(e){const t=e??"normal";return t==="pre-wrap"?{mode:t,preserveOrdinarySpaces:!0,preserveHardBreaks:!0}:{mode:t,preserveOrdinarySpaces:!1,preserveHardBreaks:!1}}function Tt(e){if(!Wt.test(e))return e;let t=e.replace(yt," ");return t.charCodeAt(0)===32&&(t=t.slice(1)),t.length>0&&t.charCodeAt(t.length-1)===32&&(t=t.slice(0,-1)),t}function Pt(e){return/[\r\f]/.test(e)?e.replace(/\r\n/g,`
1
+ import{e as De,A as Ye,J as P,a9 as ot,al as at,x as ut,y as ct,r as Ft,f as ft,a0 as dt}from"./vendor-ui-CGT0cG1n.js";import{y as ce,M as me,u as H,i as J,J as Le,n as Nt,k as St}from"./index-CRPDDq-V.js";/* empty css */import{v as te,ab as j,l as le,F as Et,ah as pt,i as W,$ as At,ap as $,j as X,aO as T,q as ae,k as ht,g as q,aA as ie,aj as oe,r as b,ax as k,af as U,aF as re,ay as Ct,aE as mt,al as Bt,B as Mt,y as gt,X as Dt,a7 as Lt}from"./vendor-core-BKehvho7.js";import{_ as Be}from"./AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CP9hjm3T.js";import{_ as Fe}from"./BaseDialog.vue_vue_type_script_setup_true_lang-BROcUfEh.js";import{m as ye}from"./md5-ohq5q_Pj.js";import{_ as Xe}from"./LoadingWrapper.vue_vue_type_script_setup_true_lang-kJcgjuK5.js";import{h as vt}from"./moment-B-YVwB4U.js";import{_ as Ot}from"./index.vue_vue_type_script_setup_true_lang-CsP7DU8L.js";import"./useCacheOssStore-OAoLDVbw.js";const kt=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],We=[[697,698,"ON"],[706,719,"ON"],[722,735,"ON"],[741,749,"ON"],[751,767,"ON"],[768,879,"NSM"],[884,885,"ON"],[894,894,"ON"],[900,901,"ON"],[903,903,"ON"],[1014,1014,"ON"],[1155,1161,"NSM"],[1418,1418,"ON"],[1421,1422,"ON"],[1423,1423,"ET"],[1424,1424,"R"],[1425,1469,"NSM"],[1470,1470,"R"],[1471,1471,"NSM"],[1472,1472,"R"],[1473,1474,"NSM"],[1475,1475,"R"],[1476,1477,"NSM"],[1478,1478,"R"],[1479,1479,"NSM"],[1480,1535,"R"],[1536,1541,"AN"],[1542,1543,"ON"],[1544,1544,"AL"],[1545,1546,"ET"],[1547,1547,"AL"],[1548,1548,"CS"],[1549,1549,"AL"],[1550,1551,"ON"],[1552,1562,"NSM"],[1563,1610,"AL"],[1611,1631,"NSM"],[1632,1641,"AN"],[1642,1642,"ET"],[1643,1644,"AN"],[1645,1647,"AL"],[1648,1648,"NSM"],[1649,1749,"AL"],[1750,1756,"NSM"],[1757,1757,"AN"],[1758,1758,"ON"],[1759,1764,"NSM"],[1765,1766,"AL"],[1767,1768,"NSM"],[1769,1769,"ON"],[1770,1773,"NSM"],[1774,1775,"AL"],[1776,1785,"EN"],[1786,1808,"AL"],[1809,1809,"NSM"],[1810,1839,"AL"],[1840,1866,"NSM"],[1867,1957,"AL"],[1958,1968,"NSM"],[1969,1983,"AL"],[1984,2026,"R"],[2027,2035,"NSM"],[2036,2037,"R"],[2038,2041,"ON"],[2042,2044,"R"],[2045,2045,"NSM"],[2046,2069,"R"],[2070,2073,"NSM"],[2074,2074,"R"],[2075,2083,"NSM"],[2084,2084,"R"],[2085,2087,"NSM"],[2088,2088,"R"],[2089,2093,"NSM"],[2094,2136,"R"],[2137,2139,"NSM"],[2140,2143,"R"],[2144,2191,"AL"],[2192,2193,"AN"],[2194,2198,"AL"],[2199,2207,"NSM"],[2208,2249,"AL"],[2250,2273,"NSM"],[2274,2274,"AN"],[2275,2306,"NSM"],[2362,2362,"NSM"],[2364,2364,"NSM"],[2369,2376,"NSM"],[2381,2381,"NSM"],[2385,2391,"NSM"],[2402,2403,"NSM"],[2433,2433,"NSM"],[2492,2492,"NSM"],[2497,2500,"NSM"],[2509,2509,"NSM"],[2530,2531,"NSM"],[2546,2547,"ET"],[2555,2555,"ET"],[2558,2558,"NSM"],[2561,2562,"NSM"],[2620,2620,"NSM"],[2625,2626,"NSM"],[2631,2632,"NSM"],[2635,2637,"NSM"],[2641,2641,"NSM"],[2672,2673,"NSM"],[2677,2677,"NSM"],[2689,2690,"NSM"],[2748,2748,"NSM"],[2753,2757,"NSM"],[2759,2760,"NSM"],[2765,2765,"NSM"],[2786,2787,"NSM"],[2801,2801,"ET"],[2810,2815,"NSM"],[2817,2817,"NSM"],[2876,2876,"NSM"],[2879,2879,"NSM"],[2881,2884,"NSM"],[2893,2893,"NSM"],[2901,2902,"NSM"],[2914,2915,"NSM"],[2946,2946,"NSM"],[3008,3008,"NSM"],[3021,3021,"NSM"],[3059,3064,"ON"],[3065,3065,"ET"],[3066,3066,"ON"],[3072,3072,"NSM"],[3076,3076,"NSM"],[3132,3132,"NSM"],[3134,3136,"NSM"],[3142,3144,"NSM"],[3146,3149,"NSM"],[3157,3158,"NSM"],[3170,3171,"NSM"],[3192,3198,"ON"],[3201,3201,"NSM"],[3260,3260,"NSM"],[3276,3277,"NSM"],[3298,3299,"NSM"],[3328,3329,"NSM"],[3387,3388,"NSM"],[3393,3396,"NSM"],[3405,3405,"NSM"],[3426,3427,"NSM"],[3457,3457,"NSM"],[3530,3530,"NSM"],[3538,3540,"NSM"],[3542,3542,"NSM"],[3633,3633,"NSM"],[3636,3642,"NSM"],[3647,3647,"ET"],[3655,3662,"NSM"],[3761,3761,"NSM"],[3764,3772,"NSM"],[3784,3790,"NSM"],[3864,3865,"NSM"],[3893,3893,"NSM"],[3895,3895,"NSM"],[3897,3897,"NSM"],[3898,3901,"ON"],[3953,3966,"NSM"],[3968,3972,"NSM"],[3974,3975,"NSM"],[3981,3991,"NSM"],[3993,4028,"NSM"],[4038,4038,"NSM"],[4141,4144,"NSM"],[4146,4151,"NSM"],[4153,4154,"NSM"],[4157,4158,"NSM"],[4184,4185,"NSM"],[4190,4192,"NSM"],[4209,4212,"NSM"],[4226,4226,"NSM"],[4229,4230,"NSM"],[4237,4237,"NSM"],[4253,4253,"NSM"],[4957,4959,"NSM"],[5008,5017,"ON"],[5120,5120,"ON"],[5760,5760,"WS"],[5787,5788,"ON"],[5906,5908,"NSM"],[5938,5939,"NSM"],[5970,5971,"NSM"],[6002,6003,"NSM"],[6068,6069,"NSM"],[6071,6077,"NSM"],[6086,6086,"NSM"],[6089,6099,"NSM"],[6107,6107,"ET"],[6109,6109,"NSM"],[6128,6137,"ON"],[6144,6154,"ON"],[6155,6157,"NSM"],[6158,6158,"BN"],[6159,6159,"NSM"],[6277,6278,"NSM"],[6313,6313,"NSM"],[6432,6434,"NSM"],[6439,6440,"NSM"],[6450,6450,"NSM"],[6457,6459,"NSM"],[6464,6464,"ON"],[6468,6469,"ON"],[6622,6655,"ON"],[6679,6680,"NSM"],[6683,6683,"NSM"],[6742,6742,"NSM"],[6744,6750,"NSM"],[6752,6752,"NSM"],[6754,6754,"NSM"],[6757,6764,"NSM"],[6771,6780,"NSM"],[6783,6783,"NSM"],[6832,6877,"NSM"],[6880,6891,"NSM"],[6912,6915,"NSM"],[6964,6964,"NSM"],[6966,6970,"NSM"],[6972,6972,"NSM"],[6978,6978,"NSM"],[7019,7027,"NSM"],[7040,7041,"NSM"],[7074,7077,"NSM"],[7080,7081,"NSM"],[7083,7085,"NSM"],[7142,7142,"NSM"],[7144,7145,"NSM"],[7149,7149,"NSM"],[7151,7153,"NSM"],[7212,7219,"NSM"],[7222,7223,"NSM"],[7376,7378,"NSM"],[7380,7392,"NSM"],[7394,7400,"NSM"],[7405,7405,"NSM"],[7412,7412,"NSM"],[7416,7417,"NSM"],[7616,7679,"NSM"],[8125,8125,"ON"],[8127,8129,"ON"],[8141,8143,"ON"],[8157,8159,"ON"],[8173,8175,"ON"],[8189,8190,"ON"],[8192,8202,"WS"],[8203,8205,"BN"],[8207,8207,"R"],[8208,8231,"ON"],[8232,8232,"WS"],[8233,8233,"B"],[8234,8238,"BN"],[8239,8239,"CS"],[8240,8244,"ET"],[8245,8259,"ON"],[8260,8260,"CS"],[8261,8286,"ON"],[8287,8287,"WS"],[8288,8303,"BN"],[8304,8304,"EN"],[8308,8313,"EN"],[8314,8315,"ES"],[8316,8318,"ON"],[8320,8329,"EN"],[8330,8331,"ES"],[8332,8334,"ON"],[8352,8399,"ET"],[8400,8432,"NSM"],[8448,8449,"ON"],[8451,8454,"ON"],[8456,8457,"ON"],[8468,8468,"ON"],[8470,8472,"ON"],[8478,8483,"ON"],[8485,8485,"ON"],[8487,8487,"ON"],[8489,8489,"ON"],[8494,8494,"ET"],[8506,8507,"ON"],[8512,8516,"ON"],[8522,8525,"ON"],[8528,8543,"ON"],[8585,8587,"ON"],[8592,8721,"ON"],[8722,8722,"ES"],[8723,8723,"ET"],[8724,9013,"ON"],[9083,9108,"ON"],[9110,9257,"ON"],[9280,9290,"ON"],[9312,9351,"ON"],[9352,9371,"EN"],[9450,9899,"ON"],[9901,10239,"ON"],[10496,11123,"ON"],[11126,11263,"ON"],[11493,11498,"ON"],[11503,11505,"NSM"],[11513,11519,"ON"],[11647,11647,"NSM"],[11744,11775,"NSM"],[11776,11869,"ON"],[11904,11929,"ON"],[11931,12019,"ON"],[12032,12245,"ON"],[12272,12287,"ON"],[12288,12288,"WS"],[12289,12292,"ON"],[12296,12320,"ON"],[12330,12333,"NSM"],[12336,12336,"ON"],[12342,12343,"ON"],[12349,12351,"ON"],[12441,12442,"NSM"],[12443,12444,"ON"],[12448,12448,"ON"],[12539,12539,"ON"],[12736,12773,"ON"],[12783,12783,"ON"],[12829,12830,"ON"],[12880,12895,"ON"],[12924,12926,"ON"],[12977,12991,"ON"],[13004,13007,"ON"],[13175,13178,"ON"],[13278,13279,"ON"],[13311,13311,"ON"],[19904,19967,"ON"],[42128,42182,"ON"],[42509,42511,"ON"],[42607,42610,"NSM"],[42611,42611,"ON"],[42612,42621,"NSM"],[42622,42623,"ON"],[42654,42655,"NSM"],[42736,42737,"NSM"],[42752,42785,"ON"],[42888,42888,"ON"],[43010,43010,"NSM"],[43014,43014,"NSM"],[43019,43019,"NSM"],[43045,43046,"NSM"],[43048,43051,"ON"],[43052,43052,"NSM"],[43064,43065,"ET"],[43124,43127,"ON"],[43204,43205,"NSM"],[43232,43249,"NSM"],[43263,43263,"NSM"],[43302,43309,"NSM"],[43335,43345,"NSM"],[43392,43394,"NSM"],[43443,43443,"NSM"],[43446,43449,"NSM"],[43452,43453,"NSM"],[43493,43493,"NSM"],[43561,43566,"NSM"],[43569,43570,"NSM"],[43573,43574,"NSM"],[43587,43587,"NSM"],[43596,43596,"NSM"],[43644,43644,"NSM"],[43696,43696,"NSM"],[43698,43700,"NSM"],[43703,43704,"NSM"],[43710,43711,"NSM"],[43713,43713,"NSM"],[43756,43757,"NSM"],[43766,43766,"NSM"],[43882,43883,"ON"],[44005,44005,"NSM"],[44008,44008,"NSM"],[44013,44013,"NSM"],[64285,64285,"R"],[64286,64286,"NSM"],[64287,64296,"R"],[64297,64297,"ES"],[64298,64335,"R"],[64336,64450,"AL"],[64451,64466,"ON"],[64467,64829,"AL"],[64830,64847,"ON"],[64848,64911,"AL"],[64912,64913,"ON"],[64914,64967,"AL"],[64968,64975,"ON"],[64976,65007,"BN"],[65008,65020,"AL"],[65021,65023,"ON"],[65024,65039,"NSM"],[65040,65049,"ON"],[65056,65071,"NSM"],[65072,65103,"ON"],[65104,65104,"CS"],[65105,65105,"ON"],[65106,65106,"CS"],[65108,65108,"ON"],[65109,65109,"CS"],[65110,65118,"ON"],[65119,65119,"ET"],[65120,65121,"ON"],[65122,65123,"ES"],[65124,65126,"ON"],[65128,65128,"ON"],[65129,65130,"ET"],[65131,65131,"ON"],[65136,65278,"AL"],[65279,65279,"BN"],[65281,65282,"ON"],[65283,65285,"ET"],[65286,65290,"ON"],[65291,65291,"ES"],[65292,65292,"CS"],[65293,65293,"ES"],[65294,65295,"CS"],[65296,65305,"EN"],[65306,65306,"CS"],[65307,65312,"ON"],[65339,65344,"ON"],[65371,65381,"ON"],[65504,65505,"ET"],[65506,65508,"ON"],[65509,65510,"ET"],[65512,65518,"ON"],[65520,65528,"BN"],[65529,65533,"ON"],[65534,65535,"BN"],[65793,65793,"ON"],[65856,65932,"ON"],[65936,65948,"ON"],[65952,65952,"ON"],[66045,66045,"NSM"],[66272,66272,"NSM"],[66273,66299,"EN"],[66422,66426,"NSM"],[67584,67870,"R"],[67871,67871,"ON"],[67872,68096,"R"],[68097,68099,"NSM"],[68100,68100,"R"],[68101,68102,"NSM"],[68103,68107,"R"],[68108,68111,"NSM"],[68112,68151,"R"],[68152,68154,"NSM"],[68155,68158,"R"],[68159,68159,"NSM"],[68160,68324,"R"],[68325,68326,"NSM"],[68327,68408,"R"],[68409,68415,"ON"],[68416,68863,"R"],[68864,68899,"AL"],[68900,68903,"NSM"],[68904,68911,"AL"],[68912,68921,"AN"],[68922,68927,"AL"],[68928,68937,"AN"],[68938,68968,"R"],[68969,68973,"NSM"],[68974,68974,"ON"],[68975,69215,"R"],[69216,69246,"AN"],[69247,69290,"R"],[69291,69292,"NSM"],[69293,69311,"R"],[69312,69327,"AL"],[69328,69336,"ON"],[69337,69369,"AL"],[69370,69375,"NSM"],[69376,69423,"R"],[69424,69445,"AL"],[69446,69456,"NSM"],[69457,69487,"AL"],[69488,69505,"R"],[69506,69509,"NSM"],[69510,69631,"R"],[69633,69633,"NSM"],[69688,69702,"NSM"],[69714,69733,"ON"],[69744,69744,"NSM"],[69747,69748,"NSM"],[69759,69761,"NSM"],[69811,69814,"NSM"],[69817,69818,"NSM"],[69826,69826,"NSM"],[69888,69890,"NSM"],[69927,69931,"NSM"],[69933,69940,"NSM"],[70003,70003,"NSM"],[70016,70017,"NSM"],[70070,70078,"NSM"],[70089,70092,"NSM"],[70095,70095,"NSM"],[70191,70193,"NSM"],[70196,70196,"NSM"],[70198,70199,"NSM"],[70206,70206,"NSM"],[70209,70209,"NSM"],[70367,70367,"NSM"],[70371,70378,"NSM"],[70400,70401,"NSM"],[70459,70460,"NSM"],[70464,70464,"NSM"],[70502,70508,"NSM"],[70512,70516,"NSM"],[70587,70592,"NSM"],[70606,70606,"NSM"],[70608,70608,"NSM"],[70610,70610,"NSM"],[70625,70626,"NSM"],[70712,70719,"NSM"],[70722,70724,"NSM"],[70726,70726,"NSM"],[70750,70750,"NSM"],[70835,70840,"NSM"],[70842,70842,"NSM"],[70847,70848,"NSM"],[70850,70851,"NSM"],[71090,71093,"NSM"],[71100,71101,"NSM"],[71103,71104,"NSM"],[71132,71133,"NSM"],[71219,71226,"NSM"],[71229,71229,"NSM"],[71231,71232,"NSM"],[71264,71276,"ON"],[71339,71339,"NSM"],[71341,71341,"NSM"],[71344,71349,"NSM"],[71351,71351,"NSM"],[71453,71453,"NSM"],[71455,71455,"NSM"],[71458,71461,"NSM"],[71463,71467,"NSM"],[71727,71735,"NSM"],[71737,71738,"NSM"],[71995,71996,"NSM"],[71998,71998,"NSM"],[72003,72003,"NSM"],[72148,72151,"NSM"],[72154,72155,"NSM"],[72160,72160,"NSM"],[72193,72198,"NSM"],[72201,72202,"NSM"],[72243,72248,"NSM"],[72251,72254,"NSM"],[72263,72263,"NSM"],[72273,72278,"NSM"],[72281,72283,"NSM"],[72330,72342,"NSM"],[72344,72345,"NSM"],[72544,72544,"NSM"],[72546,72548,"NSM"],[72550,72550,"NSM"],[72752,72758,"NSM"],[72760,72765,"NSM"],[72850,72871,"NSM"],[72874,72880,"NSM"],[72882,72883,"NSM"],[72885,72886,"NSM"],[73009,73014,"NSM"],[73018,73018,"NSM"],[73020,73021,"NSM"],[73023,73029,"NSM"],[73031,73031,"NSM"],[73104,73105,"NSM"],[73109,73109,"NSM"],[73111,73111,"NSM"],[73459,73460,"NSM"],[73472,73473,"NSM"],[73526,73530,"NSM"],[73536,73536,"NSM"],[73538,73538,"NSM"],[73562,73562,"NSM"],[73685,73692,"ON"],[73693,73696,"ET"],[73697,73713,"ON"],[78912,78912,"NSM"],[78919,78933,"NSM"],[90398,90409,"NSM"],[90413,90415,"NSM"],[92912,92916,"NSM"],[92976,92982,"NSM"],[94031,94031,"NSM"],[94095,94098,"NSM"],[94178,94178,"ON"],[94180,94180,"NSM"],[113821,113822,"NSM"],[113824,113827,"BN"],[117760,117973,"ON"],[118e3,118009,"EN"],[118010,118012,"ON"],[118016,118451,"ON"],[118458,118480,"ON"],[118496,118512,"ON"],[118528,118573,"NSM"],[118576,118598,"NSM"],[119143,119145,"NSM"],[119155,119162,"BN"],[119163,119170,"NSM"],[119173,119179,"NSM"],[119210,119213,"NSM"],[119273,119274,"ON"],[119296,119361,"ON"],[119362,119364,"NSM"],[119365,119365,"ON"],[119552,119638,"ON"],[120513,120513,"ON"],[120539,120539,"ON"],[120571,120571,"ON"],[120597,120597,"ON"],[120629,120629,"ON"],[120655,120655,"ON"],[120687,120687,"ON"],[120713,120713,"ON"],[120745,120745,"ON"],[120771,120771,"ON"],[120782,120831,"EN"],[121344,121398,"NSM"],[121403,121452,"NSM"],[121461,121461,"NSM"],[121476,121476,"NSM"],[121499,121503,"NSM"],[121505,121519,"NSM"],[122880,122886,"NSM"],[122888,122904,"NSM"],[122907,122913,"NSM"],[122915,122916,"NSM"],[122918,122922,"NSM"],[123023,123023,"NSM"],[123184,123190,"NSM"],[123566,123566,"NSM"],[123628,123631,"NSM"],[123647,123647,"ET"],[124140,124143,"NSM"],[124398,124399,"NSM"],[124643,124643,"NSM"],[124646,124646,"NSM"],[124654,124655,"NSM"],[124661,124661,"NSM"],[124928,125135,"R"],[125136,125142,"NSM"],[125143,125251,"R"],[125252,125258,"NSM"],[125259,126063,"R"],[126064,126143,"AL"],[126144,126207,"R"],[126208,126287,"AL"],[126288,126463,"R"],[126464,126703,"AL"],[126704,126705,"ON"],[126706,126719,"AL"],[126720,126975,"R"],[126976,127019,"ON"],[127024,127123,"ON"],[127136,127150,"ON"],[127153,127167,"ON"],[127169,127183,"ON"],[127185,127221,"ON"],[127232,127242,"EN"],[127243,127247,"ON"],[127279,127279,"ON"],[127338,127343,"ON"],[127405,127405,"ON"],[127584,127589,"ON"],[127744,128728,"ON"],[128732,128748,"ON"],[128752,128764,"ON"],[128768,128985,"ON"],[128992,129003,"ON"],[129008,129008,"ON"],[129024,129035,"ON"],[129040,129095,"ON"],[129104,129113,"ON"],[129120,129159,"ON"],[129168,129197,"ON"],[129200,129211,"ON"],[129216,129217,"ON"],[129232,129240,"ON"],[129280,129623,"ON"],[129632,129645,"ON"],[129648,129660,"ON"],[129664,129674,"ON"],[129678,129734,"ON"],[129736,129736,"ON"],[129741,129756,"ON"],[129759,129770,"ON"],[129775,129784,"ON"],[129792,129938,"ON"],[129940,130031,"ON"],[130032,130041,"EN"],[130042,130042,"ON"],[131070,131071,"BN"],[196606,196607,"BN"],[262142,262143,"BN"],[327678,327679,"BN"],[393214,393215,"BN"],[458750,458751,"BN"],[524286,524287,"BN"],[589822,589823,"BN"],[655358,655359,"BN"],[720894,720895,"BN"],[786430,786431,"BN"],[851966,851967,"BN"],[917502,917759,"BN"],[917760,917999,"NSM"],[918e3,921599,"BN"],[983038,983039,"BN"],[1048574,1048575,"BN"],[1114110,1114111,"BN"]];function wt(e){if(e<=255)return kt[e];let t=0,n=We.length-1;for(;t<=n;){const r=t+n>>1,x=We[r];if(e<x[0]){n=r-1;continue}if(e>x[1]){t=r+1;continue}return x[2]}return"L"}function bt(e){const t=e.length;if(t===0)return null;const n=new Array(t);let r=!1;for(let l=0;l<t;){const o=e.charCodeAt(l);let F=o,c=1;if(o>=55296&&o<=56319&&l+1<t){const m=e.charCodeAt(l+1);m>=56320&&m<=57343&&(F=(o-55296<<10)+(m-56320)+65536,c=2)}const E=wt(F);(E==="R"||E==="AL"||E==="AN")&&(r=!0);for(let m=0;m<c;m++)n[l+m]=E;l+=c}if(!r)return null;let x=0;for(let l=0;l<t;l++){const o=n[l];if(o==="L"){x=0;break}if(o==="R"||o==="AL"){x=1;break}}const s=new Int8Array(t);for(let l=0;l<t;l++)s[l]=x;const i=x&1?"R":"L",a=i;let u=a;for(let l=0;l<t;l++)n[l]==="NSM"?n[l]=u:u=n[l];u=a;for(let l=0;l<t;l++){const o=n[l];o==="EN"?n[l]=u==="AL"?"AN":"EN":(o==="R"||o==="L"||o==="AL")&&(u=o)}for(let l=0;l<t;l++)n[l]==="AL"&&(n[l]="R");for(let l=1;l<t-1;l++)n[l]==="ES"&&n[l-1]==="EN"&&n[l+1]==="EN"&&(n[l]="EN"),n[l]==="CS"&&(n[l-1]==="EN"||n[l-1]==="AN")&&n[l+1]===n[l-1]&&(n[l]=n[l-1]);for(let l=0;l<t;l++){if(n[l]!=="EN")continue;let o;for(o=l-1;o>=0&&n[o]==="ET";o--)n[o]="EN";for(o=l+1;o<t&&n[o]==="ET";o++)n[o]="EN"}for(let l=0;l<t;l++){const o=n[l];(o==="WS"||o==="ES"||o==="ET"||o==="CS")&&(n[l]="ON")}u=a;for(let l=0;l<t;l++){const o=n[l];o==="EN"?n[l]=u==="L"?"L":"EN":(o==="R"||o==="L")&&(u=o)}for(let l=0;l<t;l++){if(n[l]!=="ON")continue;let o=l+1;for(;o<t&&n[o]==="ON";)o++;const F=l>0?n[l-1]:a,c=o<t?n[o]:a,E=F!=="L"?"R":"L";if(E===(c!=="L"?"R":"L"))for(let S=l;S<o;S++)n[S]=E;l=o-1}for(let l=0;l<t;l++)n[l]==="ON"&&(n[l]=i);for(let l=0;l<t;l++){const o=n[l];(s[l]&1)===0?o==="R"?s[l]++:(o==="AN"||o==="EN")&&(s[l]+=2):(o==="L"||o==="AN"||o==="EN")&&s[l]++}return s}function _t(e,t){const n=bt(e);if(n===null)return null;const r=new Int8Array(t.length);for(let x=0;x<t.length;x++)r[x]=n[t[x]];return r}const yt=/[ \t\n\r\f]+/g,Wt=/[\t\n\r\f]| {2,}|^ | $/;function Rt(e){const t=e??"normal";return t==="pre-wrap"?{mode:t,preserveOrdinarySpaces:!0,preserveHardBreaks:!0}:{mode:t,preserveOrdinarySpaces:!1,preserveHardBreaks:!1}}function Tt(e){if(!Wt.test(e))return e;let t=e.replace(yt," ");return t.charCodeAt(0)===32&&(t=t.slice(1)),t.length>0&&t.charCodeAt(t.length-1)===32&&(t=t.slice(0,-1)),t}function Pt(e){return/[\r\f]/.test(e)?e.replace(/\r\n/g,`
2
2
  `).replace(/[\r\f]/g,`
3
3
  `):e}let pe=null,Ut;function It(){return pe===null&&(pe=new Intl.Segmenter(Ut,{granularity:"word"})),pe}const zt=new RegExp("\\p{Script=Arabic}","u"),fe=new RegExp("\\p{M}","u"),Ze=new RegExp("\\p{Nd}","u");function Re(e){return zt.test(e)}function Te(e){return e>=19968&&e<=40959||e>=13312&&e<=19903||e>=131072&&e<=173791||e>=173824&&e<=177983||e>=177984&&e<=178207||e>=178208&&e<=183983||e>=183984&&e<=191471||e>=191472&&e<=192093||e>=194560&&e<=195103||e>=196608&&e<=201551||e>=201552&&e<=205743||e>=205744&&e<=210041||e>=63744&&e<=64255||e>=12288&&e<=12351||e>=12352&&e<=12447||e>=12448&&e<=12543||e>=12592&&e<=12687||e>=44032&&e<=55215||e>=65280&&e<=65519}function Z(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(!(n<12288)){if(n>=55296&&n<=56319&&t+1<e.length){const r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){const x=(n-55296<<10)+(r-56320)+65536;if(Te(x))return!0;t++;continue}}if(Te(n))return!0}}return!1}function $t(e){const t=Ne(e);return t!==null&&(ve.has(t)||ee.has(t))}const jt=new Set([" "," ","⁠","\uFEFF"]);function Gt(e){return Z(e)}function Vt(e){const t=Ne(e);return t!==null&&jt.has(t)}function Kt(e){return!$t(e)&&!Vt(e)}const ve=new Set([",",".","!",":",";","?","、","。","・",")","〕","〉","》","」","』","】","〗","〙","〛","ー","々","〻","ゝ","ゞ","ヽ","ヾ"]),de=new Set(['"',"(","[","{","“","‘","«","‹","(","〔","〈","《","「","『","【","〖","〘","〚"]),Oe=new Set(["'","’"]),ee=new Set([".",",","!","?",":",";","،","؛","؟","।","॥","၊","။","၌","၍","၏",")","]","}","%",'"',"”","’","»","›","…"]),Ht=new Set([":",".","،","؛"]),Jt=new Set(["၏"]),qt=new Set(["”","’","»","›","」","』","】","》","〉","〕",")"]);function Qt(e){if(ke(e))return!0;let t=!1;for(const n of e){if(ee.has(n)){t=!0;continue}if(!(t&&fe.test(n)))return!1}return t}function Yt(e){for(const t of e)if(!ve.has(t)&&!ee.has(t))return!1;return e.length>0}function Xt(e){if(ke(e))return!0;for(const t of e)if(!de.has(t)&&!Oe.has(t)&&!fe.test(t))return!1;return e.length>0}function ke(e){let t=!1;for(const n of e)if(!(n==="\\"||fe.test(n))){if(de.has(n)||ee.has(n)||Oe.has(n)){t=!0;continue}return!1}return t}function et(e,t){const n=t-1;if(n<=0)return Math.max(n,0);const r=e.charCodeAt(n);if(r<56320||r>57343)return n;const x=n-1;if(x<0)return n;const s=e.charCodeAt(x);return s>=55296&&s<=56319?x:n}function Ne(e){if(e.length===0)return null;const t=et(e,e.length);return e.slice(t)}function Zt(e){const t=Array.from(e);let n=t.length;for(;n>0;){const r=t[n-1];if(fe.test(r)){n--;continue}if(de.has(r)||Oe.has(r)){n--;continue}break}return n<=0||n===t.length?null:{head:t.slice(0,n).join(""),tail:t.slice(n).join("")}}function e0(e,t,n){return n==="text"&&!t&&e.length===1&&e!=="-"&&e!=="—"?e:null}function Pe(e,t,n,r){const x=t[r],s=e[r];if(x==null)return s;const i=n[r];if(s.length===i)return s;const a=x.repeat(i);return e[r]=a,a}function Ue(e,t){return e&&t!==null&&Ht.has(t)}function t0(e){const t=Ne(e);return t!==null&&Jt.has(t)}function n0(e){if(e.length<2||e[0]!==" ")return null;const t=e.slice(1);return new RegExp("^\\p{M}+$","u").test(t)?{space:" ",marks:t}:null}function Me(e){let t=e.length;for(;t>0;){const n=et(e,t),r=e.slice(n,t);if(qt.has(r))return!0;if(!ee.has(r))return!1;t=n}return!1}function s0(e,t){if(t.preserveOrdinarySpaces||t.preserveHardBreaks){if(e===" ")return"preserved-space";if(e===" ")return"tab";if(t.preserveHardBreaks&&e===`
4
4
  `)return"hard-break"}return e===" "?"space":e===" "||e===" "||e==="⁠"||e==="\uFEFF"?"glue":e==="​"?"zero-width-break":e==="­"?"soft-hyphen":"text"}const x0=/[\x20\t\n\xA0\xAD\u200B\u202F\u2060\uFEFF]/;function G(e){return e.length===1?e[0]:e.join("")}function r0(e,t){const n=[];for(let r=e.length-1;r>=0;r--)n.push(e[r]);return n.push(t),G(n)}function i0(e,t,n,r){if(!x0.test(e))return[{text:e,isWordLike:t,kind:"text",start:n}];const x=[];let s=null,i=[],a=n,u=!1,l=0;for(const o of e){const F=s0(o,r),c=F==="text"&&t;if(s!==null&&F===s&&c===u){i.push(o),l+=o.length;continue}s!==null&&x.push({text:G(i),isWordLike:u,kind:s,start:a}),s=F,i=[o],a=n+l,u=c,l+=o.length}return s!==null&&x.push({text:G(i),isWordLike:u,kind:s,start:a}),x}function ge(e){return e==="space"||e==="preserved-space"||e==="zero-width-break"||e==="hard-break"}const l0=/^[A-Za-z][A-Za-z0-9+.-]*:$/;function o0(e,t){const n=e.texts[t];return n.startsWith("www.")?!0:l0.test(n)&&t+1<e.len&&e.kinds[t+1]==="text"&&e.texts[t+1]==="//"}function a0(e){return e.includes("?")&&(e.includes("://")||e.startsWith("www."))}function u0(e){const t=e.texts.slice(),n=e.isWordLike.slice(),r=e.kinds.slice(),x=e.starts.slice();for(let i=0;i<e.len;i++){if(r[i]!=="text"||!o0(e,i))continue;const a=[t[i]];let u=i+1;for(;u<e.len&&!ge(r[u]);){a.push(t[u]),n[i]=!0;const l=t[u].includes("?");if(r[u]="text",t[u]="",u++,l)break}t[i]=G(a)}let s=0;for(let i=0;i<t.length;i++){const a=t[i];a.length!==0&&(s!==i&&(t[s]=a,n[s]=n[i],r[s]=r[i],x[s]=x[i]),s++)}return t.length=s,n.length=s,r.length=s,x.length=s,{len:s,texts:t,isWordLike:n,kinds:r,starts:x}}function c0(e){const t=[],n=[],r=[],x=[];for(let s=0;s<e.len;s++){const i=e.texts[s];if(t.push(i),n.push(e.isWordLike[s]),r.push(e.kinds[s]),x.push(e.starts[s]),!a0(i))continue;const a=s+1;if(a>=e.len||ge(e.kinds[a]))continue;const u=[],l=e.starts[a];let o=a;for(;o<e.len&&!ge(e.kinds[o]);)u.push(e.texts[o]),o++;u.length>0&&(t.push(G(u)),n.push(!0),r.push("text"),x.push(l),s=o-1)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:x}}const F0=new Set([":","-","/","×",",",".","+","–","—"]),Ie=/^[A-Za-z0-9_]+[,:;]*$/,ze=/[,:;]+$/;function tt(e){for(const t of e)if(Ze.test(t))return!0;return!1}function ue(e){if(e.length===0)return!1;for(const t of e)if(!(Ze.test(t)||F0.has(t)))return!1;return!0}function f0(e){const t=[],n=[],r=[],x=[];for(let s=0;s<e.len;s++){const i=e.texts[s],a=e.kinds[s];if(a==="text"&&ue(i)&&tt(i)){const u=[i];let l=s+1;for(;l<e.len&&e.kinds[l]==="text"&&ue(e.texts[l]);)u.push(e.texts[l]),l++;t.push(G(u)),n.push(!0),r.push("text"),x.push(e.starts[s]),s=l-1;continue}t.push(i),n.push(e.isWordLike[s]),r.push(a),x.push(e.starts[s])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:x}}function d0(e){const t=[],n=[],r=[],x=[];for(let s=0;s<e.len;s++){const i=e.texts[s],a=e.kinds[s],u=e.isWordLike[s];if(a==="text"&&u&&Ie.test(i)){const l=[i];let o=ze.test(i),F=s+1;for(;o&&F<e.len&&e.kinds[F]==="text"&&e.isWordLike[F]&&Ie.test(e.texts[F]);){const c=e.texts[F];l.push(c),o=ze.test(c),F++}t.push(G(l)),n.push(!0),r.push("text"),x.push(e.starts[s]),s=F-1;continue}t.push(i),n.push(u),r.push(a),x.push(e.starts[s])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:x}}function N0(e){const t=[],n=[],r=[],x=[];for(let s=0;s<e.len;s++){const i=e.texts[s];if(e.kinds[s]==="text"&&i.includes("-")){const a=i.split("-");let u=a.length>1;for(let l=0;l<a.length;l++){const o=a[l];if(!u)break;(o.length===0||!tt(o)||!ue(o))&&(u=!1)}if(u){let l=0;for(let o=0;o<a.length;o++){const F=a[o],c=o<a.length-1?`${F}-`:F;t.push(c),n.push(!0),r.push("text"),x.push(e.starts[s]+l),l+=c.length}continue}}t.push(i),n.push(e.isWordLike[s]),r.push(e.kinds[s]),x.push(e.starts[s])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:x}}function S0(e){const t=[],n=[],r=[],x=[];let s=0;for(;s<e.len;){const i=[e.texts[s]];let a=e.isWordLike[s],u=e.kinds[s],l=e.starts[s];if(u==="glue"){const o=[i[0]],F=l;for(s++;s<e.len&&e.kinds[s]==="glue";)o.push(e.texts[s]),s++;const c=G(o);if(s<e.len&&e.kinds[s]==="text")i[0]=c,i.push(e.texts[s]),a=e.isWordLike[s],u="text",l=F,s++;else{t.push(c),n.push(!1),r.push("glue"),x.push(F);continue}}else s++;if(u==="text")for(;s<e.len&&e.kinds[s]==="glue";){const o=[];for(;s<e.len&&e.kinds[s]==="glue";)o.push(e.texts[s]),s++;const F=G(o);if(s<e.len&&e.kinds[s]==="text"){i.push(F,e.texts[s]),a=a||e.isWordLike[s],s++;continue}i.push(F)}t.push(G(i)),n.push(a),r.push(u),x.push(l)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:x}}function E0(e){const t=e.texts.slice(),n=e.isWordLike.slice(),r=e.kinds.slice(),x=e.starts.slice();for(let s=0;s<t.length-1;s++){if(r[s]!=="text"||r[s+1]!=="text"||!Z(t[s])||!Z(t[s+1]))continue;const i=Zt(t[s]);i!==null&&(t[s]=i.head,t[s+1]=i.tail+t[s+1],x[s+1]=x[s]+i.head.length)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:x}}function $e(e,t,n){const r=It();let x=0;const s=[],i=[],a=[],u=[],l=[],o=[],F=[],c=[],E=[],m=[],S=[],d=[];for(const f of r.segment(e))for(const p of i0(f.segment,f.isWordLike??!1,f.index,n)){let M=function(){o[N]!==null&&(i[N]=[Pe(s,o,F,N)],o[N]=null),i[N].push(p.text),a[N]=a[N]||p.isWordLike,c[N]=c[N]||D,E[N]=E[N]||_,m[N]=R,S[N]=V,d[N]=Ue(E[N],y)};const g=p.kind==="text",C=e0(p.text,p.isWordLike,p.kind),D=Z(p.text),_=Re(p.text),y=Ne(p.text),R=Me(p.text),V=t0(p.text),N=x-1;t.carryCJKAfterClosingQuote&&g&&x>0&&u[N]==="text"&&D&&c[N]&&m[N]||g&&x>0&&u[N]==="text"&&Yt(p.text)&&c[N]||g&&x>0&&u[N]==="text"&&S[N]?M():g&&x>0&&u[N]==="text"&&p.isWordLike&&_&&d[N]?(M(),a[N]=!0):C!==null&&x>0&&u[N]==="text"&&o[N]===C?F[N]=(F[N]??1)+1:g&&!p.isWordLike&&x>0&&u[N]==="text"&&!c[N]&&(Qt(p.text)||p.text==="-"&&a[N])?M():(s[x]=p.text,i[x]=[p.text],a[x]=p.isWordLike,u[x]=p.kind,l[x]=p.start,o[x]=C,F[x]=C===null?0:1,c[x]=D,E[x]=_,m[x]=R,S[x]=V,d[x]=Ue(_,y),x++)}for(let f=0;f<x;f++){if(o[f]!==null){s[f]=Pe(s,o,F,f);continue}s[f]=G(i[f])}for(let f=1;f<x;f++)u[f]==="text"&&!a[f]&&ke(s[f])&&u[f-1]==="text"&&!c[f-1]&&(s[f-1]+=s[f],a[f-1]=a[f-1]||a[f],s[f]="");const A=Array.from({length:x},()=>null);let L=-1;for(let f=x-1;f>=0;f--){const p=s[f];if(p.length!==0){if(u[f]==="text"&&!a[f]&&Xt(p)&&L>=0&&u[L]==="text"){const g=A[L]??[];g.push(p),A[L]=g,l[L]=l[f],s[f]="";continue}L=f}}for(let f=0;f<x;f++){const p=A[f];p!=null&&(s[f]=r0(p,s[f]))}let h=0;for(let f=0;f<x;f++){const p=s[f];p.length!==0&&(h!==f&&(s[h]=p,a[h]=a[f],u[h]=u[f],l[h]=l[f]),h++)}s.length=h,a.length=h,u.length=h,l.length=h;const O=S0({len:h,texts:s,isWordLike:a,kinds:u,starts:l}),v=E0(d0(N0(f0(c0(u0(O))))));for(let f=0;f<v.len-1;f++){const p=n0(v.texts[f]);p!==null&&(v.kinds[f]!=="space"&&v.kinds[f]!=="preserved-space"||v.kinds[f+1]!=="text"||!Re(v.texts[f+1])||(v.texts[f]=p.space,v.isWordLike[f]=!1,v.kinds[f]=v.kinds[f]==="preserved-space"?"preserved-space":"space",v.texts[f+1]=p.marks+v.texts[f+1],v.starts[f+1]=v.starts[f]+p.space.length))}return v}function p0(e,t){if(e.len===0)return[];if(!t.preserveHardBreaks)return[{startSegmentIndex:0,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}];const n=[];let r=0;for(let x=0;x<e.len;x++)e.kinds[x]==="hard-break"&&(n.push({startSegmentIndex:r,endSegmentIndex:x,consumedEndSegmentIndex:x+1}),r=x+1);return r<e.len&&n.push({startSegmentIndex:r,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}),n}function A0(e){if(e.len<=1)return e;const t=[],n=[],r=[],x=[];let s=null,i=!1,a=0,u=!1,l=!1;function o(){s!==null&&(t.push(G(s)),n.push(i),r.push("text"),x.push(a),s=null)}for(let F=0;F<e.len;F++){const c=e.texts[F],E=e.kinds[F],m=e.isWordLike[F],S=e.starts[F];if(E==="text"){const d=Gt(c),A=Kt(c);if(s!==null&&u&&l){s.push(c),i=i||m,u=u||d,l=A;continue}o(),s=[c],i=m,a=S,u=d,l=A;continue}o(),t.push(c),n.push(m),r.push(E),x.push(S)}return o(),{len:t.length,texts:t,isWordLike:n,kinds:r,starts:x}}function h0(e,t,n="normal",r="normal"){const x=Rt(n),s=x.mode==="pre-wrap"?Pt(e):Tt(e);if(s.length===0)return{normalized:s,chunks:[],len:0,texts:[],isWordLike:[],kinds:[],starts:[]};const i=r==="keep-all"?A0($e(s,t,x)):$e(s,t,x);return{normalized:s,chunks:p0(i,x),...i}}let se=null;const je=new Map;let xe=null;const C0=96,m0=new RegExp("\\p{Emoji_Presentation}","u"),B0=/[\p{Emoji_Presentation}\p{Extended_Pictographic}\p{Regional_Indicator}\uFE0F\u20E3]/u;let Ae=null;const Ge=new Map;function we(){if(se!==null)return se;if(typeof OffscreenCanvas<"u")return se=new OffscreenCanvas(1,1).getContext("2d"),se;if(typeof document<"u")return se=document.createElement("canvas").getContext("2d"),se;throw new Error("Text measurement requires OffscreenCanvas or a DOM canvas context.")}function M0(e){let t=je.get(e);return t||(t=new Map,je.set(e,t)),t}function Q(e,t){let n=t.get(e);return n===void 0&&(n={width:we().measureText(e).width,containsCJK:Z(e)},t.set(e,n)),n}function Se(){if(xe!==null)return xe;if(typeof navigator>"u")return xe={lineFitEpsilon:.005,carryCJKAfterClosingQuote:!1,preferPrefixWidthsForBreakableRuns:!1,preferEarlySoftHyphenBreak:!1},xe;const e=navigator.userAgent,n=navigator.vendor==="Apple Computer, Inc."&&e.includes("Safari/")&&!e.includes("Chrome/")&&!e.includes("Chromium/")&&!e.includes("CriOS/")&&!e.includes("FxiOS/")&&!e.includes("EdgiOS/"),r=e.includes("Chrome/")||e.includes("Chromium/")||e.includes("CriOS/")||e.includes("Edg/");return xe={lineFitEpsilon:n?1/64:.005,carryCJKAfterClosingQuote:r,preferPrefixWidthsForBreakableRuns:n,preferEarlySoftHyphenBreak:n},xe}function g0(e){const t=e.match(/(\d+(?:\.\d+)?)\s*px/);return t?parseFloat(t[1]):16}function nt(){return Ae===null&&(Ae=new Intl.Segmenter(void 0,{granularity:"grapheme"})),Ae}function D0(e){return m0.test(e)||e.includes("️")}function L0(e){return B0.test(e)}function v0(e,t){let n=Ge.get(e);if(n!==void 0)return n;const r=we();r.font=e;const x=r.measureText("😀").width;if(n=0,x>t+.5&&typeof document<"u"&&document.body!==null){const s=document.createElement("span");s.style.font=e,s.style.display="inline-block",s.style.visibility="hidden",s.style.position="absolute",s.textContent="😀",document.body.appendChild(s);const i=s.getBoundingClientRect().width;document.body.removeChild(s),x-i>.5&&(n=x-i)}return Ge.set(e,n),n}function O0(e){let t=0;const n=nt();for(const r of n.segment(e))D0(r.segment)&&t++;return t}function k0(e,t){return t.emojiCount===void 0&&(t.emojiCount=O0(e)),t.emojiCount}function Y(e,t,n){return n===0?t.width:t.width-k0(e,t)*n}function w0(e,t,n,r,x){if(t.breakableFitAdvances!==void 0&&t.breakableFitMode===x)return t.breakableFitAdvances;t.breakableFitMode=x;const s=nt(),i=[];for(const o of s.segment(e))i.push(o.segment);if(i.length<=1)return t.breakableFitAdvances=null,t.breakableFitAdvances;if(x==="sum-graphemes"){const o=[];for(const F of i){const c=Q(F,n);o.push(Y(F,c,r))}return t.breakableFitAdvances=o,t.breakableFitAdvances}if(x==="pair-context"||i.length>C0){const o=[];let F=null,c=0;for(const E of i){const m=Q(E,n),S=Y(E,m,r);if(F===null)o.push(S);else{const d=F+E,A=Q(d,n);o.push(Y(d,A,r)-c)}F=E,c=S}return t.breakableFitAdvances=o,t.breakableFitAdvances}const a=[];let u="",l=0;for(const o of i){u+=o;const F=Q(u,n),c=Y(u,F,r);a.push(c-l),l=c}return t.breakableFitAdvances=a,t.breakableFitAdvances}function b0(e,t){const n=we();n.font=e;const r=M0(e),x=g0(e),s=t?v0(e,x):0;return{cache:r,fontSize:x,emojiCorrection:s}}function _0(e){return e==="space"||e==="zero-width-break"||e==="soft-hyphen"}function st(e){return e==="space"||e==="preserved-space"||e==="tab"||e==="zero-width-break"||e==="soft-hyphen"}function xt(e,t,n=e.widths.length){for(;t<n;){const r=e.kinds[t];if(!_0(r))break;t++}return t}function y0(e,t){if(t<=0)return 0;const n=e%t;return Math.abs(n)<=1e-6?t:t-n}function W0(e,t,n){return e.letterSpacing!==0&&t&&e.spacingGraphemeCounts[n]>0?e.letterSpacing:0}function be(e,t){return t===0?0:e+t}function R0(e,t){return e.letterSpacing!==0&&e.spacingGraphemeCounts[t]>0?e.letterSpacing:0}function T0(e,t,n,r,x){const s=t==="tab"?x+R0(e,n):e.lineEndFitAdvances[n];return be(r,s)}function Ve(e,t,n,r){const x=t==="tab"?0:e.lineEndFitAdvances[n];return be(r,x)}function Ke(e,t,n,r,x){const s=t==="tab"?x:e.lineEndPaintAdvances[n];return be(r,s)}function P0(e,t,n){return e.letterSpacing!==0&&t?n+e.letterSpacing:n}function U0(e,t){return e.letterSpacing===0?t:t+e.letterSpacing}function I0(e,t,n,r,x,s){let i=0,a=t;for(;i<e.length;){const u=a+e[i]+s;if((i+1<e.length?u+x:u)>n+r)break;a=u,i++}return{fitCount:i,fittedWidth:a}}function z0(e,t,n){const{widths:r,kinds:x,breakableFitAdvances:s}=e;if(r.length===0)return 0;const a=Se().lineFitEpsilon,u=t+a;let l=0,o=0,F=!1,c=0,E=0,m=0,S=0,d=-1,A=0;function L(){d=-1,A=0}function h(C=m,D=S,_=o){l++,n?.(_,c,E,C,D),o=0,F=!1,L()}function O(C,D){F=!0,c=C,E=0,m=C+1,S=0,o=D}function v(C,D,_){F=!0,c=C,E=D,m=C,S=D+1,o=_}function f(C,D){if(!F){O(C,D);return}o+=D,m=C+1,S=0}function p(C,D){const _=s[C];for(let y=D;y<_.length;y++){const R=_[y];F?o+R>u?(h(),v(C,y,R)):(o+=R,m=C,S=y+1):v(C,y,R)}F&&m===C&&S===_.length&&(m=C+1,S=0)}let g=0;for(;g<r.length&&!(!F&&(g=xt(e,g),g>=r.length));){const C=r[g],D=x[g],_=st(D);if(!F){C>u&&s[g]!==null?p(g,0):O(g,C),_&&(d=g+1,A=o-C),g++;continue}if(o+C>u){if(_){f(g,C),h(g+1,0,o-C),g++;continue}if(d>=0){if(m>d||m===d&&S>0){h();continue}h(d,0,A);continue}if(C>u&&s[g]!==null){h(),p(g,0),g++;continue}h();continue}f(g,C),_&&(d=g+1,A=o-C),g++}return F&&h(),l}function $0(e,t,n){if(e.simpleLineWalkFastPath)return z0(e,t,n);const{widths:r,kinds:x,breakableFitAdvances:s,discretionaryHyphenWidth:i,chunks:a}=e;if(r.length===0||a.length===0)return 0;const u=Se(),l=u.lineFitEpsilon,o=t+l;let F=0,c=0,E=!1,m=0,S=0,d=0,A=0,L=-1,h=0,O=0,v=null;function f(){L=-1,h=0,O=0,v=null}function p(N=d,M=A,B=c){F++,n?.(B,m,S,N,M),c=0,E=!1,f()}function g(N,M){E=!0,m=N,S=0,d=N+1,A=0,c=M}function C(N,M,B){E=!0,m=N,S=M,d=N,A=M+1,c=B}function D(N,M){if(!E){g(N,M);return}c+=M,d=N+1,A=0}function _(N,M,B,w,I,z){if(!M)return;const K=Ve(e,N,B,I),ne=Ke(e,N,B,I,w);L=B+1,h=c-z+K,O=c-z+ne,v=N}function y(N,M){const B=s[N];for(let w=M;w<B.length;w++){const I=B[w];if(!E)C(N,w,I);else{const z=P0(e,!0,I),K=c+z;U0(e,K)>o?(p(),C(N,w,I)):(c=K,d=N,A=w+1)}}E&&d===N&&A===B.length&&(d=N+1,A=0)}function R(N){if(v!=="soft-hyphen")return!1;const M=s[N];if(M==null)return!1;const{fitCount:B,fittedWidth:w}=I0(M,c,t,l,i,e.letterSpacing);return B===0?!1:(c=w,d=N,A=B,f(),B===M.length?(d=N+1,A=0,!0):(p(N,B,w+i),y(N,B),!0))}function V(N){F++,n?.(0,N.startSegmentIndex,0,N.consumedEndSegmentIndex,0),f()}for(let N=0;N<a.length;N++){const M=a[N];if(M.startSegmentIndex===M.endSegmentIndex){V(M);continue}E=!1,c=0,m=M.startSegmentIndex,S=0,d=M.startSegmentIndex,A=0,f();let B=M.startSegmentIndex;for(;B<M.endSegmentIndex&&!(!E&&(B=xt(e,B,M.endSegmentIndex),B>=M.endSegmentIndex));){const w=x[B],I=st(w),z=W0(e,E,B),K=w==="tab"?y0(c+z,e.tabStopAdvance):r[B],ne=z+K,Ee=T0(e,w,B,z,K);if(w==="soft-hyphen"){E&&(d=B+1,A=0,L=B+1,h=c+i,O=c+i,v=w),B++;continue}if(!E){Ee>o&&s[B]!==null?y(B,0):g(B,K),_(w,I,B,K,z,ne),B++;continue}if(c+Ee>o){const it=c+Ve(e,w,B,z),lt=c+Ke(e,w,B,z,K);if(v==="soft-hyphen"&&u.preferEarlySoftHyphenBreak&&h<=o){p(L,0,O);continue}if(v==="soft-hyphen"&&R(B)){B++;continue}if(I&&it<=o){D(B,ne),p(B+1,0,lt),B++;continue}if(L>=0&&h<=o){if(d>L||d===L&&A>0){p();continue}const _e=L;p(_e,0,O),B=_e;continue}if(Ee>o&&s[B]!==null){p(),y(B,0),B++;continue}p();continue}D(B,ne),_(w,I,B,K,z,ne),B++}if(E){const w=L===M.consumedEndSegmentIndex?O:c;p(M.consumedEndSegmentIndex,0,w)}}return F}let he=null,He=new WeakMap;function j0(){return he===null&&(he=new Intl.Segmenter(void 0,{granularity:"grapheme"})),he}function Je(e,t,n){let r=n.get(e);if(r!==void 0)return r;r=[];const x=j0();for(const s of x.segment(t[e]))r.push(s.segment);return n.set(e,r),r}function G0(e,t,n,r){return r>0&&e[r-1]==="soft-hyphen"&&!(t===r&&n>0)}function qe(e,t,n,r){for(let x=n;x<r;x++)e+=t[x];return e}function V0(e){let t=He.get(e);return t!==void 0||(t=new Map,He.set(e,t)),t}function K0(e,t,n,r,x,s){let i="";const a=G0(e.kinds,n,r,x);for(let u=n;u<x;u++)if(!(e.kinds[u]==="soft-hyphen"||e.kinds[u]==="hard-break"))if(u===n&&r>0){const l=Je(u,e.segments,t);i=qe(i,l,r,l.length)}else i+=e.segments[u];if(s>0){a&&(i+="-");const u=Je(x,e.segments,t);i=qe(i,u,n===x?r:0,s)}else a&&(i+="-");return i}let Ce=null;function H0(){return Ce===null&&(Ce=new Intl.Segmenter(void 0,{granularity:"grapheme"})),Ce}function J0(e){return{widths:[],lineEndFitAdvances:[],lineEndPaintAdvances:[],kinds:[],simpleLineWalkFastPath:!0,segLevels:null,breakableFitAdvances:[],letterSpacing:0,spacingGraphemeCounts:[],discretionaryHyphenWidth:0,tabStopAdvance:0,chunks:[],segments:[]}}function q0(e,t){const n=[];let r=[],x=0,s=!1,i=!1,a=!1;function u(){r.length!==0&&(n.push({text:r.length===1?r[0]:r.join(""),start:x}),r=[],s=!1,i=!1,a=!1)}function l(F,c,E){r=[F],x=c,s=E,i=Me(F),a=de.has(F)}function o(F,c){r.push(F),s=s||c;const E=Me(F);F.length===1&&ee.has(F)?i=i||E:i=E,a=!1}for(const F of H0().segment(e)){const c=F.segment,E=Z(c);if(r.length===0){l(c,F.index,E);continue}if(a||ve.has(c)||ee.has(c)||t.carryCJKAfterClosingQuote&&E&&i){o(c,E);continue}if(!s&&!E){o(c,E);continue}u(),l(c,F.index,E)}return u(),n}function Q0(e,t,n){return e}function Y0(e,t,n,r,x){const s=Se(),{cache:i,emojiCorrection:a}=b0(t,L0(e.normalized)),u=Y("-",Q("-",i),a)+0,o=Y(" ",Q(" ",i),a)*8;if(e.len===0)return J0();const F=[],c=[],E=[],m=[];let S=e.chunks.length<=1&&!0;const d=n?[]:null,A=[],L=[],h=n?[]:null,O=Array.from({length:e.len});function v(C,D,_,y,R,V,N,M){R!=="text"&&R!=="space"&&R!=="zero-width-break"&&(S=!1),F.push(D),c.push(_),E.push(y),m.push(R),d?.push(V),A.push(N),h!==null&&h.push(C)}function f(C,D,_,y,R){const V=Q(C,i),N=Q0(Y(C,V,a)),M=D==="space"||D==="preserved-space"||D==="zero-width-break"?0:N,B=M===0?0:M+0,w=D==="space"||D==="zero-width-break"?0:N;if(R&&y&&C.length>1){let I="sum-graphemes";ue(C)?I="pair-context":s.preferPrefixWidthsForBreakableRuns&&(I="segment-prefixes");const z=w0(C,V,i,a,I);v(C,N,B,w,D,_,z);return}v(C,N,B,w,D,_,null)}for(let C=0;C<e.len;C++){O[C]=F.length;const D=e.texts[C],_=e.isWordLike[C],y=e.kinds[C],R=e.starts[C];if(y==="soft-hyphen"){v(D,0,u,u,y,R,null);continue}if(y==="hard-break"){v(D,0,0,0,y,R,null);continue}if(y==="tab"){v(D,0,0,0,y,R,null);continue}const V=Q(D,i);if(y==="text"&&V.containsCJK){const M=q0(D,s);for(let B=0;B<M.length;B++){const w=M[B];f(w.text,"text",R+w.start,_,!Z(w.text))}continue}f(D,y,R,_,!0)}const p=X0(e.chunks,O,F.length),g=d===null?null:_t(e.normalized,d);return h!==null?{widths:F,lineEndFitAdvances:c,lineEndPaintAdvances:E,kinds:m,simpleLineWalkFastPath:S,segLevels:g,breakableFitAdvances:A,letterSpacing:x,spacingGraphemeCounts:L,discretionaryHyphenWidth:u,tabStopAdvance:o,chunks:p,segments:h}:{widths:F,lineEndFitAdvances:c,lineEndPaintAdvances:E,kinds:m,simpleLineWalkFastPath:S,segLevels:g,breakableFitAdvances:A,letterSpacing:x,spacingGraphemeCounts:L,discretionaryHyphenWidth:u,tabStopAdvance:o,chunks:p}}function X0(e,t,n){const r=[];for(let x=0;x<e.length;x++){const s=e[x],i=s.startSegmentIndex<t.length?t[s.startSegmentIndex]:n,a=s.endSegmentIndex<t.length?t[s.endSegmentIndex]:n,u=s.consumedEndSegmentIndex<t.length?t[s.consumedEndSegmentIndex]:n;r.push({startSegmentIndex:i,endSegmentIndex:a,consumedEndSegmentIndex:u})}return r}function Z0(e,t,n,r){const x="normal",i=h0(e,Se(),r?.whiteSpace,x);return Y0(i,t,n,x,0)}function en(e,t,n){return Z0(e,t,!0,n)}function tn(e,t,n,r,x,s,i){return{text:K0(e,t,r,x,s,i),width:n,start:{segmentIndex:r,graphemeIndex:x},end:{segmentIndex:s,graphemeIndex:i}}}function nn(e,t,n){const r=[];if(e.widths.length===0)return{lineCount:0,height:0,lines:r};const x=V0(e),s=$0(e,t,(i,a,u,l,o)=>{r.push(tn(e,x,i,a,u,l,o))});return{lineCount:s,height:s*n,lines:r}}const sn={class:"flex-1 text-sm text-[var(--el-text-color-primary)] whitespace-nowrap"},xn="14px Inter",rn=te({__name:"InfoList",props:{infoList:{}},setup(e){const t=e,n=q(()=>{if(!t.infoList||t.infoList.length===0)return 80;let r=0;for(const x of t.infoList){const s=en(x.label,xn),{lines:i}=nn(s,1e3,20);i.length>0&&(r=Math.max(r,i[0].width))}return Math.ceil(r+16)});return(r,x)=>{const s=De;return j(),le("div",null,[(j(!0),le(Et,null,pt(e.infoList,i=>(j(),le("div",{key:i.key,class:"flex items-center py-3 border-b border-[var(--el-border-color-lighter)] last:border-b-0"},[W("span",{class:"text-sm text-[var(--el-text-color-secondary)] whitespace-nowrap",style:At({width:n.value+"px"})},$(i.label),5),W("span",sn,$(i.value||i.defaultValue),1),i.handlerText?(j(),X(s,{key:0,link:"",type:"primary",onClick:a=>i.onHandler?.()},{default:T(()=>[ae($(i.handlerText),1)]),_:2},1032,["onClick"])):ht("",!0)]))),128))])}}});function ln(e){const n=new DOMParser().parseFromString(e,"text/xml");return{code:n.querySelector("Code")?.textContent||"",message:n.querySelector("Message")?.textContent||"",maxSize:n.querySelector("MaxSizeAllowed")?.textContent||"",proposedSize:n.querySelector("ProposedSize")?.textContent||""}}const on={class:"p-2"},an={class:"flex gap-2 flex-1"},un={class:"flex gap-2 flex-1"},cn=te({__name:"EmailDialog",setup(e,{expose:t}){const{t:n}=ie(),r=ce(),x={OLD:"old",NEW:"new"},s=U(!1),i=U({}),a=U({}),u=U({onSubmit:()=>{o()},form:{labelWidth:"auto"},submitBtn:{loading:!1}}),l=q(()=>[{type:"input",field:"email",title:n("user.oldEmail"),value:r?.userInfo?.email,validate:[{required:!0,message:n("user.pleaseInputOldEmail"),trigger:"blur"},{validator:(S,d,A)=>{me.isEmail(d)?A():A(new Error(n("user.pleaseInputCorrectEmail")))},trigger:"blur"}],props:{disabled:!0}},{type:"slotAuthCodeOld",field:"authCode",title:n("user.oldAuthCode"),validate:[{required:!0,message:n("user.pleaseInputAuthCode"),trigger:"blur"}]},{type:"input",field:"newEmail",title:n("user.newEmail"),value:"",validate:[{required:!0,message:n("user.pleaseInputNewEmail"),trigger:"blur"},{validator:(S,d,A)=>{me.isEmail(d)?A():A(new Error(n("user.pleaseInputCorrectEmail")))},trigger:"blur"}],props:{placeholder:n("user.pleaseInputNewEmail")}},{type:"slotAuthCodeNew",field:"newAuthCode",title:n("user.newAuthCode"),validate:[{required:!0,message:n("user.pleaseInputNewAuthCode"),trigger:"blur"}]}]);async function o(){u.value.submitBtn.loading=!0,H.v1User.usercontrollerUpdateemail(a.value).then(()=>{P.success(n("user.emailModified")),window?.umami?.track(J.USER_UPDATE_EMAIL_SUCCESS),r.setEmail(a.value.newEmail),m()}).catch(S=>{window?.umami?.track(J.USER_UPDATE_EMAIL_FAILED,{error:String(S)})}).finally(()=>{u.value.submitBtn.loading=!1})}function F(S,{end:d,startCountdown:A}){S===x.OLD?i.value.validateField("email").then(async()=>{await H.v1Email.emailcontrollerSendcode({email:a.value.email}).then(()=>{P.success(n("message.success.sendAuthCode")),A()})}).finally(()=>{d()}):S===x.NEW&&i.value.validateField("newEmail").then(async()=>{await H.v1Email.emailcontrollerSendcode({email:a.value.newEmail}).then(()=>{P.success(n("user.newAuthCodeSent")),A()})}).finally(()=>{d()})}function c(S){return n(`formCreate.${S}`)}function E(){s.value=!0}function m(){s.value=!1}return t({open:E,close:m}),(S,d)=>{const A=Ye,L=oe("form-create");return j(),X(k(Fe),{modelValue:s.value,"onUpdate:modelValue":d[4]||(d[4]=h=>s.value=h),"show-close":!0,width:"500px"},{default:T(()=>[W("div",on,[b(L,{modelValue:a.value,"onUpdate:modelValue":d[2]||(d[2]=h=>a.value=h),api:i.value,"onUpdate:api":d[3]||(d[3]=h=>i.value=h),rule:l.value,option:u.value,t:c},{"type-slotAuthCodeOld":T(h=>[W("div",an,[b(A,{"model-value":String(h.model.value??""),class:"flex-1",placeholder:k(n)("user.pleaseInputAuthCode"),onInput:O=>h.model.callback(O)},null,8,["model-value","placeholder","onInput"]),b(k(Be),{text:k(n)("user.getAuthCode"),"countdown-text":"user.resendAfterSeconds",duration:60,onSend:d[0]||(d[0]=O=>F(x.OLD,O))},null,8,["text"])])]),"type-slotAuthCodeNew":T(h=>[W("div",un,[b(A,{"model-value":String(h.model.value??""),class:"flex-1",placeholder:k(n)("user.pleaseInputNewAuthCode"),onInput:O=>h.model.callback(O)},null,8,["model-value","placeholder","onInput"]),b(k(Be),{text:k(n)("user.getAuthCode"),"countdown-text":"user.resendAfterSeconds",duration:60,onSend:d[1]||(d[1]=O=>F(x.NEW,O))},null,8,["text"])])]),_:1},8,["modelValue","api","rule","option"])])]),_:1},8,["modelValue"])}}}),Fn={class:"p-2"},fn={class:"flex gap-2 flex-1"},dn=te({__name:"PasswordDialog",setup(e,{expose:t}){const{t:n}=ie(),r=ce(),x=re("baseForm"),s=U(!1),i=U({}),a=U({}),u=U({onSubmit:()=>{o()},form:{labelWidth:"auto"},submitBtn:{loading:!1}}),l=q(()=>[{type:"input",field:"newPassword",title:r.isPasswordSet?n("user.newPassword"):n("user.setPassword"),value:"",props:{placeholder:n("user.pleaseInputNewPassword"),type:"password",showPassword:!0,autocomplete:"new-password"},validate:[{required:!0,message:n("user.pleaseInputNewPassword"),trigger:"blur"}]},{type:"input",field:"confirmNewPassword",title:r.isPasswordSet?n("user.confirmNewPassword"):n("user.confirmPassword"),value:"",props:{placeholder:n("user.pleaseConfirmNewPassword"),type:"password",showPassword:!0,autocomplete:"new-password"},validate:[{required:!0,message:n("user.pleaseConfirmNewPassword"),trigger:"blur"}]},{type:"input",field:"email",title:n("user.email"),value:r?.userInfo?.email,props:{disabled:!0},validate:[{required:!0,message:n("user.pleaseInputEmail"),trigger:"blur"}]},{type:"slotAuthCode",field:"emailAuthCode",title:n("user.authCode"),value:""}]);async function o(){u.value.submitBtn.loading=!0;const S={newPassword:ye(a.value.newPassword),confirmNewPassword:ye(a.value.confirmNewPassword),email:a.value.email,emailAuthCode:a.value.emailAuthCode};H.v1User.usercontrollerChangepassword(S).then(()=>{P.success(n("user.passwordModified")),window?.umami?.track(J.USER_UPDATE_PASSWORD_SUCCESS),x.value?.resetFields(),r.setIsPasswordSet(!0),m()}).catch(d=>{window?.umami?.track(J.USER_UPDATE_PASSWORD_FAILED,{error:String(d)})}).finally(()=>{u.value.submitBtn.loading=!1})}function F({end:S,startCountdown:d}){i.value.validateField("email").then(async()=>{await H.v1Email.emailcontrollerSendcode({email:a.value.email}).then(()=>{P.success(n("message.success.sendAuthCode")),d()})}).finally(()=>{S()})}function c(S){return n(`formCreate.${S}`)}function E(){s.value=!0}function m(){s.value=!1}return t({open:E,close:m}),(S,d)=>{const A=Ye,L=oe("form-create");return j(),X(k(Fe),{modelValue:s.value,"onUpdate:modelValue":d[2]||(d[2]=h=>s.value=h),"show-close":!0,width:"500px"},{default:T(()=>[W("div",Fn,[b(L,{modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=h=>a.value=h),api:i.value,"onUpdate:api":d[1]||(d[1]=h=>i.value=h),rule:l.value,option:u.value,t:c},{"type-slotAuthCode":T(h=>[W("div",fn,[b(A,{"model-value":String(h.model.value),class:"flex-1",placeholder:k(n)("user.pleaseInputAuthCode"),onInput:O=>h.model.callback(O)},null,8,["model-value","placeholder","onInput"]),b(k(Be),{text:k(n)("user.getAuthCode"),"countdown-text":"user.resendAfterSeconds",duration:60,onSend:F},null,8,["text"])])]),_:1},8,["modelValue","api","rule","option"])])]),_:1},8,["modelValue"])}}}),Nn={class:"p-2"},Sn=te({__name:"NicknameDialog",setup(e,{expose:t}){const{t:n}=ie(),r=ce(),x=Le(),s=U(!1),i=U({onSubmit:()=>{l()},form:{labelWidth:"auto"},submitBtn:{loading:!1}}),a=U({}),u=q(()=>[{type:"input",field:"nickname",title:n("user.nickname"),value:r.userInfo.nickname,props:{placeholder:n("user.pleaseInputNickname")},validate:[{required:!0,message:n("user.pleaseInputNickname"),trigger:"blur"},{min:3,max:10,message:n("team.charLength",{min:2,max:10}),trigger:"blur"}]}]);async function l(){if(i.value.submitBtn.loading=!0,a.value.nickname===r.userInfo.nickname){P.success(n("message.success.update")),i.value.submitBtn.loading=!1,c();return}H.v1User.usercontrollerChangenickname({nickname:a.value.nickname}).then(()=>{r.setNickname(a.value.nickname),x.updateNickname(a.value.nickname),P.success(n("message.success.update")),window?.umami?.track(J.USER_UPDATE_NICKNAME_SUCCESS),c()}).catch(E=>{window?.umami?.track(J.USER_UPDATE_NICKNAME_FAILED,{error:String(E)})}).finally(()=>{i.value.submitBtn.loading=!1})}function o(E){return n(`formCreate.${E}`)}function F(){s.value=!0}function c(){s.value=!1}return t({open:F,close:c}),(E,m)=>{const S=oe("form-create");return j(),X(k(Fe),{modelValue:s.value,"onUpdate:modelValue":m[1]||(m[1]=d=>s.value=d),width:"400px"},{default:T(()=>[W("div",Nn,[b(S,{modelValue:a.value,"onUpdate:modelValue":m[0]||(m[0]=d=>a.value=d),rule:u.value,option:i.value,t:o},null,8,["modelValue","rule","option"])])]),_:1},8,["modelValue"])}}}),En=te({__name:"index",props:{cover:{type:Boolean}},setup(e){const{t}=ie(),n=e,r=gt(),x=Ct(),s=mt(),i=(S,d)=>{c.value.fileList&&(c.value.fileList=d),S?.raw&&(o.value=URL.createObjectURL(S.raw))},a=S=>{P.error(S.message)},l={autoUpload:!1,cover:!1,onChange:i,onExceed:(S,d)=>{if(c.value.cover&&c?.value?.limit===1){F.value?.clearFiles();const A=S[0];A.uid=at(),F.value.handleStart(A);return}P.warning(t("message.fileExceed",{limit:c?.value?.limit,selected:S.length,total:S.length+d.length}))},beforeUpload:rt(),onError:a},o=U(null),F=U(),c=q(()=>({...l,...me.convertKeysToCamelCase(x),...n})),E=q(()=>({...s,default:s.default?S=>s.default({...S,fileUrl:o.value}):void 0}));function m(S){F.value=S,r&&(r.exposed=S||{},r.exposeProxy=S||{})}return(S,d)=>(j(),X(Bt(Mt(k(ot),{...c.value,ref:m},E.value))))}}),{i18n:pn}=Nt,Qe=e=>e.size/1024/1024>20?(P.error(pn.global.t("message.validate.fileMaxSize",{size:20})),!1):!0;function rt(e={}){const{mode:t="extend",custom:n}=e;return r=>t==="override"&&n?n(r):t==="extend"?Qe(r)?n?n(r):!0:!1:Qe(r)}function An(e,t){const n=t.name.slice(t.name.lastIndexOf(".")+1).toLowerCase(),r=e.dir+e.key+"."+n,x=new FormData;return x.append("success_action_status","200"),x.append("policy",e.policy),x.append("x-oss-signature",e.signature),x.append("x-oss-signature-version",e.x_oss_signature_version),x.append("x-oss-credential",e.x_oss_credential),x.append("x-oss-date",e.x_oss_date),x.append("key",r),x.append("x-oss-security-token",e.security_token),x.append("Cache-Control","public, max-age=31536000"),x.append("file",t),{host:e.host,filePath:r,formData:x}}async function hn(e,t){return fetch(e,{method:"POST",body:t})}const Cn=["src"],mn=te({__name:"AvatarDialog",setup(e,{expose:t}){const{t:n}=ie(),r=Le(),x=U([]),s=U(!1),i=re("avatarUpload"),a=U(),u=q(()=>({limit:1,cover:!0,onError:o,beforeUpload:l,showFileList:!1,httpRequest:m})),l=rt({custom(A){return A.type.startsWith("image/")?!0:(P.error(n("message.validate.imageFormat")),a.value?.(),!1)}});function o(A){a.value?.(),P.error(A.message)}async function F(A){if(A.start(),a.value=A.end,!x.value||x.value.length===0){P.warning(n("message.validate.pleaseSelectFile")),a.value();return}i.value?.submit()}function c(A){H.v1User.usercontrollerChangeavatar({avatar:A}).then(()=>{r.updateAvatar(A),d(),P.success(n("user.avatarModified")),window?.umami?.track(J.USER_UPDATE_AVATAR_SUCCESS)}).catch(L=>{window?.umami?.track(J.USER_UPDATE_AVATAR_FAILED,{error:String(L)})}).finally(()=>{a.value?.()})}function E(){i.value?.clearFiles()}async function m(A){const L=await H.v1Oss.osscontrollerCompossdir(),{imageDir:h}=L.data,O=await H.v1Oss.osscontrollerPutpolicy({type:h});if(O.code!==0||!O.data)return P.error(O.message);const{host:v,filePath:f,formData:p}=An(O.data,A.file),g=await hn(v,p);if(g.ok)c(f);else{const C=await g.text(),D=ln(C);P.error(D.message),a.value?.()}}function S(){s.value=!0}function d(){s.value=!1,E()}return t({open:S,close:d}),(A,L)=>{const h=oe("Icon"),O=ct,v=De,f=ut;return j(),X(k(Fe),{modelValue:s.value,"onUpdate:modelValue":L[1]||(L[1]=p=>s.value=p),width:"400px",onClose:E},{default:T(()=>[b(f,{"label-width":"auto"},{default:T(()=>[b(O,{label:k(n)("user.avatar")},{default:T(()=>[b(k(En),Dt({ref:"avatarUpload","file-list":x.value,"onUpdate:fileList":L[0]||(L[0]=p=>x.value=p),class:"size-[70px] border border-gray-300 rounded-sm flex justify-center items-center upload-container"},u.value),{default:T(({fileUrl:p})=>[p?(j(),le("img",{key:0,src:p,class:"size-full"},null,8,Cn)):(j(),X(h,{key:1,icon:"material-symbols:add-2-rounded","font-size":"2rem"}))]),_:1},16,["file-list"])]),_:1},8,["label"]),b(O,null,{default:T(()=>[b(k(Xe),null,{default:T(({instance:p,loading:g})=>[b(v,{type:"primary",loading:g,onClick:C=>F(p)},{default:T(()=>[ae($(k(n)("common.submit")),1)]),_:1},8,["loading","onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}}}),Bn=St(mn,[["__scopeId","data-v-6ea47d01"]]),Mn={class:"h-full p-[10px]"},gn={class:"grid grid-cols-[8fr_13fr] gap-[24px] max-w-[1400px] mx-auto my-0"},Dn={class:"text-center flex flex-col items-center gap-2 h-[120px]"},Ln={class:"flex flex-col gap-10"},vn={class:"flex items-center"},On={class:"size-[48px] flex items-center justify-center"},kn={class:"flex-1"},wn={class:"text-sm text-gray-500"},bn={class:"flex items-center"},_n={class:"size-[48px] flex items-center justify-center"},yn={class:"flex-1"},Wn={class:"text-sm text-gray-500"},Jn=te({__name:"index",setup(e){const{t}=ie(),n=ce(),r=Le(),x=q(()=>n.userInfo),s=re("emailDialog"),i=re("passwordDialog"),a=re("nicknameDialog"),u=re("avatarDialog"),l=F=>{if(!n.isPasswordSet){P.error(t("user.pleaseSetPasswordFirst"));return}F.start(),n.setAllowEmailLogin(!n.isAllowEmailLogin).then(()=>{P.success(n.isAllowEmailLogin?t("user.emailLoginEnabled"):t("user.emailLoginDisabled")),window?.umami?.track(J.USER_EMAIL_LOGIN_TOGGLE,{enabled:n.isAllowEmailLogin})}).finally(()=>{F.end()})},o=q(()=>[{key:"account",label:t("user.account"),value:x.value?.account},{key:"nickname",label:t("user.nickname"),value:x.value?.nickname,defaultValue:"--",editable:!0,handlerText:t("common.edit"),onHandler:()=>a.value?.open()},{key:"email",label:t("user.email"),value:x.value?.email,defaultValue:t("user.notBound"),editable:!0,handlerText:x.value?.email?t("user.change"):t("user.bind"),onHandler:()=>s.value?.open()},{key:"createTime",label:t("user.registerTime"),value:x.value?.createdAt?vt(x.value.createdAt).format("YYYY-MM-DD"):"--"}]);return Lt(async()=>{n.initUserInfo(),H.v1User.usercontrollerCheckpassword().then(F=>{n.setIsPasswordSet(F.data.isSetPassword)})}),(F,c)=>{const E=Ft,m=ft,S=oe("Icon"),d=De,A=dt;return j(),le("div",Mn,[W("div",gn,[b(m,{class:"col-start-1 row-span-2 row-start-1"},{header:T(()=>[W("span",null,$(k(t)("user.basicInfo")),1)]),default:T(()=>[W("div",Dn,[b(Ot,{size:80,shape:"square",src:k(r).avatar,text:k(r).avatarStr,class:"cursor-pointer",onClick:c[0]||(c[0]=L=>u.value?.open())},{default:T(()=>[ae($(x.value?.nickname?.charAt(0)||"U"),1)]),_:1},8,["src","text"]),W("h3",null,$(x.value?.account),1)]),b(E),b(k(rn),{"info-list":o.value},null,8,["info-list"])]),_:1}),b(m,{class:"col-start-2"},{header:T(()=>[W("span",null,$(k(t)("user.securitySettings")),1)]),default:T(()=>[W("div",Ln,[W("div",vn,[W("div",On,[b(S,{icon:"material-symbols:lock"})]),W("div",kn,[W("h4",null,$(k(t)("user.loginPassword")),1),W("p",wn,$(k(t)("user.passwordTip")),1)]),b(d,{type:"primary",onClick:c[1]||(c[1]=L=>i.value?.open())},{default:T(()=>[ae($(k(n)?.isPasswordSet?k(t)("user.changePassword"):k(t)("user.setPassword")),1)]),_:1})]),W("div",bn,[W("div",_n,[b(S,{icon:"material-symbols:mark-email-unread"})]),W("div",yn,[W("h4",null,$(k(t)("user.emailLogin")),1),W("p",Wn,$(k(t)("user.emailLoginTip")),1)]),b(k(Xe),null,{default:T(({instance:L,loading:h})=>[b(A,{loading:h,"model-value":k(n).isAllowEmailLogin,onChange:O=>l(L)},null,8,["loading","model-value","onChange"])]),_:1})])])]),_:1})]),b(cn,{ref:"emailDialog"},null,512),b(dn,{ref:"passwordDialog"},null,512),b(Sn,{ref:"nicknameDialog"},null,512),b(Bn,{ref:"avatarDialog"},null,512)])}}});export{Jn as default};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./index.vue_vue_type_style_index_0_lang-HhqETZCz.js";import{v as o,ab as t,l as r,r as s}from"./vendor-core-BKehvho7.js";import"./vendor-xterm-DbWxaMay.js";import"./index-CRPDDq-V.js";import"./vendor-ui-CGT0cG1n.js";const a={class:"size-full"},d=o({__name:"index",setup(n){return(_,c)=>(t(),r("div",a,[s(e)]))}});export{d as default};
@@ -0,0 +1 @@
1
+ import{a2 as R,e as $,W as H,L as F,b as q,K as z,J as C}from"./vendor-ui-CGT0cG1n.js";import{B as K,u,i as k}from"./index-CRPDDq-V.js";import"./el-table-column-CGzXlVpD.js";import{v as L,aA as Q,aD as W,a7 as j,ab as g,l as T,r as s,aO as r,_ as A,A as w,q as E,ap as v,ax as p,F as G,ah as J,j as X,i as Z,af as I,g as o,ao as ee}from"./vendor-core-BKehvho7.js";import{b as ae}from"./index.vue_vue_type_script_setup_true_lang-BcUGs_WV.js";import{h as M}from"./moment-B-YVwB4U.js";import{u as te}from"./useTeamHeaders-DxHN7-t0.js";import{_ as oe}from"./LoadingWrapper.vue_vue_type_script_setup_true_lang-kJcgjuK5.js";import"./index-5NbrFL1v.js";import"./useCompMetaLocalStore-BKTMp_k8.js";import"./useCacheOssStore-OAoLDVbw.js";import"./useVscodeOpen--nBM6CZ-.js";/* empty css */import"./BaseDialog.vue_vue_type_script_setup_true_lang-BROcUfEh.js";import"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-pswB5SUz.js";import"./useMessage-8Gi-vx-A.js";const ne={class:"size-full"},re={class:"text-gray-300"},Te=L({__name:"index",setup(le){const{t:a}=Q(),x=W(),{headers:i,teamId:f}=te(),_=ae(f)(),b=I([]),d=I({data:[],column:[{prop:"name",label:o(()=>a("comp.name")),align:"center"},{prop:"authorId.nickname",label:o(()=>a("common.author")),align:"center",formatter:e=>e.teamUserNickname||e.authorId?.nickname||"--"},{prop:"version",label:o(()=>a("comp.version")),align:"center"},{prop:"desc",label:o(()=>a("comp.desc")),align:"center",showOverflowTooltip:{popperClass:"table-text-tooltip"}},{prop:"createdAt",label:o(()=>a("team.createTime")),align:"center",formatter:e=>e.createdAt?M(e.createdAt).format("YYYY-MM-DD"):"--"},{prop:"updatedAt",label:o(()=>a("team.updateTime")),align:"center",formatter:e=>e.updatedAt?M(e.updatedAt).format("YYYY-MM-DD"):"--"},{slot:"canUpdateUsers",prop:"canUpdateUsers",label:o(()=>a("team.updateAuth")),align:"center"},{slot:"operation",prop:"operation",label:o(()=>a("common.operation")),align:"center"}],search:{column:[{prop:"keyword",component:ee(q),label:o(()=>a("common.keyword")),value:"",autoQuery:!1,attributes:{placeholder:o(()=>a("comp.keywordPlaceholder")),fetchSuggestions:D,triggerOnFocus:!1,style:"width: 400px",fitInputWidth:!0}}]},pagination:{total:0},fixedHeight:!1,fetchData:O}),B=o(()=>b.value.map(e=>({value:e._id,label:e.teamUserNickname||e.nickname||e.account})));function D(e,t){if(e.length<=1)return t([]);u.v1Keyword.keywordcontrollerQuerykeywordscomp({keyword:e,type:"compTeam"},{headers:i}).then(c=>{const{keywords:l=[]}=c.data||{};t(l)})}async function O(e){const t=await u.v1Team.teamcontrollerTeamcomps({...e,scene:"management"},{headers:i}),{rows:c,total:l}=t.data||{};d.value.data=c||[],d.value.pagination.total=l||0}async function N(e,t){t.start();try{if(await z.confirm(a("team.deleteCompConfirm",{name:e.name}),a("common.info"),{confirmButtonText:a("common.confirm"),cancelButtonText:a("common.cancel"),type:"warning"}).catch(()=>{})!=="confirm")return;await u.v1Team.teamcontrollerRemovecompfromteam({compIds:[e._id]},{headers:i}).then(()=>{C.success(a("message.success.delete")),d.value.data=d.value.data.filter(l=>l._id!==e._id),_.setTeamDetail({..._.teamDetail,compCount:_.teamDetail.compCount-1}),window?.umami?.track(k.TEAM_COMP_REMOVE,{teamId:f,compId:e._id,compName:e.name})})}finally{t.end()}}function S(e){x.push({path:`/previewTeam/${f}/${e._id}`})}function V(){u.v1Team.teamcontrollerAllmember({headers:i}).then(e=>{b.value=e.data?.rows||[]})}function Y(e){const t={compId:e._id,canUpdateUserIds:e.canUpdateUsers||[]};u.v1Team.teamcontrollerUpdatecompcanupdateusers(t,{headers:i}).then(()=>{C.success(a("message.success.update")),window?.umami?.track(k.TEAM_COMP_PERMISSION_CHANGE,{teamId:f,compId:e._id,userIds:t.canUpdateUserIds})})}return j(()=>{V()}),(e,t)=>{const c=F,l=H,U=R,y=$;return g(),T("div",ne,[s(p(K),{tableConfig:d.value,border:""},{canUpdateUsers:r(({col:h})=>[s(U,A(w(h)),{default:r(({row:m})=>[s(l,{modelValue:m.canUpdateUsers,"onUpdate:modelValue":n=>m.canUpdateUsers=n,multiple:"","collapse-tags":"","collapse-tags-tooltip":"",placeholder:p(a)("team.selectCanUpdateUser"),onChange:n=>Y(m)},{header:r(()=>[Z("span",re,v(p(a)("team.authorAutoAuth")),1)]),default:r(()=>[(g(!0),T(G,null,J(B.value,n=>(g(),X(c,{key:n.value,label:n.label,value:n.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","placeholder","onChange"])]),_:1},16)]),operation:r(({col:h})=>[s(U,A(w(h)),{default:r(({row:m})=>[s(y,{type:"primary",onClick:n=>S(m)},{default:r(()=>[E(v(p(a)("common.preview")),1)]),_:1},8,["onClick"]),s(p(oe),null,{default:r(({instance:n,loading:P})=>[s(y,{type:"danger",loading:P,onClick:se=>N(m,n)},{default:r(()=>[E(v(p(a)("common.delete")),1)]),_:1},8,["loading","onClick"])]),_:2},1024)]),_:1},16)]),_:1},8,["tableConfig"])])}}});export{Te as default};