@realsee/dnalogel 3.50.17-alpha.0 → 3.51.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 (118) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/ModelMakerPlugin/Controller.d.ts +2 -0
  3. package/dist/Sculpt/utils/export.d.ts +18 -0
  4. package/dist/index.cjs.js +207 -207
  5. package/dist/index.js +34866 -34775
  6. package/dist/index.umd.js +211 -211
  7. package/dist/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
  8. package/dist/shared-utils/index.d.ts +1 -0
  9. package/dist/shared-utils/tag.d.ts +40 -1
  10. package/dist/shared-utils/three/temp.d.ts +2 -2
  11. package/libs/AreaMakerPlugin/Controller.js +100 -46
  12. package/libs/AreaMakerPlugin/index.js +64 -10
  13. package/libs/AreaMakerPlugin/utils/Item.js +156 -100
  14. package/libs/CSS3DRenderPlugin/Controller.js +93 -44
  15. package/libs/CSS3DRenderPlugin/index.js +62 -13
  16. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +105 -49
  17. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +130 -77
  18. package/libs/CruisePlugin/BaseController.js +143 -89
  19. package/libs/CruisePlugin/Move.js +83 -39
  20. package/libs/CruisePlugin/Work.js +95 -51
  21. package/libs/CruisePlugin/index.js +66 -22
  22. package/libs/CurrentPanoImagePlugin/Controller.js +139 -85
  23. package/libs/CurrentPanoImagePlugin/index.js +63 -9
  24. package/libs/GuideLinePlugin/Controller.js +57 -13
  25. package/libs/GuideLinePlugin/GuideLineItem.js +63 -19
  26. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +6 -2
  27. package/libs/GuideLinePlugin/GuideLineModeItem.js +58 -14
  28. package/libs/GuideLinePlugin/index.js +66 -22
  29. package/libs/ModelMakerPlugin/Controller.d.ts +2 -0
  30. package/libs/ModelMakerPlugin/Controller.js +190 -129
  31. package/libs/ModelMakerPlugin/index.js +63 -21
  32. package/libs/ModelMakerPlugin/item/baseItem.js +4 -2
  33. package/libs/ModelMakerPlugin/item/boxItem.js +5 -3
  34. package/libs/ModelMakerPlugin/item/polygonItem.js +9 -7
  35. package/libs/ModelMakerPlugin/item/prismItem.js +5 -3
  36. package/libs/ModelTVVideoPlugin/Plugin.js +96 -47
  37. package/libs/ModelTVVideoPlugin/index.js +55 -6
  38. package/libs/Object3DHelperPlugin/Controller.js +42 -25
  39. package/libs/Object3DHelperPlugin/index.js +28 -12
  40. package/libs/PanoCompassPlugin/Controller.js +92 -44
  41. package/libs/PanoCompassPlugin/index.js +63 -15
  42. package/libs/PanoDoorLabelPlugin/BaseController.js +79 -25
  43. package/libs/PanoDoorLabelPlugin/Controller.js +132 -78
  44. package/libs/PanoDoorLabelPlugin/index.js +63 -9
  45. package/libs/PanoMeasurePlugin/Components/Controller0.js +126 -77
  46. package/libs/PanoMeasurePlugin/Components/Controller1.js +139 -90
  47. package/libs/PanoMeasurePlugin/Controller/EditController.js +120 -71
  48. package/libs/PanoMeasurePlugin/Controller/WatchController.js +120 -70
  49. package/libs/PanoMeasurePlugin/Controller/index.js +132 -86
  50. package/libs/PanoMeasurePlugin/Model/area.js +72 -22
  51. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +56 -0
  52. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +64 -15
  53. package/libs/PanoMeasurePlugin/index.js +62 -16
  54. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +57 -2
  55. package/libs/PanoRulerProPlugin/Controller.js +88 -33
  56. package/libs/PanoRulerProPlugin/RulerItems.js +146 -91
  57. package/libs/PanoRulerProPlugin/index.js +64 -9
  58. package/libs/PanoSpatialTagPlugin/Plugin.js +177 -128
  59. package/libs/PanoSpatialTagPlugin/index.js +53 -4
  60. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +116 -60
  61. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +192 -136
  62. package/libs/PanoTagPlugin/Components/Tag/index.js +194 -139
  63. package/libs/PanoTagPlugin/Components/TagContainer.js +112 -57
  64. package/libs/PanoTagPlugin/Components/TagItem.js +204 -149
  65. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +157 -101
  66. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +75 -20
  67. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +86 -31
  68. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +93 -37
  69. package/libs/PanoTagPlugin/controller/TagRender.js +62 -18
  70. package/libs/PanoTagPlugin/controller/TagUtil.js +123 -79
  71. package/libs/PanoTagPlugin/controller/index.js +110 -72
  72. package/libs/PanoTagPlugin/index.js +72 -28
  73. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +77 -21
  74. package/libs/PanoVideoPlugin/Controller.js +95 -41
  75. package/libs/PanoVideoPlugin/VideoMeshController.js +119 -63
  76. package/libs/PanoVideoPlugin/index.js +66 -12
  77. package/libs/PipelinePlugin/Controller.js +173 -119
  78. package/libs/PipelinePlugin/index.js +63 -9
  79. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +70 -14
  80. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +58 -2
  81. package/libs/PipelinePlugin/utils/Objects/Pipe.js +98 -42
  82. package/libs/Sculpt/Meshes/Box.js +3 -2
  83. package/libs/Sculpt/Meshes/Cylinder.js +10 -6
  84. package/libs/Sculpt/Meshes/Line.js +43 -38
  85. package/libs/Sculpt/Meshes/LineWithDots.js +14 -10
  86. package/libs/Sculpt/Meshes/Point.js +24 -20
  87. package/libs/Sculpt/Meshes/Polygon.js +5 -2
  88. package/libs/Sculpt/Meshes/Prism.js +19 -16
  89. package/libs/Sculpt/Objects/Line/Editor.js +6 -5
  90. package/libs/Sculpt/index.js +15 -14
  91. package/libs/Sculpt/utils/export.d.ts +18 -0
  92. package/libs/Sculpt/utils/export.js +21 -0
  93. package/libs/Sculpt/utils/three/ColoredMesh.js +26 -22
  94. package/libs/base/BasePlugin.js +14 -10
  95. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +146 -94
  96. package/libs/floorplan/MapviewFloorplanPlugin/index.js +62 -10
  97. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +109 -56
  98. package/libs/floorplan/ModelFloorplanPlugin/index.js +62 -9
  99. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +116 -63
  100. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +62 -9
  101. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +105 -52
  102. package/libs/floorplan/TopviewFloorplanPlugin/index.js +62 -9
  103. package/libs/floorplan/index.js +4 -0
  104. package/libs/index.js +208 -206
  105. package/libs/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
  106. package/libs/shared-utils/five/fiveEveryReadyListener.js +15 -0
  107. package/libs/shared-utils/five/index.js +6 -2
  108. package/libs/shared-utils/five/lookObject.js +31 -27
  109. package/libs/shared-utils/index.d.ts +1 -0
  110. package/libs/shared-utils/index.js +19 -17
  111. package/libs/shared-utils/logger.js +1 -1
  112. package/libs/shared-utils/tag.d.ts +40 -1
  113. package/libs/shared-utils/tag.js +139 -86
  114. package/libs/shared-utils/three/index.js +4 -0
  115. package/libs/shared-utils/three/temp.d.ts +2 -2
  116. package/libs/shared-utils/three/temp.js +4 -4
  117. package/package.json +1 -1
  118. package/README.md +0 -116
