@realsee/dnalogel 2.17.1-alpha.4 → 2.17.1-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +1 -0
  2. package/dist/index.cjs.js +19 -19
  3. package/dist/index.js +416 -401
  4. package/dist/index.umd.js +17 -17
  5. package/dist/shared-utils/three/loadVideoTexture.d.ts +1 -1
  6. package/docs/classes/CSS3DRender.html +4 -4
  7. package/docs/classes/CruisePluginController.html +4 -4
  8. package/docs/classes/Magnifier.html +4 -4
  9. package/docs/classes/ModelRoomLabelController.html +4 -4
  10. package/docs/classes/Object3DHelperController.html +4 -4
  11. package/docs/classes/PaintBrush.html +4 -4
  12. package/docs/classes/PanoMeasurePluginLine.html +4 -4
  13. package/docs/classes/PanoMeasurePluginModel.html +4 -4
  14. package/docs/classes/PanoMeasurePluginPoint.html +4 -4
  15. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  16. package/docs/classes/PanoTagPluginController.html +4 -4
  17. package/docs/classes/Util.BetterTween.html +4 -4
  18. package/docs/classes/Util.FivePointSelector.html +4 -4
  19. package/docs/classes/Util.Interval.html +4 -4
  20. package/docs/classes/Util.Magnifier.html +4 -4
  21. package/docs/classes/Util.PointDomHelper.html +4 -4
  22. package/docs/classes/Util.PointHelper.html +4 -4
  23. package/docs/classes/Util.Rectangle.html +4 -4
  24. package/docs/enums/CameraMovementEffect.html +4 -4
  25. package/docs/enums/ContentType.html +4 -4
  26. package/docs/enums/DIRECTION.html +4 -4
  27. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +4 -4
  28. package/docs/enums/DimensionType.html +4 -4
  29. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -4
  30. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +4 -4
  31. package/docs/enums/PaintBrushTypeEnum.html +4 -4
  32. package/docs/enums/Rotation.html +4 -4
  33. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  34. package/docs/functions/CameraMovementPlugin.html +4 -4
  35. package/docs/functions/CruisePlugin.html +4 -4
  36. package/docs/functions/GuideLinePlugin.html +4 -4
  37. package/docs/functions/ItemLabelPlugin.html +4 -4
  38. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  39. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  40. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  41. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  42. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  43. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  44. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  45. package/docs/functions/ModelViewPlugin.html +4 -4
  46. package/docs/functions/Object3DHelperPlugin.html +4 -4
  47. package/docs/functions/PanoCompassPlugin.html +4 -4
  48. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  49. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  50. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  51. package/docs/functions/PanoMeasurePlugin.html +4 -4
  52. package/docs/functions/PanoRulerPlugin.html +4 -4
  53. package/docs/functions/PanoRulerProPlugin.html +4 -4
  54. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  55. package/docs/functions/PanoTagPlugin.html +4 -4
  56. package/docs/functions/PanoVideoPlugin.html +4 -4
  57. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  58. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  59. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  60. package/docs/functions/Util.getFrameTime.html +4 -4
  61. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  62. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  63. package/docs/functions/Util.isNil.html +4 -4
  64. package/docs/functions/Util.nextFrame.html +4 -4
  65. package/docs/functions/Util.notNil.html +4 -4
  66. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  67. package/docs/functions/Util.tweenProgress.html +4 -4
  68. package/docs/functions/pluginFlag.html +4 -4
  69. package/docs/index.html +4 -4
  70. package/docs/interfaces/AddTagConfig.html +4 -4
  71. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  72. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  73. package/docs/interfaces/CameraMovementPluginExportType.html +4 -4
  74. package/docs/interfaces/EventMap.html +4 -4
  75. package/docs/interfaces/FloorplanBounding.html +4 -4
  76. package/docs/interfaces/FloorplanData.html +4 -4
  77. package/docs/interfaces/FloorplanEntrance.html +4 -4
  78. package/docs/interfaces/FloorplanExtraObject.html +4 -4
  79. package/docs/interfaces/FloorplanExtraObject3D.html +4 -4
  80. package/docs/interfaces/FloorplanFloorData.html +4 -4
  81. package/docs/interfaces/FloorplanImagePosition.html +4 -4
  82. package/docs/interfaces/FloorplanObserver.html +4 -4
  83. package/docs/interfaces/FloorplanOutlineItem.html +4 -4
  84. package/docs/interfaces/FloorplanPosition.html +4 -4
  85. package/docs/interfaces/FloorplanRoomItem.html +4 -4
  86. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  87. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  88. package/docs/interfaces/FloorplanServerComputedData.html +4 -4
  89. package/docs/interfaces/FloorplanServerData.html +4 -4
  90. package/docs/interfaces/FloorplanServerDoorItem.html +4 -4
  91. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -4
  92. package/docs/interfaces/FloorplanServerEntrance.html +4 -4
  93. package/docs/interfaces/FloorplanServerFloorData.html +4 -4
  94. package/docs/interfaces/FloorplanServerImagePosition.html +4 -4
  95. package/docs/interfaces/FloorplanServerObserver.html +4 -4
  96. package/docs/interfaces/FloorplanServerOutlineItem.html +4 -4
  97. package/docs/interfaces/FloorplanServerPosition.html +4 -4
  98. package/docs/interfaces/FloorplanServerRoomItem.html +4 -4
  99. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  100. package/docs/interfaces/HelperOffset.html +4 -4
  101. package/docs/interfaces/ImagePlaneGroup.html +4 -4
  102. package/docs/interfaces/ItemLabelPluginData.html +4 -4
  103. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +4 -4
  104. package/docs/interfaces/ItemLabelPluginParametersType.html +4 -4
  105. package/docs/interfaces/MinMax.html +4 -4
  106. package/docs/interfaces/ModelChassisCompassPluginData.html +4 -4
  107. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -4
  108. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +4 -4
  109. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -4
  110. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -4
  111. package/docs/interfaces/ModelItemLabelPluginData.html +4 -4
  112. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +4 -4
  113. package/docs/interfaces/ModelItemLabelPluginParametersType.html +4 -4
  114. package/docs/interfaces/ModelRoomLabelPluginData.html +4 -4
  115. package/docs/interfaces/ModelTVVideoPluginData.html +4 -4
  116. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -4
  117. package/docs/interfaces/ModelTVVideoPluginParameterType.html +4 -4
  118. package/docs/interfaces/ModelViewPluginExportType.html +4 -4
  119. package/docs/interfaces/Object3DHelperState.html +4 -4
  120. package/docs/interfaces/ObjectHelperControllers.html +4 -4
  121. package/docs/interfaces/PaintBrushAction.html +4 -4
  122. package/docs/interfaces/PaintBrushConfigs.html +4 -4
  123. package/docs/interfaces/PaintBrushState.html +4 -4
  124. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +4 -4
  125. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  126. package/docs/interfaces/PanoMeasureParameterType.html +4 -4
  127. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -4
  128. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -4
  129. package/docs/interfaces/PanoMeasurePluginPointJson.html +4 -4
  130. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  131. package/docs/interfaces/PanoRulerPluginExportType.html +4 -4
  132. package/docs/interfaces/PanoRulerPluginOptions.html +4 -4
  133. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -4
  134. package/docs/interfaces/PanoRulerProPluginExportType.html +4 -4
  135. package/docs/interfaces/PanoRulerProPluginOptions.html +4 -4
  136. package/docs/interfaces/PanoRulerProPluginParameterType.html +4 -4
  137. package/docs/interfaces/PanoRulerProPluginState.html +4 -4
  138. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  139. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  140. package/docs/interfaces/PanoSpatialTagPluginData.html +4 -4
  141. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +4 -4
  142. package/docs/interfaces/PanoSpatialTagPluginExportType.html +4 -4
  143. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +4 -4
  144. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +4 -4
  145. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +4 -4
  146. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +4 -4
  147. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +4 -4
  148. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +4 -4
  149. package/docs/interfaces/PanoVideoPluginType.PluginData.html +4 -4
  150. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +4 -4
  151. package/docs/interfaces/PanoVideoPluginType.PluginState.html +4 -4
  152. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +4 -4
  153. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +4 -4
  154. package/docs/interfaces/Point.html +4 -4
  155. package/docs/interfaces/Room.html +4 -4
  156. package/docs/interfaces/RoomInfo.html +4 -4
  157. package/docs/interfaces/RoomLabel.html +4 -4
  158. package/docs/interfaces/RoomRules.html +4 -4
  159. package/docs/interfaces/Rooms.html +4 -4
  160. package/docs/interfaces/Scissor.html +4 -4
  161. package/docs/interfaces/State.html +4 -4
  162. package/docs/interfaces/TagCacheInterface.html +4 -4
  163. package/docs/interfaces/TagConfig.html +4 -4
  164. package/docs/interfaces/TagGLTFObjectGroup.html +4 -4
  165. package/docs/interfaces/TagIconUrl.html +4 -4
  166. package/docs/interfaces/TagObjectGroup.html +4 -4
  167. package/docs/interfaces/TagStyle.html +4 -4
  168. package/docs/interfaces/Tags.html +4 -4
  169. package/docs/interfaces/TemporaryState.html +4 -4
  170. package/docs/interfaces/Util.MagnifierParameter.html +4 -4
  171. package/docs/interfaces/Util.MouseGroupParameter.html +4 -4
  172. package/docs/modules/PanoVideoPluginType.html +4 -4
  173. package/docs/modules/Util.html +4 -4
  174. package/docs/modules.html +4 -4
  175. package/docs/types/ArrayPosition.html +4 -4
  176. package/docs/types/AudioAppearance.html +4 -4
  177. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  178. package/docs/types/CSS3DRenderExportType.html +4 -4
  179. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  180. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  181. package/docs/types/ClassFunctionParameters.html +4 -4
  182. package/docs/types/Color.html +4 -4
  183. package/docs/types/ContentTypeConfigKey.html +4 -4
  184. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  185. package/docs/types/ContentTypeMap.html +4 -4
  186. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  187. package/docs/types/Create3DElementReturnType.html +4 -4
  188. package/docs/types/CruisePluginExportType.html +4 -4
  189. package/docs/types/Direction-1.html +4 -4
  190. package/docs/types/Direction4.html +4 -4
  191. package/docs/types/ElementRenderer.html +4 -4
  192. package/docs/types/FloorplanRuleLabels.html +4 -4
  193. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  194. package/docs/types/GuideLinePluginExportType.html +4 -4
  195. package/docs/types/HelperEventMap.html +4 -4
  196. package/docs/types/LoadTagConfig.html +4 -4
  197. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  198. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  199. package/docs/types/MediaData.html +4 -4
  200. package/docs/types/MediaStore.html +4 -4
  201. package/docs/types/ModelElement.html +4 -4
  202. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  203. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  204. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  205. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  206. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  207. package/docs/types/MoveArgs.html +4 -4
  208. package/docs/types/MoveOpts.html +4 -4
  209. package/docs/types/Object3DHelperEventMap.html +4 -4
  210. package/docs/types/ObjectFit.html +4 -4
  211. package/docs/types/PaintBrushEventMap.html +4 -4
  212. package/docs/types/PanoCompassPluginData.html +4 -4
  213. package/docs/types/PanoCompassPluginExportType.html +4 -4
  214. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  215. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  216. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  217. package/docs/types/PanoIndex.html +4 -4
  218. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  219. package/docs/types/PanoMeasureReturnType.html +4 -4
  220. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  221. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  222. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  223. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  224. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  225. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  226. package/docs/types/PlaneTag.html +4 -4
  227. package/docs/types/PlaneTagElement.html +4 -4
  228. package/docs/types/Point2DElement.html +4 -4
  229. package/docs/types/Point2DTag.html +4 -4
  230. package/docs/types/Point3DElement.html +4 -4
  231. package/docs/types/Point3DTag.html +4 -4
  232. package/docs/types/PointTag.html +4 -4
  233. package/docs/types/PointTagElement.html +4 -4
  234. package/docs/types/Position.html +4 -4
  235. package/docs/types/RotateArgs.html +4 -4
  236. package/docs/types/RotateOpts.html +4 -4
  237. package/docs/types/RuleLabelsKey.html +4 -4
  238. package/docs/types/RuleLabelsValue.html +4 -4
  239. package/docs/types/StickType.html +4 -4
  240. package/docs/types/Tag.html +4 -4
  241. package/docs/types/Tag2D.html +4 -4
  242. package/docs/types/Tag3D.html +4 -4
  243. package/docs/types/TagContentType.html +4 -4
  244. package/docs/types/TagDimensionType.html +4 -4
  245. package/docs/types/TagElement.html +4 -4
  246. package/docs/types/TagEvents.html +4 -4
  247. package/docs/types/TagGLTFObject.html +4 -4
  248. package/docs/types/TagHooks.html +4 -4
  249. package/docs/types/TagIconSize.html +4 -4
  250. package/docs/types/TagId.html +4 -4
  251. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  252. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  253. package/docs/types/WorkCode.html +4 -4
  254. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  255. package/docs/variables/PLUGIN.html +4 -4
  256. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  257. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  258. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  259. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  260. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  261. package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +1 -0
  262. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +30 -27
  263. package/libs/base/BasePlugin.js +1 -1
  264. package/libs/shared-utils/logger.js +1 -1
  265. package/libs/shared-utils/three/loadVideoTexture.d.ts +1 -1
  266. package/libs/shared-utils/three/loadVideoTexture.js +24 -12
  267. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2,15 +2,15 @@ var bc = Object.defineProperty, yc = Object.defineProperties;
2
2
  var wc = Object.getOwnPropertyDescriptors;
3
3
  var _o = Object.getOwnPropertySymbols;
4
4
  var Ec = Object.prototype.hasOwnProperty, Cc = Object.prototype.propertyIsEnumerable;
