@roomle/web-sdk 5.0.0-alpha.2 → 5.0.0-alpha.3

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 (38) hide show
  1. package/lib/ConfiguratorKernel.wasm +0 -0
  2. package/lib/RoomleCore.wasm +0 -0
  3. package/lib/RoomleToolsCore.wasm +0 -0
  4. package/lib/{api-_uapNMXJ.mjs → api-BxmKgu9j.mjs} +2 -2
  5. package/lib/{api-_uapNMXJ.mjs.map → api-BxmKgu9j.mjs.map} +1 -1
  6. package/lib/budgeteer.sw-BUMElkO1.mjs.map +1 -1
  7. package/lib/configurator-C7xmJwai.mjs +2 -0
  8. package/lib/{configurator-775XGXt7.mjs → configurator-C_yEkgLK.mjs} +3 -3
  9. package/lib/{configurator-775XGXt7.mjs.map → configurator-C_yEkgLK.mjs.map} +1 -1
  10. package/lib/glb-viewer-BGoRQgDS.mjs +2 -0
  11. package/lib/{glb-viewer-zeePqoAF.mjs → glb-viewer-eagko6uS.mjs} +3 -3
  12. package/lib/{glb-viewer-zeePqoAF.mjs.map → glb-viewer-eagko6uS.mjs.map} +1 -1
  13. package/lib/{homag-intelligence-AJ5cG6sO.mjs → homag-intelligence-CoVomYm0.mjs} +3 -3
  14. package/lib/{homag-intelligence-AJ5cG6sO.mjs.map → homag-intelligence-CoVomYm0.mjs.map} +1 -1
  15. package/lib/{material-viewer-A-EWqr8E.mjs → material-viewer-BKdC2g0S.mjs} +3 -3
  16. package/lib/{material-viewer-A-EWqr8E.mjs.map → material-viewer-BKdC2g0S.mjs.map} +1 -1
  17. package/lib/{packages-DQIp7goa.mjs → packages-C-_oZzj7.mjs} +5 -5
  18. package/lib/{packages-DQIp7goa.mjs.map → packages-C-_oZzj7.mjs.map} +1 -1
  19. package/lib/planner-BXuQBuos.mjs +2 -0
  20. package/lib/{planner-COj-8vjv.mjs → planner-jaBJ_YJc.mjs} +3 -3
  21. package/lib/{planner-COj-8vjv.mjs.map → planner-jaBJ_YJc.mjs.map} +1 -1
  22. package/lib/roomle-headless.js +7 -7
  23. package/lib/{roomle-sdk-BfbERUK3.mjs → roomle-sdk-BmPd9eaY.mjs} +59 -49
  24. package/lib/roomle-sdk-BmPd9eaY.mjs.map +1 -0
  25. package/lib/roomle-sdk.js +6 -6
  26. package/lib/{script-loader-VBJ59aAf.mjs → script-loader-BrvaxyRP.mjs} +2 -2
  27. package/lib/{script-loader-VBJ59aAf.mjs.map → script-loader-BrvaxyRP.mjs.map} +1 -1
  28. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
  29. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  30. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  31. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  32. package/lib/{tools-core-Dj7M_Fqz.mjs → tools-core-CMfJ4fmh.mjs} +3 -3
  33. package/lib/{tools-core-Dj7M_Fqz.mjs.map → tools-core-CMfJ4fmh.mjs.map} +1 -1
  34. package/package.json +2 -2
  35. package/lib/configurator-AsfKvlbu.mjs +0 -2
  36. package/lib/glb-viewer-BxoR_l9C.mjs +0 -2
  37. package/lib/planner-B8g2qQA_.mjs +0 -2
  38. package/lib/roomle-sdk-BfbERUK3.mjs.map +0 -1
