@realsee/dnalogel 3.43.0 → 3.44.1

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 (158) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
  3. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
  4. package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
  5. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
  6. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
  7. package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  8. package/dist/Sculpt/Meshes/Line.d.ts +19 -1
  9. package/dist/Sculpt/utils/color.d.ts +1 -1
  10. package/dist/index.cjs.js +102 -68
  11. package/dist/index.js +7127 -6867
  12. package/dist/index.umd.js +106 -72
  13. package/dist/shared-utils/five/getPosition.d.ts +12 -4
  14. package/dist/shared-utils/five/initialCSS3DRender.d.ts +2 -0
  15. package/dist/shared-utils/math/deg2Rad.d.ts +1 -1
  16. package/dist/shared-utils/math/rad2Deg.d.ts +1 -1
  17. package/dist/shared-utils/positionToVector3.d.ts +6 -6
  18. package/{libs/shared-utils/three/PointSelector.d.ts → dist/shared-utils/three/PointSelector/index.d.ts} +23 -7
  19. package/dist/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
  20. package/dist/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
  21. package/dist/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
  22. package/dist/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
  23. package/dist/shared-utils/three/index.d.ts +2 -3
  24. package/libs/AreaMakerPlugin/Controller.js +5 -18
  25. package/libs/AreaMakerPlugin/index.js +4 -17
  26. package/libs/AreaMakerPlugin/utils/Item.js +13 -26
  27. package/libs/CSS3DRenderPlugin/Controller.js +9 -6
  28. package/libs/CSS3DRenderPlugin/index.js +12 -9
  29. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +6 -6
  30. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
  31. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +73 -56
  32. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +11 -4
  33. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
  34. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +14 -14
  35. package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
  36. package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +13 -0
  37. package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +85 -0
  38. package/libs/CruisePlugin/BaseController.js +20 -33
  39. package/libs/CruisePlugin/Move.js +25 -23
  40. package/libs/CruisePlugin/Work.js +10 -8
  41. package/libs/CruisePlugin/index.js +23 -21
  42. package/libs/CurrentPanoImagePlugin/Controller.js +30 -43
  43. package/libs/CurrentPanoImagePlugin/index.js +5 -18
  44. package/libs/GuideLinePlugin/Controller.js +15 -13
  45. package/libs/GuideLinePlugin/GuideLineItem.js +19 -17
  46. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -5
  47. package/libs/GuideLinePlugin/GuideLineModeItem.js +21 -19
  48. package/libs/GuideLinePlugin/index.js +23 -21
  49. package/libs/ModelMakerPlugin/Controller.js +19 -30
  50. package/libs/ModelMakerPlugin/index.js +11 -22
  51. package/libs/ModelTVVideoPlugin/Plugin.js +13 -10
  52. package/libs/ModelTVVideoPlugin/index.js +12 -9
  53. package/libs/Object3DHelperPlugin/Controller.js +7 -5
  54. package/libs/Object3DHelperPlugin/index.js +23 -21
  55. package/libs/PanoCompassPlugin/Controller.js +18 -15
  56. package/libs/PanoCompassPlugin/index.js +21 -18
  57. package/libs/PanoDoorLabelPlugin/BaseController.js +24 -37
  58. package/libs/PanoDoorLabelPlugin/Controller.js +56 -69
  59. package/libs/PanoDoorLabelPlugin/index.js +5 -18
  60. package/libs/PanoMeasurePlugin/Components/Controller0.js +40 -47
  61. package/libs/PanoMeasurePlugin/Components/Controller1.js +72 -79
  62. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
  63. package/libs/PanoMeasurePlugin/Controller/BaseController.js +53 -39
  64. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
  65. package/libs/PanoMeasurePlugin/Controller/EditController.js +177 -153
  66. package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -1
  67. package/libs/PanoMeasurePlugin/Controller/WatchController.js +60 -74
  68. package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  69. package/libs/PanoMeasurePlugin/Controller/index.js +59 -60
  70. package/libs/PanoMeasurePlugin/Model/area.js +30 -44
  71. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -16
  72. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +42 -49
  73. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -1
  74. package/libs/PanoMeasurePlugin/index.js +35 -40
  75. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +23 -36
  76. package/libs/PanoSpatialTagPlugin/Plugin.js +41 -38
  77. package/libs/PanoSpatialTagPlugin/index.js +10 -7
  78. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +29 -43
  79. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -69
  80. package/libs/PanoTagPlugin/Components/Tag/index.js +9 -19
  81. package/libs/PanoTagPlugin/Components/TagContainer.js +42 -52
  82. package/libs/PanoTagPlugin/Components/TagItem.js +9 -19
  83. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +56 -64
  84. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -39
  85. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +11 -21
  86. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -28
  87. package/libs/PanoTagPlugin/controller/TagRender.js +18 -16
  88. package/libs/PanoTagPlugin/controller/TagUtil.js +12 -9
  89. package/libs/PanoTagPlugin/controller/index.js +27 -25
  90. package/libs/PanoTagPlugin/index.js +28 -26
  91. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +43 -57
  92. package/libs/PanoVideoPlugin/Controller.js +52 -65
  93. package/libs/PanoVideoPlugin/VideoMeshController.js +11 -25
  94. package/libs/PanoVideoPlugin/index.js +8 -21
  95. package/libs/PipelinePlugin/Controller.js +44 -57
  96. package/libs/PipelinePlugin/index.js +5 -18
  97. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +20 -34
  98. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -30
  99. package/libs/PipelinePlugin/utils/Objects/Pipe.js +39 -53
  100. package/libs/Sculpt/Meshes/Box.js +3 -3
  101. package/libs/Sculpt/Meshes/Cylinder.js +14 -14
  102. package/libs/Sculpt/Meshes/Line.d.ts +19 -1
  103. package/libs/Sculpt/Meshes/Line.js +40 -41
  104. package/libs/Sculpt/Meshes/LineWithDots.js +5 -6
  105. package/libs/Sculpt/Meshes/Point.js +3 -3
  106. package/libs/Sculpt/Meshes/Polyline.js +3 -3
  107. package/libs/Sculpt/Meshes/Prism.js +11 -12
  108. package/libs/Sculpt/Meshes/Rectangle.js +3 -3
  109. package/libs/Sculpt/Objects/Point/Editor.js +10 -10
  110. package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
  111. package/libs/Sculpt/Objects/Polyline/Editor.js +4 -4
  112. package/libs/Sculpt/index.js +3 -3
  113. package/libs/Sculpt/utils/Modules/Global.js +1 -1
  114. package/libs/Sculpt/utils/color.d.ts +1 -1
  115. package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
  116. package/libs/base/BasePlugin.js +4 -4
  117. package/libs/floorplan/Components/Compass.js +29 -31
  118. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +9 -22
  119. package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -19
  120. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -18
  121. package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -18
  122. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +48 -61
  123. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -18
  124. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +28 -41
  125. package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -18
  126. package/libs/floorplan/index.js +3 -3
  127. package/libs/index.js +140 -137
  128. package/libs/shared-utils/five/getPosition.d.ts +12 -4
  129. package/libs/shared-utils/five/getPosition.js +23 -23
  130. package/libs/shared-utils/five/index.js +2 -2
  131. package/libs/shared-utils/five/initialCSS3DRender.d.ts +2 -0
  132. package/libs/shared-utils/five/initialCSS3DRender.js +17 -0
  133. package/libs/shared-utils/five/lookObject.js +3 -3
  134. package/libs/shared-utils/index.js +38 -40
  135. package/libs/shared-utils/logger.js +1 -1
  136. package/libs/shared-utils/math/deg2Rad.d.ts +1 -1
  137. package/libs/shared-utils/math/rad2Deg.d.ts +1 -1
  138. package/libs/shared-utils/positionToVector3.d.ts +6 -6
  139. package/{dist/shared-utils/three/PointSelector.d.ts → libs/shared-utils/three/PointSelector/index.d.ts} +23 -7
  140. package/libs/shared-utils/three/{PointSelector.js → PointSelector/index.js} +54 -45
  141. package/libs/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
  142. package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +95 -0
  143. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
  144. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +153 -0
  145. package/libs/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
  146. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +60 -0
  147. package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.js +3 -4
  148. package/libs/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
  149. package/libs/shared-utils/three/index.d.ts +2 -3
  150. package/libs/shared-utils/three/index.js +3 -3
  151. package/package.json +3 -3
  152. package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
  153. package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
  154. package/libs/shared-utils/three/PointDomHelper.js +0 -62
  155. package/libs/shared-utils/three/PointHelper.js +0 -73
  156. package/libs/shared-utils/three/PointSelectorHelper.js +0 -52
  157. /package/dist/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
  158. /package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