@@ -4,7 +4,7 @@ import "three";
4
4
  import { noTypecheck as V } from "../utils/noTypecheck.js";
5
5
  import tt from "./Common/TagPoint.js";
6
6
  import "../../shared-utils/tag.js";
7
- import { isModelLike as et } from "../../shared-utils/five/mode.js";
7
+ import { isModelLike as it } from "../../shared-utils/five/mode.js";
8
8
  import "hammerjs";
9
9
  import "../../shared-utils/three/PointSelector/index.js";
10
10
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -13,6 +13,10 @@ import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
13
13
  import "../../shared-utils/three/core/Sphere.js";
14
14
  import "animejs";
15
15
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
16
+ import "../../Sculpt/Meshes/Polygon.js";
17
+ import "../../Sculpt/utils/Modules/Global.js";
18
+ import "../../vendor/hotkeys-js/dist/hotkeys.esm.js";
19
+ import "../../Sculpt/utils/three/rayOnLine.js";
16
20
  import "./Tag/TextTag/index.js";
17
21
  import "./Tag/TextTag/TextTag.js";
18
22
  import "./Common/Line/Straight.js";
@@ -77,7 +81,10 @@ import "../../shared-utils/Subscribe.js";
77
81
  import "../../shared-utils/Utils/WorkUtil.js";
