pptx-react-viewer 4.22.1 → 4.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/{AiChatPanel-PJMXLCUF.js → AiChatPanel-442R7YGD.js} +27 -27
- package/dist/AiChatPanel-442R7YGD.js.br +0 -0
- package/dist/AiChatPanel-442R7YGD.js.gz +0 -0
- package/dist/{AiChatPanel-QODDVSQG.mjs → AiChatPanel-PNK52ZIC.mjs} +3 -3
- package/dist/AiChatPanel-PNK52ZIC.mjs.br +0 -0
- package/dist/AiChatPanel-PNK52ZIC.mjs.gz +0 -0
- package/dist/{GLTFLoader-KY7AYPMX.js → GLTFLoader-GO2CQTAO.js} +133 -133
- package/dist/GLTFLoader-GO2CQTAO.js.br +0 -0
- package/dist/GLTFLoader-GO2CQTAO.js.gz +0 -0
- package/dist/{GLTFLoader-IWJFC4XI.mjs → GLTFLoader-QWUPTGI5.mjs} +4 -4
- package/dist/GLTFLoader-QWUPTGI5.mjs.br +0 -0
- package/dist/GLTFLoader-QWUPTGI5.mjs.gz +0 -0
- package/dist/{Model3DScene-WELWF4O6.js → Model3DScene-MNSJI6SF.js} +2 -2
- package/dist/{Model3DScene-WELWF4O6.js.br → Model3DScene-MNSJI6SF.js.br} +0 -0
- package/dist/Model3DScene-MNSJI6SF.js.gz +0 -0
- package/dist/{Model3DScene-7LDOP57E.mjs → Model3DScene-NS5A3NUF.mjs} +1 -1
- package/dist/Model3DScene-NS5A3NUF.mjs.br +0 -0
- package/dist/Model3DScene-NS5A3NUF.mjs.gz +0 -0
- package/dist/{OrbitControls-4TDJCTBA.js → OrbitControls-KHUJI7AC.js} +39 -39
- package/dist/OrbitControls-KHUJI7AC.js.br +0 -0
- package/dist/OrbitControls-KHUJI7AC.js.gz +0 -0
- package/dist/{OrbitControls-WCOIJFFL.mjs → OrbitControls-QYTXPPOG.mjs} +2 -2
- package/dist/OrbitControls-QYTXPPOG.mjs.br +0 -0
- package/dist/OrbitControls-QYTXPPOG.mjs.gz +0 -0
- package/dist/{chunk-MN2PIGHD.mjs → chunk-3WP72WZS.mjs} +6 -6
- package/dist/chunk-3WP72WZS.mjs.br +0 -0
- package/dist/chunk-3WP72WZS.mjs.gz +0 -0
- package/dist/{chunk-5JVKFBJH.mjs → chunk-474QZKN4.mjs} +4434 -5707
- package/dist/chunk-474QZKN4.mjs.br +0 -0
- package/dist/chunk-474QZKN4.mjs.gz +0 -0
- package/dist/{chunk-7TAWW5QQ.mjs → chunk-6L3VDF2A.mjs} +2 -2
- package/dist/chunk-6L3VDF2A.mjs.br +0 -0
- package/dist/chunk-6L3VDF2A.mjs.gz +0 -0
- package/dist/{chunk-3N6AC4HA.js → chunk-CBDUFZ77.js} +2 -2
- package/dist/chunk-CBDUFZ77.js.br +0 -0
- package/dist/chunk-CBDUFZ77.js.gz +0 -0
- package/dist/{chunk-JWP5ZWI2.mjs → chunk-M367GJX7.mjs} +1 -1
- package/dist/chunk-M367GJX7.mjs.br +0 -0
- package/dist/chunk-M367GJX7.mjs.gz +0 -0
- package/dist/{chunk-7L5UIS4Z.mjs → chunk-OEBBZSOS.mjs} +6 -6
- package/dist/chunk-OEBBZSOS.mjs.br +0 -0
- package/dist/chunk-OEBBZSOS.mjs.gz +0 -0
- package/dist/{chunk-MNDFRCWW.js → chunk-Q4XVT3VK.js} +1115 -1115
- package/dist/chunk-Q4XVT3VK.js.br +0 -0
- package/dist/chunk-Q4XVT3VK.js.gz +0 -0
- package/dist/{chunk-SVBX6RK3.js → chunk-R4STFQSE.js} +1843 -890
- package/dist/chunk-R4STFQSE.js.br +0 -0
- package/dist/chunk-R4STFQSE.js.gz +0 -0
- package/dist/{chunk-E7JM5X7H.mjs → chunk-RNVQLIOU.mjs} +1839 -886
- package/dist/chunk-RNVQLIOU.mjs.br +0 -0
- package/dist/chunk-RNVQLIOU.mjs.gz +0 -0
- package/dist/{chunk-QWFKDUMN.js → chunk-SNJT3GDK.js} +4434 -5707
- package/dist/chunk-SNJT3GDK.js.br +0 -0
- package/dist/chunk-SNJT3GDK.js.gz +0 -0
- package/dist/{chunk-RVOGQ2ZN.js → chunk-UPF6YVER.js} +824 -824
- package/dist/chunk-UPF6YVER.js.br +0 -0
- package/dist/chunk-UPF6YVER.js.gz +0 -0
- package/dist/{chunk-43JBNBGE.js → chunk-WCPDUNS4.js} +187 -187
- package/dist/chunk-WCPDUNS4.js.br +0 -0
- package/dist/chunk-WCPDUNS4.js.gz +0 -0
- package/dist/index.d.ts +53 -66
- package/dist/index.js +61 -61
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +54 -67
- package/dist/internals.js +104 -104
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/{three.module-LGUV2LI6.mjs → three.module-AUSRQGHJ.mjs} +1 -1
- package/dist/three.module-AUSRQGHJ.mjs.br +0 -0
- package/dist/three.module-AUSRQGHJ.mjs.gz +0 -0
- package/dist/{three.module-YZ4M24WM.js → three.module-BNAKYYCP.js} +445 -445
- package/dist/three.module-BNAKYYCP.js.br +0 -0
- package/dist/three.module-BNAKYYCP.js.gz +0 -0
- package/dist/viewer/index.d.ts +54 -67
- package/dist/viewer/index.js +26 -26
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -5
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/dist/{y-webrtc-XJDH2YTR.mjs → y-webrtc-ETJMZ5LO.mjs} +4 -4
- package/dist/y-webrtc-ETJMZ5LO.mjs.br +0 -0
- package/dist/y-webrtc-ETJMZ5LO.mjs.gz +0 -0
- package/dist/{y-webrtc-6H3ROPRC.js → y-webrtc-TRVZ75W3.js} +127 -127
- package/dist/y-webrtc-TRVZ75W3.js.br +0 -0
- package/dist/y-webrtc-TRVZ75W3.js.gz +0 -0
- package/dist/{y-websocket-6ISNPON7.js → y-websocket-EHPOLGCR.js} +79 -79
- package/dist/y-websocket-EHPOLGCR.js.br +0 -0
- package/dist/y-websocket-EHPOLGCR.js.gz +0 -0
- package/dist/{y-websocket-SJ3NCLBZ.mjs → y-websocket-FLUSL2B2.mjs} +2 -2
- package/dist/y-websocket-FLUSL2B2.mjs.br +0 -0
- package/dist/y-websocket-FLUSL2B2.mjs.gz +0 -0
- package/package.json +9 -8
- package/dist/AiChatPanel-PJMXLCUF.js.br +0 -0
- package/dist/AiChatPanel-PJMXLCUF.js.gz +0 -0
- package/dist/AiChatPanel-QODDVSQG.mjs.br +0 -0
- package/dist/AiChatPanel-QODDVSQG.mjs.gz +0 -0
- package/dist/GLTFLoader-IWJFC4XI.mjs.br +0 -0
- package/dist/GLTFLoader-IWJFC4XI.mjs.gz +0 -0
- package/dist/GLTFLoader-KY7AYPMX.js.br +0 -0
- package/dist/GLTFLoader-KY7AYPMX.js.gz +0 -0
- package/dist/Model3DScene-7LDOP57E.mjs.br +0 -0
- package/dist/Model3DScene-7LDOP57E.mjs.gz +0 -0
- package/dist/Model3DScene-WELWF4O6.js.gz +0 -0
- package/dist/OrbitControls-4TDJCTBA.js.br +0 -0
- package/dist/OrbitControls-4TDJCTBA.js.gz +0 -0
- package/dist/OrbitControls-WCOIJFFL.mjs.br +0 -0
- package/dist/OrbitControls-WCOIJFFL.mjs.gz +0 -0
- package/dist/chunk-3N6AC4HA.js.br +0 -0
- package/dist/chunk-3N6AC4HA.js.gz +0 -0
- package/dist/chunk-43JBNBGE.js.br +0 -0
- package/dist/chunk-43JBNBGE.js.gz +0 -0
- package/dist/chunk-5JVKFBJH.mjs.br +0 -0
- package/dist/chunk-5JVKFBJH.mjs.gz +0 -0
- package/dist/chunk-7L5UIS4Z.mjs.br +0 -0
- package/dist/chunk-7L5UIS4Z.mjs.gz +0 -0
- package/dist/chunk-7TAWW5QQ.mjs.br +0 -0
- package/dist/chunk-7TAWW5QQ.mjs.gz +0 -0
- package/dist/chunk-E7JM5X7H.mjs.br +0 -0
- package/dist/chunk-E7JM5X7H.mjs.gz +0 -0
- package/dist/chunk-JWP5ZWI2.mjs.br +0 -0
- package/dist/chunk-JWP5ZWI2.mjs.gz +0 -0
- package/dist/chunk-MN2PIGHD.mjs.br +0 -0
- package/dist/chunk-MN2PIGHD.mjs.gz +0 -0
- package/dist/chunk-MNDFRCWW.js.br +0 -0
- package/dist/chunk-MNDFRCWW.js.gz +0 -0
- package/dist/chunk-QWFKDUMN.js.br +0 -0
- package/dist/chunk-QWFKDUMN.js.gz +0 -0
- package/dist/chunk-RVOGQ2ZN.js.br +0 -0
- package/dist/chunk-RVOGQ2ZN.js.gz +0 -0
- package/dist/chunk-SVBX6RK3.js.br +0 -0
- package/dist/chunk-SVBX6RK3.js.gz +0 -0
- package/dist/three.module-LGUV2LI6.mjs.br +0 -0
- package/dist/three.module-LGUV2LI6.mjs.gz +0 -0
- package/dist/three.module-YZ4M24WM.js.br +0 -0
- package/dist/three.module-YZ4M24WM.js.gz +0 -0
- package/dist/y-webrtc-6H3ROPRC.js.br +0 -0
- package/dist/y-webrtc-6H3ROPRC.js.gz +0 -0
- package/dist/y-webrtc-XJDH2YTR.mjs.br +0 -0
- package/dist/y-webrtc-XJDH2YTR.mjs.gz +0 -0
- package/dist/y-websocket-6ISNPON7.js.br +0 -0
- package/dist/y-websocket-6ISNPON7.js.gz +0 -0
- package/dist/y-websocket-SJ3NCLBZ.mjs.br +0 -0
- package/dist/y-websocket-SJ3NCLBZ.mjs.gz +0 -0
- /package/dist/{chunk-MRWGWKA2.mjs → chunk-5W2GW4XX.mjs} +0 -0
- /package/dist/{chunk-MRWGWKA2.mjs.br → chunk-5W2GW4XX.mjs.br} +0 -0
- /package/dist/{chunk-MRWGWKA2.mjs.gz → chunk-5W2GW4XX.mjs.gz} +0 -0
- /package/dist/{chunk-YQQXFRZT.js → chunk-XONAKVNH.js} +0 -0
- /package/dist/{chunk-YQQXFRZT.js.br → chunk-XONAKVNH.js.br} +0 -0
- /package/dist/{chunk-YQQXFRZT.js.gz → chunk-XONAKVNH.js.gz} +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Quaternion, Matrix4, Loader, LoaderUtils, FileLoader, Color, LinearSRGBColorSpace, SpotLight, PointLight, DirectionalLight, MeshBasicMaterial, SRGBColorSpace, MeshPhysicalMaterial, Vector2, Vector3, InstancedMesh, InstancedBufferAttribute, BufferGeometry, Object3D, TextureLoader, ImageBitmapLoader, BufferAttribute, InterleavedBuffer, InterleavedBufferAttribute, LinearMipmapLinearFilter, NearestMipmapLinearFilter, LinearMipmapNearestFilter, NearestMipmapNearestFilter, LinearFilter, NearestFilter, RepeatWrapping, MirroredRepeatWrapping, ClampToEdgeWrapping, PointsMaterial, Material, LineBasicMaterial, MeshStandardMaterial, DoubleSide, PropertyBinding, SkinnedMesh, Mesh, LineSegments, Line, LineLoop, Points, Group, PerspectiveCamera, MathUtils, OrthographicCamera, Skeleton, AnimationClip, Bone, InterpolateDiscrete, InterpolateLinear, ColorManagement, Texture, VectorKeyframeTrack, NumberKeyframeTrack, QuaternionKeyframeTrack, TrianglesDrawMode, TriangleFanDrawMode, TriangleStripDrawMode, FrontSide, Interpolant, Box3, Sphere } from './chunk-
|
|
1
|
+
import { Quaternion, Matrix4, Loader, LoaderUtils, FileLoader, Color, LinearSRGBColorSpace, SpotLight, PointLight, DirectionalLight, MeshBasicMaterial, SRGBColorSpace, MeshPhysicalMaterial, Vector2, Vector3, InstancedMesh, InstancedBufferAttribute, BufferGeometry, Object3D, TextureLoader, ImageBitmapLoader, BufferAttribute, InterleavedBuffer, InterleavedBufferAttribute, LinearMipmapLinearFilter, NearestMipmapLinearFilter, LinearMipmapNearestFilter, NearestMipmapNearestFilter, LinearFilter, NearestFilter, RepeatWrapping, MirroredRepeatWrapping, ClampToEdgeWrapping, PointsMaterial, Material, LineBasicMaterial, MeshStandardMaterial, DoubleSide, PropertyBinding, SkinnedMesh, Mesh, LineSegments, Line, LineLoop, Points, Group, PerspectiveCamera, MathUtils, OrthographicCamera, Skeleton, AnimationClip, Bone, InterpolateDiscrete, InterpolateLinear, ColorManagement, Texture, VectorKeyframeTrack, NumberKeyframeTrack, QuaternionKeyframeTrack, TrianglesDrawMode, TriangleFanDrawMode, TriangleStripDrawMode, FrontSide, Interpolant, Box3, Sphere } from './chunk-6L3VDF2A.mjs';
|
|
2
2
|
import './chunk-XGB3TDIC.mjs';
|
|
3
3
|
|
|
4
|
-
// ../../node_modules/.bun/three@0.186.
|
|
4
|
+
// ../../node_modules/.bun/three@0.186.1/node_modules/three/examples/jsm/utils/BufferGeometryUtils.js
|
|
5
5
|
function toTrianglesDrawMode(geometry, drawMode) {
|
|
6
6
|
if (drawMode === TrianglesDrawMode) {
|
|
7
7
|
console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles.");
|
|
@@ -56,7 +56,7 @@ function toTrianglesDrawMode(geometry, drawMode) {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
// ../../node_modules/.bun/three@0.186.
|
|
59
|
+
// ../../node_modules/.bun/three@0.186.1/node_modules/three/examples/jsm/utils/SkeletonUtils.js
|
|
60
60
|
function clone(source) {
|
|
61
61
|
const sourceLookup = /* @__PURE__ */ new Map();
|
|
62
62
|
const cloneLookup = /* @__PURE__ */ new Map();
|
|
@@ -86,7 +86,7 @@ function parallelTraverse(a, b, callback) {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
// ../../node_modules/.bun/three@0.186.
|
|
89
|
+
// ../../node_modules/.bun/three@0.186.1/node_modules/three/examples/jsm/loaders/GLTFLoader.js
|
|
90
90
|
var GLTFLoader = class extends Loader {
|
|
91
91
|
/**
|
|
92
92
|
* Constructs a new glTF loader.
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSNJT3GDK_js = require('./chunk-SNJT3GDK.js');
|
|
4
4
|
require('./chunk-4VNS5WPM.js');
|
|
5
5
|
var react = require('react');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -20,7 +20,7 @@ function Model3DScene({
|
|
|
20
20
|
return;
|
|
21
21
|
}
|
|
22
22
|
let disposed = false;
|
|
23
|
-
void
|
|
23
|
+
void chunkSNJT3GDK_js.mountModel3D(container, modelUrl, { width, height, interactive, scene }).then((handle) => {
|
|
24
24
|
if (disposed) {
|
|
25
25
|
handle.dispose();
|
|
26
26
|
} else {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCBDUFZ77_js = require('./chunk-CBDUFZ77.js');
|
|
4
4
|
require('./chunk-4VNS5WPM.js');
|
|
5
5
|
|
|
6
|
-
// ../../node_modules/.bun/three@0.186.
|
|
6
|
+
// ../../node_modules/.bun/three@0.186.1/node_modules/three/examples/jsm/controls/OrbitControls.js
|
|
7
7
|
var _changeEvent = { type: "change" };
|
|
8
8
|
var _startEvent = { type: "start" };
|
|
9
9
|
var _endEvent = { type: "end" };
|
|
10
|
-
var _ray = new
|
|
11
|
-
var _plane = new
|
|
12
|
-
var _TILT_LIMIT = Math.cos(70 *
|
|
13
|
-
var _v = new
|
|
10
|
+
var _ray = new chunkCBDUFZ77_js.Ray();
|
|
11
|
+
var _plane = new chunkCBDUFZ77_js.Plane();
|
|
12
|
+
var _TILT_LIMIT = Math.cos(70 * chunkCBDUFZ77_js.MathUtils.DEG2RAD);
|
|
13
|
+
var _v = new chunkCBDUFZ77_js.Vector3();
|
|
14
14
|
var _twoPI = 2 * Math.PI;
|
|
15
15
|
var _STATE = {
|
|
16
16
|
NONE: -1,
|
|
@@ -23,7 +23,7 @@ var _STATE = {
|
|
|
23
23
|
TOUCH_DOLLY_ROTATE: 6
|
|
24
24
|
};
|
|
25
25
|
var _EPS = 1e-6;
|
|
26
|
-
var OrbitControls = class extends
|
|
26
|
+
var OrbitControls = class extends chunkCBDUFZ77_js.Controls {
|
|
27
27
|
/**
|
|
28
28
|
* Constructs a new controls instance.
|
|
29
29
|
*
|
|
@@ -33,8 +33,8 @@ var OrbitControls = class extends chunk3N6AC4HA_js.Controls {
|
|
|
33
33
|
constructor(object, domElement = null) {
|
|
34
34
|
super(object, domElement);
|
|
35
35
|
this.state = _STATE.NONE;
|
|
36
|
-
this.target = new
|
|
37
|
-
this.cursor = new
|
|
36
|
+
this.target = new chunkCBDUFZ77_js.Vector3();
|
|
37
|
+
this.cursor = new chunkCBDUFZ77_js.Vector3();
|
|
38
38
|
this.minDistance = 0;
|
|
39
39
|
this.maxDistance = Infinity;
|
|
40
40
|
this.minZoom = 0;
|
|
@@ -60,33 +60,33 @@ var OrbitControls = class extends chunk3N6AC4HA_js.Controls {
|
|
|
60
60
|
this.autoRotate = false;
|
|
61
61
|
this.autoRotateSpeed = 2;
|
|
62
62
|
this.keys = { LEFT: "ArrowLeft", UP: "ArrowUp", RIGHT: "ArrowRight", BOTTOM: "ArrowDown" };
|
|
63
|
-
this.mouseButtons = { LEFT:
|
|
64
|
-
this.touches = { ONE:
|
|
63
|
+
this.mouseButtons = { LEFT: chunkCBDUFZ77_js.MOUSE.ROTATE, MIDDLE: chunkCBDUFZ77_js.MOUSE.DOLLY, RIGHT: chunkCBDUFZ77_js.MOUSE.PAN };
|
|
64
|
+
this.touches = { ONE: chunkCBDUFZ77_js.TOUCH.ROTATE, TWO: chunkCBDUFZ77_js.TOUCH.DOLLY_PAN };
|
|
65
65
|
this.target0 = this.target.clone();
|
|
66
66
|
this.position0 = this.object.position.clone();
|
|
67
67
|
this.zoom0 = this.object.zoom;
|
|
68
68
|
this._cursorStyle = "auto";
|
|
69
69
|
this._domElementKeyEvents = null;
|
|
70
|
-
this._lastPosition = new
|
|
71
|
-
this._lastQuaternion = new
|
|
72
|
-
this._lastTargetPosition = new
|
|
73
|
-
this._quat = new
|
|
70
|
+
this._lastPosition = new chunkCBDUFZ77_js.Vector3();
|
|
71
|
+
this._lastQuaternion = new chunkCBDUFZ77_js.Quaternion();
|
|
72
|
+
this._lastTargetPosition = new chunkCBDUFZ77_js.Vector3();
|
|
73
|
+
this._quat = new chunkCBDUFZ77_js.Quaternion().setFromUnitVectors(object.up, new chunkCBDUFZ77_js.Vector3(0, 1, 0));
|
|
74
74
|
this._quatInverse = this._quat.clone().invert();
|
|
75
|
-
this._spherical = new
|
|
76
|
-
this._sphericalDelta = new
|
|
75
|
+
this._spherical = new chunkCBDUFZ77_js.Spherical();
|
|
76
|
+
this._sphericalDelta = new chunkCBDUFZ77_js.Spherical();
|
|
77
77
|
this._scale = 1;
|
|
78
|
-
this._panOffset = new
|
|
79
|
-
this._rotateStart = new
|
|
80
|
-
this._rotateEnd = new
|
|
81
|
-
this._rotateDelta = new
|
|
82
|
-
this._panStart = new
|
|
83
|
-
this._panEnd = new
|
|
84
|
-
this._panDelta = new
|
|
85
|
-
this._dollyStart = new
|
|
86
|
-
this._dollyEnd = new
|
|
87
|
-
this._dollyDelta = new
|
|
88
|
-
this._dollyDirection = new
|
|
89
|
-
this._mouse = new
|
|
78
|
+
this._panOffset = new chunkCBDUFZ77_js.Vector3();
|
|
79
|
+
this._rotateStart = new chunkCBDUFZ77_js.Vector2();
|
|
80
|
+
this._rotateEnd = new chunkCBDUFZ77_js.Vector2();
|
|
81
|
+
this._rotateDelta = new chunkCBDUFZ77_js.Vector2();
|
|
82
|
+
this._panStart = new chunkCBDUFZ77_js.Vector2();
|
|
83
|
+
this._panEnd = new chunkCBDUFZ77_js.Vector2();
|
|
84
|
+
this._panDelta = new chunkCBDUFZ77_js.Vector2();
|
|
85
|
+
this._dollyStart = new chunkCBDUFZ77_js.Vector2();
|
|
86
|
+
this._dollyEnd = new chunkCBDUFZ77_js.Vector2();
|
|
87
|
+
this._dollyDelta = new chunkCBDUFZ77_js.Vector2();
|
|
88
|
+
this._dollyDirection = new chunkCBDUFZ77_js.Vector3();
|
|
89
|
+
this._mouse = new chunkCBDUFZ77_js.Vector2();
|
|
90
90
|
this._performCursorZoom = false;
|
|
91
91
|
this._pointers = [];
|
|
92
92
|
this._pointerPositions = {};
|
|
@@ -334,13 +334,13 @@ var OrbitControls = class extends chunk3N6AC4HA_js.Controls {
|
|
|
334
334
|
this.object.updateMatrixWorld();
|
|
335
335
|
zoomChanged = !!radiusDelta;
|
|
336
336
|
} else if (this.object.isOrthographicCamera) {
|
|
337
|
-
const mouseBefore = new
|
|
337
|
+
const mouseBefore = new chunkCBDUFZ77_js.Vector3(this._mouse.x, this._mouse.y, 0);
|
|
338
338
|
mouseBefore.unproject(this.object);
|
|
339
339
|
const prevZoom = this.object.zoom;
|
|
340
340
|
this.object.zoom = Math.max(this.minZoom, Math.min(this.maxZoom, this.object.zoom / this._scale));
|
|
341
341
|
this.object.updateProjectionMatrix();
|
|
342
342
|
zoomChanged = prevZoom !== this.object.zoom;
|
|
343
|
-
const mouseAfter = new
|
|
343
|
+
const mouseAfter = new chunkCBDUFZ77_js.Vector3(this._mouse.x, this._mouse.y, 0);
|
|
344
344
|
mouseAfter.unproject(this.object);
|
|
345
345
|
this.object.position.sub(mouseAfter).add(mouseBefore);
|
|
346
346
|
this.object.updateMatrixWorld();
|
|
@@ -677,7 +677,7 @@ var OrbitControls = class extends chunk3N6AC4HA_js.Controls {
|
|
|
677
677
|
_trackPointer(event) {
|
|
678
678
|
let position = this._pointerPositions[event.pointerId];
|
|
679
679
|
if (position === void 0) {
|
|
680
|
-
position = new
|
|
680
|
+
position = new chunkCBDUFZ77_js.Vector2();
|
|
681
681
|
this._pointerPositions[event.pointerId] = position;
|
|
682
682
|
}
|
|
683
683
|
position.set(event.pageX, event.pageY);
|
|
@@ -770,12 +770,12 @@ function onMouseDown(event) {
|
|
|
770
770
|
mouseAction = -1;
|
|
771
771
|
}
|
|
772
772
|
switch (mouseAction) {
|
|
773
|
-
case
|
|
773
|
+
case chunkCBDUFZ77_js.MOUSE.DOLLY:
|
|
774
774
|
if (this.enableZoom === false) return;
|
|
775
775
|
this._handleMouseDownDolly(event);
|
|
776
776
|
this.state = _STATE.DOLLY;
|
|
777
777
|
break;
|
|
778
|
-
case
|
|
778
|
+
case chunkCBDUFZ77_js.MOUSE.ROTATE:
|
|
779
779
|
if (event.ctrlKey || event.metaKey || event.shiftKey) {
|
|
780
780
|
if (this.enablePan === false) return;
|
|
781
781
|
this._handleMouseDownPan(event);
|
|
@@ -786,7 +786,7 @@ function onMouseDown(event) {
|
|
|
786
786
|
this.state = _STATE.ROTATE;
|
|
787
787
|
}
|
|
788
788
|
break;
|
|
789
|
-
case
|
|
789
|
+
case chunkCBDUFZ77_js.MOUSE.PAN:
|
|
790
790
|
if (event.ctrlKey || event.metaKey || event.shiftKey) {
|
|
791
791
|
if (this.enableRotate === false) return;
|
|
792
792
|
this._handleMouseDownRotate(event);
|
|
@@ -836,12 +836,12 @@ function onTouchStart(event) {
|
|
|
836
836
|
switch (this._pointers.length) {
|
|
837
837
|
case 1:
|
|
838
838
|
switch (this.touches.ONE) {
|
|
839
|
-
case
|
|
839
|
+
case chunkCBDUFZ77_js.TOUCH.ROTATE:
|
|
840
840
|
if (this.enableRotate === false) return;
|
|
841
841
|
this._handleTouchStartRotate(event);
|
|
842
842
|
this.state = _STATE.TOUCH_ROTATE;
|
|
843
843
|
break;
|
|
844
|
-
case
|
|
844
|
+
case chunkCBDUFZ77_js.TOUCH.PAN:
|
|
845
845
|
if (this.enablePan === false) return;
|
|
846
846
|
this._handleTouchStartPan(event);
|
|
847
847
|
this.state = _STATE.TOUCH_PAN;
|
|
@@ -852,12 +852,12 @@ function onTouchStart(event) {
|
|
|
852
852
|
break;
|
|
853
853
|
case 2:
|
|
854
854
|
switch (this.touches.TWO) {
|
|
855
|
-
case
|
|
855
|
+
case chunkCBDUFZ77_js.TOUCH.DOLLY_PAN:
|
|
856
856
|
if (this.enableZoom === false && this.enablePan === false) return;
|
|
857
857
|
this._handleTouchStartDollyPan(event);
|
|
858
858
|
this.state = _STATE.TOUCH_DOLLY_PAN;
|
|
859
859
|
break;
|
|
860
|
-
case
|
|
860
|
+
case chunkCBDUFZ77_js.TOUCH.DOLLY_ROTATE:
|
|
861
861
|
if (this.enableZoom === false && this.enableRotate === false) return;
|
|
862
862
|
this._handleTouchStartDollyRotate(event);
|
|
863
863
|
this.state = _STATE.TOUCH_DOLLY_ROTATE;
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ray, Plane, MathUtils, Vector3, Controls, MOUSE, TOUCH, Quaternion, Spherical, Vector2 } from './chunk-
|
|
1
|
+
import { Ray, Plane, MathUtils, Vector3, Controls, MOUSE, TOUCH, Quaternion, Spherical, Vector2 } from './chunk-6L3VDF2A.mjs';
|
|
2
2
|
import './chunk-XGB3TDIC.mjs';
|
|
3
3
|
|
|
4
|
-
// ../../node_modules/.bun/three@0.186.
|
|
4
|
+
// ../../node_modules/.bun/three@0.186.1/node_modules/three/examples/jsm/controls/OrbitControls.js
|
|
5
5
|
var _changeEvent = { type: "change" };
|
|
6
6
|
var _startEvent = { type: "start" };
|
|
7
7
|
var _endEvent = { type: "end" };
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, getImageSurfaceStyle, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, DEFAULT_FILL_COLOR, getCropShapeClipPath, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getImageSurfaceMaskStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, MIN_ELEMENT_SIZE, buildTextBody3DSceneStyle, getImageTilingStyle, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, HYPERLINK_COLOR, cloneHistorySnapshot, ZOOM_TO_SELECTION_PADDING, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, UNGROUPED_SECTION_ID, DEFAULT_SECTION_GROUP_ID, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, buildPdfFromTiledImageData, GRID_SIZE, buildNotesPdf } from './chunk-
|
|
2
|
-
import { GlyphOutlineFontCache, createGlyphOutlineLookup, DEFAULT_VIEWER_OPTIONS, TOOLBAR_TABS, defineThreeViewElement, getSelectionControlArtworkStyle, hasShapeProperties, normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, hasTextProperties, getSelectionOutlineColor, connectorWrapperTransform, getAriaRoleDescription, getAriaLabel, getAriaRole, resolveElementInteractivity, isEditableTextElement, buildTextStyleOverrideCss, isElementRendered, resolveElementAriaAttributes, isMediaFullscreenActive, shouldRenderHitTarget, elementHitTargetStyle, getImageEffectsOpacity, getImageEffectsFilter, inlineElementPointerEvents, isHollowShapeElement, LINK_TOOLTIP_HOST_CLASS, ACTION_BUTTON_PRESETS, mediaTransportVisible, isInkElement, oleActionsVisible, getGroupChildParentFill, getElementLabel, getResizeHandleHitAreaStyle, paintedStrokeWidth, buildCssGradientFromShapeStyle, ensureActionAffordanceStyles, resolveElementActionAffordance, actionAffordanceLabels, paintedElementSize, MEDIA_FULLSCREEN_OVERLAY_STYLE, elementContainerHeightStyle, getElementTransform, resolveElementHighlightClick, applyHighlightClickStyle, getComputedEffectStyle, getSoftEdgeSvgFilter, getEffectStyleSource, getBevelLightingSvgFilter, buildStrokeOutline, buildHollowHitOutline, buildSubpathFillOverlay, isImageLikeElement, strokeOutlineViewBox, resolveRevealedSmartArtNodes, resolveRevealedDrawingShapes, buildSmartArtA11y, canDrillDown, computeSmartArtElementLayout, flattenNodes, buildSummaryZoomView, isImageTiled, getImageColorWashStyle, readEditableText, placeCaretAt, takePendingCaretPoint, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, mapInlineTextFormatKey, subscribeBarFacePicturePixelSamples, getBarFacePicturePixelSampleVersion, ensureChartInteractionStyles, applyChartPartHighlight, resolveRevealedChartData, formatAxisValue, buildInkGroupStrokes, getInkReplayStyles, INK_REPLAY_KEYFRAMES, buildContentPartStrokes, getContentPartReplayStyles, resolveOleType, getOleAriaLabel, getOleTypeColor, getOleTypeLabel, filterRenderedElements, resolveGroupChildFill, isLinkedTextBox, getOverflowSegments, shouldUseSvgWarp, getTextBodyRotationTransform, placeholderPromptDescriptor, attachRotateHandlePlacement, elementIdSelector, createRotationDrag, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_PANEL_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_HINT_CLASS, DEFAULT_PALETTE2, resolvePalette, computeDrawingViewBox, projectDrawingShapes, resolveRevealedDrawingShapeNodeIds, styleShadowFilter, buildChromeStyle, measureSvgViewportRect, modelDataToBlobUrl, resolveZoomNavigationTarget, getImageSvgFilters, getCachedNativeImageSize, probeNativeImageSize, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, inlineListBodyText, createInlineListSeed, readListActivationSelection, createInlineListModelObserver, attachCollaborationInlineEditor, bindInlineListParagraph, bindInlineListRun, attachInlineListController, restoreInlineListBodySelection, getInlineEditorSelectionResult, isBulletMarkerSegment, resolveChartThreeViewSpec, applyChart3DDrag, applyChart3DSelect, findChartPartTarget, withChartTitle, resolveSmartArtThreeViewSpec, isBrowserOpenableMime, formatBytes, getOleDisplayName, getOleBadgeLabel, openUrlInNewTab, getSubstituteFontFamily, hasGlyphEnvelope, buildGlyphEnvelopeBlock, getWarpPath, isWedgeCalloutPresetShape, isElementActionable, centeredSvgTextLines, findSmartArtNodeText, setSmartArtNodeStyle, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, updateSmartArtNodeText, advanceChartMarkDrag, advanceChartValueDrag, resolveChartKind, buildChartMarkDragGeometry, beginChartMarkDrag, beginChartValueDrag, groupIntoParagraphs, substituteFieldText, computeInlineEditorRect, MIN_TOUCH_TARGET_PX, computeVirtualRange, DEFAULT_VIRTUAL_OVERSCAN, createSyncGate, clearLocalAwareness, validateRoomId, createDepartureChannel, resolveTransportForServerUrl, isMixedContentBlocked, CONNECTION_TIMEOUT_MS, registerCollaborationTeardown, createPresenceProjector, BROADCAST_THROTTLE_MS, sanitizeColor, cloneTemplateElementsBySlideId, cloneSlide, createWheelStepBuffer, createViewerZoomStore, clampZoomScale, mapEditingWheel, createActiveAnimationGroup, cancelBuildReveal, clearPlaybackTimers, PresentationAnimationController, resolveMediaTimeNodeElementIds, resolveMediaBookmarkTimesMs, advanceMainSequence, playGroup, PRESENTATION_HASH, PRESENTATION_NONCE_KEY, PRESENTATION_CHANNEL_NAME, swapPresentationWindows, PRESENTATION_MESSAGE_ORIGIN, clearAudienceContent, buildPresentationAudienceUrl, resolveAudienceScreenPlacement, placeAudienceWindow, storeAudienceContent, isPresentationSessionMessage, endAudienceDisplay, createPresentationKeyBuffer, acceptsPresentationInput, resolveAutoAdvanceDelayMs, resolveForwardSlideWithZoomReturn, buildZoomTransitionOverride, hasShowSlideAfter, nextShowSlideIndex, previousShowSlideIndex, beginZoomExcursion, createPresenterShowGuard, firstShowSlideIndex, attachPresentationVisibilityPause, presentationEntrySlideIndex, buildMorphTransitionPlan, morphOptionToMode, buildMorphAnimationRules, findInSlides, applyFindReplacements, visibleTemplateElements, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, createPresentationLoadResources, collectMediaElements, resolveMediaElementSource, collectImagePaths, applyImagePathPatches, resolveTableCellImageUrls, resolveTableStyleImageUrls, resolveTextFillBlipUrls, partitionTemplateElements, seedRecentColors, resolveAuthoredCustomShowId, buildInitialGuides, readOnlyRecommendation, compatibilityWarningToasts, EncryptedFileError, resolveAutosaveIntervalMs, shouldWriteAutosaveSnapshot, saveAutosaveSnapshot, autosaveSnapshotMark, updateMasterViewElement, isTemplateElementId, updateElement, masterViewElements, replaceMasterViewElements, addSection, renameSection, deleteSection, moveSectionUp, moveSectionDown, moveSlidesToSection, canMergeShapes, canInteractWithElement, prepareHtml2CanvasClone, slideProgressPercent, slideStatusLabel, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, isExportAbortError, resolveImageResolutionScale, applyThemeToData, THEME_PRESETS, themeColorSchemesEqual, comparePresentation, applyAcceptSlide, applyAcceptAllSlides, collectUsedFonts, describeFontEmbedding, isMobileViewport, resolveAuthoredSlideRange, mayLeaveSlideShow, stopAllPersistentAudio, guidePxToEmu, buildSaveSlides, buildDeckSaveOptions, resolveSlideSizeSelection, saveDeckWithPassword, shouldProbeAutosaveRecovery, probeAutosaveRecovery, acceptAutosaveRecovery, acknowledgeAutosaveRecovery, discardAutosaveRecovery, shouldLoopContinuously, applyRehearsalTimings, rasterResultToPngBlob, downloadBlob, elementPictureFilename, canEditElementPoints, collectReferencedFontFamilies, resolveGoogleWebfontHref, syncGoogleWebfontStylesheet, selectGoogleWebfontFamilies, fetchGoogleWebfontOutlineBytes, isFeatureEnabled, mapSlideShowStartKey, mapCustomizedEditorKey, isEditorControlTarget, isEditorTextInputTarget, parentSelection, textFontSizePtToPx, stepFontSizePt, textFontSizePxToPt, cycleSelectableElement, createCustomizationController, prepareElementForInsertion, slideSpaceElement, createViewerOptionsStore, observeYDocSlides, LOCAL_SYNC_ORIGIN, readSlidesFromYDoc, shouldRoomSlidesReplaceLoad, reconcileSlidesInYDoc, shouldAutoFollowBroadcaster, detectTouchDevice, detectOrientation, deriveViewportBreakpoints, createTouchGestureRecognizer, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, isKeyboardOpen, scopeLayoutOptionsToSlide, checkModifyPassword, viewerPreferencesFromViewProperties, DEFAULT_VIEWER_PREFERENCES, viewPropertiesPatchFromPreferences, openPptxFile, readBackstageRecentFile, resolveCollaborationShellEditability, resolveCollaborationShellState, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, getSlideTransitionAnimations, getFragmentedTransitionDescriptor, SLIDE_TRANSITION_KEYFRAMES, isActionHidden, buildInlineTextCommitPatch, resolveInlineEditAutoFitHeight, resolveInlineEditNormAutofitShrink, setPendingCaretPoint, drillSelectionForDoubleClick, filterInteractableIds, beginShapeAdjustment, buildElementClipboardPayload, contextMenuInspectorAnchor, savedPresentationFileName, exportDeckJson, groupElements, generateElementId, makeCloneId, ungroupElements, alignElements, distributeElements, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, planMergeShapes, applyMergeShapesPlan, mapPresentationKey, lastShowSlideIndex, mapPresentationWheel, openPendingPrintWindow, computeColorFilter, filterHiddenSlideIndices, computeSlideIndices, buildPrintDocument, finishPrintWindow, buildPrintHtmlDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildSlideTemplateSlide, templateSchemeFromTheme, buildThemeColorMap, reResolveSlideColors, reResolveElementColors, resolveViewportFitOptions, EDITOR_VIEWPORT_FIT, calculateViewportFit, scheduleAutoAdvanceChain, computeEntranceAnimationDelay, createPresentationSessionId, resolveTransitionDurationMs, resolveTransitionSoundAction, runPresentationAction, safeOpenUrl, buildRunProgramNotice, toggleStageElementMedia, resolveOleVerbTarget, downloadDataUrl, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, resetPresenterTimer, presenterElapsed, stepPresenterZoom, togglePresenterTimer, addCommentToList, removeCommentFromList, editCommentInList, toggleCommentResolvedInList, slideSpaceMembers, remapTextToSegments, buildInlineListStylePatch, applyActiveInlineListFormatting, applyListStyleUpdate, setPendingSelectionRestore, applyTextStyleUpdate, toggleSelectionBullets, transformInlineListCase, applyCaseTransformToSegments, transformTextCase, resolveExportCaptureDecision, recordProgressPercent, computeGridSpacingPx, resolveShowSlideIndexes, groupSlidesBySection, masterViewPseudoSlide, overlayMasterViewInlineSnapshot, overlayInlineTextSnapshot, rasterizeElement, cloneElementForPaste, applyPasteSpecialFormat, buildRasterPictureElement, copyFormatFromElement, cloneElementUpdates, assertElementUpdateTarget, prepareElementUpdateBatch, createWriteBackScheduler, observeExternalCollaborationReadiness, resolveHistoryDepth, hasCopyableFormat, createBackstagePresentation, buildFieldSubstitutionContext, isEnterableGroup, memberChainAtPoint, findElementPath, drillSelectionForClick, scrollInspectorSectionIntoView, computeScrollDelta, rerouteConnectorsForMovedElements, applyReroutedConnectors, SvgExporter, reResolveElementFonts, replyToCommentInList, removeTableElementColumn, insertTableElementColumn, removeTableElementRow, insertTableElementRow, updateCellTextStyleInRawXml, setCellText, updateCellTextInRawXml, splitCell, updateMergeAttrsInRawXml, mergeCells, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, stopCaptureStream, GIF_POST_CAPTURE_MAX_SIDE, encodeGif, rasterizeElementTiles, placeTileOnPage, PDF_SLIDES_PAGE_WIDTH_PT, PDF_SLIDES_PAGE_HEIGHT_PT, canvasToJpegData, applyFormatToElement, createSnapshotTextPositions, isPpactionUrl, parsePpactionUrl, resolvePresentationAction, elementActionToPptxAction, isUrlSafe, buildSmartArtPresetData, classifyMediaType, computeSnapToShape, publishLiveGeometry, getDraggedShapeAdjustments, computeMarqueeHitIds, mergeAdditiveSelection, rasterizeElementTiledToCanvas, borrowExternalCollaborationAwareness, observeExternalCollaborationSession, clampGifDimensions, rasterResultToPngDataUrl, shouldConfirmExternalHyperlink, applyResize, lockResizeAspect, snapBoxToGrid, applyMotionPathPreset, bringForward, sendBackward, bringToFront, sendToBack } from './chunk-5JVKFBJH.mjs';
|
|
1
|
+
import { DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, getImageSurfaceStyle, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, DEFAULT_FILL_COLOR, getCropShapeClipPath, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getImageSurfaceMaskStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, MIN_ELEMENT_SIZE, buildTextBody3DSceneStyle, getImageTilingStyle, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, HYPERLINK_COLOR, cloneHistorySnapshot, ZOOM_TO_SELECTION_PADDING, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, UNGROUPED_SECTION_ID, DEFAULT_SECTION_GROUP_ID, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, buildPdfFromTiledImageData, GRID_SIZE, buildNotesPdf } from './chunk-M367GJX7.mjs';
|
|
2
|
+
import { GlyphOutlineFontCache, createGlyphOutlineLookup, DEFAULT_VIEWER_OPTIONS, TOOLBAR_TABS, defineThreeViewElement, getSelectionControlArtworkStyle, hasShapeProperties, normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, hasTextProperties, getSelectionOutlineColor, connectorWrapperTransform, getAriaRoleDescription, getAriaLabel, getAriaRole, resolveElementInteractivity, isEditableTextElement, buildTextStyleOverrideCss, isElementRendered, resolveElementAriaAttributes, isMediaFullscreenActive, shouldRenderHitTarget, elementHitTargetStyle, getImageEffectsOpacity, getImageEffectsFilter, inlineElementPointerEvents, isHollowShapeElement, LINK_TOOLTIP_HOST_CLASS, ACTION_BUTTON_PRESETS, mediaTransportVisible, isInkElement, oleActionsVisible, getGroupChildParentFill, getElementLabel, getResizeHandleHitAreaStyle, paintedStrokeWidth, buildCssGradientFromShapeStyle, ensureActionAffordanceStyles, resolveElementActionAffordance, actionAffordanceLabels, paintedElementSize, MEDIA_FULLSCREEN_OVERLAY_STYLE, elementContainerHeightStyle, getElementTransform, resolveElementHighlightClick, applyHighlightClickStyle, getComputedEffectStyle, getSoftEdgeSvgFilter, getEffectStyleSource, getBevelLightingSvgFilter, buildStrokeOutline, buildHollowHitOutline, buildSubpathFillOverlay, isImageLikeElement, strokeOutlineViewBox, resolveRevealedSmartArtNodes, resolveRevealedDrawingShapes, buildSmartArtA11y, canDrillDown, computeSmartArtElementLayout, flattenNodes, buildSummaryZoomView, isImageTiled, getImageColorWashStyle, readEditableText, placeCaretAt, takePendingCaretPoint, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, mapInlineTextFormatKey, subscribeBarFacePicturePixelSamples, getBarFacePicturePixelSampleVersion, ensureChartInteractionStyles, applyChartPartHighlight, resolveRevealedChartData, formatAxisValue, buildInkGroupStrokes, getInkReplayStyles, INK_REPLAY_KEYFRAMES, buildContentPartStrokes, getContentPartReplayStyles, resolveOleType, getOleAriaLabel, getOleTypeColor, getOleTypeLabel, filterRenderedElements, resolveGroupChildFill, isLinkedTextBox, getOverflowSegments, shouldUseSvgWarp, getTextBodyRotationTransform, placeholderPromptDescriptor, attachRotateHandlePlacement, elementIdSelector, createRotationDrag, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_PANEL_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_HINT_CLASS, DEFAULT_PALETTE2, resolvePalette, computeDrawingViewBox, projectDrawingShapes, resolveRevealedDrawingShapeNodeIds, styleShadowFilter, buildChromeStyle, measureSvgViewportRect, modelDataToBlobUrl, resolveZoomNavigationTarget, getImageSvgFilters, getCachedNativeImageSize, probeNativeImageSize, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, inlineListBodyText, createInlineListSeed, readListActivationSelection, createInlineListModelObserver, attachCollaborationInlineEditor, bindInlineListParagraph, bindInlineListRun, attachInlineListController, restoreInlineListBodySelection, getInlineEditorSelectionResult, isBulletMarkerSegment, resolveChartThreeViewSpec, applyChart3DDrag, applyChart3DSelect, findChartPartTarget, withChartTitle, resolveSmartArtThreeViewSpec, isBrowserOpenableMime, formatBytes, getOleDisplayName, getOleBadgeLabel, openUrlInNewTab, getSubstituteFontFamily, hasGlyphEnvelope, buildGlyphEnvelopeBlock, getWarpPath, isWedgeCalloutPresetShape, isElementActionable, centeredSvgTextLines, findSmartArtNodeText, setSmartArtNodeStyle, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, updateSmartArtNodeText, advanceChartMarkDrag, advanceChartValueDrag, resolveChartKind, buildChartMarkDragGeometry, beginChartMarkDrag, beginChartValueDrag, groupIntoParagraphs, substituteFieldText, computeInlineEditorRect, MIN_TOUCH_TARGET_PX, computeVirtualRange, DEFAULT_VIRTUAL_OVERSCAN, createSyncGate, clearLocalAwareness, validateRoomId, createDepartureChannel, resolveTransportForServerUrl, isMixedContentBlocked, CONNECTION_TIMEOUT_MS, registerCollaborationTeardown, createPresenceProjector, BROADCAST_THROTTLE_MS, sanitizeColor, cloneTemplateElementsBySlideId, cloneSlide, createWheelStepBuffer, createViewerZoomStore, clampZoomScale, mapEditingWheel, createActiveAnimationGroup, cancelBuildReveal, clearPlaybackTimers, PresentationAnimationController, resolveMediaTimeNodeElementIds, resolveMediaBookmarkTimesMs, advanceMainSequence, playGroup, PRESENTATION_HASH, PRESENTATION_NONCE_KEY, PRESENTATION_CHANNEL_NAME, swapPresentationWindows, PRESENTATION_MESSAGE_ORIGIN, clearAudienceContent, buildPresentationAudienceUrl, resolveAudienceScreenPlacement, placeAudienceWindow, storeAudienceContent, isPresentationSessionMessage, endAudienceDisplay, createPresentationKeyBuffer, acceptsPresentationInput, resolveAutoAdvanceDelayMs, resolveForwardSlideWithZoomReturn, buildZoomTransitionOverride, hasShowSlideAfter, nextShowSlideIndex, previousShowSlideIndex, beginZoomExcursion, createPresenterShowGuard, firstShowSlideIndex, attachPresentationVisibilityPause, presentationEntrySlideIndex, buildMorphTransitionPlan, morphOptionToMode, buildMorphAnimationRules, findInSlides, applyFindReplacements, visibleTemplateElements, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, createPresentationLoadResources, collectMediaElements, resolveMediaElementSource, collectImagePaths, applyImagePathPatches, resolveTableCellImageUrls, resolveTableStyleImageUrls, resolveTextFillBlipUrls, partitionTemplateElements, seedRecentColors, resolveAuthoredCustomShowId, buildInitialGuides, readOnlyRecommendation, compatibilityWarningToasts, EncryptedFileError, resolveAutosaveIntervalMs, shouldWriteAutosaveSnapshot, saveAutosaveSnapshot, autosaveSnapshotMark, updateMasterViewElement, isTemplateElementId, updateElement, masterViewElements, replaceMasterViewElements, addSection, renameSection, deleteSection, moveSectionUp, moveSectionDown, moveSlidesToSection, canMergeShapes, canInteractWithElement, prepareHtml2CanvasClone, slideProgressPercent, slideStatusLabel, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, isExportAbortError, resolveImageResolutionScale, applyThemeToData, THEME_PRESETS, themeColorSchemesEqual, comparePresentation, applyAcceptSlide, applyAcceptAllSlides, collectUsedFonts, describeFontEmbedding, isMobileViewport, resolveAuthoredSlideRange, mayLeaveSlideShow, stopAllPersistentAudio, guidePxToEmu, buildSaveSlides, buildDeckSaveOptions, resolveSlideSizeSelection, saveDeckWithPassword, shouldProbeAutosaveRecovery, probeAutosaveRecovery, acceptAutosaveRecovery, acknowledgeAutosaveRecovery, discardAutosaveRecovery, shouldLoopContinuously, applyRehearsalTimings, rasterResultToPngBlob, downloadBlob, elementPictureFilename, canEditElementPoints, collectReferencedFontFamilies, resolveGoogleWebfontHref, syncGoogleWebfontStylesheet, selectGoogleWebfontFamilies, fetchGoogleWebfontOutlineBytes, isFeatureEnabled, mapSlideShowStartKey, mapCustomizedEditorKey, isEditorControlTarget, isEditorTextInputTarget, parentSelection, textFontSizePtToPx, stepFontSizePt, textFontSizePxToPt, cycleSelectableElement, createCustomizationController, prepareElementForInsertion, slideSpaceElement, createViewerOptionsStore, observeYDocSlides, LOCAL_SYNC_ORIGIN, readSlidesFromYDoc, shouldRoomSlidesReplaceLoad, reconcileSlidesInYDoc, shouldAutoFollowBroadcaster, detectTouchDevice, detectOrientation, deriveViewportBreakpoints, createTouchGestureRecognizer, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, isKeyboardOpen, scopeLayoutOptionsToSlide, checkModifyPassword, viewerPreferencesFromViewProperties, DEFAULT_VIEWER_PREFERENCES, viewPropertiesPatchFromPreferences, openPptxFile, readBackstageRecentFile, resolveCollaborationShellEditability, resolveCollaborationShellState, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, getSlideTransitionAnimations, getFragmentedTransitionDescriptor, SLIDE_TRANSITION_KEYFRAMES, isActionHidden, buildInlineTextCommitPatch, resolveInlineEditAutoFitHeight, resolveInlineEditNormAutofitShrink, setPendingCaretPoint, drillSelectionForDoubleClick, filterInteractableIds, beginShapeAdjustment, buildElementClipboardPayload, contextMenuInspectorAnchor, savedPresentationFileName, exportDeckJson, groupElements, generateElementId, makeCloneId, ungroupElements, alignElements, distributeElements, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, planMergeShapes, applyMergeShapesPlan, mapPresentationKey, lastShowSlideIndex, mapPresentationWheel, openPendingPrintWindow, computeColorFilter, filterHiddenSlideIndices, computeSlideIndices, buildPrintDocument, finishPrintWindow, buildPrintHtmlDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildSlideTemplateSlide, templateSchemeFromTheme, buildThemeColorMap, reResolveSlideColors, reResolveElementColors, resolveViewportFitOptions, EDITOR_VIEWPORT_FIT, calculateViewportFit, scheduleAutoAdvanceChain, computeEntranceAnimationDelay, createPresentationSessionId, resolveTransitionDurationMs, resolveTransitionSoundAction, runPresentationAction, safeOpenUrl, buildRunProgramNotice, toggleStageElementMedia, resolveOleVerbTarget, downloadDataUrl, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, resetPresenterTimer, presenterElapsed, stepPresenterZoom, togglePresenterTimer, addCommentToList, removeCommentFromList, editCommentInList, toggleCommentResolvedInList, slideSpaceMembers, remapTextToSegments, buildInlineListStylePatch, applyActiveInlineListFormatting, applyListStyleUpdate, setPendingSelectionRestore, applyTextStyleUpdate, toggleSelectionBullets, transformInlineListCase, applyCaseTransformToSegments, transformTextCase, resolveExportCaptureDecision, recordProgressPercent, computeGridSpacingPx, resolveShowSlideIndexes, groupSlidesBySection, masterViewPseudoSlide, overlayMasterViewInlineSnapshot, overlayInlineTextSnapshot, rasterizeElement, cloneElementForPaste, applyPasteSpecialFormat, buildRasterPictureElement, copyFormatFromElement, cloneElementUpdates, assertElementUpdateTarget, prepareElementUpdateBatch, createWriteBackScheduler, observeExternalCollaborationReadiness, resolveHistoryDepth, hasCopyableFormat, createBackstagePresentation, buildFieldSubstitutionContext, isEnterableGroup, memberChainAtPoint, findElementPath, drillSelectionForClick, scrollInspectorSectionIntoView, computeScrollDelta, rerouteConnectorsForMovedElements, applyReroutedConnectors, SvgExporter, reResolveElementFonts, replyToCommentInList, removeTableElementColumn, insertTableElementColumn, removeTableElementRow, insertTableElementRow, updateCellTextStyleInRawXml, setCellText, updateCellTextInRawXml, splitCell, updateMergeAttrsInRawXml, mergeCells, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, stopCaptureStream, GIF_POST_CAPTURE_MAX_SIDE, encodeGif, rasterizeElementTiles, placeTileOnPage, PDF_SLIDES_PAGE_WIDTH_PT, PDF_SLIDES_PAGE_HEIGHT_PT, canvasToJpegData, applyFormatToElement, createSnapshotTextPositions, isPpactionUrl, parsePpactionUrl, resolvePresentationAction, elementActionToPptxAction, isUrlSafe, buildSmartArtPresetData, classifyMediaType, computeSnapToShape, publishLiveGeometry, getDraggedShapeAdjustments, computeMarqueeHitIds, mergeAdditiveSelection, rasterizeElementTiledToCanvas, borrowExternalCollaborationAwareness, observeExternalCollaborationSession, clampGifDimensions, rasterResultToPngDataUrl, shouldConfirmExternalHyperlink, applyResize, lockResizeAspect, snapBoxToGrid, applyMotionPathPreset, bringForward, sendBackward, bringToFront, sendToBack } from './chunk-474QZKN4.mjs';
|
|
3
3
|
import { translationsEn } from './chunk-Q4HRYUEP.mjs';
|
|
4
4
|
import React17, { createContext, useMemo, useState, useCallback, useEffect, Suspense, useRef, useLayoutEffect, useContext, useSyncExternalStore, useImperativeHandle } from 'react';
|
|
5
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -124,7 +124,7 @@ function useYjsProvider({ config: inputConfig }) {
|
|
|
124
124
|
}
|
|
125
125
|
setStatus("connecting");
|
|
126
126
|
try {
|
|
127
|
-
const [Y, { WebrtcProvider }] = await Promise.all([import('yjs'), import('./y-webrtc-
|
|
127
|
+
const [Y, { WebrtcProvider }] = await Promise.all([import('yjs'), import('./y-webrtc-ETJMZ5LO.mjs')]);
|
|
128
128
|
if (generation !== generationRef.current) {
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
@@ -199,7 +199,7 @@ function useYjsProvider({ config: inputConfig }) {
|
|
|
199
199
|
}
|
|
200
200
|
setStatus("connecting");
|
|
201
201
|
try {
|
|
202
|
-
const [Y, { WebsocketProvider }] = await Promise.all([import('yjs'), import('./y-websocket-
|
|
202
|
+
const [Y, { WebsocketProvider }] = await Promise.all([import('yjs'), import('./y-websocket-FLUSL2B2.mjs')]);
|
|
203
203
|
if (generation !== generationRef.current) {
|
|
204
204
|
return;
|
|
205
205
|
}
|
|
@@ -16228,7 +16228,7 @@ function FailedToLoad() {
|
|
|
16228
16228
|
var LazyModel3DScene = React17.lazy(
|
|
16229
16229
|
async () => {
|
|
16230
16230
|
try {
|
|
16231
|
-
return await import('./Model3DScene-
|
|
16231
|
+
return await import('./Model3DScene-NS5A3NUF.mjs');
|
|
16232
16232
|
} catch {
|
|
16233
16233
|
return { default: FailedToLoad };
|
|
16234
16234
|
}
|
|
@@ -16309,7 +16309,7 @@ function Model3DRenderer({ element, width, height, interactive }) {
|
|
|
16309
16309
|
const [threeAvailable, setThreeAvailable] = useState(null);
|
|
16310
16310
|
useEffect(() => {
|
|
16311
16311
|
let cancelled = false;
|
|
16312
|
-
import('./three.module-
|
|
16312
|
+
import('./three.module-AUSRQGHJ.mjs').then(() => {
|
|
16313
16313
|
if (!cancelled) {
|
|
16314
16314
|
setThreeAvailable(true);
|
|
16315
16315
|
}
|
|
Binary file
|
|
Binary file
|