@realsee/dnalogel 2.2.5 → 2.2.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 (244) hide show
  1. package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  2. package/dist/index.cjs.js +17 -17
  3. package/dist/index.js +849 -887
  4. package/dist/index.umd.js +17 -17
  5. package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  6. package/docs/classes/CruisePluginController.html +24 -24
  7. package/docs/classes/Magnifier.html +16 -16
  8. package/docs/classes/ModelRoomLabelController.html +11 -11
  9. package/docs/classes/Object3DHelperController.html +24 -24
  10. package/docs/classes/PaintBrush.html +15 -15
  11. package/docs/classes/PanoTagPluginController.html +39 -39
  12. package/docs/classes/Util.BetterTween.html +8 -8
  13. package/docs/classes/Util.FivePointSelector.html +12 -12
  14. package/docs/classes/Util.Interval.html +12 -12
  15. package/docs/classes/Util.Magnifier.html +17 -17
  16. package/docs/classes/Util.PointDomHelper.html +11 -11
  17. package/docs/classes/Util.PointHelper.html +11 -11
  18. package/docs/classes/Util.Rectangle.html +13 -13
  19. package/docs/enums/CameraMovementEffect.html +7 -7
  20. package/docs/enums/ContentType.html +12 -12
  21. package/docs/enums/DIRECTION.html +9 -9
  22. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  23. package/docs/enums/DimensionType.html +7 -7
  24. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  25. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  26. package/docs/enums/LinkType.html +7 -7
  27. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  28. package/docs/enums/PointType.html +7 -7
  29. package/docs/enums/Rotation.html +8 -8
  30. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  31. package/docs/functions/CameraMovementPlugin.html +4 -4
  32. package/docs/functions/CruisePlugin.html +4 -4
  33. package/docs/functions/GuideLinePlugin.html +5 -5
  34. package/docs/functions/ItemLabelPlugin.html +4 -4
  35. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  36. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  37. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  38. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  39. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  40. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  41. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  42. package/docs/functions/ModelViewPlugin.html +4 -4
  43. package/docs/functions/Object3DHelperPlugin.html +4 -4
  44. package/docs/functions/PanoCompassPlugin.html +4 -4
  45. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  46. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  47. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  48. package/docs/functions/PanoMeasurePlugin.html +4 -4
  49. package/docs/functions/PanoRulerPlugin.html +4 -4
  50. package/docs/functions/PanoRulerProPlugin.html +4 -4
  51. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  52. package/docs/functions/PanoTagPlugin.html +4 -4
  53. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  54. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  55. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  56. package/docs/functions/Util.getFrameTime.html +5 -5
  57. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  58. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  59. package/docs/functions/Util.isNil.html +5 -5
  60. package/docs/functions/Util.nextFrame.html +5 -5
  61. package/docs/functions/Util.notNil.html +5 -5
  62. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  63. package/docs/functions/Util.tweenProgress.html +5 -5
  64. package/docs/functions/pluginFlag.html +5 -5
  65. package/docs/index.html +4 -4
  66. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  67. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  68. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  69. package/docs/interfaces/ContentTypeMap.html +12 -12
  70. package/docs/interfaces/FloorplanBounding.html +8 -8
  71. package/docs/interfaces/FloorplanData.html +10 -10
  72. package/docs/interfaces/FloorplanEntrance.html +11 -11
  73. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  74. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  75. package/docs/interfaces/FloorplanFloorData.html +9 -9
  76. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  77. package/docs/interfaces/FloorplanObserver.html +9 -9
  78. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  79. package/docs/interfaces/FloorplanPosition.html +7 -7
  80. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  81. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  82. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  83. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  84. package/docs/interfaces/FloorplanServerData.html +7 -7
  85. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  86. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  87. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  88. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  89. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  90. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  91. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  92. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  93. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  94. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  95. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  96. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  97. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  98. package/docs/interfaces/LineJson.html +7 -7
  99. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  100. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  101. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  102. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  103. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  104. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  105. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  106. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  107. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  108. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  109. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  110. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  111. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  112. package/docs/interfaces/Object3DHelperState.html +8 -8
  113. package/docs/interfaces/OpenParameter.html +7 -7
  114. package/docs/interfaces/PaintBrushAction.html +12 -12
  115. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  116. package/docs/interfaces/PaintBrushState.html +10 -10
  117. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  118. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  119. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  120. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  121. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  122. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  123. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  124. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  125. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  126. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  127. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  128. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  129. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  130. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  131. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  132. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  133. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  134. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  135. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  136. package/docs/interfaces/Point.html +8 -8
  137. package/docs/interfaces/PointJson.html +8 -8
  138. package/docs/interfaces/Room.html +9 -9
  139. package/docs/interfaces/RoomInfo.html +7 -7
  140. package/docs/interfaces/RoomLabel.html +14 -14
  141. package/docs/interfaces/RoomRules.html +5 -5
  142. package/docs/interfaces/Rooms.html +5 -5
  143. package/docs/interfaces/Scissor.html +9 -9
  144. package/docs/interfaces/TagConfig.html +10 -10
  145. package/docs/interfaces/Tags.html +9 -9
  146. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  147. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  148. package/docs/modules/Util.html +5 -5
  149. package/docs/modules.html +4 -4
  150. package/docs/types/ArrayPosition.html +5 -5
  151. package/docs/types/CSS3DRenderExportType.html +5 -5
  152. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  153. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  154. package/docs/types/Color.html +5 -5
  155. package/docs/types/ContentTypeConfigKey.html +5 -5
  156. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  157. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  158. package/docs/types/Create3DElementReturnType.html +5 -5
  159. package/docs/types/CruisePluginExportType.html +5 -5
  160. package/docs/types/Direction-1.html +5 -5
  161. package/docs/types/Direction4.html +5 -5
  162. package/docs/types/FloorplanRuleLabels.html +5 -5
  163. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  164. package/docs/types/GuideLinePluginExportType.html +5 -5
  165. package/docs/types/HelperEventMap.html +5 -5
  166. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  167. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  168. package/docs/types/MediaData.html +5 -5
  169. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -6
  170. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  171. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  172. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  173. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  174. package/docs/types/MoveArgs.html +5 -5
  175. package/docs/types/MoveOpts.html +5 -5
  176. package/docs/types/Object3DHelperEventMap.html +5 -5
  177. package/docs/types/ObjectFit.html +5 -5
  178. package/docs/types/PaintBrushEventMap.html +5 -5
  179. package/docs/types/PanoCompassPluginData.html +5 -5
  180. package/docs/types/PanoCompassPluginExportType.html +5 -5
  181. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  182. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  183. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  184. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  185. package/docs/types/PanoMeasureReturnType.html +5 -5
  186. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  187. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  188. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  189. package/docs/types/PlaneTag.html +5 -5
  190. package/docs/types/PointTag.html +5 -5
  191. package/docs/types/Position.html +5 -5
  192. package/docs/types/RotateArgs.html +5 -5
  193. package/docs/types/RotateOpts.html +5 -5
  194. package/docs/types/RuleLabelsKey.html +5 -5
  195. package/docs/types/RuleLabelsValue.html +5 -5
  196. package/docs/types/Tag.html +5 -5
  197. package/docs/types/Tag2D.html +5 -5
  198. package/docs/types/Tag3D.html +5 -5
  199. package/docs/types/TagId.html +5 -5
  200. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  201. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  202. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  203. package/docs/variables/PLUGIN.html +5 -5
  204. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  205. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  206. package/docs/variables/VERSION.html +5 -5
  207. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  208. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  209. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  210. package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
  211. package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
  212. package/libs/ModelChassisCompassPlugin/Plugin.js +1 -1
  213. package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  214. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +42 -39
  215. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
  216. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
  217. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
  218. package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
  219. package/libs/PanoSpatialTagPlugin/Components/origins.js +39 -39
  220. package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -1
  221. package/libs/PanoTagPlugin/Components/Common/Media.js +53 -53
  222. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +2 -2
  223. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +8 -8
  224. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +13 -13
  225. package/libs/PanoTagPlugin/Components/Common/Shadow.js +5 -5
  226. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +12 -12
  227. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +48 -78
  228. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +25 -25
  229. package/libs/PanoTagPlugin/Components/Tag/index.js +35 -35
  230. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -2
  231. package/libs/PanoTagPlugin/Components/TagWrapper.js +2 -2
  232. package/libs/floorplan/Components/Camera.js +23 -23
  233. package/libs/floorplan/Components/Compass.js +2 -2
  234. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +31 -31
  235. package/libs/floorplan/Components/RuleLabels/RuleItem.js +51 -51
  236. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +2 -2
  237. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +2 -2
  238. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +26 -26
  239. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +16 -16
  240. package/libs/index.js +1 -1
  241. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  242. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
  243. package/libs/vendor/svelte/internal/index.js +151 -152
  244. package/package.json +1 -2