5
- var Ti = (i, t, e) => t in i ? bc(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, R = (i, t) => {
5
+ var zi = (i, t, e) => t in i ? bc(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, R = (i, t) => {
6
6
  for (var e in t || (t = {}))
7
- Ec.call(t, e) && Ti(i, e, t[e]);
7
+ Ec.call(t, e) && zi(i, e, t[e]);
8
8
  if (_o)
9
9
  for (var e of _o(t))
10
- Cc.call(t, e) && Ti(i, e, t[e]);
10
+ Cc.call(t, e) && zi(i, e, t[e]);
11
11
  return i;
12
12
  }, fe = (i, t) => yc(i, wc(t));
13
- var f = (i, t, e) => (Ti(i, typeof t != "symbol" ? t + "" : t, e), e);
13
+ var f = (i, t, e) => (zi(i, typeof t != "symbol" ? t + "" : t, e), e);
14
14
  var F = (i, t, e) => new Promise((n, o) => {
15
15
  var s = (l) => {
16
16
  try {
@@ -27,12 +27,12 @@ var F = (i, t, e) => new Promise((n, o) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, r);
28
28
  a((e = e.apply(i, t)).next());
29
29
  });
30
- import * as wi from "@tweenjs/tween.js";
30
+ import * as Ei from "@tweenjs/tween.js";
31
31
  import In, { Tween as Pc, Easing as Ic } from "@tweenjs/tween.js";
32
32
  import { Camera as kc, Five as Ve, Subscribe as Ue } from "@realsee/five";
33
33
  import * as E from "three";
34
- import { Vector3 as q, Group as Wt, Raycaster as St, MeshBasicMaterial as kn, CanvasTexture as xc, AnimationMixer as Dc, Color as Tn, TextureLoader as Da, Vector2 as Ne, PlaneGeometry as Lc, sRGBEncoding as Mc, LinearFilter as eo, Mesh as yn, CurvePath as Sc, LineCurve3 as Tc, TubeGeometry as zc, ShaderMaterial as La, SphereGeometry as Bc, DoubleSide as Ma, RingGeometry as jc, Quaternion as yo, Euler as No, Matrix4 as mn, Object3D as Vc, VideoTexture as Oc, Vector4 as Rc, SphereBufferGeometry as Qc } from "three";
35
- import { CSS3DRenderer as Fc, CSS3DObject as to } from "three/examples/jsm/renderers/CSS3DRenderer";
34
+ import { Vector3 as q, Group as Wt, Raycaster as St, MeshBasicMaterial as kn, CanvasTexture as xc, AnimationMixer as Dc, Color as Tn, TextureLoader as Da, Vector2 as Ne, PlaneGeometry as Lc, sRGBEncoding as Mc, LinearFilter as to, Mesh as yn, CurvePath as Sc, LineCurve3 as Tc, TubeGeometry as zc, ShaderMaterial as La, SphereGeometry as Bc, DoubleSide as Ma, RingGeometry as jc, Quaternion as yo, Euler as No, Matrix4 as mn, Object3D as Vc, VideoTexture as Oc, Vector4 as Rc, SphereBufferGeometry as Qc } from "three";
35
+ import { CSS3DRenderer as Fc, CSS3DObject as no } from "three/examples/jsm/renderers/CSS3DRenderer";
36
36
  import { Line as Sa } from "@realsee/five/line";
37
37
  import { FBXLoader as Ta } from "three/examples/jsm/loaders/FBXLoader";
38
38
  import zn from "hammerjs";
@@ -46,7 +46,7 @@ import Wc from "lodash.clonedeep";
46
46
  import _c from "lodash.isequal";
47
47
  function Nc() {
48
48
  console.info(
49
- "%c %c@realsee/dnalogel %cv2.17.1-alpha.4",
49
+ "%c %c@realsee/dnalogel %cv2.17.1-alpha.6",
50
50
  [
51
51
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
52
52
  "background-repeat: no-repeat",
@@ -78,7 +78,7 @@ function Fn(i, t, e) {
78
78
  const n = i.x, o = i.y, s = Math.floor(n / t * 1e4) / 1e4, r = Math.floor(o / e * 1e4) / 1e4;
79
79
  return { x: s, y: r };
80
80
  }
81
- function zi(i, t, e) {
81
+ function Bi(i, t, e) {
82
82
  const { x: n, y: o } = i, s = n * t, r = o * e;
83
83
  return { x: s, y: r };
84
84
  }
@@ -506,7 +506,7 @@ class eu extends Kc {
506
506
  const a = this.canvas[e].getContext("2d");
507
507
  if (!a)
508
508
  return;
509
- const { line: l = [], color: c = "black", duration: u = 0, uuid: h } = n, d = zi(n.move || {}, this.clientWidth, this.clientHeight);
509
+ const { line: l = [], color: c = "black", duration: u = 0, uuid: h } = n, d = Bi(n.move || {}, this.clientWidth, this.clientHeight);
510
510
  let m = [d];
511
511
  if (a.strokeStyle = c, a.beginPath(), a.moveTo(d.x, d.y), u && !o) {
512
512
  let g = [];
@@ -517,7 +517,7 @@ class eu extends Kc {
517
517
  return a.clearRect(0, 0, p.canvas[h].width, p.canvas[h].height), (b = p.tween) == null ? void 0 : b.stop();
518
518
  const v = Math.floor(A);
519
519
  if (!g.find((w) => w === v)) {
520
- if (g.push(v), m.push(zi(l[v], p.clientWidth, p.clientHeight)), m.length < 3)
520
+ if (g.push(v), m.push(Bi(l[v], p.clientWidth, p.clientHeight)), m.length < 3)
521
521
  return;
522
522
  const { control: w, end: k } = Hn(m);
523
523
  if (!w || !k)
@@ -529,7 +529,7 @@ class eu extends Kc {
529
529
  });
530
530
  } else {
531
531
  for (let g = 0; g < l.length; g++) {
532
- if (m.push(zi(l[g], this.clientWidth, this.clientHeight)), m.length < 3)
532
+ if (m.push(Bi(l[g], this.clientWidth, this.clientHeight)), m.length < 3)
533
533
  continue;
534
534
  const { control: p, end: A } = Hn(m);
535
535
  !p || !A || a.quadraticCurveTo(p.x, p.y, A.x, A.y);
@@ -557,7 +557,7 @@ class eu extends Kc {
557
557
  this.closeBrush(), this.ready = !1, this.emit("readyChange", !0);
558
558
  }
559
559
  }
560
- class Tb {
560
+ class T1 {
561
561
  constructor(t = {}) {
562
562
  f(this, "controller");
563
563
  const e = Object.assign({
@@ -595,7 +595,7 @@ class Tb {
595
595
  this.controller.updateCurrentColor(t);
596
596
  }
597
597
  }
598
- const zb = (i, t) => {
598
+ const z1 = (i, t) => {
599
599
  var S, V;
600
600
  let e = (V = (S = t == null ? void 0 : t.initialState) == null ? void 0 : S.enabled) != null ? V : !0, n = !1, o = !0, s = null;
601
601
  const a = R(R({}, {
@@ -701,7 +701,7 @@ function gt(...i) {
701
701
  e.isCSS3DObjectPlus ? t.push(e) : t.push(...gt(...e.children));
702
702
  }), t;
703
703
  }
704
- function ai(i, t) {
704
+ function li(i, t) {
705
705
  const e = Math.round(i);
706
706
  return e % 2 === 0 ? e : e + Number(t != null && t.floor ? -1 : 1);
707
707
  }
@@ -711,7 +711,7 @@ function tu(i, t, e = !0) {
711
711
  }, unobserve: () => {
712
712
  } };
713
713
  const n = () => {
714
- const s = ai(i.clientWidth, { floor: !0 }), r = ai(i.clientHeight, { floor: !0 });
714
+ const s = li(i.clientWidth, { floor: !0 }), r = li(i.clientHeight, { floor: !0 });
715
715
  t(s, r);
716
716
  };
717
717
  if (typeof ResizeObserver == "undefined" || !ResizeObserver)
@@ -826,10 +826,10 @@ function Tt(...i) {
826
826
  }), t.divideScalar(i.length), t;
827
827
  }
828
828
  const Ba = 1, ru = `CSS3DObjectPlus@${Ba}`, au = 216e-5, lu = 3e-3;
829
- class cu extends to {
829
+ class cu extends no {
830
830
  constructor(e) {
831
831
  var I, C, L;
832
- const n = e.container, o = e.cornerPoints, s = (I = e.ratio) != null ? I : lu, r = (C = e.dpr) != null ? C : 1, a = (L = e.pointerEvents) != null ? L : "auto", l = Math.max(au, s), c = o[0].distanceTo(o[1]), u = o[1].distanceTo(o[2]), h = ai(c / s * r), d = ai(u / s * r), m = Tt(...o);
832
+ const n = e.container, o = e.cornerPoints, s = (I = e.ratio) != null ? I : lu, r = (C = e.dpr) != null ? C : 1, a = (L = e.pointerEvents) != null ? L : "auto", l = Math.max(au, s), c = o[0].distanceTo(o[1]), u = o[1].distanceTo(o[2]), h = li(c / s * r), d = li(u / s * r), m = Tt(...o);
833
833
  let g;
834
834
  if (l === s)
835
835
  n.style.width = `${h}px`, n.style.height = `${d}px`, g = n;
@@ -1000,7 +1000,7 @@ class fu extends ja {
1000
1000
  }), super.add(...e), this;
1001
1001
  }
1002
1002
  }
1003
- const mu = 3, no = "CSS3DRenderer", pn = `${no}@${mu}`, Vt = () => {
1003
+ const mu = 3, io = "CSS3DRenderer", pn = `${io}@${mu}`, Vt = () => {
1004
1004
  console.error(`${pn} is disposed`);
1005
1005
  }, Le = {
1006
1006
  css3DObjects: [],
@@ -1088,7 +1088,7 @@ class Dn {
1088
1088
  });
1089
1089
  f(this, "createObject", (t, e) => {
1090
1090
  const n = new cu(R({ cornerPoints: t }, e));
1091
- return n.element.classList.add(`${no}__container`), n.element.id = `${no}__container--${n.uuid}`, n;
1091
+ return n.element.classList.add(`${io}__container`), n.element.id = `${io}__container--${n.uuid}`, n;
1092
1092
  });
1093
1093
  t && this.setScene(t);
1094
1094
  }
@@ -1220,9 +1220,9 @@ class Dn {
1220
1220
  handleDisable() {
1221
1221
  var t, e, n;
1222
1222
  this.store.frontModeGroup.children.forEach((o) => {
1223
- o instanceof to && o.element instanceof Element && o.element.parentNode !== null && o.element.remove();
1223
+ o instanceof no && o.element instanceof Element && o.element.parentNode !== null && o.element.remove();
1224
1224
  }), (t = this.store.behindModeGroup) == null || t.children.forEach((o) => {
1225
- o instanceof to && o.element instanceof Element && o.element.parentNode !== null && o.element.remove();
1225
+ o instanceof no && o.element instanceof Element && o.element.parentNode !== null && o.element.remove();
1226
1226
  }), (e = this.getFrontCSS3DScene()) == null || e.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((n = this.getBehindCSS3DScene()) == null || n.remove(this.store.behindModeGroup));
1227
1227
  }
1228
1228
  handleDispose() {
@@ -1252,14 +1252,14 @@ Je.style.height = "100%";
1252
1252
  Je.style.pointerEvents = "none";
1253
1253
  function Oa(i) {
1254
1254
  var n, o, s, r, a;
1255
- const t = (a = (o = Bi(i.getElement())) != null ? o : Bi((n = i.getElement()) == null ? void 0 : n.parentElement)) != null ? a : Bi((r = (s = i.getElement()) == null ? void 0 : s.parentElement) == null ? void 0 : r.parentElement), e = t == null ? void 0 : t.parentElement;
1255
+ const t = (a = (o = ji(i.getElement())) != null ? o : ji((n = i.getElement()) == null ? void 0 : n.parentElement)) != null ? a : ji((r = (s = i.getElement()) == null ? void 0 : s.parentElement) == null ? void 0 : r.parentElement), e = t == null ? void 0 : t.parentElement;
1256
1256
  if (e)
1257
1257
  return e.contains(Je) || t.parentElement.insertBefore(Je, t), Je;
1258
1258
  console.error(
1259
1259
  "Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/tree/main/plugins/src/CSS3DRenderPlugin/README.md"
1260
1260
  );
1261
1261
  }
1262
- function Bi(i) {
1262
+ function ji(i) {
1263
1263
  var a;
1264
1264
  if (!i)
1265
1265
  return;
@@ -1270,7 +1270,7 @@ function Bi(i) {
1270
1270
  if (!(n !== "transparent" && n !== "rgba(0, 0, 0, 0)" && n !== "" || o !== "none" && o !== ""))
1271
1271
  return i;
1272
1272
  }
1273
- const Ra = "v2.0.1", ji = `CSS3DRenderPlugin@${Ra}`;
1273
+ const Ra = "v2.0.1", Vi = `CSS3DRenderPlugin@${Ra}`;
1274
1274
  class vu extends Dn {
1275
1275
  constructor(e) {
1276
1276
  super();
@@ -1283,7 +1283,7 @@ class vu extends Dn {
1283
1283
  return;
1284
1284
  const o = (() => {
1285
1285
  var h;
1286
- (n == null ? void 0 : n.dpr) !== void 0 && console.warn(`${ji}: please use "config.devicePixelRatio" replace "config.dpr"`);
1286
+ (n == null ? void 0 : n.dpr) !== void 0 && console.warn(`${Vi}: please use "config.devicePixelRatio" replace "config.dpr"`);
1287
1287
  const u = {
1288
1288
  ratio: 216e-5,
1289
1289
  devicePixelRatio: (h = n == null ? void 0 : n.dpr) != null ? h : 1,
@@ -1293,7 +1293,7 @@ class vu extends Dn {
1293
1293
  return Object.assign(u, n, (n == null ? void 0 : n.mode) === "behind" ? { scene: this.five.scene } : void 0);
1294
1294
  })(), s = this.five.getElement();
1295
1295
  if (!s) {
1296
- console.error(`${ji}: five.getElement() is ${s}`);
1296
+ console.error(`${Vi}: five.getElement() is ${s}`);
1297
1297
  return;
1298
1298
  }
1299
1299
  const { autoRender: r } = o;
@@ -1304,7 +1304,7 @@ class vu extends Dn {
1304
1304
  const l = () => {
1305
1305
  const u = a.css3DObject.mode === "front" ? s.parentElement : this.getBehindFiveElement();
1306
1306
  if (!u)
1307
- return console.error(`${ji}: wrapper is ${u}`);
1307
+ return console.error(`${Vi}: wrapper is ${u}`);
1308
1308
  a.appendToElement(u), a.render();
1309
1309
  }, c = () => {
1310
1310
  a.css3DObject.mode === "front" && l(), a.css3DObject.mode === "behind" && Va(this.five).then(() => l());
@@ -1325,11 +1325,11 @@ class vu extends Dn {
1325
1325
  }
1326
1326
  }
1327
1327
  const Bn = (i) => new vu(i);
1328
- function Vi(i, t, e = new q(1, 1, 1), n = !1) {
1328
+ function Oi(i, t, e = new q(1, 1, 1), n = !1) {
1329
1329
  const o = new Sa(i, t);
1330
1330
  return o.setMaterial({ dashed: n, color: e, linewidth: 1 }), o.remove(o.points), o;
1331
1331
  }
1332
- const Bb = (i) => {
1332
+ const B1 = (i) => {
1333
1333
  const t = {
1334
1334
  intersection: null,
1335
1335
  disposers: []
@@ -1346,17 +1346,17 @@ const Bb = (i) => {
1346
1346
  const o = (u, h = 2, d = 0.1) => {
1347
1347
  const m = h / 2, p = c(u, d), A = new Wt();
1348
1348
  A.add(
1349
- Vi(
1349
+ Oi(
1350
1350
  new q(p.x + m, p.y, p.z),
1351
1351
  new q(p.x - m, p.y, p.z),
1352
1352
  new q(1, 0, 0)
1353
1353
  ),
1354
- Vi(
1354
+ Oi(
1355
1355
  new q(p.x, p.y + m, p.z),
1356
1356
  new q(p.x, p.y - m, p.z),
1357
1357
  new q(0, 1, 0)
1358
1358
  ),
1359
- Vi(
1359
+ Oi(
1360
1360
  new q(p.x, p.y, p.z + m),
1361
1361
  new q(p.x, p.y, p.z - m),
1362
1362
  new q(0, 0, 1)
@@ -1559,7 +1559,7 @@ function Eu() {
1559
1559
  }
1560
1560
  return Nn;
1561
1561
  }
1562
- function Ei(i, t) {
1562
+ function Ci(i, t) {
1563
1563
  getComputedStyle(i).position === "static" && (i.style.position = "relative");
1564
1564
  const n = B("iframe");
1565
1565
  n.setAttribute("style", "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
@@ -1580,7 +1580,7 @@ function Ya(i, t, { bubbles: e = !1, cancelable: n = !1 } = {}) {
1580
1580
  const o = document.createEvent("CustomEvent");
1581
1581
  return o.initCustomEvent(i, e, n, t), o;
1582
1582
  }
1583
- class li {
1583
+ class ci {
1584
1584
  constructor(t = !1) {
1585
1585
  this.is_svg = !1, this.is_svg = t, this.e = this.n = null;
1586
1586
  }
@@ -1604,8 +1604,8 @@ class li {
1604
1604
  this.n.forEach(M);
1605
1605
  }
1606
1606
  }
1607
- const ci = /* @__PURE__ */ new Map();
1608
- let ui = 0;
1607
+ const ui = /* @__PURE__ */ new Map();
1608
+ let di = 0;
1609
1609
  function Cu(i) {
1610
1610
  let t = 5381, e = i.length;
1611
1611
  for (; e--; )
@@ -1614,7 +1614,7 @@ function Cu(i) {
1614
1614
  }
1615
1615
  function Pu(i, t) {
1616
1616
  const e = { stylesheet: yu(t), rules: {} };
1617
- return ci.set(i, e), e;
1617
+ return ui.set(i, e), e;
1618
1618
  }
1619
1619
  function Ua(i, t, e, n, o, s, r, a = 0) {
1620
1620
  const l = 16.666 / n;
@@ -1626,23 +1626,23 @@ function Ua(i, t, e, n, o, s, r, a = 0) {
1626
1626
  `;
1627
1627
  }
1628
1628
  const u = c + `100% {${r(e, 1 - e)}}
1629
- }`, h = `__svelte_${Cu(u)}_${a}`, d = Eo(i), { stylesheet: m, rules: g } = ci.get(d) || Pu(d, i);
1629
+ }`, h = `__svelte_${Cu(u)}_${a}`, d = Eo(i), { stylesheet: m, rules: g } = ui.get(d) || Pu(d, i);
1630
1630
  g[h] || (g[h] = !0, m.insertRule(`@keyframes ${h} ${u}`, m.cssRules.length));
1631
1631
  const p = i.style.animation || "";
1632
- return i.style.animation = `${p ? `${p}, ` : ""}${h} ${n}ms linear ${o}ms 1 both`, ui += 1, h;
1632
+ return i.style.animation = `${p ? `${p}, ` : ""}${h} ${n}ms linear ${o}ms 1 both`, di += 1, h;
1633
1633
  }
1634
- function io(i, t) {
1634
+ function oo(i, t) {
1635
1635
  const e = (i.style.animation || "").split(", "), n = e.filter(
1636
1636
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
1637
1637
  ), o = e.length - n.length;
1638
- o && (i.style.animation = n.join(", "), ui -= o, ui || Iu());
1638
+ o && (i.style.animation = n.join(", "), di -= o, di || Iu());
1639
1639
  }
1640
1640
  function Iu() {
1641
1641
  wo(() => {
1642
- ui || (ci.forEach((i) => {
1642
+ di || (ui.forEach((i) => {
1643
1643
  const { ownerNode: t } = i.stylesheet;
1644
1644
  t && M(t);
1645
- }), ci.clear());
1645
+ }), ui.clear());
1646
1646
  });
1647
1647
  }
1648
1648
  let Ln;
@@ -1666,7 +1666,7 @@ function Ja(i) {
1666
1666
  function Pt(i) {
1667
1667
  Ct().$$.on_destroy.push(i);
1668
1668
  }
1669
- function Ci() {
1669
+ function Pi() {
1670
1670
  const i = Ct();
1671
1671
  return (t, e, { cancelable: n = !1 } = {}) => {
1672
1672
  const o = i.$$.callbacks[t];
@@ -1679,7 +1679,7 @@ function Ci() {
1679
1679
  return !0;
1680
1680
  };
1681
1681
  }
1682
- function oo(i, t) {
1682
+ function so(i, t) {
1683
1683
  return Ct().$$.context.set(i, t), t;
1684
1684
  }
1685
1685
  function At(i) {
@@ -1689,10 +1689,10 @@ function sn(i, t) {
1689
1689
  const e = i.$$.callbacks[t.type];
1690
1690
  e && e.slice().forEach((n) => n.call(this, t));
1691
1691
  }
1692
- const gn = [], Be = [], oi = [], so = [], Za = Promise.resolve();
1693
- let ro = !1;
1692
+ const gn = [], Be = [], oi = [], ro = [], Za = Promise.resolve();
1693
+ let ao = !1;
1694
1694
  function Ka() {
1695
- ro || (ro = !0, Za.then(Co));
1695
+ ao || (ao = !0, Za.then(Co));
1696
1696
  }
1697
1697
  function $o() {
1698
1698
  return Ka(), Za;
@@ -1701,9 +1701,9 @@ function Re(i) {
1701
1701
  oi.push(i);
1702
1702
  }
1703
1703
  function $a(i) {
1704
- so.push(i);
1704
+ ro.push(i);
1705
1705
  }
1706
- const Oi = /* @__PURE__ */ new Set();
1706
+ const Ri = /* @__PURE__ */ new Set();
1707
1707
  let Xn = 0;
1708
1708
  function Co() {
1709
1709
  const i = Ln;
@@ -1716,13 +1716,13 @@ function Co() {
1716
1716
  Be.pop()();
1717
1717
  for (let t = 0; t < oi.length; t += 1) {
1718
1718
  const e = oi[t];
1719
- Oi.has(e) || (Oi.add(e), e());
1719
+ Ri.has(e) || (Ri.add(e), e());
1720
1720
  }
1721
1721
  oi.length = 0;
1722
1722
  } while (gn.length);
1723
- for (; so.length; )
1724
- so.pop()();
1725
- ro = !1, Oi.clear(), ct(i);
1723
+ for (; ro.length; )
1724
+ ro.pop()();
1725
+ ao = !1, Ri.clear(), ct(i);
1726
1726
  }
1727
1727
  function ku(i) {
1728
1728
  if (i.fragment !== null) {
@@ -1737,7 +1737,7 @@ function el() {
1737
1737
  un = null;
1738
1738
  })), un;
1739
1739
  }
1740
- function di(i, t, e) {
1740
+ function hi(i, t, e) {
1741
1741
  i.dispatchEvent(Ya(`${t ? "intro" : "outro"}${e}`));
1742
1742
  }
1743
1743
  const si = /* @__PURE__ */ new Set();
@@ -1769,16 +1769,16 @@ const tl = { duration: 0 };
1769
1769
  function zt(i, t, e) {
1770
1770
  let n = t(i, e), o = !1, s, r, a = 0;
1771
1771
  function l() {
1772
- s && io(i, s);
1772
+ s && oo(i, s);
1773
1773
  }
1774
1774
  function c() {
1775
1775
  const { delay: h = 0, duration: d = 300, easing: m = vt, tick: g = N, css: p } = n || tl;
1776
1776
  p && (s = Ua(i, 0, 1, d, h, m, p, a++)), g(0, 1);
1777
1777
  const A = Ga() + h, v = A + d;
1778
- r && r.abort(), o = !0, Re(() => di(i, !0, "start")), r = _a((b) => {
1778
+ r && r.abort(), o = !0, Re(() => hi(i, !0, "start")), r = _a((b) => {
1779
1779
  if (o) {
1780
1780
  if (b >= v)
1781
- return g(1, 0), di(i, !0, "end"), l(), o = !1;
1781
+ return g(1, 0), hi(i, !0, "end"), l(), o = !1;
1782
1782
  if (b >= A) {
1783
1783
  const w = m((b - A) / d);
1784
1784
  g(w, 1 - w);
@@ -1790,7 +1790,7 @@ function zt(i, t, e) {
1790
1790
  let u = !1;
1791
1791
  return {
1792
1792
  start() {
1793
- u || (u = !0, io(i), $t(n) ? (n = n(), el().then(c)) : c());
1793
+ u || (u = !0, oo(i), $t(n) ? (n = n(), el().then(c)) : c());
1794
1794
  },
1795
1795
  invalidate() {
1796
1796
  u = !1;
@@ -1808,10 +1808,10 @@ function rn(i, t, e) {
1808
1808
  const { delay: l = 0, duration: c = 300, easing: u = vt, tick: h = N, css: d } = n || tl;
1809
1809
  d && (s = Ua(i, 1, 0, c, l, u, d));
1810
1810
  const m = Ga() + l, g = m + c;
1811
- Re(() => di(i, !1, "start")), _a((p) => {
1811
+ Re(() => hi(i, !1, "start")), _a((p) => {
1812
1812
  if (o) {
1813
1813
  if (p >= g)
1814
- return h(0, 1), di(i, !1, "end"), --r.r || He(r.c), !1;
1814
+ return h(0, 1), hi(i, !1, "end"), --r.r || He(r.c), !1;
1815
1815
  if (p >= m) {
1816
1816
  const A = u((p - m) / c);
1817
1817
  h(1 - A, A);
@@ -1824,11 +1824,11 @@ function rn(i, t, e) {
1824
1824
  n = n(), a();
1825
1825
  }) : a(), {
1826
1826
  end(l) {
1827
- l && n.tick && n.tick(1, 0), o && (s && io(i, s), o = !1);
1827
+ l && n.tick && n.tick(1, 0), o && (s && oo(i, s), o = !1);
1828
1828
  }
1829
1829
  };
1830
1830
  }
1831
- function hi(i, t) {
1831
+ function fi(i, t) {
1832
1832
  const e = t.token = {};
1833
1833
  function n(o, s, r, a) {
1834
1834
  if (t.token !== e)
@@ -2076,10 +2076,10 @@ var sl = function() {
2076
2076
  }
2077
2077
  }, t;
2078
2078
  }();
2079
- }(), ao = typeof window != "undefined" && typeof document != "undefined" && window.document === document, fi = function() {
2079
+ }(), lo = typeof window != "undefined" && typeof document != "undefined" && window.document === document, mi = function() {
2080
2080
  return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
2081
2081
  }(), Bu = function() {
2082
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(fi) : function(i) {
2082
+ return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(mi) : function(i) {
2083
2083
  return setTimeout(function() {
2084
2084
  return i(Date.now());
2085
2085
  }, 1e3 / 60);
@@ -2125,14 +2125,14 @@ var Ou = 20, Ru = ["top", "right", "bottom", "left", "width", "height", "size",
2125
2125
  return e.broadcastActive();
2126
2126
  }), t.length > 0;
2127
2127
  }, i.prototype.connect_ = function() {
2128
- !ao || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Qu ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
2128
+ !lo || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Qu ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
2129
2129
  attributes: !0,
2130
2130
  childList: !0,
2131
2131
  characterData: !0,
2132
2132
  subtree: !0
2133
2133
  })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
2134
2134
  }, i.prototype.disconnect_ = function() {
2135
- !ao || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
2135
+ !lo || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
2136
2136
  }, i.prototype.onTransitionEnd_ = function(t) {
2137
2137
  var e = t.propertyName, n = e === void 0 ? "" : e, o = Ru.some(function(s) {
2138
2138
  return !!~n.indexOf(s);
@@ -2154,9 +2154,9 @@ var Ou = 20, Ru = ["top", "right", "bottom", "left", "width", "height", "size",
2154
2154
  return i;
2155
2155
  }, Yt = function(i) {
2156
2156
  var t = i && i.ownerDocument && i.ownerDocument.defaultView;
2157
- return t || fi;
2158
- }, al = Pi(0, 0, 0, 0);
2159
- function mi(i) {
2157
+ return t || mi;
2158
+ }, al = Ii(0, 0, 0, 0);
2159
+ function pi(i) {
2160
2160
  return parseFloat(i) || 0;
2161
2161
  }
2162
2162
  function es(i) {
@@ -2164,30 +2164,30 @@ function es(i) {
2164
2164
  t[e - 1] = arguments[e];
2165
2165
  return t.reduce(function(n, o) {
2166
2166
  var s = i["border-" + o + "-width"];
2167
- return n + mi(s);
2167
+ return n + pi(s);
2168
2168
  }, 0);
2169
2169
  }
2170
2170
  function Hu(i) {
2171
2171
  for (var t = ["top", "right", "bottom", "left"], e = {}, n = 0, o = t; n < o.length; n++) {
2172
2172
  var s = o[n], r = i["padding-" + s];
2173
- e[s] = mi(r);
2173
+ e[s] = pi(r);
2174
2174
  }
2175
2175
  return e;
2176
2176
  }
2177
2177
  function Gu(i) {
2178
2178
  var t = i.getBBox();
2179
- return Pi(0, 0, t.width, t.height);
2179
+ return Ii(0, 0, t.width, t.height);
2180
2180
  }
2181
2181
  function Wu(i) {
2182
2182
  var t = i.clientWidth, e = i.clientHeight;
2183
2183
  if (!t && !e)
2184
2184
  return al;
2185
- var n = Yt(i).getComputedStyle(i), o = Hu(n), s = o.left + o.right, r = o.top + o.bottom, a = mi(n.width), l = mi(n.height);
2185
+ var n = Yt(i).getComputedStyle(i), o = Hu(n), s = o.left + o.right, r = o.top + o.bottom, a = pi(n.width), l = pi(n.height);
2186
2186
  if (n.boxSizing === "border-box" && (Math.round(a + s) !== t && (a -= es(n, "left", "right") + s), Math.round(l + r) !== e && (l -= es(n, "top", "bottom") + r)), !Nu(i)) {
2187
2187
  var c = Math.round(a + s) - t, u = Math.round(l + r) - e;
2188
2188
  Math.abs(c) !== 1 && (a -= c), Math.abs(u) !== 1 && (l -= u);
2189
2189
  }
2190
- return Pi(o.left, o.top, a, l);
2190
+ return Ii(o.left, o.top, a, l);
2191
2191
  }
2192
2192
  var _u = function() {
2193
2193
  return typeof SVGGraphicsElement != "undefined" ? function(i) {
@@ -2200,7 +2200,7 @@ function Nu(i) {
2200
2200
  return i === Yt(i).document.documentElement;
2201
2201
  }
2202
2202
  function Xu(i) {
2203
- return ao ? _u(i) ? Gu(i) : Wu(i) : al;
2203
+ return lo ? _u(i) ? Gu(i) : Wu(i) : al;
2204
2204
  }
2205
2205
  function Yu(i) {
2206
2206
  var t = i.x, e = i.y, n = i.width, o = i.height, s = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, r = Object.create(s.prototype);
@@ -2215,12 +2215,12 @@ function Yu(i) {
2215
2215
  left: t
2216
2216
  }), r;
2217
2217
  }
2218
- function Pi(i, t, e, n) {
2218
+ function Ii(i, t, e, n) {
2219
2219
  return { x: i, y: t, width: e, height: n };
2220
2220
  }
2221
2221
  var Uu = function() {
2222
2222
  function i(t) {
2223
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Pi(0, 0, 0, 0), this.target = t;
2223
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Ii(0, 0, 0, 0), this.target = t;
2224
2224
  }
2225
2225
  return i.prototype.isActive = function() {
2226
2226
  var t = Xu(this.target);
@@ -2300,7 +2300,7 @@ var Uu = function() {
2300
2300
  };
2301
2301
  });
2302
2302
  var Zu = function() {
2303
- return typeof fi.ResizeObserver != "undefined" ? fi.ResizeObserver : cl;
2303
+ return typeof mi.ResizeObserver != "undefined" ? mi.ResizeObserver : cl;
2304
2304
  }();
2305
2305
  function an(i) {
2306
2306
  new Zu((e, n) => {
@@ -2531,12 +2531,12 @@ class od {
2531
2531
  }
2532
2532
  }
2533
2533
  }
2534
- const jb = (i) => new od(i), Vb = {
2534
+ const j1 = (i) => new od(i), V1 = {
2535
2535
  name: "ModelRoomLabelPlugin",
2536
2536
  version: 0
2537
2537
  };
2538
2538
  var Dt = /* @__PURE__ */ ((i) => (i[i.FLOOR = 1] = "FLOOR", i[i.CEILING = 2] = "CEILING", i[i.BOUNDING_CENTER = 3] = "BOUNDING_CENTER", i))(Dt || {});
2539
- function pi(i) {
2539
+ function gi(i) {
2540
2540
  return F(this, null, function* () {
2541
2541
  try {
2542
2542
  return [null, yield i];
@@ -2545,10 +2545,10 @@ function pi(i) {
2545
2545
  }
2546
2546
  });
2547
2547
  }
2548
- function gi(i) {
2548
+ function vi(i) {
2549
2549
  return Object.prototype.toString.call(i) === "[object Object]";
2550
2550
  }
2551
- function Ii(i, t) {
2551
+ function ki(i, t) {
2552
2552
  return i === t ? !0 : typeof i != typeof t ? !1 : !!(Number.isNaN(i) && Number.isNaN(t));
2553
2553
  }
2554
2554
  function sd(i, t) {
@@ -2557,7 +2557,7 @@ function sd(i, t) {
2557
2557
  return !1;
2558
2558
  for (let o = 0, s = e.length; o < s; o++) {
2559
2559
  const r = e[o];
2560
- if (!Ii(i[r], t[r]))
2560
+ if (!ki(i[r], t[r]))
2561
2561
  return !1;
2562
2562
  }
2563
2563
  return !0;
@@ -2566,15 +2566,15 @@ function rd(i, t) {
2566
2566
  if (i.length !== t.length)
2567
2567
  return !1;
2568
2568
  for (let e = 0, n = i.length; e < n; e++)
2569
- if (!Ii(i[e], t[e]))
2569
+ if (!ki(i[e], t[e]))
2570
2570
  return !1;
2571
2571
  return !0;
2572
2572
  }
2573
2573
  function ad(i, t) {
2574
- return Ii(i, t) ? !0 : gi(i) && gi(t) ? sd(i, t) : Array.isArray(i) && Array.isArray(t) ? rd(i, t) : !1;
2574
+ return ki(i, t) ? !0 : vi(i) && vi(t) ? sd(i, t) : Array.isArray(i) && Array.isArray(t) ? rd(i, t) : !1;
2575
2575
  }
2576
2576
  function Io(i, t) {
2577
- return Ii(i, t) ? !0 : gi(i) && gi(t) ? cd(i, t) : Array.isArray(i) && Array.isArray(t) ? ld(i, t) : !1;
2577
+ return ki(i, t) ? !0 : vi(i) && vi(t) ? cd(i, t) : Array.isArray(i) && Array.isArray(t) ? ld(i, t) : !1;
2578
2578
  }
2579
2579
  function ld(i, t) {
2580
2580
  if (i.length !== t.length)
@@ -2625,7 +2625,7 @@ function is(i, { delay: t = 0, duration: e = 400, easing: n = ul, x: o = 0, y: s
2625
2625
  opacity: ${l - u * d}`
2626
2626
  };
2627
2627
  }
2628
- function vi(i, { delay: t = 0, speed: e, duration: n, easing: o = Ut } = {}) {
2628
+ function Ai(i, { delay: t = 0, speed: e, duration: n, easing: o = Ut } = {}) {
2629
2629
  let s = i.getTotalLength();
2630
2630
  const r = getComputedStyle(i);
2631
2631
  return r.strokeLinecap !== "butt" && (s += parseInt(r.strokeWidth)), n === void 0 ? e === void 0 ? n = 800 : n = s / e : typeof n == "function" && (n = n(s)), {
@@ -2818,7 +2818,7 @@ function kd(i) {
2818
2818
  let t, e, n, o;
2819
2819
  return {
2820
2820
  c() {
2821
- t = B("div"), e = new li(!1), n = $(), o = new li(!1), e.a = n, o.a = null, y(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
2821
+ t = B("div"), e = new ci(!1), n = $(), o = new ci(!1), e.a = n, o.a = null, y(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
2822
2822
  },
2823
2823
  m(s, r) {
2824
2824
  T(s, t, r), e.m(i[1], t), j(t, n), o.m(i[0], t);
@@ -2958,7 +2958,7 @@ function jd(i) {
2958
2958
  let t, e = i[8].outerHTML + "", n;
2959
2959
  return {
2960
2960
  c() {
2961
- t = new li(!1), n = pe(), t.a = n;
2961
+ t = new ci(!1), n = pe(), t.a = n;
2962
2962
  },
2963
2963
  m(o, s) {
2964
2964
  t.m(e, o, s), T(o, n, s);
@@ -3581,7 +3581,7 @@ class Kd extends oe {
3581
3581
  );
3582
3582
  }
3583
3583
  }
3584
- function ki(i, t = {}) {
3584
+ function xi(i, t = {}) {
3585
3585
  let e = "";
3586
3586
  const { needZ: n, needA: o } = t;
3587
3587
  return (n ? i.slice().concat(i[0]) : i.slice()).forEach((r, a) => {
@@ -3633,7 +3633,7 @@ function ih(i, t, e) {
3633
3633
  return i.$$set = (s) => {
3634
3634
  "path" in s && e(1, o = s.path);
3635
3635
  }, i.$$.update = () => {
3636
- i.$$.dirty & 2 && e(0, n = ki(o, { needZ: !0 }));
3636
+ i.$$.dirty & 2 && e(0, n = xi(o, { needZ: !0 }));
3637
3637
  }, [n, o];
3638
3638
  }
3639
3639
  class oh extends oe {
@@ -3660,14 +3660,14 @@ function sh(i) {
3660
3660
  }
3661
3661
  };
3662
3662
  }
3663
- const Ri = 6;
3663
+ const Qi = 6;
3664
3664
  function rh(i, t, e) {
3665
3665
  let n, { path: o } = t;
3666
- const s = Ri * 2, r = `M0 ${Ri} h ${s} M${Ri} 0 v ${s}`;
3666
+ const s = Qi * 2, r = `M0 ${Qi} h ${s} M${Qi} 0 v ${s}`;
3667
3667
  return i.$$set = (a) => {
3668
3668
  "path" in a && e(3, o = a.path);
3669
3669
  }, i.$$.update = () => {
3670
- i.$$.dirty & 8 && e(0, n = ki(o, { needZ: !0 }));
3670
+ i.$$.dirty & 8 && e(0, n = xi(o, { needZ: !0 }));
3671
3671
  }, [n, s, r, o];
3672
3672
  }
3673
3673
  class ah extends oe {
@@ -3699,7 +3699,7 @@ function ch(i, t, e) {
3699
3699
  return i.$$set = (s) => {
3700
3700
  "path" in s && e(1, o = s.path);
3701
3701
  }, i.$$.update = () => {
3702
- i.$$.dirty & 2 && e(0, n = ki(o, { needZ: !0 }));
3702
+ i.$$.dirty & 2 && e(0, n = xi(o, { needZ: !0 }));
3703
3703
  }, [n, o];
3704
3704
  }
3705
3705
  class uh extends oe {
@@ -3916,7 +3916,7 @@ function yh(i, t, e) {
3916
3916
  function h() {
3917
3917
  l.set(void 0);
3918
3918
  }
3919
- const { bounding: d } = a, m = ki(s.path, {
3919
+ const { bounding: d } = a, m = xi(s.path, {
3920
3920
  needZ: !0,
3921
3921
  format: (g) => fl(g, d)
3922
3922
  });
@@ -4718,7 +4718,7 @@ function Rh(i, t, e) {
4718
4718
  function Qh(i, t) {
4719
4719
  return t(i), i;
4720
4720
  }
4721
- function xi(i, t) {
4721
+ function Di(i, t) {
4722
4722
  return Qh({}, (e) => {
4723
4723
  for (const n in i)
4724
4724
  t.indexOf(n) === -1 && (e[n] = i[n]);
@@ -4740,7 +4740,7 @@ function Lo(i, t, e, n) {
4740
4740
  }
4741
4741
  class jn {
4742
4742
  constructor(t, e) {
4743
- f(this, "VERSION", "2.17.1-alpha.4");
4743
+ f(this, "VERSION", "2.17.1-alpha.6");
4744
4744
  f(this, "five");
4745
4745
  f(this, "hooks", new Kt());
4746
4746
  f(this, "staticPrefix", "//vrlab-static.ljcdn.com");
@@ -4754,7 +4754,7 @@ class Bt extends jn {
4754
4754
  }
4755
4755
  var _e = /* @__PURE__ */ ((i) => (i.UnknownError = "UnknownError", i.DataNotLoaded = "DataNotLoaded", i.BreakOffByHide = "BreakOffByHide", i.BreakOffByDisable = "BreakOffByDisable", i.ModelNotLoaded = "ModelNotLoaded", i.ChangeModeError = "ChangeModeError", i.UpdateCameraError = "UpdateCameraError", i))(_e || {});
4756
4756
  const pl = 500, Fh = 80;
4757
- function lo(i, t, e = 4) {
4757
+ function co(i, t, e = 4) {
4758
4758
  return Math.floor(i * Math.pow(10, e)) === Math.floor(t * Math.pow(10, e));
4759
4759
  }
4760
4760
  function gl(i, t) {
@@ -4769,7 +4769,7 @@ function gl(i, t) {
4769
4769
  if (u === void 0)
4770
4770
  return !0;
4771
4771
  const h = l[c];
4772
- return typeof u == "number" && typeof h == "number" ? lo(u, h, 2) : u === h;
4772
+ return typeof u == "number" && typeof h == "number" ? co(u, h, 2) : u === h;
4773
4773
  }) : !0;
4774
4774
  })() || n(new Error("five pose \u4E0E\u9884\u671F\u4E0D\u7B26")), e();
4775
4775
  });
@@ -4780,7 +4780,7 @@ function Mo(i, t) {
4780
4780
  if (i.currentMode !== t.mode)
4781
4781
  return !1;
4782
4782
  const { latitude: e, longitude: n, fov: o } = t, { latitude: s, longitude: r } = i.getCurrentState(), a = i.camera.fov;
4783
- return !(!lo(e, s, 2) || !lo(n, r, 2) || o !== a);
4783
+ return !(!co(e, s, 2) || !co(n, r, 2) || o !== a);
4784
4784
  }
4785
4785
  function vl(i, t, e = !0) {
4786
4786
  return F(this, null, function* () {
@@ -4788,7 +4788,7 @@ function vl(i, t, e = !0) {
4788
4788
  return;
4789
4789
  const o = i.getCurrentState();
4790
4790
  if (o.mode !== t.mode) {
4791
- const [u] = yield pi(gl(i, [t.mode, t, void 0, e]));
4791
+ const [u] = yield gi(gl(i, [t.mode, t, void 0, e]));
4792
4792
  if (u)
4793
4793
  throw new Error(_e.ChangeModeError);
4794
4794
  return;
@@ -4801,7 +4801,7 @@ function vl(i, t, e = !0) {
4801
4801
  (r > Math.PI ? 2 * Math.PI - r : r) * 500,
4802
4802
  Math.abs(a - t.fov) * 10
4803
4803
  )
4804
- ), [c] = yield pi(i.updateCamera(t, l, e));
4804
+ ), [c] = yield gi(i.updateCamera(t, l, e));
4805
4805
  if (c)
4806
4806
  throw new Error(_e.UpdateCameraError);
4807
4807
  });
@@ -4899,7 +4899,7 @@ class Wh extends Bt {
4899
4899
  this.showRejection = (d) => {
4900
4900
  a = !0, l = d;
4901
4901
  };
4902
- const [c] = yield pi(vl(this.five, this.showState, o.userAction));
4902
+ const [c] = yield gi(vl(this.five, this.showState, o.userAction));
4903
4903
  if (c)
4904
4904
  throw c;
4905
4905
  if (a)
@@ -5008,7 +5008,7 @@ class Wh extends Bt {
5008
5008
  getLabelElement: void 0,
5009
5009
  getRoomAreaText: (l) => (l / 1e6).toFixed(1) + "\u33A1",
5010
5010
  getRuleDistanceText: (l) => l.toString()
5011
- }, s = n ? xi(n, ["selector", "scale"]) : {}, r = R(R({}, o), s);
5011
+ }, s = n ? Di(n, ["selector", "scale"]) : {}, r = R(R({}, o), s);
5012
5012
  this.state = {
5013
5013
  enabled: !0,
5014
5014
  visible: !1,
@@ -5099,7 +5099,7 @@ class Wh extends Bt {
5099
5099
  this.app = new xo({ target: this.container, intro: !0, props: n });
5100
5100
  }
5101
5101
  }
5102
- const Ob = (i, t) => new Wh(i, t);
5102
+ const O1 = (i, t) => new Wh(i, t);
5103
5103
  function _h(i) {
5104
5104
  const { latitude: t, longitude: e } = i, n = Math.abs(t - Math.PI / 2) > 5 * Math.PI / 180, o = e > 5 * (Math.PI / 180) && e < 355 * (Math.PI / 180);
5105
5105
  return n || o;
@@ -5183,7 +5183,7 @@ class Xh extends Bt {
5183
5183
  this.showRejection = (d) => {
5184
5184
  a = !0, l = d;
5185
5185
  };
5186
- const [c] = yield pi(vl(this.five, this.showState, o.userAction));
5186
+ const [c] = yield gi(vl(this.five, this.showState, o.userAction));
5187
5187
  if (c)
5188
5188
  throw c;
5189
5189
  if (a)
@@ -5290,7 +5290,7 @@ class Xh extends Bt {
5290
5290
  adaptiveRoomLabelVisibleEnable: !0,
5291
5291
  getRoomAreaText: (a) => (a / 1e6).toFixed(1) + "\u33A1",
5292
5292
  getRuleDistanceText: (a) => a.toString()
5293
- }, s = n ? xi(n, ["selector", "scale"]) : {}, r = R(R({}, o), s);
5293
+ }, s = n ? Di(n, ["selector", "scale"]) : {}, r = R(R({}, o), s);
5294
5294
  this.state = {
5295
5295
  enabled: !0,
5296
5296
  visible: !1,
@@ -5388,7 +5388,7 @@ class Xh extends Bt {
5388
5388
  this.app = new xo({ target: this.container, intro: !0, props: n });
5389
5389
  }
5390
5390
  }
5391
- const Rb = (i, t) => new Xh(i, t);
5391
+ const R1 = (i, t) => new Xh(i, t);
5392
5392
  class Yh extends Bt {
5393
5393
  constructor(e, n) {
5394
5394
  super(e);
@@ -5487,7 +5487,7 @@ class Yh extends Bt {
5487
5487
  adaptiveRoomLabelVisibleEnable: !0,
5488
5488
  getRoomAreaText: (a) => (a / 1e6).toFixed(1) + "\u33A1",
5489
5489
  getRuleDistanceText: (a) => a.toString()
5490
- }, s = n ? xi(n, ["selector", "scale"]) : {}, r = R(R({}, o), s);
5490
+ }, s = n ? Di(n, ["selector", "scale"]) : {}, r = R(R({}, o), s);
5491
5491
  this.state = {
5492
5492
  enabled: !0,
5493
5493
  visible: !1,
@@ -5631,7 +5631,7 @@ class Yh extends Bt {
5631
5631
  this.app = new xo({ target: this.container, intro: !0, props: n });
5632
5632
  }
5633
5633
  }
5634
- const Qb = (i, t) => new Yh(i, t);
5634
+ const Q1 = (i, t) => new Yh(i, t);
5635
5635
  function So(i, t = 200) {
5636
5636
  let e;
5637
5637
  return function(...n) {
@@ -6236,7 +6236,7 @@ class df extends Bt {
6236
6236
  this.app ? this.app.$set(e) : this.app = new uf({ target: this.wrapper, props: e });
6237
6237
  }
6238
6238
  }
6239
- const Fb = (i, t) => new df(i, t), Hb = [
6239
+ const F1 = (i, t) => new df(i, t), H1 = [
6240
6240
  { type: 0, floorType: 1, roomType: "100900000012", name: "\u5176\u4ED6" },
6241
6241
  { type: 1, floorType: 1, roomType: "100900000002", name: "\u5BA2\u5385" },
6242
6242
  { type: 2, floorType: 1, roomType: "100900000002", name: "\u9910\u5385" },
@@ -6308,14 +6308,14 @@ const Fb = (i, t) => new df(i, t), Hb = [
6308
6308
  { type: 56, floorType: 2, roomType: "100900000012", name: "\u7A7A\u4E2D\u82B1\u56ED" },
6309
6309
  { type: 57, floorType: 0, roomType: "100900000001", name: "\u6D0B\u5BA4" },
6310
6310
  { type: 58, floorType: 0, roomType: "100900000001", name: "\u548C\u5BA4" }
6311
- ], Gb = [
6311
+ ], G1 = [
6312
6312
  { type: 0, description: "\u6728\u8D28\u5730\u677F" },
6313
6313
  { type: 1, description: "\u74F7\u7816\u5730\u9762" },
6314
6314
  { type: 2, description: "\u6237\u5916\u5730\u9762" },
6315
6315
  { type: 3, description: "\u536B\u751F\u95F4\u5730\u9762" },
6316
6316
  { type: 4, description: "\u9633\u53F0\u5730\u9762" },
6317
6317
  { type: 5, description: "\u8F66\u5E93\u5730\u9762" }
6318
- ], Wb = [
6318
+ ], W1 = [
6319
6319
  { roomType: "100900000001", description: "\u5BA4" },
6320
6320
  { roomType: "100900000002", description: "\u5385" },
6321
6321
  { roomType: "100900000003", description: "\u53A8" },
@@ -6331,7 +6331,7 @@ const Fb = (i, t) => new df(i, t), Hb = [
6331
6331
  { roomType: "100900000013", description: "\u8863" },
6332
6332
  { roomType: "100900000015", description: "\u5546\u94FA" },
6333
6333
  { roomType: "100900000016", description: "\u5199\u5B57\u697C" }
6334
- ], Qi = (i, t, e) => {
6334
+ ], Fi = (i, t, e) => {
6335
6335
  const n = new E.Matrix4(), o = new E.Euler(i, t, e, "YXZ");
6336
6336
  return n.makeRotationFromEuler(o), n;
6337
6337
  }, hf = (i, {
@@ -6341,7 +6341,7 @@ const Fb = (i, t) => new df(i, t), Hb = [
6341
6341
  }) => {
6342
6342
  if (t && i.scale.set(t, t, t), e) {
6343
6343
  const [o, s, r] = e;
6344
- o && i.applyMatrix4(Qi(o, 0, 0)), s && i.applyMatrix4(Qi(0, s, 0)), r && i.applyMatrix4(Qi(0, 0, r));
6344
+ o && i.applyMatrix4(Fi(o, 0, 0)), s && i.applyMatrix4(Fi(0, s, 0)), r && i.applyMatrix4(Fi(0, 0, r));
6345
6345
  }
6346
6346
  return n && i.position.set(n.x, n.y, n.z), i;
6347
6347
  };
@@ -6354,7 +6354,7 @@ function Al(i, t) {
6354
6354
  }
6355
6355
  });
6356
6356
  }
6357
- const _b = (i, t) => {
6357
+ const _1 = (i, t) => {
6358
6358
  var u;
6359
6359
  const e = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX", n = (u = t.north_rad) != null ? u : void 0, o = {}, s = (h) => F(void 0, null, function* () {
6360
6360
  var S;
@@ -6408,7 +6408,7 @@ function ff(i, t) {
6408
6408
  const l = a.getContext("2d");
6409
6409
  return l.fillStyle = o, l.fillRect(0, 0, e, e), l.font = `${n}px "\u5FAE\u8F6F\u96C5\u9ED1"`, l.textAlign = r, l.fillStyle = s, l.fillText(i, e / 2, e * 0.7), new xc(a);
6410
6410
  }
6411
- const mf = ({ x: i, y: t, z: e }) => new q(i, t, e), Nb = (i, t) => {
6411
+ const mf = ({ x: i, y: t, z: e }) => new q(i, t, e), N1 = (i, t) => {
6412
6412
  var p, A, v;
6413
6413
  const e = {}, n = (p = t.animationEnabled) != null ? p : !0, o = (A = t.position) != null ? A : void 0, s = (v = t.rad) != null ? v : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (b) => F(void 0, null, function* () {
6414
6414
  var _, O, S, V, H, G, X, W;
@@ -6481,8 +6481,8 @@ function bl(i, t = In.Easing.Linear.None) {
6481
6481
  return i !== void 0 && e.duration(i), t !== void 0 && e.easing(t), e;
6482
6482
  }
6483
6483
  const Mn = window.requestAnimationFrame || ((i) => setTimeout(i, 16)), pf = window.cancelAnimationFrame || clearTimeout;
6484
- function Di(i, t = 0) {
6485
- t <= 0 ? Mn(i) : Mn(() => Di(i, t - 1));
6484
+ function Li(i, t = 0) {
6485
+ t <= 0 ? Mn(i) : Mn(() => Li(i, t - 1));
6486
6486
  }
6487
6487
  function Vn(i, t = 60) {
6488
6488
  let e = -1, n = 0, o = -1;
@@ -6502,10 +6502,10 @@ function gf() {
6502
6502
  });
6503
6503
  });
6504
6504
  }
6505
- const vf = wi.Easing;
6505
+ const vf = Ei.Easing;
6506
6506
  function Af(i, t, e, n = vf.Linear.None) {
6507
- const o = new wi.Tween(i).to(t, e).easing(n);
6508
- Di(() => o.start(0));
6507
+ const o = new Ei.Tween(i).to(t, e).easing(n);
6508
+ Li(() => o.start(0));
6509
6509
  const s = Vn((a) => {
6510
6510
  o.update(a) === !1 && s();
6511
6511
  }), r = [];
@@ -6533,13 +6533,13 @@ function js(i) {
6533
6533
  function Vs(i) {
6534
6534
  return i % ri;
6535
6535
  }
6536
- function Fi(i, t, e) {
6536
+ function Hi(i, t, e) {
6537
6537
  return i + (t - i) * e;
6538
6538
  }
6539
- const co = (i, t, e) => {
6539
+ const uo = (i, t, e) => {
6540
6540
  const n = Math.PI, o = n * 2;
6541
- return i = js(i), t = js(t), e === lt.Anticlockwise && i < t && (i += o), e === lt.Clockwise && t < i && (t += o), e === lt.Loop && t - i > n ? co(i, t, lt.Anticlockwise) : e === lt.Loop && i - t > n ? co(i, t, lt.Clockwise) : { from: i, to: t };
6542
- }, Xb = (i) => {
6541
+ return i = js(i), t = js(t), e === lt.Anticlockwise && i < t && (i += o), e === lt.Clockwise && t < i && (t += o), e === lt.Loop && t - i > n ? uo(i, t, lt.Anticlockwise) : e === lt.Loop && i - t > n ? uo(i, t, lt.Clockwise) : { from: i, to: t };
6542
+ }, X1 = (i) => {
6543
6543
  const t = {}, e = (l, c, ...u) => F(void 0, [l, c, ...u], function* (s, r, a = { preload: !0 }) {
6544
6544
  return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), s.mode && s.mode !== i.currentMode && (yield i.changeMode(s.mode)), a.preload && s.panoIndex !== void 0 && s.panoIndex !== i.panoIndex && (yield i.preloadPano(s.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), s.panoIndex === void 0 && s.fov === void 0 && s.latitude === void 0 && s.longitude === void 0 ? !0 : yield new Promise((h, d) => {
6545
6545
  const m = s.panoIndex !== void 0 ? s.panoIndex : i.panoIndex;
@@ -6556,7 +6556,7 @@ const co = (i, t, e) => {
6556
6556
  ) : d(!1);
6557
6557
  });
6558
6558
  }), n = (s) => {
6559
- const r = i.state, a = Vs(r.latitude), l = Vs(s.latitude), { from: c, to: u } = co(
6559
+ const r = i.state, a = Vs(r.latitude), l = Vs(s.latitude), { from: c, to: u } = uo(
6560
6560
  r.longitude,
6561
6561
  s.longitude,
6562
6562
  s.rotation || lt.Loop
@@ -6583,12 +6583,12 @@ const co = (i, t, e) => {
6583
6583
  return yield new Promise((m) => {
6584
6584
  const g = ({ progress: w }) => {
6585
6585
  const k = {};
6586
- k.longitude = Fi(h.longitude, d.longitude, w), k.latitude = Fi(h.latitude, d.latitude, w), k.fov = Fi(h.fov, d.fov, w), i.setState(k, !0);
6586
+ k.longitude = Hi(h.longitude, d.longitude, w), k.latitude = Hi(h.latitude, d.latitude, w), k.fov = Hi(h.fov, d.fov, w), i.setState(k, !0);
6587
6587
  }, p = () => {
6588
6588
  m(!0);
6589
6589
  }, A = () => {
6590
6590
  m(!1);
6591
- }, v = s.rotateSpeed ? Math.ceil(Math.abs(d.longitude - h.longitude) / s.rotateSpeed * 1e3) : r, b = bf(v, wi.Easing.Linear.None).onUpdate(g).onComplete(p).onDestroy(A);
6591
+ }, v = s.rotateSpeed ? Math.ceil(Math.abs(d.longitude - h.longitude) / s.rotateSpeed * 1e3) : r, b = bf(v, Ei.Easing.Linear.None).onUpdate(g).onComplete(p).onDestroy(A);
6592
6592
  s.rotation === lt.Loop && b.repeat(1 / 0).yoyo(!0), t.interruptCallback = (w = !0) => {
6593
6593
  b.destroy(), t.interruptCallback = void 0, t.timeoutId && (clearTimeout(t.timeoutId), t.timeoutId = void 0), m(w);
6594
6594
  }, t.timeoutId = setTimeout(() => {
@@ -6604,11 +6604,11 @@ function Os(i, t) {
6604
6604
  function yl(i, t) {
6605
6605
  return Math.abs(i) === 1 / 0 && Math.abs(t) === 1 / 0 ? !0 : Math.abs(i - t) < 1e-3;
6606
6606
  }
6607
- function Ai(i, t) {
6607
+ function bi(i, t) {
6608
6608
  return (t.y - i.y) / (t.x - i.x);
6609
6609
  }
6610
6610
  function wl(i, t, e) {
6611
- const n = Ai(i[1], i[0]), o = Ai(t[1], t[0]);
6611
+ const n = bi(i[1], i[0]), o = bi(t[1], t[0]);
6612
6612
  if (isNaN(n) || isNaN(o) || yl(n, o))
6613
6613
  return !1;
6614
6614
  if (Yn(i[0], t))
@@ -6630,7 +6630,7 @@ function wl(i, t, e) {
6630
6630
  return { x: a, y: l };
6631
6631
  }
6632
6632
  function Yn(i, t) {
6633
- return Os(i, t[0]) || Os(i, t[1]) ? !0 : (t[0].x - i.x) * (i.x - t[1].x) >= 0 && (t[0].y - i.y) * (i.y - t[1].y) >= 0 && yl(Ai(t[0], i), Ai(i, t[1]));
6633
+ return Os(i, t[0]) || Os(i, t[1]) ? !0 : (t[0].x - i.x) * (i.x - t[1].x) >= 0 && (t[0].y - i.y) * (i.y - t[1].y) >= 0 && yl(bi(t[0], i), bi(i, t[1]));
6634
6634
  }
6635
6635
  function Un(i, t, e) {
6636
6636
  return (i.x - e.x) * (t.y - e.y) - (t.x - e.x) * (i.y - e.y);
@@ -6749,7 +6749,7 @@ const Ef = `<style type="text/css">
6749
6749
  a.__roof.sort(), a.__floor.sort(), a.floor = a.__floor[~~(a.__floor.length / 2)], a.roof = a.__roof[a.__roof.length - 1];
6750
6750
  }
6751
6751
  return e;
6752
- }, Yb = (i, t) => {
6752
+ }, Y1 = (i, t) => {
6753
6753
  const e = {
6754
6754
  enable: !1,
6755
6755
  loaded: !1,
@@ -7046,7 +7046,7 @@ function Df(i) {
7046
7046
  t = B("div"), p.c(), e = $(), n = B("div"), o = B("div"), r = ke(s), y(o, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), Re(() => i[4].call(o)), y(n, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), z(n, "left", l), y(t, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), z(t, "width", c), z(t, "left", u), z(t, "top", h), z(t, "transform", d), z(t, "display", i[0].visible && i[2] ? "block" : "none");
7047
7047
  },
7048
7048
  m(A, v) {
7049
- T(A, t, v), p.m(t, null), j(t, e), j(t, n), j(n, o), j(o, r), a = Ei(o, i[4].bind(o));
7049
+ T(A, t, v), p.m(t, null), j(t, e), j(t, n), j(n, o), j(o, r), a = Ci(o, i[4].bind(o));
7050
7050
  },
7051
7051
  p(A, [v]) {
7052
7052
  g === (g = m(A)) && p ? p.p(A, v) : (p.d(1), p = g(A), p && (p.c(), p.m(t, e))), v & 1 && s !== (s = A[0].labelElement + "") && Me(r, s), v & 1 && l !== (l = `${A[0].labelOffset}%`) && z(n, "left", l), v & 1 && c !== (c = `${A[0].width}px`) && z(t, "width", c), v & 1 && u !== (u = `${A[0].left}px`) && z(t, "left", u), v & 1 && h !== (h = `${A[0].top}px`) && z(t, "top", h), v & 1 && d !== (d = `rotate(${A[0].rotateDeg}deg)`) && z(t, "transform", d), v & 5 && z(t, "display", A[0].visible && A[2] ? "block" : "none");
@@ -7228,7 +7228,7 @@ function Tf(i, t, e) {
7228
7228
  };
7229
7229
  });
7230
7230
  e(0, r = _);
7231
- }, m = () => Di(d), g = So(d, 80);
7231
+ }, m = () => Li(d), g = So(d, 80);
7232
7232
  return Ke(() => {
7233
7233
  d(), n.on("panoArrived", d), n.on("modeChange", d), n.on("cameraDirectionUpdate", m), n.on("movingToPano", m), n.on("mouseWheel", () => g()), n.on("pinchGesture", () => g());
7234
7234
  }), Pt(() => {
@@ -7303,7 +7303,7 @@ class Bf {
7303
7303
  this.container && (this.rulerItems.$destroy(), this.rulerItems = void 0), this.container.remove();
7304
7304
  }
7305
7305
  }
7306
- const Ub = (i, t) => new Bf(i, t), jf = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAABCCAYAAAB9y1BhAAAAAXNSR0IArs4c6QAADh5JREFUeAHtnVuPLDcVhedwC/dACKAICDxEIBQpygNI/Ab+MX8B8YCQEAjxgBAQLsm5Jjkn58r6Sl4jT52qnu4zXd121dqSx67q7ip7eXsv721XzcVFJAgEgSAQBIJAEAgCQeC4CLx48eKbSu+RH/fKuVoQWB8Cn1tfk9KiIHAUBH6tq/xKiTwSBILADgRCJDvAyUebRuAbpfXxSDatBmn8Pgh8YZ8v5TtBYIMIvFCbSZEgEASuQSBEcg1A+XizCDzfbMvT8CBwIAIhkgMBy9c3g0CIZDNdnYbeFIEQyU0RzO/XikCIZK09m3YdHYEQydEhzQVXgkCIZCUdmWYsj0C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kg0lueSI4EgbMiIJ1kZyshL9LUOjNEwkT9sXT2pBP1VyaSQiCse9Coqa27LApBIPE+BEKkLwSk32zRHESDkp0zkSDQBALF9uKdYHunnkthwo7tfXQqQjmYSNQImBACIU2xIuGreB8CIdIvAtJzNogMosHI4mYkCDSHgPTUXspU2ItoEIvzEArlxWRvIlGFWTSnsnWF+b1dKAhk8QrrHpEgsDgC0ndi0oNoEBIuiASBZhGQvnqCz/KCJ/jYZtto7DPRoUU2N11LJIXxqNyUC0VFqeCTpRlP94gEgZMhIL0nbDCIdJswQSQINI9AIRRsNRP+KfvOkgNrKEddr5660YUqw3k8EAhkbvsuCztPVSF7JDqMBIF1IKAxcOl5S8eZLEWCQDcIFBtO2Kv2UOr645lAKkex4VeIpLo5jHbls1KD4eYaWIu4R+UeyYLA2RHQWGAADiJ9P9u2StcheRB4VQSkyzgD2PQppwBH4MaEMpBFRSDcqCYQx9ggDphr0QUb3SMSBJpAQGPiciei9P6oYYAmGphKbA4B6TRrJ+j1HKHYzh8cZbpVBowXZ8bgQhzPNJAOvvD4QjkOAj0hUAbdUOVMoHrqudT1OgSk2zgLkAl2n/LYvh9s900kutYV4UIvQiBXMMlBEAgCQWA1CBRCgUjmHAkI5vk+PACR1BcZmGmfH64GzTQkCASBILBhBAqhgEC9rDFGJI7FGJEcB4EgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCm0fg/x4jQQWGalpFAAAAAElFTkSuQmCC";
7307
7307
  function Vf() {
7308
7308
  const i = document.createElement("div"), t = document.createElement("i"), e = document.createElement("span");
7309
7309
  return i.appendChild(t), i.appendChild(e), i.style.position = "relative", i.style.width = "100%", i.style.display = "flex", i.style.flexDirection = "column", i.style.alignItems = "center", i.style.marginTop = `${150 / 16}rem`, i.style.opacity = "0", i.style.transition = "opacity 1000ms linear", t.style.display = "block", t.style.width = `${134 / 16}rem`, t.style.height = `${22 / 16}rem`, t.style.backgroundSize = "100%", t.style.backgroundRepeat = "no-repeat", t.style.backgroundImage = `url(${jf})`, e.style.marginTop = `${10 / 16}rem`, e.style.fontSize = `${16 / 16}rem`, e.style.color = "#fff", e.style.opacity = "0.7", e.style.textShadow = "0 2px 16px rgb(22 34 83 / 24%)", e.style.fontWeight = "bold", {
@@ -7325,7 +7325,7 @@ function Vf() {
7325
7325
  };
7326
7326
  }
7327
7327
  const Of = new E.TextureLoader();
7328
- function bi(i) {
7328
+ function yi(i) {
7329
7329
  return F(this, null, function* () {
7330
7330
  return new Promise((t, e) => {
7331
7331
  Of.load(i, t, void 0, e);
@@ -7483,7 +7483,7 @@ class Rf extends Bt {
7483
7483
  }
7484
7484
  loadCompassMesh() {
7485
7485
  return F(this, null, function* () {
7486
- const e = this.state.config.compassImageUrl, n = yield bi(e), o = new E.CircleGeometry(0.7, 32), s = new E.MeshBasicMaterial({
7486
+ const e = this.state.config.compassImageUrl, n = yield yi(e), o = new E.CircleGeometry(0.7, 32), s = new E.MeshBasicMaterial({
7487
7487
  map: n,
7488
7488
  transparent: !0,
7489
7489
  opacity: 0,
@@ -7494,7 +7494,7 @@ class Rf extends Bt {
7494
7494
  }
7495
7495
  loadEntryDoorMesh() {
7496
7496
  return F(this, null, function* () {
7497
- const e = this.state.config.entryDoorImageUrl, n = yield bi(e), o = new E.PlaneGeometry(0.2, 0.16), s = new E.MeshBasicMaterial({
7497
+ const e = this.state.config.entryDoorImageUrl, n = yield yi(e), o = new E.PlaneGeometry(0.2, 0.16), s = new E.MeshBasicMaterial({
7498
7498
  map: n,
7499
7499
  transparent: !0,
7500
7500
  opacity: 0.8,
@@ -7513,7 +7513,7 @@ class Rf extends Bt {
7513
7513
  return Bn(this.five).create3DDomContainer(e);
7514
7514
  }
7515
7515
  }
7516
- const qb = (i, t) => new Rf(i, t);
7516
+ const q1 = (i, t) => new Rf(i, t);
7517
7517
  function Jn(i, t, e) {
7518
7518
  const n = i[t], o = i[e];
7519
7519
  n === void 0 || o === void 0 || (i[t] = o, i[e] = n);
@@ -7830,7 +7830,7 @@ function Sn(i) {
7830
7830
  const { x: t, y: e, z: n } = i;
7831
7831
  return !(Math.abs(t) > 1 || Math.abs(e) > 1 || Math.abs(n) > 1);
7832
7832
  }
7833
- function Hi(i) {
7833
+ function Gi(i) {
7834
7834
  const { z: t } = i;
7835
7835
  return !(Math.abs(t) > 1);
7836
7836
  }
@@ -7885,7 +7885,7 @@ function nm(i) {
7885
7885
  if (e.points.length < 2)
7886
7886
  return;
7887
7887
  const [L, x] = e.points, Q = L.position.clone().project(v.camera), _ = x.position.clone().project(v.camera), O = Q.clone().lerp(_, 0.5), S = new Ne(Q.x * I, Q.y * C), V = new Ne(_.x * I, _.y * C), H = S.distanceTo(V);
7888
- if ((() => !(Math.abs(Q.z) > 1 || Math.abs(_.z) > 1 || !Hi(Q) && !Hi(_) || !Hi(O) || H === 0))() === !1) {
7888
+ if ((() => !(Math.abs(Q.z) > 1 || Math.abs(_.z) > 1 || !Gi(Q) && !Gi(_) || !Gi(O) || H === 0))() === !1) {
7889
7889
  s.style.opacity = "0", s.style.pointerEvents = "none";
7890
7890
  return;
7891
7891
  }
@@ -8020,7 +8020,7 @@ class Bo {
8020
8020
  }
8021
8021
  }
8022
8022
  const Zn = (i) => i.preventDefault();
8023
- class Li {
8023
+ class Mi {
8024
8024
  constructor(t) {
8025
8025
  f(this, "model");
8026
8026
  f(this, "five");
@@ -8064,15 +8064,15 @@ class Li {
8064
8064
  t && (t.removeEventListener("touchstart", Zn), t.removeEventListener("contextmenu", Zn));
8065
8065
  }
8066
8066
  }
8067
- function uo(i) {
8067
+ function ho(i) {
8068
8068
  const { x: t, y: e } = i.center, { clientWidth: n, clientHeight: o } = i.target, s = i.target.getBoundingClientRect(), r = new Ne(t, e).sub(new Ne(s.left, s.top)), a = new Ne(r.x / n * 2 - 1, -(r.y / o) * 2 + 1);
8069
8069
  return { point: r, ndcPoint: a };
8070
8070
  }
8071
- function Gi(i, t) {
8072
- const e = uo(t).ndcPoint, n = new St();
8071
+ function Wi(i, t) {
8072
+ const e = ho(t).ndcPoint, n = new St();
8073
8073
  return n.setFromCamera(e, i.camera), i.model.intersectRaycaster(n);
8074
8074
  }
8075
- class Kn extends Li {
8075
+ class Kn extends Mi {
8076
8076
  constructor(e) {
8077
8077
  var o;
8078
8078
  super(e);
@@ -8107,7 +8107,7 @@ class Kn extends Li {
8107
8107
  this.hook.emit("editedPolylineChange", this.polyline);
8108
8108
  });
8109
8109
  f(this, "onPress", (e) => {
8110
- const [n] = Gi(this.five, e);
8110
+ const [n] = Wi(this.five, e);
8111
8111
  if (!(n != null && n.face))
8112
8112
  return;
8113
8113
  const o = new st(n.point);
@@ -8116,7 +8116,7 @@ class Kn extends Li {
8116
8116
  f(this, "onPan", (e) => {
8117
8117
  if (!this.pressPoint)
8118
8118
  return;
8119
- const [n] = Gi(this.five, e);
8119
+ const [n] = Wi(this.five, e);
8120
8120
  !(n != null && n.face) || this.onIntersectionUpdate(n);
8121
8121
  });
8122
8122
  f(this, "onPanEnd", (e) => {
@@ -8124,7 +8124,7 @@ class Kn extends Li {
8124
8124
  });
8125
8125
  f(this, "onTap", (e) => {
8126
8126
  this.hasAppendDashed || (this.dashed.distanceItem.appendTo(this.container), this.group.add(this.dashed.mesh)), this.hasAppendDashed = !0;
8127
- const [n] = Gi(this.five, e);
8127
+ const [n] = Wi(this.five, e);
8128
8128
  this.updateMouseGroup(n);
8129
8129
  const o = new st(this.mouseGroup.position), s = this.lastPoint;
8130
8130
  if (o && (this.lastPoint = o), o && s) {
@@ -8159,7 +8159,7 @@ class Kn extends Li {
8159
8159
  return this.polyline.lines;
8160
8160
  }
8161
8161
  }
8162
- class Ws extends Li {
8162
+ class Ws extends Mi {
8163
8163
  constructor(e) {
8164
8164
  super(e);
8165
8165
  f(this, "type", "view");
@@ -8301,7 +8301,7 @@ function am(i, t, e, n) {
8301
8301
  }).sort((a, l) => a.distance - l.distance);
8302
8302
  return typeof n == "number" && r[0].distance > n ? null : r[0];
8303
8303
  }
8304
- function ho(i) {
8304
+ function fo(i) {
8305
8305
  const t = (s, r, a) => {
8306
8306
  const l = s.lines.find((u) => u.points.findIndex(({ id: d }) => d === s.id) !== r);
8307
8307
  if (!l)
@@ -8311,7 +8311,7 @@ function ho(i) {
8311
8311
  }, e = t(i.points[0], 1, []), n = t(i.points[0], 0, []);
8312
8312
  return e.concat(n);
8313
8313
  }
8314
- class Ns extends Li {
8314
+ class Ns extends Mi {
8315
8315
  constructor(e) {
8316
8316
  super(e);
8317
8317
  f(this, "type", "watch");
@@ -8324,14 +8324,14 @@ class Ns extends Li {
8324
8324
  var a;
8325
8325
  if (this.model.getAllLines().length === 0 || !this.fiveElement)
8326
8326
  return;
8327
- const n = uo(e).point, o = (a = am(this.five, this.model.getAllPoints(), n, 20)) == null ? void 0 : a.point;
8327
+ const n = ho(e).point, o = (a = am(this.five, this.model.getAllPoints(), n, 20)) == null ? void 0 : a.point;
8328
8328
  if (!o) {
8329
8329
  this.editPointState = void 0;
8330
8330
  return;
8331
8331
  }
8332
8332
  const s = {
8333
8333
  point: o,
8334
- associatedLines: ho(o.lines[0])
8334
+ associatedLines: fo(o.lines[0])
8335
8335
  };
8336
8336
  this.hook.emit("wantsDragLine", {
8337
8337
  point: o.id,
@@ -8344,7 +8344,7 @@ class Ns extends Li {
8344
8344
  f(this, "onPan", (e) => {
8345
8345
  if (!this.editPointState || !this.fiveElement)
8346
8346
  return;
8347
- const n = uo(e).ndcPoint, o = new St();
8347
+ const n = ho(e).ndcPoint, o = new St();
8348
8348
  o.setFromCamera(n, this.five.camera);
8349
8349
  const [s] = this.five.model.intersectRaycaster(o);
8350
8350
  !s || this.onIntersectionUpdate(s);
@@ -8393,7 +8393,7 @@ class Ns extends Li {
8393
8393
  return this.chooseLine(d), !1;
8394
8394
  });
8395
8395
  f(this, "chooseLine", (e) => {
8396
- const n = ho(e);
8396
+ const n = fo(e);
8397
8397
  this.highlightLines(n), this.five.needsRender = !0, this.hook.emit(
8398
8398
  "selectedChange",
8399
8399
  n.map((o) => o)
@@ -8540,7 +8540,7 @@ function Dl(i) {
8540
8540
  let n = 10349931;
8541
8541
  e && i.ballColor >= 0 && (n = i.ballColor);
8542
8542
  const o = new Wt(), s = new Lc(0.3, 0.3), r = t ? fm : mm, a = new Da().load(r);
8543
- a.encoding = Mc, a.minFilter = eo;
8543
+ a.encoding = Mc, a.minFilter = to;
8544
8544
  const l = new kn({
8545
8545
  map: a,
8546
8546
  transparent: !0,
@@ -8667,7 +8667,7 @@ class vm {
8667
8667
  return this.mouseGroup;
8668
8668
  }
8669
8669
  }
8670
- class dn extends Li {
8670
+ class dn extends Mi {
8671
8671
  constructor(e) {
8672
8672
  super(e);
8673
8673
  f(this, "state", "watching");
@@ -8739,7 +8739,7 @@ class dn extends Li {
8739
8739
  this.state = n, this.state === "watching" ? this.five.helperVisible = !0 : this.five.helperVisible = !1;
8740
8740
  });
8741
8741
  f(this, "chooseLine", (e) => {
8742
- const n = ho(e);
8742
+ const n = fo(e);
8743
8743
  this.highlightLines(n), this.five.needsRender = !0, this.hook.emit(
8744
8744
  "selectedChange",
8745
8745
  n.map((o) => o)
@@ -9320,7 +9320,7 @@ class Bm {
9320
9320
  this.controller = new e[t](n), this.hook.emit("modeChange", t);
9321
9321
  });
9322
9322
  var o, s, r, a;
9323
- this.five = t, this.params = e, this.config = xi(e, ["openParams", "magnifierParams"]), this.model = new Bo(this.config), this.fiveHelper = new Hf(t), this.isMobile = (s = (o = e == null ? void 0 : e.openParams) == null ? void 0 : o.isMobile) != null ? s : !1, this.magnifier = new Ff(t, (r = e.magnifierParams) != null ? r : { width: 190, height: 190, scale: 2 }), this.group = new Wt(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
9323
+ this.five = t, this.params = e, this.config = Di(e, ["openParams", "magnifierParams"]), this.model = new Bo(this.config), this.fiveHelper = new Hf(t), this.isMobile = (s = (o = e == null ? void 0 : e.openParams) == null ? void 0 : o.isMobile) != null ? s : !1, this.magnifier = new Ff(t, (r = e.magnifierParams) != null ? r : { width: 190, height: 190, scale: 2 }), this.group = new Wt(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
9324
9324
  const n = (a = this.params.openParams) != null ? a : {};
9325
9325
  if (this.params.useUIController !== !1) {
9326
9326
  const l = R({
@@ -9438,7 +9438,7 @@ class Bm {
9438
9438
  };
9439
9439
  }
9440
9440
  }
9441
- const Jb = function(t, e) {
9441
+ const J1 = function(t, e) {
9442
9442
  return new Bm(t, e);
9443
9443
  }, zl = ko(null);
9444
9444
  function jm(i) {
@@ -9776,7 +9776,7 @@ class Ym {
9776
9776
  }
9777
9777
  }
9778
9778
  }
9779
- const Wi = 1e-3, er = 0.01, Um = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Zb = (i, t) => {
9779
+ const _i = 1e-3, er = 0.01, Um = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Z1 = (i, t) => {
9780
9780
  var Y, ae, he, de, ge, Ce, Ie, Se;
9781
9781
  let e = t == null ? void 0 : t.container, n = 1.4;
9782
9782
  const o = (Y = t == null ? void 0 : t.wait) != null ? Y : 200, s = (ae = t == null ? void 0 : t.maxNumberOnScreen) != null ? ae : 3, r = (he = t == null ? void 0 : t.minRad) != null ? he : Math.PI / 4, a = (de = t == null ? void 0 : t.nearTolerance) != null ? de : 100, l = (ge = t == null ? void 0 : t.upsideHeight) != null ? ge : 1.6, c = (Ce = t == null ? void 0 : t.minDistance) != null ? Ce : 1.2, u = (Ie = t == null ? void 0 : t.maxDistance) != null ? Ie : 3.5, h = Bn(i), d = document.createElement("div");
@@ -9926,11 +9926,11 @@ const Wi = 1e-3, er = 0.01, Um = "https://vrlab-image4.ljcdn.com/release/web/Pan
9926
9926
  tt.distance + er
9927
9927
  ), [kt] = p.intersectObjects ? jt.intersectObjects(p.intersectObjects, !0) : i.model.bvhs.loaded ? i.model.intersectRaycaster(jt) : jt.intersectObjects(i.model.children, !0);
9928
9928
  if (!!kt && tt.distance - kt.distance < er) {
9929
- const { position: xe, normal: Te, id: xt, replacement: Rn } = tt, fc = new E.Plane().setFromNormalAndCoplanarPoint(Te, xe), Wo = xe.clone().sub(ue.position).cross(new E.Vector3(0, 1, 0)).setLength(Wi), mc = [
9929
+ const { position: xe, normal: Te, id: xt, replacement: Rn } = tt, fc = new E.Plane().setFromNormalAndCoplanarPoint(Te, xe), Wo = xe.clone().sub(ue.position).cross(new E.Vector3(0, 1, 0)).setLength(_i), mc = [
9930
9930
  xe.clone(),
9931
9931
  xe.clone().add(Wo),
9932
- xe.clone().add(new E.Vector3(0, Wi, 0)).add(Wo),
9933
- xe.clone().add(new E.Vector3(0, Wi, 0))
9932
+ xe.clone().add(new E.Vector3(0, _i, 0)).add(Wo),
9933
+ xe.clone().add(new E.Vector3(0, _i, 0))
9934
9934
  ].map((Ac) => fc.projectPoint(Ac, new E.Vector3())), { container: pc, dispose: gc } = h.create3DDomContainer(mc) || {}, vc = new Gm({
9935
9935
  target: pc,
9936
9936
  props: {
@@ -10116,7 +10116,7 @@ function ep(i) {
10116
10116
  T(l, t, c);
10117
10117
  for (let u = 0; u < e.length; u += 1)
10118
10118
  e[u].m(t, null);
10119
- o = Ei(t, i[9].bind(t)), s = !0;
10119
+ o = Ci(t, i[9].bind(t)), s = !0;
10120
10120
  },
10121
10121
  p(l, [c]) {
10122
10122
  c & 3 && (r = l[1], se(), e = $e(e, c, a, 1, l, r, n, t, It, nr, null, tr), re()), c & 16 && z(t, "opacity", l[4] ? 1 : 0);
@@ -10255,7 +10255,7 @@ function op(i) {
10255
10255
  modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
10256
10256
  }, t));
10257
10257
  }
10258
- const Kb = (i, t) => {
10258
+ const K1 = (i, t) => {
10259
10259
  var d, m;
10260
10260
  const e = {
10261
10261
  container: document.createElement("div"),
@@ -10326,7 +10326,7 @@ const Kb = (i, t) => {
10326
10326
  dispose: a,
10327
10327
  hooks: e.hooks
10328
10328
  };
10329
- }, $b = {
10329
+ }, $1 = {
10330
10330
  name: "ModelItemLabelPlugin",
10331
10331
  version: 0
10332
10332
  };
@@ -10724,7 +10724,7 @@ function gp(i) {
10724
10724
  T(l, t, c);
10725
10725
  for (let u = 0; u < e.length; u += 1)
10726
10726
  e[u].m(t, null);
10727
- o = Ei(t, i[12].bind(t)), s = !0;
10727
+ o = Ci(t, i[12].bind(t)), s = !0;
10728
10728
  },
10729
10729
  p(l, c) {
10730
10730
  c[0] & 71 && (r = l[1], se(), e = $e(e, c, a, 1, l, r, n, t, It, cr, null, ar), re()), c[0] & 32 && z(t, "opacity", l[5] ? 1 : 0);
@@ -11357,7 +11357,7 @@ function Qp(i) {
11357
11357
  function wt(i) {
11358
11358
  return i != null;
11359
11359
  }
11360
- const jl = "v1.1.0", Vl = "GuideLinePlugin", fo = `${Vl}@${jl}`, dr = (i) => `${fo}--${i}`;
11360
+ const jl = "v1.1.0", Vl = "GuideLinePlugin", mo = `${Vl}@${jl}`, dr = (i) => `${mo}--${i}`;
11361
11361
  class Ol extends Bt {
11362
11362
  constructor(e, n) {
11363
11363
  super(e, n);
@@ -11369,7 +11369,7 @@ class Ol extends Bt {
11369
11369
  f(this, "data");
11370
11370
  f(this, "linesGroup");
11371
11371
  f(this, "disposedErrorLog", () => {
11372
- console.error(`${fo} is disposed`);
11372
+ console.error(`${mo} is disposed`);
11373
11373
  });
11374
11374
  f(this, "actionWhenEnabled", (e) => {
11375
11375
  if (this.state.enabled)
@@ -11382,7 +11382,7 @@ class Ol extends Bt {
11382
11382
  const s = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
11383
11383
  this.hooks.emit("dataChange", r, s), this.data = r, this.linesGroup && this.five.scene.remove(this.linesGroup);
11384
11384
  const a = this.getLinesGroup(r.routes, r.config);
11385
- !a || (this.linesGroup = a, yield this.waitFiveModelLoaded(), this.five.scene.add(a), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), n && this.setState(n), this.five.needsRender = !0, this.hooks.emit("dataLoaded", r), console.info(`${fo} loaded`, r));
11385
+ !a || (this.linesGroup = a, yield this.waitFiveModelLoaded(), this.five.scene.add(a), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), n && this.setState(n), this.five.needsRender = !0, this.hooks.emit("dataLoaded", r), console.info(`${mo} loaded`, r));
11386
11386
  });
11387
11387
  }
11388
11388
  formatData(e) {
@@ -11507,13 +11507,13 @@ function Xp(i) {
11507
11507
  }, i);
11508
11508
  });
11509
11509
  }
11510
- const Rl = "v1.0.6", Ql = "CruisePlugin", Mi = `${Ql}@${Rl}`, fr = () => {
11511
- console.error(`${Mi} is disposed`);
11510
+ const Rl = "v1.0.6", Ql = "CruisePlugin", Si = `${Ql}@${Rl}`, fr = () => {
11511
+ console.error(`${Si} is disposed`);
11512
11512
  }, Yp = () => {
11513
- console.warn(`${Mi} is disabled`);
11513
+ console.warn(`${Si} is disabled`);
11514
11514
  }, Up = () => {
11515
- console.error(`${Mi} is disabled`);
11516
- }, _i = /* @__PURE__ */ new Map();
11515
+ console.error(`${Si} is disabled`);
11516
+ }, Ni = /* @__PURE__ */ new Map();
11517
11517
  class Fl extends Bt {
11518
11518
  constructor(e, n) {
11519
11519
  super(e, n);
@@ -11574,7 +11574,7 @@ class Fl extends Bt {
11574
11574
  const w = a.length;
11575
11575
  a[w] = [p];
11576
11576
  }
11577
- }), this.GuideLine || (this.GuideLine = Fp(this.five, this.config)), (g = this.GuideLine) == null || g.load({ routes: a.map((p) => ({ panoIndexList: p })), config: r.guildPluginOptions }), this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed), n && this.setState(n, { userAction: o }), console.info(`${Mi} loaded`, r), this.hooks.emit("dataLoaded", r);
11577
+ }), this.GuideLine || (this.GuideLine = Fp(this.five, this.config)), (g = this.GuideLine) == null || g.load({ routes: a.map((p) => ({ panoIndexList: p })), config: r.guildPluginOptions }), this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed), n && this.setState(n, { userAction: o }), console.info(`${Si} loaded`, r), this.hooks.emit("dataLoaded", r);
11578
11578
  });
11579
11579
  }
11580
11580
  play(e) {
@@ -11904,12 +11904,12 @@ class Fl extends Bt {
11904
11904
  getPauseData() {
11905
11905
  var e, n;
11906
11906
  if ((e = this.data) != null && e.keyframesId)
11907
- return _i.get((n = this.data) == null ? void 0 : n.keyframesId);
11907
+ return Ni.get((n = this.data) == null ? void 0 : n.keyframesId);
11908
11908
  }
11909
11909
  setPauseData() {
11910
11910
  var e, n, o, s;
11911
11911
  if ((e = this.data) != null && e.keyframesId)
11912
- return _i.set((n = this.data) == null ? void 0 : n.keyframesId, {
11912
+ return Ni.set((n = this.data) == null ? void 0 : n.keyframesId, {
11913
11913
  keyframeId: (o = this.privateState.currentPlayKeyframe) == null ? void 0 : o.keyframe.id,
11914
11914
  fiveState: this.five.getCurrentState(),
11915
11915
  duration: (s = this.privateState.currentPlayKeyframe) == null ? void 0 : s.originDuration,
@@ -11919,7 +11919,7 @@ class Fl extends Bt {
11919
11919
  clearPauseData() {
11920
11920
  var e, n;
11921
11921
  if ((e = this.data) != null && e.keyframesId)
11922
- return _i.delete((n = this.data) == null ? void 0 : n.keyframesId);
11922
+ return Ni.delete((n = this.data) == null ? void 0 : n.keyframesId);
11923
11923
  }
11924
11924
  clear() {
11925
11925
  this.clearPauseData(), this.privateState.currentPlayKeyframe = null;
@@ -11981,7 +11981,7 @@ function qp(i, t) {
11981
11981
  });
11982
11982
  }
11983
11983
  const De = (i) => i;
11984
- function Ni(i) {
11984
+ function Xi(i) {
11985
11985
  if (i.length < 3)
11986
11986
  return;
11987
11987
  const t = i.map(xn), e = t[1].clone().sub(t[0]), n = t[2].clone().sub(t[1]);
@@ -11994,7 +11994,7 @@ function Zp(i) {
11994
11994
  const [t, e, n, o] = i, s = t.distanceTo(e), r = e.distanceTo(n), a = n.distanceTo(o), l = o.distanceTo(t), c = t.distanceTo(n), u = e.distanceTo(o);
11995
11995
  return s === a && r === l && c === u;
11996
11996
  }
11997
- class Xi extends E.Mesh {
11997
+ class Yi extends E.Mesh {
11998
11998
  constructor(e, n, o) {
11999
11999
  if (e.length !== 4)
12000
12000
  throw new Error("QuadrangleMesh: Invalid number of points, it's not a quadrangle");
@@ -12043,21 +12043,33 @@ class Hl extends E.BufferGeometry {
12043
12043
  }
12044
12044
  const Gl = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
12045
12045
  navigator.userAgent.toLowerCase().indexOf("android");
12046
- const mo = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, Kp = Gl && mo;
12047
- function $p(i, t, e, n) {
12048
- let o = !mo;
12049
- const s = t != null ? t : document.createElement("video");
12050
- s.preload = "metadata", s.crossOrigin = "anonymous", s.muted = !0, s.loop = !0, s.playsInline = !0, s.autoplay = !0;
12051
- const r = new E.VideoTexture(s);
12052
- if (r.minFilter = E.LinearFilter, r.magFilter = E.LinearFilter, r.encoding = E.sRGBEncoding, r.metadataLoaded = !1, s.src = i, s.onloadedmetadata = () => {
12053
- r.metadataLoaded || (n == null || n(r), r.dispatchEvent({ type: "videoLoaded" }), r.metadataLoaded = !0);
12054
- }, mo) {
12055
- const a = () => {
12056
- o || !s.paused || (o = !0, s.muted = !0, s.play(), s.pause());
12046
+ const ai = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, Kp = Gl && ai;
12047
+ function $p(i, t) {
12048
+ let e = !ai;
12049
+ const n = t != null ? t : document.createElement("video");
12050
+ n.preload = "metadata", n.crossOrigin = "anonymous", n.muted = !0, n.loop = !0, n.playsInline = !0, n.autoplay = !0;
12051
+ const o = new E.VideoTexture(n);
12052
+ o.minFilter = E.LinearFilter, o.magFilter = E.LinearFilter, o.encoding = E.sRGBEncoding, o.metadataLoaded = !1, n.src = i;
12053
+ const s = () => {
12054
+ o.metadataLoaded || (o.dispatchEvent({ type: "videoLoaded" }), o.metadataLoaded = !0);
12055
+ };
12056
+ if (ai || (n.onloadedmetadata = () => {
12057
+ s();
12058
+ }), ai) {
12059
+ const r = () => {
12060
+ if (!e) {
12061
+ if (!n.paused) {
12062
+ s();
12063
+ return;
12064
+ }
12065
+ e = !0, console.log("click play"), n.muted = !0, n.play().then(() => {
12066
+ n.pause(), n.currentTime = 0, s();
12067
+ });
12068
+ }
12057
12069
  };
12058
- document.addEventListener("click", a, { once: !0 }), Gl && document.addEventListener("touchstart", a, { once: !0 });
12070
+ document.addEventListener("click", r, { once: !0 }), Gl && document.addEventListener("touchstart", r, { once: !0 });
12059
12071
  }
12060
- return r;
12072
+ return o;
12061
12073
  }
12062
12074
  const eg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu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k6jxwajuUb8lqOZRT3S/lx06RY1g8C4akfiEJAOZdFKzsq/nNjIssdufjbhQAEAUodOGDWp4m8S0oHEhb+YexGkD4EBUpdVMrfl/E/RhNJnsjF/ls0r980YRQDlAqBylIqylcCzf4lHecB5veigSfmYoBycaxN2SHgT8e7pWKZwCzqzZpigUr9DlRuoIxXn8pIZJgHtkwpa8togHIiw587LeNx9mc2ZwIK5DOlXJaMFqhWwoMp/Ax+1W+ToOXTHGKNrDMLLo38LmKsQKmbdSrWil+N82UJaS40YTuJv/RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", tg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1F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qo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==";
12063
12075
  function An(i, t, e) {
@@ -12387,12 +12399,12 @@ class mr extends _l {
12387
12399
  constructor(e, n, o) {
12388
12400
  super();
12389
12401
  f(this, "name", "PanoTagPluginImagePlane");
12390
- this.src = e, bi(e).then((s) => {
12402
+ this.src = e, yi(e).then((s) => {
12391
12403
  var d;
12392
12404
  const r = new URL(e, location.href).pathname.endsWith(".png"), a = new E.MeshBasicMaterial({ map: s, transparent: r }), l = An((d = o == null ? void 0 : o.objectFit) != null ? d : "contain", n, s.image.width / s.image.height), c = Tt(...l), u = l.map((m) => m.clone().sub(c)), h = new Hl(u);
12393
12405
  this.position.copy(c), this.geometry = h, this.material = a;
12394
12406
  }).catch((s) => {
12395
- console.error({ e: s });
12407
+ console.error(`Imageplane error ${s}`);
12396
12408
  });
12397
12409
  }
12398
12410
  }
@@ -12427,13 +12439,13 @@ class go extends _l {
12427
12439
  }
12428
12440
  play(e = !1) {
12429
12441
  return F(this, null, function* () {
12430
- console.log("play"), this.videoMesh || (yield this.addVideoMesh()), this.coverMesh && (this.coverMesh.visible = !1), this.remove(this.buttonMesh), this.videoMesh.visible = !0, this.videoInstance.paused && this.videoInstance.play().catch((n) => {
12431
- console.error(n);
12432
- }), this.videoInstance.muted = e, this.render();
12442
+ this.videoMesh || (yield this.addVideoMesh()), this.showPlayUI(), this.videoInstance.paused && this.videoInstance.play().then(() => this.showPlayUI()).catch((n) => {
12443
+ this.pause(), console.error("play error", n);
12444
+ }), this.videoInstance.muted = e, console.log("play render"), this.render();
12433
12445
  });
12434
12446
  }
12435
12447
  pause() {
12436
- !this.videoInstance || (this.showPauseUI(), this.videoInstance.pause(), this.render());
12448
+ console.log("pause"), this.videoInstance && (this.videoInstance.pause(), this.showPauseUI().then(() => this.render()));
12437
12449
  }
12438
12450
  initialDomEvents(e) {
12439
12451
  this.domEvents || (this.domEvents = e, this.domEventsListenerTemporaryList.forEach((n) => this.addDomEventListener(...n)), this.domEventsListenerTemporaryList = []);
@@ -12445,9 +12457,12 @@ class go extends _l {
12445
12457
  });
12446
12458
  this.disposers.push(() => o);
12447
12459
  }
12460
+ showPlayUI() {
12461
+ this.coverMesh && (this.coverMesh.visible = !1), this.remove(this.buttonMesh), this.videoMesh.visible = !0;
12462
+ }
12448
12463
  showPauseUI() {
12449
12464
  return F(this, null, function* () {
12450
- this.coverMesh ? (this.coverMesh.visible = !0, this.videoMesh && (this.videoMesh.visible = !1)) : (yield this.addCoverMesh(), this.coverMesh && (this.videoMesh.visible = !1)), this.addButtonMesh(), this.render();
12465
+ console.log("showPauseUI"), this.coverMesh ? (this.coverMesh.visible = !0, this.videoMesh && (this.videoMesh.visible = !1)) : (yield this.addCoverMesh(), this.coverMesh && (this.videoMesh.visible = !1)), console.log("addButtonMesh"), this.addButtonMesh().then(() => this.render());
12451
12466
  });
12452
12467
  }
12453
12468
  render() {
@@ -12485,7 +12500,7 @@ class go extends _l {
12485
12500
  const n = yield this.getImageTexture(this.videoCoverSrc);
12486
12501
  if (!n)
12487
12502
  return;
12488
- const o = new E.MeshBasicMaterial({ transparent: !1, map: n }), s = An(this.objectFit, this.cornerPoints, n.image.width / n.image.height), r = new Xi(s, o);
12503
+ const o = new E.MeshBasicMaterial({ transparent: !1, map: n }), s = An(this.objectFit, this.cornerPoints, n.image.width / n.image.height), r = new Yi(s, o);
12489
12504
  return r.position.copy(new q(0, 0, 0)), r.name = "videoCoverMesh", r;
12490
12505
  }))();
12491
12506
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
@@ -12505,7 +12520,7 @@ class go extends _l {
12505
12520
  "videoLoaded",
12506
12521
  () => l(An(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight))
12507
12522
  );
12508
- }), a = new Xi(r, s);
12523
+ }), a = new Yi(r, s);
12509
12524
  return a.name = "videoMesh", a.position.copy(new q(0, 0, 0)), a;
12510
12525
  }))();
12511
12526
  if (!e)
@@ -12518,7 +12533,7 @@ class go extends _l {
12518
12533
  this.coverMesh || this.remove(this.buttonMesh), this.render();
12519
12534
  }), n.addEventListener("pause", () => {
12520
12535
  this.showPauseUI(), this.render();
12521
- }), this.children.includes(this.videoMesh) || (this.add(e), this.videoMesh = e, this.videoInstance = n), e;
12536
+ }), this.children.includes(this.videoMesh) || (this.add(e), this.videoMesh = e, this.videoInstance = n), console.log("mesh added"), e;
12522
12537
  });
12523
12538
  }
12524
12539
  addButtonMesh() {
@@ -12529,7 +12544,7 @@ class go extends _l {
12529
12544
  var d, m, g, p;
12530
12545
  if (this.buttonMesh)
12531
12546
  return this.buttonMesh;
12532
- const n = (m = (d = this.videoMesh) == null ? void 0 : d.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, o = (p = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? p : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(n, o, s) / s * 0.3, l = yield this.getImageTexture(this.buttonSrc), c = An("contain", this.cornerPoints, l.image.width / l.image.height), u = new Xi(c, new ig(l));
12547
+ const n = (m = (d = this.videoMesh) == null ? void 0 : d.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, o = (p = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? p : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(n, o, s) / s * 0.3, l = yield this.getImageTexture(this.buttonSrc), c = An("contain", this.cornerPoints, l.image.width / l.image.height), u = new Yi(c, new ig(l));
12533
12548
  u.position.copy(new q(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.addAutoBindEventListener(u, "click", () => this.play());
12534
12549
  const h = new E.Vector3().crossVectors(new E.Vector3().subVectors(c[0], c[1]), new E.Vector3().subVectors(c[0], c[3])).normalize().multiplyScalar(1e-4);
12535
12550
  return u.position.add(h), u;
@@ -12542,7 +12557,7 @@ class go extends _l {
12542
12557
  var o, s;
12543
12558
  if ((o = this.ImageTextureMap) != null && o.has(e))
12544
12559
  return this.ImageTextureMap.get(e);
12545
- const n = yield bi(e);
12560
+ const n = yield yi(e);
12546
12561
  return (s = this.ImageTextureMap) == null || s.set(e, n), n;
12547
12562
  });
12548
12563
  }
@@ -12567,7 +12582,7 @@ function We(i) {
12567
12582
  function ag(i) {
12568
12583
  return i.stickType === "Plane" && i.contentType === "MediaPlane";
12569
12584
  }
12570
- function yi(i) {
12585
+ function wi(i) {
12571
12586
  if (!!i)
12572
12587
  if (Array.isArray(i) && i.length === 4) {
12573
12588
  const e = i.map(xn);
@@ -12580,7 +12595,7 @@ function Nl(i) {
12580
12595
  const t = new mn().fromArray(i.matrix), e = i.data.mediaPosition.map((n) => new q().fromArray(n).applyMatrix4(t));
12581
12596
  return Tt(e[0], e[2]);
12582
12597
  } else
12583
- return yi(i.position);
12598
+ return wi(i.position);
12584
12599
  }
12585
12600
  function hn(i, t) {
12586
12601
  if (i === void 0)
@@ -12963,7 +12978,7 @@ class Jl {
12963
12978
  }
12964
12979
  doAnimation() {
12965
12980
  var t;
12966
- (t = this.animeIns) == null || t.dispose(), new To({ progress: 0 }).to({ progress: [1, 0] }).duration(500).easing(wi.Easing.Quadratic.InOut).onUpdate(({ progress: e }) => {
12981
+ (t = this.animeIns) == null || t.dispose(), new To({ progress: 0 }).to({ progress: [1, 0] }).duration(500).easing(Ei.Easing.Quadratic.InOut).onUpdate(({ progress: e }) => {
12967
12982
  }).play();
12968
12983
  }
12969
12984
  dispose() {
@@ -13025,7 +13040,7 @@ const ry = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13025
13040
  notNil: wt,
13026
13041
  BetterTween: To,
13027
13042
  tweenProgress: bl,
13028
- nextFrame: Di,
13043
+ nextFrame: Li,
13029
13044
  requestAnimationFrameInterval: Vn,
13030
13045
  getFrameTime: gf
13031
13046
  }, Symbol.toStringTag, { value: "Module" })), Dg = {
@@ -13264,10 +13279,10 @@ class Mg extends Lg {
13264
13279
  const l = (a = (r = this.five.work) == null ? void 0 : r.observers[o]) == null ? void 0 : a.position;
13265
13280
  if (l === void 0)
13266
13281
  throw new Error(`getAngleRange(): observerPosition is ${l}`);
13267
- const c = (() => e.stickType === "3DPoint" ? xn(e.normal) : Ni(e.position))();
13282
+ const c = (() => e.stickType === "3DPoint" ? xn(e.normal) : Xi(e.position))();
13268
13283
  if (!c)
13269
13284
  return;
13270
- const u = yi(e.position);
13285
+ const u = wi(e.position);
13271
13286
  if (!u)
13272
13287
  return;
13273
13288
  const h = new E.Vector3().copy(l).sub(u), d = c.angleTo(h) * 180 / Math.PI;
@@ -13356,9 +13371,9 @@ class Mg extends Lg {
13356
13371
  if (e.normal)
13357
13372
  return Ze(e.normal);
13358
13373
  if (e.stickType === "Plane")
13359
- return Ni(e.position);
13374
+ return Xi(e.position);
13360
13375
  if (e.stickType === "Model")
13361
- return Ni(this.getPositions(e));
13376
+ return Xi(this.getPositions(e));
13362
13377
  }
13363
13378
  get filterPointTag() {
13364
13379
  return this.tags.filter((e) => e.stickType === "2DPoint" || e.stickType === "3DPoint").filter((e) => e.position);
@@ -13619,7 +13634,7 @@ class Tg extends Mg {
13619
13634
  getTagProject(e) {
13620
13635
  if (!this.getVisibleByPanoIndex(e))
13621
13636
  return;
13622
- const o = yi(e.position);
13637
+ const o = wi(e.position);
13623
13638
  if (!o)
13624
13639
  return;
13625
13640
  const { x: s, y: r, z: a } = o.project(this.five.camera);
@@ -13651,7 +13666,7 @@ class Tg extends Mg {
13651
13666
  const o = (a = this.five.work.observers[n]) == null ? void 0 : a.position;
13652
13667
  if (o === void 0)
13653
13668
  throw new Error(`getVisible(): observerPosition is ${o}`);
13654
- const s = yi(e.position);
13669
+ const s = wi(e.position);
13655
13670
  if (!s)
13656
13671
  return;
13657
13672
  const r = s.sub(o).normalize();
@@ -13702,7 +13717,7 @@ function Ar(i) {
13702
13717
  },
13703
13718
  i(r) {
13704
13719
  s || (r && Re(() => {
13705
- o && o.end(1), n = zt(t, vi, {
13720
+ o && o.end(1), n = zt(t, Ai, {
13706
13721
  duration: i[2],
13707
13722
  delay: i[0],
13708
13723
  easing: vt
@@ -13710,7 +13725,7 @@ function Ar(i) {
13710
13725
  }), s = !0);
13711
13726
  },
13712
13727
  o(r) {
13713
- n && n.invalidate(), r && (o = rn(t, vi, {
13728
+ n && n.invalidate(), r && (o = rn(t, Ai, {
13714
13729
  duration: i[2],
13715
13730
  delay: i[1],
13716
13731
  easing: vt
@@ -13907,7 +13922,7 @@ class rt extends oe {
13907
13922
  function Qg() {
13908
13923
  return Math.random().toString(36).slice(-6);
13909
13924
  }
13910
- const Yi = Qg();
13925
+ const Ui = Qg();
13911
13926
  function Fg(i) {
13912
13927
  le(i, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
13913
13928
  }
@@ -14006,7 +14021,7 @@ function Wg(i) {
14006
14021
  }
14007
14022
  function _g(i, t, e) {
14008
14023
  let n, { inDelay: o = 0 } = t, { outDelay: s = 0 } = t, { content: r } = t, { unfolded: a } = t, { isFistUnfoldedUpdate: l = !0 } = t;
14009
- const c = `__EMOJI_SPLIT_${Yi}__`, u = `__EMOJI_${Yi}__`, h = `__SPACE_${Yi}__`;
14024
+ const c = `__EMOJI_SPLIT_${Ui}__`, u = `__EMOJI_${Ui}__`, h = `__SPACE_${Ui}__`;
14010
14025
  let d, m, g = [];
14011
14026
  function p(I) {
14012
14027
  const C = [], L = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
@@ -14837,7 +14852,7 @@ function Mr(i) {
14837
14852
  },
14838
14853
  i(s) {
14839
14854
  o || (s && Re(() => {
14840
- n && n.end(1), e = zt(t, vi, {
14855
+ n && n.end(1), e = zt(t, Ai, {
14841
14856
  duration: i[1],
14842
14857
  delay: i[0],
14843
14858
  easing: ul
@@ -14845,7 +14860,7 @@ function Mr(i) {
14845
14860
  }), o = !0);
14846
14861
  },
14847
14862
  o(s) {
14848
- e && e.invalidate(), s && (n = rn(t, vi, {
14863
+ e && e.invalidate(), s && (n = rn(t, Ai, {
14849
14864
  duration: i[1],
14850
14865
  delay: i[2],
14851
14866
  easing: Ut
@@ -15028,7 +15043,7 @@ function x0(i) {
15028
15043
  };
15029
15044
  }
15030
15045
  function D0(i, t, e) {
15031
- const n = Ci();
15046
+ const n = Pi();
15032
15047
  let { pagesCount: o = 1 } = t, { currentPageIndex: s = 0 } = t;
15033
15048
  function r(l) {
15034
15049
  n("pageChange", l);
@@ -15144,7 +15159,7 @@ function Ro(i) {
15144
15159
  };
15145
15160
  }
15146
15161
  const H0 = 110, G0 = 9, W0 = 111, _0 = 20;
15147
- function Ui(i) {
15162
+ function qi(i) {
15148
15163
  if ("TouchEvent" in window && i instanceof TouchEvent) {
15149
15164
  const t = i.touches[0];
15150
15165
  return {
@@ -15165,13 +15180,13 @@ function N0(i, { thresholdProvider: t }) {
15165
15180
  }
15166
15181
  function c(d) {
15167
15182
  r = Date.now(), s = 0, a = !0;
15168
- const m = Ui(d);
15183
+ const m = qi(d);
15169
15184
  n = m.x, o = m.y, e("swipeStart", { x: n, y: o }), F0(window, u), Q0(window, h);
15170
15185
  }
15171
15186
  function u(d) {
15172
15187
  if (!a)
15173
15188
  return;
15174
- const m = Ui(d), g = m.x - n, p = m.y - o;
15189
+ const m = qi(d), g = m.x - n, p = m.y - o;
15175
15190
  n = m.x, o = m.y, e("swipeMove", { x: n, y: o, dx: g, dy: p }), g !== 0 && Math.sign(g) !== Math.sign(s) && (s = 0), s += g, Math.abs(s) > t() && (e("swipeThresholdReached", { direction: s > 0 ? Zt : Et }), Br(window, h), jr(window, u));
15176
15191
  }
15177
15192
  function h(d) {
@@ -15179,7 +15194,7 @@ function N0(i, { thresholdProvider: t }) {
15179
15194
  e("swipeFailed");
15180
15195
  return;
15181
15196
  }
15182
- const m = Ui(d);
15197
+ const m = qi(d);
15183
15198
  e("swipeEnd", { x: m.x, y: m.y });
15184
15199
  }
15185
15200
  return O0(i, c), {
@@ -15357,7 +15372,7 @@ function av({
15357
15372
  e - 1
15358
15373
  );
15359
15374
  }
15360
- function qi({
15375
+ function Ji({
15361
15376
  infinite: i,
15362
15377
  pageIndex: t,
15363
15378
  clonesCountHead: e,
@@ -15716,7 +15731,7 @@ function Pv(i) {
15716
15731
  },
15717
15732
  methods: {
15718
15733
  _prev({ data: r }) {
15719
- r.currentParticleIndex = qi({
15734
+ r.currentParticleIndex = Ji({
15720
15735
  infinite: r.infinite,
15721
15736
  pageIndex: r.currentPageIndex - 1,
15722
15737
  clonesCountHead: r.clonesCountHead,
@@ -15727,7 +15742,7 @@ function Pv(i) {
15727
15742
  });
15728
15743
  },
15729
15744
  _next({ data: r }) {
15730
- r.currentParticleIndex = qi({
15745
+ r.currentParticleIndex = Ji({
15731
15746
  infinite: r.infinite,
15732
15747
  pageIndex: r.currentPageIndex + 1,
15733
15748
  clonesCountHead: r.clonesCountHead,
@@ -15805,7 +15820,7 @@ function Pv(i) {
15805
15820
  });
15806
15821
  },
15807
15822
  _getParticleIndexByPageIndex({ data: r }, a) {
15808
- return qi({
15823
+ return Ji({
15809
15824
  infinite: r.infinite,
15810
15825
  pageIndex: a,
15811
15826
  clonesCountHead: r.clonesCountHead,
@@ -16142,7 +16157,7 @@ function Bv(i, t, e) {
16142
16157
  pagesCount: () => e(10, u = Ae),
16143
16158
  loaded: () => e(6, s = Ae)
16144
16159
  })(te);
16145
- }), p = Ci();
16160
+ }), p = Pi();
16146
16161
  let { timingFunction: A = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: b = !0 } = t, { initialPageIndex: w = 0 } = t, { duration: k = 500 } = t, { autoplay: I = !1 } = t, { autoplayDuration: C = 3e3 } = t, { autoplayDirection: L = Et } = t, { pauseOnFocus: x = !1 } = t, { autoplayProgressVisible: Q = !1 } = t, { dots: _ = !0 } = t, { swiping: O = !0 } = t, { particlesToShow: S = 1 } = t, { particlesToScroll: V = 1 } = t;
16147
16162
  function H(te, Ae) {
16148
16163
  return F(this, null, function* () {
@@ -17089,7 +17104,7 @@ function ia(i) {
17089
17104
  j(e, n);
17090
17105
  for (let h = 0; h < l.length; h += 1)
17091
17106
  l[h].m(e, null);
17092
- o = Ei(e, i[11].bind(e));
17107
+ o = Ci(e, i[11].bind(e));
17093
17108
  },
17094
17109
  p(c, u) {
17095
17110
  if (u & 4) {
@@ -17426,7 +17441,7 @@ function sA(i) {
17426
17441
  }
17427
17442
  function rA(i, t, e) {
17428
17443
  let { $$slots: n = {}, $$scope: o } = t, { url: s } = t, { enable: r = !0 } = t, { style: a = "" } = t, { hooksInfo: l } = t;
17429
- const c = Ci(), u = At("hooks"), h = At("mediaStore");
17444
+ const c = Pi(), u = At("hooks"), h = At("mediaStore");
17430
17445
  let d, m = !0;
17431
17446
  function g() {
17432
17447
  e(
@@ -18285,7 +18300,7 @@ function zA(i) {
18285
18300
  catch: jA,
18286
18301
  value: 19
18287
18302
  };
18288
- return hi(
18303
+ return fi(
18289
18304
  e = i[11](De({
18290
18305
  url: i[7],
18291
18306
  ratio: i[5]
@@ -18302,7 +18317,7 @@ function zA(i) {
18302
18317
  i = o, n.ctx = i, s & 160 && e !== (e = i[11](De({
18303
18318
  url: i[7],
18304
18319
  ratio: i[5]
18305
- }))) && hi(e, n) || nl(n, i, s);
18320
+ }))) && fi(e, n) || nl(n, i, s);
18306
18321
  },
18307
18322
  d(o) {
18308
18323
  o && M(t), n.block.d(o), n.token = null, n = null;
@@ -18320,7 +18335,7 @@ function BA(i) {
18320
18335
  catch: RA,
18321
18336
  value: 19
18322
18337
  };
18323
- return hi(
18338
+ return fi(
18324
18339
  e = i[10](De({
18325
18340
  url: i[7],
18326
18341
  steps: i[2],
@@ -18341,7 +18356,7 @@ function BA(i) {
18341
18356
  steps: i[2],
18342
18357
  fps: i[6],
18343
18358
  ratio: i[5]
18344
- }))) && hi(e, n) || nl(n, i, s);
18359
+ }))) && fi(e, n) || nl(n, i, s);
18345
18360
  },
18346
18361
  d(o) {
18347
18362
  o && M(t), n.block.d(o), n.token = null, n = null;
@@ -18455,7 +18470,7 @@ function Gt(i) {
18455
18470
  }
18456
18471
  function GA(i, t, e) {
18457
18472
  let n, o, s, r, a, l, c, u, h, { width: d = null } = t, { icon: m = null } = t, { shadow: g = !1 } = t;
18458
- const p = Ci();
18473
+ const p = Pi();
18459
18474
  function A(w) {
18460
18475
  return F(this, null, function* () {
18461
18476
  const k = yield SA(w);
@@ -18598,7 +18613,7 @@ function Ea(i) {
18598
18613
  let t, e = i[0].element + "", n;
18599
18614
  return {
18600
18615
  c() {
18601
- t = new li(!1), n = pe(), t.a = n;
18616
+ t = new ci(!1), n = pe(), t.a = n;
18602
18617
  },
18603
18618
  m(o, s) {
18604
18619
  t.m(e, o, s), T(o, n, s);
@@ -18684,12 +18699,12 @@ function KA(i) {
18684
18699
  function $A(i) {
18685
18700
  let t, e, n, o, s, r, a, l, c, u;
18686
18701
  const h = [
18687
- r1,
18688
- s1,
18689
- o1,
18690
- i1,
18691
- n1,
18692
- t1
18702
+ rb,
18703
+ sb,
18704
+ ob,
18705
+ ib,
18706
+ nb,
18707
+ tb
18693
18708
  ], d = [];
18694
18709
  function m(g, p) {
18695
18710
  return g[1].contentType === "Text" ? 0 : g[1].contentType === "ImageText" || g[1].contentType === "Image" || g[1].contentType === "Video" ? 1 : g[1].contentType === "Audio" ? 2 : g[1].contentType === "Marketing" ? 3 : g[1].contentType === "Link" || g[1].contentType === "VRLink" || g[1].contentType === "PanoLink" || g[1].contentType === "Sticker" ? 4 : g[1].contentType === "MediaPlane" || g[1].contentType === "MediaModel" ? 5 : -1;
@@ -18720,7 +18735,7 @@ function $A(i) {
18720
18735
  }
18721
18736
  };
18722
18737
  }
18723
- function e1(i) {
18738
+ function eb(i) {
18724
18739
  let t, e, n, o, s, r, a;
18725
18740
  return e = new JA({
18726
18741
  props: { tag: De(i[1]) }
@@ -18746,7 +18761,7 @@ function e1(i) {
18746
18761
  }
18747
18762
  };
18748
18763
  }
18749
- function t1(i) {
18764
+ function tb(i) {
18750
18765
  let t, e;
18751
18766
  return t = new LA({
18752
18767
  props: { tag: De(i[1]) }
@@ -18772,7 +18787,7 @@ function t1(i) {
18772
18787
  }
18773
18788
  };
18774
18789
  }
18775
- function n1(i) {
18790
+ function nb(i) {
18776
18791
  let t, e;
18777
18792
  return t = new XA({
18778
18793
  props: { tag: De(i[1]) }
@@ -18798,7 +18813,7 @@ function n1(i) {
18798
18813
  }
18799
18814
  };
18800
18815
  }
18801
- function i1(i) {
18816
+ function ib(i) {
18802
18817
  let t, e;
18803
18818
  return t = new nA({
18804
18819
  props: { tag: De(i[1]) }
@@ -18824,7 +18839,7 @@ function i1(i) {
18824
18839
  }
18825
18840
  };
18826
18841
  }
18827
- function o1(i) {
18842
+ function ob(i) {
18828
18843
  let t, e;
18829
18844
  return t = new IA({
18830
18845
  props: { tag: De(i[1]) }
@@ -18850,7 +18865,7 @@ function o1(i) {
18850
18865
  }
18851
18866
  };
18852
18867
  }
18853
- function s1(i) {
18868
+ function sb(i) {
18854
18869
  let t, e;
18855
18870
  return t = new Kv({
18856
18871
  props: { tag: De(i[1]) }
@@ -18876,7 +18891,7 @@ function s1(i) {
18876
18891
  }
18877
18892
  };
18878
18893
  }
18879
- function r1(i) {
18894
+ function rb(i) {
18880
18895
  let t, e;
18881
18896
  return t = new v0({
18882
18897
  props: { tag: De(i[1]) }
@@ -18902,9 +18917,9 @@ function r1(i) {
18902
18917
  }
18903
18918
  };
18904
18919
  }
18905
- function a1(i) {
18920
+ function ab(i) {
18906
18921
  let t, e, n, o;
18907
- const s = [e1, $A, KA], r = [];
18922
+ const s = [eb, $A, KA], r = [];
18908
18923
  function a(l, c) {
18909
18924
  return l[1].element ? 0 : l[3] ? 1 : 2;
18910
18925
  }
@@ -18932,9 +18947,9 @@ function a1(i) {
18932
18947
  }
18933
18948
  };
18934
18949
  }
18935
- function l1(i, t, e) {
18950
+ function lb(i, t, e) {
18936
18951
  let n, o, s, r, a, l, { withAnimation: c = !1 } = t, { tag: u } = t, { hooks: h } = t, { state: d } = t, { mediaStore: m } = t, { temporaryState: g } = t;
18937
- oo("hooks", h), oo("mediaStore", m);
18952
+ so("hooks", h), so("mediaStore", m);
18938
18953
  let p, A;
18939
18954
  function v(I) {
18940
18955
  I ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
@@ -18972,8 +18987,8 @@ class lc extends oe {
18972
18987
  super(), ie(
18973
18988
  this,
18974
18989
  t,
18975
- l1,
18976
- a1,
18990
+ lb,
18991
+ ab,
18977
18992
  ne,
18978
18993
  {
18979
18994
  withAnimation: 0,
@@ -18987,10 +19002,10 @@ class lc extends oe {
18987
19002
  );
18988
19003
  }
18989
19004
  }
18990
- function c1(i) {
19005
+ function cb(i) {
18991
19006
  le(i, "svelte-1jkrwn7", '@charset "UTF-8";.tag-point-click-helper.svelte-1jkrwn7.svelte-1jkrwn7{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-1jkrwn7.svelte-1jkrwn7{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-1jkrwn7.svelte-1jkrwn7,.tag-unfolded-point.svelte-1jkrwn7.svelte-1jkrwn7{transition:all 0.5s}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:1;scale:1}');
18992
19007
  }
18993
- function u1(i) {
19008
+ function ub(i) {
18994
19009
  let t, e, n, o, s, r, a, l, c, u, h, d;
18995
19010
  return o = new rt({
18996
19011
  props: {
@@ -19027,7 +19042,7 @@ function u1(i) {
19027
19042
  }
19028
19043
  };
19029
19044
  }
19030
- function d1(i, t, e) {
19045
+ function db(i, t, e) {
19031
19046
  let n, o, s, r;
19032
19047
  const a = At("hooks");
19033
19048
  let { tag: l } = t, c, u = !1;
@@ -19076,15 +19091,15 @@ function d1(i, t, e) {
19076
19091
  g
19077
19092
  ];
19078
19093
  }
19079
- class h1 extends oe {
19094
+ class hb extends oe {
19080
19095
  constructor(t) {
19081
- super(), ie(this, t, d1, u1, ne, { tag: 6 }, c1);
19096
+ super(), ie(this, t, db, ub, ne, { tag: 6 }, cb);
19082
19097
  }
19083
19098
  }
19084
- function f1(i) {
19099
+ function fb(i) {
19085
19100
  le(i, "svelte-pzwdws", ".tag.withAnimation.svelte-pzwdws{transition:opacity 0.3s linear}.tag.hide.svelte-pzwdws{opacity:0;pointer-events:none}.tag.hide.svelte-pzwdws *{pointer-events:none !important}.tag.unClickable.svelte-pzwdws{pointer-events:none !important}.tag.unClickable.svelte-pzwdws *{pointer-events:none !important}.tag.disable.svelte-pzwdws{display:none}.wrapper.svelte-pzwdws{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
19086
19101
  }
19087
- function m1(i) {
19102
+ function mb(i) {
19088
19103
  let t;
19089
19104
  return {
19090
19105
  c() {
@@ -19101,7 +19116,7 @@ function m1(i) {
19101
19116
  }
19102
19117
  };
19103
19118
  }
19104
- function p1(i) {
19119
+ function pb(i) {
19105
19120
  let t, e;
19106
19121
  return t = new lc({
19107
19122
  props: {
@@ -19134,7 +19149,7 @@ function p1(i) {
19134
19149
  }
19135
19150
  };
19136
19151
  }
19137
- function g1(i) {
19152
+ function gb(i) {
19138
19153
  let t;
19139
19154
  return {
19140
19155
  c() {
@@ -19151,9 +19166,9 @@ function g1(i) {
19151
19166
  }
19152
19167
  };
19153
19168
  }
19154
- function v1(i) {
19169
+ function vb(i) {
19155
19170
  let t, e;
19156
- return t = new h1({ props: { tag: i[1] } }), {
19171
+ return t = new hb({ props: { tag: i[1] } }), {
19157
19172
  c() {
19158
19173
  K(t.$$.fragment);
19159
19174
  },
@@ -19175,14 +19190,14 @@ function v1(i) {
19175
19190
  }
19176
19191
  };
19177
19192
  }
19178
- function A1(i) {
19193
+ function Ab(i) {
19179
19194
  let t, e, n, o, s, r, a, l, c, u;
19180
- const h = [p1, m1], d = [];
19195
+ const h = [pb, mb], d = [];
19181
19196
  function m(v, b) {
19182
19197
  return v[12] ? 0 : 1;
19183
19198
  }
19184
19199
  n = m(i), o = d[n] = h[n](i);
19185
- const g = [v1, g1], p = [];
19200
+ const g = [vb, gb], p = [];
19186
19201
  function A(v, b) {
19187
19202
  return v[13] ? 0 : 1;
19188
19203
  }
@@ -19214,7 +19229,7 @@ function A1(i) {
19214
19229
  }
19215
19230
  };
19216
19231
  }
19217
- function b1(i, t, e) {
19232
+ function bb(i, t, e) {
19218
19233
  let n, o, s, r, a, l, c, u, h, { withAnimation: d = !1 } = t, { tag: m } = t, { mediaStore: g } = t, { state: p } = t, { temporaryState: A } = t;
19219
19234
  const v = At("hooks");
19220
19235
  return i.$$set = (b) => {
@@ -19240,13 +19255,13 @@ function b1(i, t, e) {
19240
19255
  v
19241
19256
  ];
19242
19257
  }
19243
- class y1 extends oe {
19258
+ class yb extends oe {
19244
19259
  constructor(t) {
19245
19260
  super(), ie(
19246
19261
  this,
19247
19262
  t,
19248
- b1,
19249
- A1,
19263
+ bb,
19264
+ Ab,
19250
19265
  ne,
19251
19266
  {
19252
19267
  withAnimation: 0,
@@ -19255,11 +19270,11 @@ class y1 extends oe {
19255
19270
  state: 3,
19256
19271
  temporaryState: 4
19257
19272
  },
19258
- f1
19273
+ fb
19259
19274
  );
19260
19275
  }
19261
19276
  }
19262
- function w1(i) {
19277
+ function wb(i) {
19263
19278
  le(i, "svelte-uq11d5", ".tag--container.svelte-uq11d5{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:translate3d(0, 0, 0)}.withAnimation.svelte-uq11d5{transition:opacity 0.3s linear}.tag--container.hide.svelte-uq11d5{opacity:0;pointer-events:none}.tag--container.hide.svelte-uq11d5 *{pointer-events:none !important}");
19264
19279
  }
19265
19280
  function Ca(i, t, e) {
@@ -19310,7 +19325,7 @@ function Pa(i) {
19310
19325
  }
19311
19326
  function Ia(i, t) {
19312
19327
  let e, n, o;
19313
- return n = new y1({
19328
+ return n = new yb({
19314
19329
  props: {
19315
19330
  state: t[3],
19316
19331
  temporaryState: t[4],
@@ -19343,7 +19358,7 @@ function Ia(i, t) {
19343
19358
  }
19344
19359
  };
19345
19360
  }
19346
- function E1(i) {
19361
+ function Eb(i) {
19347
19362
  let t, e, n = i[3].enabled && Pa(i);
19348
19363
  return {
19349
19364
  c() {
@@ -19368,19 +19383,19 @@ function E1(i) {
19368
19383
  }
19369
19384
  };
19370
19385
  }
19371
- function C1(i, t, e) {
19386
+ function Cb(i, t, e) {
19372
19387
  let { withAnimation: n = !1 } = t, { tags: o = [] } = t, { hooks: s } = t, { mediaStore: r } = t, { state: a } = t, { temporaryState: l } = t;
19373
- return oo("hooks", s), i.$$set = (c) => {
19388
+ return so("hooks", s), i.$$set = (c) => {
19374
19389
  "withAnimation" in c && e(0, n = c.withAnimation), "tags" in c && e(1, o = c.tags), "hooks" in c && e(5, s = c.hooks), "mediaStore" in c && e(2, r = c.mediaStore), "state" in c && e(3, a = c.state), "temporaryState" in c && e(4, l = c.temporaryState);
19375
19390
  }, [n, o, r, a, l, s];
19376
19391
  }
19377
- class P1 extends oe {
19392
+ class Pb extends oe {
19378
19393
  constructor(t) {
19379
19394
  super(), ie(
19380
19395
  this,
19381
19396
  t,
19382
- C1,
19383
- E1,
19397
+ Cb,
19398
+ Eb,
19384
19399
  ne,
19385
19400
  {
19386
19401
  withAnimation: 0,
@@ -19390,12 +19405,12 @@ class P1 extends oe {
19390
19405
  state: 3,
19391
19406
  temporaryState: 4
19392
19407
  },
19393
- w1
19408
+ wb
19394
19409
  );
19395
19410
  }
19396
19411
  }
19397
- const I1 = new Gc();
19398
- function k1(i) {
19412
+ const Ib = new Gc();
19413
+ function kb(i) {
19399
19414
  return new Promise((t, e) => {
19400
19415
  function n(s) {
19401
19416
  t(s);
@@ -19403,11 +19418,11 @@ function k1(i) {
19403
19418
  function o(s) {
19404
19419
  e(s);
19405
19420
  }
19406
- I1.load(i, n, void 0, o);
19421
+ Ib.load(i, n, void 0, o);
19407
19422
  });
19408
19423
  }
19409
- const x1 = /* @__PURE__ */ new Map(), D1 = /* @__PURE__ */ new Map();
19410
- class L1 extends Tg {
19424
+ const xb = /* @__PURE__ */ new Map(), Db = /* @__PURE__ */ new Map();
19425
+ class Lb extends Tg {
19411
19426
  constructor(e) {
19412
19427
  super(e);
19413
19428
  f(this, "group", new Wt());
@@ -19421,7 +19436,7 @@ class L1 extends Tg {
19421
19436
  const n = e.data.modelUrl;
19422
19437
  if (!n)
19423
19438
  return;
19424
- const o = k1(n).then((c) => Object.assign(c.scene, { customID: e.id, isTagModel: !0 }));
19439
+ const o = kb(n).then((c) => Object.assign(c.scene, { customID: e.id, isTagModel: !0 }));
19425
19440
  e.model = { promise: o };
19426
19441
  const s = yield o;
19427
19442
  if (((l = e.model) == null ? void 0 : l.promise) !== o || (e.model.object = s, !this.tags.includes(e)))
@@ -19472,8 +19487,8 @@ class L1 extends Tg {
19472
19487
  playButton: n.data.playIcon,
19473
19488
  paused: !((d = n.data.autoplayConfig) != null && d.autoplayVideo),
19474
19489
  objectFit: n.data.objectFit,
19475
- videoTextureMap: x1,
19476
- ImageTextureMap: D1
19490
+ videoTextureMap: xb,
19491
+ ImageTextureMap: Db
19477
19492
  });
19478
19493
  m.onVideoReady = (p) => {
19479
19494
  p.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: m.videoInstance }));
@@ -19588,7 +19603,7 @@ class L1 extends Tg {
19588
19603
  const o = (n = this.five.getElement()) == null ? void 0 : n.parentElement;
19589
19604
  if (!o)
19590
19605
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
19591
- this.TagContainerSvelte = new P1({
19606
+ this.TagContainerSvelte = new Pb({
19592
19607
  target: o,
19593
19608
  props: { hooks: this.hooks, tags: e, state: this.state, temporaryState: this.temporaryState, mediaStore: this.mediaStore }
19594
19609
  });
@@ -19626,7 +19641,7 @@ class L1 extends Tg {
19626
19641
  }
19627
19642
  }
19628
19643
  const cc = "Dnalogel-PanoTagPlugin", ay = (i) => `${cc}--${i}`;
19629
- class M1 extends L1 {
19644
+ class Mb extends Lb {
19630
19645
  constructor(e, n) {
19631
19646
  super(e);
19632
19647
  f(this, "state", { enabled: !0, visible: !0 });
@@ -19901,7 +19916,7 @@ class M1 extends L1 {
19901
19916
  ((o = this.getTagConfig(e)) == null ? void 0 : o.renderType) !== "Mesh" && ((a = (r = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : r.css3DObject) == null ? void 0 : a.mode) !== n && ((l = e.config) != null && l.tag3DConfig ? e.config.tag3DConfig.mode = n : e.config ? e.config.tag3DConfig = { mode: n } : e.config = { tag3DConfig: { mode: n } }, (c = this.store.css3DRenderDisposer.get(e.id)) == null || c.forEach((u) => u == null ? void 0 : u()), e.tag3DContentSvelte = void 0);
19902
19917
  }
19903
19918
  }
19904
- const ly = (i, t) => new M1(i, t);
19919
+ const ly = (i, t) => new Mb(i, t);
19905
19920
  function uc(i) {
19906
19921
  const t = new E.Box3(), e = new E.Vector3();
19907
19922
  if (i.traverse((n) => {
@@ -20084,7 +20099,7 @@ class On {
20084
20099
  return o;
20085
20100
  }
20086
20101
  }
20087
- class S1 extends On {
20102
+ class Sb extends On {
20088
20103
  constructor(...e) {
20089
20104
  super(...e);
20090
20105
  f(this, "name", "ScaleController");
@@ -20104,7 +20119,7 @@ function dc(i, t, e) {
20104
20119
  }
20105
20120
  i.quaternion.copy(t);
20106
20121
  }
20107
- class T1 extends Vc {
20122
+ class Tb extends Vc {
20108
20123
  constructor() {
20109
20124
  super();
20110
20125
  }
@@ -20125,7 +20140,7 @@ class T1 extends Vc {
20125
20140
  return t !== null && t.remove(this), this;
20126
20141
  }
20127
20142
  }
20128
- class Si extends T1 {
20143
+ class Ti extends Tb {
20129
20144
  constructor(e, n) {
20130
20145
  var o;
20131
20146
  super();
@@ -20178,17 +20193,17 @@ class Si extends T1 {
20178
20193
  this.removeFromParent();
20179
20194
  }
20180
20195
  }
20181
- class z1 extends Si {
20196
+ class zb extends Ti {
20182
20197
  }
20183
- class B1 extends Si {
20198
+ class Bb extends Ti {
20184
20199
  }
20185
- class j1 extends Si {
20200
+ class jb extends Ti {
20186
20201
  }
20187
- class hc extends Si {
20202
+ class hc extends Ti {
20188
20203
  }
20189
- class V1 extends hc {
20204
+ class Vb extends hc {
20190
20205
  }
20191
- class O1 extends E.Group {
20206
+ class Ob extends E.Group {
20192
20207
  constructor(e) {
20193
20208
  super();
20194
20209
  f(this, "direction");
@@ -20202,7 +20217,7 @@ class ka extends E.Mesh {
20202
20217
  this.direction = o || "x";
20203
20218
  }
20204
20219
  }
20205
- function R1(i, t) {
20220
+ function Rb(i, t) {
20206
20221
  const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
20207
20222
  return Object.assign(new E.Vector2(), {
20208
20223
  x: (i.x - s) / e * 2 - 1,
@@ -20212,16 +20227,16 @@ function R1(i, t) {
20212
20227
  function Fo(i, t, e) {
20213
20228
  if (!t || !e || !i)
20214
20229
  return;
20215
- const n = R1(t, e);
20230
+ const n = Rb(t, e);
20216
20231
  if (Math.abs(n.x) === 1 || Math.abs(n.y) === 1)
20217
20232
  return;
20218
20233
  const o = new E.Raycaster();
20219
20234
  return o.setFromCamera(n, i), o;
20220
20235
  }
20221
- function Q1(i, t) {
20236
+ function Qb(i, t) {
20222
20237
  return !(Math.abs(i.x - t.x) > 1e-5 || Math.abs(i.y - t.y) > 1e-5 || Math.abs(i.z - t.z) > 1e-5);
20223
20238
  }
20224
- class Ji extends O1 {
20239
+ class Zi extends Ob {
20225
20240
  constructor(e) {
20226
20241
  var u;
20227
20242
  super(e.direction);
@@ -20248,28 +20263,28 @@ class Ji extends O1 {
20248
20263
  this.line.geometry.translate(0, this.lineHeight / 2, 0), this.direction === "x" ? (this.line.geometry.rotateX(Math.PI / 2), this.line.geometry.rotateY(Math.PI / 2)) : this.direction === "z" && this.line.geometry.rotateX(Math.PI / 2);
20249
20264
  }
20250
20265
  }
20251
- const Zi = {
20266
+ const Ki = {
20252
20267
  X: 15618642,
20253
20268
  Y: 4765519,
20254
20269
  Z: 4227839
20255
20270
  };
20256
20271
  class Xt {
20257
20272
  static get X() {
20258
- return new E.Color(Zi.X).convertSRGBToLinear().clone();
20273
+ return new E.Color(Ki.X).convertSRGBToLinear().clone();
20259
20274
  }
20260
20275
  static get Y() {
20261
- return new E.Color(Zi.Y).convertSRGBToLinear().clone();
20276
+ return new E.Color(Ki.Y).convertSRGBToLinear().clone();
20262
20277
  }
20263
20278
  static get Z() {
20264
- return new E.Color(Zi.Z).convertSRGBToLinear().clone();
20279
+ return new E.Color(Ki.Z).convertSRGBToLinear().clone();
20265
20280
  }
20266
20281
  }
20267
- class F1 extends z1 {
20282
+ class Fb extends zb {
20268
20283
  constructor(e) {
20269
20284
  super(e);
20270
- f(this, "xArrow", new Ji({ direction: "x", color: Xt.X }));
20271
- f(this, "yArrow", new Ji({ direction: "y", color: Xt.Y }));
20272
- f(this, "zArrow", new Ji({ direction: "z", color: Xt.Z }));
20285
+ f(this, "xArrow", new Zi({ direction: "x", color: Xt.X }));
20286
+ f(this, "yArrow", new Zi({ direction: "y", color: Xt.Y }));
20287
+ f(this, "zArrow", new Zi({ direction: "z", color: Xt.Z }));
20273
20288
  this.add(this.xArrow), this.add(this.yArrow), this.add(this.zArrow);
20274
20289
  }
20275
20290
  show() {
@@ -20283,16 +20298,16 @@ class F1 extends z1 {
20283
20298
  }
20284
20299
  }
20285
20300
  function Lt(i, t) {
20286
- return H1(document.createElement(t != null ? t : "div"), i);
20301
+ return Hb(document.createElement(t != null ? t : "div"), i);
20287
20302
  }
20288
- function H1(i, t) {
20303
+ function Hb(i, t) {
20289
20304
  if (!t)
20290
20305
  return i;
20291
20306
  for (const e in t)
20292
20307
  e && t[e] && (i.style[e] = t[e]);
20293
20308
  return i;
20294
20309
  }
20295
- function G1(i) {
20310
+ function Gb(i) {
20296
20311
  const t = Lt(R({
20297
20312
  position: "absolute",
20298
20313
  display: "block",
@@ -20318,7 +20333,7 @@ function G1(i) {
20318
20333
  t.style.left = s, t.style.top = r, e();
20319
20334
  } };
20320
20335
  }
20321
- class W1 extends j1 {
20336
+ class Wb extends jb {
20322
20337
  constructor(e, n) {
20323
20338
  super(e);
20324
20339
  f(this, "xCircle");
@@ -20327,7 +20342,7 @@ class W1 extends j1 {
20327
20342
  f(this, "children", []);
20328
20343
  f(this, "angleTips");
20329
20344
  f(this, "container");
20330
- (n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.xCircle = new Ki({ direction: "x", color: Xt.X })), (n == null ? void 0 : n.xzCircleEnable) !== !1 && (this.yCircle = new Ki({ direction: "y", color: Xt.Y })), (n == null ? void 0 : n.xyCircleEnable) !== !1 && (this.zCircle = new Ki({ direction: "z", color: Xt.Z })), (n == null ? void 0 : n.container) && (n == null ? void 0 : n.angleTipsEnable) !== !1 && (this.container = n == null ? void 0 : n.container, this.angleTips = G1({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
20345
+ (n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.xCircle = new $i({ direction: "x", color: Xt.X })), (n == null ? void 0 : n.xzCircleEnable) !== !1 && (this.yCircle = new $i({ direction: "y", color: Xt.Y })), (n == null ? void 0 : n.xyCircleEnable) !== !1 && (this.zCircle = new $i({ direction: "z", color: Xt.Z })), (n == null ? void 0 : n.container) && (n == null ? void 0 : n.angleTipsEnable) !== !1 && (this.container = n == null ? void 0 : n.container, this.angleTips = Gb({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
20331
20346
  }
20332
20347
  hide() {
20333
20348
  this.children.forEach((e) => e.hide());
@@ -20345,14 +20360,14 @@ class W1 extends j1 {
20345
20360
  this.removeFromParent(), (n = (e = this.angleTips) == null ? void 0 : e.element) == null || n.remove();
20346
20361
  }
20347
20362
  }
20348
- class Ki extends E.Group {
20363
+ class $i extends E.Group {
20349
20364
  constructor(e) {
20350
20365
  super();
20351
20366
  f(this, "direction");
20352
20367
  f(this, "circle");
20353
20368
  f(this, "ring");
20354
20369
  f(this, "angleSector");
20355
- this.direction = e.direction, this.circle = new _1(e), this.ring = new N1(e), this.angleSector = new X1(e), this.add(this.circle, this.ring, this.angleSector), this.direction === "y" ? this.rotateX(Math.PI / 2) : this.direction === "x" && this.rotateY(-Math.PI / 2);
20370
+ this.direction = e.direction, this.circle = new _b(e), this.ring = new Nb(e), this.angleSector = new Xb(e), this.add(this.circle, this.ring, this.angleSector), this.direction === "y" ? this.rotateX(Math.PI / 2) : this.direction === "x" && this.rotateY(-Math.PI / 2);
20356
20371
  }
20357
20372
  showCircle() {
20358
20373
  this.add(this.circle), this.remove(this.ring, this.angleSector);
@@ -20364,7 +20379,7 @@ class Ki extends E.Group {
20364
20379
  this.remove(this.ring, this.angleSector, this.circle);
20365
20380
  }
20366
20381
  }
20367
- class _1 extends E.Mesh {
20382
+ class _b extends E.Mesh {
20368
20383
  constructor(e) {
20369
20384
  var n;
20370
20385
  super();
@@ -20380,7 +20395,7 @@ class _1 extends E.Mesh {
20380
20395
  }), this.direction = e.direction, this.geometry.name = `RotateHelperCircleGeometry-${this.direction}`;
20381
20396
  }
20382
20397
  }
20383
- class N1 extends E.Group {
20398
+ class Nb extends E.Group {
20384
20399
  constructor(e) {
20385
20400
  super();
20386
20401
  f(this, "direction");
@@ -20398,7 +20413,7 @@ class N1 extends E.Group {
20398
20413
  this.add(...o);
20399
20414
  }
20400
20415
  }
20401
- class X1 extends E.Mesh {
20416
+ class Xb extends E.Mesh {
20402
20417
  constructor(e) {
20403
20418
  var o;
20404
20419
  super();
@@ -20426,7 +20441,7 @@ class X1 extends E.Mesh {
20426
20441
  }), this.direction = e.direction, this.angleDirection = this.direction === "z" ? 1 : -1;
20427
20442
  }
20428
20443
  }
20429
- function Y1() {
20444
+ function Yb() {
20430
20445
  const i = Lt({
20431
20446
  width: "100%",
20432
20447
  height: "100%",
@@ -20490,7 +20505,7 @@ function ft(i) {
20490
20505
  });
20491
20506
  return n.draggable = !0, e.appendChild(n), t.appendChild(e), t;
20492
20507
  }
20493
- class U1 extends V1 {
20508
+ class Ub extends Vb {
20494
20509
  constructor(e, n, o, s) {
20495
20510
  super(e);
20496
20511
  f(this, "points", []);
@@ -20571,7 +20586,7 @@ class U1 extends V1 {
20571
20586
  if (!n)
20572
20587
  return;
20573
20588
  this.css3DInstance = n, n.appendToElement(this.container);
20574
- const o = n.css3DObject.container, { container: s, squares: r } = Y1();
20589
+ const o = n.css3DObject.container, { container: s, squares: r } = Yb();
20575
20590
  this.points = r.map((c, u) => ({
20576
20591
  direction: c.direction,
20577
20592
  point: c.element,
@@ -20597,7 +20612,7 @@ class U1 extends V1 {
20597
20612
  ];
20598
20613
  }
20599
20614
  }
20600
- class q1 extends B1 {
20615
+ class qb extends Bb {
20601
20616
  constructor(e) {
20602
20617
  super(e);
20603
20618
  f(this, "box");
@@ -20681,7 +20696,7 @@ class q1 extends B1 {
20681
20696
  return new E.Mesh(n, o);
20682
20697
  }
20683
20698
  }
20684
- class J1 extends On {
20699
+ class Jb extends On {
20685
20700
  constructor(...e) {
20686
20701
  super(...e);
20687
20702
  f(this, "name", "MoveController");
@@ -20816,14 +20831,14 @@ class fn {
20816
20831
  this.five.off("wantsTapGesture", this.onFiveWantsTapGesture), this.five.off("wantsGesture", this.onFiveWantsGesture), this.five.off("intersectionOnModelUpdate", this.onFiveIntersectionOnModelUpdate), (t = this.helperController) == null || t.dispose();
20817
20832
  }
20818
20833
  }
20819
- const Z1 = "v1.0.1", K1 = "Object3DHelper", Ho = `${K1}@${Z1}`, $1 = () => {
20834
+ const Zb = "v1.0.1", Kb = "Object3DHelper", Ho = `${Kb}@${Zb}`, $b = () => {
20820
20835
  console.error(`${Ho} is disposed`);
20821
- }, eb = () => {
20836
+ }, e1 = () => {
20822
20837
  console.warn(`${Ho} is disabled`);
20823
- }, tb = () => {
20838
+ }, t1 = () => {
20824
20839
  console.error(`${Ho} is disabled`);
20825
20840
  };
20826
- class nb {
20841
+ class n1 {
20827
20842
  constructor(t) {
20828
20843
  f(this, "controllers", {});
20829
20844
  f(this, "state", {
@@ -20856,9 +20871,9 @@ class nb {
20856
20871
  }
20857
20872
  setState(t, e) {
20858
20873
  if (this.state.disposed)
20859
- return $1();
20874
+ return $b();
20860
20875
  if (!this.state.enabled && t.enabled !== !0 && t.disposed !== !0)
20861
- return tb();
20876
+ return t1();
20862
20877
  const n = R({}, this.state);
20863
20878
  this.state = R(R({}, this.state), t), t.disposed !== void 0 && t.disposed !== n.disposed && t.disposed && this.handleDispose(), t.visible !== void 0 && this.handleVisible(t.visible), t.enabled !== void 0 && this.handleEnable(t.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: n });
20864
20879
  }
@@ -20902,13 +20917,13 @@ class nb {
20902
20917
  actionIfStateIsEnabled(t, e) {
20903
20918
  if (this.state.enabled)
20904
20919
  return t();
20905
- e != null && e.warnLog && eb();
20920
+ e != null && e.warnLog && e1();
20906
20921
  }
20907
20922
  }
20908
- function $i(i) {
20923
+ function eo(i) {
20909
20924
  return i * Math.PI / 180;
20910
20925
  }
20911
- class ib extends On {
20926
+ class i1 extends On {
20912
20927
  constructor(...e) {
20913
20928
  var c, u, h;
20914
20929
  super(...e);
@@ -20929,7 +20944,7 @@ class ib extends On {
20929
20944
  this.helperObject3D.applyHelperQuaternion(this.originObject3D.quaternion);
20930
20945
  }
20931
20946
  setRotateAngle(e) {
20932
- const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new E.Euler($i(n), $i(o), $i(s)), a = new E.Quaternion().setFromEuler(r);
20947
+ const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new E.Euler(eo(n), eo(o), eo(s)), a = new E.Quaternion().setFromEuler(r);
20933
20948
  if (this.hooks.emit("wantToRotate", a))
20934
20949
  return;
20935
20950
  const { originObject3D: c, rotateCenter: u } = this;
@@ -21047,7 +21062,7 @@ class ib extends On {
21047
21062
  n.setLeftTop(l, c);
21048
21063
  }
21049
21064
  }
21050
- class ob extends On {
21065
+ class o1 extends On {
21051
21066
  constructor(...e) {
21052
21067
  super(...e);
21053
21068
  f(this, "startInfo");
@@ -21100,7 +21115,7 @@ class ob extends On {
21100
21115
  if (r.length < 4)
21101
21116
  return this.dragEnd();
21102
21117
  const a = e.ray.intersectPlane(s, new q());
21103
- if (!a || Q1(a, this.camera.position))
21118
+ if (!a || Qb(a, this.camera.position))
21104
21119
  return;
21105
21120
  const l = new q().addVectors(r[0], r[2]).divideScalar(2), { position: c, direction: u } = o, h = new q().subVectors(r[1], r[0]), d = new q().subVectors(r[3], r[0]), m = (O) => {
21106
21121
  const S = new q(0, 0, 0);
@@ -21152,7 +21167,7 @@ class ob extends On {
21152
21167
  !this.isDragging || (this.startInfo = void 0, this.isDragging = !1, this.hooks.emit("scaleEnd"), this.render());
21153
21168
  }
21154
21169
  }
21155
- class sb extends ob {
21170
+ class s1 extends o1 {
21156
21171
  constructor(...e) {
21157
21172
  super(...e);
21158
21173
  f(this, "name", "CSS3DScaleController");
@@ -21167,25 +21182,25 @@ class sb extends ob {
21167
21182
  });
21168
21183
  }
21169
21184
  }
21170
- class rb extends On {
21185
+ class r1 extends On {
21171
21186
  constructor(...e) {
21172
21187
  super(...e);
21173
21188
  f(this, "name", "BoundingBoxController");
21174
21189
  }
21175
21190
  }
21176
- class ab extends hc {
21191
+ class a1 extends hc {
21177
21192
  constructor(t) {
21178
21193
  super(t);
21179
21194
  }
21180
21195
  }
21181
- const bo = "Object3DHelperPlugin", Go = bo, lb = () => {
21196
+ const bo = "Object3DHelperPlugin", Go = bo, l1 = () => {
21182
21197
  console.error(`${Go} is disposed`);
21183
- }, cb = () => {
21198
+ }, c1 = () => {
21184
21199
  console.warn(`${Go} is disabled`);
21185
- }, ub = () => {
21200
+ }, u1 = () => {
21186
21201
  console.error(`${Go} is disabled`);
21187
21202
  };
21188
- class db extends jn {
21203
+ class d1 extends jn {
21189
21204
  constructor(e) {
21190
21205
  super(e);
21191
21206
  f(this, "name", bo);
@@ -21220,9 +21235,9 @@ class db extends jn {
21220
21235
  }
21221
21236
  setState(e, n) {
21222
21237
  if (this.state.disposed)
21223
- return lb();
21238
+ return l1();
21224
21239
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
21225
- return ub();
21240
+ return u1();
21226
21241
  const o = R({}, this.state);
21227
21242
  this.state = R(R({}, this.state), e), e.disposed !== void 0 && e.disposed !== o.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== o.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== o.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: o });
21228
21243
  }
@@ -21237,22 +21252,22 @@ class db extends jn {
21237
21252
  console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
21238
21253
  return;
21239
21254
  }
21240
- const o = new nb(), s = [], r = (m = this.five.getElement()) == null ? void 0 : m.parentElement, a = this.five.camera, { moveHelper: l = !0, rotateHelper: c = !0, scaleHelper: u = !0, boundingBoxHelper: h = !1 } = n, d = new Ue();
21255
+ const o = new n1(), s = [], r = (m = this.five.getElement()) == null ? void 0 : m.parentElement, a = this.five.camera, { moveHelper: l = !0, rotateHelper: c = !0, scaleHelper: u = !0, boundingBoxHelper: h = !1 } = n, d = new Ue();
21241
21256
  if (l) {
21242
- const g = new F1(e), p = this.getConfig(n.moveHelper), A = new fn(this.five, J1, e, g, p, d);
21257
+ const g = new Fb(e), p = this.getConfig(n.moveHelper), A = new fn(this.five, Jb, e, g, p, d);
21243
21258
  o.addControllers({ moveController: A.helperController }), s.push(() => A.dispose());
21244
21259
  }
21245
21260
  if (c) {
21246
- const g = this.getConfig(n.rotateHelper), p = new W1(e, R({ container: r }, g)), A = new fn(this.five, ib, e, p, g, d);
21261
+ const g = this.getConfig(n.rotateHelper), p = new Wb(e, R({ container: r }, g)), A = new fn(this.five, i1, e, p, g, d);
21247
21262
  o.addControllers({ rotateController: A.helperController }), s.push(() => A.dispose());
21248
21263
  }
21249
21264
  if (h) {
21250
- const g = new q1(e), p = new fn(this.five, rb, e, g, void 0, d);
21265
+ const g = new qb(e), p = new fn(this.five, r1, e, g, void 0, d);
21251
21266
  o.addControllers({ boundingBoxController: p.helperController });
21252
21267
  }
21253
21268
  if (u)
21254
21269
  if (e.isCSS3DObjectPlus && r) {
21255
- const g = new U1(e, r, a, this.five.scene), p = new fn(this.five, sb, e, g, void 0, d);
21270
+ const g = new Ub(e, r, a, this.five.scene), p = new fn(this.five, s1, e, g, void 0, d);
21256
21271
  o.addControllers({ scaleController: p.helperController }), s.push(() => p.dispose()), Va(this.five).then(() => {
21257
21272
  var A, v;
21258
21273
  if (e.isCSS3DObjectPlus) {
@@ -21264,7 +21279,7 @@ class db extends jn {
21264
21279
  }
21265
21280
  });
21266
21281
  } else {
21267
- const g = new ab(e), p = new fn(this.five, S1, e, g, void 0, d);
21282
+ const g = new a1(e), p = new fn(this.five, Sb, e, g, void 0, d);
21268
21283
  o.addControllers({ scaleController: p.helperController }), s.push(() => p.dispose());
21269
21284
  }
21270
21285
  return this.objectHelperMap.set(e, { helper: o, disposers: s }), o.controllers;
@@ -21300,21 +21315,21 @@ class db extends jn {
21300
21315
  actionIfStateIsEnabled(e, n) {
21301
21316
  if (this.state.enabled)
21302
21317
  return e();
21303
- n != null && n.warnLog && cb();
21318
+ n != null && n.warnLog && c1();
21304
21319
  }
21305
21320
  getConfig(e) {
21306
21321
  if (!!e && typeof e != "boolean" && e.enable)
21307
21322
  return e;
21308
21323
  }
21309
21324
  }
21310
- const cy = (i) => new db(i), hb = `
21325
+ const cy = (i) => new d1(i), h1 = `
21311
21326
  varying vec2 vUv;
21312
21327
  void main() {
21313
21328
  vUv = uv;
21314
21329
  vec4 mvPosition = modelViewMatrix * vec4(position, 1);
21315
21330
  gl_Position = projectionMatrix * mvPosition;
21316
21331
  }
21317
- `, fb = `
21332
+ `, f1 = `
21318
21333
  uniform sampler2D map;
21319
21334
  uniform vec4 size;
21320
21335
  varying vec2 vUv;
@@ -21328,7 +21343,7 @@ void main() {
21328
21343
  gl_FragColor = vec4(texture2D(map, uv).xyz, match);
21329
21344
  }
21330
21345
  `;
21331
- function mb(i) {
21346
+ function m1(i) {
21332
21347
  const t = Math.PI * 2;
21333
21348
  let e = -Math.atan2(i.x, -i.z);
21334
21349
  e = (e % t + t) % t;
@@ -21438,10 +21453,10 @@ class xa {
21438
21453
  const n = document.createElement("video");
21439
21454
  n.crossOrigin = "anonymous", n.autoplay = !1, n.muted = !0, n.loop = !0, n.playsInline = !0, this.video = n;
21440
21455
  const o = new Oc(this.video);
21441
- o.minFilter = eo, o.magFilter = eo;
21456
+ o.minFilter = to, o.magFilter = to;
21442
21457
  const s = new La({
21443
- vertexShader: hb,
21444
- fragmentShader: fb,
21458
+ vertexShader: h1,
21459
+ fragmentShader: f1,
21445
21460
  uniforms: {
21446
21461
  map: { value: o },
21447
21462
  size: {
@@ -21482,7 +21497,7 @@ class xa {
21482
21497
  const e = this.uv2Position(t[0], t[1]);
21483
21498
  if (!e)
21484
21499
  return;
21485
- const n = new q().subVectors(e, this.observer.position).normalize(), { longitude: o, latitude: s } = mb(n);
21500
+ const n = new q().subVectors(e, this.observer.position).normalize(), { longitude: o, latitude: s } = m1(n);
21486
21501
  this.five.setState({ panoIndex: this.panoIndex, longitude: o, latitude: s }), this.onFiveWantsMoveToPano(this.panoIndex);
21487
21502
  }
21488
21503
  getUVCenter() {
@@ -21530,7 +21545,7 @@ class xa {
21530
21545
  return n >= s && n <= u && o >= c && o <= h;
21531
21546
  }
21532
21547
  }
21533
- class pb extends jn {
21548
+ class p1 extends jn {
21534
21549
  constructor(e) {
21535
21550
  super(e);
21536
21551
  f(this, "enabled", !0);
@@ -21633,14 +21648,14 @@ class pb extends jn {
21633
21648
  }
21634
21649
  const uy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21635
21650
  __proto__: null
21636
- }, Symbol.toStringTag, { value: "Module" })), dy = (i) => new pb(i);
21651
+ }, Symbol.toStringTag, { value: "Module" })), dy = (i) => new p1(i);
21637
21652
  Xc();
21638
21653
  Nc();
21639
21654
  export {
21640
21655
  Dn as CSS3DRender,
21641
21656
  Bn as CSS3DRenderPlugin,
21642
21657
  yf as CameraMovementEffect,
21643
- Xb as CameraMovementPlugin,
21658
+ X1 as CameraMovementPlugin,
21644
21659
  Jp as ContentType,
21645
21660
  sy as CruisePlugin,
21646
21661
  Fl as CruisePluginController,
@@ -21648,47 +21663,47 @@ export {
21648
21663
  Ft as DISPLAY_STRATEGY_TYPE,
21649
21664
  og as DimensionType,
21650
21665
  Dt as FLOOR_PLAN_ATTACHED_TO,
21651
- Gb as FLOOR_TYPE_MAP,
21666
+ G1 as FLOOR_TYPE_MAP,
21652
21667
  Fp as GuideLinePlugin,
21653
21668
  Ht as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
21654
21669
  ny as ItemLabelPlugin,
21655
21670
  Ff as Magnifier,
21656
- Rb as MapviewFloorplanPlugin,
21657
- _b as ModelChassisCompassPlugin,
21658
- Nb as ModelEntryDoorGuidePlugin,
21659
- Ob as ModelFloorplanPlugin,
21660
- Kb as ModelItemLabelPlugin,
21661
- jb as ModelRoomLabelPlugin,
21671
+ R1 as MapviewFloorplanPlugin,
21672
+ _1 as ModelChassisCompassPlugin,
21673
+ N1 as ModelEntryDoorGuidePlugin,
21674
+ O1 as ModelFloorplanPlugin,
21675
+ K1 as ModelItemLabelPlugin,
21676
+ j1 as ModelRoomLabelPlugin,
21662
21677
  ey as ModelTVVideoPlugin,
21663
- zb as ModelViewPlugin,
21664
- db as Object3DHelperController,
21678
+ z1 as ModelViewPlugin,
21679
+ d1 as Object3DHelperController,
21665
21680
  cy as Object3DHelperPlugin,
21666
21681
  Go as PLUGIN,
21667
- Tb as PaintBrush,
21682
+ T1 as PaintBrush,
21668
21683
  mt as PaintBrushTypeEnum,
21669
- qb as PanoCompassPlugin,
21670
- Bb as PanoCursorRaycasterPlugin,
21684
+ q1 as PanoCompassPlugin,
21685
+ B1 as PanoCursorRaycasterPlugin,
21671
21686
  oy as PanoDoorLabelPlugin,
21672
- Fb as PanoFloorplanRadarPlugin,
21673
- Jb as PanoMeasurePlugin,
21687
+ F1 as PanoFloorplanRadarPlugin,
21688
+ J1 as PanoMeasurePlugin,
21674
21689
  ln as PanoMeasurePluginLine,
21675
21690
  Bo as PanoMeasurePluginModel,
21676
21691
  st as PanoMeasurePluginPoint,
21677
21692
  zo as PanoMeasurePluginPolyline,
21678
- Yb as PanoRulerPlugin,
21679
- Ub as PanoRulerProPlugin,
21680
- Zb as PanoSpatialTagPlugin,
21693
+ Y1 as PanoRulerPlugin,
21694
+ U1 as PanoRulerProPlugin,
21695
+ Z1 as PanoSpatialTagPlugin,
21681
21696
  ly as PanoTagPlugin,
21682
- M1 as PanoTagPluginController,
21697
+ Mb as PanoTagPluginController,
21683
21698
  dy as PanoVideoPlugin,
21684
21699
  uy as PanoVideoPluginType,
21685
- Hb as ROOM_FETILE_TYPE_MAP,
21686
- Wb as ROOM_TYPE_MAP,
21700
+ H1 as ROOM_FETILE_TYPE_MAP,
21701
+ W1 as ROOM_TYPE_MAP,
21687
21702
  lt as Rotation,
21688
- Qb as TopviewFloorplanPlugin,
21703
+ Q1 as TopviewFloorplanPlugin,
21689
21704
  ry as Util,
21690
21705
  iy as itemLabelPluginServerParams,
21691
- $b as modelItemLabelPluginServerParams,
21692
- Vb as modelRoomLabelPluginServerParams,
21706
+ $1 as modelItemLabelPluginServerParams,
21707
+ V1 as modelRoomLabelPluginServerParams,
21693
21708
  ay as pluginFlag
21694
21709
  };