@@ -59,24 +59,10 @@ import "../../vendor/svelte-carousel/src/utils/interval.js";
59
59
  import "./Common/MediaItem.js";
60
60
  import "./Tag/MarketingTag.js";
61
61
  import "hammerjs";
62
- import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
63
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
64
- import "../../shared-utils/positionToVector3.js";
65
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
66
62
  import "three/examples/jsm/renderers/CSS3DRenderer";
67
- import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
68
- import "../../shared-utils/util.js";
69
- import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
70
- import "../../CSS3DRenderPlugin/utils/even.js";
71
- import "../../shared-utils/Subscribe.js";
72
- import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
73
- import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
74
- import "../../shared-utils/three/centerPoint.js";
75
- import "../../shared-utils/three/getObjectVisible.js";
76
- import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
77
- import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
78
- import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
63
+ import "@realsee/five/line";
79
64
  import "../../shared-utils/three/THREESphere.js";
65
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
80
66
  import "../utils/noTypecheck.js";
81
67
  import "./Tag/AudioTag/index.js";
82
68
  import "./Tag/AudioTag/AudioTag.js";
@@ -93,11 +79,13 @@ import "./Tag/PanoramaTag.js";
93
79
  import "./Tag/CustomTag.js";
94
80
  import "../../vendor/classnames/index.js";
95
81
  import "../controller/Tag/ModelTag.js";
82
+ import "../../shared-utils/positionToVector3.js";
96
83
  import "../../shared-utils/three/GLTFLoader.js";
97
84
  import "@realsee/five/gltf-loader";
98
85
  import "../utils/planeNormal.js";
99
86
  import "../utils/tag/tagCheck.js";
100
87
  import "../utils/model/mediaPlane.js";