@@ -37297,13 +37297,13 @@ var Cc = () => {
37297
37297
  return e.CONFIGURATOR = "configurator", e.PLANNER = "planner", e.GLB_VIEWER = "glb-viewer", e.MATERIAL_VIEWER = "material-viewer", e.TOOLS_CORE = "tools-core", e;
37298
37298
  }({}), Hc = class {
37299
37299
  constructor(e) {
37300
- e ? this._context = e : this._context = sy.getContext(this.getContextName()), window.TWEEN || (window.TWEEN = new We()), Vc.start("loadingTime");
37300
+ e ? this._context = e : this._context = uy.getContext(this.getContextName()), window.TWEEN || (window.TWEEN = new We()), Vc.start("loadingTime");
37301
37301
  }
37302
37302
  _setupCommonGlobals() {
37303
37303
  window.__RML__DEBUG__ || (window.__RML__DEBUG__ = {}), window.__RML__ENV__ || (window.__RML__ENV__ = {}, window.__RML__ENV__.assetPath || (window.__RML__ENV__.assetPath = ""));
37304
37304
  }
37305
37305
  _setupCommonDependencies() {
37306
- sy.setup(oy);
37306
+ uy.setup(ly);
37307
37307
  let e = Fc();
37308
37308
  this.lookup("global-init-data").setOverrides(e), this.lookup("init-data", this._context).setOverrides(e);
37309
37309
  }
@@ -37340,7 +37340,7 @@ var Cc = () => {
37340
37340
  e && this.lookup("dom-helper", this._context).setDomElement(e), this.lookup("life-cycle-manager", this._context).resume();
37341
37341
  }
37342
37342
  destroy() {
37343
- this.pause(), this.lookup("life-cycle-manager", this._context).destroy(), sy.cleanUp(this._context);
37343
+ this.pause(), this.lookup("life-cycle-manager", this._context).destroy(), uy.cleanUp(this._context);
37344
37344
  }
37345
37345
  getRapiAccess() {
37346
37346
  return this.lookup("rapi-access", this._context);
@@ -37982,10 +37982,14 @@ var Cc = () => {
37982
37982
  }
37983
37983
  _adjustGroup(e, t, n) {
37984
37984
  let r = n.rooms?.[0] ?? { levels: [] }, i = this._updatePosData(e, (e, n) => {
37985
+ let i = e.roots.filter((e) => e.isGenerated).map((e) => Lr(e));
37985
37986
  try {
37986
37987
  delete e.repositioningData;
37987
- let i = n.groupAdjust(e, t, r), { group: a, changed: o } = new gl(n.calculateGroup(i)).arrangeRootModules();
37988
- return o ? n.calculateGroup(a) : a;
37988
+ let a = n.groupAdjust(e, t, r), { group: o, changed: s } = new gl(n.calculateGroup(a)).arrangeRootModules(), c = i.filter((e) => !o.roots.some((t) => t.id === e.id));
37989
+ return s || c.length > 0 ? n.calculateGroup({
37990
+ ...o,
37991
+ roots: [...o.roots, ...c]
37992
+ }) : o;
37989
37993
  } catch (e) {
37990
37994
  console.error("Error adjusting group:", e);
37991
37995
  }
@@ -41620,7 +41624,7 @@ var dd = (e, t) => !e.sort && !t.sort ? 0 : e.sort ? t.sort ? e.sort - t.sort :
41620
41624
  initSceneManager(e) {
41621
41625
  if (e) this._sceneManager = e;
41622
41626
  else {
41623
- let e = sy.lookup("configurator-scene-manager", this._creator_);
41627
+ let e = uy.lookup("configurator-scene-manager", this._creator_);
41624
41628
  if (!e) throw Error("Failed to resolve configurator-scene-manager from DI container");
41625
41629
  this._sceneManager = e;
41626
41630
  }
@@ -42352,7 +42356,7 @@ var dd = (e, t) => !e.sort && !t.sort ? 0 : e.sort ? t.sort ? e.sort - t.sort :
42352
42356
  return this._sceneManager.getComponent(e);
42353
42357
  }
42354
42358
  async getTools() {
42355
- let e = sy.lookup("roomle-tools-core", this._creator_);
42359
+ let e = uy.lookup("roomle-tools-core", this._creator_);
42356
42360
  if (!e) throw Error("Failed to resolve roomle-tools-core from DI container");
42357
42361
  return await e.init(), e;
42358
42362
  }
@@ -43829,7 +43833,7 @@ var Xd = /* @__PURE__ */ function(e) {
43829
43833
  return this.getMeshGenerator().materialQueue;
43830
43834
  }
43831
43835
  _getKernelAccess() {
43832
- let e = sy.lookup("planner-kernel-access", this._creator_);
43836
+ let e = uy.lookup("planner-kernel-access", this._creator_);
43833
43837
  if (!e) throw Error("PlannerKernelAccess not found in dependency injection");
43834
43838
  return e;
43835
43839
  }
@@ -48836,7 +48840,7 @@ var ah = class {
48836
48840
  }
48837
48841
  get viewModel() {
48838
48842
  if (!this._viewModel) {
48839
- let e = sy.lookup("configurator-view-model", this._creator_);
48843
+ let e = uy.lookup("configurator-view-model", this._creator_);
48840
48844
  if (!e) throw Error("ConfiguratorSceneManager: configurator-view-model not found in DI container");
48841
48845
  this._viewModel = e, this._viewModel.setRequestRenderCallback(() => this._renderEverything()), this._viewModel.setRequestRenderSceneUpdateCallback(() => this._roomleRenderer?.clearCache()), this._viewModel.setInvalidateRenderCallback(() => this._roomleRenderer?.forceShadowUpdates(!0));
48842
48846
  }
@@ -54839,7 +54843,7 @@ var K_ = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
54839
54843
  async switchToConfigurator() {
54840
54844
  let e = await this._singlePromiseFactory.create(Ba.START_HSC, "startHSC", (e) => {
54841
54845
  if (this._hscInstance) return e(this._hscInstance);
54842
- import("./configurator-AsfKvlbu.mjs").then(({ Configurator: t }) => {
54846
+ import("./configurator-C7xmJwai.mjs").then(({ Configurator: t }) => {
54843
54847
  let n = new t(this._creator_);
54844
54848
  n.boot({
54845
54849
  kernelInstance: this._planInteractionManager.getConfiguratorKernel(),
@@ -54857,7 +54861,7 @@ var K_ = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
54857
54861
  async switchToViewer() {
54858
54862
  let e = await this._singlePromiseFactory.create(Ba.START_GLB, "startGLB", (e) => {
54859
54863
  if (this._glbInstance) return e(this._glbInstance);
54860
- import("./glb-viewer-BxoR_l9C.mjs").then((t) => {
54864
+ import("./glb-viewer-BGoRQgDS.mjs").then((t) => {
54861
54865
  let n = new t.GlbViewer(this._creator_);
54862
54866
  n.boot(), n.getApi().setOverrides(this._initData);
54863
54867
  let r = this._domHelper.element;
@@ -55776,7 +55780,7 @@ var K_ = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
55776
55780
  globalInitData: JSON.parse(JSON.stringify(this._globalInitData))
55777
55781
  }, "*", [t.port2]);
55778
55782
  let n = D_(t.port1), r = null;
55779
- this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new G_(this._creator_, r)), await new (await (import("./homag-intelligence-AJ5cG6sO.mjs"))).HomagIntelligence(this, e, n).loadSavedPosData(), this._initData.hi?.libraryId && await this.loadExternalObjectLibrary(this._initData.hi.libraryId, r ?? void 0);
55783
+ this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new G_(this._creator_, r)), await new (await (import("./homag-intelligence-CoVomYm0.mjs"))).HomagIntelligence(this, e, n).loadSavedPosData(), this._initData.hi?.libraryId && await this.loadExternalObjectLibrary(this._initData.hi.libraryId, r ?? void 0);
55780
55784
  }
55781
55785
  async _loadHomagIntelligenceArticles(e, t) {
55782
55786
  let n = this._homagIntelligence;
@@ -59154,7 +59158,11 @@ var Gv = class {
59154
59158
  floatPrecision: 0
59155
59159
  });
59156
59160
  return r || t;
59157
- }, ry = 13, iy = class e {
59161
+ }, ry = 13, iy = Math.cos(fn.degToRad(5)), ay = "y", oy = (e, t, n, r) => {
59162
+ if (e !== ay) return;
59163
+ let i = L(t.origin).y + sr(t.size).y;
59164
+ n.setY(i), r.setY(i);
59165
+ }, sy = class e {
59158
59166
  static {
59159
59167
  this.SVG_BASE_SIZE = 512;
59160
59168
  }
@@ -59192,18 +59200,20 @@ var Gv = class {
59192
59200
  let i = this._plannerKernelAccess.kernelInstance.getComponent(n.runtimeId), a = i.dimensionings || [], { width: o, height: s } = this.svgRenderer.getSize(), c = (e) => {
59193
59201
  let n = e.clone().project(t);
59194
59202
  return new D(n.x * o / 2, -n.y * s / 2, 0);
59195
- }, l = o / 2 / ((t.right - t.left) / 2 * 1e3), u = this.svgRenderer.domElement, d = i.dimensioningAxes || [];
59203
+ }, l = o / 2 / ((t.right - t.left) / 2 * 1e3), u = this.svgRenderer.domElement, d = i.dimensioningAxes || [], f = t.getWorldDirection(new D());
59196
59204
  n.updateMatrixWorld(!0), a.forEach((t) => {
59197
- let a = t.from / 1e3, o = t.to / 1e3, s, f, p = d.find((e) => e.key === t.axis);
59198
- if (p) {
59199
- let e = L(p.origin), t = L(p.direction).normalize();
59200
- s = e.clone().addScaledVector(t, a), f = e.clone().addScaledVector(t, o);
59205
+ let a = t.from / 1e3, o = t.to / 1e3, s, p, m = d.find((e) => e.key === t.axis);
59206
+ if (m) {
59207
+ let e = L(m.origin), t = L(m.direction).normalize();
59208
+ s = e.clone().addScaledVector(t, a), p = e.clone().addScaledVector(t, o), oy(m.key, i.boxForMeasurement, s, p);
59201
59209
  } else {
59202
59210
  let e = xd(r, t.axis, i.boxForMeasurement, a, o);
59203
59211
  if (!e) return;
59204
- s = e.fromPoint, f = e.toPoint;
59212
+ s = e.fromPoint, p = e.toPoint;
59205
59213
  }
59206
- s.applyMatrix4(n.matrixWorld), f.applyMatrix4(n.matrixWorld), wd(u, c(s), c(f), e.SVG_PADDING, ry, "mm", l);
59214
+ s.applyMatrix4(n.matrixWorld), p.applyMatrix4(n.matrixWorld);
59215
+ let h = new D().subVectors(p, s).normalize();
59216
+ Math.abs(h.dot(f)) > iy || wd(u, c(s), c(p), e.SVG_PADDING, ry, "mm", l);
59207
59217
  });
59208
59218
  }
59209
59219
  render(e, t) {
@@ -59228,10 +59238,10 @@ var Gv = class {
59228
59238
  return wd(h, s(f), s(p), -e.SVG_PADDING, ry, "mm", c), wd(h, s(p), s(m), -e.SVG_PADDING, ry, "mm", c), this.exportSvgAsString();
59229
59239
  }
59230
59240
  };
59231
- I([F, P("design:type", Object)], iy.prototype, "_plannerKernelAccess", void 0);
59241
+ I([F, P("design:type", Object)], sy.prototype, "_plannerKernelAccess", void 0);
59232
59242
  //#endregion
59233
59243
  //#region packages/configurator-core/src/elevation-plan/elevation-plan-2d-generator.ts
59234
- var ay = class {
59244
+ var cy = class {
59235
59245
  constructor(e) {
59236
59246
  this.createCameraForPlanView = (e, t) => {
59237
59247
  let n = new A();
@@ -59280,10 +59290,10 @@ var ay = class {
59280
59290
  return { plans: n };
59281
59291
  }
59282
59292
  };
59283
- I([F, P("design:type", Object)], ay.prototype, "_roomleSvgRenderer", void 0);
59293
+ I([F, P("design:type", Object)], cy.prototype, "_roomleSvgRenderer", void 0);
59284
59294
  //#endregion
59285
59295
  //#region packages/common-core/src/di/injectables.ts
59286
- var oy = [
59296
+ var ly = [
59287
59297
  new H("error-handler", Hi),
59288
59298
  new H("form-data-util", Bi),
59289
59299
  new H("hdr-environment-loader", jv),
@@ -59329,11 +59339,11 @@ var oy = [
59329
59339
  new H("css2-d-renderer-manager", Hv, V.GLOBAL),
59330
59340
  new H("kernel-callback-guard", Uv, V.GLOBAL),
59331
59341
  new H("web-gpu-ground-shadow-reflection", Wv, V.CONTEXT),
59332
- new H("roomle-svg-renderer", iy, V.CONTEXT),
59333
- new H("elevation-plan2d-generator", ay, V.CONTEXT)
59334
- ], sy = class e {
59342
+ new H("roomle-svg-renderer", sy, V.CONTEXT),
59343
+ new H("elevation-plan2d-generator", cy, V.CONTEXT)
59344
+ ], uy = class e {
59335
59345
  static _ensureContainer() {
59336
- return (!window.__RML__DI__ || !window.__RML__DI__.lookup) && (window.__RML__DI__ = new za(), window.__RML__DI__.addDependencyInjectionAssignments(oy)), window.__RML__DI__;
59346
+ return (!window.__RML__DI__ || !window.__RML__DI__.lookup) && (window.__RML__DI__ = new za(), window.__RML__DI__.addDependencyInjectionAssignments(ly)), window.__RML__DI__;
59337
59347
  }
59338
59348
  static setup(t) {
59339
59349
  e.addToContainer(t);
@@ -59350,11 +59360,11 @@ var oy = [
59350
59360
  static addToContainer(t) {
59351
59361
  e._ensureContainer().addDependencyInjectionAssignments(t);
59352
59362
  }
59353
- }, cy = class {
59363
+ }, dy = class {
59354
59364
  static getConfigurator(e, t) {
59355
59365
  t = this._setupDI(K.CONFIGURATOR, e, t);
59356
- let n = sy.lookup("global-init-data");
59357
- return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-AsfKvlbu.mjs").then(({ Configurator: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
59366
+ let n = uy.lookup("global-init-data");
59367
+ return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-C7xmJwai.mjs").then(({ Configurator: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
59358
59368
  }
59359
59369
  static getPlanner(e, t) {
59360
59370
  return this._getPlanner(e, t);
@@ -59364,51 +59374,51 @@ var oy = [
59364
59374
  }
59365
59375
  static async getGlbViewer(e, t) {
59366
59376
  t = this._setupDI(K.GLB_VIEWER, e, t);
59367
- let n = sy.lookup("global-init-data");
59368
- return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-BxoR_l9C.mjs").then(({ GlbViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
59377
+ let n = uy.lookup("global-init-data");
59378
+ return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-BGoRQgDS.mjs").then(({ GlbViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
59369
59379
  }
59370
59380
  static getMaterialViewer(e, t) {
59371
59381
  t = this._setupDI(K.CONFIGURATOR, e, t);
59372
- let n = sy.lookup("global-init-data");
59373
- return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-A-EWqr8E.mjs").then(({ MaterialViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
59382
+ let n = uy.lookup("global-init-data");
59383
+ return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-BKdC2g0S.mjs").then(({ MaterialViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
59374
59384
  }
59375
59385
  static getCoreTools(e, t) {
59376
- return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-Dj7M_Fqz.mjs").then(({ ToolsCore: n }) => {
59386
+ return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-CMfJ4fmh.mjs").then(({ ToolsCore: n }) => {
59377
59387
  let r = new n(t);
59378
59388
  r.boot(), e(r);
59379
59389
  }, n));
59380
59390
  }
59381
59391
  static getRapiAccess() {
59382
- sy.addToContainer([new H("rapi-access", Ra, V.GLOBAL), new H("global-callback", yc, V.GLOBAL)]);
59383
- let e = sy.lookup("rapi-access");
59392
+ uy.addToContainer([new H("rapi-access", Ra, V.GLOBAL), new H("global-callback", yc, V.GLOBAL)]);
59393
+ let e = uy.lookup("rapi-access");
59384
59394
  return e === null ? Promise.reject(/* @__PURE__ */ Error("rapi-access is not available")) : Promise.resolve(e);
59385
59395
  }
59386
59396
  static get callbacks() {
59387
- sy.addToContainer([new H("global-callback", yc, V.GLOBAL)]);
59388
- let e = sy.lookup("global-callback");
59397
+ uy.addToContainer([new H("global-callback", yc, V.GLOBAL)]);
59398
+ let e = uy.lookup("global-callback");
59389
59399
  return e === null ? Promise.reject(/* @__PURE__ */ Error("global-callback is not available")) : Promise.resolve(e);
59390
59400
  }
59391
59401
  static async setGlobalInitData(e) {
59392
59402
  if (e) {
59393
- sy.addToContainer([new H("global-init-data", hc, V.GLOBAL)]);
59394
- let t = sy.lookup("global-init-data");
59403
+ uy.addToContainer([new H("global-init-data", hc, V.GLOBAL)]);
59404
+ let t = uy.lookup("global-init-data");
59395
59405
  if (t === null) throw Error("global-init-data is not available");
59396
59406
  t.setOverrides(e), (await this.getRapiAccess()).setConfiguratorSettings();
59397
59407
  }
59398
59408
  }
59399
59409
  static getContext(e) {
59400
- return sy.getContext(e);
59410
+ return uy.getContext(e);
59401
59411
  }
59402
59412
  static _getPlanner(e, t, n) {
59403
- let r = this._setupDI(K.PLANNER, e, t), i = sy.lookup("global-init-data");
59404
- return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-B8g2qQA_.mjs").then(({ Planner: t }) => {
59413
+ let r = this._setupDI(K.PLANNER, e, t), i = uy.lookup("global-init-data");
59414
+ return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-BXuQBuos.mjs").then(({ Planner: t }) => {
59405
59415
  e(n ? new t(r, n) : new t(r));
59406
59416
  }, t)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
59407
59417
  }
59408
59418
  static _setupDI(e, t, n) {
59409
59419
  if (t) {
59410
- sy.addToContainer([new H("init-data", mc, V.CONTEXT)]), n ||= sy.getContext(e);
59411
- let r = sy.lookup("init-data", n);
59420
+ uy.addToContainer([new H("init-data", mc, V.CONTEXT)]), n ||= uy.getContext(e);
59421
+ let r = uy.lookup("init-data", n);
59412
59422
  if (r === null) throw Error("init-data is not available");
59413
59423
  r.setOverrides(t);
59414
59424
  }
@@ -59416,6 +59426,6 @@ var oy = [
59416
59426
  }
59417
59427
  };
59418
59428
  //#endregion
59419
- export { G as $, rd as A, qc as B, lf as C, Pd as D, X as E, pu as F, kc as G, Hc as H, Al as I, Dc as J, Ac as K, bl as L, Lu as M, Cu as N, Ad as O, bu as P, tc as Q, vl as R, Cf as S, Ud as T, Vc as U, K as V, jc as W, vc as X, bc as Y, hc as Z, Xp as _, jv as a, za as at, wp as b, _v as c, Ra as ct, Ch as d, Yi as dt, xo as et, sh as f, Ui as ft, eh as g, th as h, Wv as i, Ba as it, zu as j, kd as k, mv as l, Pa as lt, ih as m, Li as mt, sy as n, ro as nt, Av as o, V as ot, ah as p, Ri as pt, Oc as q, oy as r, to as rt, kv as s, H as st, cy as t, oo as tt, ev as u, Na as ut, Vp as v, of as w, Tp as x, Lp as y, Jc as z };
59429
+ export { G as $, rd as A, qc as B, lf as C, Pd as D, X as E, pu as F, kc as G, Hc as H, Al as I, Dc as J, Ac as K, bl as L, Lu as M, Cu as N, Ad as O, bu as P, tc as Q, vl as R, Cf as S, Ud as T, Vc as U, K as V, jc as W, vc as X, bc as Y, hc as Z, Xp as _, jv as a, za as at, wp as b, _v as c, Ra as ct, Ch as d, Yi as dt, xo as et, sh as f, Ui as ft, eh as g, th as h, Wv as i, Ba as it, zu as j, kd as k, mv as l, Pa as lt, ih as m, Li as mt, uy as n, ro as nt, Av as o, V as ot, ah as p, Ri as pt, Oc as q, ly as r, to as rt, kv as s, H as st, dy as t, oo as tt, ev as u, Na as ut, Vp as v, of as w, Tp as x, Lp as y, Jc as z };
59420
59430
 
59421
- //# sourceMappingURL=roomle-sdk-BfbERUK3.mjs.map
59431
+ //# sourceMappingURL=roomle-sdk-BmPd9eaY.mjs.map