shop-components 0.1.66 → 0.1.68

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.
@@ -73,7 +73,7 @@ export declare class Amr extends Object3D {
73
73
  set bodyOpacity(o: number);
74
74
  constructor(_props: AmrProps);
75
75
  init(app: Scene3D): void;
76
- load(url: string): Promise<void>;
76
+ load(url: string, type?: string): Promise<void>;
77
77
  changeSkin(skin: Skin, value: string): void;
78
78
  changeLogo(logo: Logo, configs: CropperConfigs): void;
79
79
  setShapeKey(key: string, value: number): void;
@@ -21,6 +21,7 @@ export declare class DeviceViewer extends LitElement {
21
21
  theme: undefined | string;
22
22
  onChange: undefined | Function;
23
23
  usePathTracing: boolean;
24
+ actions: string[];
24
25
  shelfLevel: number;
25
26
  shapeKeys: Map<any, any>;
26
27
  colors: Skin[];
@@ -43,6 +44,8 @@ export declare class DeviceViewer extends LitElement {
43
44
  clearAMR: () => void;
44
45
  exportAMR: () => Promise<void>;
45
46
  addAMR: () => void;
47
+ playAction: (name: string) => void;
48
+ pauseAction: (name: string) => void;
46
49
  clean: () => void;
47
50
  recreate: () => void;
48
51
  setShapeKey: (key: string, val: any) => void;
@@ -1,7 +1,6 @@
1
1
  import { DeviceViewer, Props } from './index';
2
2
  declare const _default: {
3
3
  title: string;
4
- tags: string[];
5
4
  render: (args: Props) => DeviceViewer;
6
5
  argTypes: {
7
6
  test: {
@@ -0,0 +1,4 @@
1
+ import { CSS2DObject } from 'three/examples/jsm/renderers/CSS2DRenderer';
2
+ export default class Pin extends CSS2DObject {
3
+ constructor();
4
+ }
@@ -123,7 +123,7 @@ export declare class Scene3D {
123
123
  exportAMR(): Promise<ArrayBuffer | {
124
124
  [key: string]: any;
125
125
  }>;
126
- addAMR(url: string): Promise<void>;
126
+ addAMR(url: string, type?: string): Promise<void>;
127
127
  fit: () => void;
128
128
  select(obj: string | Object3D | Object3D[]): void;
129
129
  appendTo(parent: HTMLElement): void;
@@ -10,6 +10,8 @@ export interface SlotProps {
10
10
  }>;
11
11
  slot: Object3D;
12
12
  show: boolean;
13
+ isMirror: boolean;
14
+ mirrorTarget?: string;
13
15
  }
14
16
  export interface DeviceInfo {
15
17
  name: string;
@@ -52,7 +54,10 @@ export declare class Slot extends CSS2DObject {
52
54
  get hasDevice(): boolean;
53
55
  deviceInfo: DeviceInfo | undefined;
54
56
  holeTarget: Object3D | undefined;
57
+ mirrorTarget: Slot | undefined;
55
58
  private _showSlot;
59
+ private _isMirror;
60
+ get isMirror(): boolean;
56
61
  constructor(props: SlotProps);
57
62
  private _preventDefaults;
58
63
  shapeKeyChanged(key: string, value: number): void;
@@ -0,0 +1,5 @@
1
+ import { LitElement } from 'lit';
2
+ export default class ShopDevices extends LitElement {
3
+ constructor();
4
+ protected render(): unknown;
5
+ }
@@ -1,8 +1,7 @@
1
- import { TestViewer, Props } from './index';
1
+ import ShopDevices from '../../../../../../../stories/devices/index';
2
2
  declare const _default: {
3
3
  title: string;
4
- tags: string[];
5
- render: (args: Props) => TestViewer;
4
+ render: (args: any) => ShopDevices;
6
5
  argTypes: {};
7
6
  };
8
7
  export default _default;
@@ -0,0 +1,8 @@
1
+ import Pin from '../../../../../../../../stories/devices/src/pin';
2
+ export default class Connector {
3
+ readonly uuid: string;
4
+ connections: Pin[];
5
+ constructor(uuid?: string);
6
+ addConnection(pin: Pin): void;
7
+ describe(): void;
8
+ }
@@ -0,0 +1,16 @@
1
+ export interface ConstraintExecResult {
2
+ valid: boolean;
3
+ message?: string;
4
+ }
5
+ export declare abstract class Constraintable {
6
+ protected _valid: boolean;
7
+ protected constructor();
8
+ get isValid(): boolean;
9
+ abstract exec(): ConstraintExecResult;
10
+ }
11
+ export default class Constraint extends Constraintable {
12
+ constructor();
13
+ exec(): ConstraintExecResult;
14
+ addConnection(): void;
15
+ describe(): void;
16
+ }
@@ -0,0 +1,9 @@
1
+ import { ConstraintExecResult, Constraintable } from '../../../../../../../../../stories/devices/src/constraints/constraint';
2
+ import Pin from '../../../../../../../../../stories/devices/src/pin';
3
+ export default class SameDeviceConstraint extends Constraintable {
4
+ source: Pin;
5
+ target: Pin;
6
+ constructor(source: Pin, target: Pin);
7
+ setTarget(target: Pin): this;
8
+ exec(): ConstraintExecResult;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { Constraintable, ConstraintExecResult } from '../../../../../../../../../stories/devices/src/constraints/constraint';
2
+ import Pin from '../../../../../../../../../stories/devices/src/pin';
3
+ export default class SingleConnectionConstraint extends Constraintable {
4
+ source: Pin;
5
+ target: Pin;
6
+ constructor(source: Pin, target: Pin);
7
+ setTarget(target: Pin): this;
8
+ exec(): ConstraintExecResult;
9
+ }
@@ -0,0 +1,11 @@
1
+ import Pin from '../../../../../../../../stories/devices/src/pin';
2
+ export default class Device {
3
+ private _deviceId;
4
+ private _name;
5
+ pins: Pin[];
6
+ get deviceId(): string;
7
+ get name(): string;
8
+ constructor(_deviceId: string, _name: string);
9
+ addPin(pin: Pin): void;
10
+ describe(): void;
11
+ }
@@ -0,0 +1,43 @@
1
+ export declare enum PIN_TYPES {
2
+ VCC = "VCC",
3
+ '24VDC IN-' = "24VDC IN-",
4
+ GND = "GND",
5
+ 'DI-NPN' = "DI-NPN",
6
+ PDO = "PDO",
7
+ '485-B' = "485-B",
8
+ '485-A' = "485-A",
9
+ '232-T' = "232-T",
10
+ '232-R' = "232-R",
11
+ 'CAN-L' = "CAN-L",
12
+ 'CAN-H' = "CAN-H",
13
+ 'SWITCH-N' = "SWITCH-N",
14
+ 'SWITCH-O' = "SWITCH-O",
15
+ 'BOOT-KEY' = "BOOT-KEY",
16
+ 'BOOT-LIGHT' = "BOOT-LIGHT",
17
+ 'MANUAL-CHARGING' = "MANUAL-CHARGING",
18
+ 'EMC IN' = "EMC IN",
19
+ 'EMC P-' = "EMC P-",
20
+ 'EMC P+' = "EMC P+",
21
+ LAN = "LAN",
22
+ USB = "USB",
23
+ HDMI = "HDMI",
24
+ SPK = "SPK",
25
+ MIC = "MIC",
26
+ WIFI = "WIFI",
27
+ 'Contactor O' = "Contactor O",
28
+ 'Contactor N' = "Contactor N"
29
+ }
30
+ export default class Pin {
31
+ private pinID;
32
+ private pinType;
33
+ private group;
34
+ private voltageMin;
35
+ private voltageMax;
36
+ private currentMax;
37
+ private _deviceId;
38
+ private _constraints;
39
+ get deviceId(): string;
40
+ set deviceId(deviceId: string);
41
+ constructor(pinID: string, pinType: PIN_TYPES, group: any, voltageMin: number, voltageMax: number, currentMax: number);
42
+ describe(): void;
43
+ }
@@ -57414,14 +57414,14 @@ const Rt = {
57414
57414
  class kx extends V0 {
57415
57415
  constructor(A) {
57416
57416
  const e = document.createElement("div");
57417
- super(e), this.props = A, this._emitter = new sr(), this._slotContainer = new St(), this._bracketSlots = [], this._hasError = !1, this.useBracket = !1, this.addEventListener = this._emitter.addListener.bind(this._emitter), this.removeEventListener = this._emitter.removeListener.bind(this._emitter), this._canInstall = !1, this._loading = !1, this._selected = !1, this._deviceSelected = !1, this._allFunctions = /* @__PURE__ */ new Set(), this._functions = /* @__PURE__ */ new Set(), this._timer = 0, this._parentPos = new O(), this._wrapper = new St(), this._showSlot = !0, this._preventDefaults = (t) => {
57417
+ super(e), this.props = A, this._emitter = new sr(), this._slotContainer = new St(), this._bracketSlots = [], this._hasError = !1, this.useBracket = !1, this.addEventListener = this._emitter.addListener.bind(this._emitter), this.removeEventListener = this._emitter.removeListener.bind(this._emitter), this._canInstall = !1, this._loading = !1, this._selected = !1, this._deviceSelected = !1, this._allFunctions = /* @__PURE__ */ new Set(), this._functions = /* @__PURE__ */ new Set(), this._timer = 0, this._parentPos = new O(), this._wrapper = new St(), this._showSlot = !0, this._isMirror = !1, this._preventDefaults = (t) => {
57418
57418
  t.preventDefault(), t.stopPropagation();
57419
- }, this.getWP = this._slotContainer.getWorldPosition.bind(this._slotContainer), this._showSlot = typeof A.show == "boolean" ? A.show : !0, this.name = A.name, this._slotUI = new qt({
57419
+ }, this.getWP = this._slotContainer.getWorldPosition.bind(this._slotContainer), this._showSlot = typeof A.show == "boolean" ? A.show : !0, this.name = A.name, this._isMirror = A.isMirror, this._slotUI = new qt({
57420
57420
  name: A.name,
57421
57421
  onRemove: () => {
57422
57422
  this.clearSlot(), this._emitter.emit(Rt.ON_DEVICE_DELETED);
57423
57423
  }
57424
- }), this._slotUI.slot = this, this._slotUI.hide = !this._showSlot, e.append(this._slotUI), this._parentPos.copy(this.props.slot.position), this._slotUI.addEventListener("function-removed", ({ detail: t }) => {
57424
+ }), this._slotUI.slot = this, this._slotUI.hide = !this._showSlot || this.isMirror, e.append(this._slotUI), this._parentPos.copy(this.props.slot.position), this._slotUI.addEventListener("function-removed", ({ detail: t }) => {
57425
57425
  this.removeFunction(t);
57426
57426
  }), this._slotUI.addEventListener("function-added", ({ detail: t }) => {
57427
57427
  this.addFunction(t);
@@ -57456,13 +57456,16 @@ class kx extends V0 {
57456
57456
  get hasDevice() {
57457
57457
  return this._slotContainer.children.length > 0;
57458
57458
  }
57459
+ get isMirror() {
57460
+ return this._isMirror;
57461
+ }
57459
57462
  shapeKeyChanged(A, e) {
57460
57463
  var t;
57461
57464
  if (this.props.follows.has(A)) {
57462
57465
  const i = this.props.follows.get(A);
57463
57466
  if (i) {
57464
57467
  let r = "x";
57465
- A === "height" ? r = "y" : ["width", "liftOuterWidth"].includes(A) && (r = "z");
57468
+ ["height", "mast"].includes(A) ? r = "y" : ["width", "liftOuterWidth"].includes(A) && (r = "z");
57466
57469
  const s = ((t = this.props.slot) == null ? void 0 : t.position[r]) > 0 ? 1 : -1;
57467
57470
  this._wrapper.position[r] = (e - i.origin) * i.scale * s;
57468
57471
  }
@@ -57491,7 +57494,7 @@ class kx extends V0 {
57491
57494
  throw new Error(`Fail to load device from: ${A.url}`);
57492
57495
  if (e.traverse((t) => {
57493
57496
  t.userData.isDevice = !0;
57494
- }), A.bracketUrl) {
57497
+ }), this.isMirror && e.scale.set(1, 1, -1), A.bracketUrl) {
57495
57498
  const t = await this.loadGlb(A.bracketUrl);
57496
57499
  if (t)
57497
57500
  this.clearSlot(), this._emitter.emit(Rt.ON_DEVICE_REPLACED), t.traverse((i) => {
@@ -57504,7 +57507,7 @@ class kx extends V0 {
57504
57507
  });
57505
57508
  } else
57506
57509
  this.clearSlot(), this._emitter.emit(Rt.ON_DEVICE_REPLACED), this._slotContainer.add(e);
57507
- this.deviceInfo = A, this._slotUI.deviceName = A.name, this._slotUI.filled = !0, this.holeTarget && (this.holeTarget.visible = !1);
57510
+ this.mirrorTarget && this.mirrorTarget.install(A), this.deviceInfo = A, this._slotUI.deviceName = A.name, this._slotUI.filled = !0, this.holeTarget && (this.holeTarget.visible = !1);
57508
57511
  } catch (e) {
57509
57512
  throw e;
57510
57513
  } finally {
@@ -57545,7 +57548,7 @@ class kx extends V0 {
57545
57548
  clearSlot() {
57546
57549
  this._bracketSlots = [], this._slotContainer.children.forEach((A) => {
57547
57550
  A.removeFromParent(), Oi(A);
57548
- }), this._slotUI.filled = !1, this.deviceInfo = void 0, this._slotUI.deviceName = "", this.holeTarget && (this.holeTarget.visible = !0);
57551
+ }), this._slotUI.filled = !1, this.deviceInfo = void 0, this._slotUI.deviceName = "", this.holeTarget && (this.holeTarget.visible = !0), this.mirrorTarget && this.mirrorTarget.clearSlot();
57549
57552
  }
57550
57553
  enable() {
57551
57554
  this._slotUI.disable = !1;
@@ -62047,11 +62050,18 @@ class Vu extends Ie {
62047
62050
  this._textWrapper.lookAt(A);
62048
62051
  }
62049
62052
  updateSize(A) {
62050
- var i;
62051
- const e = (i = this.parent) == null ? void 0 : i.position.clone();
62053
+ var r;
62054
+ const e = (r = this.parent) == null ? void 0 : r.position.clone();
62052
62055
  e == null || e.setY(this.position.y);
62053
62056
  let t = (e == null ? void 0 : e.distanceTo(A)) || 1;
62054
- t *= 1, t < 3 && (t = 3), this._tw && this._tw.isPlaying() && this._tw.stop(), this._tw = new Is.Tween(this._text).to({ fontSize: t / 100 }).duration(300).easing(Is.Easing.Quintic.InOut).start();
62057
+ if (this._tw && this._tw.isPlaying()) {
62058
+ this._tw.stop();
62059
+ return;
62060
+ }
62061
+ let i = t / 80;
62062
+ i > 0.25 && (i = 0.25), i < 0.025 && (i = 0.025), this._tw = new Is.Tween(this._text).to({ fontSize: i }).duration(300).easing(Is.Easing.Quintic.InOut).onComplete(() => {
62063
+ this._text.sync();
62064
+ }).start();
62055
62065
  }
62056
62066
  destroy() {
62057
62067
  this._text.dispose(), this.children.forEach((A) => Oi(A)), this.removeFromParent();
@@ -62588,18 +62598,18 @@ class Pj extends Ie {
62588
62598
  }), this.sizeBox.translateCache = this.sizeBox.originOffset, this.sizeBox.generate(this._container))) : this.sizeBox.generate(this._container), ["width", "length", "height"].includes(e) && this._emitter.emit("size-changed", e, t);
62589
62599
  });
62590
62600
  }
62591
- async load(A) {
62601
+ async load(A, e = "") {
62592
62602
  this._url = A, this.name || (this.name = A.substring(A.lastIndexOf("/") + 1, A.lastIndexOf("."))), !A.startsWith("blob") && A.endsWith(".sglb");
62593
- let e;
62594
- if (A.endsWith(".glb"))
62595
- e = (await _c.loadAsync(A)).scene;
62603
+ let t;
62604
+ if (e === "glb" || A.endsWith(".glb"))
62605
+ t = (await _c.loadAsync(A)).scene;
62596
62606
  else {
62597
- const i = await new Of({ useCache: !0 }).loadAsync(A);
62598
- if (!i.glb)
62607
+ const r = await new Of({ useCache: !0 }).loadAsync(A);
62608
+ if (!r.glb)
62599
62609
  return;
62600
- e = i.glb;
62610
+ t = r.glb;
62601
62611
  }
62602
- this._generateAmr(e.clone(!0)), e = null, this._emitter.emit("amr-loaded");
62612
+ this._generateAmr(t.clone(!0)), t = null, this._emitter.emit("amr-loaded");
62603
62613
  }
62604
62614
  changeSkin(A, e) {
62605
62615
  A && (A.change(e), this._app && this._app.usePathTracing && (this._app.sampleCount = 0, this._app.usePathTracing && (this._app.pathTracer.pausePathTracing = !1, this._app.pathTracer.updateMaterials())));
@@ -62717,6 +62727,8 @@ class Pj extends Ie {
62717
62727
  this.shapeKeys.has(s) && (this.sizeBox.follow = s, this.sizeBox.followOrigin = this._shapeKeys.get(s) || 0, this.sizeBox.followScale = e.userData[r]);
62718
62728
  }
62719
62729
  });
62730
+ }), this.slots.forEach((e) => {
62731
+ e.props.mirrorTarget && (e.mirrorTarget = this.slots.find((t) => t.props.slot.name === e.props.mirrorTarget));
62720
62732
  }), A.updateMatrixWorld(!0), this._container.add(A), this.sizeBox.generate(A), this.sizeBox.show();
62721
62733
  }
62722
62734
  // 设置长宽高,针对可配置的车体生效
@@ -62874,59 +62886,62 @@ class Pj extends Ie {
62874
62886
  }
62875
62887
  }
62876
62888
  generateSlot(A, e) {
62889
+ var t;
62877
62890
  if (A.userData.isSlot) {
62878
- const t = A.userData.name;
62879
- if (t) {
62880
- const i = A.userData.holeTarget && A.userData.holeTarget.name;
62881
- let r;
62882
- i && e.traverse((a) => {
62883
- a.name === i && (r = a);
62891
+ const i = A.userData.name, r = A.userData.isMirror, s = (t = A.userData.mirrorSlot) == null ? void 0 : t.name;
62892
+ if (i) {
62893
+ const o = A.userData.holeTarget && A.userData.holeTarget.name;
62894
+ let a;
62895
+ o && e.traverse((c) => {
62896
+ c.name === o && (a = c);
62884
62897
  });
62885
- const s = /* @__PURE__ */ new Map();
62886
- Object.keys(A.userData).forEach((a) => {
62887
- if (a.startsWith("follow_")) {
62888
- const l = a.split("_")[1];
62889
- if (l) {
62890
- let u = A.userData[a];
62891
- s.set(l, {
62892
- scale: u,
62893
- origin: this.shapeKeys.get(l) || 0
62898
+ const l = /* @__PURE__ */ new Map();
62899
+ Object.keys(A.userData).forEach((c) => {
62900
+ if (c.startsWith("follow_")) {
62901
+ const h = c.split("_")[1];
62902
+ if (h) {
62903
+ let f = A.userData[c];
62904
+ l.set(h, {
62905
+ scale: f,
62906
+ origin: this.shapeKeys.get(h) || 0
62894
62907
  });
62895
62908
  }
62896
62909
  }
62897
62910
  });
62898
- const o = new kx({
62899
- name: t,
62900
- follows: s,
62911
+ const u = new kx({
62912
+ name: i,
62913
+ follows: l,
62901
62914
  slot: A,
62902
- show: this._showSlots
62915
+ show: this._showSlots,
62916
+ isMirror: r,
62917
+ mirrorTarget: s
62903
62918
  });
62904
- return o.holeTarget = r, o.addEventListener(Rt.ON_DROP, (a) => {
62919
+ return u.holeTarget = a, u.addEventListener(Rt.ON_DROP, (c) => {
62905
62920
  this._app && this._app.props.useSound && this._app.sound.play();
62906
- }), o.addEventListener(Rt.ON_BEFORE_SELECTED, (a) => {
62907
- this._slots.forEach((l) => {
62908
- l.selected && (l.selected = !1);
62921
+ }), u.addEventListener(Rt.ON_BEFORE_SELECTED, (c) => {
62922
+ this._slots.forEach((h) => {
62923
+ h.selected && (h.selected = !1);
62909
62924
  });
62910
- }), o.addEventListener(Rt.ON_ERROR_STATE_CHANGE, (a) => {
62925
+ }), u.addEventListener(Rt.ON_ERROR_STATE_CHANGE, (c) => {
62911
62926
  if (this._app)
62912
- if (this._app._outlinePassError.selectedObjects = this._app._outlinePassError.selectedObjects.filter((l) => !!l.parent), a) {
62913
- if (o.device) {
62914
- if (this._app._outlinePassError.selectedObjects.find((u) => {
62915
- var c;
62916
- return u.parent == ((c = o.device) == null ? void 0 : c.parent);
62927
+ if (this._app._outlinePassError.selectedObjects = this._app._outlinePassError.selectedObjects.filter((h) => !!h.parent), c) {
62928
+ if (u.device) {
62929
+ if (this._app._outlinePassError.selectedObjects.find((f) => {
62930
+ var p;
62931
+ return f.parent == ((p = u.device) == null ? void 0 : p.parent);
62917
62932
  }))
62918
62933
  return;
62919
62934
  this._app._outlinePassError.selectedObjects = [
62920
- o.device,
62935
+ u.device,
62921
62936
  ...this._app._outlinePassError.selectedObjects
62922
62937
  ];
62923
62938
  }
62924
62939
  } else
62925
- o.device && (this._app._outlinePassError.selectedObjects = this._app._outlinePassError.selectedObjects.filter((l) => {
62926
- var u;
62927
- return l.parent != ((u = o.device) == null ? void 0 : u.parent);
62940
+ u.device && (this._app._outlinePassError.selectedObjects = this._app._outlinePassError.selectedObjects.filter((h) => {
62941
+ var f;
62942
+ return h.parent != ((f = u.device) == null ? void 0 : f.parent);
62928
62943
  }));
62929
- }), o;
62944
+ }), u;
62930
62945
  }
62931
62946
  }
62932
62947
  }
@@ -64965,7 +64980,7 @@ class nG {
64965
64980
  let u = Math.max(a.x, a.y, a.z) + Math.max(a.x, a.y);
64966
64981
  const c = b9(this.camera.fov, 0.8) * 3 - 1.2;
64967
64982
  u += c;
64968
- const h = Math.min(a.x, a.y, a.z) + 0.5, p = this.camera.position.clone().normalize().multiplyScalar(u);
64983
+ const h = Math.min(a.x, a.y, a.z) + 0.2, p = this.camera.position.clone().normalize().multiplyScalar(u);
64969
64984
  p.setY(u * Math.sin(30 / 180 * Math.PI)), this._fitAnimation = new Jf(this.camera.position).to(p, 600).easing(Is.Easing.Quintic.InOut).onStart(() => {
64970
64985
  this.controls.enabled = !1;
64971
64986
  }).onComplete(() => {
@@ -65120,15 +65135,15 @@ class nG {
65120
65135
  binary: !0
65121
65136
  });
65122
65137
  }
65123
- async addAMR(A) {
65124
- this.amr.init(this), await this.amr.load(A), this.amr.addEventListener("shape-key-changed", (e, t) => {
65125
- this.pathTracer.reset(), this.sampleCount = 0, this.pathTracer.setScene(this.scene, this.camera), this.overlayScene.traverse((i) => {
65126
- if (!Object.keys(i.morphTargetDictionary || {}).includes(e))
65138
+ async addAMR(A, e = "") {
65139
+ this.amr.init(this), await this.amr.load(A, e), this.amr.addEventListener("shape-key-changed", (t, i) => {
65140
+ this.pathTracer.reset(), this.sampleCount = 0, this.pathTracer.setScene(this.scene, this.camera), this.overlayScene.traverse((r) => {
65141
+ if (!Object.keys(r.morphTargetDictionary || {}).includes(t))
65127
65142
  return;
65128
- let r = t;
65129
- i.userData[`origin_${e}`] && (r -= i.userData[`origin_${e}`]);
65130
- const s = i.morphTargetDictionary[e];
65131
- i.morphTargetInfluences && (i.morphTargetInfluences[s] = r), i instanceof Pe && i.geometry.translate(0, 0, 1e-5);
65143
+ let s = i;
65144
+ r.userData[`origin_${t}`] && (s -= r.userData[`origin_${t}`]);
65145
+ const o = r.morphTargetDictionary[t];
65146
+ r.morphTargetInfluences && (r.morphTargetInfluences[o] = s), r instanceof Pe && r.geometry.translate(0, 0, 1e-5);
65132
65147
  });
65133
65148
  });
65134
65149
  }