88
+ import "../../shared-utils/three/centerPoint.js";
101
89
  import "../../shared-utils/three/loadTexture.js";
102
90
  import "../../shared-utils/three/Quadrangle.js";
103
91
  import "../../shared-utils/math/pointsIsRectangle.js";
@@ -107,6 +95,7 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
107
95
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
108
96
  import "../../shared-utils/three/getNormal.js";
109
97
  import "../controller/Tag/BaseTag.js";
98
+ import "../../shared-utils/Subscribe.js";
110
99
  import "../utils/tag/calculateTagConfig.js";
111
100
  import "../../vendor/object-assign-deep/objectAssignDeep.js";
112
101
  import "../../shared-utils/typescript/entries.js";
@@ -116,6 +105,7 @@ import "@realsee/five";
116
105
  import "../../shared-utils/five/mode.js";
117
106
  import "../utils/tag/format.js";
118
107
  import "../../shared-utils/three/blink.js";
108
+ import "../../shared-utils/util.js";
119
109
  import "../../shared-utils/vectorToCoordinate.js";
120
110
  import "../../shared-utils/formatRad.js";
121
111
  import "../../shared-utils/five/transformPosition.js";
@@ -140,21 +130,21 @@ function k(a, t, i) {
140
130
  return e[8] = t[i], e;
141
131
  }