@@ -1,4 +1,4 @@
1
- function j() {
1
+ function E() {
2
2
  }
3
3
  const nt = (t) => t;
4
4
  function $t(t, e) {
@@ -12,23 +12,23 @@ function it(t) {
12
12
  function Y() {
13
13
  return /* @__PURE__ */ Object.create(null);
14
14
  }
15
- function E(t) {
15
+ function N(t) {
16
16
  t.forEach(it);
17
17
  }
18
- function J(t) {
18
+ function F(t) {
19
19
  return typeof t == "function";
20
20
  }
21
21
  function Dt(t, e) {
22
22
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
23
23
  }
24
24
  let O;
25
- function Rt(t, e) {
25
+ function Lt(t, e) {
26
26
  return O || (O = document.createElement("a")), O.href = e, t === O.href;
27
27
  }
28
28
  function xt(t) {
29
29
  return Object.keys(t).length === 0;
30
30
  }
31
- function Lt(t, e, n, i) {
31
+ function Rt(t, e, n, i) {
32
32
  if (t) {
33
33
  const o = ot(t, e, n, i);
34
34
  return t[0](o);
@@ -84,16 +84,16 @@ function It(t) {
84
84
  return t == null ? "" : t;
85
85
  }
86
86
  const st = typeof window != "undefined";
87
- let rt = st ? () => window.performance.now() : () => Date.now(), K = st ? (t) => requestAnimationFrame(t) : j;
87
+ let rt = st ? () => window.performance.now() : () => Date.now(), Q = st ? (t) => requestAnimationFrame(t) : E;
88
88
  const k = /* @__PURE__ */ new Set();
89
89
  function ct(t) {
90
90
  k.forEach((e) => {
91
91
  e.c(t) || (k.delete(e), e.f());
92
- }), k.size !== 0 && K(ct);
92
+ }), k.size !== 0 && Q(ct);
93
93
  }
94
- function lt(t) {
94
+ function ft(t) {
95
95
  let e;
96
- return k.size === 0 && K(ct), {
96
+ return k.size === 0 && Q(ct), {
97
97
  promise: new Promise((n) => {
98
98
  k.add(e = { c: t, f: n });
99
99
  }),
@@ -106,36 +106,36 @@ function ut(t, e) {
106
106
  t.appendChild(e);
107
107
  }
108
108
  function Ut(t, e, n) {
109
- const i = Q(t);
109
+ const i = V(t);
110
110
  if (!i.getElementById(e)) {
111
- const o = F("style");
112
- o.id = e, o.textContent = n, ft(i, o);
111
+ const o = I("style");
112
+ o.id = e, o.textContent = n, lt(i, o);
113
113
  }
114
114
  }
115
- function Q(t) {
115
+ function V(t) {
116
116
  if (!t)
117
117
  return document;
118
118
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
119
119
  return e && e.host ? e : t.ownerDocument;
120
120
  }
121
121
  function bt(t) {
122
- const e = F("style");
123
- return ft(Q(t), e), e.sheet;
122
+ const e = I("style");
123
+ return lt(V(t), e), e.sheet;
124
124
  }
125
- function ft(t, e) {
126
- ut(t.head || t, e);
125
+ function lt(t, e) {
126
+ return ut(t.head || t, e), e.sheet;
127
127
  }
128
128
  function vt(t, e, n) {
129
129
  t.insertBefore(e, n || null);
130
130
  }
131
- function V(t) {
132
- t.parentNode.removeChild(t);
131
+ function H(t) {
132
+ t.parentNode && t.parentNode.removeChild(t);
133
133
  }
134
134
  function Gt(t, e) {
135
135
  for (let n = 0; n < t.length; n += 1)
136
136
  t[n] && t[n].d(e);
137
137
  }
138
- function F(t) {
138
+ function I(t) {
139
139
  return document.createElement(t);
140
140
  }
141
141
  function kt(t) {
@@ -166,7 +166,7 @@ function Vt(t, e) {
166
166
  for (const i in e)
167
167
  e[i] == null ? t.removeAttribute(i) : i === "style" ? t.style.cssText = e[i] : i === "__value" ? t.value = t[i] = e[i] : n[i] && n[i].set ? t[i] = e[i] : Et(t, i, e[i]);
168
168
  }
169
- function At(t) {
169
+ function Nt(t) {
170
170
  return Array.from(t.childNodes);
171
171
  }
172
172
  function Xt(t, e) {
@@ -176,7 +176,7 @@ function Yt(t, e, n, i) {
176
176
  n === null ? t.style.removeProperty(e) : t.style.setProperty(e, n, i ? "important" : "");
177
177
  }
178
178
  let T;
179
- function Ct() {
179
+ function At() {
180
180
  if (T === void 0) {
181
181
  T = !1;
182
182
  try {
@@ -189,16 +189,16 @@ function Ct() {
189
189
  }
190
190
  function Zt(t, e) {
191
191
  getComputedStyle(t).position === "static" && (t.style.position = "relative");
192
- const i = F("iframe");
192
+ const i = I("iframe");
193
193
  i.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;"), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
194
- const o = Ct();
194
+ const o = At();
195
195
  let s;
196
196
  return o ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Z(window, "message", (r) => {
197
197
  r.source === i.contentWindow && e();
198
198
  })) : (i.src = "about:blank", i.onload = () => {
199
199
  s = Z(i.contentWindow, "resize", e);
200
200
  }), ut(t, i), () => {
201
- (o || s && i.contentWindow) && s(), V(i);
201
+ (o || s && i.contentWindow) && s(), H(i);
202
202
  };
203
203
  }
204
204
  function te(t, e, n) {
@@ -216,7 +216,7 @@ class ee {
216
216
  this.h(e);
217
217
  }
218
218
  m(e, n, i = null) {
219
- this.e || (this.is_svg ? this.e = kt(n.nodeName) : this.e = F(n.nodeName), this.t = n, this.c(e)), this.i(i);
219
+ this.e || (this.is_svg ? this.e = kt(n.nodeName) : this.e = I(n.nodeName), this.t = n, this.c(e)), this.i(i);
220
220
  }
221
221
  h(e) {
222
222
  this.e.innerHTML = e, this.n = Array.from(this.e.childNodes);
@@ -229,61 +229,58 @@ class ee {
229
229
  this.d(), this.h(e), this.i(this.a);
230
230
  }
231
231
  d() {
232
- this.n.forEach(V);
232
+ this.n.forEach(H);
233
233
  }
234
234
  }
235
235
  const q = /* @__PURE__ */ new Map();
236
236
  let W = 0;
237
- function Mt(t) {
237
+ function Ct(t) {
238
238
  let e = 5381, n = t.length;
239
239
  for (; n--; )
240
240
  e = (e << 5) - e ^ t.charCodeAt(n);
241
241
  return e >>> 0;
242
242
  }
243
- function Nt(t, e) {
243
+ function Mt(t, e) {
244
244
  const n = { stylesheet: bt(e), rules: {} };
245
245
  return q.set(t, n), n;
246
246
  }
247
247
  function ht(t, e, n, i, o, s, r, u = 0) {
248
- const c = 16.666 / i;
249
- let l = `{
248
+ const f = 16.666 / i;
249
+ let c = `{
250
250
  `;
251
- for (let m = 0; m <= 1; m += c) {
251
+ for (let m = 0; m <= 1; m += f) {
252
252
  const $ = e + (n - e) * s(m);
253
- l += m * 100 + `%{${r($, 1 - $)}}
253
+ c += m * 100 + `%{${r($, 1 - $)}}
254
254
  `;
255
255
  }
256
- const p = l + `100% {${r(n, 1 - n)}}
257
- }`, f = `__svelte_${Mt(p)}_${u}`, a = Q(t), { stylesheet: d, rules: h } = q.get(a) || Nt(a, t);
258
- h[f] || (h[f] = !0, d.insertRule(`@keyframes ${f} ${p}`, d.cssRules.length));
259
- const g = t.style.animation || "";
260
- return t.style.animation = `${g ? `${g}, ` : ""}${f} ${i}ms linear ${o}ms 1 both`, W += 1, f;
256
+ const p = c + `100% {${r(n, 1 - n)}}
257
+ }`, l = `__svelte_${Ct(p)}_${u}`, a = V(t), { stylesheet: d, rules: h } = q.get(a) || Mt(a, t);
258
+ h[l] || (h[l] = !0, d.insertRule(`@keyframes ${l} ${p}`, d.cssRules.length));
259
+ const y = t.style.animation || "";
260
+ return t.style.animation = `${y ? `${y}, ` : ""}${l} ${i}ms linear ${o}ms 1 both`, W += 1, l;
261
261
  }
262
- function U(t, e) {
262
+ function J(t, e) {
263
263
  const n = (t.style.animation || "").split(", "), i = n.filter(
264
264
  e ? (s) => s.indexOf(e) < 0 : (s) => s.indexOf("__svelte") === -1
265
265
  ), o = n.length - i.length;
266
266
  o && (t.style.animation = i.join(", "), W -= o, W || St());
267
267
  }
268
268
  function St() {
269
- K(() => {
269
+ Q(() => {
270
270
  W || (q.forEach((t) => {
271
- const { stylesheet: e } = t;
272
- let n = e.cssRules.length;
273
- for (; n--; )
274
- e.deleteRule(n);
275
- t.rules = {};
271
+ const { ownerNode: e } = t.stylesheet;
272
+ e && H(e);
276
273
  }), q.clear());
277
274
  });
278
275
  }
279
- let S;
280
- function N(t) {
281
- S = t;
276
+ let P;
277
+ function S(t) {
278
+ P = t;
282
279
  }
283
280
  function v() {
284
- if (!S)
281
+ if (!P)
285
282
  throw new Error("Function called outside component initialization");
286
- return S;
283
+ return P;
287
284
  }
288
285
  function ne(t) {
289
286
  v().$$.before_update.push(t);
@@ -313,54 +310,54 @@ function re() {
313
310
  function ce(t, e) {
314
311
  return v().$$.context.set(t, e), e;
315
312
  }
316
- function le(t) {
313
+ function fe(t) {
317
314
  return v().$$.context.get(t);
318
315
  }
319
316
  function ue(t, e) {
320
317
  const n = t.$$.callbacks[e.type];
321
318
  n && n.slice().forEach((i) => i.call(this, e));
322
319
  }
323
- const M = [], tt = [], R = [], et = [], _t = Promise.resolve();
324
- let G = !1;
320
+ const M = [], tt = [], L = [], et = [], _t = Promise.resolve();
321
+ let K = !1;
325
322
  function pt() {
326
- G || (G = !0, _t.then(mt));
323
+ K || (K = !0, _t.then(mt));
327
324
  }
328
- function fe() {
325
+ function le() {
329
326
  return pt(), _t;
330
327
  }
331
- function P(t) {
332
- R.push(t);
328
+ function j(t) {
329
+ L.push(t);
333
330
  }
334
- const I = /* @__PURE__ */ new Set();
331
+ const G = /* @__PURE__ */ new Set();
335
332
  let D = 0;
336
333
  function mt() {
337
- const t = S;
334
+ const t = P;
338
335
  do {
339
336
  for (; D < M.length; ) {
340
337
  const e = M[D];
341
- D++, N(e), Pt(e.$$);
338
+ D++, S(e), Pt(e.$$);
342
339
  }
343
- for (N(null), M.length = 0, D = 0; tt.length; )
340
+ for (S(null), M.length = 0, D = 0; tt.length; )
344
341
  tt.pop()();
345
- for (let e = 0; e < R.length; e += 1) {
346
- const n = R[e];
347
- I.has(n) || (I.add(n), n());
342
+ for (let e = 0; e < L.length; e += 1) {
343
+ const n = L[e];
344
+ G.has(n) || (G.add(n), n());
348
345
  }
349
- R.length = 0;
346
+ L.length = 0;
350
347
  } while (M.length);
351
348
  for (; et.length; )
352
349
  et.pop()();
353
- G = !1, I.clear(), N(t);
350
+ K = !1, G.clear(), S(t);
354
351
  }
355
352
  function Pt(t) {
356
353
  if (t.fragment !== null) {
357
- t.update(), E(t.before_update);
354
+ t.update(), N(t.before_update);
358
355
  const e = t.dirty;
359
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(P);
356
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(j);
360
357
  }
361
358
  }
362
359
  let C;
363
- function gt() {
360
+ function yt() {
364
361
  return C || (C = Promise.resolve(), C.then(() => {
365
362
  C = null;
366
363
  })), C;
@@ -368,7 +365,7 @@ function gt() {
368
365
  function B(t, e, n) {
369
366
  t.dispatchEvent(dt(`${e ? "intro" : "outro"}${n}`));
370
367
  }
371
- const L = /* @__PURE__ */ new Set();
368
+ const R = /* @__PURE__ */ new Set();
372
369
  let x;
373
370
  function ae() {
374
371
  x = {
@@ -378,17 +375,17 @@ function ae() {
378
375
  };
379
376
  }
380
377
  function de() {
381
- x.r || E(x.c), x = x.p;
378
+ x.r || N(x.c), x = x.p;
382
379
  }
383
- function yt(t, e) {
384
- t && t.i && (L.delete(t), t.i(e));
380
+ function gt(t, e) {
381
+ t && t.i && (R.delete(t), t.i(e));
385
382
  }
386
383
  function jt(t, e, n, i) {
387
384
  if (t && t.o) {
388
- if (L.has(t))
385
+ if (R.has(t))
389
386
  return;
390
- L.add(t), x.c.push(() => {
391
- L.delete(t), i && (n && t.d(1), i());
387
+ R.add(t), x.c.push(() => {
388
+ R.delete(t), i && (n && t.d(1), i());
392
389
  }), t.o(e);
393
390
  } else
394
391
  i && i();
@@ -396,17 +393,17 @@ function jt(t, e, n, i) {
396
393
  const wt = { duration: 0 };
397
394
  function he(t, e, n) {
398
395
  let i = e(t, n), o = !1, s, r, u = 0;
399
- function c() {
400
- s && U(t, s);
396
+ function f() {
397
+ s && J(t, s);
401
398
  }
402
- function l() {
403
- const { delay: f = 0, duration: a = 300, easing: d = nt, tick: h = j, css: g } = i || wt;
404
- g && (s = ht(t, 0, 1, a, f, d, g, u++)), h(0, 1);
405
- const m = rt() + f, $ = m + a;
406
- r && r.abort(), o = !0, P(() => B(t, !0, "start")), r = lt((b) => {
399
+ function c() {
400
+ const { delay: l = 0, duration: a = 300, easing: d = nt, tick: h = E, css: y } = i || wt;
401
+ y && (s = ht(t, 0, 1, a, l, d, y, u++)), h(0, 1);
402
+ const m = rt() + l, $ = m + a;
403
+ r && r.abort(), o = !0, j(() => B(t, !0, "start")), r = ft((b) => {
407
404
  if (o) {
408
405
  if (b >= $)
409
- return h(1, 0), B(t, !0, "end"), c(), o = !1;
406
+ return h(1, 0), B(t, !0, "end"), f(), o = !1;
410
407
  if (b >= m) {
411
408
  const A = d((b - m) / a);
412
409
  h(A, 1 - A);
@@ -418,13 +415,13 @@ function he(t, e, n) {
418
415
  let p = !1;
419
416
  return {
420
417
  start() {
421
- p || (p = !0, U(t), J(i) ? (i = i(), gt().then(l)) : l());
418
+ p || (p = !0, J(t), F(i) ? (i = i(), yt().then(c)) : c());
422
419
  },
423
420
  invalidate() {
424
421
  p = !1;
425
422
  },
426
423
  end() {
427
- o && (c(), o = !1);
424
+ o && (f(), o = !1);
428
425
  }
429
426
  };
430
427
  }
@@ -433,26 +430,26 @@ function _e(t, e, n) {
433
430
  const r = x;
434
431
  r.r += 1;
435
432
  function u() {
436
- const { delay: c = 0, duration: l = 300, easing: p = nt, tick: f = j, css: a } = i || wt;
437
- a && (s = ht(t, 1, 0, l, c, p, a));
438
- const d = rt() + c, h = d + l;
439
- P(() => B(t, !1, "start")), lt((g) => {
433
+ const { delay: f = 0, duration: c = 300, easing: p = nt, tick: l = E, css: a } = i || wt;
434
+ a && (s = ht(t, 1, 0, c, f, p, a));
435
+ const d = rt() + f, h = d + c;
436
+ j(() => B(t, !1, "start")), ft((y) => {
440
437
  if (o) {
441
- if (g >= h)
442
- return f(0, 1), B(t, !1, "end"), --r.r || E(r.c), !1;
443
- if (g >= d) {
444
- const m = p((g - d) / l);
445
- f(1 - m, m);
438
+ if (y >= h)
439
+ return l(0, 1), B(t, !1, "end"), --r.r || N(r.c), !1;
440
+ if (y >= d) {
441
+ const m = p((y - d) / c);
442
+ l(1 - m, m);
446
443
  }
447
444
  }
448
445
  return o;
449
446
  });
450
447
  }
451
- return J(i) ? gt().then(() => {
448
+ return F(i) ? yt().then(() => {
452
449
  i = i(), u();
453
450
  }) : u(), {
454
- end(c) {
455
- c && i.tick && i.tick(1, 0), o && (s && U(t, s), o = !1);
451
+ end(f) {
452
+ f && i.tick && i.tick(1, 0), o && (s && J(t, s), o = !1);
456
453
  }
457
454
  };
458
455
  }
@@ -460,36 +457,36 @@ const pe = typeof window != "undefined" ? window : typeof globalThis != "undefin
460
457
  function me(t, e) {
461
458
  t.d(1), e.delete(t.key);
462
459
  }
463
- function ge(t, e) {
460
+ function ye(t, e) {
464
461
  jt(t, 1, 1, () => {
465
462
  e.delete(t.key);
466
463
  });
467
464
  }
468
- function ye(t, e, n, i, o, s, r, u, c, l, p, f) {
465
+ function ge(t, e, n, i, o, s, r, u, f, c, p, l) {
469
466
  let a = t.length, d = s.length, h = a;
470
- const g = {};
467
+ const y = {};
471
468
  for (; h--; )
472
- g[t[h].key] = h;
469
+ y[t[h].key] = h;
473
470
  const m = [], $ = /* @__PURE__ */ new Map(), b = /* @__PURE__ */ new Map();
474
471
  for (h = d; h--; ) {
475
- const _ = f(o, s, h), y = n(_);
476
- let w = r.get(y);
477
- w ? i && w.p(_, e) : (w = l(y, _), w.c()), $.set(y, m[h] = w), y in g && b.set(y, Math.abs(h - g[y]));
472
+ const _ = l(o, s, h), g = n(_);
473
+ let w = r.get(g);
474
+ w ? i && w.p(_, e) : (w = c(g, _), w.c()), $.set(g, m[h] = w), g in y && b.set(g, Math.abs(h - y[g]));
478
475
  }
479
476
  const A = /* @__PURE__ */ new Set(), X = /* @__PURE__ */ new Set();
480
- function H(_) {
481
- yt(_, 1), _.m(u, p), r.set(_.key, _), p = _.first, d--;
477
+ function U(_) {
478
+ gt(_, 1), _.m(u, p), r.set(_.key, _), p = _.first, d--;
482
479
  }
483
480
  for (; a && d; ) {
484
- const _ = m[d - 1], y = t[a - 1], w = _.key, z = y.key;
485
- _ === y ? (p = _.first, a--, d--) : $.has(z) ? !r.has(w) || A.has(w) ? H(_) : X.has(z) ? a-- : b.get(w) > b.get(z) ? (X.add(w), H(_)) : (A.add(z), a--) : (c(y, r), a--);
481
+ const _ = m[d - 1], g = t[a - 1], w = _.key, z = g.key;
482
+ _ === g ? (p = _.first, a--, d--) : $.has(z) ? !r.has(w) || A.has(w) ? U(_) : X.has(z) ? a-- : b.get(w) > b.get(z) ? (X.add(w), U(_)) : (A.add(z), a--) : (f(g, r), a--);
486
483
  }
487
484
  for (; a--; ) {
488
485
  const _ = t[a];
489
- $.has(_.key) || c(_, r);
486
+ $.has(_.key) || f(_, r);
490
487
  }
491
488
  for (; d; )
492
- H(m[d - 1]);
489
+ U(m[d - 1]);
493
490
  return m;
494
491
  }
495
492
  function we(t, e) {
@@ -498,14 +495,14 @@ function we(t, e) {
498
495
  for (; s--; ) {
499
496
  const r = t[s], u = e[s];
500
497
  if (u) {
501
- for (const c in r)
502
- c in u || (i[c] = 1);
503
- for (const c in u)
504
- o[c] || (n[c] = u[c], o[c] = 1);
498
+ for (const f in r)
499
+ f in u || (i[f] = 1);
500
+ for (const f in u)
501
+ o[f] || (n[f] = u[f], o[f] = 1);
505
502
  t[s] = u;
506
503
  } else
507
- for (const c in r)
508
- o[c] = 1;
504
+ for (const f in r)
505
+ o[f] = 1;
509
506
  }
510
507
  for (const r in i)
511
508
  r in n || (n[r] = void 0);
@@ -515,27 +512,27 @@ function $e(t) {
515
512
  t && t.c();
516
513
  }
517
514
  function zt(t, e, n, i) {
518
- const { fragment: o, on_mount: s, on_destroy: r, after_update: u } = t.$$;
519
- o && o.m(e, n), i || P(() => {
520
- const c = s.map(it).filter(J);
521
- r ? r.push(...c) : E(c), t.$$.on_mount = [];
522
- }), u.forEach(P);
515
+ const { fragment: o, after_update: s } = t.$$;
516
+ o && o.m(e, n), i || j(() => {
517
+ const r = t.$$.on_mount.map(it).filter(F);
518
+ t.$$.on_destroy ? t.$$.on_destroy.push(...r) : N(r), t.$$.on_mount = [];
519
+ }), s.forEach(j);
523
520
  }
524
521
  function Ot(t, e) {
525
522
  const n = t.$$;
526
- n.fragment !== null && (E(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
523
+ n.fragment !== null && (N(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
527
524
  }
528
525
  function Tt(t, e) {
529
526
  t.$$.dirty[0] === -1 && (M.push(t), pt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
530
527
  }
531
528
  function xe(t, e, n, i, o, s, r, u = [-1]) {
532
- const c = S;
533
- N(t);
534
- const l = t.$$ = {
529
+ const f = P;
530
+ S(t);
531
+ const c = t.$$ = {
535
532
  fragment: null,
536
- ctx: null,
533
+ ctx: [],
537
534
  props: s,
538
- update: j,
535
+ update: E,
539
536
  not_equal: o,
540
537
  bound: Y(),
541
538
  on_mount: [],
@@ -543,32 +540,34 @@ function xe(t, e, n, i, o, s, r, u = [-1]) {
543
540
  on_disconnect: [],
544
541
  before_update: [],
545
542
  after_update: [],
546
- context: new Map(e.context || (c ? c.$$.context : [])),
543
+ context: new Map(e.context || (f ? f.$$.context : [])),
547
544
  callbacks: Y(),
548
545
  dirty: u,
549
546
  skip_bound: !1,
550
- root: e.target || c.$$.root
547
+ root: e.target || f.$$.root
551
548
  };
552
- r && r(l.root);
549
+ r && r(c.root);
553
550
  let p = !1;
554
- if (l.ctx = n ? n(t, e.props || {}, (f, a, ...d) => {
551
+ if (c.ctx = n ? n(t, e.props || {}, (l, a, ...d) => {
555
552
  const h = d.length ? d[0] : a;
556
- return l.ctx && o(l.ctx[f], l.ctx[f] = h) && (!l.skip_bound && l.bound[f] && l.bound[f](h), p && Tt(t, f)), a;
557
- }) : [], l.update(), p = !0, E(l.before_update), l.fragment = i ? i(l.ctx) : !1, e.target) {
553
+ return c.ctx && o(c.ctx[l], c.ctx[l] = h) && (!c.skip_bound && c.bound[l] && c.bound[l](h), p && Tt(t, l)), a;
554
+ }) : [], c.update(), p = !0, N(c.before_update), c.fragment = i ? i(c.ctx) : !1, e.target) {
558
555
  if (e.hydrate) {
559
- const f = At(e.target);
560
- l.fragment && l.fragment.l(f), f.forEach(V);
556
+ const l = Nt(e.target);
557
+ c.fragment && c.fragment.l(l), l.forEach(H);
561
558
  } else
562
- l.fragment && l.fragment.c();
563
- e.intro && yt(t.$$.fragment), zt(t, e.target, e.anchor, e.customElement), mt();
559
+ c.fragment && c.fragment.c();
560
+ e.intro && gt(t.$$.fragment), zt(t, e.target, e.anchor, e.customElement), mt();
564
561
  }
565
- N(c);
562
+ S(f);
566
563
  }
567
564
  class be {
568
565
  $destroy() {
569
- Ot(this, 1), this.$destroy = j;
566
+ Ot(this, 1), this.$destroy = E;
570
567
  }
571
568
  $on(e, n) {
569
+ if (!F(n))
570
+ return E;
572
571
  const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
573
572
  return i.push(n), () => {
574
573
  const o = i.indexOf(n);
@@ -582,7 +581,7 @@ class be {
582
581
  export {
583
582
  ee as HtmlTag,
584
583
  be as SvelteComponent,
585
- P as add_render_callback,
584
+ j as add_render_callback,
586
585
  Zt as add_resize_listener,
587
586
  oe as afterUpdate,
588
587
  ut as append,
@@ -598,15 +597,15 @@ export {
598
597
  $e as create_component,
599
598
  he as create_in_transition,
600
599
  _e as create_out_transition,
601
- Lt as create_slot,
600
+ Rt as create_slot,
602
601
  me as destroy_block,
603
602
  Ot as destroy_component,
604
603
  Gt as destroy_each,
605
- V as detach,
606
- F as element,
604
+ H as detach,
605
+ I as element,
607
606
  Kt as empty,
608
607
  Ft as exclude_internal_props,
609
- le as getContext,
608
+ fe as getContext,
610
609
  Bt as get_all_dirty_from_scope,
611
610
  qt as get_slot_changes,
612
611
  we as get_spread_update,
@@ -617,26 +616,26 @@ export {
617
616
  vt as insert,
618
617
  Z as listen,
619
618
  zt as mount_component,
620
- j as noop,
619
+ E as noop,
621
620
  It as null_to_empty,
622
621
  se as onDestroy,
623
622
  ie as onMount,
624
- ge as outro_and_destroy_block,
625
- E as run_all,
623
+ ye as outro_and_destroy_block,
624
+ N as run_all,
626
625
  Dt as safe_not_equal,
627
626
  ce as setContext,
628
627
  Vt as set_attributes,
629
628
  Xt as set_data,
630
629
  Yt as set_style,
631
630
  Jt as space,
632
- Rt as src_url_equal,
631
+ Lt as src_url_equal,
633
632
  Qt as stop_propagation,
634
633
  kt as svg_element,
635
634
  at as text,
636
- fe as tick,
635
+ le as tick,
637
636
  te as toggle_class,
638
- yt as transition_in,
637
+ gt as transition_in,
639
638
  jt as transition_out,
640
- ye as update_keyed_each,
639
+ ge as update_keyed_each,
641
640
  Wt as update_slot_base
642
641
  };
package/package.json CHANGED
@@ -3,12 +3,11 @@
3
3
  "main": "./dist/index.js",
4
4
  "module": "./libs/index.js",
5
5
  "types": "./libs/index.d.ts",
6
- "type": "module",
7
6
  "author": "REALSEE-DEVELOPER",
8
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
9
8
  "description": "如视 VR 看房插件合集",
10
9
  "private": false,
11
- "version": "2.2.5",
10
+ "version": "2.2.6",
12
11
  "license": "SEE LICENSE IN TERMS.txt",
13
12
  "files": [
14
13
  "libs",