@absolutejs/absolute 0.19.0-beta.710 → 0.19.0-beta.711

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.
@@ -9665,7 +9665,8 @@ class DeferSlotComponent {
9665
9665
  if (this.registerServerSlot()) {
9666
9666
  return;
9667
9667
  }
9668
- const consumers = window.__ABS_SLOT_CONSUMERS__ = window.__ABS_SLOT_CONSUMERS__ ?? {};
9668
+ const absoluteWindow = window;
9669
+ const consumers = absoluteWindow.__ABS_SLOT_CONSUMERS__ = absoluteWindow.__ABS_SLOT_CONSUMERS__ ?? {};
9669
9670
  consumers[id] = (payload) => {
9670
9671
  if (!this.runtimeReady())
9671
9672
  return false;
@@ -9681,7 +9682,8 @@ class DeferSlotComponent {
9681
9682
  requestAnimationFrame(() => {
9682
9683
  this.runtimeReady.set(true);
9683
9684
  this.cdr.markForCheck();
9684
- window.__ABS_SLOT_FLUSH__?.();
9685
+ const absoluteWindow = window;
9686
+ absoluteWindow.__ABS_SLOT_FLUSH__?.();
9685
9687
  });
9686
9688
  }
9687
9689
  ngOnDestroy() {
@@ -9690,7 +9692,8 @@ class DeferSlotComponent {
9690
9692
  const { id } = this;
9691
9693
  if (!id)
9692
9694
  return;
9693
- delete window.__ABS_SLOT_CONSUMERS__?.[id];
9695
+ const absoluteWindow = window;
9696
+ delete absoluteWindow.__ABS_SLOT_CONSUMERS__?.[id];
9694
9697
  }
9695
9698
  registerServerSlot() {
9696
9699
  const { id, resolve } = this;
@@ -9963,20 +9966,22 @@ class StreamSlotComponent {
9963
9966
  this.currentHtml.set(this.sanitizer.bypassSecurityTrustHtml(this.fallbackHtml));
9964
9967
  return;
9965
9968
  }
9966
- const consumers = window.__ABS_SLOT_CONSUMERS__ = window.__ABS_SLOT_CONSUMERS__ ?? {};
9969
+ const absoluteWindow = window;
9970
+ const consumers = absoluteWindow.__ABS_SLOT_CONSUMERS__ = absoluteWindow.__ABS_SLOT_CONSUMERS__ ?? {};
9967
9971
  consumers[this.id] = this.slotConsumer;
9968
9972
  this.currentHtml.set(this.sanitizer.bypassSecurityTrustHtml(this.fallbackHtml));
9969
- const pendingPayload = window.__ABS_SLOT_PENDING__?.[this.id];
9973
+ const pendingPayload = absoluteWindow.__ABS_SLOT_PENDING__?.[this.id];
9970
9974
  if (pendingPayload !== undefined) {
9971
9975
  this.slotConsumer(pendingPayload);
9972
- delete window.__ABS_SLOT_PENDING__?.[this.id];
9976
+ delete absoluteWindow.__ABS_SLOT_PENDING__?.[this.id];
9973
9977
  }
9974
9978
  }
9975
9979
  ngOnDestroy() {
9976
9980
  if (typeof window === "undefined")
9977
9981
  return;
9978
- if (window.__ABS_SLOT_CONSUMERS__) {
9979
- delete window.__ABS_SLOT_CONSUMERS__[this.id];
9982
+ const absoluteWindow = window;
9983
+ if (absoluteWindow.__ABS_SLOT_CONSUMERS__) {
9984
+ delete absoluteWindow.__ABS_SLOT_CONSUMERS__[this.id];
9980
9985
  }
9981
9986
  }
9982
9987
  }
@@ -10038,5 +10043,5 @@ export {
10038
10043
  DeferErrorTemplateDirective
10039
10044
  };
10040
10045
 
10041
- //# debugId=962E15F70886AF6C64756E2164756E21
10046
+ //# debugId=19C35C0CD74383F764756E2164756E21
10042
10047
  //# sourceMappingURL=browser.js.map