holostaff-widget 3.0.4 → 3.0.5
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/dist/{CanvasRenderer-DtJMGjQ-.js → CanvasRenderer-Cvzvuw_n.js} +5 -5
- package/dist/{CanvasRenderer-DtJMGjQ-.js.map → CanvasRenderer-Cvzvuw_n.js.map} +1 -1
- package/dist/{Filter-BZ0p_cLc.js → Filter-B12vZysJ.js} +2 -2
- package/dist/{Filter-BZ0p_cLc.js.map → Filter-B12vZysJ.js.map} +1 -1
- package/dist/{GpuStencilModesToPixi-BhdxrQzF.js → GpuStencilModesToPixi-BTCb-hJl.js} +3 -3
- package/dist/{GpuStencilModesToPixi-BhdxrQzF.js.map → GpuStencilModesToPixi-BTCb-hJl.js.map} +1 -1
- package/dist/{RenderTargetSystem-Cbru8Ci0.js → RenderTargetSystem-BST_Il7Z.js} +3 -3
- package/dist/{RenderTargetSystem-Cbru8Ci0.js.map → RenderTargetSystem-BST_Il7Z.js.map} +1 -1
- package/dist/{WebGLRenderer--845IaSu.js → WebGLRenderer-DeH8DHPV.js} +5 -5
- package/dist/{WebGLRenderer--845IaSu.js.map → WebGLRenderer-DeH8DHPV.js.map} +1 -1
- package/dist/{WebGPURenderer-DBDzoMAw.js → WebGPURenderer-DbVqU5ig.js} +6 -6
- package/dist/{WebGPURenderer-DBDzoMAw.js.map → WebGPURenderer-DbVqU5ig.js.map} +1 -1
- package/dist/{browserAll-CIOBMh08.js → browserAll-CTsPT1oC.js} +3 -3
- package/dist/{browserAll-CIOBMh08.js.map → browserAll-CTsPT1oC.js.map} +1 -1
- package/dist/{getTextureBatchBindGroup-DCKtteRk.js → getTextureBatchBindGroup-CvtFkiCg.js} +3 -3
- package/dist/{getTextureBatchBindGroup-DCKtteRk.js.map → getTextureBatchBindGroup-CvtFkiCg.js.map} +1 -1
- package/dist/hs-widget.es.js +1 -1
- package/dist/hs-widget.umd.js +3 -3
- package/dist/hs-widget.umd.js.map +1 -1
- package/dist/{index-BbQvHSpa.js → index-BI6e3Gpf.js} +10 -10
- package/dist/index-BI6e3Gpf.js.map +1 -0
- package/dist/{webworkerAll-EB5JX-2r.js → webworkerAll-tY-BahNg.js} +3 -3
- package/dist/{webworkerAll-EB5JX-2r.js.map → webworkerAll-tY-BahNg.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-BbQvHSpa.js.map +0 -1
|
@@ -8140,7 +8140,7 @@ const fc = {
|
|
|
8140
8140
|
},
|
|
8141
8141
|
test: () => !0,
|
|
8142
8142
|
load: async () => {
|
|
8143
|
-
await import("./browserAll-
|
|
8143
|
+
await import("./browserAll-CTsPT1oC.js");
|
|
8144
8144
|
}
|
|
8145
8145
|
}, pc = {
|
|
8146
8146
|
extension: {
|
|
@@ -8150,7 +8150,7 @@ const fc = {
|
|
|
8150
8150
|
},
|
|
8151
8151
|
test: () => typeof self < "u" && self.WorkerGlobalScope !== void 0,
|
|
8152
8152
|
load: async () => {
|
|
8153
|
-
await import("./webworkerAll-
|
|
8153
|
+
await import("./webworkerAll-tY-BahNg.js");
|
|
8154
8154
|
}
|
|
8155
8155
|
};
|
|
8156
8156
|
function mc(i, e, t) {
|
|
@@ -10591,17 +10591,17 @@ async function Nc(i) {
|
|
|
10591
10591
|
for (let r = 0; r < e.length; r++) {
|
|
10592
10592
|
const o = e[r];
|
|
10593
10593
|
if (o === "webgpu" && await Mc()) {
|
|
10594
|
-
const { WebGPURenderer: a } = await import("./WebGPURenderer-
|
|
10594
|
+
const { WebGPURenderer: a } = await import("./WebGPURenderer-DbVqU5ig.js");
|
|
10595
10595
|
t = a, s = { ...i, ...i.webgpu };
|
|
10596
10596
|
break;
|
|
10597
10597
|
} else if (o === "webgl" && kc(
|
|
10598
10598
|
i.failIfMajorPerformanceCaveat ?? Ys.defaultOptions.failIfMajorPerformanceCaveat
|
|
10599
10599
|
)) {
|
|
10600
|
-
const { WebGLRenderer: a } = await import("./WebGLRenderer
|
|
10600
|
+
const { WebGLRenderer: a } = await import("./WebGLRenderer-DeH8DHPV.js");
|
|
10601
10601
|
t = a, s = { ...i, ...i.webgl };
|
|
10602
10602
|
break;
|
|
10603
10603
|
} else if (o === "canvas") {
|
|
10604
|
-
const { CanvasRenderer: a } = await import("./CanvasRenderer-
|
|
10604
|
+
const { CanvasRenderer: a } = await import("./CanvasRenderer-Cvzvuw_n.js");
|
|
10605
10605
|
t = a, s = { ...i, ...i.canvasOptions };
|
|
10606
10606
|
break;
|
|
10607
10607
|
}
|
|
@@ -10934,7 +10934,7 @@ class Lc {
|
|
|
10934
10934
|
zIndex: "2147483646",
|
|
10935
10935
|
pointerEvents: "none",
|
|
10936
10936
|
overflow: "visible"
|
|
10937
|
-
}), document.
|
|
10937
|
+
}), document.documentElement.appendChild(this.container));
|
|
10938
10938
|
const s = this.app.canvas;
|
|
10939
10939
|
return Object.assign(s.style, {
|
|
10940
10940
|
width: "100%",
|
|
@@ -18786,7 +18786,7 @@ class hr {
|
|
|
18786
18786
|
}), this.suggestionArea.appendChild(o), this.el.appendChild(this.suggestionArea), this.el.addEventListener("click", (a) => {
|
|
18787
18787
|
var l;
|
|
18788
18788
|
a.target.closest("button") || (l = this.onClick) == null || l.call(this);
|
|
18789
|
-
}), document.
|
|
18789
|
+
}), document.documentElement.appendChild(this.el);
|
|
18790
18790
|
}
|
|
18791
18791
|
// -----------------------------------------------------------------------
|
|
18792
18792
|
// State transitions
|
|
@@ -19342,10 +19342,10 @@ class Tf {
|
|
|
19342
19342
|
return this.config.container;
|
|
19343
19343
|
}
|
|
19344
19344
|
async init() {
|
|
19345
|
-
Ze(), this.stage = new Lc(), await this.stage.init(this.config.mode, this.config.container), this.avatar = new Fc(this.stage.stageWidth, this.stage.stageHeight), this.stage.app.stage.addChild(this.avatar.container), await this.loadIdleAsset(), this.avatarFrame = new af(), this.stage.rootElement && jt(this.stage.rootElement), this.bubble = new hf(this.widgetPrompts ?? void 0), this.bubble.onClick = () => this.onAvatarClick(), this.stage.rootElement && (this.stage.rootElement.style.position = "relative", this.stage.rootElement.appendChild(this.bubble.el)), this.avatar.setInteractive(() => this.onAvatarClick()), this.
|
|
19345
|
+
Ze(), this.stage = new Lc(), await this.stage.init(this.config.mode, this.config.container), this.avatar = new Fc(this.stage.stageWidth, this.stage.stageHeight), this.stage.app.stage.addChild(this.avatar.container), await this.loadIdleAsset(), this.avatarFrame = new af(), this.stage.rootElement && jt(this.stage.rootElement), this.bubble = new hf(this.widgetPrompts ?? void 0), this.bubble.onClick = () => this.onAvatarClick(), this.stage.rootElement && (this.stage.rootElement.style.position = "relative", this.stage.rootElement.appendChild(this.bubble.el)), this.avatar.setInteractive(() => this.onAvatarClick()), this.chatPill = new hr(), this.chatPill.init(this.staffAvatarUrl, this.idleVideoUrl, this.staffDisplayName), this.chatPill.onClick = () => this.onAvatarClick(), this.isInline ? (setTimeout(() => {
|
|
19346
19346
|
var t;
|
|
19347
19347
|
(this.state === "idle" || this.state === "teasing") && !this.homeVisible && ((t = this.chatPill) == null ? void 0 : t.state) === "hidden" && this.chatPill.showNamed();
|
|
19348
|
-
}, 5e3), this.startHomeObserver()), this.setupTrigger(), this.startVisionLoop(), window.addEventListener("beforeunload", () => {
|
|
19348
|
+
}, 5e3), this.startHomeObserver()) : this.homeVisible = !1, this.setupTrigger(), this.startVisionLoop(), window.addEventListener("beforeunload", () => {
|
|
19349
19349
|
var e;
|
|
19350
19350
|
(this.state === "active" || this.state === "connecting") && ((e = this.logger) == null || e.flush());
|
|
19351
19351
|
}), console.log("[HolostaffWidget] Initialized", {
|
|
@@ -20039,4 +20039,4 @@ export {
|
|
|
20039
20039
|
st as y,
|
|
20040
20040
|
Gr as z
|
|
20041
20041
|
};
|
|
20042
|
-
//# sourceMappingURL=index-
|
|
20042
|
+
//# sourceMappingURL=index-BI6e3Gpf.js.map
|