142
132
  function b(a) {
143
- let t, i = [], e = /* @__PURE__ */ new Map(), m, r, n = (
133
+ let t, i = [], e = /* @__PURE__ */ new Map(), m, r, p = (
144
134
  /*tags*/
145
135
  a[0]
146
136
  );
147
- const f = (p) => (
137
+ const f = (n) => (
148
138
  /*tag*/
149
- p[8].id
139
+ n[8].id
150
140
  );
151
- for (let p = 0; p < n.length; p += 1) {
152
- let o = k(a, n, p), s = f(o);
153
- e.set(s, i[p] = y(s, o));
141
+ for (let n = 0; n < p.length; n += 1) {
142
+ let o = k(a, p, n), s = f(o);
143
+ e.set(s, i[n] = y(s, o));
154
144
  }
155
145
  return {
156
146
  c() {
157
- var p;
147
+ var n;
158
148
  t = C("div");
159
149
  for (let o = 0; o < i.length; o += 1)
160
150
  i[o].c();
@@ -164,46 +154,46 @@ function b(a) {
164
154
  t,
165
155
  "z-index",
166
156
  /*zIndex*/
167
- (p = a[6]) != null ? p : ""
157
+ (n = a[6]) != null ? n : ""
168
158
  );
169
159
  },
170
- m(p, o) {
171
- _(p, t, o);
160
+ m(n, o) {
161
+ _(n, t, o);
172
162
  for (let s = 0; s < i.length; s += 1)
173
163
  i[s] && i[s].m(t, null);
174
164
  r = !0;
175
165
  },
176
- p(p, o) {
166
+ p(n, o) {
177
167
  var s;
178
168
  o & /*state, temporaryState, tags, mediaStore, rendererMap, contentTypeMap*/
179
- 63 && (n = /*tags*/
180
- p[0], S(), i = j(i, o, f, 1, p, n, e, t, A, y, null, k), M()), (!r || o & /*state, temporaryState*/
169
+ 63 && (p = /*tags*/
170
+ n[0], S(), i = j(i, o, f, 1, n, p, e, t, A, y, null, k), M()), (!r || o & /*state, temporaryState*/
181
171
  48) && h(t, "hide", !/*state*/
182
- p[4].visible || !/*temporaryState*/
183
- p[5].visible), o & /*zIndex*/
172
+ n[4].visible || !/*temporaryState*/
173
+ n[5].visible), o & /*zIndex*/
184
174
  64 && g(
185
175
  t,
186
176
  "z-index",
187
177
  /*zIndex*/
188
- (s = p[6]) != null ? s : ""
178
+ (s = n[6]) != null ? s : ""
189
179
  );
190
180
  },
191
- i(p) {
181
+ i(n) {
192
182
  if (!r) {
193
- for (let o = 0; o < n.length; o += 1)
183
+ for (let o = 0; o < p.length; o += 1)
194
184
  c(i[o]);
195
185
  m || B(() => {
196
186
  m = D(t, J, {}), m.start();
197
187
  }), r = !0;
198
188
  }
199
189
  },
200
- o(p) {
190
+ o(n) {
201
191
  for (let o = 0; o < i.length; o += 1)
202
192
  u(i[o]);
203
193
  r = !1;
204
194
  },
205
- d(p) {
206
- p && d(t);
195
+ d(n) {
196
+ n && d(t);
207
197
  for (let o = 0; o < i.length; o += 1)
208
198
  i[o].d();
209
199
  }
@@ -244,23 +234,23 @@ function y(a, t) {
244
234
  c() {
245
235
  i = z(), E(e.$$.fragment), this.first = i;
246
236
  },
247
- m(r, n) {
248
- _(r, i, n), F(e, r, n), m = !0;
237
+ m(r, p) {
238
+ _(r, i, p), F(e, r, p), m = !0;
249
239
  },
250
- p(r, n) {
240
+ p(r, p) {
251
241
  t = r;
252
242
  const f = {};
253
- n & /*state*/
243
+ p & /*state*/
254
244
  16 && (f.state = /*state*/
255
- t[4]), n & /*temporaryState*/
245
+ t[4]), p & /*temporaryState*/
256
246
  32 && (f.temporaryState = /*temporaryState*/
257
- t[5]), n & /*tags*/
247
+ t[5]), p & /*tags*/
258
248
  1 && (f.tag = /*tag*/
259
- t[8]), n & /*mediaStore*/
249
+ t[8]), p & /*mediaStore*/
260
250
  2 && (f.mediaStore = /*mediaStore*/
261
- t[1]), n & /*rendererMap*/
251
+ t[1]), p & /*rendererMap*/
262
252
  4 && (f.rendererMap = /*rendererMap*/
263
- t[2]), n & /*contentTypeMap*/
253
+ t[2]), p & /*contentTypeMap*/
264
254
  8 && (f.contentTypeMap = /*contentTypeMap*/
265
255
  t[3]), e.$set(f);
266
256
  },
@@ -306,21 +296,21 @@ function L(a) {
306
296
  };
307
297
  }
308
298
  function O(a, t, i) {
309
- let { tags: e = [] } = t, { hooks: m } = t, { mediaStore: r } = t, { rendererMap: n } = t, { contentTypeMap: f } = t, { state: p } = t, { temporaryState: o } = t, { zIndex: s = void 0 } = t;
299
+ let { tags: e = [] } = t, { hooks: m } = t, { mediaStore: r } = t, { rendererMap: p } = t, { contentTypeMap: f } = t, { state: n } = t, { temporaryState: o } = t, { zIndex: s = void 0 } = t;
310
300
  return I("hooks", m), a.$$set = (l) => {
311
- "tags" in l && i(0, e = l.tags), "hooks" in l && i(7, m = l.hooks), "mediaStore" in l && i(1, r = l.mediaStore), "rendererMap" in l && i(2, n = l.rendererMap), "contentTypeMap" in l && i(3, f = l.contentTypeMap), "state" in l && i(4, p = l.state), "temporaryState" in l && i(5, o = l.temporaryState), "zIndex" in l && i(6, s = l.zIndex);
301
+ "tags" in l && i(0, e = l.tags), "hooks" in l && i(7, m = l.hooks), "mediaStore" in l && i(1, r = l.mediaStore), "rendererMap" in l && i(2, p = l.rendererMap), "contentTypeMap" in l && i(3, f = l.contentTypeMap), "state" in l && i(4, n = l.state), "temporaryState" in l && i(5, o = l.temporaryState), "zIndex" in l && i(6, s = l.zIndex);
312
302
  }, [
313
303
  e,
314
304
  r,
315
- n,
316
- f,
317
305
  p,
306
+ f,
307
+ n,
318
308
  o,
319
309
  s,
320
310
  m
321
311
  ];
322
312
  }
323
- class di extends v {
313
+ class mi extends v {
324
314
  constructor(t) {
325
315
  super(), w(
326
316
  this,
@@ -343,5 +333,5 @@ class di extends v {
343
333
  }
344
334
  }
345
335
  export {
346
- di as default
336
+ mi as default
347
337
  };
@@ -5,11 +5,11 @@ import { noTypecheck as V } from "../utils/noTypecheck.js";
5
5
  import tt from "./Common/TagPoint.js";
6
6
  import { isModelLike as et } from "../../shared-utils/five/mode.js";
7
7
  import "hammerjs";
8
- import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
9
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
10
- import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
8
+ import "three/examples/jsm/renderers/CSS3DRenderer";
9
+ import "@realsee/five/line";
11
10
  import "../../shared-utils/three/THREESphere.js";
12
11
  import "animejs";
12
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
13
13
  import "./Tag/TextTag/index.js";
14
14
  import "./Tag/TextTag/TextTag.js";
15
15
  import "./Common/Line/Straight.js";
@@ -65,20 +65,6 @@ import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
65
65
  import "../../vendor/svelte-carousel/src/utils/interval.js";
66
66
  import "./Common/MediaItem.js";
67
67
  import "./Tag/MarketingTag.js";
68
- import "../../shared-utils/positionToVector3.js";
69
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
70
- import "three/examples/jsm/renderers/CSS3DRenderer";
71
- import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
72
- import "../../shared-utils/util.js";
73
- import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
74
- import "../../CSS3DRenderPlugin/utils/even.js";
75
- import "../../shared-utils/Subscribe.js";
76
- import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
77
- import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
78
- import "../../shared-utils/three/centerPoint.js";
79
- import "../../shared-utils/three/getObjectVisible.js";
80
- import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
81
- import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
82
68
  import "./Tag/AudioTag/index.js";
83
69
  import "./Tag/AudioTag/AudioTag.js";
84
70
  import "./Common/Audio.js";
@@ -94,11 +80,13 @@ import "./Tag/PanoramaTag.js";
94
80
  import "./Tag/CustomTag.js";
95
81
  import "../../vendor/classnames/index.js";
96
82
  import "../controller/Tag/ModelTag.js";
83
+ import "../../shared-utils/positionToVector3.js";
97
84
  import "../../shared-utils/three/GLTFLoader.js";
98
85
  import "@realsee/five/gltf-loader";
99
86
  import "../utils/planeNormal.js";
100
87
  import "../utils/tag/tagCheck.js";
101
88
  import "../utils/model/mediaPlane.js";
89
+ import "../../shared-utils/three/centerPoint.js";
102
90
  import "../../shared-utils/three/loadTexture.js";
103
91
  import "../../shared-utils/three/Quadrangle.js";
104
92
  import "../../shared-utils/math/pointsIsRectangle.js";
@@ -108,6 +96,7 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
108
96
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
109
97
  import "../../shared-utils/three/getNormal.js";
110
98
  import "../controller/Tag/BaseTag.js";
99
+ import "../../shared-utils/Subscribe.js";
111
100
  import "../utils/tag/calculateTagConfig.js";
112
101
  import "../../vendor/object-assign-deep/objectAssignDeep.js";
113
102
  import "../../shared-utils/typescript/entries.js";
@@ -116,6 +105,7 @@ import "../typings/tag/TagConfig.js";
116
105
  import "@realsee/five";
117
106
  import "../utils/tag/format.js";
118
107
  import "../../shared-utils/three/blink.js";
108
+ import "../../shared-utils/util.js";
119
109
  import "../../shared-utils/vectorToCoordinate.js";
120
110
  import "../../shared-utils/formatRad.js";
121
111
  import "../../shared-utils/five/transformPosition.js";
@@ -469,7 +459,7 @@ function at(o, t, i) {
469
459
  H
470
460
  ];
471
461
  }
472
- class Di extends J {
462
+ class Si extends J {
473
463
  constructor(t) {
474
464
  super(), K(
475
465
  this,
@@ -490,5 +480,5 @@ class Di extends J {
490
480
  }
491
481
  }
492
482
  export {
493
- Di as default
483
+ Si as default
494
484
  };
@@ -2,14 +2,14 @@ var Z = Object.defineProperty, _ = Object.defineProperties;
2
2
  var G = Object.getOwnPropertyDescriptors;
3
3
  var y = Object.getOwnPropertySymbols;
4
4
  var D = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
5
- var x = (u, i, e) => i in u ? Z(u, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[i] = e, p = (u, i) => {
5
+ var M = (u, i, e) => i in u ? Z(u, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[i] = e, p = (u, i) => {
6
6
  for (var e in i || (i = {}))
7
- D.call(i, e) && x(u, e, i[e]);
7
+ D.call(i, e) && M(u, e, i[e]);
8
8
  if (y)
9
9
  for (var e of y(i))
10
- j.call(i, e) && x(u, e, i[e]);
10
+ j.call(i, e) && M(u, e, i[e]);
11
11
  return u;
12
- }, M = (u, i) => _(u, G(i));
12
+ }, I = (u, i) => _(u, G(i));
13
13
  var B = (u, i) => {
14
14
  var e = {};
15
15
  for (var t in u)
@@ -19,8 +19,8 @@ var B = (u, i) => {
19
19
  i.indexOf(t) < 0 && j.call(u, t) && (e[t] = u[t]);
20
20
  return e;
21
21
  };
22
- var f = (u, i, e) => (x(u, typeof i != "symbol" ? i + "" : i, e), e);
23
- var I = (u, i, e) => new Promise((t, r) => {
22
+ var f = (u, i, e) => (M(u, typeof i != "symbol" ? i + "" : i, e), e);
23
+ var U = (u, i, e) => new Promise((t, r) => {
24
24
  var n = (s) => {
25
25
  try {
26
26
  o(e.next(s));
@@ -37,26 +37,26 @@ var I = (u, i, e) => new Promise((t, r) => {
37
37
  o((e = e.apply(u, i)).next());
38
38
  });
39
39
  import { Subscribe as K } from "../../../shared-utils/Subscribe.js";
40
- import { calculateTagConfig as U } from "../../utils/tag/calculateTagConfig.js";
40
+ import { calculateTagConfig as w } from "../../utils/tag/calculateTagConfig.js";
41
41
  import { getTagStickType as Y } from "../../utils/tag/format.js";
42
- import { isPanoramaLike as w, isModelLike as T } from "../../../shared-utils/five/mode.js";
42
+ import { isPanoramaLike as T, isModelLike as P } from "../../../shared-utils/five/mode.js";
43
43
  import * as S from "three";
44
44
  import "hammerjs";
45
- import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
46
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
47
- import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
45
+ import "three/examples/jsm/renderers/CSS3DRenderer";
46
+ import { centerPoint as ee } from "../../../shared-utils/three/centerPoint.js";
47
+ import "@realsee/five/line";
48
+ import { anyPositionToVector3 as A } from "../../../shared-utils/positionToVector3.js";
48
49
  import "../../../shared-utils/three/THREESphere.js";
49
- import { blink as ee, reblink as ie } from "../../../shared-utils/three/blink.js";
50
- import { vectorToCoordinates as te } from "../../../shared-utils/vectorToCoordinate.js";
51
- import { transformPosition as A } from "../../../shared-utils/five/transformPosition.js";
52
- import { isNil as O, notNil as R } from "../../../shared-utils/isNil.js";
53
- import { lookPoint as ne } from "../../../shared-utils/five/lookPoint.js";
54
- import { uuid as se } from "../../../shared-utils/uuid.js";
50
+ import { blink as ie, reblink as te } from "../../../shared-utils/three/blink.js";
51
+ import { vectorToCoordinates as ne } from "../../../shared-utils/vectorToCoordinate.js";
52
+ import { transformPosition as O } from "../../../shared-utils/five/transformPosition.js";
53
+ import { isNil as R, notNil as E } from "../../../shared-utils/isNil.js";
54
+ import { lookPoint as se } from "../../../shared-utils/five/lookPoint.js";
55
+ import { uuid as oe } from "../../../shared-utils/uuid.js";
56
+ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
55
57
  import { objectAssignDeepExports as b } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
56
- import { anyPositionToVector3 as E } from "../../../shared-utils/positionToVector3.js";
57
58
  import { getTagPosition as L, getTagCenterPosition as $ } from "../../utils/tagPosition.js";
58
- import { checkRange as P } from "../../utils/checkRange.js";
59
- import { centerPoint as oe } from "../../../shared-utils/three/centerPoint.js";
59
+ import { checkRange as C } from "../../utils/checkRange.js";
60
60
  import { isMediaPlaneTag as re, isMediaModelTag as V } from "../../utils/tag/tagCheck.js";
61
61
  import { getUrlExt as N } from "../../../shared-utils/url/getUrl.js";
62
62
  import { getFloorIndex as le } from "../../../shared-utils/five/getFloorIndex.js";
@@ -69,24 +69,14 @@ import "../../utils/tag/adaptConfig.js";
69
69
  import "../../typings/tag/TagConfig.js";
70
70
  import "@realsee/five";
71
71
  import "animejs";
72
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
73
- import "three/examples/jsm/renderers/CSS3DRenderer";
74
- import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
75
- import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
76
- import "../../../CSS3DRenderPlugin/utils/even.js";
77
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
78
- import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
79
- import "../../../shared-utils/three/getObjectVisible.js";
80
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
81
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
82
72
  import "../../../shared-utils/formatRad.js";
83
73
  import "../../../shared-utils/Utils/FiveUtil.js";
84
74
  import "../../../shared-utils/Utils/BaseUtil.js";
85
75
  import "../../../shared-utils/Utils/WorkUtil.js";
86
76
  import "../../../shared-utils/five/getFiveModel.js";
87
- const C = new S.Raycaster();
88
- C.params.Points.threshold = 0.1;
89
- class ri {
77
+ const k = new S.Raycaster();
78
+ k.params.Points.threshold = 0.1;
79
+ class _e {
90
80
  constructor(i, e) {
91
81
  f(this, "plugin");
92
82
  f(this, "id");
@@ -122,8 +112,8 @@ class ri {
122
112
  e.stickType = t;
123
113
  const r = JSON.parse(JSON.stringify(e.data)), n = (s = e.initialConfig) != null ? s : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
124
114
  e.initialConfig = n;
125
- const l = U(e, i.config), o = this.getConfig(e);
126
- e.config = o, this.id = (a = e.id) != null ? a : se(), this.enabled = (c = e.enabled) != null ? c : !0, this.contentType = e.contentType, this.data = (g = o.initialData) != null && g.important ? b(e.data, r, o.initialData) : b(e.data, o.initialData, r), this.state = p({
115
+ const l = w(e, i.config), o = this.getConfig(e);
116
+ e.config = o, this.id = (a = e.id) != null ? a : oe(), this.enabled = (c = e.enabled) != null ? c : !0, this.contentType = e.contentType, this.data = (g = o.initialData) != null && g.important ? b(e.data, r, o.initialData) : b(e.data, o.initialData, r), this.state = p({
127
117
  visible: void 0,
128
118
  unfolded: !this.can("fold")
129
119
  }, o.initialState), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
@@ -131,7 +121,7 @@ class ri {
131
121
  if (!d)
132
122
  return;
133
123
  const m = i.workUtil.transform;
134
- return Array.isArray(d) && d.length === 4 ? d.map(E).map((h) => A(h, m).toArray()) : A(E(d), m).toArray();
124
+ return Array.isArray(d) && d.length === 4 ? d.map(A).map((h) => O(h, m).toArray()) : O(A(d), m).toArray();
135
125
  })(), this.matrix = e.matrix ? (() => {
136
126
  const d = new S.Matrix4().fromArray(e.matrix);
137
127
  return d.premultiply(i.workUtil.transform), d.elements;
@@ -150,11 +140,11 @@ class ri {
150
140
  }
151
141
  get centerPosition() {
152
142
  const i = L(this);
153
- return oe(...Array.isArray(i) ? i : [i]);
143
+ return ee(...Array.isArray(i) ? i : [i]);
154
144
  }
155
145
  get currentConfig() {
156
146
  var r, n;
157
- const i = U(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, t = (r = i.configWithFiveMode) == null ? void 0 : r[e];
147
+ const i = w(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, t = (r = i.configWithFiveMode) == null ? void 0 : r[e];
158
148
  return (n = t != null ? t : i) != null ? n : {};
159
149
  }
160
150
  get currentVisible() {
@@ -173,7 +163,7 @@ class ri {
173
163
  * @description 找到标签
174
164
  */
175
165
  find(i) {
176
- return I(this, null, function* () {
166
+ return U(this, null, function* () {
177
167
  var r;
178
168
  const e = this.fiveState;
179
169
  if (!this.fiveState)
@@ -181,23 +171,23 @@ class ri {
181
171
  const t = (r = i == null ? void 0 : i.targetMode) != null ? r : this.five.state.mode;
182
172
  if (t === "Panorama") {
183
173
  const n = e == null ? void 0 : e.panoIndex;
184
- if (O(n))
174
+ if (R(n))
185
175
  return;
186
176
  const l = this.workUtil.getObserverPosition(n), o = this.centerPosition.clone().sub(l).normalize();
187
177
  this.five.setState(p({
188
178
  mode: "Panorama",
189
179
  workCode: this.workUtil.workCode,
190
180
  panoIndex: n
191
- }, te(o))), yield this.five.ready();
181
+ }, ne(o))), yield this.five.ready();
192
182
  } else
193
- t === "Mapview" && (yield ne(this.five, this.centerPosition, i == null ? void 0 : i.pointConfig));
183
+ t === "Mapview" && (yield se(this.five, this.centerPosition, i == null ? void 0 : i.pointConfig));
194
184
  });
195
185
  }
196
186
  /**
197
187
  * @description 闪烁
198
188
  */
199
189
  blink(i) {
200
- return I(this, null, function* () {
190
+ return U(this, null, function* () {
201
191
  var o, s;
202
192
  const e = (o = this.enabled) != null ? o : !0, t = (s = this.state) == null ? void 0 : s.visible, r = e && t;
203
193
  r === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.plugin.render(), yield de(0), this.dom && (this.dom.style.visibility = "hidden"), this.contentDom && (this.contentDom.style.visibility = "hidden"));
@@ -208,7 +198,7 @@ class ri {
208
198
  })();
209
199
  if (!n.length)
210
200
  return;
211
- yield (r ? ee : ie)(n, p({
201
+ yield (r ? ie : te)(n, p({
212
202
  begin: () => {
213
203
  r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
214
204
  },
@@ -297,7 +287,7 @@ class ri {
297
287
  }
298
288
  getConfig(i, e) {
299
289
  var l, o, s;
300
- const t = U(i != null ? i : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), r = (l = e == null ? void 0 : e.fiveMode) != null ? l : this.five.getCurrentState().mode, n = (o = t.configWithFiveMode) == null ? void 0 : o[r];
290
+ const t = w(i != null ? i : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), r = (l = e == null ? void 0 : e.fiveMode) != null ? l : this.five.getCurrentState().mode, n = (o = t.configWithFiveMode) == null ? void 0 : o[r];
301
291
  return (s = n != null ? n : t) != null ? s : {};
302
292
  }
303
293
  getDistance(i, e = 3) {
@@ -309,7 +299,7 @@ class ri {
309
299
  return !1;
310
300
  const e = p(p({}, this.five.getCurrentState()), i);
311
301
  let t = this.cache.getVisible(this, e);
312
- return O(t) && (t = this.computeVisible(e).value, this.cache.setVisible(this, e, t)), t;
302
+ return R(t) && (t = this.computeVisible(e).value, this.cache.setVisible(this, e, t)), t;
313
303
  }
314
304
  getUnfoldedByPanoIndex(i) {
315
305
  if (!this.currentVisible)
@@ -386,7 +376,7 @@ class ri {
386
376
  if (h === !1)
387
377
  return p({ value: !1, checkedList: n, reason: "followModelVisibility check failed" }, v);
388
378
  }
389
- if (w(r) && s.visiblePanoIndex !== void 0 && s.visiblePanoIndex !== "all" && t !== void 0) {
379
+ if (T(r) && s.visiblePanoIndex !== void 0 && s.visiblePanoIndex !== "all" && t !== void 0) {
390
380
  if (n.push("visiblePanoIndex"), Array.isArray(s.visiblePanoIndex) && !s.visiblePanoIndex.includes(t))
391
381
  return {
392
382
  value: !1,
@@ -402,7 +392,7 @@ class ri {
402
392
  }
403
393
  if (s.visibleDistance !== void 0 && (n.push("visibleDistance"), s.visibleDistance !== "unLimited")) {
404
394
  const h = this.getDistance(e, 1);
405
- if (P(h, s.visibleDistance) === !1)
395
+ if (C(h, s.visibleDistance) === !1)
406
396
  return {
407
397
  value: !1,
408
398
  checkedList: n,
@@ -440,9 +430,9 @@ class ri {
440
430
  if (n || (n = (o = (l = this.fiveState) == null ? void 0 : l.mode) != null ? o : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(n))
441
431
  return n.includes(e);
442
432
  if (n === "ModelLike")
443
- return T(e);
433
+ return P(e);
444
434
  if (n === "PanoramaLike")
445
- return !w(e);
435
+ return !T(e);
446
436
  if (n === "all")
447
437
  return !0;
448
438
  if (typeof n == "string")
@@ -451,8 +441,8 @@ class ri {
451
441
  if ((() => {
452
442
  var l;
453
443
  const n = t();
454
- if (R((l = this.fiveState) == null ? void 0 : l.panoIndex) && i.entryFromModel) {
455
- if (T(e) && n ? this.entryFromModel = !1 : this.entryFromModel = !0, T(e))
444
+ if (E((l = this.fiveState) == null ? void 0 : l.panoIndex) && i.entryFromModel) {
445
+ if (P(e) && n ? this.entryFromModel = !1 : this.entryFromModel = !0, P(e))
456
446
  return !0;
457
447
  } else
458
448
  this.entryFromModel = !1;
@@ -468,7 +458,7 @@ class ri {
468
458
  /** 通过射线检测标签可用性 */
469
459
  computeVisibleByIntersect(i) {
470
460
  var s, a, c, g;
471
- const e = z(z((s = this.getConfig().visibleConfig) != null ? s : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r = w(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
461
+ const e = z(z((s = this.getConfig().visibleConfig) != null ? s : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r = T(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
472
462
  if (r === void 0)
473
463
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
474
464
  const n = ae(
@@ -482,19 +472,19 @@ class ri {
482
472
  for (const d of n) {
483
473
  const m = new S.Vector3().subVectors(d, r).normalize();
484
474
  let h;
485
- C.set(r, m);
486
- const [v] = this.fiveUtil.model.intersectRaycaster(C);
475
+ k.set(r, m);
476
+ const [v] = this.fiveUtil.model.intersectRaycaster(k);
487
477
  h = v == null ? void 0 : v.distance;
488
- const k = (() => {
478
+ const x = (() => {
489
479
  if (!V(this))
490
480
  return;
491
481
  const q = this.plugin.tags.filter(V).map((X) => {
492
482
  var F;
493
483
  return (F = X.model) == null ? void 0 : F.object;
494
- }).filter(R), [Q] = C.intersectObjects(q, !0);
484
+ }).filter(E), [Q] = k.intersectObjects(q, !0);
495
485
  return Q;
496
486
  })(), J = r.distanceTo(d), W = (a = e.distanceAccuracy) != null ? a : 0.01;
497
- h = Math.min(h != null ? h : 1 / 0, (c = k == null ? void 0 : k.distance) != null ? c : 1 / 0), h + W >= J ? l++ : o++;
487
+ h = Math.min(h != null ? h : 1 / 0, (c = x == null ? void 0 : x.distance) != null ? c : 1 / 0), h + W >= J ? l++ : o++;
498
488
  const H = (g = e.needPassed) != null ? g : 1;
499
489
  if (l >= H)
500
490
  return { value: !0 };
@@ -536,12 +526,14 @@ class ri {
536
526
  return !1;
537
527
  if (e.keep === "unfolded")
538
528
  return !0;
539
- if (e.unfoldDistance && P(this.getDistance({ panoIndex: i }), e.unfoldDistance) === !1)
529
+ if (e.unfoldDistance && C(this.getDistance({ panoIndex: i }), e.unfoldDistance) === !1)
540
530
  return !1;
541
531
  }
542
532
  }
543
533
  computeUnfoldedByCamera() {
544
534
  var e;
535
+ if (this.entryFromModel && P(this.five.state.mode))
536
+ return !1;
545
537
  const i = this.getConfig().unfoldedConfig;
546
538
  if (i) {
547
539
  if (typeof i == "function")
@@ -554,7 +546,7 @@ class ri {
554
546
  return;
555
547
  if (i.autoUnfold.strategy === "ScreenPostion") {
556
548
  const t = this.computeTagProject();
557
- if (t && P(t.x, i.autoUnfold.autoUnfoldProjectX) === !1)
549
+ if (t && C(t.x, i.autoUnfold.autoUnfoldProjectX) === !1)
558
550
  return !1;
559
551
  }
560
552
  if (i.autoUnfold.strategy === "MinimumDistance") {
@@ -567,9 +559,9 @@ class ri {
567
559
  }).map((o) => ({ tag: o, id: o.id, tagConfig: o.getConfig().unfoldedConfig })).filter(({ tagConfig: o }) => {
568
560
  var s, a;
569
561
  return !(typeof o == "function" || o.keep || o.autoUnfold === !1 || ((s = o.autoUnfold) == null ? void 0 : s.enable) === !1 || ((a = o.autoUnfold) == null ? void 0 : a.strategy) !== "MinimumDistance");
570
- }).map((o) => M(p({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: s }) => {
562
+ }).map((o) => I(p({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: s }) => {
571
563
  const a = s.autoUnfold.distance;
572
- return !(a && P(o, a) === !1);
564
+ return !(a && C(o, a) === !1);
573
565
  }).sort((o, s) => o.distance - s.distance).findIndex((o) => o.id === this.id);
574
566
  if (n === -1 || n <= ((e = i.autoUnfold.maxNumber) != null ? e : 1) - 1 === !1)
575
567
  return !1;
@@ -607,7 +599,7 @@ class ri {
607
599
  return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
608
600
  if (!this.enabled)
609
601
  return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
610
- const i = M(p({}, this.computeVisible()), {
602
+ const i = I(p({}, this.computeVisible()), {
611
603
  tagInstance: this
612
604
  });
613
605
  return i.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: i } : this.state.visible ? { reason: "应该是能看见才对", info: i } : i.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: i } : { reason: (e = i.reason.type) != null ? e : i.reason, info: i };
@@ -622,5 +614,5 @@ class ri {
622
614
  }
623
615
  }
624
616
  export {
625
- ri as BaseTag
617
+ _e as BaseTag
626
618
  };