78
82
  import "../../shared-utils/five/transformPosition.js";
79
83
  import "../../shared-utils/three/temp.js";
84
+ import "../../shared-utils/three/core/Raycaster.js";
80
85
  import "../../shared-utils/dom/resizeObserver.js";
86
+ import "../../shared-utils/five/fiveEveryReadyListener.js";
87
+ import "../../shared-utils/throttle.js";
81
88
  import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
82
89
  import "../../shared-utils/three/Magnifier.js";
83
90
  import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
@@ -108,6 +115,55 @@ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
108
115
  import "../../shared-utils/three/PointSelector/utils/contents.js";
109
116
  import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
110
117
  import "../../vendor/three/build/three.module.js";
118
+ import "../../shared-utils/three/generatePolygonGeometry.js";
119
+ import "../../shared-utils/three/earcut3D.js";
120
+ import "earcut";
121
+ import "../../shared-utils/three/getNormal.js";
122
+ import "../../PanoMeasurePlugin/utils/isIntersecting.js";
123
+ import "../../Sculpt/utils/three/ColoredMesh.js";
124
+ import "../../shared-utils/three/geometryUtil.js";
125
+ import "../../Sculpt/utils/Modules/Cursor.js";
126
+ import "../../Object3DHelperPlugin/Controller.js";
127
+ import "../../base/BasePlugin.js";
128
+ import "../../shared-utils/url/absoluteUrl.js";
129
+ import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
130
+ import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
131
+ import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
132
+ import "../../shared-utils/three/boundingBox.js";
133
+ import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
134
+ import "../../shared-utils/Object3DHelper/utils/direction.js";
135
+ import "../../shared-utils/Object3DHelper/Constants/color.js";
136
+ import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
137
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
138
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
139
+ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
140
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
141
+ import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
142
+ import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
143
+ import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
144
+ import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
145
+ import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
146
+ import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
147
+ import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
148
+ import "../../shared-utils/Object3DHelper/Base/BaseController.js";
149
+ import "../../shared-utils/threex/domevents/index.js";
150
+ import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
151
+ import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
152
+ import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
153
+ import "../../shared-utils/Object3DHelper/index.js";
154
+ import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
155
+ import "../../shared-utils/math/rad2Deg.js";
156
+ import "../../shared-utils/math/deg2Rad.js";
157
+ import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
158
+ import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
159
+ import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
160
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
161
+ import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
162
+ import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
163
+ import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
164
+ import "../../shared-utils/five/fiveModelLoad.js";
165
+ import "../../shared-utils/five/FiveDomEvents.js";
166
+ import "../../shared-utils/five/calculateThreeMouse.js";
111
167
  import "./Tag/AudioTag/index.js";
112
168
  import "./Tag/AudioTag/AudioTag.js";
113
169
  import "./Common/Audio.js";
@@ -135,7 +191,6 @@ import "../../shared-utils/three/loadVideoTexture.js";
135
191
  import "../../shared-utils/device.js";
136
192
  import "../../shared-utils/three/getPositionsByObjectFit.js";
137
193
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
138
- import "../../shared-utils/three/getNormal.js";
139
194
  import "../controller/Tag/BaseTag.js";
140
195
  import "../utils/tag/calculateTagConfig.js";
141
196
  import "../../vendor/object-assign-deep/objectAssignDeep.js";
@@ -154,351 +209,351 @@ import "../../shared-utils/url/getUrl.js";
154
209
  import "../../shared-utils/five/getFloorIndex.js";
155
210
  import "../../shared-utils/safeObj.js";
156
211
  import "../utils/Cache.js";
157
- function it(o) {
158
- 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}");
212
+ function ot(e) {
213
+ Q(e, "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}");
159
214
  }
