pptx-angular-viewer 4.1.1 → 4.1.2

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.
@@ -97429,7 +97429,10 @@ function autosaveRecoveryPrompt(input) {
97429
97429
  ageMinutes,
97430
97430
  titleKey: 'pptx.autosave.recovery.title',
97431
97431
  messageKey: 'pptx.autosave.recovery.message',
97432
- messageParams: { file: record.key, size: formatSnapshotSize(record.size) },
97432
+ messageParams: {
97433
+ file: input.displayName?.trim() || record.key,
97434
+ size: formatSnapshotSize(record.size),
97435
+ },
97433
97436
  ageKey: relative.key,
97434
97437
  ageParams: { count: relative.count },
97435
97438
  restoreKey: 'pptx.autosave.recovery.restore',
@@ -97464,7 +97467,7 @@ function shouldShowAutosaveRecoveryPrompt(input) {
97464
97467
  *
97465
97468
  * Never throws: a blocked or missing IndexedDB is "nothing to recover".
97466
97469
  */
97467
- async function probeAutosaveRecovery(filePath, now = Date.now()) {
97470
+ async function probeAutosaveRecovery(filePath, now = Date.now(), displayName) {
97468
97471
  if (typeof indexedDB === 'undefined') {
97469
97472
  return null;
97470
97473
  }
@@ -97475,6 +97478,7 @@ async function probeAutosaveRecovery(filePath, now = Date.now()) {
97475
97478
  ? { key: record.key, timestamp: record.timestamp, size: record.size }
97476
97479
  : undefined,
97477
97480
  now,
97481
+ displayName,
97478
97482
  });
97479
97483
  if (!prompt || !record) {
97480
97484
  return null;
@@ -109796,7 +109800,7 @@ function createLocalStorageBackend(namespace) {
109796
109800
  /** Try IndexedDB first; fall back to localStorage on any failure. */
109797
109801
  async function resolveBackend(dbName, namespace) {
109798
109802
  try {
109799
- const { openChatDb, createIdbBackend } = await import('./pptx-angular-viewer-chat-history-idb-C_DOYqZ-.mjs');
109803
+ const { openChatDb, createIdbBackend } = await import('./pptx-angular-viewer-chat-history-idb-3tv0EF5v.mjs');
109800
109804
  const db = await openChatDb(dbName);
109801
109805
  return createIdbBackend(db);
109802
109806
  }
@@ -111661,6 +111665,12 @@ class ModalDialogComponent {
111661
111665
  /** Optional heading shown in the header bar. */
111662
111666
  this.title = input('', /* @ts-ignore */
111663
111667
  ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
111668
+ /** Prevent Escape, backdrop, close-button and drag dismissal. */
111669
+ this.closeDisabled = input(false, /* @ts-ignore */
111670
+ ...(ngDevMode ? [{ debugName: "closeDisabled" }] : /* istanbul ignore next */ []));
111671
+ /** Expose an in-flight action to assistive technology. */
111672
+ this.busy = input(false, /* @ts-ignore */
111673
+ ...(ngDevMode ? [{ debugName: "busy" }] : /* istanbul ignore next */ []));
111664
111674
  /** Fired on backdrop click, the `×` button, and `Escape`. */
111665
111675
  this.close = output();
111666
111676
  /** Reactive viewport / pointer flags (drives the bottom-sheet layout). */
@@ -111691,6 +111701,9 @@ class ModalDialogComponent {
111691
111701
  inject(DestroyRef).onDestroy(() => this.releaseFocus?.());
111692
111702
  }
111693
111703
  requestClose() {
111704
+ if (this.closeDisabled()) {
111705
+ return;
111706
+ }
111694
111707
  this.close.emit();
111695
111708
  }
111696
111709
  /**
@@ -111734,7 +111747,7 @@ class ModalDialogComponent {
111734
111747
  this.dragY.set(0);
111735
111748
  }
111736
111749
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ModalDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
111737
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: ModalDialogComponent, isStandalone: true, selector: "pptx-modal-dialog", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { close: "close" }, providers: [IsMobileService], viewQueries: [{ propertyName: "panel", first: true, predicate: ["panel"], descendants: true, isSignal: true }], ngImport: i0, template: `
111750
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: ModalDialogComponent, isStandalone: true, selector: "pptx-modal-dialog", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, closeDisabled: { classPropertyName: "closeDisabled", publicName: "closeDisabled", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { close: "close" }, providers: [IsMobileService], viewQueries: [{ propertyName: "panel", first: true, predicate: ["panel"], descendants: true, isSignal: true }], ngImport: i0, template: `
111738
111751
  @if (open()) {
111739
111752
  <div
111740
111753
  class="pptx-ng-modal-backdrop"
@@ -111746,6 +111759,7 @@ class ModalDialogComponent {
111746
111759
  [class]="panelClass()"
111747
111760
  role="dialog"
111748
111761
  aria-modal="true"
111762
+ [attr.aria-busy]="busy() ? 'true' : null"
111749
111763
  tabindex="-1"
111750
111764
  [attr.aria-label]="title() || null"
111751
111765
  [style.transform]="dragY() > 0 ? 'translateY(' + dragY() + 'px)' : null"
@@ -111768,6 +111782,7 @@ class ModalDialogComponent {
111768
111782
  type="button"
111769
111783
  class="pptx-ng-modal-close"
111770
111784
  [attr.aria-label]="'pptx.common.close' | translate"
111785
+ [disabled]="closeDisabled()"
111771
111786
  (click)="requestClose()"
111772
111787
  >
111773
111788
  &times;
@@ -111784,7 +111799,7 @@ class ModalDialogComponent {
111784
111799
  </div>
111785
111800
  </div>
111786
111801
  }
111787
- `, isInline: true, styles: [".pptx-ng-modal-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#00000073}.pptx-ng-modal-panel{display:flex;flex-direction:column;min-width:320px;max-width:min(92vw,480px);max-height:88vh;overflow:hidden;background:var(--pptx-popover, #ffffff);color:var(--pptx-foreground, #111827);border:1px solid var(--pptx-border, #e5e7eb);border-radius:var(--pptx-radius, 8px);box-shadow:0 10px 40px #00000059;overscroll-behavior:contain}.pptx-ng-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--pptx-border, #e5e7eb);touch-action:none}.pptx-ng-modal-title{margin:0;font-size:14px;font-weight:600;line-height:1.4}.pptx-ng-modal-close{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:18px;line-height:1;color:var(--pptx-muted-foreground, #6b7280);background:transparent;border:none;border-radius:4px;cursor:pointer}.pptx-ng-modal-close:hover{color:var(--pptx-foreground, #111827);background:var(--pptx-muted, #f3f4f6)}.pptx-ng-modal-body{padding:16px;overflow-y:auto}.pptx-ng-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--pptx-border, #e5e7eb)}.pptx-ng-modal-footer:empty{display:none}.pptx-ng-modal-backdrop.is-mobile{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel.is-mobile{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}@media(max-width:767px),(pointer:coarse){.pptx-ng-modal-backdrop{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}.pptx-ng-modal-close{width:44px;height:44px;font-size:22px}}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
111802
+ `, isInline: true, styles: [".pptx-ng-modal-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#00000073}.pptx-ng-modal-panel{display:flex;flex-direction:column;min-width:320px;max-width:min(92vw,480px);max-height:88vh;overflow:hidden;background:var(--pptx-popover, #ffffff);color:var(--pptx-foreground, #111827);border:1px solid var(--pptx-border, #e5e7eb);border-radius:var(--pptx-radius, 8px);box-shadow:0 10px 40px #00000059;overscroll-behavior:contain}.pptx-ng-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--pptx-border, #e5e7eb);touch-action:none}.pptx-ng-modal-title{margin:0;font-size:14px;font-weight:600;line-height:1.4}.pptx-ng-modal-close{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:18px;line-height:1;color:var(--pptx-muted-foreground, #6b7280);background:transparent;border:none;border-radius:4px;cursor:pointer}.pptx-ng-modal-close:hover{color:var(--pptx-foreground, #111827);background:var(--pptx-muted, #f3f4f6)}.pptx-ng-modal-close:disabled{cursor:not-allowed;opacity:.55}.pptx-ng-modal-body{padding:16px;overflow-y:auto}.pptx-ng-modal-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--pptx-border, #e5e7eb)}.pptx-ng-modal-footer:empty{display:none}.pptx-ng-modal-backdrop.is-mobile{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel.is-mobile{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}@media(max-width:767px),(pointer:coarse){.pptx-ng-modal-backdrop{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}.pptx-ng-modal-close{width:44px;height:44px;font-size:22px}}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
111788
111803
  }
111789
111804
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ModalDialogComponent, decorators: [{
111790
111805
  type: Component,
@@ -111800,6 +111815,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
111800
111815
  [class]="panelClass()"
111801
111816
  role="dialog"
111802
111817
  aria-modal="true"
111818
+ [attr.aria-busy]="busy() ? 'true' : null"
111803
111819
  tabindex="-1"
111804
111820
  [attr.aria-label]="title() || null"
111805
111821
  [style.transform]="dragY() > 0 ? 'translateY(' + dragY() + 'px)' : null"
@@ -111822,6 +111838,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
111822
111838
  type="button"
111823
111839
  class="pptx-ng-modal-close"
111824
111840
  [attr.aria-label]="'pptx.common.close' | translate"
111841
+ [disabled]="closeDisabled()"
111825
111842
  (click)="requestClose()"
111826
111843
  >
111827
111844
  &times;
@@ -111838,8 +111855,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
111838
111855
  </div>
111839
111856
  </div>
111840
111857
  }
111841
- `, styles: [".pptx-ng-modal-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#00000073}.pptx-ng-modal-panel{display:flex;flex-direction:column;min-width:320px;max-width:min(92vw,480px);max-height:88vh;overflow:hidden;background:var(--pptx-popover, #ffffff);color:var(--pptx-foreground, #111827);border:1px solid var(--pptx-border, #e5e7eb);border-radius:var(--pptx-radius, 8px);box-shadow:0 10px 40px #00000059;overscroll-behavior:contain}.pptx-ng-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--pptx-border, #e5e7eb);touch-action:none}.pptx-ng-modal-title{margin:0;font-size:14px;font-weight:600;line-height:1.4}.pptx-ng-modal-close{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:18px;line-height:1;color:var(--pptx-muted-foreground, #6b7280);background:transparent;border:none;border-radius:4px;cursor:pointer}.pptx-ng-modal-close:hover{color:var(--pptx-foreground, #111827);background:var(--pptx-muted, #f3f4f6)}.pptx-ng-modal-body{padding:16px;overflow-y:auto}.pptx-ng-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--pptx-border, #e5e7eb)}.pptx-ng-modal-footer:empty{display:none}.pptx-ng-modal-backdrop.is-mobile{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel.is-mobile{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}@media(max-width:767px),(pointer:coarse){.pptx-ng-modal-backdrop{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}.pptx-ng-modal-close{width:44px;height:44px;font-size:22px}}\n"] }]
111842
- }], ctorParameters: () => [], propDecorators: { panel: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], close: [{ type: i0.Output, args: ["close"] }] } });
111858
+ `, styles: [".pptx-ng-modal-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#00000073}.pptx-ng-modal-panel{display:flex;flex-direction:column;min-width:320px;max-width:min(92vw,480px);max-height:88vh;overflow:hidden;background:var(--pptx-popover, #ffffff);color:var(--pptx-foreground, #111827);border:1px solid var(--pptx-border, #e5e7eb);border-radius:var(--pptx-radius, 8px);box-shadow:0 10px 40px #00000059;overscroll-behavior:contain}.pptx-ng-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--pptx-border, #e5e7eb);touch-action:none}.pptx-ng-modal-title{margin:0;font-size:14px;font-weight:600;line-height:1.4}.pptx-ng-modal-close{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:18px;line-height:1;color:var(--pptx-muted-foreground, #6b7280);background:transparent;border:none;border-radius:4px;cursor:pointer}.pptx-ng-modal-close:hover{color:var(--pptx-foreground, #111827);background:var(--pptx-muted, #f3f4f6)}.pptx-ng-modal-close:disabled{cursor:not-allowed;opacity:.55}.pptx-ng-modal-body{padding:16px;overflow-y:auto}.pptx-ng-modal-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--pptx-border, #e5e7eb)}.pptx-ng-modal-footer:empty{display:none}.pptx-ng-modal-backdrop.is-mobile{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel.is-mobile{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}@media(max-width:767px),(pointer:coarse){.pptx-ng-modal-backdrop{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}.pptx-ng-modal-close{width:44px;height:44px;font-size:22px}}\n"] }]
111859
+ }], ctorParameters: () => [], propDecorators: { panel: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], closeDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeDisabled", required: false }] }], busy: [{ type: i0.Input, args: [{ isSignal: true, alias: "busy", required: false }] }], close: [{ type: i0.Output, args: ["close"] }] } });
111843
111860
 
111844
111861
  /**
111845
111862
  * autosave-recovery-dialog.component.ts: "we found unsaved changes for this
@@ -111860,6 +111877,9 @@ class AutosaveRecoveryDialogComponent {
111860
111877
  /** The shared descriptor to render, or null to render nothing. */
111861
111878
  this.prompt = input(null, /* @ts-ignore */
111862
111879
  ...(ngDevMode ? [{ debugName: "prompt" }] : /* istanbul ignore next */ []));
111880
+ /** True while the IndexedDB delete is in flight. */
111881
+ this.discarding = input(false, /* @ts-ignore */
111882
+ ...(ngDevMode ? [{ debugName: "discarding" }] : /* istanbul ignore next */ []));
111863
111883
  /** The user accepted: load the snapshot. */
111864
111884
  this.restore = output();
111865
111885
  /** The user declined (also on dismiss): drop the snapshot. */
@@ -111876,17 +111896,19 @@ class AutosaveRecoveryDialogComponent {
111876
111896
  ...(ngDevMode ? [{ debugName: "savedLabel" }] : /* istanbul ignore next */ []));
111877
111897
  }
111878
111898
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AutosaveRecoveryDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
111879
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: AutosaveRecoveryDialogComponent, isStandalone: true, selector: "pptx-autosave-recovery-dialog", inputs: { prompt: { classPropertyName: "prompt", publicName: "prompt", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { restore: "restore", discard: "discard" }, ngImport: i0, template: `
111899
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: AutosaveRecoveryDialogComponent, isStandalone: true, selector: "pptx-autosave-recovery-dialog", inputs: { prompt: { classPropertyName: "prompt", publicName: "prompt", isSignal: true, isRequired: false, transformFunction: null }, discarding: { classPropertyName: "discarding", publicName: "discarding", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { restore: "restore", discard: "discard" }, ngImport: i0, template: `
111880
111900
  @if (prompt(); as offer) {
111881
111901
  <pptx-modal-dialog
111882
111902
  [open]="true"
111883
111903
  [title]="offer.titleKey | translate"
111904
+ [busy]="discarding()"
111905
+ [closeDisabled]="discarding()"
111884
111906
  data-pptx-autosave-recovery="true"
111885
111907
  (close)="discard.emit()"
111886
111908
  >
111887
111909
  <div class="pptx-ng-recovery">
111888
111910
  <div class="pptx-ng-recovery-badge">&#8635;</div>
111889
- <div>
111911
+ <div class="pptx-ng-recovery-copy">
111890
111912
  <p class="pptx-ng-recovery-desc">
111891
111913
  {{ offer.messageKey | translate: offer.messageParams }}
111892
111914
  </p>
@@ -111895,12 +111917,18 @@ class AutosaveRecoveryDialogComponent {
111895
111917
  </div>
111896
111918
 
111897
111919
  <div footer>
111898
- <button type="button" class="pptx-ng-recovery-btn" (click)="discard.emit()">
111920
+ <button
111921
+ type="button"
111922
+ class="pptx-ng-recovery-btn"
111923
+ [disabled]="discarding()"
111924
+ (click)="discard.emit()"
111925
+ >
111899
111926
  {{ offer.discardKey | translate }}
111900
111927
  </button>
111901
111928
  <button
111902
111929
  type="button"
111903
111930
  class="pptx-ng-recovery-btn pptx-ng-recovery-btn-primary"
111931
+ [disabled]="discarding()"
111904
111932
  (click)="restore.emit()"
111905
111933
  >
111906
111934
  {{ offer.restoreKey | translate }}
@@ -111908,7 +111936,7 @@ class AutosaveRecoveryDialogComponent {
111908
111936
  </div>
111909
111937
  </pptx-modal-dialog>
111910
111938
  }
111911
- `, isInline: true, styles: [".pptx-ng-recovery{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-recovery-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-recovery-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-when{margin:.5rem 0 0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-recovery-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-recovery-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-recovery-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
111939
+ `, isInline: true, styles: [".pptx-ng-recovery{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-recovery-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-recovery-copy{min-width:0}.pptx-ng-recovery-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af);overflow-wrap:anywhere}.pptx-ng-recovery-when{margin:.5rem 0 0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-recovery-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-recovery-btn:disabled{cursor:not-allowed;opacity:.55}.pptx-ng-recovery-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-recovery-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
111912
111940
  }
111913
111941
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AutosaveRecoveryDialogComponent, decorators: [{
111914
111942
  type: Component,
@@ -111917,12 +111945,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
111917
111945
  <pptx-modal-dialog
111918
111946
  [open]="true"
111919
111947
  [title]="offer.titleKey | translate"
111948
+ [busy]="discarding()"
111949
+ [closeDisabled]="discarding()"
111920
111950
  data-pptx-autosave-recovery="true"
111921
111951
  (close)="discard.emit()"
111922
111952
  >
111923
111953
  <div class="pptx-ng-recovery">
111924
111954
  <div class="pptx-ng-recovery-badge">&#8635;</div>
111925
- <div>
111955
+ <div class="pptx-ng-recovery-copy">
111926
111956
  <p class="pptx-ng-recovery-desc">
111927
111957
  {{ offer.messageKey | translate: offer.messageParams }}
111928
111958
  </p>
@@ -111931,12 +111961,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
111931
111961
  </div>
111932
111962
 
111933
111963
  <div footer>
111934
- <button type="button" class="pptx-ng-recovery-btn" (click)="discard.emit()">
111964
+ <button
111965
+ type="button"
111966
+ class="pptx-ng-recovery-btn"
111967
+ [disabled]="discarding()"
111968
+ (click)="discard.emit()"
111969
+ >
111935
111970
  {{ offer.discardKey | translate }}
111936
111971
  </button>
111937
111972
  <button
111938
111973
  type="button"
111939
111974
  class="pptx-ng-recovery-btn pptx-ng-recovery-btn-primary"
111975
+ [disabled]="discarding()"
111940
111976
  (click)="restore.emit()"
111941
111977
  >
111942
111978
  {{ offer.restoreKey | translate }}
@@ -111944,8 +111980,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
111944
111980
  </div>
111945
111981
  </pptx-modal-dialog>
111946
111982
  }
111947
- `, styles: [".pptx-ng-recovery{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-recovery-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-recovery-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-when{margin:.5rem 0 0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-recovery-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-recovery-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-recovery-btn-primary:hover{filter:brightness(1.1)}\n"] }]
111948
- }], propDecorators: { prompt: [{ type: i0.Input, args: [{ isSignal: true, alias: "prompt", required: false }] }], restore: [{ type: i0.Output, args: ["restore"] }], discard: [{ type: i0.Output, args: ["discard"] }] } });
111983
+ `, styles: [".pptx-ng-recovery{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-recovery-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-recovery-copy{min-width:0}.pptx-ng-recovery-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af);overflow-wrap:anywhere}.pptx-ng-recovery-when{margin:.5rem 0 0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-recovery-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-recovery-btn:disabled{cursor:not-allowed;opacity:.55}.pptx-ng-recovery-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-recovery-btn-primary:hover{filter:brightness(1.1)}\n"] }]
111984
+ }], propDecorators: { prompt: [{ type: i0.Input, args: [{ isSignal: true, alias: "prompt", required: false }] }], discarding: [{ type: i0.Input, args: [{ isSignal: true, alias: "discarding", required: false }] }], restore: [{ type: i0.Output, args: ["restore"] }], discard: [{ type: i0.Output, args: ["discard"] }] } });
111949
111985
 
111950
111986
  /**
111951
111987
  * autosave-recovery.service.ts: offer a crash-recovery snapshot back to the
@@ -111967,10 +112003,14 @@ class AutosaveRecoveryService {
111967
112003
  /** What the dialog should say, or null when there is nothing to offer. */
111968
112004
  this.prompt = signal(null, /* @ts-ignore */
111969
112005
  ...(ngDevMode ? [{ debugName: "prompt" }] : /* istanbul ignore next */ []));
112006
+ /** The destructive delete is still pending. */
112007
+ this.discarding = signal(false, /* @ts-ignore */
112008
+ ...(ngDevMode ? [{ debugName: "discarding" }] : /* istanbul ignore next */ []));
111970
112009
  this.host = null;
111971
112010
  this.record = null;
111972
112011
  this.checked = false;
111973
112012
  this.destroyed = false;
112013
+ this.actionPending = false;
111974
112014
  }
111975
112015
  bind(host) {
111976
112016
  this.host = host;
@@ -111990,7 +112030,7 @@ class AutosaveRecoveryService {
111990
112030
  return;
111991
112031
  }
111992
112032
  this.checked = true;
111993
- void probeAutosaveRecovery(filePath).then((offer) => {
112033
+ void probeAutosaveRecovery(filePath, Date.now(), host.fileName()).then((offer) => {
111994
112034
  if (offer && !this.destroyed) {
111995
112035
  this.record = offer.record;
111996
112036
  this.prompt.set(offer.prompt);
@@ -112001,6 +112041,10 @@ class AutosaveRecoveryService {
112001
112041
  }
112002
112042
  /** The user accepted: load the snapshot bytes. */
112003
112043
  restore() {
112044
+ if (this.actionPending) {
112045
+ return;
112046
+ }
112047
+ this.actionPending = true;
112004
112048
  const found = this.record;
112005
112049
  this.prompt.set(null);
112006
112050
  this.record = null;
@@ -112010,12 +112054,30 @@ class AutosaveRecoveryService {
112010
112054
  }
112011
112055
  /** The user declined: drop the snapshot. */
112012
112056
  discard() {
112057
+ if (this.actionPending) {
112058
+ return;
112059
+ }
112013
112060
  const found = this.record;
112014
- this.prompt.set(null);
112015
- this.record = null;
112016
- if (found) {
112017
- void discardAutosaveRecovery(found);
112061
+ if (!found) {
112062
+ this.prompt.set(null);
112063
+ return;
112018
112064
  }
112065
+ this.actionPending = true;
112066
+ this.discarding.set(true);
112067
+ void (async () => {
112068
+ try {
112069
+ await discardAutosaveRecovery(found);
112070
+ this.record = null;
112071
+ this.prompt.set(null);
112072
+ }
112073
+ catch {
112074
+ // Leave the prompt open so a failed discard can be retried.
112075
+ }
112076
+ finally {
112077
+ this.actionPending = false;
112078
+ this.discarding.set(false);
112079
+ }
112080
+ })();
112019
112081
  }
112020
112082
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AutosaveRecoveryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
112021
112083
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AutosaveRecoveryService }); }
@@ -112394,7 +112456,7 @@ class BroadcastDialogComponent {
112394
112456
  }
112395
112457
  </div>
112396
112458
  </pptx-modal-dialog>
112397
- `, isInline: true, styles: [".pptx-ng-broadcast{display:flex;flex-direction:column;gap:1rem}.pptx-ng-broadcast-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-broadcast-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-broadcast-input{width:100%;padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-background, #030712);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem}.pptx-ng-broadcast-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-broadcast-link-row{display:flex;align-items:center;gap:.5rem}.pptx-ng-broadcast-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap;transition:background .15s ease}.pptx-ng-broadcast-btn:hover:not(:disabled){background:var(--pptx-border, #374151)}.pptx-ng-broadcast-btn:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-broadcast-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-broadcast-btn-primary:hover:not(:disabled){background:var(--pptx-primary, #6366f1);filter:brightness(1.1)}.pptx-ng-broadcast-stop{width:100%;padding:.5rem .75rem;border:1px solid rgba(239,68,68,.3);border-radius:.375rem;background:#ef44441a;color:#f87171;font-size:.75rem;font-weight:500;cursor:pointer;transition:background .15s ease}.pptx-ng-broadcast-stop:hover{background:#ef444433}.pptx-ng-broadcast-status-row{display:flex;align-items:center;gap:.5rem;font-size:.8125rem}.pptx-ng-broadcast-status-dot{width:.5rem;height:.5rem;border-radius:9999px;background:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-status-dot.is-on{background:#22c55e}.pptx-ng-broadcast-status-text{font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-broadcast-count{margin-left:auto;color:var(--pptx-muted-foreground, #9ca3af)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
112459
+ `, isInline: true, styles: [".pptx-ng-broadcast{display:flex;flex-direction:column;gap:1rem}.pptx-ng-broadcast-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-broadcast-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-broadcast-input{width:100%;padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-background, #030712);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem}.pptx-ng-broadcast-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-broadcast-link-row{display:flex;align-items:center;gap:.5rem}.pptx-ng-broadcast-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap;transition:background .15s ease}.pptx-ng-broadcast-btn:hover:not(:disabled){background:var(--pptx-border, #374151)}.pptx-ng-broadcast-btn:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-broadcast-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-broadcast-btn-primary:hover:not(:disabled){background:var(--pptx-primary, #6366f1);filter:brightness(1.1)}.pptx-ng-broadcast-stop{width:100%;padding:.5rem .75rem;border:1px solid rgba(239,68,68,.3);border-radius:.375rem;background:#ef44441a;color:#f87171;font-size:.75rem;font-weight:500;cursor:pointer;transition:background .15s ease}.pptx-ng-broadcast-stop:hover{background:#ef444433}.pptx-ng-broadcast-status-row{display:flex;align-items:center;gap:.5rem;font-size:.8125rem}.pptx-ng-broadcast-status-dot{width:.5rem;height:.5rem;border-radius:9999px;background:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-status-dot.is-on{background:#22c55e}.pptx-ng-broadcast-status-text{font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-broadcast-count{margin-left:auto;color:var(--pptx-muted-foreground, #9ca3af)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
112398
112460
  }
112399
112461
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: BroadcastDialogComponent, decorators: [{
112400
112462
  type: Component,
@@ -118663,7 +118725,7 @@ class HyperlinkDialogComponent {
118663
118725
  </button>
118664
118726
  </div>
118665
118727
  </pptx-modal-dialog>
118666
- `, isInline: true, styles: [".pptx-ng-hyperlink-form{display:flex;flex-direction:column;gap:12px;min-width:280px}.pptx-ng-hyperlink-field{display:flex;flex-direction:column;gap:4px}.pptx-ng-hyperlink-label{font-size:12px;font-weight:500;color:var(--pptx-muted-foreground, #6b7280)}.pptx-ng-hyperlink-input{width:100%;padding:6px 10px;font-size:13px;color:var(--pptx-foreground, #111827);background:var(--pptx-background, #ffffff);border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;outline:none}.pptx-ng-hyperlink-input:focus{border-color:var(--pptx-primary, #2563eb);box-shadow:0 0 0 1px var(--pptx-primary, #2563eb)}.pptx-ng-hyperlink-btn{padding:6px 12px;font-size:12px;border-radius:4px;border:1px solid transparent;cursor:pointer}.pptx-ng-hyperlink-btn--primary{color:var(--pptx-primary-foreground, #ffffff);background:var(--pptx-primary, #2563eb)}.pptx-ng-hyperlink-btn--secondary{color:var(--pptx-foreground, #111827);background:transparent;border-color:var(--pptx-border, #e5e7eb)}.pptx-ng-hyperlink-btn--ghost{margin-right:auto;color:var(--pptx-destructive, #dc2626);background:transparent}.pptx-ng-hyperlink-btn--secondary:hover,.pptx-ng-hyperlink-btn--ghost:hover{background:var(--pptx-muted, #f3f4f6)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
118728
+ `, isInline: true, styles: [".pptx-ng-hyperlink-form{display:flex;flex-direction:column;gap:12px;min-width:280px}.pptx-ng-hyperlink-field{display:flex;flex-direction:column;gap:4px}.pptx-ng-hyperlink-label{font-size:12px;font-weight:500;color:var(--pptx-muted-foreground, #6b7280)}.pptx-ng-hyperlink-input{width:100%;padding:6px 10px;font-size:13px;color:var(--pptx-foreground, #111827);background:var(--pptx-background, #ffffff);border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;outline:none}.pptx-ng-hyperlink-input:focus{border-color:var(--pptx-primary, #2563eb);box-shadow:0 0 0 1px var(--pptx-primary, #2563eb)}.pptx-ng-hyperlink-btn{padding:6px 12px;font-size:12px;border-radius:4px;border:1px solid transparent;cursor:pointer}.pptx-ng-hyperlink-btn--primary{color:var(--pptx-primary-foreground, #ffffff);background:var(--pptx-primary, #2563eb)}.pptx-ng-hyperlink-btn--secondary{color:var(--pptx-foreground, #111827);background:transparent;border-color:var(--pptx-border, #e5e7eb)}.pptx-ng-hyperlink-btn--ghost{margin-right:auto;color:var(--pptx-destructive, #dc2626);background:transparent}.pptx-ng-hyperlink-btn--secondary:hover,.pptx-ng-hyperlink-btn--ghost:hover{background:var(--pptx-muted, #f3f4f6)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
118667
118729
  }
118668
118730
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: HyperlinkDialogComponent, decorators: [{
118669
118731
  type: Component,
@@ -119785,7 +119847,7 @@ class InsertSmartArtDialogComponent {
119785
119847
  </button>
119786
119848
  </div>
119787
119849
  </pptx-modal-dialog>
119788
- `, isInline: true, styles: [".pptx-sa-insert{display:flex;gap:0;min-width:min(86vw,560px)}.pptx-sa-insert__sidebar{display:flex;flex-direction:column;width:9rem;flex-shrink:0;border-right:1px solid var(--pptx-border, #e5e7eb);padding:.25rem 0}.pptx-sa-insert__cat{text-align:left;padding:.35rem .75rem;font-size:12px;background:transparent;border:none;color:inherit;cursor:pointer}.pptx-sa-insert__cat:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-sa-insert__cat.is-active{background:var(--pptx-primary, #2563eb);color:#fff}.pptx-sa-insert__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:.5rem;padding:.5rem}.pptx-sa-insert__gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;max-height:16rem;overflow-y:auto}.pptx-sa-insert__cell{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.4rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:transparent;color:inherit;cursor:pointer}.pptx-sa-insert__cell:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-sa-insert__cell.is-selected{border-color:var(--pptx-primary, #2563eb);background:color-mix(in srgb,var(--pptx-primary, #2563eb) 18%,transparent)}.pptx-sa-insert__thumb{width:4rem;height:3rem;display:flex;align-items:center;justify-content:center;background:var(--pptx-muted, #f1f5f9);border-radius:4px}.pptx-sa-insert__cell-label{font-size:10px;text-align:center;line-height:1.15}.pptx-sa-insert__text{display:flex;flex-direction:column;gap:.2rem}.pptx-sa-insert__text-label{font-size:10px;color:var(--pptx-muted-foreground, #6b7280)}.pptx-sa-insert__textarea{width:100%;box-sizing:border-box;resize:vertical;font-size:12px;padding:.35rem .5rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-input, #fff);color:inherit}.pptx-sa-insert__footer{display:flex;gap:.5rem;justify-content:flex-end}.pptx-sa-insert__btn{padding:.35rem .85rem;font-size:12px;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-muted, #f1f5f9);color:inherit;cursor:pointer}.pptx-sa-insert__btn--primary{background:var(--pptx-primary, #2563eb);border-color:var(--pptx-primary, #2563eb);color:#fff}.pptx-sa-insert__btn:disabled{opacity:.45;cursor:not-allowed}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: SmartArtPreviewComponent, selector: "pptx-smart-art-preview", inputs: ["layout"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
119850
+ `, isInline: true, styles: [".pptx-sa-insert{display:flex;gap:0;min-width:min(86vw,560px)}.pptx-sa-insert__sidebar{display:flex;flex-direction:column;width:9rem;flex-shrink:0;border-right:1px solid var(--pptx-border, #e5e7eb);padding:.25rem 0}.pptx-sa-insert__cat{text-align:left;padding:.35rem .75rem;font-size:12px;background:transparent;border:none;color:inherit;cursor:pointer}.pptx-sa-insert__cat:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-sa-insert__cat.is-active{background:var(--pptx-primary, #2563eb);color:#fff}.pptx-sa-insert__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:.5rem;padding:.5rem}.pptx-sa-insert__gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;max-height:16rem;overflow-y:auto}.pptx-sa-insert__cell{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.4rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:transparent;color:inherit;cursor:pointer}.pptx-sa-insert__cell:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-sa-insert__cell.is-selected{border-color:var(--pptx-primary, #2563eb);background:color-mix(in srgb,var(--pptx-primary, #2563eb) 18%,transparent)}.pptx-sa-insert__thumb{width:4rem;height:3rem;display:flex;align-items:center;justify-content:center;background:var(--pptx-muted, #f1f5f9);border-radius:4px}.pptx-sa-insert__cell-label{font-size:10px;text-align:center;line-height:1.15}.pptx-sa-insert__text{display:flex;flex-direction:column;gap:.2rem}.pptx-sa-insert__text-label{font-size:10px;color:var(--pptx-muted-foreground, #6b7280)}.pptx-sa-insert__textarea{width:100%;box-sizing:border-box;resize:vertical;font-size:12px;padding:.35rem .5rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-input, #fff);color:inherit}.pptx-sa-insert__footer{display:flex;gap:.5rem;justify-content:flex-end}.pptx-sa-insert__btn{padding:.35rem .85rem;font-size:12px;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-muted, #f1f5f9);color:inherit;cursor:pointer}.pptx-sa-insert__btn--primary{background:var(--pptx-primary, #2563eb);border-color:var(--pptx-primary, #2563eb);color:#fff}.pptx-sa-insert__btn:disabled{opacity:.45;cursor:not-allowed}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: SmartArtPreviewComponent, selector: "pptx-smart-art-preview", inputs: ["layout"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
119789
119851
  }
119790
119852
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: InsertSmartArtDialogComponent, decorators: [{
119791
119853
  type: Component,
@@ -145418,7 +145480,7 @@ class PropertiesDialogComponent {
145418
145480
  </button>
145419
145481
  </div>
145420
145482
  </pptx-modal-dialog>
145421
- `, isInline: true, styles: [".pptx-ng-props-form{display:flex;flex-direction:column;gap:.75rem}.pptx-ng-props-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-props-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-props-input{width:100%;padding:.375rem .75rem;border-radius:.375rem;border:1px solid var(--pptx-border, #2a2a2a);background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5);font-size:.8125rem}.pptx-ng-props-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1);box-shadow:0 0 0 1px var(--pptx-primary, #6366f1)}.pptx-ng-props-meta{display:flex;flex-direction:column;gap:.375rem;padding-top:.5rem;border-top:1px solid var(--pptx-border, #2a2a2a)}.pptx-ng-props-meta-row{display:flex;justify-content:space-between;font-size:.75rem}.pptx-ng-props-meta-label{color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-props-meta-value{color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-props-btn{padding:.375rem .75rem;border:none;border-radius:.375rem;background:var(--pptx-muted, #2a2a2a);color:var(--pptx-foreground, #e5e5e5);font-size:.75rem;cursor:pointer}.pptx-ng-props-btn-primary{background:var(--pptx-primary, #6366f1);color:var(--pptx-primary-foreground, #fff)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
145483
+ `, isInline: true, styles: [".pptx-ng-props-form{display:flex;flex-direction:column;gap:.75rem}.pptx-ng-props-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-props-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-props-input{width:100%;padding:.375rem .75rem;border-radius:.375rem;border:1px solid var(--pptx-border, #2a2a2a);background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5);font-size:.8125rem}.pptx-ng-props-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1);box-shadow:0 0 0 1px var(--pptx-primary, #6366f1)}.pptx-ng-props-meta{display:flex;flex-direction:column;gap:.375rem;padding-top:.5rem;border-top:1px solid var(--pptx-border, #2a2a2a)}.pptx-ng-props-meta-row{display:flex;justify-content:space-between;font-size:.75rem}.pptx-ng-props-meta-label{color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-props-meta-value{color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-props-btn{padding:.375rem .75rem;border:none;border-radius:.375rem;background:var(--pptx-muted, #2a2a2a);color:var(--pptx-foreground, #e5e5e5);font-size:.75rem;cursor:pointer}.pptx-ng-props-btn-primary{background:var(--pptx-primary, #6366f1);color:var(--pptx-primary-foreground, #fff)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
145422
145484
  }
145423
145485
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PropertiesDialogComponent, decorators: [{
145424
145486
  type: Component,
@@ -151179,7 +151241,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
151179
151241
  }], propDecorators: { canEdit: [{ type: i0.Input, args: [{ isSignal: true, alias: "canEdit", required: false }] }], slideIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "slideIndex", required: false }] }], selectedElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedElement", required: false }] }] } });
151180
151242
 
151181
151243
  // Generated by scripts/inline-shared.mjs from package.json. Do not edit.
151182
- const PPTX_ANGULAR_VIEWER_VERSION = "4.1.0";
151244
+ const PPTX_ANGULAR_VIEWER_VERSION = "4.1.1";
151183
151245
 
151184
151246
  /**
151185
151247
  * account-page.component.ts: File > Account content.
@@ -156149,7 +156211,7 @@ class ShareDialogComponent {
156149
156211
  this.stop.emit();
156150
156212
  }
156151
156213
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ShareDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
156152
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: ShareDialogComponent, isStandalone: true, selector: "pptx-share-dialog", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, defaults: { classPropertyName: "defaults", publicName: "defaults", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, connected: { classPropertyName: "connected", publicName: "connected", isSignal: true, isRequired: false, transformFunction: null }, userCount: { classPropertyName: "userCount", publicName: "userCount", isSignal: true, isRequired: false, transformFunction: null }, shareUrl: { classPropertyName: "shareUrl", publicName: "shareUrl", isSignal: true, isRequired: false, transformFunction: null }, p2p: { classPropertyName: "p2p", publicName: "p2p", isSignal: true, isRequired: false, transformFunction: null }, activeRoomId: { classPropertyName: "activeRoomId", publicName: "activeRoomId", isSignal: true, isRequired: false, transformFunction: null }, activeServerUrl: { classPropertyName: "activeServerUrl", publicName: "activeServerUrl", isSignal: true, isRequired: false, transformFunction: null }, users: { classPropertyName: "users", publicName: "users", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { start: "start", stop: "stop", close: "close" }, ngImport: i0, template: "<pptx-modal-dialog\n\t[open]=\"open()\"\n\t[title]=\"(active() ? 'pptx.share.activeTitle' : 'pptx.toolbar.share') | translate\"\n\t(close)=\"close.emit()\"\n>\n\t@if (active()) {\n\t\t<div class=\"pptx-ng-share-active\">\n\t\t\t<div class=\"pptx-ng-share-status-row\">\n\t\t\t\t<span class=\"pptx-ng-share-status-dot\" [class.is-on]=\"connected()\"></span>\n\t\t\t\t<span class=\"pptx-ng-share-status-text\">\n\t\t\t\t\t{{\n\t\t\t\t\t\t(connected() ? 'pptx.collaboration.status.connected' : 'pptx.share.connecting')\n\t\t\t\t\t\t\t| translate\n\t\t\t\t\t}}\n\t\t\t\t</span>\n\t\t\t\t<span class=\"pptx-ng-share-count\">\n\t\t\t\t\t{{ userCount() }}\n\t\t\t\t\t{{\n\t\t\t\t\t\t(userCount() === 1 ? 'pptx.share.participantSingular' : 'pptx.share.participantPlural')\n\t\t\t\t\t\t\t| translate\n\t\t\t\t\t}}\n\t\t\t\t</span>\n\t\t\t</div>\n\n\t\t\t@if (activeRoomId()) {\n\t\t\t\t<div class=\"pptx-ng-share-details-row\">\n\t\t\t\t\t<span>\n\t\t\t\t\t\t{{ 'pptx.share.room' | translate }}\n\t\t\t\t\t\t<code>{{ activeRoomId() }}</code>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t{{ 'pptx.share.server' | translate }}\n\t\t\t\t\t\t<code>{{ p2p() ? ('pptx.share.p2pServerValue' | translate) : activeServerUrl() }}</code>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t} @else if (p2p()) {\n\t\t\t\t<div class=\"pptx-ng-share-status-row\">\n\t\t\t\t\t<span class=\"pptx-ng-share-count\" style=\"margin-left: 0\">\n\t\t\t\t\t\t{{ 'pptx.share.p2pServerValue' | translate }}\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t@if (shareUrl()) {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label class=\"pptx-ng-share-label\">{{ 'pptx.share.shareLink' | translate }}</label>\n\t\t\t\t\t<div class=\"pptx-ng-share-link-row\">\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\treadonly\n\t\t\t\t\t\t\t[value]=\"shareUrl()\"\n\t\t\t\t\t\t\t(focus)=\"selectAll($event)\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tclass=\"pptx-ng-share-btn\"\n\t\t\t\t\t\t\t[disabled]=\"!canCopy()\"\n\t\t\t\t\t\t\t(click)=\"onCopyLink()\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{ (copied() ? 'pptx.share.copied' : 'pptx.share.copyLinkButton') | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.shareHint' | translate }}</p>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t@if (users().length > 0) {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label class=\"pptx-ng-share-label\">{{ 'pptx.share.connectedUsers' | translate }}</label>\n\t\t\t\t\t<div class=\"pptx-ng-share-users\">\n\t\t\t\t\t\t@for (user of users(); track user.id) {\n\t\t\t\t\t\t\t<div class=\"pptx-ng-share-user\">\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-avatar\" [style.background-color]=\"user.color\">\n\t\t\t\t\t\t\t\t\t@if (user.avatarUrl) {\n\t\t\t\t\t\t\t\t\t\t<img [src]=\"user.avatarUrl\" alt=\"\" />\n\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t<ng-container>{{ user.initials }}</ng-container>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-name\">{{ user.name }}</span>\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-meta\">\n\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\tuser.isLocal\n\t\t\t\t\t\t\t\t\t\t\t? ('pptx.share.you' | translate)\n\t\t\t\t\t\t\t\t\t\t\t: ('pptx.notes.slideN' | translate: { n: user.slideNumber })\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<button type=\"button\" class=\"pptx-ng-share-stop\" (click)=\"handleStop()\">\n\t\t\t\t{{ 'pptx.share.stopSharing' | translate }}\n\t\t\t</button>\n\t\t</div>\n\t} @else {\n\t\t<div class=\"pptx-ng-share-form\">\n\t\t\t<div class=\"pptx-ng-share-tabs\" role=\"tablist\">\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t[attr.aria-selected]=\"mode() === 'create'\"\n\t\t\t\t\t(click)=\"mode.set('create')\"\n\t\t\t\t>\n\t\t\t\t\t{{ 'pptx.share.createSession' | translate }}\n\t\t\t\t</button>\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t[attr.aria-selected]=\"mode() === 'join'\"\n\t\t\t\t\t(click)=\"mode.set('join')\"\n\t\t\t\t>\n\t\t\t\t\t{{ 'pptx.share.joinSession' | translate }}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<p class=\"pptx-ng-share-desc\">\n\t\t\t\t{{\n\t\t\t\t\t(mode() === 'join' ? 'pptx.share.joinDescription' : 'pptx.share.formDescription')\n\t\t\t\t\t\t| translate\n\t\t\t\t}}\n\t\t\t</p>\n\n\t\t\t@if (mode() === 'join') {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label for=\"pptx-ng-share-invitation\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t\t'pptx.share.invitationLabel' | translate\n\t\t\t\t\t}}</label>\n\t\t\t\t\t<input\n\t\t\t\t\t\tid=\"pptx-ng-share-invitation\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t[attr.placeholder]=\"'pptx.share.invitationPlaceholder' | translate\"\n\t\t\t\t\t\t[value]=\"invitation()\"\n\t\t\t\t\t\t(input)=\"invitation.set(asValue($event))\"\n\t\t\t\t\t/>\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.invitationHint' | translate }}</p>\n\t\t\t\t</div>\n\t\t\t} @else {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label for=\"pptx-ng-share-room\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t\t'pptx.share.roomId' | translate\n\t\t\t\t\t}}</label>\n\t\t\t\t\t<input\n\t\t\t\t\t\tid=\"pptx-ng-share-room\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t[attr.placeholder]=\"'pptx.share.roomIdPlaceholder' | translate\"\n\t\t\t\t\t\t[value]=\"roomId()\"\n\t\t\t\t\t\t(input)=\"roomId.set(asValue($event))\"\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t<label for=\"pptx-ng-share-name\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t'pptx.share.yourName' | translate\n\t\t\t\t}}</label>\n\t\t\t\t<input\n\t\t\t\t\tid=\"pptx-ng-share-name\"\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t[attr.placeholder]=\"'pptx.share.yourNamePlaceholder' | translate\"\n\t\t\t\t\t[value]=\"userName()\"\n\t\t\t\t\t(input)=\"userName.set(asValue($event))\"\n\t\t\t\t/>\n\t\t\t</div>\n\n\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t<label for=\"pptx-ng-share-server\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t'pptx.share.serverUrl' | translate\n\t\t\t\t}}</label>\n\t\t\t\t<input\n\t\t\t\t\tid=\"pptx-ng-share-server\"\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t[attr.placeholder]=\"'pptx.share.serverPlaceholder' | translate\"\n\t\t\t\t\t[value]=\"serverUrl()\"\n\t\t\t\t\t(input)=\"serverUrl.set(asValue($event))\"\n\t\t\t\t/>\n\t\t\t\t@if (isP2p()) {\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.p2pHint' | translate }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t}\n\n\t<div footer>\n\t\t<button type=\"button\" class=\"pptx-ng-share-btn\" (click)=\"close.emit()\">\n\t\t\t{{ (active() ? 'pptx.common.close' : 'pptx.common.cancel') | translate }}\n\t\t</button>\n\t\t@if (!active()) {\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tclass=\"pptx-ng-share-btn pptx-ng-share-btn-primary\"\n\t\t\t\t[disabled]=\"!canStart()\"\n\t\t\t\t(click)=\"handleStart()\"\n\t\t\t>\n\t\t\t\t{{ (mode() === 'join' ? 'pptx.share.joinSession' : 'pptx.share.startSharing') | translate }}\n\t\t\t</button>\n\t\t}\n\t</div>\n</pptx-modal-dialog>\n", styles: [".pptx-ng-share-form,.pptx-ng-share-active{display:flex;flex-direction:column;gap:1rem}.pptx-ng-share-desc{margin:0;font-size:.8125rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.25rem;padding:.25rem;border-radius:.5rem;background:var(--pptx-muted, #2a2a2a)}.pptx-ng-share-tabs button{border:0;border-radius:.375rem;background:transparent;color:var(--pptx-muted-foreground, #9a9a9a);padding:.375rem .625rem;font:500 .75rem/1.2 inherit;cursor:pointer}.pptx-ng-share-tabs button[aria-selected=true]{background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-share-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-input{width:100%;min-width:0;padding:.375rem .75rem;border-radius:.375rem;border:1px solid var(--pptx-border, #2a2a2a);background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5);font-size:.8125rem;box-sizing:border-box}.pptx-ng-share-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1);box-shadow:0 0 0 1px var(--pptx-primary, #6366f1)}.pptx-ng-share-btn{padding:.375rem .75rem;border:none;border-radius:.375rem;background:var(--pptx-muted, #2a2a2a);color:var(--pptx-foreground, #e5e5e5);font-size:.75rem;cursor:pointer}.pptx-ng-share-btn-primary{background:var(--pptx-primary, #6366f1);color:var(--pptx-primary-foreground, #fff)}.pptx-ng-share-btn-primary:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-share-stop{width:100%;padding:.5rem .75rem;border:1px solid rgba(239,68,68,.3);border-radius:.375rem;background:#ef44441a;color:#f87171;font-size:.75rem;font-weight:500;cursor:pointer}.pptx-ng-share-stop:hover{background:#ef444433}.pptx-ng-share-status-row{display:flex;align-items:center;gap:.5rem;font-size:.8125rem}.pptx-ng-share-status-dot{width:.5rem;height:.5rem;border-radius:9999px;background:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-status-dot.is-on{background:#22c55e}.pptx-ng-share-status-text{font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-count{margin-left:auto;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-link-row{display:flex;align-items:center;gap:.5rem}.pptx-ng-share-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-details-row{display:flex;align-items:center;flex-wrap:wrap;gap:.375rem .75rem;font-size:.6875rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-details-row code{font-family:inherit;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-users{max-height:140px;overflow-y:auto;border:1px solid var(--pptx-border, #2a2a2a);border-radius:.375rem;background:var(--pptx-background, #111)}.pptx-ng-share-user{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem}.pptx-ng-share-user:not(:last-child){border-bottom:1px solid var(--pptx-border, #2a2a2a)}.pptx-ng-share-user-avatar{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:9999px;color:#fff;font-size:.5625rem;font-weight:600}.pptx-ng-share-user-avatar img{width:100%;height:100%;border-radius:9999px;object-fit:cover}.pptx-ng-share-user-name{overflow:hidden;font-size:.75rem;color:var(--pptx-foreground, #e5e5e5);text-overflow:ellipsis;white-space:nowrap}.pptx-ng-share-user-meta{margin-left:auto;color:var(--pptx-muted-foreground, #9a9a9a);font-size:.625rem}@media(max-width:767px),(pointer:coarse){.pptx-ng-share-btn{min-height:44px;padding:.5rem .875rem;font-size:.8125rem}.pptx-ng-share-stop,.pptx-ng-share-tabs button{min-height:44px}.pptx-ng-share-input{min-height:44px;font-size:16px}}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
156214
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: ShareDialogComponent, isStandalone: true, selector: "pptx-share-dialog", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, defaults: { classPropertyName: "defaults", publicName: "defaults", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, connected: { classPropertyName: "connected", publicName: "connected", isSignal: true, isRequired: false, transformFunction: null }, userCount: { classPropertyName: "userCount", publicName: "userCount", isSignal: true, isRequired: false, transformFunction: null }, shareUrl: { classPropertyName: "shareUrl", publicName: "shareUrl", isSignal: true, isRequired: false, transformFunction: null }, p2p: { classPropertyName: "p2p", publicName: "p2p", isSignal: true, isRequired: false, transformFunction: null }, activeRoomId: { classPropertyName: "activeRoomId", publicName: "activeRoomId", isSignal: true, isRequired: false, transformFunction: null }, activeServerUrl: { classPropertyName: "activeServerUrl", publicName: "activeServerUrl", isSignal: true, isRequired: false, transformFunction: null }, users: { classPropertyName: "users", publicName: "users", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { start: "start", stop: "stop", close: "close" }, ngImport: i0, template: "<pptx-modal-dialog\n\t[open]=\"open()\"\n\t[title]=\"(active() ? 'pptx.share.activeTitle' : 'pptx.toolbar.share') | translate\"\n\t(close)=\"close.emit()\"\n>\n\t@if (active()) {\n\t\t<div class=\"pptx-ng-share-active\">\n\t\t\t<div class=\"pptx-ng-share-status-row\">\n\t\t\t\t<span class=\"pptx-ng-share-status-dot\" [class.is-on]=\"connected()\"></span>\n\t\t\t\t<span class=\"pptx-ng-share-status-text\">\n\t\t\t\t\t{{\n\t\t\t\t\t\t(connected() ? 'pptx.collaboration.status.connected' : 'pptx.share.connecting')\n\t\t\t\t\t\t\t| translate\n\t\t\t\t\t}}\n\t\t\t\t</span>\n\t\t\t\t<span class=\"pptx-ng-share-count\">\n\t\t\t\t\t{{ userCount() }}\n\t\t\t\t\t{{\n\t\t\t\t\t\t(userCount() === 1 ? 'pptx.share.participantSingular' : 'pptx.share.participantPlural')\n\t\t\t\t\t\t\t| translate\n\t\t\t\t\t}}\n\t\t\t\t</span>\n\t\t\t</div>\n\n\t\t\t@if (activeRoomId()) {\n\t\t\t\t<div class=\"pptx-ng-share-details-row\">\n\t\t\t\t\t<span>\n\t\t\t\t\t\t{{ 'pptx.share.room' | translate }}\n\t\t\t\t\t\t<code>{{ activeRoomId() }}</code>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t{{ 'pptx.share.server' | translate }}\n\t\t\t\t\t\t<code>{{ p2p() ? ('pptx.share.p2pServerValue' | translate) : activeServerUrl() }}</code>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t} @else if (p2p()) {\n\t\t\t\t<div class=\"pptx-ng-share-status-row\">\n\t\t\t\t\t<span class=\"pptx-ng-share-count\" style=\"margin-left: 0\">\n\t\t\t\t\t\t{{ 'pptx.share.p2pServerValue' | translate }}\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t@if (shareUrl()) {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label class=\"pptx-ng-share-label\">{{ 'pptx.share.shareLink' | translate }}</label>\n\t\t\t\t\t<div class=\"pptx-ng-share-link-row\">\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\treadonly\n\t\t\t\t\t\t\t[value]=\"shareUrl()\"\n\t\t\t\t\t\t\t(focus)=\"selectAll($event)\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tclass=\"pptx-ng-share-btn\"\n\t\t\t\t\t\t\t[disabled]=\"!canCopy()\"\n\t\t\t\t\t\t\t(click)=\"onCopyLink()\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{ (copied() ? 'pptx.share.copied' : 'pptx.share.copyLinkButton') | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.shareHint' | translate }}</p>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t@if (users().length > 0) {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label class=\"pptx-ng-share-label\">{{ 'pptx.share.connectedUsers' | translate }}</label>\n\t\t\t\t\t<div class=\"pptx-ng-share-users\">\n\t\t\t\t\t\t@for (user of users(); track user.id) {\n\t\t\t\t\t\t\t<div class=\"pptx-ng-share-user\">\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-avatar\" [style.background-color]=\"user.color\">\n\t\t\t\t\t\t\t\t\t@if (user.avatarUrl) {\n\t\t\t\t\t\t\t\t\t\t<img [src]=\"user.avatarUrl\" alt=\"\" />\n\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t<ng-container>{{ user.initials }}</ng-container>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-name\">{{ user.name }}</span>\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-meta\">\n\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\tuser.isLocal\n\t\t\t\t\t\t\t\t\t\t\t? ('pptx.share.you' | translate)\n\t\t\t\t\t\t\t\t\t\t\t: ('pptx.notes.slideN' | translate: { n: user.slideNumber })\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<button type=\"button\" class=\"pptx-ng-share-stop\" (click)=\"handleStop()\">\n\t\t\t\t{{ 'pptx.share.stopSharing' | translate }}\n\t\t\t</button>\n\t\t</div>\n\t} @else {\n\t\t<div class=\"pptx-ng-share-form\">\n\t\t\t<div class=\"pptx-ng-share-tabs\" role=\"tablist\">\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t[attr.aria-selected]=\"mode() === 'create'\"\n\t\t\t\t\t(click)=\"mode.set('create')\"\n\t\t\t\t>\n\t\t\t\t\t{{ 'pptx.share.createSession' | translate }}\n\t\t\t\t</button>\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t[attr.aria-selected]=\"mode() === 'join'\"\n\t\t\t\t\t(click)=\"mode.set('join')\"\n\t\t\t\t>\n\t\t\t\t\t{{ 'pptx.share.joinSession' | translate }}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<p class=\"pptx-ng-share-desc\">\n\t\t\t\t{{\n\t\t\t\t\t(mode() === 'join' ? 'pptx.share.joinDescription' : 'pptx.share.formDescription')\n\t\t\t\t\t\t| translate\n\t\t\t\t}}\n\t\t\t</p>\n\n\t\t\t@if (mode() === 'join') {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label for=\"pptx-ng-share-invitation\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t\t'pptx.share.invitationLabel' | translate\n\t\t\t\t\t}}</label>\n\t\t\t\t\t<input\n\t\t\t\t\t\tid=\"pptx-ng-share-invitation\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t[attr.placeholder]=\"'pptx.share.invitationPlaceholder' | translate\"\n\t\t\t\t\t\t[value]=\"invitation()\"\n\t\t\t\t\t\t(input)=\"invitation.set(asValue($event))\"\n\t\t\t\t\t/>\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.invitationHint' | translate }}</p>\n\t\t\t\t</div>\n\t\t\t} @else {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label for=\"pptx-ng-share-room\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t\t'pptx.share.roomId' | translate\n\t\t\t\t\t}}</label>\n\t\t\t\t\t<input\n\t\t\t\t\t\tid=\"pptx-ng-share-room\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t[attr.placeholder]=\"'pptx.share.roomIdPlaceholder' | translate\"\n\t\t\t\t\t\t[value]=\"roomId()\"\n\t\t\t\t\t\t(input)=\"roomId.set(asValue($event))\"\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t<label for=\"pptx-ng-share-name\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t'pptx.share.yourName' | translate\n\t\t\t\t}}</label>\n\t\t\t\t<input\n\t\t\t\t\tid=\"pptx-ng-share-name\"\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t[attr.placeholder]=\"'pptx.share.yourNamePlaceholder' | translate\"\n\t\t\t\t\t[value]=\"userName()\"\n\t\t\t\t\t(input)=\"userName.set(asValue($event))\"\n\t\t\t\t/>\n\t\t\t</div>\n\n\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t<label for=\"pptx-ng-share-server\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t'pptx.share.serverUrl' | translate\n\t\t\t\t}}</label>\n\t\t\t\t<input\n\t\t\t\t\tid=\"pptx-ng-share-server\"\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t[attr.placeholder]=\"'pptx.share.serverPlaceholder' | translate\"\n\t\t\t\t\t[value]=\"serverUrl()\"\n\t\t\t\t\t(input)=\"serverUrl.set(asValue($event))\"\n\t\t\t\t/>\n\t\t\t\t@if (isP2p()) {\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.p2pHint' | translate }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t}\n\n\t<div footer>\n\t\t<button type=\"button\" class=\"pptx-ng-share-btn\" (click)=\"close.emit()\">\n\t\t\t{{ (active() ? 'pptx.common.close' : 'pptx.common.cancel') | translate }}\n\t\t</button>\n\t\t@if (!active()) {\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tclass=\"pptx-ng-share-btn pptx-ng-share-btn-primary\"\n\t\t\t\t[disabled]=\"!canStart()\"\n\t\t\t\t(click)=\"handleStart()\"\n\t\t\t>\n\t\t\t\t{{ (mode() === 'join' ? 'pptx.share.joinSession' : 'pptx.share.startSharing') | translate }}\n\t\t\t</button>\n\t\t}\n\t</div>\n</pptx-modal-dialog>\n", styles: [".pptx-ng-share-form,.pptx-ng-share-active{display:flex;flex-direction:column;gap:1rem}.pptx-ng-share-desc{margin:0;font-size:.8125rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.25rem;padding:.25rem;border-radius:.5rem;background:var(--pptx-muted, #2a2a2a)}.pptx-ng-share-tabs button{border:0;border-radius:.375rem;background:transparent;color:var(--pptx-muted-foreground, #9a9a9a);padding:.375rem .625rem;font:500 .75rem/1.2 inherit;cursor:pointer}.pptx-ng-share-tabs button[aria-selected=true]{background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-share-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-input{width:100%;min-width:0;padding:.375rem .75rem;border-radius:.375rem;border:1px solid var(--pptx-border, #2a2a2a);background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5);font-size:.8125rem;box-sizing:border-box}.pptx-ng-share-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1);box-shadow:0 0 0 1px var(--pptx-primary, #6366f1)}.pptx-ng-share-btn{padding:.375rem .75rem;border:none;border-radius:.375rem;background:var(--pptx-muted, #2a2a2a);color:var(--pptx-foreground, #e5e5e5);font-size:.75rem;cursor:pointer}.pptx-ng-share-btn-primary{background:var(--pptx-primary, #6366f1);color:var(--pptx-primary-foreground, #fff)}.pptx-ng-share-btn-primary:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-share-stop{width:100%;padding:.5rem .75rem;border:1px solid rgba(239,68,68,.3);border-radius:.375rem;background:#ef44441a;color:#f87171;font-size:.75rem;font-weight:500;cursor:pointer}.pptx-ng-share-stop:hover{background:#ef444433}.pptx-ng-share-status-row{display:flex;align-items:center;gap:.5rem;font-size:.8125rem}.pptx-ng-share-status-dot{width:.5rem;height:.5rem;border-radius:9999px;background:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-status-dot.is-on{background:#22c55e}.pptx-ng-share-status-text{font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-count{margin-left:auto;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-link-row{display:flex;align-items:center;gap:.5rem}.pptx-ng-share-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-details-row{display:flex;align-items:center;flex-wrap:wrap;gap:.375rem .75rem;font-size:.6875rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-details-row code{font-family:inherit;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-users{max-height:140px;overflow-y:auto;border:1px solid var(--pptx-border, #2a2a2a);border-radius:.375rem;background:var(--pptx-background, #111)}.pptx-ng-share-user{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem}.pptx-ng-share-user:not(:last-child){border-bottom:1px solid var(--pptx-border, #2a2a2a)}.pptx-ng-share-user-avatar{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:9999px;color:#fff;font-size:.5625rem;font-weight:600}.pptx-ng-share-user-avatar img{width:100%;height:100%;border-radius:9999px;object-fit:cover}.pptx-ng-share-user-name{overflow:hidden;font-size:.75rem;color:var(--pptx-foreground, #e5e5e5);text-overflow:ellipsis;white-space:nowrap}.pptx-ng-share-user-meta{margin-left:auto;color:var(--pptx-muted-foreground, #9a9a9a);font-size:.625rem}@media(max-width:767px),(pointer:coarse){.pptx-ng-share-btn{min-height:44px;padding:.5rem .875rem;font-size:.8125rem}.pptx-ng-share-stop,.pptx-ng-share-tabs button{min-height:44px}.pptx-ng-share-input{min-height:44px;font-size:16px}}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
156153
156215
  }
156154
156216
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ShareDialogComponent, decorators: [{
156155
156217
  type: Component,
@@ -164161,7 +164223,7 @@ class OleEditorDialogComponent {
164161
164223
  </button>
164162
164224
  </div>
164163
164225
  </pptx-modal-dialog>
164164
- `, isInline: true, styles: [".pptx-ole-edit-body{display:flex;flex-direction:column;gap:8px;width:min(88vw,560px);font-size:12px}.pptx-ole-edit-status{margin:0;font-size:11px;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ole-edit-error{margin:0;font-size:11px;color:var(--pptx-destructive, #ef4444)}.pptx-ole-edit-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.pptx-ole-edit-file-input{display:none}.pptx-ole-edit-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;transition:background .15s ease}.pptx-ole-edit-btn:hover{background:var(--pptx-border, #374151)}.pptx-ole-edit-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff;font-weight:500}.pptx-ole-edit-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: OleSheetGridEditorComponent, selector: "pptx-ole-sheet-grid-editor", inputs: ["grid"], outputs: ["cellEdit"] }, { kind: "component", type: OleDocumentEditorComponent, selector: "pptx-ole-document-editor", inputs: ["paragraphs"], outputs: ["paragraphEdit"] }, { kind: "component", type: OleDeckEditorComponent, selector: "pptx-ole-deck-editor", inputs: ["slides"], outputs: ["deckElementEdit"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
164226
+ `, isInline: true, styles: [".pptx-ole-edit-body{display:flex;flex-direction:column;gap:8px;width:min(88vw,560px);font-size:12px}.pptx-ole-edit-status{margin:0;font-size:11px;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ole-edit-error{margin:0;font-size:11px;color:var(--pptx-destructive, #ef4444)}.pptx-ole-edit-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.pptx-ole-edit-file-input{display:none}.pptx-ole-edit-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;transition:background .15s ease}.pptx-ole-edit-btn:hover{background:var(--pptx-border, #374151)}.pptx-ole-edit-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff;font-weight:500}.pptx-ole-edit-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: OleSheetGridEditorComponent, selector: "pptx-ole-sheet-grid-editor", inputs: ["grid"], outputs: ["cellEdit"] }, { kind: "component", type: OleDocumentEditorComponent, selector: "pptx-ole-document-editor", inputs: ["paragraphs"], outputs: ["paragraphEdit"] }, { kind: "component", type: OleDeckEditorComponent, selector: "pptx-ole-deck-editor", inputs: ["slides"], outputs: ["deckElementEdit"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
164165
164227
  }
164166
164228
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: OleEditorDialogComponent, decorators: [{
164167
164229
  type: Component,
@@ -175917,7 +175979,7 @@ class SlideTemplateGalleryDialogComponent {
175917
175979
  </button>
175918
175980
  </div>
175919
175981
  </pptx-modal-dialog>
175920
- `, isInline: true, styles: [".pptx-tpl-gallery{display:flex;flex-direction:column;gap:.5rem;min-width:min(86vw,560px)}.pptx-tpl-gallery__desc{margin:0;font-size:11px;color:var(--pptx-muted-foreground, #6b7280)}.pptx-tpl-gallery__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;max-height:20rem;overflow-y:auto}.pptx-tpl-gallery__cell{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.4rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:transparent;color:inherit;cursor:pointer}.pptx-tpl-gallery__cell:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-tpl-gallery__cell.is-selected{border-color:var(--pptx-primary, #2563eb);background:color-mix(in srgb,var(--pptx-primary, #2563eb) 18%,transparent)}.pptx-tpl-gallery__thumb{display:flex;align-items:center;justify-content:center;background:var(--pptx-muted, #f1f5f9);border-radius:4px}.pptx-tpl-gallery__cell-label{font-size:10px;text-align:center;line-height:1.15}.pptx-tpl-gallery__footer{display:flex;gap:.5rem;justify-content:flex-end}.pptx-tpl-gallery__btn{padding:.35rem .85rem;font-size:12px;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-muted, #f1f5f9);color:inherit;cursor:pointer}.pptx-tpl-gallery__btn--primary{background:var(--pptx-primary, #2563eb);border-color:var(--pptx-primary, #2563eb);color:#fff}.pptx-tpl-gallery__btn:disabled{opacity:.45;cursor:not-allowed}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: SlideTemplatePreviewComponent, selector: "pptx-slide-template-preview", inputs: ["templateId", "scheme"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
175982
+ `, isInline: true, styles: [".pptx-tpl-gallery{display:flex;flex-direction:column;gap:.5rem;min-width:min(86vw,560px)}.pptx-tpl-gallery__desc{margin:0;font-size:11px;color:var(--pptx-muted-foreground, #6b7280)}.pptx-tpl-gallery__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;max-height:20rem;overflow-y:auto}.pptx-tpl-gallery__cell{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.4rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:transparent;color:inherit;cursor:pointer}.pptx-tpl-gallery__cell:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-tpl-gallery__cell.is-selected{border-color:var(--pptx-primary, #2563eb);background:color-mix(in srgb,var(--pptx-primary, #2563eb) 18%,transparent)}.pptx-tpl-gallery__thumb{display:flex;align-items:center;justify-content:center;background:var(--pptx-muted, #f1f5f9);border-radius:4px}.pptx-tpl-gallery__cell-label{font-size:10px;text-align:center;line-height:1.15}.pptx-tpl-gallery__footer{display:flex;gap:.5rem;justify-content:flex-end}.pptx-tpl-gallery__btn{padding:.35rem .85rem;font-size:12px;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-muted, #f1f5f9);color:inherit;cursor:pointer}.pptx-tpl-gallery__btn--primary{background:var(--pptx-primary, #2563eb);border-color:var(--pptx-primary, #2563eb);color:#fff}.pptx-tpl-gallery__btn:disabled{opacity:.45;cursor:not-allowed}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: SlideTemplatePreviewComponent, selector: "pptx-slide-template-preview", inputs: ["templateId", "scheme"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
175921
175983
  }
175922
175984
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SlideTemplateGalleryDialogComponent, decorators: [{
175923
175985
  type: Component,
@@ -178267,7 +178329,7 @@ class EncryptedFileDialogComponent {
178267
178329
  </button>
178268
178330
  </div>
178269
178331
  </pptx-modal-dialog>
178270
- `, isInline: true, styles: [".pptx-ng-enc{display:flex;flex-direction:column;gap:1rem}.pptx-ng-enc-callout{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;border:1px solid rgba(239,68,68,.3);border-radius:.5rem;background:#ef44441f}.pptx-ng-enc-icon{flex-shrink:0;font-size:1.125rem;line-height:1.4}.pptx-ng-enc-text{display:flex;flex-direction:column;gap:.5rem}.pptx-ng-enc-message{margin:0;font-size:.75rem;line-height:1.5;color:#fecaca}.pptx-ng-enc-instructions{margin:0;font-size:.6875rem;line-height:1.5;color:#fca5a5b3}.pptx-ng-enc-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer}.pptx-ng-enc-btn:hover{background:var(--pptx-border, #374151)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
178332
+ `, isInline: true, styles: [".pptx-ng-enc{display:flex;flex-direction:column;gap:1rem}.pptx-ng-enc-callout{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;border:1px solid rgba(239,68,68,.3);border-radius:.5rem;background:#ef44441f}.pptx-ng-enc-icon{flex-shrink:0;font-size:1.125rem;line-height:1.4}.pptx-ng-enc-text{display:flex;flex-direction:column;gap:.5rem}.pptx-ng-enc-message{margin:0;font-size:.75rem;line-height:1.5;color:#fecaca}.pptx-ng-enc-instructions{margin:0;font-size:.6875rem;line-height:1.5;color:#fca5a5b3}.pptx-ng-enc-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer}.pptx-ng-enc-btn:hover{background:var(--pptx-border, #374151)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
178271
178333
  }
178272
178334
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: EncryptedFileDialogComponent, decorators: [{
178273
178335
  type: Component,
@@ -178535,7 +178597,7 @@ class EquationEditorDialogComponent {
178535
178597
  </button>
178536
178598
  </div>
178537
178599
  </pptx-modal-dialog>
178538
- `, isInline: true, styles: [".pptx-ng-eq{display:flex;flex-direction:column;gap:1rem;width:min(88vw,600px)}.pptx-ng-eq-preview{display:flex;align-items:center;justify-content:center;min-height:80px;padding:1rem;border:1px solid var(--pptx-border, #374151);border-radius:.5rem;background:var(--pptx-muted, #111827)}.pptx-ng-eq-math{font-size:1.5rem;color:var(--pptx-foreground, #f3f4f6);font-family:\"Cambria Math\",\"STIX Two Math\",serif}.pptx-ng-eq-placeholder{font-size:.8125rem;font-style:italic;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-eq-label{font-size:.75rem;font-weight:500;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-textarea{width:100%;height:6rem;padding:.5rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.5rem;background:var(--pptx-muted, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:none}.pptx-ng-eq-textarea:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-eq-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;transition:background .15s ease}.pptx-ng-eq-btn:hover:not(:disabled){background:var(--pptx-border, #374151)}.pptx-ng-eq-btn:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-eq-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff;font-weight:500}.pptx-ng-eq-btn-primary:hover:not(:disabled){filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: EquationTemplateGalleryComponent, selector: "pptx-equation-template-gallery", inputs: ["activeLatex"], outputs: ["select"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
178600
+ `, isInline: true, styles: [".pptx-ng-eq{display:flex;flex-direction:column;gap:1rem;width:min(88vw,600px)}.pptx-ng-eq-preview{display:flex;align-items:center;justify-content:center;min-height:80px;padding:1rem;border:1px solid var(--pptx-border, #374151);border-radius:.5rem;background:var(--pptx-muted, #111827)}.pptx-ng-eq-math{font-size:1.5rem;color:var(--pptx-foreground, #f3f4f6);font-family:\"Cambria Math\",\"STIX Two Math\",serif}.pptx-ng-eq-placeholder{font-size:.8125rem;font-style:italic;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-eq-label{font-size:.75rem;font-weight:500;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-textarea{width:100%;height:6rem;padding:.5rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.5rem;background:var(--pptx-muted, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:none}.pptx-ng-eq-textarea:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-eq-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;transition:background .15s ease}.pptx-ng-eq-btn:hover:not(:disabled){background:var(--pptx-border, #374151)}.pptx-ng-eq-btn:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-eq-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff;font-weight:500}.pptx-ng-eq-btn-primary:hover:not(:disabled){filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: EquationTemplateGalleryComponent, selector: "pptx-equation-template-gallery", inputs: ["activeLatex"], outputs: ["select"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
178539
178601
  }
178540
178602
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: EquationEditorDialogComponent, decorators: [{
178541
178603
  type: Component,
@@ -178899,7 +178961,7 @@ class FontEmbeddingPanelComponent {
178899
178961
  </button>
178900
178962
  </div>
178901
178963
  </pptx-modal-dialog>
178902
- `, isInline: true, styles: [".pptx-ng-fonts{display:flex;flex-direction:column;gap:1rem}.pptx-ng-fonts-desc{margin:0;font-size:.75rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-fonts-toggle{display:flex;align-items:center;gap:.75rem;cursor:pointer}.pptx-ng-fonts-switch{position:relative;display:inline-block;width:2.25rem;height:1.25rem;border-radius:9999px;background:var(--pptx-muted-foreground, #6b7280);transition:background .15s ease}.pptx-ng-fonts-switch.is-on{background:var(--pptx-primary, #6366f1)}.pptx-ng-fonts-switch-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pptx-ng-fonts-switch-knob{position:absolute;top:.125rem;left:.125rem;width:1rem;height:1rem;border-radius:9999px;background:#fff;transition:transform .15s ease}.pptx-ng-fonts-switch-knob.is-on{transform:translate(1rem)}.pptx-ng-fonts-toggle.is-disabled{cursor:not-allowed;opacity:.6}.pptx-ng-fonts-toggle-label{font-size:.75rem;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-fonts-note{margin:-.5rem 0 0;font-size:.6875rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-fonts-done{padding:.375rem .75rem;font-size:.75rem;color:#fff;background:var(--pptx-primary, #6366f1);border:1px solid var(--pptx-primary, #6366f1);border-radius:.5rem;cursor:pointer;transition:filter .15s ease}.pptx-ng-fonts-done:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: FontEmbeddingListComponent, selector: "pptx-font-embedding-list", inputs: ["usedFontFamilies", "availableFamilies", "embeddedSet", "scanning", "missingCount"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
178964
+ `, isInline: true, styles: [".pptx-ng-fonts{display:flex;flex-direction:column;gap:1rem}.pptx-ng-fonts-desc{margin:0;font-size:.75rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-fonts-toggle{display:flex;align-items:center;gap:.75rem;cursor:pointer}.pptx-ng-fonts-switch{position:relative;display:inline-block;width:2.25rem;height:1.25rem;border-radius:9999px;background:var(--pptx-muted-foreground, #6b7280);transition:background .15s ease}.pptx-ng-fonts-switch.is-on{background:var(--pptx-primary, #6366f1)}.pptx-ng-fonts-switch-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pptx-ng-fonts-switch-knob{position:absolute;top:.125rem;left:.125rem;width:1rem;height:1rem;border-radius:9999px;background:#fff;transition:transform .15s ease}.pptx-ng-fonts-switch-knob.is-on{transform:translate(1rem)}.pptx-ng-fonts-toggle.is-disabled{cursor:not-allowed;opacity:.6}.pptx-ng-fonts-toggle-label{font-size:.75rem;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-fonts-note{margin:-.5rem 0 0;font-size:.6875rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-fonts-done{padding:.375rem .75rem;font-size:.75rem;color:#fff;background:var(--pptx-primary, #6366f1);border:1px solid var(--pptx-primary, #6366f1);border-radius:.5rem;cursor:pointer;transition:filter .15s ease}.pptx-ng-fonts-done:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: FontEmbeddingListComponent, selector: "pptx-font-embedding-list", inputs: ["usedFontFamilies", "availableFamilies", "embeddedSet", "scanning", "missingCount"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
178903
178965
  }
178904
178966
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: FontEmbeddingPanelComponent, decorators: [{
178905
178967
  type: Component,
@@ -179245,7 +179307,7 @@ class KeepAnnotationsDialogComponent {
179245
179307
  </button>
179246
179308
  </div>
179247
179309
  </pptx-modal-dialog>
179248
- `, isInline: true, styles: [".pptx-ng-keep{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-keep-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-keep-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-keep-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-keep-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-keep-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-keep-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
179310
+ `, isInline: true, styles: [".pptx-ng-keep{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-keep-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-keep-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-keep-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-keep-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-keep-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-keep-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
179249
179311
  }
179250
179312
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: KeepAnnotationsDialogComponent, decorators: [{
179251
179313
  type: Component,
@@ -179567,7 +179629,7 @@ class PasswordProtectionDialogComponent {
179567
179629
  </div>
179568
179630
  </div>
179569
179631
  </pptx-modal-dialog>
179570
- `, isInline: true, styles: [".pptx-ng-pw{display:flex;flex-direction:column;gap:1rem}.pptx-ng-pw-banner{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border:1px solid rgba(34,197,94,.4);border-radius:.5rem;background:#22c55e1f;color:#22c55e;font-size:.75rem}.pptx-ng-pw-desc{margin:0;font-size:.75rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-pw-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-pw-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-pw-input-wrap{position:relative;display:flex;align-items:center}.pptx-ng-pw-input{width:100%;padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-background, #030712);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem}.pptx-ng-pw-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-pw-toggle{position:absolute;right:.375rem;padding:.125rem .375rem;border:none;background:transparent;color:var(--pptx-muted-foreground, #9ca3af);font-size:.6875rem;cursor:pointer}.pptx-ng-pw-toggle:hover{color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-pw-error{margin:0;font-size:.75rem;color:#f87171}.pptx-ng-pw-footer{display:flex;flex:1;align-items:center;justify-content:space-between}.pptx-ng-pw-footer-right{display:flex;gap:.5rem}.pptx-ng-pw-remove{border:none;background:transparent;color:#f87171;font-size:.75rem;cursor:pointer}.pptx-ng-pw-remove:hover{filter:brightness(1.15)}.pptx-ng-pw-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap}.pptx-ng-pw-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-pw-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-pw-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: PasswordStrengthMeterComponent, selector: "pptx-password-strength-meter", inputs: ["password"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
179632
+ `, isInline: true, styles: [".pptx-ng-pw{display:flex;flex-direction:column;gap:1rem}.pptx-ng-pw-banner{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border:1px solid rgba(34,197,94,.4);border-radius:.5rem;background:#22c55e1f;color:#22c55e;font-size:.75rem}.pptx-ng-pw-desc{margin:0;font-size:.75rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-pw-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-pw-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-pw-input-wrap{position:relative;display:flex;align-items:center}.pptx-ng-pw-input{width:100%;padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-background, #030712);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem}.pptx-ng-pw-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-pw-toggle{position:absolute;right:.375rem;padding:.125rem .375rem;border:none;background:transparent;color:var(--pptx-muted-foreground, #9ca3af);font-size:.6875rem;cursor:pointer}.pptx-ng-pw-toggle:hover{color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-pw-error{margin:0;font-size:.75rem;color:#f87171}.pptx-ng-pw-footer{display:flex;flex:1;align-items:center;justify-content:space-between}.pptx-ng-pw-footer-right{display:flex;gap:.5rem}.pptx-ng-pw-remove{border:none;background:transparent;color:#f87171;font-size:.75rem;cursor:pointer}.pptx-ng-pw-remove:hover{filter:brightness(1.15)}.pptx-ng-pw-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap}.pptx-ng-pw-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-pw-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-pw-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: PasswordStrengthMeterComponent, selector: "pptx-password-strength-meter", inputs: ["password"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
179571
179633
  }
179572
179634
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PasswordProtectionDialogComponent, decorators: [{
179573
179635
  type: Component,
@@ -180186,7 +180248,7 @@ class SetUpSlideShowDialogComponent {
180186
180248
  </button>
180187
180249
  </div>
180188
180250
  </pptx-modal-dialog>
180189
- `, isInline: true, styles: [".pptx-ng-sss-body{display:flex;flex-direction:column;gap:1.25rem;font-size:.75rem;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-sss-fieldset{display:flex;flex-direction:column;gap:.375rem;margin:0;padding:0;border:none}.pptx-ng-sss-legend{margin-bottom:.25rem;padding:0;font-size:.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.03em;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-sss-option{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:var(--pptx-foreground, #f3f4f6);cursor:pointer}.pptx-ng-sss-radio{accent-color:var(--pptx-primary, #6366f1)}.pptx-ng-sss-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap;transition:background .15s ease}.pptx-ng-sss-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-sss-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-sss-btn-primary:hover{background:var(--pptx-primary, #6366f1);filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: ShowSlidesFieldsetComponent, selector: "pptx-show-slides-fieldset", inputs: ["draft", "showSlidesMode", "slideCount", "customShows"], outputs: ["patch"] }, { kind: "component", type: ShowOptionsFieldsetComponent, selector: "pptx-show-options-fieldset", inputs: ["draft"], outputs: ["patch"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
180251
+ `, isInline: true, styles: [".pptx-ng-sss-body{display:flex;flex-direction:column;gap:1.25rem;font-size:.75rem;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-sss-fieldset{display:flex;flex-direction:column;gap:.375rem;margin:0;padding:0;border:none}.pptx-ng-sss-legend{margin-bottom:.25rem;padding:0;font-size:.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.03em;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-sss-option{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:var(--pptx-foreground, #f3f4f6);cursor:pointer}.pptx-ng-sss-radio{accent-color:var(--pptx-primary, #6366f1)}.pptx-ng-sss-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap;transition:background .15s ease}.pptx-ng-sss-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-sss-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-sss-btn-primary:hover{background:var(--pptx-primary, #6366f1);filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: ShowSlidesFieldsetComponent, selector: "pptx-show-slides-fieldset", inputs: ["draft", "showSlidesMode", "slideCount", "customShows"], outputs: ["patch"] }, { kind: "component", type: ShowOptionsFieldsetComponent, selector: "pptx-show-options-fieldset", inputs: ["draft"], outputs: ["patch"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
180190
180252
  }
180191
180253
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SetUpSlideShowDialogComponent, decorators: [{
180192
180254
  type: Component,
@@ -182178,7 +182240,7 @@ class SignatureStrippedDialogComponent {
182178
182240
  </button>
182179
182241
  </div>
182180
182242
  </pptx-modal-dialog>
182181
- `, isInline: true, styles: [".pptx-ng-sig{display:flex;flex-direction:column;gap:1rem}.pptx-ng-sig-callout{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;border:1px solid rgba(217,119,6,.3);border-radius:.5rem;background:#d977061f}.pptx-ng-sig-icon{flex-shrink:0;font-size:1.125rem;line-height:1.4}.pptx-ng-sig-text{display:flex;flex-direction:column;gap:.5rem}.pptx-ng-sig-message{margin:0;font-size:.75rem;line-height:1.5;color:#fde68a}.pptx-ng-sig-warning{margin:0;font-size:.6875rem;line-height:1.5;color:#fcd34db3}.pptx-ng-sig-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap}.pptx-ng-sig-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-sig-btn-danger{border-color:#d97706;background:#d97706;color:#fff}.pptx-ng-sig-btn-danger:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
182243
+ `, isInline: true, styles: [".pptx-ng-sig{display:flex;flex-direction:column;gap:1rem}.pptx-ng-sig-callout{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;border:1px solid rgba(217,119,6,.3);border-radius:.5rem;background:#d977061f}.pptx-ng-sig-icon{flex-shrink:0;font-size:1.125rem;line-height:1.4}.pptx-ng-sig-text{display:flex;flex-direction:column;gap:.5rem}.pptx-ng-sig-message{margin:0;font-size:.75rem;line-height:1.5;color:#fde68a}.pptx-ng-sig-warning{margin:0;font-size:.6875rem;line-height:1.5;color:#fcd34db3}.pptx-ng-sig-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap}.pptx-ng-sig-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-sig-btn-danger{border-color:#d97706;background:#d97706;color:#fff}.pptx-ng-sig-btn-danger:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
182182
182244
  }
182183
182245
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SignatureStrippedDialogComponent, decorators: [{
182184
182246
  type: Component,
@@ -184325,6 +184387,7 @@ class PowerPointViewerComponent {
184325
184387
  // invisible to the user; the decision and the copy are the shared ones.
184326
184388
  this.autosaveRecovery.bind({
184327
184389
  filePath: () => this.filePath(),
184390
+ fileName: () => this.fileName(),
184328
184391
  loading: () => this.loader.loading(),
184329
184392
  error: () => this.loader.error(),
184330
184393
  slideCount: () => this.displaySlidesMut().length,
@@ -185978,6 +186041,7 @@ class PowerPointViewerComponent {
185978
186041
  action-button clicks. The offer is deferred, not dropped. -->
185979
186042
  <pptx-autosave-recovery-dialog
185980
186043
  [prompt]="visibleRecoveryPrompt()"
186044
+ [discarding]="autosaveRecovery.discarding()"
185981
186045
  (restore)="autosaveRecovery.restore()"
185982
186046
  (discard)="autosaveRecovery.discard()"
185983
186047
  />
@@ -186174,7 +186238,7 @@ class PowerPointViewerComponent {
186174
186238
  (dismissAll)="loadNotices.dismissAllToasts()"
186175
186239
  />
186176
186240
  </div>
186177
- `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SlideCanvasComponent, selector: "pptx-slide-canvas", inputs: ["slide", "canvasSize", "mediaDataUrls", "zoom", "fitPadding", "maxFitScale", "editable", "showGrid", "showRulers", "rulerUnit", "showGuides", "snapToGrid", "gridSpacing", "snapToShape", "guideCommand", "spellCheck", "snapToGuides", "autoFit", "transparentBackground", "interactive", "exposeElementIds", "presenting", "selectedIds", "editingId", "editTemplateMode", "templateElements", "aiHighlights", "aiActive", "aiActiveSlideIndex", "aiChangeBatch", "aiPickMode", "drawTool", "drawColor", "drawWidth"], outputs: ["elementSelect", "backgroundClick", "transformStart", "transformUpdate", "transformEnd", "adjustUpdate", "connectorEndpointUpdate", "contextMenu", "textEditStart", "textCommit", "textInput", "textCancel", "textFormat", "listSession", "rotateUpdate", "marqueeSelect", "inkStrokeComplete", "eraserHit", "cellCommit", "tableChange"] }, { kind: "component", type: PresentationOverlayComponent, selector: "pptx-presentation-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "startIndex", "activeCustomShow", "authoredRange", "loopContinuously", "showWithAnimation", "useTimings", "subtitlesVisible", "sessionEnded", "endWithBlackSlide", "pixelateMosaicAnimation", "presenterMode", "showMenuOnRightClick", "showPopupToolbar"], outputs: ["indexChange", "closed", "subtitlesChange", "presenterViewToggle", "annotationsExit", "customShowRequest", "endOfShowChange"] }, { kind: "component", type: PresenterViewComponent, selector: "pptx-presenter-view", inputs: ["slides", "currentSlideIndex", "activeCustomShow", "authoredRange", "canvasSize", "templateElements", "mediaDataUrls", "presentationStartTime", "isAudienceWindowOpen"], outputs: ["movePresentationSlide", "exit", "openAudienceWindow", "closeAudienceWindow", "navigateToSlide"] }, { kind: "component", type: MobilePresenterViewComponent, selector: "pptx-mobile-presenter-view", inputs: ["slides", "currentSlideIndex", "activeCustomShow", "authoredRange", "canvasSize", "templateElements", "mediaDataUrls", "presentationStartTime"], outputs: ["movePresentationSlide", "exit"] }, { kind: "component", type: SlideSorterOverlayComponent, selector: "pptx-slide-sorter-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "activeIndex", "canEdit"], outputs: ["select", "closed", "deleteSlide", "duplicateSlide", "toggleHiddenSlide"] }, { kind: "component", type: OutlineViewOverlayComponent, selector: "pptx-outline-view-overlay", inputs: ["slides", "canvasSize", "canEdit"], outputs: ["commit", "closed"] }, { kind: "component", type: ReadingViewOverlayComponent, selector: "pptx-reading-view-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "activeSlideIndex"], outputs: ["exit"] }, { kind: "component", type: SlideDefaultInspectorComponent, selector: "pptx-slide-default-inspector", inputs: ["slideIndex", "canEdit", "selectedElement", "comments", "modernCommentAuthors"], outputs: ["commentAdd", "commentRemove", "commentResolve", "commentReply"] }, { kind: "component", type: FindBarComponent, selector: "pptx-find-bar", inputs: ["slides"], outputs: ["navigate", "closed"] }, { kind: "component", type: FindReplaceBarComponent, selector: "pptx-find-replace-bar", inputs: ["matchCount", "matchIndex"], outputs: ["find", "navigate", "replaceOne", "replaceAll", "close"] }, { kind: "component", type: SlidesPanelComponent, selector: "pptx-slides-panel", inputs: ["canvasSize", "mediaDataUrls", "activeIndex"], outputs: ["select"] }, { kind: "component", type: StatusBarComponent, selector: "pptx-status-bar", inputs: ["slideIndex", "slideCount", "canEdit", "dirty", "autosaveStatus", "notesOpen", "zoomPercent", "sorterActive", "presenting", "hiddenActions"], outputs: ["toggleNotes", "normalView", "openSorter", "slideShow", "zoomIn", "zoomOut", "zoomReset"] }, { kind: "component", type: EditorContextMenuComponent, selector: "pptx-editor-context-menu", inputs: ["x", "y", "slideIndex", "showAiActions"], outputs: ["closed", "askAi", "fixAi", "editHyperlink", "addComment"] }, { kind: "component", type: ExportProgressModalComponent, selector: "pptx-export-progress-modal", inputs: ["open", "title", "progress", "statusMessage"], outputs: ["cancel"] }, { kind: "component", type: CommentMarkersOverlayComponent, selector: "pptx-comment-markers-overlay", inputs: ["comments", "canvasSize"], outputs: ["markerClick"] }, { kind: "component", type: CommentsPanelComponent, selector: "pptx-comments-panel", inputs: ["comments", "authorName", "modernCommentAuthors"], outputs: ["add", "remove", "resolve", "reply"] }, { kind: "component", type: CompatToastsComponent, selector: "pptx-compat-toasts", inputs: ["toasts", "rightInset", "bottomInset"], outputs: ["dismissOne", "dismissAll"] }, { kind: "component", type: ReadOnlyBannerComponent, selector: "pptx-readonly-banner", inputs: ["kind", "messageKey", "passwordPromptOpen", "passwordError", "checkingPassword"], outputs: ["editAnyway", "dismiss", "submitPassword", "cancelPassword"] }, { kind: "component", type: SignaturesPanelComponent, selector: "pptx-signatures-panel", inputs: ["signatures"] }, { kind: "component", type: AccessibilityPanelComponent, selector: "pptx-accessibility-panel", inputs: ["issues"], outputs: ["selectSlide"] }, { kind: "component", type: CollaborationCursorsComponent, selector: "pptx-collaboration-cursors", inputs: ["cursors", "zoom"] }, { kind: "component", type: RemoteSelectionOverlayComponent, selector: "pptx-remote-selection-overlay", inputs: ["presences", "elements", "activeSlideIndex", "zoom"] }, { kind: "component", type: MotionPathOverlayComponent, selector: "pptx-motion-path-overlay", inputs: ["element", "animations", "canvasSize", "canEdit"], outputs: ["pathChange"] }, { kind: "component", type: FollowModeBarComponent, selector: "pptx-follow-mode-bar", inputs: ["presences", "followedClientId"], outputs: ["follow"] }, { kind: "component", type: PropertiesDialogComponent, selector: "pptx-properties-dialog", inputs: ["open", "properties"], outputs: ["save", "close"] }, { kind: "component", type: HyperlinkDialogComponent, selector: "pptx-hyperlink-dialog", inputs: ["open", "element"], outputs: ["save", "close"] }, { kind: "component", type: PrintDialogComponent, selector: "pptx-print-dialog", inputs: ["slides", "activeSlideIndex", "defaultSlidesPerPage", "defaultFrameSlides", "defaultSettings"], outputs: ["print", "cancel"] }, { kind: "component", type: ShareDialogComponent, selector: "pptx-share-dialog", inputs: ["open", "defaults", "active", "connected", "userCount", "shareUrl", "p2p", "activeRoomId", "activeServerUrl", "users"], outputs: ["start", "stop", "close"] }, { kind: "component", type: BroadcastDialogComponent, selector: "pptx-broadcast-dialog", inputs: ["open", "defaults", "active", "connected", "viewerCount", "viewerUrl", "p2p"], outputs: ["start", "stop", "close"] }, { kind: "component", type: MobileBottomBarComponent, selector: "pptx-mobile-bottom-bar", inputs: ["slideCount", "commentCount", "activeSheet"], outputs: ["openSlides", "insert", "openFormat", "openComments", "notes"] }, { kind: "component", type: MobileMenuSheetComponent, selector: "pptx-mobile-menu-sheet", inputs: ["open", "slideCount", "exporting", "showNotes", "canEdit", "hiddenActions"], outputs: ["closed", "openFind", "openSorter", "toggleNotes", "insertText", "present", "openFile", "savePptx", "exportPng", "exportPdf", "exportGif", "exportVideo", "print"] }, { kind: "component", type: MobileSlidesSheetComponent, selector: "pptx-mobile-slides-sheet", inputs: ["open", "slides", "canvasSize", "mediaDataUrls", "activeIndex"], outputs: ["closed", "jumpToSlide"] }, { kind: "component", type: MobileToolbarComponent, selector: "pptx-mobile-toolbar", inputs: ["canUndo", "canRedo", "canPresent", "canEdit", "menuOpen", "aiEnabled", "aiPanelOpen", "hiddenActions"], outputs: ["toggleMenu", "toggleAiPanel", "undo", "redo", "share", "save", "present"] }, { kind: "component", type: MasterViewCanvasComponent, selector: "pptx-master-view-canvas", inputs: ["tab", "slideMasters", "activeMasterIndex", "activeLayoutIndex", "notesMaster", "handoutMaster", "canvasSize", "notesCanvasSize", "mediaDataUrls", "editable"], outputs: ["notesMasterChange", "handoutMasterChange", "slideMastersChange"] }, { kind: "component", type: MasterViewSidebarComponent, selector: "pptx-master-view-sidebar", inputs: ["tab", "slideMasters", "notesMaster", "handoutMaster", "activeMasterIndex", "activeLayoutIndex", "handoutSlidesPerPage", "editable", "crudActions"], outputs: ["tabChange", "selectMaster", "selectLayout", "slidesPerPageChange", "backgroundChange", "close", "crudAction"] }, { kind: "component", type: NotesPanelComponent, selector: "pptx-notes-panel", inputs: ["slide", "expanded", "notesStyle"], outputs: ["update", "notesToggle"] }, { kind: "component", type: QuickAccessStripComponent, selector: "pptx-quick-access-strip", inputs: ["quickAccess", "canUndo", "canRedo"], outputs: ["command"] }, { kind: "component", type: RibbonComponent, selector: "pptx-ribbon", inputs: ["slideIndex", "slideCount", "canEdit", "selectedElement", "zoomPercent", "formatPainterActive", "canActivateFormatPainter", "exporting", "hasMacros", "showGrid", "showRulers", "showGuides", "snapToGrid", "snapToShape", "eyedropperActive", "themeGalleryOpen", "sidebarCollapsed", "inspectorOpen", "commentsOpen", "commentCount", "findOpen", "collabConnected", "connectedCount", "spellCheckEnabled", "showSubtitles", "hiddenActions", "aiEnabled", "aiPanelOpen", "accountAuth", "activeSlideHidden"], outputs: ["prev", "next", "zoomIn", "zoomOut", "zoomReset", "find", "present", "presenter", "record", "presentFromBeginning", "rehearseTimings", "toggleSubtitles", "openSubtitleSettings", "recordFromBeginning", "recordFromCurrent", "spellCheckChange", "share", "broadcast", "openFile", "openRecentFile", "createPresentation", "save", "savePpsx", "savePptm", "savePpt", "toggleSidebar", "toggleAiPanel", "signatures", "info", "print", "comments", "a11y", "shortcuts", "versionHistory", "passwordProtection", "fontEmbedding", "link", "openSorter", "openReadingView", "openOutlineView", "openMasterView", "toggleNotes", "toggleFormatPainter", "exportPng", "exportPdf", "exportGif", "exportVideo", "exportJson", "copySlideAsImage", "replace", "toggleInspector", "openAnimationPanel", "drawToolChange", "toggleThemeGallery", "editTheme", "openSlideSize", "toggleGrid", "toggleRulers", "toggleGuides", "toggleSelectionPane", "openCustomShows", "toggleSnapToGrid", "toggleSnapToShape", "addGuide", "zoomToFit", "toggleEyedropper", "openSmartArtDialog", "openTemplateGallery", "openEquationDialog", "openSetUpSlideShow", "toggleHideSlide", "openCompare", "openPassword", "openFontEmbedding", "openVersionHistory", "openShortcuts", "openSettings"] }, { kind: "component", type: TitleBarComponent, selector: "pptx-title-bar", inputs: ["canEdit", "fileName", "isDirty", "autosaveStatus", "autosaveEnabled", "canUndo", "canRedo", "undoLabel", "redoLabel", "findReplaceOpen", "hiddenActions", "quickAccess"], outputs: ["toggleAutosave", "save", "undo", "redo", "quickCommand", "toggleFindReplace", "commandSearch"] }, { kind: "component", type: ThemeGalleryComponent, selector: "pptx-theme-gallery", inputs: ["open", "activeName", "theme", "startCustomizing"], outputs: ["applyTheme", "applyCustomTheme", "close"] }, { kind: "component", type: SelectionPaneComponent, selector: "pptx-selection-pane", inputs: ["elements", "selectedIds"], outputs: ["selectElement", "bringForward", "sendBackward", "toggleHidden", "renameElement"] }, { kind: "component", type: CustomShowsComponent, selector: "pptx-custom-shows", inputs: ["open", "slides", "customShows", "activeCustomShowId"], outputs: ["create", "remove", "update", "setActive", "close"] }, { kind: "component", type: InsertSmartArtDialogComponent, selector: "pptx-insert-smart-art-dialog", inputs: ["open"], outputs: ["close", "insert"] }, { kind: "component", type: SlideTemplateGalleryDialogComponent, selector: "pptx-slide-template-gallery-dialog", inputs: ["open", "scheme"], outputs: ["close", "insert"] }, { kind: "component", type: ViewerExtraDialogsComponent, selector: "pptx-viewer-extra-dialogs", inputs: ["activeSlideIndex", "selectedElementId", "filePath", "customShows", "themeKey", "availableThemes", "localeCode", "availableLocales", "aiExportVisible"], outputs: ["restoreContent", "themeKeySelect", "localeSelect"] }, { kind: "component", type: AutosaveRecoveryDialogComponent, selector: "pptx-autosave-recovery-dialog", inputs: ["prompt"], outputs: ["restore", "discard"] }, { kind: "component", type: RehearseTimingsComponent, selector: "pptx-rehearse-timings", inputs: ["summary", "paused", "slideStartedAt", "presentationStartedAt", "timings"], outputs: ["togglePause", "save", "discard"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [/* @ts-ignore */
186241
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SlideCanvasComponent, selector: "pptx-slide-canvas", inputs: ["slide", "canvasSize", "mediaDataUrls", "zoom", "fitPadding", "maxFitScale", "editable", "showGrid", "showRulers", "rulerUnit", "showGuides", "snapToGrid", "gridSpacing", "snapToShape", "guideCommand", "spellCheck", "snapToGuides", "autoFit", "transparentBackground", "interactive", "exposeElementIds", "presenting", "selectedIds", "editingId", "editTemplateMode", "templateElements", "aiHighlights", "aiActive", "aiActiveSlideIndex", "aiChangeBatch", "aiPickMode", "drawTool", "drawColor", "drawWidth"], outputs: ["elementSelect", "backgroundClick", "transformStart", "transformUpdate", "transformEnd", "adjustUpdate", "connectorEndpointUpdate", "contextMenu", "textEditStart", "textCommit", "textInput", "textCancel", "textFormat", "listSession", "rotateUpdate", "marqueeSelect", "inkStrokeComplete", "eraserHit", "cellCommit", "tableChange"] }, { kind: "component", type: PresentationOverlayComponent, selector: "pptx-presentation-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "startIndex", "activeCustomShow", "authoredRange", "loopContinuously", "showWithAnimation", "useTimings", "subtitlesVisible", "sessionEnded", "endWithBlackSlide", "pixelateMosaicAnimation", "presenterMode", "showMenuOnRightClick", "showPopupToolbar"], outputs: ["indexChange", "closed", "subtitlesChange", "presenterViewToggle", "annotationsExit", "customShowRequest", "endOfShowChange"] }, { kind: "component", type: PresenterViewComponent, selector: "pptx-presenter-view", inputs: ["slides", "currentSlideIndex", "activeCustomShow", "authoredRange", "canvasSize", "templateElements", "mediaDataUrls", "presentationStartTime", "isAudienceWindowOpen"], outputs: ["movePresentationSlide", "exit", "openAudienceWindow", "closeAudienceWindow", "navigateToSlide"] }, { kind: "component", type: MobilePresenterViewComponent, selector: "pptx-mobile-presenter-view", inputs: ["slides", "currentSlideIndex", "activeCustomShow", "authoredRange", "canvasSize", "templateElements", "mediaDataUrls", "presentationStartTime"], outputs: ["movePresentationSlide", "exit"] }, { kind: "component", type: SlideSorterOverlayComponent, selector: "pptx-slide-sorter-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "activeIndex", "canEdit"], outputs: ["select", "closed", "deleteSlide", "duplicateSlide", "toggleHiddenSlide"] }, { kind: "component", type: OutlineViewOverlayComponent, selector: "pptx-outline-view-overlay", inputs: ["slides", "canvasSize", "canEdit"], outputs: ["commit", "closed"] }, { kind: "component", type: ReadingViewOverlayComponent, selector: "pptx-reading-view-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "activeSlideIndex"], outputs: ["exit"] }, { kind: "component", type: SlideDefaultInspectorComponent, selector: "pptx-slide-default-inspector", inputs: ["slideIndex", "canEdit", "selectedElement", "comments", "modernCommentAuthors"], outputs: ["commentAdd", "commentRemove", "commentResolve", "commentReply"] }, { kind: "component", type: FindBarComponent, selector: "pptx-find-bar", inputs: ["slides"], outputs: ["navigate", "closed"] }, { kind: "component", type: FindReplaceBarComponent, selector: "pptx-find-replace-bar", inputs: ["matchCount", "matchIndex"], outputs: ["find", "navigate", "replaceOne", "replaceAll", "close"] }, { kind: "component", type: SlidesPanelComponent, selector: "pptx-slides-panel", inputs: ["canvasSize", "mediaDataUrls", "activeIndex"], outputs: ["select"] }, { kind: "component", type: StatusBarComponent, selector: "pptx-status-bar", inputs: ["slideIndex", "slideCount", "canEdit", "dirty", "autosaveStatus", "notesOpen", "zoomPercent", "sorterActive", "presenting", "hiddenActions"], outputs: ["toggleNotes", "normalView", "openSorter", "slideShow", "zoomIn", "zoomOut", "zoomReset"] }, { kind: "component", type: EditorContextMenuComponent, selector: "pptx-editor-context-menu", inputs: ["x", "y", "slideIndex", "showAiActions"], outputs: ["closed", "askAi", "fixAi", "editHyperlink", "addComment"] }, { kind: "component", type: ExportProgressModalComponent, selector: "pptx-export-progress-modal", inputs: ["open", "title", "progress", "statusMessage"], outputs: ["cancel"] }, { kind: "component", type: CommentMarkersOverlayComponent, selector: "pptx-comment-markers-overlay", inputs: ["comments", "canvasSize"], outputs: ["markerClick"] }, { kind: "component", type: CommentsPanelComponent, selector: "pptx-comments-panel", inputs: ["comments", "authorName", "modernCommentAuthors"], outputs: ["add", "remove", "resolve", "reply"] }, { kind: "component", type: CompatToastsComponent, selector: "pptx-compat-toasts", inputs: ["toasts", "rightInset", "bottomInset"], outputs: ["dismissOne", "dismissAll"] }, { kind: "component", type: ReadOnlyBannerComponent, selector: "pptx-readonly-banner", inputs: ["kind", "messageKey", "passwordPromptOpen", "passwordError", "checkingPassword"], outputs: ["editAnyway", "dismiss", "submitPassword", "cancelPassword"] }, { kind: "component", type: SignaturesPanelComponent, selector: "pptx-signatures-panel", inputs: ["signatures"] }, { kind: "component", type: AccessibilityPanelComponent, selector: "pptx-accessibility-panel", inputs: ["issues"], outputs: ["selectSlide"] }, { kind: "component", type: CollaborationCursorsComponent, selector: "pptx-collaboration-cursors", inputs: ["cursors", "zoom"] }, { kind: "component", type: RemoteSelectionOverlayComponent, selector: "pptx-remote-selection-overlay", inputs: ["presences", "elements", "activeSlideIndex", "zoom"] }, { kind: "component", type: MotionPathOverlayComponent, selector: "pptx-motion-path-overlay", inputs: ["element", "animations", "canvasSize", "canEdit"], outputs: ["pathChange"] }, { kind: "component", type: FollowModeBarComponent, selector: "pptx-follow-mode-bar", inputs: ["presences", "followedClientId"], outputs: ["follow"] }, { kind: "component", type: PropertiesDialogComponent, selector: "pptx-properties-dialog", inputs: ["open", "properties"], outputs: ["save", "close"] }, { kind: "component", type: HyperlinkDialogComponent, selector: "pptx-hyperlink-dialog", inputs: ["open", "element"], outputs: ["save", "close"] }, { kind: "component", type: PrintDialogComponent, selector: "pptx-print-dialog", inputs: ["slides", "activeSlideIndex", "defaultSlidesPerPage", "defaultFrameSlides", "defaultSettings"], outputs: ["print", "cancel"] }, { kind: "component", type: ShareDialogComponent, selector: "pptx-share-dialog", inputs: ["open", "defaults", "active", "connected", "userCount", "shareUrl", "p2p", "activeRoomId", "activeServerUrl", "users"], outputs: ["start", "stop", "close"] }, { kind: "component", type: BroadcastDialogComponent, selector: "pptx-broadcast-dialog", inputs: ["open", "defaults", "active", "connected", "viewerCount", "viewerUrl", "p2p"], outputs: ["start", "stop", "close"] }, { kind: "component", type: MobileBottomBarComponent, selector: "pptx-mobile-bottom-bar", inputs: ["slideCount", "commentCount", "activeSheet"], outputs: ["openSlides", "insert", "openFormat", "openComments", "notes"] }, { kind: "component", type: MobileMenuSheetComponent, selector: "pptx-mobile-menu-sheet", inputs: ["open", "slideCount", "exporting", "showNotes", "canEdit", "hiddenActions"], outputs: ["closed", "openFind", "openSorter", "toggleNotes", "insertText", "present", "openFile", "savePptx", "exportPng", "exportPdf", "exportGif", "exportVideo", "print"] }, { kind: "component", type: MobileSlidesSheetComponent, selector: "pptx-mobile-slides-sheet", inputs: ["open", "slides", "canvasSize", "mediaDataUrls", "activeIndex"], outputs: ["closed", "jumpToSlide"] }, { kind: "component", type: MobileToolbarComponent, selector: "pptx-mobile-toolbar", inputs: ["canUndo", "canRedo", "canPresent", "canEdit", "menuOpen", "aiEnabled", "aiPanelOpen", "hiddenActions"], outputs: ["toggleMenu", "toggleAiPanel", "undo", "redo", "share", "save", "present"] }, { kind: "component", type: MasterViewCanvasComponent, selector: "pptx-master-view-canvas", inputs: ["tab", "slideMasters", "activeMasterIndex", "activeLayoutIndex", "notesMaster", "handoutMaster", "canvasSize", "notesCanvasSize", "mediaDataUrls", "editable"], outputs: ["notesMasterChange", "handoutMasterChange", "slideMastersChange"] }, { kind: "component", type: MasterViewSidebarComponent, selector: "pptx-master-view-sidebar", inputs: ["tab", "slideMasters", "notesMaster", "handoutMaster", "activeMasterIndex", "activeLayoutIndex", "handoutSlidesPerPage", "editable", "crudActions"], outputs: ["tabChange", "selectMaster", "selectLayout", "slidesPerPageChange", "backgroundChange", "close", "crudAction"] }, { kind: "component", type: NotesPanelComponent, selector: "pptx-notes-panel", inputs: ["slide", "expanded", "notesStyle"], outputs: ["update", "notesToggle"] }, { kind: "component", type: QuickAccessStripComponent, selector: "pptx-quick-access-strip", inputs: ["quickAccess", "canUndo", "canRedo"], outputs: ["command"] }, { kind: "component", type: RibbonComponent, selector: "pptx-ribbon", inputs: ["slideIndex", "slideCount", "canEdit", "selectedElement", "zoomPercent", "formatPainterActive", "canActivateFormatPainter", "exporting", "hasMacros", "showGrid", "showRulers", "showGuides", "snapToGrid", "snapToShape", "eyedropperActive", "themeGalleryOpen", "sidebarCollapsed", "inspectorOpen", "commentsOpen", "commentCount", "findOpen", "collabConnected", "connectedCount", "spellCheckEnabled", "showSubtitles", "hiddenActions", "aiEnabled", "aiPanelOpen", "accountAuth", "activeSlideHidden"], outputs: ["prev", "next", "zoomIn", "zoomOut", "zoomReset", "find", "present", "presenter", "record", "presentFromBeginning", "rehearseTimings", "toggleSubtitles", "openSubtitleSettings", "recordFromBeginning", "recordFromCurrent", "spellCheckChange", "share", "broadcast", "openFile", "openRecentFile", "createPresentation", "save", "savePpsx", "savePptm", "savePpt", "toggleSidebar", "toggleAiPanel", "signatures", "info", "print", "comments", "a11y", "shortcuts", "versionHistory", "passwordProtection", "fontEmbedding", "link", "openSorter", "openReadingView", "openOutlineView", "openMasterView", "toggleNotes", "toggleFormatPainter", "exportPng", "exportPdf", "exportGif", "exportVideo", "exportJson", "copySlideAsImage", "replace", "toggleInspector", "openAnimationPanel", "drawToolChange", "toggleThemeGallery", "editTheme", "openSlideSize", "toggleGrid", "toggleRulers", "toggleGuides", "toggleSelectionPane", "openCustomShows", "toggleSnapToGrid", "toggleSnapToShape", "addGuide", "zoomToFit", "toggleEyedropper", "openSmartArtDialog", "openTemplateGallery", "openEquationDialog", "openSetUpSlideShow", "toggleHideSlide", "openCompare", "openPassword", "openFontEmbedding", "openVersionHistory", "openShortcuts", "openSettings"] }, { kind: "component", type: TitleBarComponent, selector: "pptx-title-bar", inputs: ["canEdit", "fileName", "isDirty", "autosaveStatus", "autosaveEnabled", "canUndo", "canRedo", "undoLabel", "redoLabel", "findReplaceOpen", "hiddenActions", "quickAccess"], outputs: ["toggleAutosave", "save", "undo", "redo", "quickCommand", "toggleFindReplace", "commandSearch"] }, { kind: "component", type: ThemeGalleryComponent, selector: "pptx-theme-gallery", inputs: ["open", "activeName", "theme", "startCustomizing"], outputs: ["applyTheme", "applyCustomTheme", "close"] }, { kind: "component", type: SelectionPaneComponent, selector: "pptx-selection-pane", inputs: ["elements", "selectedIds"], outputs: ["selectElement", "bringForward", "sendBackward", "toggleHidden", "renameElement"] }, { kind: "component", type: CustomShowsComponent, selector: "pptx-custom-shows", inputs: ["open", "slides", "customShows", "activeCustomShowId"], outputs: ["create", "remove", "update", "setActive", "close"] }, { kind: "component", type: InsertSmartArtDialogComponent, selector: "pptx-insert-smart-art-dialog", inputs: ["open"], outputs: ["close", "insert"] }, { kind: "component", type: SlideTemplateGalleryDialogComponent, selector: "pptx-slide-template-gallery-dialog", inputs: ["open", "scheme"], outputs: ["close", "insert"] }, { kind: "component", type: ViewerExtraDialogsComponent, selector: "pptx-viewer-extra-dialogs", inputs: ["activeSlideIndex", "selectedElementId", "filePath", "customShows", "themeKey", "availableThemes", "localeCode", "availableLocales", "aiExportVisible"], outputs: ["restoreContent", "themeKeySelect", "localeSelect"] }, { kind: "component", type: AutosaveRecoveryDialogComponent, selector: "pptx-autosave-recovery-dialog", inputs: ["prompt", "discarding"], outputs: ["restore", "discard"] }, { kind: "component", type: RehearseTimingsComponent, selector: "pptx-rehearse-timings", inputs: ["summary", "paused", "slideStartedAt", "presentationStartedAt", "timings"], outputs: ["togglePause", "save", "discard"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [/* @ts-ignore */
186178
186242
  Promise.resolve().then(function () { return aiChatPanel_component; }).then(m => m.AiChatPanelComponent)]] }); }
186179
186243
  }
186180
186244
  i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "22.1.6", ngImport: i0, type: PowerPointViewerComponent, resolveDeferredDeps: () => [/* @ts-ignore */
@@ -187009,6 +187073,7 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "22.1.6", ng
187009
187073
  action-button clicks. The offer is deferred, not dropped. -->
187010
187074
  <pptx-autosave-recovery-dialog
187011
187075
  [prompt]="visibleRecoveryPrompt()"
187076
+ [discarding]="autosaveRecovery.discarding()"
187012
187077
  (restore)="autosaveRecovery.restore()"
187013
187078
  (discard)="autosaveRecovery.discard()"
187014
187079
  />
@@ -189623,4 +189688,4 @@ function cn(...values) {
189623
189688
  */
189624
189689
 
189625
189690
  export { CollaborationCursorsComponent as $, AFTER_ANIMATION_VALUES as A, AnimationAuthorPanelComponent as B, AnimationPanelComponent as C, AnimationPlaybackService as D, AutosaveRecoveryDialogComponent as E, AutosaveService as F, BroadcastDialogComponent as G, CHART_EDITOR_STYLES as H, CINEMATIC_TRANSITION_KEYFRAMES as I, CURSOR_PALETTE as J, CanvasFitService as K, ChartAxisOptionsComponent as L, ChartAxisStyleOptionsComponent as M, ChartComboTypeOptionsComponent as N, ChartDataEditorComponent as O, ChartDataLabelOptionsComponent as P, ChartDatapointMarkerOptionsComponent as Q, ChartDatapointOptionsComponent as R, ChartDisplayOptionsComponent as S, ChartElementViewComponent as T, ChartErrorBarOptionsComponent as U, ChartMarkerOptionsComponent as V, ChartPartSelectionService as W, ChartPrimitivesComponent as X, ChartRendererComponent as Y, ChartTrendlineOptionsComponent as Z, ChartTypeSelectorComponent as _, ALIGN_OPTIONS as a, INSTANT as a$, CollaborationService as a0, ColorChangedImageComponent as a1, CommentMarkersOverlayComponent as a2, CommentsPanelComponent as a3, CommentsService as a4, ComparePanelComponent as a5, ConnectorRendererComponent as a6, ConnectorTextOverlayComponent as a7, CustomShowsComponent as a8, DEFAULT_BOUNDS as a9, EditorContextMenuComponent as aA, EditorHistory as aB, EditorStateService as aC, EditorToolbarComponent as aD, EffectsPanelComponent as aE, ElementRendererComponent as aF, EmbeddedFontsService as aG, EncryptedFileDialogComponent as aH, EquationEditorDialogComponent as aI, EquationRendererComponent as aJ, EquationTemplateGalleryComponent as aK, ExportProgressModalComponent as aL, ExportService as aM, FieldContextService as aN, FindBarComponent as aO, FindReplaceBarComponent as aP, FollowModeBarComponent as aQ, FontEmbeddingListComponent as aR, FontEmbeddingPanelComponent as aS, GALLERY_THEME_PRESETS as aT, GOOGLE_WEBFONTS_LINK_ID as aU, GRIDLINE_COLOR$1 as aV, GoogleWebfontsService as aW, GradientPickerComponent as aX, HANDOUT_OPTIONS as aY, HeaderFooterDialogComponent as aZ, HyperlinkDialogComponent as a_, DEFAULT_BROADCAST_SERVER_URL as aa, DEFAULT_CANVAS_HEIGHT as ab, DEFAULT_CANVAS_WIDTH as ac, DEFAULT_COLOR_SCHEME as ad, DEFAULT_FILL_COLOR$1 as ae, DEFAULT_LAYOUT as af, DEFAULT_MORPH_DURATION_MS as ag, DEFAULT_PALETTE$1 as ah, DEFAULT_PATTERN_FILL_PRESET as ai, DEFAULT_PRINT_SETTINGS as aj, DEFAULT_SLIDE_BACKGROUND as ak, DEFAULT_STROKE_COLOR as al, DEFAULT_STYLE as am, DEFAULT_TABLE_ROW_HEIGHT as an, DEFAULT_TEXT_COLOR$2 as ao, DEFAULT_VIEWER_PROFILE as ap, DIRECTIONAL_PRESETS as aq, DIRECTION_OPTIONS as ar, DocumentPropertiesCardComponent as as, EASE as at, EFFECT_SOUND_CATALOGUE as au, EMBEDDED_FONTS_STYLE_ID as av, EMPHASIS_PRESETS as aw, ENTRANCE_PRESETS as ax, TEMPLATES as ay, EXIT_PRESETS as az, ANIMATION_PRESET_CATEGORIES as b, REPEAT_MODE_OPTIONS as b$, ImagePropertiesPanelComponent as b0, InkDrawingService as b1, InkRendererComponent as b2, InsertSmartArtDialogComponent as b3, InspectorPaneHeaderComponent as b4, InspectorPanelComponent as b5, IsMobileService as b6, KeepAnnotationsDialogComponent as b7, LOCALE_CATALOG as b8, LONG_PRESS_DURATION_MS as b9, POWER_POINT_VIEWER_PROVIDERS as bA, PPTX_OPEN_ACCEPT as bB, PRESENTATION_OPEN_EXTENSIONS as bC, PRESENTER_CHANNEL_NAME as bD, PRESENTER_MSG_ORIGIN as bE, PRESENTER_TIMER_SEGMENT_MS as bF, PX_PER_CM as bG, PX_PER_INCH as bH, PasswordProtectionDialogComponent as bI, PasswordStrengthMeterComponent as bJ, PowerPointViewerComponent as bK, PresentToolbarAutoHide as bL, PresentationAnnotationOverlayComponent as bM, PresentationAnnotationsService as bN, PresentationOverlayComponent as bO, PresentationPropertiesPanelComponent as bP, PresentationSettingsCardComponent as bQ, PresentationSubtitleBarComponent as bR, PresentationToolbarComponent as bS, PresentationTransitionOverlayComponent as bT, PresenterViewComponent as bU, PresenterWindowService as bV, PrintDialogComponent as bW, PrintService as bX, PrintSettingsPanelComponent as bY, PropertiesDialogComponent as bZ, RANDOM_ELIGIBLE_TYPES as b_, LONG_PRESS_MOVE_TOLERANCE_PX as ba, LoadContentService as bb, LocalPresencePublisher as bc, MAX_ZOOM_SCALE as bd, MIN_ZOOM_SCALE as be, MOTION_PATH_COLUMNS as bf, MediaPreviewComponent as bg, MediaPropertiesPanelComponent as bh, MediaRendererComponent as bi, MediaTrimTimelineComponent as bj, MobileBottomBarComponent as bk, MobileMenuSheetComponent as bl, MobilePresenterViewComponent as bm, MobileSheetComponent as bn, MobileSlidesSheetComponent as bo, MobileToolbarComponent as bp, ModalDialogComponent as bq, Model3DRendererComponent as br, NotesHandoutCardComponent as bs, NotesPanelComponent as bt, NotesToolbarComponent as bu, OleRendererComponent as bv, OutlineViewOverlayComponent as bw, P14_TRANSITION_KEYFRAMES as bx, P14_TRANSITION_KEYFRAMES_2 as by, P14_TRANSITION_KEYFRAMES_ALL as bz, AUDIENCE_HASH as c, SlideSorterOverlayComponent as c$, RESIZE_HANDLES as c0, RULER_FONT_SIZE as c1, RULER_THICKNESS as c2, ReadingViewOverlayComponent as c3, RemoteSelectionOverlayComponent as c4, RibbonAnimationGalleryComponent as c5, RibbonAnimationsSectionComponent as c6, RibbonArrangeSectionComponent as c7, RibbonColorPopoverComponent as c8, RibbonComponent as c9, DEFAULT_PALETTE as cA, PALETTES as cB, SMART_ART_COLOR_SCHEMES as cC, SMART_ART_STYLE_OPTIONS as cD, SUB_ITEM_LABEL as cE, SVG_WARP_PRESETS as cF, SWIPE_MAX_VERTICAL_PX as cG, SWIPE_THRESHOLD_PX as cH, SelectionPaneComponent as cI, SetUpSlideShowDialogComponent as cJ, SettingsAppearanceTabComponent as cK, SettingsDialogComponent as cL, SettingsLanguageTabComponent as cM, ShareDialogComponent as cN, ShortcutPanelComponent as cO, ShowOptionsFieldsetComponent as cP, ShowSlidesFieldsetComponent as cQ, SignatureStrippedDialogComponent as cR, SignaturesPanelComponent as cS, SignaturesService as cT, SlideBackgroundCardComponent as cU, SlideCanvasComponent as cV, SlideDefaultInspectorComponent as cW, SlideDiffChangesComponent as cX, SlideDiffRowComponent as cY, SlideDiffThumbnailsComponent as cZ, SlideSizeCardComponent as c_, RibbonDesignSectionComponent as ca, RibbonDrawSectionComponent as cb, RibbonDrawingGroupComponent as cc, RibbonEditingSectionComponent as cd, RibbonFileSectionComponent as ce, RibbonFontControlsComponent as cf, RibbonHomeSectionComponent as cg, RibbonHyperlinkButtonComponent as ch, RibbonInsertFieldsComponent as ci, RibbonInsertSectionComponent as cj, RibbonMotionPathGalleryComponent as ck, RibbonParagraphControlsComponent as cl, RibbonPrimaryRowComponent as cm, RibbonReviewSectionComponent as cn, RibbonShapeExtrasComponent as co, RibbonSlideshowSectionComponent as cp, RibbonTransitionsSectionComponent as cq, RibbonViewSectionComponent as cr, RulerGuidesService as cs, SEQUENCE_OPTIONS as ct, SEVERITY_GROUPS as cu, SEVERITY_LABELS as cv, DEFAULT_TRANSITION_DURATION_MS$1 as cw, SHORTCUT_REFERENCE_ITEMS as cx, SLIDE_TRANSITION_KEYFRAMES as cy, SLIDE_TRANSITION_KEYFRAMES_CSS as cz, AUDIENCE_NONCE_KEY as d, ZERO_LINE_COLOR as d$, SlideThemeOverridePanelComponent as d0, SlideTransitionCardComponent as d1, SlidesPanelComponent as d2, SmartArt3DRendererComponent as d3, SmartArt3DService as d4, SmartArtPreviewComponent as d5, SmartArtPropertiesComponent as d6, SmartArtRendererComponent as d7, StatusBarComponent as d8, TABLE_STRUCTURE_TOGGLES as d9, TransitionPreviewComponent as dA, VALIGN_OPTIONS as dB, VIEWER_THEME as dC, VersionHistoryPanelComponent as dD, ViewerCanvasEditingService as dE, ViewerCollabCursorService as dF, ViewerCollaborationSessionService as dG, ViewerCollaborationShellService as dH, ViewerCompareService as dI, ViewerCustomShowsService as dJ, ViewerDialogsService as dK, ViewerDocumentPropertiesService as dL, ViewerExportService as dM, ViewerExtraDialogsComponent as dN, ViewerFileIOService as dO, ViewerFindReplaceService as dP, ViewerFormatPainterService as dQ, ViewerInspectorPanelService as dR, ViewerKeyboardService as dS, ViewerMobileSheetService as dT, ViewerPresentationModeService as dU, ViewerThemeGalleryService as dV, ViewerTouchGesturesService as dW, ViewerZoomService as dX, WEBM_MIME_CANDIDATES as dY, WHEEL_SPOKE_COUNTS as dZ, WriteBackScheduler as d_, TEXT_3D_BOTTOM_BEVEL_KEYS as da, TEXT_3D_TOP_BEVEL_KEYS as db, TEXT_DIRECTION_OPTIONS$1 as dc, THEME_CATALOG as dd, TIMING_CURVE_OPTIONS as de, TRANSITION_SPEED_DURATION_MS as df, TRIGGER_OPTIONS as dg, TYPE_LABELS as dh, TableCellAdvancedFillComponent as di, TableCellFormattingComponent as dj, TableDataEditorComponent as dk, TablePropertiesComponent as dl, TableRendererComponent as dm, TableResizeOverlayComponent as dn, TableSelectionService as dp, TagsCardComponent as dq, Text3DBevelSectionComponent as dr, Text3DPanelComponent as ds, TextAdvancedPanelComponent as dt, ThemeEditorFieldsComponent as du, ThemeGalleryComponent as dv, ThemeSelectorCardComponent as dw, TitleBarComponent as dx, TitleBarSearchComponent as dy, TransitionDirectionPickerComponent as dz, AVATAR_COLOR_SWATCHES as e, buildModel3DContainerStyle as e$, ZoomNavigationService as e0, ZoomRendererComponent as e1, ZoomTargetService as e2, addCategory as e3, addCommentToList as e4, addGradientStopPatch as e5, addItem as e6, addSeries as e7, addSubItem as e8, advanceStep as e9, buildCategoryLabels as eA, buildCellParagraphs as eB, buildChartViewModel as eC, buildChatLogExport as eD, buildChatLogMarkdown as eE, buildChromeStyle as eF, buildClearHyperlinkPatch as eG, buildClickGroups as eH, buildColStyles as eI, buildCollaborationConfig as eJ, buildComboViewModel as eK, buildCssGradientFromShapeStyle as eL, buildDuotoneFilter as eM, buildDuotoneFilterId as eN, buildEmbeddedFontStyles as eO, buildEquationElement as eP, buildEquationSegment as eQ, buildFallbackViewModel as eR, buildFontFaceRule as eS, buildGradientFillCss as eT, buildGridlinesAndLabels as eU, buildHyperlinkPatch as eV, buildInkContainerStyle as eW, buildInkStrokes as eX, buildLegend as eY, buildLiveInkStrokeView as eZ, buildMarkTooltip as e_, affordanceElements as ea, aiToggleVisible as eb, alignPatch as ec, animationFor as ed, animationPresetLabelKey as ee, annotationMapToInkInserts as ef, applyAcceptedDiff as eg, applyAnimationPreset as eh, applyFindReplacements as ei, applyFormatToElement as ej, applyMove as ek, applyResize as el, asMediaElement as em, assignUserColor as en, attachShowVisibilityPause as eo, attachTouchGestures as ep, axisTickValues as eq, beginDrawingNodeEdit as er, beginNodeEdit as es, bevelSizePatch as et, boolFromEvent as eu, bringForward as ev, bringToFront as ew, buildBarActions as ex, buildBroadcastConfig as ey, buildBroadcastViewerUrl as ez, AXIS_LABEL_COLOR as f, computeDrawingViewBox as f$, buildModel3DViewModel as f0, buildOleActionModel as f1, buildOleInfoRows as f2, buildPatternFillCss as f3, buildPieViewModel as f4, buildPrintHtmlDocument as f5, buildPropertiesPatch as f6, buildRadarViewModel as f7, buildRegionMapViewModel as f8, buildSaveSlides as f9, changeCountLabel as fA, changeIcon as fB, characterSpacingPatch as fC, chartPreserveAspectRatio as fD, checkFontAvailable as fE, clampCursorPosition as fF, clampGifDimensions as fG, clampIndex as fH, clampNotesFontSize as fI, clampScale as fJ, clampStep as fK, clearAllLocalViewerData as fL, clearAudienceContent as fM, cn as fN, collectAccessibilityIssues as fO, collectElementText as fP, collectSlideText as fQ, collectStoredChats as fR, collectUsedFontFamilies as fS, columnWidthStyle as fT, commitNodeText as fU, computeAlign as fV, computeAxisTitlePrimitives as fW, computeBarRects as fX, computeBubbleRadius as fY, computeCornerHandle as fZ, computeDistribute as f_, buildShareUrl as fa, buildSmartArtInsertElement as fb, buildSmartArtNodes as fc, buildStockViewModel as fd, buildSurfaceViewModel as fe, buildTableViewModel as ff, buildTreemapViewModel as fg, buildTrimFragment as fh, buildWaterfallViewModel as fi, buildZeroLine as fj, buildZoomContainerStyle as fk, buildZoomViewModel as fl, bulletIndentPx as fm, canAddTopLevelNode as fn, canEditSmartArtNodes as fo, canGroupSelection as fp, canRemoveTopLevelNode as fq, canSetStrokeWidth as fr, canStartBroadcast as fs, canStartShare as ft, canUngroupSelection as fu, canUseClipboard as fv, captionDisplayText as fw, cellRunStyle as fx, cellStyleToStyleMap as fy, cellTdStyle as fz, AccessibilityPanelComponent as g, enableReflectionPatch as g$, computeErrorBarPrimitives as g0, computeFocusTargets as g1, computeGridSpacingPx as g2, computeHandleBoxes as g3, computeHandoutLayout as g4, computeIsMobile as g5, computeIsTablet as g6, computeLinePoints as g7, computeLinearRegression as g8, computePageCount as g9, createWebrtcBundle as gA, createWebsocketBundle as gB, cssObjectToStyleMap as gC, currentColorScheme as gD, currentLayout as gE, currentStyle as gF, defaultCssVars as gG, defaultRadius as gH, defaultThemeColors as gI, deleteElementsByIds as gJ, deleteVersion as gK, demoteNode as gL, deriveModel3DBlobUrl as gM, derivePresenceList as gN, describeCollaborationShellState as gO, describeSmartArtBounds as gP, disableGlowPatch as gQ, disableInnerShadowPatch as gR, disableOuterShadowPatch as gS, disableReflectionPatch as gT, disableSoftEdgePatch as gU, duplicateElementById as gV, durationOf as gW, effectsStateOf as gX, enableGlowPatch as gY, enableInnerShadowPatch as gZ, enableOuterShadowPatch as g_, computePieLayout as ga, computePieSlicePath as gb, computePieSlices as gc, computePlotLayout as gd, computeRSquared as ge, computeRadarPoints as gf, computeResizeHandleBoxes as gg, computeRotateHandleBox as gh, computeScatterDots as gi, computeScatterXDomain as gj, computeSelectionBoxes as gk, computeSingleSelected as gl, computeSlideIndices as gm, computeSnap as gn, computeStackedBarRects as go, computeStackedValueRange as gp, computeTrendlinePrimitives as gq, computeValueRange as gr, convertOmmlToMathMl as gs, copyFormatFromElement as gt, countAccessibilityIssues as gu, countAnnotationStrokes as gv, createAngularAiBridge as gw, createCustomShow as gx, createImageElementFromFile as gy, createSwipeDismissDrag as gz, AccessibilityService as h, getWarpCategory as h$, enableSoftEdgePatch as h0, encodeGif as h1, endShowMediaCleanup as h2, estimatePageCount as h3, exitPresentationFullscreen as h4, exportAiChatLogs as h5, extractPathPoints as h6, eyedropperAvailable as h7, fillColorOf$1 as h8, findInSlides as h9, getDuotoneFilterDef as hA, getEffectSoundAsset as hB, getEffectSoundState as hC, getImageSrc as hD, getLocalStorageUsageSummary as hE, getOleAriaLabel as hF, getOleBadgeLabel as hG, getOleDisplayName as hH, getOleDownloadFileName as hI, getOleTypeColor as hJ, getOleTypeLabel as hK, getP14TransitionAnimations as hL, getPasswordStrength as hM, getPatternSvg as hN, getPlaceholderStyle as hO, getVersions as hP, getResolvedShapeClipPath as hQ, getResolvedShapeClipPathFor as hR, getSessionTabId as hS, getShapeFillStrokeStyle as hT, getSlideBackgroundStyle as hU, getSlideTransitionAnimations as hV, getSmartArtNodeBounds as hW, getSpeechRecognitionCtor as hX, getTextBlockStyle as hY, getTextWarp as hZ, getTouchDistance as h_, findOwningSlideIndex as ha, findSlideIndexByElementId as hb, firstVisibleIndex as hc, fitPolynomial as hd, fitZoom as he, focusTargetChips as hf, fontMimeForFormat as hg, fontSizeOf as hh, forgetSessionDeck as hi, formatAxisValue as hj, formatBytes as hk, formatCursorLabel as hl, formatElapsed as hm, formatFileSize as hn, formatInlineListStyle as ho, formatPropertyDate as hp, formatTime as hq, fpsToFrameIntervalMs as hr, generateBroadcastRoomId as hs, generateCommentId as ht, generateCustomShowId as hu, generatePressureCircles as hv, generateTicks as hw, getCinematicTransitionAnimations as hx, getClrChangeParams as hy, getContainerStyle as hz, AccessibilityTextPanelComponent as i, narrowToCircle as i$, getWarpPath as i0, gradientStateFromStyle as i1, gradientStateOf as i2, gradientStatePatch as i3, gradientStopColorCommitPatch as i4, gridColumns as i5, groupIssuesBySeverity as i6, hasAnimation as i7, hasCopyableFormat as i8, hasExistingLink as i9, isUnderline as iA, isUrlSafe as iB, isValidRoomId as iC, isViewportBackgroundPressTarget as iD, isZoomActivationKey as iE, issueTrackKey as iF, issueTypeLabel as iG, keyToLabel as iH, lastVisibleIndex as iI, latexToMathml as iJ, layoutConnectorPaints as iK, layoutNodeLabels as iL, linePointsToSvgString as iM, lineSpacingPatch as iN, loadAudienceContent as iO, loadSessionDeck as iP, mediaFallbackFor as iQ, mediaSurfaceFor as iR, mergeCaptionResults as iS, mergeDown as iT, mergeRight as iU, mergeSelection as iV, mergeTablesDirective as iW, moveElementBy as iX, moveNodeDown as iY, moveNodeUp as iZ, msToFrameDelayCs as i_, hasExitedFullscreen as ia, hasGradientFill as ib, hasPressureVariation as ic, hasVisibleSlideAfter as id, headerLabel as ie, imageDimensions as ig, inkViewBox as ih, insertTableElementColumn as ii, insertTableElementRow as ij, interpolateWidth as ik, isAudienceTab as il, isBold as im, isBrowserOpenableMime as io, isChildNode as ip, isElementInteractive as iq, isInjectableUrl as ir, isItalic as is, isLegacyBinaryPresentation as it, isPpactionUrl as iu, isPresenterMessage as iv, isSigned as iw, isSupportedPresentationFile as ix, isTextElement as iy, isTwoTableFocus as iz, AccountPageComponent as j, removeElementAnimation as j$, narrowToPolygon as j0, narrowToRect as j1, newChartElement as j2, newEquationElement as j3, newPresetShapeElement as j4, newShapeElement as j5, newSmartArtElement as j6, newTableElement as j7, newTextElement as j8, nextVisibleIndex as j9, pickFile as jA, pickSupportedMimeType as jB, planGifFrames as jC, planVideoSegments as jD, pointFromPointerEvent as jE, pointsToSvgPathD as jF, presenceToCursors as jG, presentationBaseName as jH, presentationStageStyle as jI, presenterTimerProgress as jJ, presetByLayout as jK, presetsForCategory as jL, pressuresToWidths as jM, prevVisibleIndex as jN, projectDrawingShapes as jO, promoteNode as jP, provideViewerTheme as jQ, radarAngle as jR, radarRingPoints as jS, readAsDataUrl as jT, recordWebm as jU, registerCrossSlideAudio as jV, rememberSessionDeck as jW, removeAnimation as jX, removeCategory as jY, removeTableElementColumn as jZ, removeCommentFromList as j_, nodeBold as ja, nodeEditBox as jb, nodeFillColor as jc, nodeFontColor as jd, nodeIdFromKey as je, nodeItalic as jf, nodeStyle as jg, normalizeFontFormat as jh, normalizeSlidesPerPage as ji, normalizeValue as jj, numFromEvent as jk, ommlToMathml as jl, ooxmlDashToCssBorderStyle as jm, openNativeEyeDropper as jn, overallStatus as jo, paletteColor as jp, parseAudienceNonce as jq, parseNodeTextarea as jr, partitionSlides as js, patchChartData as jt, patchChartStyle as ju, patchTableData as jv, patchTextStyle as jw, patternPresetOptions as jx, pendingElementStyles as jy, pickColorByClickFallback as jz, ActionSettingsPanelComponent as k, setAnimationExit as k$, removeGradientStopPatch as k0, removeNode as k1, removeTableElementRow as k2, removeSeries as k3, renderToCanvas as k4, reorderAnimationDown as k5, reorderAnimationUp as k6, replaceInSlides as k7, replaceMatch as k8, requestPresentationFullscreen as k9, rowStyle as kA, rulerDragToGuidePosition as kB, rulerHighlight as kC, rulerStripTicks as kD, sampleColorFromSlide as kE, sanitizeColor as kF, sanitizeSlideIndex as kG, sanitizeUserName as kH, saveViewerProfile as kI, savedPresentationFileName as kJ, scanAvailableFonts as kK, searchSlides as kL, seedBroadcastFields as kM, seedHyperlinkDraft as kN, seedPropertiesDraft as kO, seedShareFields as kP, segmentFrameCount as kQ, selectValue$3 as kR, sendBackward as kS, sendToBack as kT, sequentialColorScale as kU, serializeWriteBack as kV, seriesColor as kW, setAfterAnimation as kX, setAfterAnimationColor as kY, setAnimationEmphasis as kZ, setAnimationEntrance as k_, resizeElement as ka, resolveCaptionTracks as kb, resolveChartKind as kc, resolveDirection as kd, resolveDirection8 as ke, resolveFontVariant as kf, resolveHyperlinkHref as kg, resolveInteractiveElementId as kh, resolveMediaSrc as ki, resolveOleType as kj, resolveOrientation as kk, resolveParagraphBullet as kl, resolvePresenterNotes as km, resolveProfileInitial as kn, resolveRegionCode as ko, resolveRibbonCanGroup as kp, resolveSlideAutoAdvanceMs as kq, resolveSlideTransition as kr, resolvePalette as ks, resolveThemeCatalogEntry as kt, resolveTransitionDuration as ku, resolveTransitionDurationMs as kv, resolveWheelSpokeCount as kw, restoreSessionDeck as kx, revealedElementStyles as ky, routeOrthogonalConnector as kz, AdvancedChartEditorComponent as l, surfaceColor as l$, setAxis as l0, setAxisLogScale as l1, setAxisTitleStyle as l2, setCategoryLabel as l3, setCellText as l4, setColorScheme as l5, setDataLabels as l6, setDataPointExplosion as l7, setDataPointFill as l8, setDataPointLabel as l9, setTriggerShapeId as lA, shapeStylePatch$1 as lB, sheetAfterNavigate as lC, shouldBlockClickAdvance as lD, shouldUseSvgWarp as lE, showDirectionPicker as lF, showsTemplateAffordance as lG, signatureCountLabel as lH, signatureKey as lI, signatureTimestamp as lJ, signerName as lK, statusLabel as lL, slideNumberOf as lM, slidesWithReappliedLayout as lN, smartArtNodes as lO, paletteColour as lP, snapToGridStep as lQ, splitCursorCell as lR, splitMergedCell as lS, statusKind as lT, statusLabel$1 as lU, storeAudienceContent as lV, stringFromEvent$5 as lW, strokeColorOf as lX, strokeToInkElement as lY, strokeWidthOf as lZ, styleShadowFilter as l_, setDataPointMarker as la, setDelay as lb, setDirection as lc, setDuration as ld, setEffectSound as le, setEffectStockSound as lf, setElementPosition as lg, setGridlineStyle as lh, setLayout as li, setLegend as lj, setNodeStyle as lk, setNodeText as ll, setRepeatCount as lm, setRepeatMode as ln, setSequence as lo, setSeriesChartType as lp, setSeriesColor as lq, setSeriesErrorBars as lr, setSeriesMarker as ls, setSeriesName as lt, setSeriesTrendline as lu, setSeriesValue as lv, setStyle as lw, setTimingCurve as lx, setTitle as ly, setTrigger as lz, AiChangeOverlayComponent as m, textAdvancedPatch as m0, textAdvancedStateFromStyle as m1, textAdvancedStateOf as m2, textColorOf as m3, textDirectionPatch as m4, textFontSizePatch as m5, textStyleOf as m6, textStylePatch as m7, themeStyle as m8, themeToCssVars as m9, withManualLayouts as mA, worstStatus as mB, zoomTargetSlideIndex as mC, thumbnailHeight as ma, thumbnailZoom as mb, toggleCommentResolvedInList as mc, toggleNodeBold as md, toggleNodeItalic as me, toggleSheet as mf, topLevelNodeCount as mg, transformSelectedTextCase as mh, translationsEn as mi, updateElementById as mj, updateGlowPatch as mk, updateGradientStopPatch as ml, updateInnerShadowPatch as mm, updateOuterShadowPatch as mn, updateReflectionPatch as mo, vAlignPatch as mp, validatePassword as mq, validatePrintSettings as mr, validateRoomId as ms, valueToY as mt, vermilionDarkColors as mu, vermilionDarkTheme as mv, vermilionLightColors as mw, vermilionLightTheme as mx, vermilionRadius as my, waypointsToPathD as mz, AiChatPanelComponent as n, AiChatService as o, AiComposerComponent as p, AiFocusBarComponent as q, AiFocusHighlightOverlayComponent as r, AiHistoryMenuComponent as s, toChatSummary as t, AiHistoryService as u, AiMessageListComponent as v, AiPanelStore as w, AiProposalCardComponent as x, AiSettingsSectionComponent as y, AiToolCallCardComponent as z };
189626
- //# sourceMappingURL=pptx-angular-viewer-pptx-angular-viewer-DRXYs84-.mjs.map
189691
+ //# sourceMappingURL=pptx-angular-viewer-pptx-angular-viewer-DpuKwEgB.mjs.map