@realsee/dnalogel 3.42.0 → 3.44.0

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 +8 -1
  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 +7597 -7330
  12. package/dist/index.umd.js +103 -69
  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 +80 -93
  79. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -69
  80. package/libs/PanoTagPlugin/Components/Tag/index.js +135 -145
  81. package/libs/PanoTagPlugin/Components/TagContainer.js +42 -52
  82. package/libs/PanoTagPlugin/Components/TagItem.js +74 -84
  83. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +87 -88
  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
  };
@@ -1,14 +1,15 @@
1
- import { SvelteComponent as J, init as K, safe_not_equal as O, append_styles as Q, empty as U, insert as I, transition_in as _, transition_out as g, check_outros as z, detach as P, getContext as W, element as Z, space as X, attr as d, toggle_class as T, set_style as C, append as Y, group_outros as L, binding_callbacks as x, noop as v, create_component as E, mount_component as F, destroy_component as G } from "../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as J, init as K, safe_not_equal as O, append_styles as Q, empty as U, insert as I, transition_in as _, transition_out as g, check_outros as z, detach as P, getContext as W, element as Z, space as X, attr as d, toggle_class as T, set_style as C, append as Y, group_outros as L, binding_callbacks as x, noop as v, create_component as B, mount_component as E, destroy_component as G } from "../../vendor/svelte/internal/index.js";
2
2
  import $ from "./Tag/index.js";
3
3
  import "three";
4
- import { noTypecheck as j } from "../utils/noTypecheck.js";
4
+ import { noTypecheck as V } from "../utils/noTypecheck.js";
5
5
  import tt from "./Common/TagPoint.js";
6
+ import { isModelLike as et } from "../../shared-utils/five/mode.js";
6
7
  import "hammerjs";
7
- import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
8
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
9
- import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
8
+ import "three/examples/jsm/renderers/CSS3DRenderer";
9
+ import "@realsee/five/line";
10
10
  import "../../shared-utils/three/THREESphere.js";
11
11
  import "animejs";
12
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
12
13
  import "./Tag/TextTag/index.js";
13
14
  import "./Tag/TextTag/TextTag.js";
14
15
  import "./Common/Line/Straight.js";
@@ -64,20 +65,6 @@ import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
64
65
  import "../../vendor/svelte-carousel/src/utils/interval.js";
65
66
  import "./Common/MediaItem.js";
66
67
  import "./Tag/MarketingTag.js";
67
- import "../../shared-utils/positionToVector3.js";
68
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
69
- import "three/examples/jsm/renderers/CSS3DRenderer";
70
- import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
71
- import "../../shared-utils/util.js";
72
- import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
73
- import "../../CSS3DRenderPlugin/utils/even.js";
74
- import "../../shared-utils/Subscribe.js";
75
- import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
76
- import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
77
- import "../../shared-utils/three/centerPoint.js";
78
- import "../../shared-utils/three/getObjectVisible.js";
79
- import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
80
- import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
81
68
  import "./Tag/AudioTag/index.js";
82
69
  import "./Tag/AudioTag/AudioTag.js";
83
70
  import "./Common/Audio.js";
@@ -93,11 +80,13 @@ import "./Tag/PanoramaTag.js";
93
80
  import "./Tag/CustomTag.js";
94
81
  import "../../vendor/classnames/index.js";
95
82
  import "../controller/Tag/ModelTag.js";
83
+ import "../../shared-utils/positionToVector3.js";
96
84
  import "../../shared-utils/three/GLTFLoader.js";
97
85
  import "@realsee/five/gltf-loader";
98
86
  import "../utils/planeNormal.js";
99
87
  import "../utils/tag/tagCheck.js";
100
88
  import "../utils/model/mediaPlane.js";
89
+ import "../../shared-utils/three/centerPoint.js";
101
90
  import "../../shared-utils/three/loadTexture.js";
102
91
  import "../../shared-utils/three/Quadrangle.js";
103
92
  import "../../shared-utils/math/pointsIsRectangle.js";