160
- function j(o) {
161
- let t, i, e, r, n, a, b, k, s;
162
- const M = [rt, ot], u = [];
163
- function S(p, l) {
215
+ function j(e) {
216
+ let t, o, i, r, p, a, b, k, s;
217
+ const M = [rt, et], u = [];
218
+ function S(m, l) {
164
219
  return (
165
220
  /*havePoint*/
166
- p[8] ? 0 : 1
221
+ m[8] ? 0 : 1
167
222
  );
168
223
  }
169
- i = S(o), e = u[i] = M[i](o);
170
- const m = [pt, nt], c = [];
171
- function y(p, l) {
224
+ o = S(e), i = u[o] = M[o](e);
225
+ const n = [mt, pt], c = [];
226
+ function y(m, l) {
172
227
  return (
173
228
  /*haveContent*/
174
- p[15] ? 0 : 1
229
+ m[15] ? 0 : 1
175
230
  );
176
231
  }
177
- return n = y(o), a = c[n] = m[n](o), {
232
+ return p = y(e), a = c[p] = n[p](e), {
178
233
  c() {
179
- t = Z("div"), e.c(), r = X(), a.c(), d(t, "class", "tag svelte-2g2g8a"), d(
234
+ t = Z("div"), i.c(), r = X(), a.c(), d(t, "class", "tag svelte-2g2g8a"), d(
180
235
  t,
181
236
  "data-tag-id",
182
237
  /*id*/
183
- o[14]
238
+ e[14]
184
239
  ), d(
185
240
  t,
186
241
  "data-tag-unfolded",
187
242
  /*unfolded*/
188
- o[6]
243
+ e[6]
189
244
  ), d(t, "data-content-type", b = /*tag*/
190
- o[0].contentType), d(t, "id", k = `tag-${/*id*/
191
- o[14]}`), T(
245
+ e[0].contentType), d(t, "id", k = `tag-${/*id*/
246
+ e[14]}`), T(
192
247
  t,
193
248
  "unClickable",
194
249
  /*tag*/
195
- o[0].config.clickable === !1
250
+ e[0].config.clickable === !1
196
251
  ), T(
197
252
  t,
198
253
  "hide",
199
254
  /*hide*/
200
- o[12]
255
+ e[12]
201
256
  ), T(
202
257
  t,
203
258
  "enableZIndex",
204
259
  /*zIndex*/
205
- o[9]
260
+ e[9]
206
261
  ), C(
207
262
  t,
208
263
  "z-index",
209
264
  /*zIndex*/
210
- o[9]
265
+ e[9]
211
266
  ), C(t, "transform", `translate3d(${/*left*/
212
- o[11]}, ${/*top*/
213
- o[10]}, 0) scale(${/*screenPosition*/
214
- o[7].scale})`);
267
+ e[11]}, ${/*top*/
268
+ e[10]}, 0) scale(${/*screenPosition*/
269
+ e[7].scale})`);
215
270
  },
216
- m(p, l) {
217
- I(p, t, l), u[i].m(t, null), Y(t, r), c[n].m(t, null), o[17](t), s = !0;
271
+ m(m, l) {
272
+ I(m, t, l), u[o].m(t, null), Y(t, r), c[p].m(t, null), e[17](t), s = !0;
218
273
  },
219
- p(p, l) {
220
- let h = i;
221
- i = S(p), i === h ? u[i].p(p, l) : (L(), g(u[h], 1, 1, () => {
274
+ p(m, l) {
275
+ let h = o;
276
+ o = S(m), o === h ? u[o].p(m, l) : (L(), g(u[h], 1, 1, () => {
222
277
  u[h] = null;
223
- }), z(), e = u[i], e ? e.p(p, l) : (e = u[i] = M[i](p), e.c()), _(e, 1), e.m(t, r));
224
- let w = n;
225
- n = y(p), n === w ? c[n].p(p, l) : (L(), g(c[w], 1, 1, () => {
278
+ }), z(), i = u[o], i ? i.p(m, l) : (i = u[o] = M[o](m), i.c()), _(i, 1), i.m(t, r));
279
+ let w = p;
280
+ p = y(m), p === w ? c[p].p(m, l) : (L(), g(c[w], 1, 1, () => {
226
281
  c[w] = null;
227
- }), 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*/
282
+ }), z(), a = c[p], a ? a.p(m, l) : (a = c[p] = n[p](m), a.c()), _(a, 1), a.m(t, null)), (!s || l & /*id*/
228
283
  16384) && d(
229
284
  t,
230
285
  "data-tag-id",
231
286
  /*id*/
232
- p[14]
287
+ m[14]
233
288
  ), (!s || l & /*unfolded*/
234
289
  64) && d(
235
290
  t,
236
291
  "data-tag-unfolded",
237
292
  /*unfolded*/
238
- p[6]
293
+ m[6]
239
294
  ), (!s || l & /*tag*/
240
295
  1 && b !== (b = /*tag*/
241
- p[0].contentType)) && d(t, "data-content-type", b), (!s || l & /*id*/
296
+ m[0].contentType)) && d(t, "data-content-type", b), (!s || l & /*id*/
242
297
  16384 && k !== (k = `tag-${/*id*/
243
- p[14]}`)) && d(t, "id", k), (!s || l & /*tag*/
298
+ m[14]}`)) && d(t, "id", k), (!s || l & /*tag*/
244
299
  1) && T(
245
300
  t,
246
301
  "unClickable",
247
302
  /*tag*/
248
- p[0].config.clickable === !1
303
+ m[0].config.clickable === !1
249
304
  ), (!s || l & /*hide*/
250
305
  4096) && T(
251
306
  t,
252
307
  "hide",
253
308
  /*hide*/
254
- p[12]
309
+ m[12]
255
310
  ), (!s || l & /*zIndex*/
256
311
  512) && T(
257
312
  t,
258
313
  "enableZIndex",
259
314
  /*zIndex*/
260
- p[9]
315
+ m[9]
261
316
  ), l & /*zIndex*/
262
317
  512 && C(
263
318
  t,
264
319
  "z-index",
265
320
  /*zIndex*/
266
- p[9]
321
+ m[9]
267
322
  ), l & /*left, top, screenPosition*/
268
323
  3200 && C(t, "transform", `translate3d(${/*left*/
269
- p[11]}, ${/*top*/
270
- p[10]}, 0) scale(${/*screenPosition*/
271
- p[7].scale})`);
324
+ m[11]}, ${/*top*/
325
+ m[10]}, 0) scale(${/*screenPosition*/
326
+ m[7].scale})`);
272
327
  },
273
- i(p) {
274
- s || (_(e), _(a), s = !0);
328
+ i(m) {
329
+ s || (_(i), _(a), s = !0);
275
330
  },
276
- o(p) {
277
- g(e), g(a), s = !1;
331
+ o(m) {
332
+ g(i), g(a), s = !1;
278
333
  },
279
- d(p) {
280
- p && P(t), u[i].d(), c[n].d(), o[17](null);
334
+ d(m) {
335
+ m && P(t), u[o].d(), c[p].d(), e[17](null);
281
336
  }
282
337
  };
283
338
  }
284
- function ot(o) {
339
+ function et(e) {
285
340
  let t;
286
341
  return {
287
342
  c() {
288
343
  t = Z("div"), d(t, "data-info", "tag point is disable");
289
344
  },
290
- m(i, e) {
291
- I(i, t, e);
345
+ m(o, i) {
346
+ I(o, t, i);
292
347
  },
293
348
  p: v,
294
349
  i: v,
295
350
  o: v,
296
- d(i) {
297
- i && P(t);
351
+ d(o) {
352
+ o && P(t);
298
353
  }
299
354
  };
300
355
  }
301
- function rt(o) {
302
- let t, i;
356
+ function rt(e) {
357
+ let t, o;
303
358
  return t = new tt({ props: { tag: (
304
359
  /*tag*/
305
- o[0]
360
+ e[0]
306
361
  ) } }), {
307
362
  c() {
308
363
  B(t.$$.fragment);
309
364
  },
310
- m(e, r) {
311
- E(t, e, r), i = !0;
365
+ m(i, r) {
366
+ E(t, i, r), o = !0;
312
367
  },
313
- p(e, r) {
314
- const n = {};
368
+ p(i, r) {
369
+ const p = {};
315
370
  r & /*tag*/
316
- 1 && (n.tag = /*tag*/
317
- e[0]), t.$set(n);
371
+ 1 && (p.tag = /*tag*/
372
+ i[0]), t.$set(p);
318
373
  },
319
- i(e) {
320
- i || (_(t.$$.fragment, e), i = !0);
374
+ i(i) {
375
+ o || (_(t.$$.fragment, i), o = !0);
321
376
  },
322
- o(e) {
323
- g(t.$$.fragment, e), i = !1;
377
+ o(i) {
378
+ g(t.$$.fragment, i), o = !1;
324
379
  },
325
- d(e) {
326
- G(t, e);
380
+ d(i) {
381
+ G(t, i);
327
382
  }
328
383
  };
329
384
  }
330
- function nt(o) {
385
+ function pt(e) {
331
386
  let t;
332
387
  return {
333
388
  c() {
334
389
  t = Z("div"), d(t, "data-info", "tag content is disable");
335
390
  },
336
- m(i, e) {
337
- I(i, t, e);
391
+ m(o, i) {
392
+ I(o, t, i);
338
393
  },
339
394
  p: v,
340
395
  i: v,
341
396
  o: v,
342
- d(i) {
343
- i && P(t);
397
+ d(o) {
398
+ o && P(t);
344
399
  }
345
400
  };
346
401
  }
347
- function pt(o) {
348
- let t, i;
402
+ function mt(e) {
403
+ let t, o;
349
404
  return t = new $({
350
405
  props: {
351
406
  mediaStore: (
352
407
  /*mediaStore*/
353
- o[1]
408
+ e[1]
354
409
  ),
355
410
  tag: V(
356
411
  /*tag*/
357
- o[0]
412
+ e[0]
358
413
  ),
359
414
  hooks: (
360
415
  /*hooks*/
361
- o[16]
416
+ e[16]
362
417
  ),
363
418
  state: (
364
419
  /*state*/
365
- o[4]
420
+ e[4]
366
421
  ),
367
422
  temporaryState: (
368
423
  /*temporaryState*/
369
- o[5]
424
+ e[5]
370
425
  ),
371
426
  rendererMap: (
372
427
  /*rendererMap*/
373
- o[2]
428
+ e[2]
374
429
  ),
375
430
  contentTypeMap: (
376
431
  /*contentTypeMap*/
377
- o[3]
432
+ e[3]
378
433
  )
379
434
  }
380
435
  }), {
381
436
  c() {
382
437
  B(t.$$.fragment);
383
438
  },
384
- m(e, r) {
385
- E(t, e, r), i = !0;
439
+ m(i, r) {
440
+ E(t, i, r), o = !0;
386
441
  },
387
- p(e, r) {
388
- const n = {};
442
+ p(i, r) {
443
+ const p = {};
389
444
  r & /*mediaStore*/
390
- 2 && (n.mediaStore = /*mediaStore*/
391
- e[1]), r & /*tag*/
392
- 1 && (n.tag = V(
445
+ 2 && (p.mediaStore = /*mediaStore*/
446
+ i[1]), r & /*tag*/
447
+ 1 && (p.tag = V(
393
448
  /*tag*/
394
- e[0]
449
+ i[0]
395
450
  )), r & /*state*/
396
- 16 && (n.state = /*state*/
397
- e[4]), r & /*temporaryState*/
398
- 32 && (n.temporaryState = /*temporaryState*/
399
- e[5]), r & /*rendererMap*/
400
- 4 && (n.rendererMap = /*rendererMap*/
401
- e[2]), r & /*contentTypeMap*/
402
- 8 && (n.contentTypeMap = /*contentTypeMap*/
403
- e[3]), t.$set(n);
451
+ 16 && (p.state = /*state*/
452
+ i[4]), r & /*temporaryState*/
453
+ 32 && (p.temporaryState = /*temporaryState*/
454
+ i[5]), r & /*rendererMap*/
455
+ 4 && (p.rendererMap = /*rendererMap*/
456
+ i[2]), r & /*contentTypeMap*/
457
+ 8 && (p.contentTypeMap = /*contentTypeMap*/
458
+ i[3]), t.$set(p);
404
459
  },
405
- i(e) {
406
- i || (_(t.$$.fragment, e), i = !0);
460
+ i(i) {
461
+ o || (_(t.$$.fragment, i), o = !0);
407
462
  },
408
- o(e) {
409
- g(t.$$.fragment, e), i = !1;
463
+ o(i) {
464
+ g(t.$$.fragment, i), o = !1;
410
465
  },
411
- d(e) {
412
- G(t, e);
466
+ d(i) {
467
+ G(t, i);
413
468
  }
414
469
  };
415
470
  }
416
- function mt(o) {
417
- let t, i, e = (
471
+ function nt(e) {
472
+ let t, o, i = (
418
473
  /*screenPosition*/
419
- o[7] && !/*disable*/
420
- o[13] && j(o)
474
+ e[7] && !/*disable*/
475
+ e[13] && j(e)
421
476
  );
422
477
  return {
423
478
  c() {
424
- e && e.c(), t = U();
479
+ i && i.c(), t = U();
425
480
  },
426
- m(r, n) {
427
- e && e.m(r, n), I(r, t, n), i = !0;
481
+ m(r, p) {
482
+ i && i.m(r, p), I(r, t, p), o = !0;
428
483
  },
429
- p(r, [n]) {
484
+ p(r, [p]) {
430
485
  /*screenPosition*/
431
486
  r[7] && !/*disable*/
432
- r[13] ? e ? (e.p(r, n), n & /*screenPosition, disable*/
433
- 8320 && _(e, 1)) : (e = j(r), e.c(), _(e, 1), e.m(t.parentNode, t)) : e && (L(), g(e, 1, 1, () => {
434
- e = null;
487
+ r[13] ? i ? (i.p(r, p), p & /*screenPosition, disable*/
488
+ 8320 && _(i, 1)) : (i = j(r), i.c(), _(i, 1), i.m(t.parentNode, t)) : i && (L(), g(i, 1, 1, () => {
489
+ i = null;
435
490
  }), z());
436
491
  },
437
492
  i(r) {
438
- i || (_(e), i = !0);
493
+ o || (_(i), o = !0);
439
494
  },
440
495
  o(r) {
441
- g(e), i = !1;
496
+ g(i), o = !1;
442
497
  },
443
498
  d(r) {
444
- e && e.d(r), r && P(t);
499
+ i && i.d(r), r && P(t);
445
500
  }
446
501
  };
447
502
  }
448
- function at(o, t, i) {
449
- 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;
503
+ function at(e, t, o) {
504
+ let i, r, p, a, b, k, s, M, u, S, { tag: n } = t, { mediaStore: c } = t, { rendererMap: y = /* @__PURE__ */ new Map() } = t, { contentTypeMap: m = /* @__PURE__ */ new Map() } = t, { state: l } = t, { temporaryState: h } = t;
450
505
  const w = W("hooks");
451
506
  function H(f) {
452
507
  x[f ? "unshift" : "push"](() => {
453
- m.dom = f, i(0, m);
508
+ n.dom = f, o(0, n);
454
509
  });
455
510
  }
456
- return o.$$set = (f) => {
457
- "tag" in f && i(0, m = f.tag), "mediaStore" in f && i(1, c = f.mediaStore), "rendererMap" in f && i(2, y = f.rendererMap), "contentTypeMap" in f && i(3, p = f.contentTypeMap), "state" in f && i(4, l = f.state), "temporaryState" in f && i(5, h = f.temporaryState);
458
- }, o.$$.update = () => {
511
+ return e.$$set = (f) => {
512
+ "tag" in f && o(0, n = f.tag), "mediaStore" in f && o(1, c = f.mediaStore), "rendererMap" in f && o(2, y = f.rendererMap), "contentTypeMap" in f && o(3, m = f.contentTypeMap), "state" in f && o(4, l = f.state), "temporaryState" in f && o(5, h = f.temporaryState);
513
+ }, e.$$.update = () => {
459
514
  var f, q, A, D;
460
- o.$$.dirty & /*tag, rendererMap*/
461
- 5 && i(8, e = (() => {
515
+ e.$$.dirty & /*tag, rendererMap*/
516
+ 5 && o(8, i = (() => {
462
517
  var F, N, R;
463
- 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");
464
- })()), o.$$.dirty & /*tag, havePoint*/
465
- 257 && i(15, r = (() => !(m.stickType !== "2DPoint" || m.entryFromModel && et(m.five.state.mode) && e))()), o.$$.dirty & /*tag*/
466
- 1 && i(14, n = m.id), o.$$.dirty & /*tag*/
467
- 1 && i(7, a = m.screenPosition), o.$$.dirty & /*tag*/
468
- 1 && i(13, b = m.enabled === !1 || !m.state), o.$$.dirty & /*tag, screenPosition*/
469
- 129 && i(12, k = !((f = m.state) != null && f.visible) || ((q = m.temporaryState) == null ? void 0 : q.visible) === !1 || !a), o.$$.dirty & /*tag*/
470
- 1 && i(6, s = (A = m.state) == null ? void 0 : A.unfolded), o.$$.dirty & /*screenPosition*/
471
- 128 && i(11, M = (a == null ? void 0 : a.leftPx) + "px"), o.$$.dirty & /*screenPosition*/
472
- 128 && i(10, u = (a == null ? void 0 : a.topPx) + "px"), o.$$.dirty & /*unfolded, tag*/
473
- 65 && i(9, S = s ? ((D = m.zIndex) != null ? D : 0) + (s ? 1e6 : 0) : void 0);
518
+ return !(((N = (F = n.style) == null ? void 0 : F.point) == null ? void 0 : N.enabled) === !1 || ((R = y.get(n.contentType)) == null ? void 0 : R.usePoint) === !1 || n.contentType === "Sticker" || n.contentType === "Link" || n.contentType === "VRLink" || n.contentType === "PanoLink" || n.contentType === "Panorama" || n.contentType === "Audio" && n.data.appearance === "plane");
519
+ })()), e.$$.dirty & /*tag, havePoint*/
520
+ 257 && o(15, r = (() => !(n.stickType !== "2DPoint" || n.entryFromModel && it(n.five.state.mode) && i))()), e.$$.dirty & /*tag*/
521
+ 1 && o(14, p = n.id), e.$$.dirty & /*tag*/
522
+ 1 && o(7, a = n.screenPosition), e.$$.dirty & /*tag*/
523
+ 1 && o(13, b = n.enabled === !1 || !n.state), e.$$.dirty & /*tag, screenPosition*/
524
+ 129 && o(12, k = !((f = n.state) != null && f.visible) || ((q = n.temporaryState) == null ? void 0 : q.visible) === !1 || !a), e.$$.dirty & /*tag*/
525
+ 1 && o(6, s = (A = n.state) == null ? void 0 : A.unfolded), e.$$.dirty & /*screenPosition*/
526
+ 128 && o(11, M = (a == null ? void 0 : a.leftPx) + "px"), e.$$.dirty & /*screenPosition*/
527
+ 128 && o(10, u = (a == null ? void 0 : a.topPx) + "px"), e.$$.dirty & /*unfolded, tag*/
528
+ 65 && o(9, S = s ? ((D = n.zIndex) != null ? D : 0) + (s ? 1e6 : 0) : void 0);
474
529
  }, [
475
- m,
530
+ n,
476
531
  c,
477
532
  y,
478
- p,
533
+ m,
479
534
  l,
480
535
  h,
481
536
  s,
482
537
  a,
483
- e,
538
+ i,
484
539
  S,
485
540
  u,
486
541
  M,
487
542
  k,
488
543
  b,
489
- n,
544
+ p,
490
545
  r,
491
546
  w,
492
547
  H
493
548
  ];
494
549
  }
495
- class oo extends J {
550
+ class pr extends J {
496
551
  constructor(t) {
497
552
  super(), K(
498
553
  this,
499
554
  t,
500
555
  at,
501
- mt,
556
+ nt,
502
557
  O,
503
558
  {
504
559
  tag: 0,
@@ -508,10 +563,10 @@ class oo extends J {
508
563
  state: 4,
509
564
  temporaryState: 5
510
565
  },
511
- it
566
+ ot
512
567
  );
513
568
  }
514
569
  }
515
570
  export {
516
- oo as default
571
+ pr as default
517
572
  };