hzzt-kfb-slide 0.1.6 → 0.1.7

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 (112) hide show
  1. package/dist/components/{annotatetAUvSoEJ.js → annotate49sBZsTN.js} +1 -1
  2. package/dist/components/{annotateCl71xIPH.js → annotateBl0wovIH.js} +3 -3
  3. package/dist/components/{annotateDO5M9JWn.js → annotateCIo__OqP.js} +1 -1
  4. package/dist/components/{annotateCdSQFwCj.js → annotateCjWLFBqD.js} +1 -1
  5. package/dist/components/{arrowCircleCReazPnY.js → arrowCircle7NmwbGoq.js} +1 -1
  6. package/dist/components/{arrowCircleC0Vg8mp7.js → arrowCircleCtoruF4U.js} +1 -1
  7. package/dist/components/{arrowDgJclFBQ.js → arrowCl9QJSJj.js} +1 -1
  8. package/dist/components/{arrowBPWE_Tj8.js → arrowCwovE-_Y.js} +1 -1
  9. package/dist/components/{arrowDownnqDRPbBd.js → arrowDownBXGzGuuT.js} +1 -1
  10. package/dist/components/{arrowDownBQKVy4bt.js → arrowDownDB2yvaaD.js} +1 -1
  11. package/dist/components/{arrowLeftDj6Itp4F.js → arrowLeftBXNnT5m8.js} +1 -1
  12. package/dist/components/{arrowLeftB2U1F2qZ.js → arrowLeftDvMUFF8m.js} +1 -1
  13. package/dist/components/{arrowRightDCr2AlGZ.js → arrowRightB67m-kkE.js} +1 -1
  14. package/dist/components/{arrowRightCSwKUrhN.js → arrowRightCk6ld1no.js} +1 -1
  15. package/dist/components/{arrowUpCpYvRfVO.js → arrowUpB7Uvr3R3.js} +1 -1
  16. package/dist/components/{arrowUpDgrtjFV6.js → arrowUpNinTqfQn.js} +1 -1
  17. package/dist/components/{bilateralBUw2SoJf.js → bilateralCk-KBqyO.js} +1 -1
  18. package/dist/components/{bilateralDVJhO31-.js → bilateralDOwwtLaC.js} +1 -1
  19. package/dist/components/{channelCJCVpuLF.js → channelC_7FoqpS.js} +1 -1
  20. package/dist/components/{channelCs6ZE8um.js → channelDLxoZSck.js} +1 -1
  21. package/dist/components/{checkCfXktCml.js → checkBf75347T.js} +1 -1
  22. package/dist/components/{check8TJn3_jJ.js → checkDHACKvpf.js} +1 -1
  23. package/dist/components/{configBe8-dLRN.js → configBFhzQzSB.js} +1 -1
  24. package/dist/components/{configqcWqLkt4.js → configEppCf8vn.js} +1 -1
  25. package/dist/components/{customCQCfV-gG.js → customBiBp4G-a.js} +1 -1
  26. package/dist/components/{customBrybVHZv.js → customDOKaVCSP.js} +1 -1
  27. package/dist/components/{deleteCmIU67QE.js → deleteBsNpbvks.js} +1 -1
  28. package/dist/components/{deleteBU0GP7Yy.js → deleteg7i46qXS.js} +1 -1
  29. package/dist/components/{dotCphUYVyB.js → dotBdYkwPjX.js} +1 -1
  30. package/dist/components/{dotBcJiiYty.js → dotBo1YUnne.js} +4 -4
  31. package/dist/components/{dotCvH1RlzH.js → dotDCc4P8VK.js} +1 -1
  32. package/dist/components/{dotBh_s1V_P.js → dotDHMTeCWy.js} +1 -1
  33. package/dist/components/{dotBQOp_rwi.js → dotDl1co4-R.js} +1 -1
  34. package/dist/components/{doteFPFBfAW.js → dotxqpjYIOg.js} +1 -1
  35. package/dist/components/{downloadcEXbNygZ.js → downloadBTOl5wLU.js} +1 -1
  36. package/dist/components/{downloadBI_yUCk3.js → downloadBWg9kSWm.js} +3 -3
  37. package/dist/components/{downloadXGx0oGdp.js → downloadByFGTBBN.js} +1 -1
  38. package/dist/components/{downloadCHx2b2_B.js → downloadRDk36nBB.js} +1 -1
  39. package/dist/components/{ellipseDyv6_gDz.js → ellipseCJcXMiqZ.js} +1 -1
  40. package/dist/components/{ellipseDe7HHOXa.js → ellipseDlbHI1bF.js} +1 -1
  41. package/dist/components/{expandLeftDg3adQ4T.js → expandLeftDUZANt4r.js} +1 -1
  42. package/dist/components/{expandLeftBgJbKplZ.js → expandLeftqGNGPcnT.js} +1 -1
  43. package/dist/components/{expandRightqFe_W3sR.js → expandRightBgp3TM8W.js} +1 -1
  44. package/dist/components/{expandRightdxRBWwRm.js → expandRightZuTT2JzX.js} +1 -1
  45. package/dist/components/{flagCU6uqzPN.js → flagBXkHSgl4.js} +1 -1
  46. package/dist/components/{flagDRe0SWi3.js → flagDo8DOzCK.js} +1 -1
  47. package/dist/components/{flip9lYVaLpe.js → flipBzljeFD3.js} +1 -1
  48. package/dist/components/{flipCDCxOt9y.js → flipC6DUnkBc.js} +1 -1
  49. package/dist/components/{fontd7EzPpXH.js → fontCQpNKMlS.js} +1 -1
  50. package/dist/components/{fontDkvAgbCM.js → fontD6ZBPuPA.js} +1 -1
  51. package/dist/components/{fullscreenDy4Qm4ZR.js → fullscreenB2eP643y.js} +1 -1
  52. package/dist/components/{fullscreenTdRK3tdy.js → fullscreenBFNwWrlX.js} +1 -1
  53. package/dist/components/{fullscreenCZwukv-0.js → fullscreenBV4ER73M.js} +1 -1
  54. package/dist/components/{fullscreencCCYQmz_.js → fullscreenC0tDsxrL.js} +2 -2
  55. package/dist/components/{indexDsZFgGo3.js → indexCE3et5Ds.js} +561 -557
  56. package/dist/components/indexDMPBpE5E.js +4 -0
  57. package/dist/components/{infoC1BWzO7n.js → infoDf7UtGa7.js} +1 -1
  58. package/dist/components/{infoCiA71kXk.js → infoN-pmNAmQ.js} +1 -1
  59. package/dist/components/{levelOdW6h7X2.js → levelFM1mUgOC.js} +1 -1
  60. package/dist/components/{levelDSTSikX9.js → levelXnWVI1Sf.js} +1 -1
  61. package/dist/components/{lineBSHtlWxM.js → lineC11ySKvp.js} +1 -1
  62. package/dist/components/{lineBkNX_3iO.js → lineCV1QeIV-.js} +1 -1
  63. package/dist/components/{microscopeBrBArxoj.js → microscopeC7AAF-4i.js} +1 -1
  64. package/dist/components/{microscopeBxdGVcdh.js → microscopeDPBvnBTT.js} +1 -1
  65. package/dist/components/{microscopeCE4DFA5Y.js → microscopeDREMD0aG.js} +3 -3
  66. package/dist/components/{microscopeCxL3T7-N.js → microscopeDy5_7IPr.js} +1 -1
  67. package/dist/components/{moveBRvr2sY1.js → moveBBqduqb_.js} +1 -1
  68. package/dist/components/{moveDummawTk.js → moveBbGj77c6.js} +1 -1
  69. package/dist/components/{movefwH4M5H0.js → moveC3nOX-BZ.js} +1 -1
  70. package/dist/components/{moveD15Zgiom.js → moveCxcLNPZF.js} +3 -3
  71. package/dist/components/{nextChP2Vlnb.js → nextBZI_aP7l.js} +1 -1
  72. package/dist/components/{nextBDggmoQ_.js → nextCW5Nr0zb.js} +1 -1
  73. package/dist/components/{polygonDo1Cbrt6.js → polygonDfByxGAP.js} +1 -1
  74. package/dist/components/{polygonCmzlG1iP.js → polygonhwElczJV.js} +1 -1
  75. package/dist/components/{prevbRAbQ3BR.js → prevBujNxx9W.js} +1 -1
  76. package/dist/components/{prevmE7bILKU.js → prevD-Jb2BK5.js} +1 -1
  77. package/dist/components/{processDzM4HfLm.js → processBKw5BJun.js} +3 -3
  78. package/dist/components/{processBUGF5YEC.js → processDIYQWbpe.js} +1 -1
  79. package/dist/components/{processD9HeCeP-.js → processITdbah9T.js} +1 -1
  80. package/dist/components/{processCVbgqqwQ.js → processW2UX8zWN.js} +1 -1
  81. package/dist/components/{rectangleDOV_C_Ja.js → rectangleCD3zrJ4b.js} +1 -1
  82. package/dist/components/{rectangleBK-f_GHa.js → rectangleDINuKV3e.js} +1 -1
  83. package/dist/components/{rotateB_h0GOmZ.js → rotateBK0g10v7.js} +4 -4
  84. package/dist/components/{rotateBcLjWjrA.js → rotateCk4r5sz0.js} +1 -1
  85. package/dist/components/{rotateCmFZEZx8.js → rotateDW3tCSd4.js} +1 -1
  86. package/dist/components/{rotateT_e50-cB.js → rotateDaRh7p8x.js} +1 -1
  87. package/dist/components/{settingjTUOI6Mm.js → settingBtYNTDMk.js} +3 -3
  88. package/dist/components/{settingBfLQ5p0p.js → settingCy068wtb.js} +1 -1
  89. package/dist/components/{settingCVD1ckI-.js → settingCygsrWwb.js} +1 -1
  90. package/dist/components/{setting8hsjZ-e4.js → settingjrS0Yyzz.js} +1 -1
  91. package/dist/components/{starDlznUFWe.js → starCRDtIUga.js} +1 -1
  92. package/dist/components/{starBYNGaEpq.js → starDAzMV8hm.js} +1 -1
  93. package/dist/components/{tailorDNalOD3B.js → tailorCMHyqgqY.js} +1 -1
  94. package/dist/components/{tailorIp9ltUDh.js → tailorCW1DpWxU.js} +1 -1
  95. package/dist/components/{useCommonQuWXQYVy.js → useCommonDwOO5Nl8.js} +1 -1
  96. package/dist/components/{useCommonIatIQYgz.js → useCommonDx4AkPn-.js} +1 -1
  97. package/dist/components/{voiceDLOYP8uT.js → voiceB3kLmI5d.js} +1 -1
  98. package/dist/components/{voiceCEHlUUHi.js → voiceClKUyNoj.js} +1 -1
  99. package/dist/components/{zoomDDgUA7UY.js → zoom1wzOC8Jb.js} +1 -1
  100. package/dist/components/{zoomCfjxf2fA.js → zoomCvUZgCsd.js} +1 -1
  101. package/dist/components/{zoomInCT6fL7B4.js → zoomInBPFfWRlG.js} +1 -1
  102. package/dist/components/{zoomInfc0fWGjY.js → zoomInNKDi_J_z.js} +1 -1
  103. package/dist/components/{zoomOutCCyBnDpt.js → zoomOutBzM3kBTI.js} +1 -1
  104. package/dist/components/{zoomOutCHMkqZ20.js → zoomOutC5HvL9tr.js} +1 -1
  105. package/dist/index.cjs.js +1 -1
  106. package/dist/index.css +1 -1
  107. package/dist/index.es.js +1 -1
  108. package/package.json +1 -1
  109. package/types/components/KfbView/KfbLabel.vue.d.ts +1 -0
  110. package/types/components/KfbView/index.d.ts +1 -0
  111. package/web-types.json +1 -1
  112. package/dist/components/indexBT0pDXGv.js +0 -4
@@ -26,9 +26,9 @@ var $e = (u, e, l) => new Promise((t, y) => {
26
26
  }, s = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(v, r);
27
27
  s((l = l.apply(u, e)).next());
28
28
  });
29
- import { inject as Z, ref as T, markRaw as S, defineAsyncComponent as M, defineComponent as J, createBlock as H, openBlock as w, unref as a, normalizeProps as ll, guardReactiveProps as ol, withCtx as x, resolveDynamicComponent as Ve, useModel as Be, computed as N, createElementBlock as L, createElementVNode as k, createVNode as C, toDisplayString as E, Fragment as oe, renderList as ae, isRef as pe, createTextVNode as K, watch as ee, h as al, renderSlot as fe, mergeProps as Oe, createCommentVNode as R, reactive as rt, onMounted as he, onBeforeUnmount as Ie, normalizeStyle as q, mergeDefaults as nl, withDirectives as Le, vShow as Ae, getCurrentInstance as sl, mergeModels as be, normalizeClass as ke, useCssVars as il, provide as de, Teleport as je, withModifiers as Fe } from "vue";
30
- import { ElIcon as ze, ElRow as rl, ElCol as ul, ElSwitch as Ee, ElRadioGroup as ot, ElRadio as Te, ElDialog as Ge, ElForm as nt, ElFormItem as ie, ElInput as at, ElButton as _e, ElMessage as xt, ElLoading as Et, ElSlider as cl, ElTag as Vt, ElCheckbox as We, ElTooltip as Lt, ElPopover as dl, ElCheckboxGroup as vl, ElPagination as fl } from "element-plus";
31
- import { KfbView as ve, OpenSeadragon as xe } from "kfb-view";
29
+ import { inject as Z, ref as T, markRaw as S, defineAsyncComponent as M, defineComponent as J, createBlock as H, openBlock as w, unref as o, normalizeProps as ll, guardReactiveProps as ol, withCtx as L, resolveDynamicComponent as Ve, useModel as Be, computed as N, createElementBlock as x, createElementVNode as k, createVNode as C, toDisplayString as E, Fragment as oe, renderList as ae, isRef as pe, createTextVNode as K, watch as ee, h as al, renderSlot as fe, mergeProps as Oe, createCommentVNode as R, reactive as rt, onMounted as he, onBeforeUnmount as Ie, normalizeStyle as q, mergeDefaults as nl, withDirectives as xe, vShow as Ae, getCurrentInstance as sl, mergeModels as be, normalizeClass as ke, useCssVars as il, provide as de, Teleport as je, withModifiers as Fe } from "vue";
30
+ import { ElIcon as ze, ElRow as rl, ElCol as ul, ElSwitch as Ee, ElRadioGroup as ot, ElRadio as Te, ElDialog as Ge, ElForm as nt, ElFormItem as ie, ElInput as at, ElButton as _e, ElMessage as Lt, ElLoading as Et, ElSlider as cl, ElTag as Vt, ElCheckbox as We, ElTooltip as xt, ElPopover as dl, ElCheckboxGroup as vl, ElPagination as fl } from "element-plus";
31
+ import { KfbView as ve, OpenSeadragon as Le } from "kfb-view";
32
32
  import ml from "v-lazy-image";
33
33
  const It = Symbol("I18N_INJECT_KEY");