@@ -107,15 +96,16 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
107
96
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
108
97
  import "../../shared-utils/three/getNormal.js";
109
98
  import "../controller/Tag/BaseTag.js";
99
+ import "../../shared-utils/Subscribe.js";
110
100
  import "../utils/tag/calculateTagConfig.js";
111
101
  import "../../vendor/object-assign-deep/objectAssignDeep.js";
112
102
  import "../../shared-utils/typescript/entries.js";
113
103
  import "../utils/tag/adaptConfig.js";
114
104
  import "../typings/tag/TagConfig.js";
115
105
  import "@realsee/five";
116
- 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";
@@ -131,24 +121,24 @@ import "../../shared-utils/five/getFloorIndex.js";
131
121
  import "../../shared-utils/safeObj.js";
132
122
  import "../utils/Cache.js";
133
123
  import "../../CruisePlugin/utils/sleep.js";
134
- function et(o) {
124
+ function it(o) {
135
125
  Q(o, "svelte-2g2g8a", ".tag.svelte-2g2g8a{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity;transition:opacity 0.2s linear}.tag.enableZIndex.svelte-2g2g8a{position:absolute}.tag.hide.svelte-2g2g8a{opacity:0;pointer-events:none}.tag.hide.svelte-2g2g8a *{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a *{pointer-events:none !important}");
136
126
  }
137
- function B(o) {
127
+ function j(o) {
138
128
  let t, i, e, r, n, a, b, k, s;
139
- const S = [ot, it], u = [];
140
- function M(p, l) {
129
+ const M = [rt, ot], u = [];
130
+ function S(p, l) {
141
131
  return (
142
132
  /*havePoint*/
143
- p[15] ? 0 : 1
133
+ p[8] ? 0 : 1
144
134
  );
145
135
  }
146
- i = M(o), e = u[i] = S[i](o);
147
- const m = [nt, rt], c = [];
136
+ i = S(o), e = u[i] = M[i](o);
137
+ const m = [pt, nt], c = [];
148
138
  function y(p, l) {
149
139
  return (
150
140
  /*haveContent*/
151
- p[14] ? 0 : 1
141
+ p[15] ? 0 : 1
152
142
  );
153
143
  }
154
144
  return n = y(o), a = c[n] = m[n](o), {
@@ -157,7 +147,7 @@ function B(o) {
157
147
  t,
158
148
  "data-tag-id",
159
149
  /*id*/
160
- o[13]
150
+ o[14]
161
151
  ), d(
162
152
  t,
163
153
  "data-tag-unfolded",
@@ -165,7 +155,7 @@ function B(o) {
165
155
  o[6]
166
156
  ), d(t, "data-content-type", b = /*tag*/
167
157
  o[0].contentType), d(t, "id", k = `tag-${/*id*/
168
- o[13]}`), T(
158
+ o[14]}`), T(
169
159
  t,
170
160
  "unClickable",
171
161
  /*tag*/
@@ -174,20 +164,20 @@ function B(o) {
174
164
  t,
175
165
  "hide",
176
166
  /*hide*/
177
- o[11]
167
+ o[12]
178
168
  ), T(
179
169
  t,
180
170
  "enableZIndex",
181
171
  /*zIndex*/
182
- o[8]
172
+ o[9]
183
173
  ), C(
184
174
  t,
185
175
  "z-index",
186
176
  /*zIndex*/
187
- o[8]
177
+ o[9]
188
178
  ), C(t, "transform", `translate3d(${/*left*/
189
- o[10]}, ${/*top*/
190
- o[9]}, 0) scale(${/*screenPosition*/
179
+ o[11]}, ${/*top*/
180
+ o[10]}, 0) scale(${/*screenPosition*/
191
181
  o[7].scale})`);
192
182
  },
193
183
  m(p, l) {
@@ -195,18 +185,18 @@ function B(o) {
195
185
  },
196
186
  p(p, l) {
197
187
  let h = i;
198
- i = M(p), i === h ? u[i].p(p, l) : (L(), g(u[h], 1, 1, () => {
188
+ i = S(p), i === h ? u[i].p(p, l) : (L(), g(u[h], 1, 1, () => {
199
189
  u[h] = null;
200
- }), z(), e = u[i], e ? e.p(p, l) : (e = u[i] = S[i](p), e.c()), _(e, 1), e.m(t, r));
190
+ }), z(), e = u[i], e ? e.p(p, l) : (e = u[i] = M[i](p), e.c()), _(e, 1), e.m(t, r));
201
191
  let w = n;
202
192
  n = y(p), n === w ? c[n].p(p, l) : (L(), g(c[w], 1, 1, () => {
203
193
  c[w] = null;
204
194
  }), z(), a = c[n], a ? a.p(p, l) : (a = c[n] = m[n](p), a.c()), _(a, 1), a.m(t, null)), (!s || l & /*id*/
205
- 8192) && d(
195
+ 16384) && d(
206
196
  t,
207
197
  "data-tag-id",
208
198
  /*id*/
209
- p[13]
199
+ p[14]
210
200
  ), (!s || l & /*unfolded*/
211
201
  64) && d(
212
202
  t,
@@ -216,35 +206,35 @@ function B(o) {
216
206
  ), (!s || l & /*tag*/
217
207
  1 && b !== (b = /*tag*/
218
208
  p[0].contentType)) && d(t, "data-content-type", b), (!s || l & /*id*/
219
- 8192 && k !== (k = `tag-${/*id*/
220
- p[13]}`)) && d(t, "id", k), (!s || l & /*tag*/
209
+ 16384 && k !== (k = `tag-${/*id*/
210
+ p[14]}`)) && d(t, "id", k), (!s || l & /*tag*/
221
211
  1) && T(
222
212
  t,
223
213
  "unClickable",
224
214
  /*tag*/
225
215
  p[0].config.clickable === !1
226
216
  ), (!s || l & /*hide*/
227
- 2048) && T(
217
+ 4096) && T(
228
218
  t,
229
219
  "hide",
230
220
  /*hide*/
231
- p[11]
221
+ p[12]
232
222
  ), (!s || l & /*zIndex*/
233
- 256) && T(
223
+ 512) && T(
234
224
  t,
235
225
  "enableZIndex",
236
226
  /*zIndex*/
237
- p[8]
227
+ p[9]
238
228
  ), l & /*zIndex*/
239
- 256 && C(
229
+ 512 && C(
240
230
  t,
241
231
  "z-index",
242
232
  /*zIndex*/
243
- p[8]
233
+ p[9]
244
234
  ), l & /*left, top, screenPosition*/
245
- 1664 && C(t, "transform", `translate3d(${/*left*/
246
- p[10]}, ${/*top*/
247
- p[9]}, 0) scale(${/*screenPosition*/
235
+ 3200 && C(t, "transform", `translate3d(${/*left*/
236
+ p[11]}, ${/*top*/
237
+ p[10]}, 0) scale(${/*screenPosition*/
248
238
  p[7].scale})`);
249
239
  },
250
240
  i(p) {
@@ -258,7 +248,7 @@ function B(o) {
258
248
  }
259
249
  };
260
250
  }
261
- function it(o) {
251
+ function ot(o) {
262
252
  let t;
263
253
  return {
264
254
  c() {
@@ -275,17 +265,17 @@ function it(o) {
275
265
  }
276
266
  };
277
267
  }
278
- function ot(o) {
268
+ function rt(o) {
279
269
  let t, i;
280
270
  return t = new tt({ props: { tag: (
281
271
  /*tag*/
282
272
  o[0]
283
273
  ) } }), {
284
274
  c() {
285
- E(t.$$.fragment);
275
+ B(t.$$.fragment);
286
276
  },
287
277
  m(e, r) {
288
- F(t, e, r), i = !0;
278
+ E(t, e, r), i = !0;
289
279
  },
290
280
  p(e, r) {
291
281
  const n = {};
@@ -304,7 +294,7 @@ function ot(o) {
304
294
  }
305
295
  };
306
296
  }
307
- function rt(o) {
297
+ function nt(o) {
308
298
  let t;
309
299
  return {
310
300
  c() {
@@ -321,7 +311,7 @@ function rt(o) {
321
311
  }
322
312
  };
323
313
  }
324
- function nt(o) {
314
+ function pt(o) {
325
315
  let t, i;
326
316
  return t = new $({
327
317
  props: {
@@ -329,7 +319,7 @@ function nt(o) {
329
319
  /*mediaStore*/
330
320
  o[1]
331
321
  ),
332
- tag: j(
322
+ tag: V(
333
323
  /*tag*/
334
324
  o[0]
335
325
  ),
@@ -356,17 +346,17 @@ function nt(o) {
356
346
  }
357
347
  }), {
358
348
  c() {
359
- E(t.$$.fragment);
349
+ B(t.$$.fragment);
360
350
  },
361
351
  m(e, r) {
362
- F(t, e, r), i = !0;
352
+ E(t, e, r), i = !0;
363
353
  },
364
354
  p(e, r) {
365
355
  const n = {};
366
356
  r & /*mediaStore*/
367
357
  2 && (n.mediaStore = /*mediaStore*/
368
358
  e[1]), r & /*tag*/
369
- 1 && (n.tag = j(
359
+ 1 && (n.tag = V(
370
360
  /*tag*/
371
361
  e[0]
372
362
  )), r & /*state*/
@@ -390,11 +380,11 @@ function nt(o) {
390
380
  }
391
381
  };
392
382
  }
393
- function pt(o) {
383
+ function mt(o) {
394
384
  let t, i, e = (
395
385
  /*screenPosition*/
396
386
  o[7] && !/*disable*/
397
- o[12] && B(o)
387
+ o[13] && j(o)
398
388
  );
399
389
  return {
400
390
  c() {
@@ -406,8 +396,8 @@ function pt(o) {
406
396
  p(r, [n]) {
407
397
  /*screenPosition*/
408
398
  r[7] && !/*disable*/
409
- r[12] ? e ? (e.p(r, n), n & /*screenPosition, disable*/
410
- 4224 && _(e, 1)) : (e = B(r), e.c(), _(e, 1), e.m(t.parentNode, t)) : e && (L(), g(e, 1, 1, () => {
399
+ r[13] ? e ? (e.p(r, n), n & /*screenPosition, disable*/
400
+ 8320 && _(e, 1)) : (e = j(r), e.c(), _(e, 1), e.m(t.parentNode, t)) : e && (L(), g(e, 1, 1, () => {
411
401
  e = null;
412
402
  }), z());
413
403
  },
@@ -422,8 +412,8 @@ function pt(o) {
422
412
  }
423
413
  };
424
414
  }
425
- function mt(o, t, i) {
426
- let e, r, n, a, b, k, s, S, u, M, { tag: m } = t, { mediaStore: c } = t, { rendererMap: y = /* @__PURE__ */ new Map() } = t, { contentTypeMap: p = /* @__PURE__ */ new Map() } = t, { state: l } = t, { temporaryState: h } = t;
415
+ function at(o, t, i) {
416
+ let e, r, n, a, b, k, s, M, u, S, { tag: m } = t, { mediaStore: c } = t, { rendererMap: y = /* @__PURE__ */ new Map() } = t, { contentTypeMap: p = /* @__PURE__ */ new Map() } = t, { state: l } = t, { temporaryState: h } = t;
427
417
  const w = W("hooks");
428
418
  function H(f) {
429
419
  x[f ? "unshift" : "push"](() => {
@@ -435,19 +425,19 @@ function mt(o, t, i) {
435
425
  }, o.$$.update = () => {
436
426
  var f, q, A, D;
437
427
  o.$$.dirty & /*tag, rendererMap*/
438
- 5 && i(15, e = (() => {
439
- var N, R, V;
440
- return !(((R = (N = m.style) == null ? void 0 : N.point) == null ? void 0 : R.enabled) === !1 || ((V = y.get(m.contentType)) == null ? void 0 : V.usePoint) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Panorama" || m.contentType === "Audio" && m.data.appearance === "plane");
441
- })()), o.$$.dirty & /*tag*/
442
- 1 && i(14, r = (() => m.stickType === "2DPoint")()), o.$$.dirty & /*tag*/
443
- 1 && i(13, n = m.id), o.$$.dirty & /*tag*/
428
+ 5 && i(8, e = (() => {
429
+ var F, N, R;
430
+ return !(((N = (F = m.style) == null ? void 0 : F.point) == null ? void 0 : N.enabled) === !1 || ((R = y.get(m.contentType)) == null ? void 0 : R.usePoint) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Panorama" || m.contentType === "Audio" && m.data.appearance === "plane");
431
+ })()), o.$$.dirty & /*tag, havePoint*/
432
+ 257 && i(15, r = (() => !(m.stickType !== "2DPoint" || m.entryFromModel && et(m.five.state.mode) && e))()), o.$$.dirty & /*tag*/
433
+ 1 && i(14, n = m.id), o.$$.dirty & /*tag*/
444
434
  1 && i(7, a = m.screenPosition), o.$$.dirty & /*tag*/
445
- 1 && i(12, b = m.enabled === !1 || !m.state), o.$$.dirty & /*tag, screenPosition*/
446
- 129 && i(11, k = !((f = m.state) != null && f.visible) || ((q = m.temporaryState) == null ? void 0 : q.visible) === !1 || !a), o.$$.dirty & /*tag*/
435
+ 1 && i(13, b = m.enabled === !1 || !m.state), o.$$.dirty & /*tag, screenPosition*/
436
+ 129 && i(12, k = !((f = m.state) != null && f.visible) || ((q = m.temporaryState) == null ? void 0 : q.visible) === !1 || !a), o.$$.dirty & /*tag*/
447
437
  1 && i(6, s = (A = m.state) == null ? void 0 : A.unfolded), o.$$.dirty & /*screenPosition*/
448
- 128 && i(10, S = (a == null ? void 0 : a.leftPx) + "px"), o.$$.dirty & /*screenPosition*/
449
- 128 && i(9, u = (a == null ? void 0 : a.topPx) + "px"), o.$$.dirty & /*unfolded, tag*/
450
- 65 && i(8, M = s ? ((D = m.zIndex) != null ? D : 0) + (s ? 1e6 : 0) : void 0);
438
+ 128 && i(11, M = (a == null ? void 0 : a.leftPx) + "px"), o.$$.dirty & /*screenPosition*/
439
+ 128 && i(10, u = (a == null ? void 0 : a.topPx) + "px"), o.$$.dirty & /*unfolded, tag*/
440
+ 65 && i(9, S = s ? ((D = m.zIndex) != null ? D : 0) + (s ? 1e6 : 0) : void 0);
451
441
  }, [
452
442
  m,
453
443
  c,
@@ -457,25 +447,25 @@ function mt(o, t, i) {
457
447
  h,
458
448
  s,
459
449
  a,
460
- M,
461
- u,
450
+ e,
462
451
  S,
452
+ u,
453
+ M,
463
454
  k,
464
455
  b,
465
456
  n,
466
457
  r,
467
- e,
468
458
  w,
469
459
  H
470
460
  ];
471
461
  }
472
- class Ai extends J {
462
+ class Si extends J {
473
463
  constructor(t) {
474
464
  super(), K(
475
465
  this,
476
466
  t,
467
+ at,
477
468
  mt,
478
- pt,
479
469
  O,
480
470
  {
481
471
  tag: 0,
@@ -485,10 +475,10 @@ class Ai extends J {
485
475
  state: 4,
486
476
  temporaryState: 5
487
477
  },
488
- et
478
+ it
489
479
  );
490
480
  }
491
481
  }
492
482
  export {
493
- Ai as default
483
+ Si as default
494
484
  };