34
34
  function ue() {
@@ -43,45 +43,45 @@ const pl = {
43
43
  u.provide(It, e == null ? void 0 : e.global);
44
44
  }
45
45
  }, G = T({
46
- annotate: S(M(() => import("./annotateCdSQFwCj.js"))),
47
- arrowCircle: S(M(() => import("./arrowCircleCReazPnY.js"))),
48
- check: S(M(() => import("./check8TJn3_jJ.js"))),
49
- dot: S(M(() => import("./dotCphUYVyB.js"))),
50
- flip: S(M(() => import("./flip9lYVaLpe.js"))),
51
- info: S(M(() => import("./infoC1BWzO7n.js"))),
52
- microscope: S(M(() => import("./microscopeBrBArxoj.js"))),
53
- move: S(M(() => import("./moveDummawTk.js"))),
54
- next: S(M(() => import("./nextBDggmoQ_.js"))),
55
- prev: S(M(() => import("./prevbRAbQ3BR.js"))),
56
- process: S(M(() => import("./processD9HeCeP-.js"))),
57
- rotate: S(M(() => import("./rotateT_e50-cB.js"))),
58
- fullscreen: S(M(() => import("./fullscreenDy4Qm4ZR.js"))),
59
- setting: S(M(() => import("./settingCVD1ckI-.js"))),
60
- tailor: S(M(() => import("./tailorDNalOD3B.js"))),
61
- download: S(M(() => import("./downloadCHx2b2_B.js"))),
62
- config: S(M(() => import("./configBe8-dLRN.js"))),
63
- arrowDown: S(M(() => import("./arrowDownnqDRPbBd.js"))),
64
- arrowUp: S(M(() => import("./arrowUpCpYvRfVO.js"))),
65
- arrowLeft: S(M(() => import("./arrowLeftDj6Itp4F.js"))),
66
- arrowRight: S(M(() => import("./arrowRightDCr2AlGZ.js"))),
67
- zoomIn: S(M(() => import("./zoomInCT6fL7B4.js"))),
68
- zoomOut: S(M(() => import("./zoomOutCCyBnDpt.js"))),
69
- level: S(M(() => import("./levelDSTSikX9.js"))),
70
- channel: S(M(() => import("./channelCJCVpuLF.js"))),
71
- delete: S(M(() => import("./deleteBU0GP7Yy.js"))),
72
- expandLeft: S(M(() => import("./expandLeftDg3adQ4T.js"))),
73
- expandRight: S(M(() => import("./expandRightdxRBWwRm.js"))),
74
- markLine: S(M(() => import("./lineBkNX_3iO.js"))),
75
- markArrow: S(M(() => import("./arrowDgJclFBQ.js"))),
76
- markBilateral: S(M(() => import("./bilateralBUw2SoJf.js"))),
77
- markRectangle: S(M(() => import("./rectangleDOV_C_Ja.js"))),
78
- markEllipse: S(M(() => import("./ellipseDyv6_gDz.js"))),
79
- markPolygon: S(M(() => import("./polygonDo1Cbrt6.js"))),
80
- markFlag: S(M(() => import("./flagDRe0SWi3.js"))),
81
- markStar: S(M(() => import("./starBYNGaEpq.js"))),
82
- markDot: S(M(() => import("./dotBh_s1V_P.js"))),
83
- markFont: S(M(() => import("./fontd7EzPpXH.js"))),
84
- markVoice: S(M(() => import("./voiceDLOYP8uT.js")))
46
+ annotate: S(M(() => import("./annotateCjWLFBqD.js"))),
47
+ arrowCircle: S(M(() => import("./arrowCircle7NmwbGoq.js"))),
48
+ check: S(M(() => import("./checkDHACKvpf.js"))),
49
+ dot: S(M(() => import("./dotBdYkwPjX.js"))),
50
+ flip: S(M(() => import("./flipBzljeFD3.js"))),
51
+ info: S(M(() => import("./infoDf7UtGa7.js"))),
52
+ microscope: S(M(() => import("./microscopeC7AAF-4i.js"))),
53
+ move: S(M(() => import("./moveBbGj77c6.js"))),
54
+ next: S(M(() => import("./nextCW5Nr0zb.js"))),
55
+ prev: S(M(() => import("./prevBujNxx9W.js"))),
56
+ process: S(M(() => import("./processITdbah9T.js"))),
57
+ rotate: S(M(() => import("./rotateDaRh7p8x.js"))),
58
+ fullscreen: S(M(() => import("./fullscreenB2eP643y.js"))),
59
+ setting: S(M(() => import("./settingCygsrWwb.js"))),
60
+ tailor: S(M(() => import("./tailorCMHyqgqY.js"))),
61
+ download: S(M(() => import("./downloadRDk36nBB.js"))),
62
+ config: S(M(() => import("./configBFhzQzSB.js"))),
63
+ arrowDown: S(M(() => import("./arrowDownBXGzGuuT.js"))),
64
+ arrowUp: S(M(() => import("./arrowUpB7Uvr3R3.js"))),
65
+ arrowLeft: S(M(() => import("./arrowLeftBXNnT5m8.js"))),
66
+ arrowRight: S(M(() => import("./arrowRightB67m-kkE.js"))),
67
+ zoomIn: S(M(() => import("./zoomInBPFfWRlG.js"))),
68
+ zoomOut: S(M(() => import("./zoomOutBzM3kBTI.js"))),
69
+ level: S(M(() => import("./levelXnWVI1Sf.js"))),
70
+ channel: S(M(() => import("./channelC_7FoqpS.js"))),
71
+ delete: S(M(() => import("./deleteg7i46qXS.js"))),
72
+ expandLeft: S(M(() => import("./expandLeftDUZANt4r.js"))),
73
+ expandRight: S(M(() => import("./expandRightZuTT2JzX.js"))),
74
+ markLine: S(M(() => import("./lineCV1QeIV-.js"))),
75
+ markArrow: S(M(() => import("./arrowCl9QJSJj.js"))),
76
+ markBilateral: S(M(() => import("./bilateralCk-KBqyO.js"))),
77
+ markRectangle: S(M(() => import("./rectangleCD3zrJ4b.js"))),
78
+ markEllipse: S(M(() => import("./ellipseCJcXMiqZ.js"))),
79
+ markPolygon: S(M(() => import("./polygonDfByxGAP.js"))),
80
+ markFlag: S(M(() => import("./flagDo8DOzCK.js"))),
81
+ markStar: S(M(() => import("./starDAzMV8hm.js"))),
82
+ markDot: S(M(() => import("./dotDHMTeCWy.js"))),
83
+ markFont: S(M(() => import("./fontCQpNKMlS.js"))),
84
+ markVoice: S(M(() => import("./voiceB3kLmI5d.js")))
85
85
  }), Q = /* @__PURE__ */ J({
86
86
  __name: "KfbIcon",
87
87
  props: {
@@ -91,9 +91,9 @@ const pl = {
91
91
  }
92
92
  },
93
93
  setup(u) {
94
- return (e, l) => (w(), H(a(ze), ll(ol(e.$attrs)), {
95
- default: x(() => [
96
- (w(), H(Ve(a(G)[u.name])))
94
+ return (e, l) => (w(), H(o(ze), ll(ol(e.$attrs)), {
95
+ default: L(() => [
96
+ (w(), H(Ve(o(G)[u.name])))
97
97
  ]),
98
98
  _: 1
99
99
  }, 16));
@@ -104,10 +104,10 @@ const pl = {
104
104
  }, Cl = { class: "flex align-items-center" }, $l = {
105
105
  class: "margin-t-2 margin-b-2",
106
106
  style: { width: "160px" }
107
- }, Tl = { class: "flex align-items-center" }, xl = {
107
+ }, Tl = { class: "flex align-items-center" }, Ll = {
108
108
  class: "margin-t-2 margin-b-2",
109
109
  style: { width: "160px" }
110
- }, Ll = /* @__PURE__ */ J({
110
+ }, xl = /* @__PURE__ */ J({
111
111
  name: "KfbToolConfig",
112
112
  __name: "KfbToolConfig",
113
113
  props: {
@@ -138,23 +138,23 @@ const pl = {
138
138
  return h in y;
139
139
  }
140
140
  function _(h) {
141
- var o;
142
- return ((o = h.props) == null ? void 0 : o.text) || (m(h.name) ? y[h.name] : "");
143
- }
144
- return (h, o) => (w(), L("div", hl, [
145
- k("h3", gl, E(a(l)("显示管理")), 1),
146
- C(a(rl), { gutter: 10 }, {
147
- default: x(() => [
148
- (w(!0), L(oe, null, ae(t.value, (d) => (w(), H(a(ul), {
141
+ var n;
142
+ return ((n = h.props) == null ? void 0 : n.text) || (m(h.name) ? y[h.name] : "");
143
+ }
144
+ return (h, n) => (w(), x("div", hl, [
145
+ k("h3", gl, E(o(l)("显示管理")), 1),
146
+ C(o(rl), { gutter: 10 }, {
147
+ default: L(() => [
148
+ (w(!0), x(oe, null, ae(t.value, (d) => (w(), H(o(ul), {
149
149
  key: d.name,
150
150
  span: 8
151
151
  }, {
152
- default: x(() => {
153
- var c, n;
152
+ default: L(() => {
153
+ var c, a;
154
154
  return [
155
155
  k("div", yl, [
156
156
  k("div", wl, [
157
- (c = d.props) != null && c.component ? (w(), H(Ve((n = d.props) == null ? void 0 : n.component), {
157
+ (c = d.props) != null && c.component ? (w(), H(Ve((a = d.props) == null ? void 0 : a.component), {
158
158
  key: 1,
159
159
  size: 24
160
160
  })) : (w(), H(Q, {
@@ -164,7 +164,7 @@ const pl = {
164
164
  }, null, 8, ["name"]))
165
165
  ]),
166
166
  k("p", _l, E(_(d)), 1),
167
- C(a(Ee), {
167
+ C(o(Ee), {
168
168
  modelValue: d.show,
169
169
  "onUpdate:modelValue": (f) => d.show = f,
170
170
  "active-text": "",
@@ -179,23 +179,23 @@ const pl = {
179
179
  _: 1
180
180
  }),
181
181
  k("div", null, [
182
- k("h3", bl, E(a(l)("其他设置")), 1),
182
+ k("h3", bl, E(o(l)("其他设置")), 1),
183
183
  k("div", kl, [
184
- k("p", zl, E(a(l)("工具列表显示切换")), 1),
185
- C(a(ot), {
186
- modelValue: a(s),
187
- "onUpdate:modelValue": o[0] || (o[0] = (d) => pe(s) ? s.value = d : null)
184
+ k("p", zl, E(o(l)("工具列表显示切换")), 1),
185
+ C(o(ot), {
186
+ modelValue: o(s),
187
+ "onUpdate:modelValue": n[0] || (n[0] = (d) => pe(s) ? s.value = d : null)
188
188
  }, {
189
- default: x(() => [
190
- C(a(Te), { value: !0 }, {
191
- default: x(() => [
192
- K(E(a(l)("显示工具名称")), 1)
189
+ default: L(() => [
190
+ C(o(Te), { value: !0 }, {
191
+ default: L(() => [
192
+ K(E(o(l)("显示工具名称")), 1)
193
193
  ]),
194
194
  _: 1
195
195
  }),
196
- C(a(Te), { value: !1 }, {
197
- default: x(() => [
198
- K(E(a(l)("隐藏工具名称")), 1)
196
+ C(o(Te), { value: !1 }, {
197
+ default: L(() => [
198
+ K(E(o(l)("隐藏工具名称")), 1)
199
199
  ]),
200
200
  _: 1
201
201
  })
@@ -204,21 +204,21 @@ const pl = {
204
204
  }, 8, ["modelValue"])
205
205
  ]),
206
206
  k("div", Cl, [
207
- k("p", $l, E(a(l)("小键盘显示切换")), 1),
208
- C(a(ot), {
209
- modelValue: a(v),
210
- "onUpdate:modelValue": o[1] || (o[1] = (d) => pe(v) ? v.value = d : null)
207
+ k("p", $l, E(o(l)("小键盘显示切换")), 1),
208
+ C(o(ot), {
209
+ modelValue: o(v),
210
+ "onUpdate:modelValue": n[1] || (n[1] = (d) => pe(v) ? v.value = d : null)
211
211
  }, {
212
- default: x(() => [
213
- C(a(Te), { value: !0 }, {
214
- default: x(() => [
215
- K(E(a(l)("显示小键盘")), 1)
212
+ default: L(() => [
213
+ C(o(Te), { value: !0 }, {
214
+ default: L(() => [
215
+ K(E(o(l)("显示小键盘")), 1)
216
216
  ]),
217
217
  _: 1
218
218
  }),
219
- C(a(Te), { value: !1 }, {
220
- default: x(() => [
221
- K(E(a(l)("隐藏小键盘")), 1)
219
+ C(o(Te), { value: !1 }, {
220
+ default: L(() => [
221
+ K(E(o(l)("隐藏小键盘")), 1)
222
222
  ]),
223
223
  _: 1
224
224
  })
@@ -227,21 +227,21 @@ const pl = {
227
227
  }, 8, ["modelValue"])
228
228
  ]),
229
229
  k("div", Tl, [
230
- k("p", xl, E(a(l)("水印文字")), 1),
231
- C(a(ot), {
232
- modelValue: a(r),
233
- "onUpdate:modelValue": o[2] || (o[2] = (d) => pe(r) ? r.value = d : null)
230
+ k("p", Ll, E(o(l)("水印文字")), 1),
231
+ C(o(ot), {
232
+ modelValue: o(r),
233
+ "onUpdate:modelValue": n[2] || (n[2] = (d) => pe(r) ? r.value = d : null)
234
234
  }, {
235
- default: x(() => [
236
- C(a(Te), { value: !0 }, {
237
- default: x(() => [
238
- K(E(a(l)("启用")), 1)
235
+ default: L(() => [
236
+ C(o(Te), { value: !0 }, {
237
+ default: L(() => [
238
+ K(E(o(l)("启用")), 1)
239
239
  ]),
240
240
  _: 1
241
241
  }),
242
- C(a(Te), { value: !1 }, {
243
- default: x(() => [
244
- K(E(a(l)("禁用")), 1)
242
+ C(o(Te), { value: !1 }, {
243
+ default: L(() => [
244
+ K(E(o(l)("禁用")), 1)
245
245
  ]),
246
246
  _: 1
247
247
  })
@@ -270,119 +270,119 @@ const pl = {
270
270
  info: y("信息"),
271
271
  flip: y("镜像"),
272
272
  tailor: y("截图")
273
- }, r = Z("kfbViewRef"), s = T(!1), m = T(o(l.menu)), _ = {
274
- fullscreen: M(() => import("./fullscreencCCYQmz_.js")),
273
+ }, r = Z("kfbViewRef"), s = T(!1), m = T(n(l.menu)), _ = {
274
+ fullscreen: M(() => import("./fullscreenC0tDsxrL.js")),
275
275
  line: M(() => import("./lineBNwqZbqu.js")),
276
- setting: M(() => import("./settingjTUOI6Mm.js")),
277
- rotate: M(() => import("./rotateB_h0GOmZ.js")),
278
- dot: M(() => import("./dotBcJiiYty.js")),
279
- annotate: M(() => import("./annotateCl71xIPH.js")),
280
- process: M(() => import("./processDzM4HfLm.js")),
281
- microscope: M(() => import("./microscopeCE4DFA5Y.js")),
282
- move: M(() => import("./moveD15Zgiom.js")),
283
- custom: M(() => import("./customCQCfV-gG.js")),
284
- zoom: M(() => import("./zoomCfjxf2fA.js")),
285
- download: M(() => import("./downloadBI_yUCk3.js"))
276
+ setting: M(() => import("./settingBtYNTDMk.js")),
277
+ rotate: M(() => import("./rotateBK0g10v7.js")),
278
+ dot: M(() => import("./dotBo1YUnne.js")),
279
+ annotate: M(() => import("./annotateBl0wovIH.js")),
280
+ process: M(() => import("./processBKw5BJun.js")),
281
+ microscope: M(() => import("./microscopeDREMD0aG.js")),
282
+ move: M(() => import("./moveCxcLNPZF.js")),
283
+ custom: M(() => import("./customBiBp4G-a.js")),
284
+ zoom: M(() => import("./zoomCvUZgCsd.js")),
285
+ download: M(() => import("./downloadBWg9kSWm.js"))
286
286
  }, h = N(() => m.value.filter((c) => c.show !== !1).map((c) => ({
287
287
  component: _[c.name],
288
288
  props: c.props,
289
289
  slots: c.slots
290
290
  })));
291
291
  ee(() => l.menu, (c) => {
292
- m.value = o(c);
292
+ m.value = n(c);
293
293
  });
294
- function o(c) {
295
- return c.map((n) => {
296
- const f = typeof n == "string" ? n : n.name;
294
+ function n(c) {
295
+ return c.map((a) => {
296
+ const f = typeof a == "string" ? a : a.name;
297
297
  return v[f] ? {
298
298
  name: "custom",
299
- show: typeof n == "string" ? !0 : n.show !== !1,
299
+ show: typeof a == "string" ? !0 : a.show !== !1,
300
300
  props: we(W({
301
301
  text: v[f],
302
302
  component: al(Q, {
303
303
  name: f
304
304
  })
305
- }, typeof n == "string" ? {} : n.props), {
305
+ }, typeof a == "string" ? {} : a.props), {
306
306
  name: f
307
307
  })
308
308
  } : f === "process" ? {
309
309
  name: f,
310
- props: typeof n == "string" ? {
310
+ props: typeof a == "string" ? {
311
311
  process: l.process
312
312
  } : W({
313
313
  process: l.process
314
- }, n.props),
315
- slots: typeof n == "string" ? void 0 : n.slots,
316
- show: typeof n == "string" ? !0 : n.show !== !1
314
+ }, a.props),
315
+ slots: typeof a == "string" ? void 0 : a.slots,
316
+ show: typeof a == "string" ? !0 : a.show !== !1
317
317
  } : f === "microscope" ? {
318
318
  name: f,
319
- props: typeof n == "string" ? {
319
+ props: typeof a == "string" ? {
320
320
  process: l.process
321
321
  } : W({
322
322
  microscope: l.microscope
323
- }, n.props),
324
- slots: typeof n == "string" ? void 0 : n.slots,
325
- show: typeof n == "string" ? !0 : n.show !== !1
323
+ }, a.props),
324
+ slots: typeof a == "string" ? void 0 : a.slots,
325
+ show: typeof a == "string" ? !0 : a.show !== !1
326
326
  } : {
327
327
  name: f,
328
- props: typeof n == "string" ? {} : n.props,
329
- slots: typeof n == "string" ? void 0 : n.slots,
330
- show: typeof n == "string" ? !0 : n.show !== !1
328
+ props: typeof a == "string" ? {} : a.props,
329
+ slots: typeof a == "string" ? void 0 : a.slots,
330
+ show: typeof a == "string" ? !0 : a.show !== !1
331
331
  };
332
332
  });
333
333
  }
334
- function d(c, n) {
334
+ function d(c, a) {
335
335
  const f = {
336
- annotate: () => r.value.startDraw(n),
337
- tailor: () => r.value.shotScreen(n),
338
- process: () => r.value.forceRedraw(n),
339
- microscope: () => r.value.scopeChange(n),
340
- move: () => r.value.fastMove(n),
336
+ annotate: () => r.value.startDraw(a),
337
+ tailor: () => r.value.shotScreen(a),
338
+ process: () => r.value.forceRedraw(a),
339
+ microscope: () => r.value.scopeChange(a),
340
+ move: () => r.value.fastMove(a),
341
341
  endDraw: () => r.value.endDraw(),
342
342
  info: () => r.value.info(),
343
- zoom: () => r.value.zoomTo(n),
344
- flip: () => r.value.toggleFlip(n),
343
+ zoom: () => r.value.zoomTo(a),
344
+ flip: () => r.value.toggleFlip(a),
345
345
  config: () => s.value = !0,
346
- grid: () => r.value.updateGrid(n),
347
- ruler: () => r.value.updateGrid(n),
348
- graduation: () => r.value.updateGraduation(n),
349
- navigator: () => r.value.updateNavigator(n),
346
+ grid: () => r.value.updateGrid(a),
347
+ ruler: () => r.value.updateGrid(a),
348
+ graduation: () => r.value.updateGraduation(a),
349
+ navigator: () => r.value.updateNavigator(a),
350
350
  tool: () => {
351
351
  r.value.updateGrid({
352
- show: n
352
+ show: a
353
353
  }), r.value.updateGraduation({
354
- show: n
354
+ show: a
355
355
  }), r.value.updateGrid({
356
- ruler: n
357
- }), r.value.updateNavigator(n);
356
+ ruler: a
357
+ }), r.value.updateNavigator(a);
358
358
  }
359
359
  };
360
- f[c] ? f[c]() : t("tool", c, n);
360
+ f[c] ? f[c]() : t("tool", c, a);
361
361
  }
362
- return (c, n) => (w(), L("div", El, [
362
+ return (c, a) => (w(), x("div", El, [
363
363
  fe(c.$slots, "left"),
364
364
  k("div", Vl, [
365
- (w(!0), L(oe, null, ae(h.value, (f, b) => (w(), H(Ve(f.component), Oe({ ref_for: !0 }, f.props, {
365
+ (w(!0), x(oe, null, ae(h.value, (f, b) => (w(), H(Ve(f.component), Oe({ ref_for: !0 }, f.props, {
366
366
  key: b,
367
367
  onTool: d
368
368
  }), {
369
- default: x(() => [
370
- f.slots ? (w(!0), L(oe, { key: 0 }, ae(f.slots, (g) => (w(), H(Ve(g)))), 256)) : R("", !0)
369
+ default: L(() => [
370
+ f.slots ? (w(!0), x(oe, { key: 0 }, ae(f.slots, (g) => (w(), H(Ve(g)))), 256)) : R("", !0)
371
371
  ]),
372
372
  _: 2
373
373
  }, 1040))), 128))
374
374
  ]),
375
375
  fe(c.$slots, "right"),
376
- C(a(Ge), {
376
+ C(o(Ge), {
377
377
  modelValue: s.value,
378
- "onUpdate:modelValue": n[1] || (n[1] = (f) => s.value = f),
378
+ "onUpdate:modelValue": a[1] || (a[1] = (f) => s.value = f),
379
379
  width: "800px",
380
- title: a(y)("阅片工具设置中心")
380
+ title: o(y)("阅片工具设置中心")
381
381
  }, {
382
- default: x(() => [
383
- C(Ll, {
382
+ default: L(() => [
383
+ C(xl, {
384
384
  menus: m.value,
385
- "onUpdate:menus": n[0] || (n[0] = (f) => m.value = f)
385
+ "onUpdate:menus": a[0] || (a[0] = (f) => m.value = f)
386
386
  }, null, 8, ["menus"])
387
387
  ]),
388
388
  _: 1
@@ -464,10 +464,10 @@ function Ml(u, e) {
464
464
  (c = (d = m[0]) == null ? void 0 : d.match(/:(.*?);/)) == null || c[1];
465
465
  const _ = atob(m == null ? void 0 : m[1]);
466
466
  let h = _.length;
467
- const o = new Uint8Array(h);
467
+ const n = new Uint8Array(h);
468
468
  for (; h--; )
469
- o[h] = _.charCodeAt(h);
470
- return new Blob([o], { type: s });
469
+ n[h] = _.charCodeAt(h);
470
+ return new Blob([n], { type: s });
471
471
  }
472
472
  function v(r) {
473
473
  const { width: s, height: m } = e.value.$options;
@@ -581,12 +581,12 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
581
581
  icon: G.value.markVoice
582
582
  }
583
583
  ], _ = N(() => {
584
- var n;
584
+ var a;
585
585
  return y != null && y.value ? [{
586
586
  label: s("删除"),
587
587
  value: "delete",
588
588
  icon: G.value.delete
589
- }] : (n = v.menus) != null && n.length ? v.menus.map((f) => f.value === "annotate" ? we(W({}, f), {
589
+ }] : (a = v.menus) != null && a.length ? v.menus.map((f) => f.value === "annotate" ? we(W({}, f), {
590
590
  children: m
591
591
  }) : we(W({}, f), {
592
592
  icon: f.icon || G.value[f.value]
@@ -626,39 +626,39 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
626
626
  }
627
627
  ];
628
628
  });
629
- ee(() => t.value, (n, f) => {
630
- f != null && f.viewer && (f.viewer.removeHandler("canvas-contextmenu", h), f.viewer.removeHandler("canvas-click", o)), n != null && n.viewer && (n.viewer.addHandler("canvas-contextmenu", h), n.viewer.addHandler("canvas-click", o));
629
+ ee(() => t.value, (a, f) => {
630
+ f != null && f.viewer && (f.viewer.removeHandler("canvas-contextmenu", h), f.viewer.removeHandler("canvas-click", n)), a != null && a.viewer && (a.viewer.addHandler("canvas-contextmenu", h), a.viewer.addHandler("canvas-click", n));
631
631
  }), he(() => {
632
- var n;
633
- (n = t.value) != null && n.viewer && (t.value.viewer.addHandler("canvas-contextmenu", h), t.value.viewer.addHandler("canvas-click", o)), document.body.addEventListener("click", o);
632
+ var a;
633
+ (a = t.value) != null && a.viewer && (t.value.viewer.addHandler("canvas-contextmenu", h), t.value.viewer.addHandler("canvas-click", n)), document.body.addEventListener("click", n);
634
634
  }), Ie(() => {
635
- var n;
636
- (n = t.value) != null && n.viewer && (t.value.viewer.removeHandler("canvas-contextmenu", h), t.value.viewer.removeHandler("canvas-click", o)), document.body.removeEventListener("click", o);
635
+ var a;
636
+ (a = t.value) != null && a.viewer && (t.value.viewer.removeHandler("canvas-contextmenu", h), t.value.viewer.removeHandler("canvas-click", n)), document.body.removeEventListener("click", n);
637
637
  });
638
- function h(n) {
639
- n.preventDefault = !0, l.value.top = `${n.position.y}px`, l.value.left = `${n.position.x}px`, l.value.display === "block" ? l.value.display = "none" : l.value.display = "block";
638
+ function h(a) {
639
+ a.preventDefault = !0, l.value.top = `${a.position.y}px`, l.value.left = `${a.position.x}px`, l.value.display === "block" ? l.value.display = "none" : l.value.display = "block";
640
640
  }
641
- function o() {
641
+ function n() {
642
642
  l.value.display = "none";
643
643
  }
644
- function d(n, f) {
645
- n.children || ((f == null ? void 0 : f.value) === "annotate" ? r("tool", "annotate", {
646
- tool: n.value.substring(0, 1).toLocaleUpperCase() + n.value.substring(1),
644
+ function d(a, f) {
645
+ a.children || ((f == null ? void 0 : f.value) === "annotate" ? r("tool", "annotate", {
646
+ tool: a.value.substring(0, 1).toLocaleUpperCase() + a.value.substring(1),
647
647
  once: !0
648
- }) : n.value === "tailor_now" ? r("tool", "tailor", !0) : r("tool", n.value), o());
648
+ }) : a.value === "tailor_now" ? r("tool", "tailor", !0) : r("tool", a.value), n());
649
649
  }
650
- function c(n) {
651
- return n == null || typeof n != "object" && typeof n != "function" ? !1 : (
650
+ function c(a) {
651
+ return a == null || typeof a != "object" && typeof a != "function" ? !1 : (
652
652
  // 函数式组件
653
- typeof n == "function" || // 对象式组件
654
- "render" in n || "setup" in n
653
+ typeof a == "function" || // 对象式组件
654
+ "render" in a || "setup" in a
655
655
  );
656
656
  }
657
- return (n, f) => (w(), L("div", {
657
+ return (a, f) => (w(), x("div", {
658
658
  class: "hzzt-kfb-menu",
659
659
  style: q(l.value)
660
660
  }, [
661
- (w(!0), L(oe, null, ae(_.value, (b, g) => (w(), L("div", {
661
+ (w(!0), x(oe, null, ae(_.value, (b, g) => (w(), x("div", {
662
662
  key: g,
663
663
  class: "hzzt-kfb-menu-item"
664
664
  }, [
@@ -666,21 +666,21 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
666
666
  class: "flex align-items-center",
667
667
  onClick: (p) => d(b)
668
668
  }, [
669
- c(b.icon) ? (w(), H(a(ze), {
669
+ c(b.icon) ? (w(), H(o(ze), {
670
670
  key: 0,
671
671
  class: "margin-r-3",
672
672
  size: 18
673
673
  }, {
674
- default: x(() => [
674
+ default: L(() => [
675
675
  (w(), H(Ve(b.icon)))
676
676
  ]),
677
677
  _: 2
678
- }, 1024)) : b.icon ? (w(), L("img", {
678
+ }, 1024)) : b.icon ? (w(), x("img", {
679
679
  key: 1,
680
680
  style: { width: "18px" },
681
681
  class: "margin-r-2",
682
682
  src: b.icon
683
- }, null, 8, Hl)) : (w(), L("div", Pl)),
683
+ }, null, 8, Hl)) : (w(), x("div", Pl)),
684
684
  k("span", null, E(b.label), 1)
685
685
  ], 8, Sl),
686
686
  b.children ? (w(), H(Q, {
@@ -689,28 +689,28 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
689
689
  class: "margin-r-2",
690
690
  size: 14
691
691
  })) : R("", !0),
692
- b.children ? (w(), L("div", Rl, [
693
- (w(!0), L(oe, null, ae(b.children, (p, i) => (w(), L("div", {
692
+ b.children ? (w(), x("div", Rl, [
693
+ (w(!0), x(oe, null, ae(b.children, (p, i) => (w(), x("div", {
694
694
  key: i,
695
695
  class: "hzzt-kfb-menu-item",
696
696
  onClick: (I) => d(p, b)
697
697
  }, [
698
698
  k("div", Nl, [
699
- c(p.icon) ? (w(), H(a(ze), {
699
+ c(p.icon) ? (w(), H(o(ze), {
700
700
  key: 0,
701
701
  class: "margin-r-2",
702
702
  size: 18
703
703
  }, {
704
- default: x(() => [
704
+ default: L(() => [
705
705
  (w(), H(Ve(p.icon)))
706
706
  ]),
707
707
  _: 2
708
- }, 1024)) : p.icon ? (w(), L("img", {
708
+ }, 1024)) : p.icon ? (w(), x("img", {
709
709
  key: 1,
710
710
  style: { width: "18px" },
711
711
  class: "margin-r-2",
712
712
  src: p.icon
713
- }, null, 8, Bl)) : (w(), L("div", Dl)),
713
+ }, null, 8, Bl)) : (w(), x("div", Dl)),
714
714
  k("span", null, E(p.label), 1)
715
715
  ])
716
716
  ], 8, Al))), 128))
@@ -736,8 +736,8 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
736
736
  }, W({}, st)),
737
737
  setup(u, { expose: e }) {
738
738
  const l = u, t = rt(W(W({}, st), l));
739
- ee(() => l, (o) => {
740
- h({ name: "change", value: o });
739
+ ee(() => l, (n) => {
740
+ h({ name: "change", value: n });
741
741
  });
742
742
  const y = T("200px"), v = T(!1), r = N(() => ({
743
743
  borderRadius: t.shape,
@@ -746,28 +746,28 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
746
746
  width: y.value,
747
747
  height: y.value
748
748
  })), s = Z("kfbView", T({}));
749
- ee(() => s.value, (o, d) => {
750
- d != null && d.viewer && d.viewer.removeHandler("zoom", m), o != null && o.viewer && o.viewer.addHandler("zoom", m);
749
+ ee(() => s.value, (n, d) => {
750
+ d != null && d.viewer && d.viewer.removeHandler("zoom", m), n != null && n.viewer && n.viewer.addHandler("zoom", m);
751
751
  }), he(() => {
752
- var o;
753
- (o = s.value) != null && o.viewer && s.value.viewer.addHandler("zoom", m);
752
+ var n;
753
+ (n = s.value) != null && n.viewer && s.value.viewer.addHandler("zoom", m);
754
754
  }), Ie(() => {
755
- var o;
756
- (o = s.value) != null && o.viewer && s.value.viewer.removeHandler("zoom", m);
755
+ var n;
756
+ (n = s.value) != null && n.viewer && s.value.viewer.removeHandler("zoom", m);
757
757
  });
758
758
  function m() {
759
759
  setTimeout(() => {
760
760
  h({ name: "change", value: t });
761
761
  }, 100);
762
762
  }
763
- function _(o) {
763
+ function _(n) {
764
764
  let { x: d, y: c } = s.value.viewer.viewport.getCenter(!0);
765
- o === "top" ? c -= 6e-3 : o === "bottom" ? c += 6e-3 : o === "left" ? d -= 6e-3 : o === "right" && (d += 6e-3), s.value.area.moveToLabel({ x: d, y: c });
765
+ n === "top" ? c -= 6e-3 : n === "bottom" ? c += 6e-3 : n === "left" ? d -= 6e-3 : n === "right" && (d += 6e-3), s.value.area.moveToLabel({ x: d, y: c });
766
766
  }
767
- function h({ name: o, value: d }) {
768
- var n, f;
769
- const c = (f = (n = s.value.$options) == null ? void 0 : n.pxConversion) == null ? void 0 : f.imageCapRes;
770
- if (o === "visible") {
767
+ function h({ name: n, value: d }) {
768
+ var a, f;
769
+ const c = (f = (a = s.value.$options) == null ? void 0 : a.pxConversion) == null ? void 0 : f.imageCapRes;
770
+ if (n === "visible") {
771
771
  if (v.value = d, d) {
772
772
  const b = s.value.area.imageToViewerElementRectangle(
773
773
  {
@@ -779,7 +779,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
779
779
  );
780
780
  y.value = b.width + "px";
781
781
  }
782
- } else if (o === "change") {
782
+ } else if (n === "change") {
783
783
  Object.assign(t, d);
784
784
  const b = s.value.area.imageToViewerElementRectangle(
785
785
  {
@@ -794,7 +794,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
794
794
  }
795
795
  return e({
796
796
  scopeChange: h
797
- }), (o, d) => v.value ? (w(), L("div", Kl, [
797
+ }), (n, d) => v.value ? (w(), x("div", Kl, [
798
798
  k("div", {
799
799
  class: "hzzt-kfb-microscope__container",
800
800
  style: q(r.value)
@@ -846,13 +846,15 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
846
846
  }, Ql = ["src"], Jl = ["src"], eo = /* @__PURE__ */ J({
847
847
  __name: "KfbLabel",
848
848
  props: {
849
+ visible: { type: Boolean },
849
850
  info: {},
850
851
  slide: {},
851
852
  pathologyHandle: { type: Function }
852
853
  },
853
854
  emits: ["tool"],
854
855
  setup(u, { emit: e }) {
855
- const { t: l } = ue(), t = u, y = e, v = T(!0), r = T(!1), s = N(() => t.slide.pathology_id ? l("修改病理号") : l("绑定病理号"));
856
+ var n;
857
+ const { t: l } = ue(), t = u, y = e, v = T((n = t.visible) != null ? n : !0), r = T(!1), s = N(() => t.slide.pathology_id ? l("修改病理号") : l("绑定病理号"));
856
858
  function m() {
857
859
  t.slide.angle || (t.slide.angle = 0), t.slide.angle += 90, t.slide.angle > 360 && (t.slide.angle = t.slide.angle % 360), y("tool", "rotate", t.slide.angle);
858
860
  }
@@ -864,25 +866,25 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
864
866
  r.value = !1;
865
867
  });
866
868
  }
867
- return (o, d) => (w(), L("div", Gl, [
868
- Le(k("div", { class: "hzzt-kfb-label__title" }, E(a(l)(`点击标签旋转${o.pathologyHandle ? ",点击病理号重绑" : ""}`)), 513), [
869
+ return (d, c) => (w(), x("div", Gl, [
870
+ xe(k("div", { class: "hzzt-kfb-label__title" }, E(o(l)(`点击标签旋转${d.pathologyHandle ? ",点击病理号重绑" : ""}`)), 513), [
869
871
  [Ae, v.value]
870
872
  ]),
871
- Le(k("div", Wl, [
873
+ xe(k("div", Wl, [
872
874
  k("img", {
873
- src: o.info.labelImg,
874
- style: q({ transform: `rotate(${o.slide.angle}deg)` }),
875
+ src: d.info.labelImg,
876
+ style: q({ transform: `rotate(${d.slide.angle}deg)` }),
875
877
  onClick: m
876
878
  }, null, 12, ql)
877
879
  ], 512), [
878
880
  [Ae, v.value]
879
881
  ]),
880
- o.pathologyHandle ? Le((w(), L("div", {
882
+ d.pathologyHandle ? xe((w(), x("div", {
881
883
  key: 0,
882
884
  class: "hzzt-kfb-label__pathology flex align-items-center justify-content-between",
883
885
  onClick: _
884
886
  }, [
885
- k("span", Zl, E(o.slide.pathology_number), 1),
887
+ k("span", Zl, E(d.slide.pathology_number), 1),
886
888
  C(Q, {
887
889
  size: "14",
888
890
  name: "annotate"
@@ -891,7 +893,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
891
893
  [Ae, v.value]
892
894
  ]) : R("", !0),
893
895
  k("span", {
894
- onClick: d[0] || (d[0] = (c) => v.value = !v.value),
896
+ onClick: c[0] || (c[0] = (a) => v.value = !v.value),
895
897
  style: q({
896
898
  transform: `translateY(${v.value ? "-50%" : 0})`
897
899
  }),
@@ -907,80 +909,80 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
907
909
  name: "arrowRight"
908
910
  }))
909
911
  ], 4),
910
- C(a(Ge), {
912
+ C(o(Ge), {
911
913
  modelValue: r.value,
912
- "onUpdate:modelValue": d[5] || (d[5] = (c) => r.value = c),
914
+ "onUpdate:modelValue": c[5] || (c[5] = (a) => r.value = a),
913
915
  "append-to-body": !0,
914
916
  title: s.value,
915
917
  width: "450px"
916
918
  }, {
917
- footer: x(() => [
918
- C(a(_e), {
919
- onClick: d[4] || (d[4] = (c) => r.value = !1)
919
+ footer: L(() => [
920
+ C(o(_e), {
921
+ onClick: c[4] || (c[4] = (a) => r.value = !1)
920
922
  }, {
921
- default: x(() => [
922
- K(E(a(l)("取消")), 1)
923
+ default: L(() => [
924
+ K(E(o(l)("取消")), 1)
923
925
  ]),
924
926
  _: 1
925
927
  }),
926
- C(a(_e), {
928
+ C(o(_e), {
927
929
  type: "primary",
928
930
  onClick: h
929
931
  }, {
930
- default: x(() => [
931
- K(E(a(l)("确认")), 1)
932
+ default: L(() => [
933
+ K(E(o(l)("确认")), 1)
932
934
  ]),
933
935
  _: 1
934
936
  })
935
937
  ]),
936
- default: x(() => [
938
+ default: L(() => [
937
939
  k("div", Yl, [
938
940
  k("div", Xl, [
939
941
  k("img", {
940
- src: o.slide.labelImg
942
+ src: d.slide.labelImg
941
943
  }, null, 8, Ql),
942
944
  k("img", {
943
- src: o.slide.previewImg
945
+ src: d.slide.previewImg
944
946
  }, null, 8, Jl)
945
947
  ])
946
948
  ]),
947
- C(a(nt), { class: "margin-t-2" }, {
948
- default: x(() => [
949
- C(a(ie), {
950
- label: a(l)("病理号")
949
+ C(o(nt), { class: "margin-t-2" }, {
950
+ default: L(() => [
951
+ C(o(ie), {
952
+ label: o(l)("病理号")
951
953
  }, {
952
- default: x(() => [
953
- C(a(at), {
954
- modelValue: o.slide.pathology_number,
955
- "onUpdate:modelValue": d[1] || (d[1] = (c) => o.slide.pathology_number = c),
956
- placeholder: a(l)("输入病理号"),
954
+ default: L(() => [
955
+ C(o(at), {
956
+ modelValue: d.slide.pathology_number,
957
+ "onUpdate:modelValue": c[1] || (c[1] = (a) => d.slide.pathology_number = a),
958
+ placeholder: o(l)("输入病理号"),
957
959
  clearable: ""
958
960
  }, null, 8, ["modelValue", "placeholder"])
959
961
  ]),
960
962
  _: 1
961
963
  }, 8, ["label"]),
962
- C(a(ie), {
963
- label: a(l)("蜡块号")
964
+ C(o(ie), {
965
+ label: o(l)("蜡块号")
964
966
  }, {
965
- default: x(() => [
966
- C(a(at), {
967
- modelValue: o.slide.paraffin_block_number,
968
- "onUpdate:modelValue": d[2] || (d[2] = (c) => o.slide.paraffin_block_number = c),
969
- placeholder: a(l)("输入蜡块号"),
967
+ default: L(() => [
968
+ C(o(at), {
969
+ modelValue: d.slide.paraffin_block_number,
970
+ "onUpdate:modelValue": c[2] || (c[2] = (a) => d.slide.paraffin_block_number = a),
971
+ placeholder: o(l)("输入蜡块号"),
970
972
  clearable: ""
971
973
  }, null, 8, ["modelValue", "placeholder"])
972
974
  ]),
973
975
  _: 1
974
976
  }, 8, ["label"]),
975
- o.slide.slide_id ? R("", !0) : (w(), H(a(ie), {
977
+ d.slide.slide_id ? R("", !0) : (w(), H(o(ie), {
976
978
  key: 0,
977
- label: a(l)("试剂")
979
+ label: o(l)("试剂")
978
980
  }, {
979
- default: x(() => [
980
- C(a(at), {
981
- modelValue: o.slide.reagent,
982
- "onUpdate:modelValue": d[3] || (d[3] = (c) => o.slide.reagent = c),
983
- placeholder: a(l)("输入试剂"),
981
+ default: L(() => [
982
+ C(o(at), {
983
+ modelValue: d.slide.reagent,
984
+ "onUpdate:modelValue": c[3] || (c[3] = (a) => d.slide.reagent = a),
985
+ placeholder: o(l)("输入试剂"),
984
986
  clearable: ""
985
987
  }, null, 8, ["modelValue", "placeholder"])
986
988
  ]),
@@ -994,7 +996,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
994
996
  }, 8, ["modelValue", "title"])
995
997
  ]));
996
998
  }
997
- }), to = /* @__PURE__ */ ge(eo, [["__scopeId", "data-v-7397de48"]]);
999
+ }), to = /* @__PURE__ */ ge(eo, [["__scopeId", "data-v-e1475ef3"]]);
998
1000
  function lo(u, e) {
999
1001
  const l = T(1), t = T(null), y = T(null);
1000
1002
  function v() {
@@ -1003,7 +1005,7 @@ function lo(u, e) {
1003
1005
  }), u.value.viewer.addHandler("canvas-drag-end", (s) => {
1004
1006
  if (l.value !== 1) {
1005
1007
  y.value = s.position;
1006
- const m = u.value.viewer.viewport.containerSize.x, _ = u.value.viewer.viewport.containerSize.y, h = (y.value.x - t.value.x) / (m * e.value) * (l.value - 1), o = (y.value.y - t.value.y) / (_ * e.value) * (l.value - 1), d = u.value.viewer.viewport.getCenter(), c = new xe.Point(d.x - h, d.y - o);
1008
+ const m = u.value.viewer.viewport.containerSize.x, _ = u.value.viewer.viewport.containerSize.y, h = (y.value.x - t.value.x) / (m * e.value) * (l.value - 1), n = (y.value.y - t.value.y) / (_ * e.value) * (l.value - 1), d = u.value.viewer.viewport.getCenter(), c = new Le.Point(d.x - h, d.y - n);
1007
1009
  u.value.viewer.viewport.panTo(c), t.value = null;
1008
1010
  }
1009
1011
  });
@@ -1020,29 +1022,29 @@ function oo(u, e, l, t, y) {
1020
1022
  const v = T(void 0), r = T([]);
1021
1023
  ee(() => u.aiLabelList, h);
1022
1024
  function s() {
1023
- l.value.$on(ve.events.EVENT_END_PAINTING, m("add")), l.value.$on(ve.events.EVENT_AREA_MOVE_END, m("move")), l.value.$on(ve.events.EVENT_ADD_POLYGON_POINT, m("add-point")), l.value.$on(ve.events.EVENT_DELETE_POLYGON_POINT, m("delete-point")), l.value.$on(ve.events.EVENT_DELETE_LABEL, m("delete")), l.value.$on(ve.events.EVENT_SELECT_LABEL, (n) => {
1024
- v.value = n, c(), e("tool", "select-label", v.value);
1025
+ l.value.$on(ve.events.EVENT_END_PAINTING, m("add")), l.value.$on(ve.events.EVENT_AREA_MOVE_END, m("move")), l.value.$on(ve.events.EVENT_ADD_POLYGON_POINT, m("add-point")), l.value.$on(ve.events.EVENT_DELETE_POLYGON_POINT, m("delete-point")), l.value.$on(ve.events.EVENT_DELETE_LABEL, m("delete")), l.value.$on(ve.events.EVENT_SELECT_LABEL, (a) => {
1026
+ v.value = a, c(), e("tool", "select-label", v.value);
1025
1027
  }), l.value.$on(ve.events.EVENT_CANCEL_SELECT_LABEL, () => {
1026
1028
  v.value = void 0, e("tool", "cancel-select-label", v.value);
1027
1029
  }), m("list")();
1028
1030
  }
1029
- function m(n) {
1030
- return (f) => _(n, f);
1031
+ function m(a) {
1032
+ return (f) => _(a, f);
1031
1033
  }
1032
- function _(n, f) {
1034
+ function _(a, f) {
1033
1035
  var b;
1034
- if (n === "add" && f && ((f == null ? void 0 : f.subType) || ((b = f == null ? void 0 : f.__data__) == null ? void 0 : b.subType)) === "voice")
1036
+ if (a === "add" && f && ((f == null ? void 0 : f.subType) || ((b = f == null ? void 0 : f.__data__) == null ? void 0 : b.subType)) === "voice")
1035
1037
  t(f);
1036
1038
  else
1037
- return u.labelHandle(n, u.slide, f, r.value).then((g) => {
1039
+ return u.labelHandle(a, u.slide, f, r.value).then((g) => {
1038
1040
  r.value = g, h();
1039
1041
  }).catch(() => {
1040
1042
  h();
1041
1043
  });
1042
1044
  }
1043
1045
  function h() {
1044
- var n;
1045
- if ((n = l.value) != null && n.initLabelList) {
1046
+ var a;
1047
+ if ((a = l.value) != null && a.initLabelList) {
1046
1048
  const f = [...r.value, ...u.aiLabelList || []];
1047
1049
  f.find(({ id: b }) => {
1048
1050
  var g;
@@ -1050,19 +1052,19 @@ function oo(u, e, l, t, y) {
1050
1052
  }) || (v.value = void 0), l.value.initLabelList(f);
1051
1053
  }
1052
1054
  }
1053
- function o(n, f) {
1055
+ function n(a, f) {
1054
1056
  var g, p;
1055
1057
  v.value && (v.value.select = !1, v.value = void 0);
1056
- const b = (l.value.labelList || []).findIndex((i) => i.id === n.id);
1058
+ const b = (l.value.labelList || []).findIndex((i) => i.id === a.id);
1057
1059
  if (b > -1) {
1058
1060
  v.value = (g = l.value.labelList) == null ? void 0 : g[b], v.value.select = !0;
1059
- const i = l.value.area.getCenterPoint(n.region);
1061
+ const i = l.value.area.getCenterPoint(a.region);
1060
1062
  l.value.area.moveToLabel(i), (p = l.value.viewer) != null && p.canvas && l.value.viewer.canvas.focus(), c();
1061
1063
  }
1062
1064
  f && y(f);
1063
1065
  }
1064
- function d(n) {
1065
- return u.labelHandle("add", u.slide, n, r.value).then((f) => {
1066
+ function d(a) {
1067
+ return u.labelHandle("add", u.slide, a, r.value).then((f) => {
1066
1068
  r.value = f, h();
1067
1069
  }).catch(() => {
1068
1070
  h();
@@ -1076,7 +1078,7 @@ function oo(u, e, l, t, y) {
1076
1078
  currentLabel: v,
1077
1079
  localLabelList: r,
1078
1080
  initLabel: s,
1079
- jumpToLabel: o,
1081
+ jumpToLabel: n,
1080
1082
  reloadLabelList: h,
1081
1083
  eventHandel: m,
1082
1084
  addHandle: d
@@ -1096,7 +1098,7 @@ function no(u, e) {
1096
1098
  const r = T(!1), s = T(0);
1097
1099
  let m = 0;
1098
1100
  const _ = T([]), h = T(void 0);
1099
- let o = !1;
1101
+ let n = !1;
1100
1102
  function d(i, I) {
1101
1103
  i.save(), i.strokeStyle = "rgba(0,0,0,0)", i.miterLimit = 4, i.font = "15px ''", i.fillStyle = I, i.font = " 15px ''", i.scale(0.03125, 0.03125), i.save(), i.font = " 15px ''", i.beginPath(), i.moveTo(515.041727, 670.617766), i.bezierCurveTo(606.625894, 670.617766, 681.137374, 596.113511, 681.137374, 504.52212), i.lineTo(681.137374, 229.350568), i.bezierCurveTo(681.137374, 137.76640100000003, 606.625894, 63.254920999999996, 515.041727, 63.254920999999996), i.bezierCurveTo(423.44311000000005, 63.254920999999996, 348.93885500000005, 137.766401, 348.93885600000004, 229.350568), i.lineTo(348.93885600000004, 504.52212), i.bezierCurveTo(348.93885600000004, 596.113512, 423.44311100000004, 670.617767, 515.041727, 670.617766), i.closePath(), i.fill(), i.stroke(), i.restore(), i.save(), i.font = " 15px ''", i.beginPath(), i.moveTo(801.643237, 874.001665), i.lineTo(558.391759, 874.001665), i.lineTo(558.391759, 828.578057), i.bezierCurveTo(719.899527, 807.264291, 844.993269, 668.7898399999999, 844.993269, 501.55986699999994), i.translate(801.643237, 501.55986699999994), i.rotate(0), i.arc(0, 0, 43.350032, 0, 3.141592653589793, !0), i.rotate(0), i.translate(-801.643237, -501.55986699999994), i.bezierCurveTo(758.2932050000001, 635.684865, 649.166725, 744.811345, 515.0345020000001, 744.811346), i.bezierCurveTo(380.9095040000001, 744.811346, 271.79024900000013, 635.6848659999999, 271.79024900000013, 501.55986699999994), i.translate(228.44021750000013, 501.5664510740879), i.rotate(0), i.arc(0, 0, 43.350032, -15188164315591997e-20, -3.1414407719461273, !0), i.rotate(0), i.translate(-228.44021750000013, -501.5664510740879), i.bezierCurveTo(185.09018600000013, 668.7898389999999, 310.1911530000001, 807.271516, 471.69169500000015, 828.578057), i.lineTo(471.69169500000015, 874.001665), i.lineTo(228.440217, 874.001665), i.translate(228.440217, 917.3516970000001), i.rotate(0), i.arc(0, 0, 43.350032, -1.5707963267948966, 1.5707963267948966, !0), i.rotate(0), i.translate(-228.440217, -917.3516970000001), i.lineTo(801.643237, 960.701729), i.translate(801.643237, 917.3516970000001), i.rotate(0), i.arc(0, 0, 43.350032, 1.5707963267948966, 4.71238898038469, !0), i.rotate(0), i.translate(-801.643237, -917.3516970000001), i.closePath(), i.fill(), i.stroke(), i.restore(), i.restore();
1102
1104
  }
@@ -1110,31 +1112,31 @@ function no(u, e) {
1110
1112
  const i = new Blob(_.value, { type: u.audioType || "audio/wav" });
1111
1113
  h.value.src = URL.createObjectURL(i);
1112
1114
  }
1113
- r.value = !1, o && (yield p());
1115
+ r.value = !1, n && (yield p());
1114
1116
  })), v.start(), r.value = !0, m = window.setInterval(() => {
1115
1117
  s.value++;
1116
1118
  }, 1e3);
1117
1119
  } catch (i) {
1118
- xt.error(l("麦克风启用失败,请确认是否开启麦克风权限"));
1120
+ Lt.error(l("麦克风启用失败,请确认是否开启麦克风权限"));
1119
1121
  }
1120
1122
  });
1121
1123
  }
1122
- function n() {
1124
+ function a() {
1123
1125
  y.value && v ? (v.stop(), y.value.getTracks().forEach((i) => i.stop()), v = null, y.value = void 0) : (v = null, y.value = void 0), r.value = !1, m && (clearInterval(m), m = 0), s.value = 0;
1124
1126
  }
1125
1127
  function f(i) {
1126
- t.value = !0, h.value = i, _.value = [], o = !1;
1128
+ t.value = !0, h.value = i, _.value = [], n = !1;
1127
1129
  }
1128
1130
  function b() {
1129
- r.value && n(), t.value = !1, r.value = !1, o = !1;
1131
+ r.value && a(), t.value = !1, r.value = !1, n = !1;
1130
1132
  }
1131
1133
  function g() {
1132
1134
  return $e(this, null, function* () {
1133
1135
  if (!r.value && !_.value.length) {
1134
- xt.error(l("请先录音"));
1136
+ Lt.error(l("请先录音"));
1135
1137
  return;
1136
1138
  }
1137
- r.value && n(), r.value = !1, o = !0, _.value.length && (yield p()), t.value = !1;
1139
+ r.value && a(), r.value = !1, n = !0, _.value.length && (yield p()), t.value = !1;
1138
1140
  });
1139
1141
  }
1140
1142
  function p() {
@@ -1161,7 +1163,7 @@ function no(u, e) {
1161
1163
  isRecording: r,
1162
1164
  drawVoice: d,
1163
1165
  startRecording: c,
1164
- stopRecording: n,
1166
+ stopRecording: a,
1165
1167
  initVoice: f,
1166
1168
  cancelRecord: b,
1167
1169
  confirmRecord: g
@@ -1174,8 +1176,8 @@ function so(u, e, l) {
1174
1176
  var c;
1175
1177
  return (c = u.analysis) == null ? void 0 : c.hotmap_path;
1176
1178
  }, (c) => {
1177
- var n, f, b;
1178
- if ((f = (n = e.value) == null ? void 0 : n.viewer) != null && f.world) {
1179
+ var a, f, b;
1180
+ if ((f = (a = e.value) == null ? void 0 : a.viewer) != null && f.world) {
1179
1181
  y.value = 0;
1180
1182
  const g = e.value.viewer.world.getItemAt(0);
1181
1183
  g && (g.tilesMatrix = {}, g.draw());
@@ -1187,17 +1189,17 @@ function so(u, e, l) {
1187
1189
  height: u.analysis.zoom_roi.h
1188
1190
  }, 5);
1189
1191
  }), he(() => {
1190
- window.addEventListener("mousemove", _), window.addEventListener("mouseup", o);
1192
+ window.addEventListener("mousemove", _), window.addEventListener("mouseup", n);
1191
1193
  }), Ie(() => {
1192
- window.removeEventListener("mousemove", _), window.removeEventListener("mouseup", o);
1194
+ window.removeEventListener("mousemove", _), window.removeEventListener("mouseup", n);
1193
1195
  });
1194
- function s(c, n, f) {
1196
+ function s(c, a, f) {
1195
1197
  var g, p, i, I;
1196
- const b = we(W({}, n), {
1198
+ const b = we(W({}, a), {
1197
1199
  file: (g = u.analysis) == null ? void 0 : g.hotmap_path
1198
1200
  });
1199
1201
  if ((p = u.analysis) != null && p.hotmap_info) {
1200
- if (f[n.x + "_" + n.y + "_" + Number(n.scale)])
1202
+ if (f[a.x + "_" + a.y + "_" + Number(a.scale)])
1201
1203
  if (((i = u.analysis) == null ? void 0 : i.hotmap_type) === "drag")
1202
1204
  m(c, b);
1203
1205
  else
@@ -1208,17 +1210,17 @@ function so(u, e, l) {
1208
1210
  return u.tileHandle(b);
1209
1211
  return c;
1210
1212
  }
1211
- function m(c, n) {
1213
+ function m(c, a) {
1212
1214
  const f = t.value.find((b) => b.url === c) || {
1213
1215
  url: c,
1214
- x: n.x,
1215
- y: n.y,
1216
+ x: a.x,
1217
+ y: a.y,
1216
1218
  img: void 0,
1217
1219
  load: ""
1218
1220
  };
1219
1221
  if (!(f != null && f.img) && (t.value.push(f), f.load !== "success")) {
1220
1222
  const b = new Image();
1221
- b.src = u.tileHandle(n), b.onload = () => {
1223
+ b.src = u.tileHandle(a), b.onload = () => {
1222
1224
  f.load = "success";
1223
1225
  }, f.img = b;
1224
1226
  }
@@ -1227,15 +1229,15 @@ function so(u, e, l) {
1227
1229
  v.value && r && (y.value += c.x - r.x, y.value < 0 ? y.value = 0 : y.value > e.value.$options.width && (y.value = e.value.$options.width, v.value = !1), e.value.viewer.forceRedraw()), r = { x: c.x, y: c.y };
1228
1230
  }
1229
1231
  function h(c) {
1230
- const { x: n, y: f } = c;
1231
- v.value = !0, r = { x: n, y: f };
1232
+ const { x: a, y: f } = c;
1233
+ v.value = !0, r = { x: a, y: f };
1232
1234
  }
1233
- function o() {
1235
+ function n() {
1234
1236
  v.value = !1, r = null;
1235
1237
  }
1236
1238
  function d(c) {
1237
1239
  const {
1238
- context: n,
1240
+ context: a,
1239
1241
  sourceWidth: f,
1240
1242
  sourceHeight: b,
1241
1243
  position: g,
@@ -1246,7 +1248,7 @@ function so(u, e, l) {
1246
1248
  } = c, P = I.getUrl(), te = y.value * B, ne = g.original.x;
1247
1249
  if (ne < te && ne + p.x > te) {
1248
1250
  const j = te - ne, re = p.x - j, le = t.value.find((Se) => Se.url === P), Me = (le == null ? void 0 : le.load) === "success" ? le.img : i.canvas;
1249
- n.drawImage(
1251
+ a.drawImage(
1250
1252
  Me,
1251
1253
  0,
1252
1254
  0,
@@ -1256,7 +1258,7 @@ function so(u, e, l) {
1256
1258
  g.y,
1257
1259
  j,
1258
1260
  p.y
1259
- ), n.drawImage(
1261
+ ), a.drawImage(
1260
1262
  i.canvas,
1261
1263
  f * j / p.x,
1262
1264
  0,
@@ -1269,7 +1271,7 @@ function so(u, e, l) {
1269
1271
  );
1270
1272
  } else if (ne + p.x <= te) {
1271
1273
  const j = t.value.find((le) => le.url === P), re = (j == null ? void 0 : j.load) === "success" ? j.img : i.canvas;
1272
- n.drawImage(
1274
+ a.drawImage(
1273
1275
  re,
1274
1276
  0,
1275
1277
  0,
@@ -1280,7 +1282,7 @@ function so(u, e, l) {
1280
1282
  p.x,
1281
1283
  p.y
1282
1284
  );
1283
- } else ne >= te && n.drawImage(
1285
+ } else ne >= te && a.drawImage(
1284
1286
  i.canvas,
1285
1287
  0,
1286
1288
  0,
@@ -1302,15 +1304,15 @@ function so(u, e, l) {
1302
1304
  }
1303
1305
  function io(u, e, l) {
1304
1306
  const t = sl(), y = T(!1), v = new BroadcastChannel("sync_kfb_view");
1305
- v.onmessage = (o) => {
1306
- const d = o.data;
1307
+ v.onmessage = (n) => {
1308
+ const d = n.data;
1307
1309
  _(d);
1308
1310
  }, he(() => {
1309
- var o, d, c;
1310
- (o = l.value) == null || o.addEventListener("mouseenter", r), (d = l.value) == null || d.addEventListener("mousemove", r), (c = l.value) == null || c.addEventListener("mouseleave", s);
1311
+ var n, d, c;
1312
+ (n = l.value) == null || n.addEventListener("mouseenter", r), (d = l.value) == null || d.addEventListener("mousemove", r), (c = l.value) == null || c.addEventListener("mouseleave", s);
1311
1313
  }), Ie(() => {
1312
- var o, d, c;
1313
- (o = l.value) == null || o.removeEventListener("mouseenter", r), (d = l.value) == null || d.removeEventListener("mousemove", r), (c = l.value) == null || c.removeEventListener("mouseleave", s), v.close();
1314
+ var n, d, c;
1315
+ (n = l.value) == null || n.removeEventListener("mouseenter", r), (d = l.value) == null || d.removeEventListener("mousemove", r), (c = l.value) == null || c.removeEventListener("mouseleave", s), v.close();
1314
1316
  });
1315
1317
  function r() {
1316
1318
  y.value = !0;
@@ -1319,16 +1321,16 @@ function io(u, e, l) {
1319
1321
  y.value = !1;
1320
1322
  }
1321
1323
  function m() {
1322
- let o;
1324
+ let n;
1323
1325
  e.value.viewer.addHandler("pan", (d) => {
1324
1326
  var f, b, g, p;
1325
- if (!o) {
1326
- o = (b = (f = d.center) == null ? void 0 : f.clone) == null ? void 0 : b.call(f);
1327
+ if (!n) {
1328
+ n = (b = (f = d.center) == null ? void 0 : f.clone) == null ? void 0 : b.call(f);
1327
1329
  return;
1328
1330
  }
1329
- const c = d.center, n = (g = c == null ? void 0 : c.minus) == null ? void 0 : g.call(c, o);
1330
- o = (p = c == null ? void 0 : c.clone) == null ? void 0 : p.call(c), u.syncPosition && h({
1331
- position: n,
1331
+ const c = d.center, a = (g = c == null ? void 0 : c.minus) == null ? void 0 : g.call(c, n);
1332
+ n = (p = c == null ? void 0 : c.clone) == null ? void 0 : p.call(c), u.syncPosition && h({
1333
+ position: a,
1332
1334
  type: "sync_position"
1333
1335
  });
1334
1336
  }), e.value.viewer.addHandler("zoom", (d) => {
@@ -1337,25 +1339,25 @@ function io(u, e, l) {
1337
1339
  type: "sync_zoom"
1338
1340
  });
1339
1341
  }), e.value.viewer.addHandler("animation-finish", () => {
1340
- var n;
1342
+ var a;
1341
1343
  if (u.syncZoom && h({
1342
1344
  zoom: e.value.viewer.viewport.getZoom(!0),
1343
1345
  type: "sync_zoom"
1344
- }), !o)
1346
+ }), !n)
1345
1347
  return;
1346
- const d = e.value.viewer.viewport.getCenter(!0), c = (n = d == null ? void 0 : d.minus) == null ? void 0 : n.call(d, o);
1347
- o = void 0, u.syncPosition && h({
1348
+ const d = e.value.viewer.viewport.getCenter(!0), c = (a = d == null ? void 0 : d.minus) == null ? void 0 : a.call(d, n);
1349
+ n = void 0, u.syncPosition && h({
1348
1350
  position: c,
1349
1351
  type: "sync_position"
1350
1352
  });
1351
1353
  });
1352
1354
  }
1353
- function _(o) {
1354
- o.uuid && o.type === "sync_position" && o.uuid !== (t == null ? void 0 : t.uid) ? e.value && e.value.viewer.viewport.panBy(o.position, !0) : o.uuid && o.type === "sync_zoom" && o.uuid !== (t == null ? void 0 : t.uid) && e.value && e.value.viewer.viewport.zoomTo(o.zoom);
1355
+ function _(n) {
1356
+ n.uuid && n.type === "sync_position" && n.uuid !== (t == null ? void 0 : t.uid) ? e.value && e.value.viewer.viewport.panBy(n.position, !0) : n.uuid && n.type === "sync_zoom" && n.uuid !== (t == null ? void 0 : t.uid) && e.value && e.value.viewer.viewport.zoomTo(n.zoom);
1355
1357
  }
1356
- function h(o) {
1358
+ function h(n) {
1357
1359
  var d;
1358
- y.value && v.postMessage(we(W({}, o), {
1360
+ y.value && v.postMessage(we(W({}, n), {
1359
1361
  uuid: t == null ? void 0 : t.uid,
1360
1362
  fileName: (d = u.slide) == null ? void 0 : d.file
1361
1363
  }));
@@ -1378,7 +1380,7 @@ const ro = { class: "hzzt-kfb-keyword flex wrap" }, uo = ["onMouseenter"], co =
1378
1380
  let t = null;
1379
1381
  function y(r, s) {
1380
1382
  r.preventDefault(), t && clearTimeout(t), t = setInterval(() => {
1381
- s === "E" && (l.value.viewer.viewport.zoomBy(1.1), l.value.viewer.viewport.applyConstraints()), s === "Q" && (l.value.viewer.viewport.zoomBy(0.9), l.value.viewer.viewport.applyConstraints()), s === "W" && (l.value.viewer.viewport.panBy(l.value.viewer.viewport.deltaPointsFromPixels(new xe.Point(0, -40))), l.value.viewer.viewport.applyConstraints()), s === "S" && (l.value.viewer.viewport.panBy(l.value.viewer.viewport.deltaPointsFromPixels(new xe.Point(0, 40))), l.value.viewer.viewport.applyConstraints()), s === "A" && (l.value.viewer.viewport.panBy(l.value.viewer.viewport.deltaPointsFromPixels(new xe.Point(-40, 0))), l.value.viewer.viewport.applyConstraints()), s === "D" && (l.value.viewer.viewport.panBy(l.value.viewer.viewport.deltaPointsFromPixels(new xe.Point(40, 0))), l.value.viewer.viewport.applyConstraints());
1383
+ s === "E" && (l.value.viewer.viewport.zoomBy(1.1), l.value.viewer.viewport.applyConstraints()), s === "Q" && (l.value.viewer.viewport.zoomBy(0.9), l.value.viewer.viewport.applyConstraints()), s === "W" && (l.value.viewer.viewport.panBy(l.value.viewer.viewport.deltaPointsFromPixels(new Le.Point(0, -40))), l.value.viewer.viewport.applyConstraints()), s === "S" && (l.value.viewer.viewport.panBy(l.value.viewer.viewport.deltaPointsFromPixels(new Le.Point(0, 40))), l.value.viewer.viewport.applyConstraints()), s === "A" && (l.value.viewer.viewport.panBy(l.value.viewer.viewport.deltaPointsFromPixels(new Le.Point(-40, 0))), l.value.viewer.viewport.applyConstraints()), s === "D" && (l.value.viewer.viewport.panBy(l.value.viewer.viewport.deltaPointsFromPixels(new Le.Point(40, 0))), l.value.viewer.viewport.applyConstraints());
1382
1384
  }, 120);
1383
1385
  }
1384
1386
  function v() {
@@ -1386,8 +1388,8 @@ const ro = { class: "hzzt-kfb-keyword flex wrap" }, uo = ["onMouseenter"], co =
1386
1388
  }
1387
1389
  return Ie(() => {
1388
1390
  clearTimeout(t);
1389
- }), (r, s) => (w(), L("div", ro, [
1390
- (w(!0), L(oe, null, ae(e.value, (m) => (w(), L("div", {
1391
+ }), (r, s) => (w(), x("div", ro, [
1392
+ (w(!0), x(oe, null, ae(e.value, (m) => (w(), x("div", {
1391
1393
  key: m.code,
1392
1394
  class: "hzzt-kfb-keyword__code flex column align-items-center justify-content-center",
1393
1395
  onMouseenter: (_) => y(_, m.code),
@@ -1413,12 +1415,12 @@ function fo(u, e, l = {}) {
1413
1415
  minThreshold: r = 0.05
1414
1416
  // 值越小,停止移动时的精度越高
1415
1417
  } = l;
1416
- let s = !1, m = null, _ = 0, h = 0, o = !1;
1418
+ let s = !1, m = null, _ = 0, h = 0, n = !1;
1417
1419
  const d = () => {
1418
1420
  s = document.pointerLockElement === e.value, s || c();
1419
1421
  }, c = () => {
1420
- _ = 0, h = 0, m && (cancelAnimationFrame(m), m = null), o = !1;
1421
- }, n = (i) => $e(this, null, function* () {
1422
+ _ = 0, h = 0, m && (cancelAnimationFrame(m), m = null), n = !1;
1423
+ }, a = (i) => $e(this, null, function* () {
1422
1424
  try {
1423
1425
  i.key === "l" && e.value && (document.pointerLockElement ? (document.exitPointerLock(), console.log("鼠标已解锁!")) : (yield e.value.requestPointerLock(), console.log("鼠标已锁定!")));
1424
1426
  } catch (I) {
@@ -1431,12 +1433,12 @@ function fo(u, e, l = {}) {
1431
1433
  u.value.viewer.viewport.zoomBy(I), u.value.viewer.viewport.applyConstraints();
1432
1434
  }
1433
1435
  }, b = (i) => {
1434
- s && (_ += i.movementX * t, h += i.movementY * t, !o && (Math.abs(_) > 1 || Math.abs(h) > 1) && (o = !0, m = requestAnimationFrame(g)));
1436
+ s && (_ += i.movementX * t, h += i.movementY * t, !n && (Math.abs(_) > 1 || Math.abs(h) > 1) && (n = !0, m = requestAnimationFrame(g)));
1435
1437
  }, g = () => {
1436
1438
  const i = u.value.viewer.viewport;
1437
1439
  if (Math.abs(_) > r || Math.abs(h) > r) {
1438
1440
  const I = i.deltaPointsFromPixels(
1439
- new xe.Point(_, h)
1441
+ new Le.Point(_, h)
1440
1442
  );
1441
1443
  i.panBy(I), i.applyConstraints();
1442
1444
  }
@@ -1446,10 +1448,10 @@ function fo(u, e, l = {}) {
1446
1448
  };
1447
1449
  return he(() => {
1448
1450
  var i;
1449
- (i = e.value) == null || i.addEventListener("keydown", n), document.addEventListener("wheel", f, { passive: !1 }), document.addEventListener("click", p), document.addEventListener("mousemove", b), document.addEventListener("pointerlockchange", d);
1451
+ (i = e.value) == null || i.addEventListener("keydown", a), document.addEventListener("wheel", f, { passive: !1 }), document.addEventListener("click", p), document.addEventListener("mousemove", b), document.addEventListener("pointerlockchange", d);
1450
1452
  }), Ie(() => {
1451
1453
  var i;
1452
- (i = e.value) == null || i.removeEventListener("keydown", n), document.removeEventListener("click", p), document.removeEventListener("wheel", f), document.removeEventListener("mousemove", b), document.removeEventListener("pointerlockchange", d), c();
1454
+ (i = e.value) == null || i.removeEventListener("keydown", a), document.removeEventListener("click", p), document.removeEventListener("wheel", f), document.removeEventListener("mousemove", b), document.removeEventListener("pointerlockchange", d), c();
1453
1455
  }), {
1454
1456
  setConfig: (i) => {
1455
1457
  Object.assign(l, i);
@@ -1475,7 +1477,7 @@ const mo = /* @__PURE__ */ J({
1475
1477
  _ > s.length - 4 && (r.tilesMatrix[m] = {});
1476
1478
  }), r.draw();
1477
1479
  }
1478
- return (r, s) => (w(), L("div", {
1480
+ return (r, s) => (w(), x("div", {
1479
1481
  class: ke(["hzzt-kfb-level flex column align-items-center", r.slides.length > 5 ? "hzzt-kfb-level--large" : ""])
1480
1482
  }, [
1481
1483
  C(Q, {
@@ -1483,7 +1485,7 @@ const mo = /* @__PURE__ */ J({
1483
1485
  size: "24",
1484
1486
  class: "margin-b-4 margin-t-2"
1485
1487
  }),
1486
- C(a(cl), {
1488
+ C(o(cl), {
1487
1489
  modelValue: l.value,
1488
1490
  "onUpdate:modelValue": s[0] || (s[0] = (m) => l.value = m),
1489
1491
  vertical: "",
@@ -1524,7 +1526,7 @@ const mo = /* @__PURE__ */ J({
1524
1526
  ], r = N(() => {
1525
1527
  var m;
1526
1528
  return (((m = l.info) == null ? void 0 : m.channel) || []).map((_) => {
1527
- const h = v.find((o) => o.key === _.eqt_num);
1529
+ const h = v.find((n) => n.key === _.eqt_num);
1528
1530
  return {
1529
1531
  label: _.eqt_num,
1530
1532
  color: _.r ? `rgb(${_.r}, ${_.g}, ${_.b})` : h == null ? void 0 : h.color
@@ -1534,16 +1536,16 @@ const mo = /* @__PURE__ */ J({
1534
1536
  function s(m) {
1535
1537
  y.value.includes(m) ? y.value = y.value.filter((_) => _ !== m) : y.value.push(m), t("load");
1536
1538
  }
1537
- return (m, _) => r.value.length > 0 ? (w(), L("div", po, [
1539
+ return (m, _) => r.value.length > 0 ? (w(), x("div", po, [
1538
1540
  C(Q, {
1539
1541
  name: "channel",
1540
1542
  size: "32"
1541
1543
  }),
1542
- (w(!0), L(oe, null, ae(r.value, (h) => (w(), L("div", {
1544
+ (w(!0), x(oe, null, ae(r.value, (h) => (w(), x("div", {
1543
1545
  key: h.label,
1544
1546
  style: q({ background: h.color }),
1545
1547
  class: ke(["hzzt-kfb-channel__box", y.value.includes(h.label) ? "" : "hzzt-kfb-channel__box--unactive"]),
1546
- onClick: (o) => s(h.label)
1548
+ onClick: (n) => s(h.label)
1547
1549
  }, E(h.label), 15, ho))), 128))
1548
1550
  ])) : R("", !0);
1549
1551
  }
@@ -1566,12 +1568,12 @@ const mo = /* @__PURE__ */ J({
1566
1568
  function r(s) {
1567
1569
  t("select", s);
1568
1570
  }
1569
- return (s, m) => (w(), L("div", {
1571
+ return (s, m) => (w(), x("div", {
1570
1572
  class: ke(["hzzt-kfb-annotation flex column", l.value ? "hzzt-kfb-annotation--expand" : ""])
1571
1573
  }, [
1572
1574
  k("div", yo, [
1573
- Le(k("div", wo, [
1574
- k("span", null, E(a(y)("标注列表")), 1)
1575
+ xe(k("div", wo, [
1576
+ k("span", null, E(o(y)("标注列表")), 1)
1575
1577
  ], 512), [
1576
1578
  [Ae, l.value]
1577
1579
  ]),
@@ -1581,11 +1583,11 @@ const mo = /* @__PURE__ */ J({
1581
1583
  onClick: m[0] || (m[0] = (_) => l.value = !l.value)
1582
1584
  }, null, 8, ["name"])
1583
1585
  ]),
1584
- Le(k("div", _o, [
1585
- (w(!0), L(oe, null, ae(s.annotations, (_, h) => {
1586
- var o;
1587
- return w(), L("div", {
1588
- class: ke(["hzzt-kfb-annotation__item", ((o = s.annotation) == null ? void 0 : o.id) === _.id ? "hzzt-kfb-annotation__item--active" : ""]),
1586
+ xe(k("div", _o, [
1587
+ (w(!0), x(oe, null, ae(s.annotations, (_, h) => {
1588
+ var n;
1589
+ return w(), x("div", {
1590
+ class: ke(["hzzt-kfb-annotation__item", ((n = s.annotation) == null ? void 0 : n.id) === _.id ? "hzzt-kfb-annotation__item--active" : ""]),
1589
1591
  key: h,
1590
1592
  onClick: (d) => r(_)
1591
1593
  }, [
@@ -1593,7 +1595,7 @@ const mo = /* @__PURE__ */ J({
1593
1595
  size: "16",
1594
1596
  name: v(_)
1595
1597
  }, null, 8, ["name"]),
1596
- k("span", null, E(a(y)("标注")) + E(h + 1), 1)
1598
+ k("span", null, E(o(y)("标注")) + E(h + 1), 1)
1597
1599
  ], 10, bo);
1598
1600
  }), 128))
1599
1601
  ], 512), [
@@ -1635,7 +1637,7 @@ const Co = ["element-loading-text"], $o = {
1635
1637
  class: "hzzt-kfb-view__filter",
1636
1638
  height: "0",
1637
1639
  width: "0"
1638
- }, xo = { id: "colorMatrixFilter" }, Lo = ["values"], Eo = ["values"], Vo = ["exponent"], Io = ["exponent"], Mo = ["exponent"], So = { class: "flex nowrap justify-content-center overflow-hidden" }, Ho = ["src"], Po = ["src"], Ro = { class: "flex-1" }, Ao = { class: "flex-1" }, No = { class: "flex-1" }, Bo = { class: "flex-1" }, Do = { class: "flex-1" }, Uo = { class: "flex-1" }, Fo = ["src"], Ko = {
1640
+ }, Lo = { id: "colorMatrixFilter" }, xo = ["values"], Eo = ["values"], Vo = ["exponent"], Io = ["exponent"], Mo = ["exponent"], So = { class: "flex nowrap justify-content-center overflow-hidden" }, Ho = ["src"], Po = ["src"], Ro = { class: "flex-1" }, Ao = { class: "flex-1" }, No = { class: "flex-1" }, Bo = { class: "flex-1" }, Do = { class: "flex-1" }, Uo = { class: "flex-1" }, Fo = ["src"], Ko = {
1639
1641
  key: 2,
1640
1642
  class: "margin-l-2"
1641
1643
  }, jo = {
@@ -1662,14 +1664,15 @@ const Co = ["element-loading-text"], $o = {
1662
1664
  audioType: {},
1663
1665
  watermark: {},
1664
1666
  analysis: {},
1665
- aiLabelList: {}
1667
+ aiLabelList: {},
1668
+ showLabel: { type: Boolean }
1666
1669
  },
1667
1670
  emits: ["tool"],
1668
1671
  setup(u, { expose: e, emit: l }) {
1669
1672
  il((z) => ({
1670
- "102f89ac": ne.value
1673
+ e3fd940a: ne.value
1671
1674
  }));
1672
- const t = u, y = l, { t: v, locale: r } = ue(), s = T(), m = T(), _ = T(), h = T(!1), o = T({}), d = T(!1), c = T(0), n = T(0), f = T(0), b = T([]), g = T({
1675
+ const t = u, y = l, { t: v, locale: r } = ue(), s = T(), m = T(), _ = T(), h = T(!1), n = T({}), d = T(!1), c = T(0), a = T(0), f = T(0), b = T([]), g = T({
1673
1676
  width: 0,
1674
1677
  height: 0,
1675
1678
  fileNum: 0,
@@ -1698,11 +1701,11 @@ const Co = ["element-loading-text"], $o = {
1698
1701
  } = Il(t), {
1699
1702
  tailorEvent: Se,
1700
1703
  shotScreen: ye
1701
- } = Ml(y, o), {
1704
+ } = Ml(y, n), {
1702
1705
  moveEvent: De,
1703
1706
  fastMove: Ye
1704
- } = lo(o, n), { initSync: Xe } = io(t, o, s);
1705
- fo(o, s);
1707
+ } = lo(n, a), { initSync: Xe } = io(t, n, s);
1708
+ fo(n, s);
1706
1709
  const { drawDot: Qe } = ao(), {
1707
1710
  voiceVisible: He,
1708
1711
  voiceForm: Pe,
@@ -1722,7 +1725,7 @@ const Co = ["element-loading-text"], $o = {
1722
1725
  reloadLabelList: At,
1723
1726
  eventHandel: Nt,
1724
1727
  addHandle: Bt
1725
- } = oo(t, y, o, ut, tt);
1728
+ } = oo(t, y, n, ut, tt);
1726
1729
  function Dt(z) {
1727
1730
  Bt(z);
1728
1731
  }
@@ -1732,12 +1735,12 @@ const Co = ["element-loading-text"], $o = {
1732
1735
  hotmapLine: Kt,
1733
1736
  lineMouseDown: vt,
1734
1737
  hotmapImgs: jt
1735
- } = so(t, o, lt);
1738
+ } = so(t, n, lt);
1736
1739
  function ft() {
1737
1740
  var z;
1738
1741
  (z = t.slide) != null && z.file && t.fileHandle && (d.value || (d.value = !0, t.fileHandle(t.slide).then((V) => {
1739
1742
  var Y, se, me, O;
1740
- g.value = V, b.value = (((Y = g.value) == null ? void 0 : Y.channel) || []).map((U) => U.eqt_num), o.value = new ve(W({
1743
+ g.value = V, b.value = (((Y = g.value) == null ? void 0 : Y.channel) || []).map((U) => U.eqt_num), n.value = new ve(W({
1741
1744
  el: m.value,
1742
1745
  fileName: (se = t.slide) == null ? void 0 : se.file,
1743
1746
  scale: g.value.scanScale,
@@ -1788,7 +1791,7 @@ const Co = ["element-loading-text"], $o = {
1788
1791
  }
1789
1792
  }
1790
1793
  }
1791
- }, t.options || {})), o.value.viewer.drawer.canvas.style.filter = "url(#colorMatrixFilter)", Rt(), Gt(), Xe(), setTimeout(() => {
1794
+ }, t.options || {})), n.value.viewer.drawer.canvas.style.filter = "url(#colorMatrixFilter)", Rt(), Gt(), Xe(), setTimeout(() => {
1792
1795
  var U, D;
1793
1796
  (U = t.analysis) != null && U.hotmap_path && ((D = t.analysis) != null && D.zoom_roi) && lt({
1794
1797
  x: t.analysis.zoom_roi.x,
@@ -1809,7 +1812,7 @@ const Co = ["element-loading-text"], $o = {
1809
1812
  })));
1810
1813
  }
1811
1814
  function Ot() {
1812
- const z = o.value.viewer;
1815
+ const z = n.value.viewer;
1813
1816
  if (z.world) {
1814
1817
  const V = z.world.getItemAt(0), Y = z.viewport.getZoom(), se = z.viewport.getCenter();
1815
1818
  z.world.removeItem(V), z.addTiledImage({
@@ -1853,42 +1856,42 @@ const Co = ["element-loading-text"], $o = {
1853
1856
  };
1854
1857
  }
1855
1858
  function Gt() {
1856
- o.value.viewer.addHandler("rotate", (z) => {
1859
+ n.value.viewer.addHandler("rotate", (z) => {
1857
1860
  c.value = z.degrees || 0;
1858
- }), o.value.viewer.addHandler("zoom", (z) => {
1859
- const V = o.value.viewer.viewport.viewportToImageZoom(
1861
+ }), n.value.viewer.addHandler("zoom", (z) => {
1862
+ const V = n.value.viewer.viewport.viewportToImageZoom(
1860
1863
  z.zoom || 0
1861
- ) * Number(o.value.$options.scale);
1862
- n.value = Number(V.toFixed(2));
1863
- }), o.value.$on(ve.events.EVENT_NAVIGATOR_VESTIGE, (z) => {
1864
+ ) * Number(n.value.$options.scale);
1865
+ a.value = Number(V.toFixed(2));
1866
+ }), n.value.$on(ve.events.EVENT_NAVIGATOR_VESTIGE, (z) => {
1864
1867
  t.navigatorHandle && t.navigatorHandle("add", t.slide, z);
1865
1868
  }), t.navigatorHandle && t.navigatorHandle("list", t.slide).then((z) => {
1866
1869
  var V, Y;
1867
- (Y = (V = o.value.navigator) == null ? void 0 : V.drawPointList) == null || Y.call(V, z);
1870
+ (Y = (V = n.value.navigator) == null ? void 0 : V.drawPointList) == null || Y.call(V, z);
1868
1871
  }), Se(), De();
1869
1872
  }
1870
1873
  function Wt() {
1871
1874
  var z;
1872
- (z = o.value) != null && z.destroy && (o.value.destroy(), o.value = {}, g.value = {
1875
+ (z = n.value) != null && z.destroy && (n.value.destroy(), n.value = {}, g.value = {
1873
1876
  width: 0,
1874
1877
  height: 0,
1875
1878
  fileNum: 0,
1876
1879
  scanScale: 1,
1877
1880
  fileName: "",
1878
1881
  ratiomap: {}
1879
- }, jt.value = [], b.value = [], n.value = 0, c.value = 0, f.value = 0);
1882
+ }, jt.value = [], b.value = [], a.value = 0, c.value = 0, f.value = 0);
1880
1883
  }
1881
1884
  function pt(z, V) {
1882
1885
  z === "annotate" ? ht(V) : z === "tailor" ? ye(V) : z === "info" ? h.value = !0 : z === "flip" ? gt() : z === "delete" ? Nt("delete")(et.value) : y("tool", z, V);
1883
1886
  }
1884
1887
  function ht(z) {
1885
- z.tool === "Voice" && (z.subType = "voice", z.tool = "Dot", z.custom = !0), o.value.board.startDraw(z);
1888
+ z.tool === "Voice" && (z.subType = "voice", z.tool = "Dot", z.custom = !0), n.value.board.startDraw(z);
1886
1889
  }
1887
1890
  function qt() {
1888
- o.value.board.endDraw();
1891
+ n.value.board.endDraw();
1889
1892
  }
1890
1893
  function gt() {
1891
- o.value.viewer.viewport.toggleFlip();
1894
+ n.value.viewer.viewport.toggleFlip();
1892
1895
  }
1893
1896
  function Zt(z) {
1894
1897
  var V, Y;
@@ -1899,30 +1902,30 @@ const Co = ["element-loading-text"], $o = {
1899
1902
  }
1900
1903
  function yt(z) {
1901
1904
  var V;
1902
- (V = o.value) != null && V.grid && o.value.grid.updated(z);
1905
+ (V = n.value) != null && V.grid && n.value.grid.updated(z);
1903
1906
  }
1904
1907
  function wt(z) {
1905
1908
  var V;
1906
- (V = o.value) != null && V.graduation && o.value.graduation.updated(z);
1909
+ (V = n.value) != null && V.graduation && n.value.graduation.updated(z);
1907
1910
  }
1908
1911
  function _t(z) {
1909
1912
  var V;
1910
- (V = o.value) != null && V.navigator && (o.value.navigator.element.style.display = z ? "flex" : "none");
1913
+ (V = n.value) != null && V.navigator && (n.value.navigator.element.style.display = z ? "flex" : "none");
1911
1914
  }
1912
1915
  function tt(z) {
1913
- const V = o.value.viewer.viewport.imageToViewportZoom(Number(z / o.value.$options.scale));
1914
- o.value.viewer.viewport.zoomTo(V);
1916
+ const V = n.value.viewer.viewport.imageToViewportZoom(Number(z / n.value.$options.scale));
1917
+ n.value.viewer.viewport.zoomTo(V);
1915
1918
  }
1916
1919
  function lt(z, V) {
1917
- o.value.area && (o.value.area.moveToLabel(o.value.viewer.viewport.imageToViewportCoordinates(
1920
+ n.value.area && (n.value.area.moveToLabel(n.value.viewer.viewport.imageToViewportCoordinates(
1918
1921
  z.x + z.width / 2,
1919
1922
  z.y + z.height / 2
1920
1923
  )), tt(V));
1921
1924
  }
1922
- return de("kfbView", o), de("currentLabel", et), e({
1923
- kfbView: o,
1925
+ return de("kfbView", n), de("currentLabel", et), e({
1926
+ kfbView: n,
1924
1927
  degrees: c,
1925
- zoom: n,
1928
+ zoom: a,
1926
1929
  forceRedraw: Me,
1927
1930
  toggleFlip: gt,
1928
1931
  startDraw: ht,
@@ -1940,65 +1943,65 @@ const Co = ["element-loading-text"], $o = {
1940
1943
  reloadLabelList: At
1941
1944
  }), (z, V) => {
1942
1945
  var Y, se, me;
1943
- return w(), L("div", {
1946
+ return w(), x("div", {
1944
1947
  ref_key: "mainKfbViewRef",
1945
1948
  ref: s,
1946
1949
  class: "hzzt-kfb-view"
1947
1950
  }, [
1948
- z.slide.file ? Le((w(), L("div", {
1951
+ z.slide.file ? xe((w(), x("div", {
1949
1952
  key: 0,
1950
1953
  ref_key: "kfbViewMainRef",
1951
1954
  ref: m,
1952
1955
  class: "hzzt-kfb-view__main",
1953
- "element-loading-text": a(v)("加载中"),
1956
+ "element-loading-text": o(v)("加载中"),
1954
1957
  "element-loading-background": "rgba(0, 0, 0, 0.8)"
1955
1958
  }, null, 8, Co)), [
1956
- [a(P), d.value]
1957
- ]) : (w(), L("div", $o, V[5] || (V[5] = [
1959
+ [o(P), d.value]
1960
+ ]) : (w(), x("div", $o, V[5] || (V[5] = [
1958
1961
  k("img", {
1959
1962
  style: { width: "50%" },
1960
1963
  src: Ze
1961
1964
  }, null, -1)
1962
1965
  ]))),
1963
- z.analysis && z.analysis.result ? (w(), H(a(Vt), {
1966
+ z.analysis && z.analysis.result ? (w(), H(o(Vt), {
1964
1967
  key: 2,
1965
1968
  class: "hzzt-kfb-view__tag",
1966
- type: a(te).type
1969
+ type: o(te).type
1967
1970
  }, {
1968
- default: x(() => [
1969
- K(E(a(te).name), 1)
1971
+ default: L(() => [
1972
+ K(E(o(te).name), 1)
1970
1973
  ]),
1971
1974
  _: 1
1972
1975
  }, 8, ["type"])) : R("", !0),
1973
- (w(), L("svg", To, [
1974
- k("filter", xo, [
1976
+ (w(), x("svg", To, [
1977
+ k("filter", Lo, [
1975
1978
  k("feColorMatrix", {
1976
- values: a(re),
1979
+ values: o(re),
1977
1980
  type: "matrix"
1978
- }, null, 8, Lo),
1981
+ }, null, 8, xo),
1979
1982
  k("feColorMatrix", {
1980
- values: a(le),
1983
+ values: o(le),
1981
1984
  type: "saturate"
1982
1985
  }, null, 8, Eo),
1983
1986
  k("feComponentTransfer", null, [
1984
1987
  k("feFuncR", {
1985
1988
  id: "feFuncR",
1986
1989
  type: "gamma",
1987
- exponent: a(j).ga,
1990
+ exponent: o(j).ga,
1988
1991
  amplitude: "1",
1989
1992
  offset: "0"
1990
1993
  }, null, 8, Vo),
1991
1994
  k("feFuncG", {
1992
1995
  id: "feFuncG",
1993
1996
  type: "gamma",
1994
- exponent: a(j).ga,
1997
+ exponent: o(j).ga,
1995
1998
  amplitude: "1",
1996
1999
  offset: "0"
1997
2000
  }, null, 8, Io),
1998
2001
  k("feFuncB", {
1999
2002
  id: "feFuncB",
2000
2003
  type: "gamma",
2001
- exponent: a(j).ga,
2004
+ exponent: o(j).ga,
2002
2005
  amplitude: "1",
2003
2006
  offset: "0"
2004
2007
  }, null, 8, Mo)
@@ -2013,14 +2016,15 @@ const Co = ["element-loading-text"], $o = {
2013
2016
  ref_key: "microscopeRef",
2014
2017
  ref: _
2015
2018
  }), null, 16),
2016
- a(p) && z.slide.file && g.value.labelImg ? (w(), H(to, {
2019
+ o(p) && z.slide.file && g.value.labelImg ? (w(), H(to, {
2017
2020
  key: 3,
2021
+ visible: z.showLabel,
2018
2022
  info: g.value,
2019
2023
  slide: z.slide,
2020
2024
  pathologyHandle: z.pathologyHandle,
2021
2025
  onTool: pt
2022
- }, null, 8, ["info", "slide", "pathologyHandle"])) : R("", !0),
2023
- a(i) ? (w(), H(vo, { key: 4 })) : R("", !0),
2026
+ }, null, 8, ["visible", "info", "slide", "pathologyHandle"])) : R("", !0),
2027
+ o(i) ? (w(), H(vo, { key: 4 })) : R("", !0),
2024
2028
  (Y = z.slide.children) != null && Y.length ? (w(), H(mo, {
2025
2029
  key: 5,
2026
2030
  modelValue: f.value,
@@ -2034,33 +2038,33 @@ const Co = ["element-loading-text"], $o = {
2034
2038
  info: g.value,
2035
2039
  onLoad: Ot
2036
2040
  }, null, 8, ["modelValue", "info"])) : R("", !0),
2037
- a(ct).length ? (w(), H(zo, {
2041
+ o(ct).length ? (w(), H(zo, {
2038
2042
  key: 7,
2039
2043
  expand: B.value,
2040
2044
  "onUpdate:expand": V[2] || (V[2] = (O) => B.value = O),
2041
2045
  style: q({
2042
2046
  top: z.analysis && z.analysis.result ? "24px" : "4px"
2043
2047
  }),
2044
- annotation: a(et),
2045
- annotations: a(ct),
2046
- onSelect: a(dt)
2048
+ annotation: o(et),
2049
+ annotations: o(ct),
2050
+ onSelect: o(dt)
2047
2051
  }, null, 8, ["expand", "style", "annotation", "annotations", "onSelect"])) : R("", !0),
2048
- C(a(Ge), {
2052
+ C(o(Ge), {
2049
2053
  modelValue: h.value,
2050
2054
  "onUpdate:modelValue": V[3] || (V[3] = (O) => h.value = O),
2051
2055
  "append-to-body": !0,
2052
- title: a(v)("图像信息"),
2056
+ title: o(v)("图像信息"),
2053
2057
  width: "700px",
2054
2058
  top: "5vh"
2055
2059
  }, {
2056
- default: x(() => [
2057
- C(a(nt), { "label-position": "left" }, {
2058
- default: x(() => [
2059
- C(a(ie), {
2060
+ default: L(() => [
2061
+ C(o(nt), { "label-position": "left" }, {
2062
+ default: L(() => [
2063
+ C(o(ie), {
2060
2064
  class: "flex",
2061
2065
  "label-width": "0px"
2062
2066
  }, {
2063
- default: x(() => [
2067
+ default: L(() => [
2064
2068
  k("div", So, [
2065
2069
  k("img", {
2066
2070
  src: g.value.labelImg,
@@ -2075,51 +2079,51 @@ const Co = ["element-loading-text"], $o = {
2075
2079
  ]),
2076
2080
  _: 1
2077
2081
  }),
2078
- C(a(ie), {
2079
- label: a(v)("文件名")
2082
+ C(o(ie), {
2083
+ label: o(v)("文件名")
2080
2084
  }, {
2081
- default: x(() => [
2085
+ default: L(() => [
2082
2086
  k("span", Ro, E(g.value.fileName), 1)
2083
2087
  ]),
2084
2088
  _: 1
2085
2089
  }, 8, ["label"]),
2086
- C(a(ie), {
2087
- label: a(v)("图像像素")
2090
+ C(o(ie), {
2091
+ label: o(v)("图像像素")
2088
2092
  }, {
2089
- default: x(() => [
2093
+ default: L(() => [
2090
2094
  k("span", Ao, E(g.value.width) + "Pixel - " + E(g.value.height) + "Pixel", 1)
2091
2095
  ]),
2092
2096
  _: 1
2093
2097
  }, 8, ["label"]),
2094
- C(a(ie), {
2095
- label: a(v)("扫描倍率")
2098
+ C(o(ie), {
2099
+ label: o(v)("扫描倍率")
2096
2100
  }, {
2097
- default: x(() => [
2101
+ default: L(() => [
2098
2102
  k("span", No, E(g.value.scanScale), 1)
2099
2103
  ]),
2100
2104
  _: 1
2101
2105
  }, 8, ["label"]),
2102
- C(a(ie), {
2103
- label: a(v)("扫描时刻")
2106
+ C(o(ie), {
2107
+ label: o(v)("扫描时刻")
2104
2108
  }, {
2105
- default: x(() => [
2109
+ default: L(() => [
2106
2110
  k("span", Bo, E(g.value.scanTime), 1)
2107
2111
  ]),
2108
2112
  _: 1
2109
2113
  }, 8, ["label"]),
2110
- C(a(ie), {
2111
- label: a(v)("扫描时间")
2114
+ C(o(ie), {
2115
+ label: o(v)("扫描时间")
2112
2116
  }, {
2113
- default: x(() => [
2117
+ default: L(() => [
2114
2118
  k("span", Do, E(g.value.scanDuration || 0) + "s", 1)
2115
2119
  ]),
2116
2120
  _: 1
2117
2121
  }, 8, ["label"]),
2118
- g.value.ext ? (w(), H(a(ie), {
2122
+ g.value.ext ? (w(), H(o(ie), {
2119
2123
  key: 0,
2120
- label: a(v)("扫描设备")
2124
+ label: o(v)("扫描设备")
2121
2125
  }, {
2122
- default: x(() => [
2126
+ default: L(() => [
2123
2127
  k("span", Uo, E(g.value.ext.machineNum || ""), 1)
2124
2128
  ]),
2125
2129
  _: 1
@@ -2130,44 +2134,44 @@ const Co = ["element-loading-text"], $o = {
2130
2134
  ]),
2131
2135
  _: 1
2132
2136
  }, 8, ["modelValue", "title"]),
2133
- C(a(Ge), {
2134
- modelValue: a(He),
2137
+ C(o(Ge), {
2138
+ modelValue: o(He),
2135
2139
  "onUpdate:modelValue": V[4] || (V[4] = (O) => pe(He) ? He.value = O : null),
2136
2140
  "append-to-body": !0,
2137
- title: a(v)("语音输入"),
2141
+ title: o(v)("语音输入"),
2138
2142
  width: "500px",
2139
2143
  top: "5vh"
2140
2144
  }, {
2141
- footer: x(() => [
2142
- C(a(_e), { onClick: a(Ht) }, {
2143
- default: x(() => [
2144
- K(E(a(v)("取消")), 1)
2145
+ footer: L(() => [
2146
+ C(o(_e), { onClick: o(Ht) }, {
2147
+ default: L(() => [
2148
+ K(E(o(v)("取消")), 1)
2145
2149
  ]),
2146
2150
  _: 1
2147
2151
  }, 8, ["onClick"]),
2148
- C(a(_e), {
2152
+ C(o(_e), {
2149
2153
  type: "primary",
2150
- onClick: a(Pt)
2154
+ onClick: o(Pt)
2151
2155
  }, {
2152
- default: x(() => [
2153
- K(E(a(v)("确定")), 1)
2156
+ default: L(() => [
2157
+ K(E(o(v)("确定")), 1)
2154
2158
  ]),
2155
2159
  _: 1
2156
2160
  }, 8, ["onClick"])
2157
2161
  ]),
2158
- default: x(() => [
2159
- C(a(nt), { "label-position": "left" }, {
2160
- default: x(() => {
2162
+ default: L(() => [
2163
+ C(o(nt), { "label-position": "left" }, {
2164
+ default: L(() => {
2161
2165
  var O;
2162
2166
  return [
2163
- C(a(ie), null, {
2164
- default: x(() => {
2167
+ C(o(ie), null, {
2168
+ default: L(() => {
2165
2169
  var U;
2166
2170
  return [
2167
- (U = a(Pe)) != null && U.src ? (w(), L("audio", {
2171
+ (U = o(Pe)) != null && U.src ? (w(), x("audio", {
2168
2172
  key: 0,
2169
2173
  class: "width-100%",
2170
- src: a(Pe).src,
2174
+ src: o(Pe).src,
2171
2175
  controls: "",
2172
2176
  preload: "auto"
2173
2177
  }, null, 8, Fo)) : R("", !0)
@@ -2175,28 +2179,28 @@ const Co = ["element-loading-text"], $o = {
2175
2179
  }),
2176
2180
  _: 1
2177
2181
  }),
2178
- (O = a(Pe)) != null && O.src ? R("", !0) : (w(), H(a(ie), { key: 0 }, {
2179
- default: x(() => [
2180
- a(A) ? (w(), H(a(_e), {
2182
+ (O = o(Pe)) != null && O.src ? R("", !0) : (w(), H(o(ie), { key: 0 }, {
2183
+ default: L(() => [
2184
+ o(A) ? (w(), H(o(_e), {
2181
2185
  key: 1,
2182
2186
  type: "danger",
2183
- onClick: a(ce)
2187
+ onClick: o(ce)
2184
2188
  }, {
2185
- default: x(() => [
2186
- K(E(a(v)("结束录音")), 1)
2189
+ default: L(() => [
2190
+ K(E(o(v)("结束录音")), 1)
2187
2191
  ]),
2188
2192
  _: 1
2189
- }, 8, ["onClick"])) : (w(), H(a(_e), {
2193
+ }, 8, ["onClick"])) : (w(), H(o(_e), {
2190
2194
  key: 0,
2191
2195
  type: "primary",
2192
- onClick: a(F)
2196
+ onClick: o(F)
2193
2197
  }, {
2194
- default: x(() => [
2195
- K(E(a(v)("开始录音")), 1)
2198
+ default: L(() => [
2199
+ K(E(o(v)("开始录音")), 1)
2196
2200
  ]),
2197
2201
  _: 1
2198
2202
  }, 8, ["onClick"])),
2199
- a(A) ? (w(), L("span", Ko, E(a(v)("录音时长")) + ":" + E(a($)) + "s", 1)) : R("", !0)
2203
+ o(A) ? (w(), x("span", Ko, E(o(v)("录音时长")) + ":" + E(o($)) + "s", 1)) : R("", !0)
2200
2204
  ]),
2201
2205
  _: 1
2202
2206
  }))
@@ -2207,17 +2211,17 @@ const Co = ["element-loading-text"], $o = {
2207
2211
  ]),
2208
2212
  _: 1
2209
2213
  }, 8, ["modelValue", "title"]),
2210
- z.analysis && z.analysis.hotmap_path && z.analysis.hotmap_type !== "switch" ? (w(), L("div", {
2214
+ z.analysis && z.analysis.hotmap_path && z.analysis.hotmap_type !== "switch" ? (w(), x("div", {
2211
2215
  key: 8,
2212
2216
  class: "hzzt-kfb-view__hotmap",
2213
- style: q({ left: a(Kt) + "px" })
2217
+ style: q({ left: o(Kt) + "px" })
2214
2218
  }, [
2215
- C(a(ze), {
2219
+ C(o(ze), {
2216
2220
  class: "icon-caret-left",
2217
2221
  size: "30",
2218
- onMousedown: a(vt)
2222
+ onMousedown: o(vt)
2219
2223
  }, {
2220
- default: x(() => V[6] || (V[6] = [
2224
+ default: L(() => V[6] || (V[6] = [
2221
2225
  k("svg", {
2222
2226
  xmlns: "http://www.w3.org/2000/svg",
2223
2227
  viewBox: "0 0 1024 1024"
@@ -2231,12 +2235,12 @@ const Co = ["element-loading-text"], $o = {
2231
2235
  _: 1,
2232
2236
  __: [6]
2233
2237
  }, 8, ["onMousedown"]),
2234
- C(a(ze), {
2238
+ C(o(ze), {
2235
2239
  class: "icon-caret-right",
2236
2240
  size: "30",
2237
- onMousedown: a(vt)
2241
+ onMousedown: o(vt)
2238
2242
  }, {
2239
- default: x(() => V[7] || (V[7] = [
2243
+ default: L(() => V[7] || (V[7] = [
2240
2244
  k("svg", {
2241
2245
  xmlns: "http://www.w3.org/2000/svg",
2242
2246
  viewBox: "0 0 1024 1024"
@@ -2251,7 +2255,7 @@ const Co = ["element-loading-text"], $o = {
2251
2255
  __: [7]
2252
2256
  }, 8, ["onMousedown"])
2253
2257
  ], 4)) : R("", !0),
2254
- a(I) ? (w(), L("div", jo)) : R("", !0),
2258
+ o(I) ? (w(), x("div", jo)) : R("", !0),
2255
2259
  fe(z.$slots, "default")
2256
2260
  ], 512);
2257
2261
  };
@@ -2269,16 +2273,16 @@ function Oo(u, e) {
2269
2273
  var p;
2270
2274
  return (p = u.ai) == null ? void 0 : p.default;
2271
2275
  }, () => {
2272
- o();
2276
+ n();
2273
2277
  }), ee(() => {
2274
2278
  var p;
2275
2279
  return (p = e == null ? void 0 : e.value) == null ? void 0 : p.id;
2276
2280
  }, () => {
2277
- o(), d();
2281
+ n(), d();
2278
2282
  }), he(() => {
2279
- o(), d();
2283
+ n(), d();
2280
2284
  });
2281
- function o() {
2285
+ function n() {
2282
2286
  var p, i, I;
2283
2287
  l.value = !!((p = u.ai) != null && p.default), t.value = !!((i = u.ai) != null && i.default), _.value && l.value && (t.value = !1), s.value && t.value && (l.value = !1), (I = e.value) != null && I.id && (_.value || (l.value = !1), s.value || (t.value = !1));
2284
2288
  }
@@ -2293,7 +2297,7 @@ function Oo(u, e) {
2293
2297
  y.value = [];
2294
2298
  });
2295
2299
  }
2296
- function n() {
2300
+ function a() {
2297
2301
  t.value = !1, d();
2298
2302
  }
2299
2303
  function f() {
@@ -2307,7 +2311,7 @@ function Oo(u, e) {
2307
2311
  enableAi: l,
2308
2312
  enableIqc: t,
2309
2313
  toggleIqc: f,
2310
- toggleAi: n
2314
+ toggleAi: a
2311
2315
  };
2312
2316
  }
2313
2317
  const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
@@ -2353,8 +2357,8 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
2353
2357
  zIndex: "10000"
2354
2358
  }));
2355
2359
  function r(h) {
2356
- const o = h.target;
2357
- l < e.retryTimes ? (o.src = e.src, l++) : o.src = Ze;
2360
+ const n = h.target;
2361
+ l < e.retryTimes ? (n.src = e.src, l++) : n.src = Ze;
2358
2362
  }
2359
2363
  function s(h) {
2360
2364
  if (!e.hover) return;
@@ -2364,20 +2368,20 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
2364
2368
  if (f.tagName === "IMG" ? g = f.src || "" : b === "DIV" && (g = f.children[0].src || ""), g.indexOf(Ze) > -1)
2365
2369
  return;
2366
2370
  }
2367
- const { x: o, y: d } = m(h), c = 4 * 300 / 3, n = 300;
2368
- y.x = Math.min(Math.max(o, c / 2), window.innerWidth - c / 2), y.y = Math.min(Math.max(d, n / 2), window.innerHeight - n / 2), t.value = !0;
2371
+ const { x: n, y: d } = m(h), c = 4 * 300 / 3, a = 300;
2372
+ y.x = Math.min(Math.max(n, c / 2), window.innerWidth - c / 2), y.y = Math.min(Math.max(d, a / 2), window.innerHeight - a / 2), t.value = !0;
2369
2373
  }
2370
2374
  function m(h) {
2371
- const o = h.target, d = h.offsetX, c = h.offsetY, n = o.clientWidth, f = o.clientHeight;
2375
+ const n = h.target, d = h.offsetX, c = h.offsetY, a = n.clientWidth, f = n.clientHeight;
2372
2376
  return {
2373
- x: h.clientX + n - d,
2377
+ x: h.clientX + a - d,
2374
2378
  y: h.clientY - c + f / 2
2375
2379
  };
2376
2380
  }
2377
2381
  function _() {
2378
2382
  t.value = !1;
2379
2383
  }
2380
- return (h, o) => (w(), L("div", {
2384
+ return (h, n) => (w(), x("div", {
2381
2385
  class: "relative",
2382
2386
  onMouseenter: s,
2383
2387
  onMouseleave: _
@@ -2392,7 +2396,7 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
2392
2396
  }
2393
2397
  }, null, 40, Go),
2394
2398
  (w(), H(je, { to: "body" }, [
2395
- t.value ? (w(), L("div", {
2399
+ t.value ? (w(), x("div", {
2396
2400
  key: 0,
2397
2401
  class: "fixed hzzt-kfb-img-triangle-left",
2398
2402
  style: q(v.value)
@@ -2405,7 +2409,7 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
2405
2409
  height: "100%",
2406
2410
  width: "100%"
2407
2411
  },
2408
- onMouseenter: o[0] || (o[0] = () => {
2412
+ onMouseenter: n[0] || (n[0] = () => {
2409
2413
  t.value = !0;
2410
2414
  }),
2411
2415
  onMouseleave: _
@@ -2419,7 +2423,7 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
2419
2423
  viewBox: "0 0 1024 1024"
2420
2424
  };
2421
2425
  function Yo(u, e) {
2422
- return w(), L("svg", Zo, e[0] || (e[0] = [
2426
+ return w(), x("svg", Zo, e[0] || (e[0] = [
2423
2427
  k("path", {
2424
2428
  fill: "currentColor",
2425
2429
  d: "M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"
@@ -2434,7 +2438,7 @@ const Xo = /* @__PURE__ */ ge(qo, [["render", Yo]]), Qo = {}, Jo = {
2434
2438
  xmlns: "http://www.w3.org/2000/svg"
2435
2439
  };
2436
2440
  function ea(u, e) {
2437
- return w(), L("svg", Jo, e[0] || (e[0] = [
2441
+ return w(), x("svg", Jo, e[0] || (e[0] = [
2438
2442
  k("g", { id: "Frame" }, [
2439
2443
  k("path", {
2440
2444
  id: "Vector",
@@ -2457,7 +2461,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2457
2461
  }, ka = { class: "w-40% flex" }, za = ["onClick"], Ca = ["onClick"], $a = {
2458
2462
  key: 0,
2459
2463
  class: "flex column py-2"
2460
- }, Ta = { class: "flex align-items-center justify-content-center" }, xa = { class: "margin-r-1" }, La = {
2464
+ }, Ta = { class: "flex align-items-center justify-content-center" }, La = { class: "margin-r-1" }, xa = {
2461
2465
  key: 0,
2462
2466
  class: "margin-r-1 margin-l-2"
2463
2467
  }, Ea = /* @__PURE__ */ J({
@@ -2473,11 +2477,11 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2473
2477
  value: !1
2474
2478
  }), s = Z("sync", {
2475
2479
  value: !1
2476
- }), m = T(!1), _ = T(), h = N(() => t.slides.filter(({ read: b }) => b)), o = N(() => t.slides.filter(({ check: b }) => b)), { t: d } = ue();
2480
+ }), m = T(!1), _ = T(), h = N(() => t.slides.filter(({ read: b }) => b)), n = N(() => t.slides.filter(({ check: b }) => b)), { t: d } = ue();
2477
2481
  function c(b) {
2478
2482
  v.value = b, y("select", b);
2479
2483
  }
2480
- function n(b) {
2484
+ function a(b) {
2481
2485
  b.check = !b.check;
2482
2486
  }
2483
2487
  function f(b) {
@@ -2487,7 +2491,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2487
2491
  }
2488
2492
  return e({
2489
2493
  jumpToSlide: f
2490
- }), (b, g) => (w(), L("div", la, [
2494
+ }), (b, g) => (w(), x("div", la, [
2491
2495
  k("div", oa, [
2492
2496
  k("div", aa, [
2493
2497
  k("span", null, [
@@ -2496,25 +2500,25 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2496
2500
  K("/" + E(b.slides.length), 1)
2497
2501
  ]),
2498
2502
  k("div", sa, [
2499
- C(a(ze), {
2503
+ C(o(ze), {
2500
2504
  class: "margin-r-2 pointer",
2501
2505
  size: "16",
2502
2506
  color: m.value ? "#999" : "#000",
2503
2507
  onClick: g[0] || (g[0] = (p) => m.value = !m.value)
2504
2508
  }, {
2505
- default: x(() => [
2509
+ default: L(() => [
2506
2510
  C(Xo)
2507
2511
  ]),
2508
2512
  _: 1
2509
2513
  }, 8, ["color"]),
2510
- C(a(ze), {
2514
+ C(o(ze), {
2511
2515
  class: "pointer",
2512
2516
  name: "cus-list",
2513
2517
  size: "16",
2514
2518
  color: m.value ? "#000" : "#999",
2515
2519
  onClick: g[1] || (g[1] = (p) => m.value = !m.value)
2516
2520
  }, {
2517
- default: x(() => [
2521
+ default: L(() => [
2518
2522
  C(ta)
2519
2523
  ]),
2520
2524
  _: 1
@@ -2527,19 +2531,19 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2527
2531
  ref_key: "slidesRef",
2528
2532
  ref: _
2529
2533
  }, [
2530
- m.value ? (w(), L("ul", fa, [
2534
+ m.value ? (w(), x("ul", fa, [
2531
2535
  k("li", ma, [
2532
2536
  g[5] || (g[5] = k("div", { class: "w-10%" }, null, -1)),
2533
- k("div", pa, E(a(d)("缩略图")), 1),
2534
- k("div", ha, E(a(d)("切片名")), 1),
2535
- k("div", ga, E(a(d)("评分")), 1)
2537
+ k("div", pa, E(o(d)("缩略图")), 1),
2538
+ k("div", ha, E(o(d)("切片名")), 1),
2539
+ k("div", ga, E(o(d)("评分")), 1)
2536
2540
  ]),
2537
- (w(!0), L(oe, null, ae(b.slides, (p, i) => (w(), L("li", {
2541
+ (w(!0), x(oe, null, ae(b.slides, (p, i) => (w(), x("li", {
2538
2542
  key: i,
2539
2543
  "data-index": i,
2540
2544
  class: "flex align-items-center overflow-hidden",
2541
2545
  style: q({
2542
- backgroundColor: a(v) === i ? "rgba(6, 85, 195, 0.1)" : "#fff"
2546
+ backgroundColor: o(v) === i ? "rgba(6, 85, 195, 0.1)" : "#fff"
2543
2547
  }),
2544
2548
  onClick: (I) => c(i)
2545
2549
  }, [
@@ -2548,7 +2552,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2548
2552
  onClick: Fe(() => {
2549
2553
  }, ["stop"])
2550
2554
  }, [
2551
- C(a(We), {
2555
+ C(o(We), {
2552
2556
  modelValue: p.check,
2553
2557
  "onUpdate:modelValue": (I) => p.check = I,
2554
2558
  style: { width: "14px", height: "16px" }
@@ -2570,21 +2574,21 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2570
2574
  style: { height: "45px" },
2571
2575
  class: "flex-1"
2572
2576
  }, null, 8, ["src"]),
2573
- p.read ? R("", !0) : (w(), L("div", ba, E(a(d)("未读")), 1))
2577
+ p.read ? R("", !0) : (w(), x("div", ba, E(o(d)("未读")), 1))
2574
2578
  ])
2575
2579
  ]),
2576
2580
  k("div", ka, [
2577
- C(a(Lt), {
2581
+ C(o(xt), {
2578
2582
  effect: "dark",
2579
2583
  placement: "bottom",
2580
2584
  content: `${p.name}`
2581
2585
  }, {
2582
- default: x(() => [
2586
+ default: L(() => [
2583
2587
  k("span", {
2584
2588
  style: { "line-height": "16px" },
2585
2589
  class: "margin-l-1 ellipsis hzzt-kfb-slides__text",
2586
2590
  dir: "rtl",
2587
- onClick: Fe((I) => n(p), ["stop"])
2591
+ onClick: Fe((I) => a(p), ["stop"])
2588
2592
  }, E(p.name), 9, za)
2589
2593
  ]),
2590
2594
  _: 2
@@ -2598,10 +2602,10 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2598
2602
  onClick: (I) => y("tool", "grade", p)
2599
2603
  }, E(p.grade), 13, Ca)
2600
2604
  ], 12, ya))), 128))
2601
- ])) : (w(), L("div", ia, [
2602
- (w(!0), L(oe, null, ae(b.slides, (p, i) => (w(), L("div", {
2605
+ ])) : (w(), x("div", ia, [
2606
+ (w(!0), x(oe, null, ae(b.slides, (p, i) => (w(), x("div", {
2603
2607
  key: i,
2604
- class: ke(["hzzt-kfb-slides__box", a(v) === i ? "hzzt-kfb-slides__box--active" : ""]),
2608
+ class: ke(["hzzt-kfb-slides__box", o(v) === i ? "hzzt-kfb-slides__box--active" : ""]),
2605
2609
  "data-index": i,
2606
2610
  onClick: (I) => c(i)
2607
2611
  }, [
@@ -2626,28 +2630,28 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2626
2630
  onClick: Fe(() => {
2627
2631
  }, ["stop"])
2628
2632
  }, [
2629
- C(a(We), {
2633
+ C(o(We), {
2630
2634
  modelValue: p.check,
2631
2635
  "onUpdate:modelValue": (I) => p.check = I,
2632
2636
  style: { width: "14px", height: "16px" }
2633
2637
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
2634
- C(a(Lt), {
2638
+ C(o(xt), {
2635
2639
  effect: "dark",
2636
2640
  placement: "bottom",
2637
2641
  content: `${p.name}`
2638
2642
  }, {
2639
- default: x(() => [
2643
+ default: L(() => [
2640
2644
  k("span", {
2641
2645
  style: { "line-height": "16px", "text-align": "center", width: "calc(100% - 14px)" },
2642
2646
  class: "margin-l-1 ellipsis",
2643
- onClick: Fe((I) => n(p), ["stop"])
2647
+ onClick: Fe((I) => a(p), ["stop"])
2644
2648
  }, E(p.name), 9, ca)
2645
2649
  ]),
2646
2650
  _: 2
2647
2651
  }, 1032, ["content"])
2648
2652
  ]),
2649
- p.read ? R("", !0) : (w(), L("div", da, E(a(d)("未读")), 1)),
2650
- p.grade ? (w(), L("div", {
2653
+ p.read ? R("", !0) : (w(), x("div", da, E(o(d)("未读")), 1)),
2654
+ p.grade ? (w(), x("div", {
2651
2655
  key: 1,
2652
2656
  class: "hzzt-kfb-slides__grade",
2653
2657
  style: q({
@@ -2659,17 +2663,17 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2659
2663
  ], 10, ra))), 128))
2660
2664
  ]))
2661
2665
  ], 512),
2662
- o.value.length > 1 ? (w(), L("div", $a, [
2666
+ n.value.length > 1 ? (w(), x("div", $a, [
2663
2667
  k("div", Ta, [
2664
- k("span", xa, E(a(d)("分屏")), 1),
2665
- C(a(Ee), {
2666
- modelValue: a(r),
2668
+ k("span", La, E(o(d)("分屏")), 1),
2669
+ C(o(Ee), {
2670
+ modelValue: o(r),
2667
2671
  "onUpdate:modelValue": g[2] || (g[2] = (p) => pe(r) ? r.value = p : null)
2668
2672
  }, null, 8, ["modelValue"]),
2669
- a(r) ? (w(), L("span", La, E(a(d)("同步")), 1)) : R("", !0),
2670
- a(r) ? (w(), H(a(Ee), {
2673
+ o(r) ? (w(), x("span", xa, E(o(d)("同步")), 1)) : R("", !0),
2674
+ o(r) ? (w(), H(o(Ee), {
2671
2675
  key: 1,
2672
- modelValue: a(s),
2676
+ modelValue: o(s),
2673
2677
  "onUpdate:modelValue": g[3] || (g[3] = (p) => pe(s) ? s.value = p : null)
2674
2678
  }, null, 8, ["modelValue"])) : R("", !0)
2675
2679
  ])
@@ -2688,13 +2692,13 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2688
2692
  analysis: {}
2689
2693
  },
2690
2694
  setup(u, { expose: e }) {
2691
- const l = u, { t } = ue(), y = Z("kfbViewRef"), v = T(-1), r = T(1), s = T(100), m = T(!0), _ = T([]), h = N(() => l.data.filter((I) => _.value.includes(I.cls || ""))), o = N(() => h.value.slice((r.value - 1) * s.value, r.value * s.value)), d = N(() => {
2695
+ const l = u, { t } = ue(), y = Z("kfbViewRef"), v = T(-1), r = T(1), s = T(100), m = T(!0), _ = T([]), h = N(() => l.data.filter((I) => _.value.includes(I.cls || ""))), n = N(() => h.value.slice((r.value - 1) * s.value, r.value * s.value)), d = N(() => {
2692
2696
  const I = /* @__PURE__ */ new Set();
2693
2697
  return l.data.forEach((B) => {
2694
2698
  const P = B.cls || "";
2695
2699
  P && !I.has(P) && I.add(P);
2696
2700
  }), Array.from(I);
2697
- }), c = N(() => _.value.length !== 0 && _.value.length !== d.value.length), n = St(l);
2701
+ }), c = N(() => _.value.length !== 0 && _.value.length !== d.value.length), a = St(l);
2698
2702
  ee(() => d.value, (I) => {
2699
2703
  f(), _.value = [...I];
2700
2704
  }), he(() => {
@@ -2719,50 +2723,50 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2719
2723
  }
2720
2724
  return e({
2721
2725
  labelList: h
2722
- }), (I, B) => (w(), L("div", Ia, [
2726
+ }), (I, B) => (w(), x("div", Ia, [
2723
2727
  k("div", Ma, [
2724
- C(a(dl), {
2728
+ C(o(dl), {
2725
2729
  placement: "bottom",
2726
2730
  trigger: "click",
2727
2731
  width: "160"
2728
2732
  }, {
2729
- reference: x(() => [
2730
- C(a(_e), {
2733
+ reference: L(() => [
2734
+ C(o(_e), {
2731
2735
  class: "margin-r-1",
2732
2736
  type: "primary"
2733
2737
  }, {
2734
- default: x(() => [
2735
- K(E(a(t)("分类")) + " ", 1),
2738
+ default: L(() => [
2739
+ K(E(o(t)("分类")) + " ", 1),
2736
2740
  C(Q, { name: "arrowDown" })
2737
2741
  ]),
2738
2742
  _: 1
2739
2743
  })
2740
2744
  ]),
2741
- default: x(() => [
2745
+ default: L(() => [
2742
2746
  k("div", null, [
2743
- C(a(We), {
2747
+ C(o(We), {
2744
2748
  modelValue: m.value,
2745
2749
  "onUpdate:modelValue": B[0] || (B[0] = (P) => m.value = P),
2746
2750
  indeterminate: c.value,
2747
2751
  onChange: i
2748
2752
  }, {
2749
- default: x(() => [
2750
- K(E(a(t)("全选")), 1)
2753
+ default: L(() => [
2754
+ K(E(o(t)("全选")), 1)
2751
2755
  ]),
2752
2756
  _: 1
2753
2757
  }, 8, ["modelValue", "indeterminate"]),
2754
- C(a(vl), {
2758
+ C(o(vl), {
2755
2759
  modelValue: _.value,
2756
2760
  "onUpdate:modelValue": B[1] || (B[1] = (P) => _.value = P),
2757
2761
  class: "flex column",
2758
2762
  onChange: p
2759
2763
  }, {
2760
- default: x(() => [
2761
- (w(!0), L(oe, null, ae(d.value, (P) => (w(), H(a(We), {
2764
+ default: L(() => [
2765
+ (w(!0), x(oe, null, ae(d.value, (P) => (w(), H(o(We), {
2762
2766
  key: P,
2763
2767
  value: P
2764
2768
  }, {
2765
- default: x(() => [
2769
+ default: L(() => [
2766
2770
  K(E(P) + " ", 1),
2767
2771
  k("span", Sa, E(g(P)), 1)
2768
2772
  ]),
@@ -2775,37 +2779,37 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2775
2779
  ]),
2776
2780
  _: 1
2777
2781
  }),
2778
- C(a(Vt), {
2779
- type: a(n).type,
2782
+ C(o(Vt), {
2783
+ type: o(a).type,
2780
2784
  class: "margin-l-1"
2781
2785
  }, {
2782
- default: x(() => [
2783
- K(E(a(n).name), 1)
2786
+ default: L(() => [
2787
+ K(E(o(a).name), 1)
2784
2788
  ]),
2785
2789
  _: 1
2786
2790
  }, 8, ["type"])
2787
2791
  ]),
2788
2792
  k("div", Ha, [
2789
- (w(!0), L(oe, null, ae(o.value, (P, te) => (w(), L("div", {
2793
+ (w(!0), x(oe, null, ae(n.value, (P, te) => (w(), x("div", {
2790
2794
  key: te + (r.value - 1) * s.value,
2791
2795
  class: ke(`hzzt-kfb-ai__img ${v.value === te + (r.value - 1) * s.value ? "hzzt-kfb-ai__img--active" : ""}`),
2792
2796
  onClick: (ne) => b(P)
2793
2797
  }, [
2794
- C(a(ml), {
2798
+ C(o(ml), {
2795
2799
  "retry-times": 1,
2796
2800
  src: P.imageUrl,
2797
- "error-src": a(Ze)
2801
+ "error-src": o(Ze)
2798
2802
  }, null, 8, ["src", "error-src"]),
2799
2803
  k("div", {
2800
2804
  style: q({ color: P.strokeStyle }),
2801
2805
  class: "ellipsis"
2802
2806
  }, [
2803
2807
  K(E(P.cls) + " ", 1),
2804
- P.score ? (w(), L("span", Ra, E(P.score), 1)) : R("", !0)
2808
+ P.score ? (w(), x("span", Ra, E(P.score), 1)) : R("", !0)
2805
2809
  ], 4)
2806
2810
  ], 10, Pa))), 128))
2807
2811
  ]),
2808
- C(a(fl), {
2812
+ C(o(fl), {
2809
2813
  class: "wrap",
2810
2814
  "current-page": r.value,
2811
2815
  "onUpdate:currentPage": B[2] || (B[2] = (P) => r.value = P),
@@ -2846,7 +2850,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2846
2850
  }),
2847
2851
  emits: /* @__PURE__ */ be(["tool"], ["update:index"]),
2848
2852
  setup(u, { expose: e, emit: l }) {
2849
- const t = u, y = l, v = Be(u, "index"), r = N(() => t.slides[v.value]), s = N(() => t.slides.filter(({ check: $ }) => $)), m = T(), _ = T(), h = T(), o = T(), d = T(t.showKeyboard), c = T(t.showKfbLabel), n = T(t.showWatermark), f = T(t.showMenuText), b = T(!1), g = T(!1), { t: p } = ue(), i = N(() => {
2853
+ const t = u, y = l, v = Be(u, "index"), r = N(() => t.slides[v.value]), s = N(() => t.slides.filter(({ check: $ }) => $)), m = T(), _ = T(), h = T(), n = T(), d = T(t.showKeyboard), c = T(t.showKfbLabel), a = T(t.showWatermark), f = T(t.showMenuText), b = T(!1), g = T(!1), { t: p } = ue(), i = N(() => {
2850
2854
  var $;
2851
2855
  if (b.value) {
2852
2856
  const A = s.value.findIndex(({ id: F }) => {
@@ -2888,7 +2892,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2888
2892
  }), Object.entries({
2889
2893
  keyboard: d,
2890
2894
  kfbLabel: c,
2891
- watermark: n,
2895
+ watermark: a,
2892
2896
  menuText: f
2893
2897
  }).forEach(([$, A]) => {
2894
2898
  ee(() => A.value, (F) => {
@@ -2915,7 +2919,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2915
2919
  process: t.process,
2916
2920
  microscope: t.microscope,
2917
2921
  slide: $,
2918
- aiLabelList: r.value.id === $.id ? ((F = o.value) == null ? void 0 : F.labelList) || [] : [],
2922
+ aiLabelList: r.value.id === $.id ? ((F = n.value) == null ? void 0 : F.labelList) || [] : [],
2919
2923
  syncPosition: g.value,
2920
2924
  syncZoom: g.value,
2921
2925
  handle: void 0,
@@ -2949,7 +2953,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2949
2953
  function Je($, A) {
2950
2954
  i.value && i.value.jumpToPosition($, A);
2951
2955
  }
2952
- return de("kfbViewRef", i), de("show-keyboard", d), de("show-kfb-label", c), de("show-menu-text", f), de("show-watermark", n), de("file-index", v), de("divide", b), de("sync", g), e({
2956
+ return de("kfbViewRef", i), de("show-keyboard", d), de("show-kfb-label", c), de("show-menu-text", f), de("show-watermark", a), de("file-index", v), de("divide", b), de("sync", g), e({
2953
2957
  divide: b,
2954
2958
  slide: r,
2955
2959
  kfbViewRef: i,
@@ -2963,7 +2967,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2963
2967
  var $;
2964
2968
  return !!(($ = t.ai) != null && $.enable) && j.value.length;
2965
2969
  })
2966
- }), ($, A) => (w(), L("div", Na, [
2970
+ }), ($, A) => (w(), x("div", Na, [
2967
2971
  $.menus.length ? (w(), H(qe, {
2968
2972
  key: 0,
2969
2973
  menu: $.menus,
@@ -2971,34 +2975,34 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
2971
2975
  microscope: $.microscope,
2972
2976
  onTool: ye
2973
2977
  }, {
2974
- left: x(() => [
2978
+ left: L(() => [
2975
2979
  fe($.$slots, "left")
2976
2980
  ]),
2977
- right: x(() => [
2978
- C(a(Ee), {
2981
+ right: L(() => [
2982
+ C(o(Ee), {
2979
2983
  modelValue: c.value,
2980
2984
  "onUpdate:modelValue": A[0] || (A[0] = (F) => c.value = F),
2981
- "active-text": a(p)("隐藏标签"),
2985
+ "active-text": o(p)("隐藏标签"),
2982
2986
  "active-value": !1,
2983
2987
  "inactive-value": !0,
2984
2988
  class: "margin-r-2",
2985
2989
  onChange: Qe
2986
2990
  }, null, 8, ["modelValue", "active-text"]),
2987
- $.ai && $.ai.enable && a(te) ? (w(), H(a(Ee), {
2991
+ $.ai && $.ai.enable && o(te) ? (w(), H(o(Ee), {
2988
2992
  key: 0,
2989
- modelValue: a(le),
2993
+ modelValue: o(le),
2990
2994
  "onUpdate:modelValue": A[1] || (A[1] = (F) => pe(le) ? le.value = F : null),
2991
- "active-text": a(p)("AI质控"),
2995
+ "active-text": o(p)("AI质控"),
2992
2996
  class: "margin-r-2",
2993
- onChange: a(Me)
2997
+ onChange: o(Me)
2994
2998
  }, null, 8, ["modelValue", "active-text", "onChange"])) : R("", !0),
2995
- $.ai && $.ai.enable && a(P) ? (w(), H(a(Ee), {
2999
+ $.ai && $.ai.enable && o(P) ? (w(), H(o(Ee), {
2996
3000
  key: 1,
2997
- modelValue: a(re),
3001
+ modelValue: o(re),
2998
3002
  "onUpdate:modelValue": A[2] || (A[2] = (F) => pe(re) ? re.value = F : null),
2999
- "active-text": a(p)("AI分析"),
3003
+ "active-text": o(p)("AI分析"),
3000
3004
  class: "margin-r-2",
3001
- onChange: a(Se)
3005
+ onChange: o(Se)
3002
3006
  }, null, 8, ["modelValue", "active-text", "onChange"])) : R("", !0),
3003
3007
  fe($.$slots, "right")
3004
3008
  ]),
@@ -3019,7 +3023,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
3019
3023
  onSelect: Xe,
3020
3024
  onTool: ye
3021
3025
  }, {
3022
- slide: x(({ slide: F }) => [
3026
+ slide: L(({ slide: F }) => [
3023
3027
  fe($.$slots, "list", { slide: F })
3024
3028
  ]),
3025
3029
  _: 3
@@ -3031,8 +3035,8 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
3031
3035
  disabled: !$.teleport
3032
3036
  }, [
3033
3037
  k("div", Da, [
3034
- s.value.length && b.value ? (w(), L("ul", Ua, [
3035
- (w(!0), L(oe, null, ae(s.value, (F, ce) => (w(), L("li", {
3038
+ s.value.length && b.value ? (w(), x("ul", Ua, [
3039
+ (w(!0), x(oe, null, ae(s.value, (F, ce) => (w(), x("li", {
3036
3040
  key: ce,
3037
3041
  style: q(I.value),
3038
3042
  class: ke(r.value.id === F.id ? "hzzt-kfb-view-screen-active" : ""),
@@ -3044,7 +3048,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
3044
3048
  ref: h,
3045
3049
  key: `kfb-${ce}`
3046
3050
  }, { ref_for: !0 }, De(F), { onTool: ye }), {
3047
- default: x(() => [
3051
+ default: L(() => [
3048
3052
  fe($.$slots, "kfb", { slide: F })
3049
3053
  ]),
3050
3054
  _: 2
@@ -3055,14 +3059,14 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
3055
3059
  ref_key: "kfbViewRef",
3056
3060
  ref: _
3057
3061
  }, De(r.value), { onTool: ye }), {
3058
- default: x(() => [
3062
+ default: L(() => [
3059
3063
  fe($.$slots, "kfb", { slide: r.value })
3060
3064
  ]),
3061
3065
  _: 3
3062
3066
  }, 16)) : R("", !0)
3063
3067
  ])
3064
3068
  ], 8, ["disabled"])),
3065
- $.ai && $.ai.enable && a(j).length ? (w(), H(je, {
3069
+ $.ai && $.ai.enable && o(j).length ? (w(), H(je, {
3066
3070
  key: 1,
3067
3071
  defer: "",
3068
3072
  to: "#kfb-slide-ai",
@@ -3071,10 +3075,10 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
3071
3075
  C(Aa, {
3072
3076
  style: q($.teleport ? "" : "width: 350px"),
3073
3077
  ref_key: "kfbAiRef",
3074
- ref: o,
3075
- data: a(j),
3078
+ ref: n,
3079
+ data: o(j),
3076
3080
  slide: r.value,
3077
- analysis: a(ne)
3081
+ analysis: o(ne)
3078
3082
  }, null, 8, ["style", "data", "slide", "analysis"])
3079
3083
  ], 8, ["disabled"])) : R("", !0),
3080
3084
  fe($.$slots, "default")