pptx-angular-viewer 2.17.3 → 2.17.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ All notable changes to this project are documented here.
4
4
  This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
5
5
  by [git-cliff](https://git-cliff.org); do not edit it by hand.
6
6
 
7
+ ## [2.17.3](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@2.17.3) - 2026-08-10
8
+
9
+ ### Dependencies
10
+
11
+ - **deps:** Update dompurify requirement from ^3.4.12 to ^3.4.13 ([#151](https://github.com/ChristopherVR/pptx-viewer/issues/151)) (by @dependabot[bot]) ([7b975ff](https://github.com/ChristopherVR/pptx-viewer/commit/7b975ff73403916341fd8a6192fb6fd6c88fdc17))
12
+ - **deps:** Update yjs requirement from ^13.6.31 to ^13.6.32 ([#152](https://github.com/ChristopherVR/pptx-viewer/issues/152)) (by @dependabot[bot]) ([456fdb8](https://github.com/ChristopherVR/pptx-viewer/commit/456fdb8493487ab3e346714755239a90698f6b4d))
13
+
14
+ ### Chores
15
+
16
+ - **deps-dev:** Bump the minor-and-patch group with 2 updates ([#150](https://github.com/ChristopherVR/pptx-viewer/issues/150)) (by @dependabot[bot]) ([ab75bf1](https://github.com/ChristopherVR/pptx-viewer/commit/ab75bf10a96bb2a0da6e963a5b6b8634e4f73d5b))
17
+
7
18
  ## [2.17.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@2.17.2) - 2026-08-08
8
19
 
9
20
  ## [2.17.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@2.17.1) - 2026-08-07
@@ -1,4 +1,4 @@
1
- import { t as toChatSummary } from './pptx-angular-viewer-pptx-angular-viewer-Dmq8rQWr.mjs';
1
+ import { t as toChatSummary } from './pptx-angular-viewer-pptx-angular-viewer-COSjTSrD.mjs';
2
2
 
3
3
  /**
4
4
  * IndexedDB backend for {@link createChatHistoryStore}. Kept in its own module
@@ -103,4 +103,4 @@ function createIdbBackend(db) {
103
103
  }
104
104
 
105
105
  export { CHAT_STORE, createIdbBackend, openChatDb };
106
- //# sourceMappingURL=pptx-angular-viewer-chat-history-idb--qaJVCPk.mjs.map
106
+ //# sourceMappingURL=pptx-angular-viewer-chat-history-idb-lds9F-eW.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"pptx-angular-viewer-chat-history-idb--qaJVCPk.mjs","sources":["../../src/internal/shared-src/ai/chat-history-idb.ts"],"sourcesContent":["/**\n * IndexedDB backend for {@link createChatHistoryStore}. Kept in its own module\n * so the localStorage fallback and the public factory stay within the per-file\n * size budget. Uses the raw IndexedDB API with tiny promise wrappers so no new\n * runtime dependency is pulled in.\n *\n * Every browser global is touched lazily from inside a function, never at module\n * load, so importing this file in a non-DOM environment (Node, SSR) never throws.\n */\n\nimport type { ChatBackend, PptxAiChatSummary, PptxAiStoredChat } from './chat-history-store';\nimport { toChatSummary } from './chat-history-store';\n\n/** Object store holding one record per chat, keyed by `id`. */\nexport const CHAT_STORE = 'chats';\n/** Index over the optional `deckId` key path, used for per-deck filtering. */\nconst DECK_INDEX = 'deckId';\n\n/** Resolve an `IDBRequest` to a promise. */\nfunction requestToPromise<T>(request: IDBRequest<T>): Promise<T> {\n\treturn new Promise<T>((resolve, reject) => {\n\t\trequest.onsuccess = () => resolve(request.result);\n\t\trequest.onerror = () => reject(request.error ?? new Error('IndexedDB request failed.'));\n\t});\n}\n\n/** Resolve when a transaction commits (or reject on error/abort). */\nfunction transactionDone(tx: IDBTransaction): Promise<void> {\n\treturn new Promise<void>((resolve, reject) => {\n\t\ttx.oncomplete = () => resolve();\n\t\ttx.onerror = () => reject(tx.error ?? new Error('IndexedDB transaction failed.'));\n\t\ttx.onabort = () => reject(tx.error ?? new Error('IndexedDB transaction aborted.'));\n\t});\n}\n\n/**\n * Open (and if needed create/upgrade) the chat database. Throws when there is no\n * `indexedDB` global so the caller can transparently fall back to localStorage.\n */\nexport function openChatDb(dbName: string): Promise<IDBDatabase> {\n\tconst idb = typeof indexedDB !== 'undefined' ? indexedDB : undefined;\n\tif (!idb) {\n\t\tthrow new Error('IndexedDB is not available in this environment.');\n\t}\n\treturn new Promise<IDBDatabase>((resolve, reject) => {\n\t\tconst open = idb.open(dbName, 1);\n\t\topen.onupgradeneeded = () => {\n\t\t\tconst db = open.result;\n\t\t\tif (!db.objectStoreNames.contains(CHAT_STORE)) {\n\t\t\t\tconst store = db.createObjectStore(CHAT_STORE, { keyPath: 'id' });\n\t\t\t\tstore.createIndex(DECK_INDEX, 'deckId', { unique: false });\n\t\t\t}\n\t\t};\n\t\topen.onsuccess = () => resolve(open.result);\n\t\topen.onerror = () => reject(open.error ?? new Error('Failed to open IndexedDB.'));\n\t\topen.onblocked = () => reject(new Error('IndexedDB open blocked by another connection.'));\n\t});\n}\n\n/** Read every stored chat (newest-first ordering is applied by the caller). */\nasync function readAll(db: IDBDatabase, deckId: string | undefined): Promise<PptxAiStoredChat[]> {\n\tconst tx = db.transaction(CHAT_STORE, 'readonly');\n\tconst store = tx.objectStore(CHAT_STORE);\n\tconst source =\n\t\tdeckId === undefined\n\t\t\t? store.getAll()\n\t\t\t: store.index(DECK_INDEX).getAll(IDBKeyRange.only(deckId));\n\tconst rows = await requestToPromise<PptxAiStoredChat[]>(source);\n\tawait transactionDone(tx);\n\treturn rows;\n}\n\n/** Create an IndexedDB-backed {@link ChatBackend}. */\nexport function createIdbBackend(db: IDBDatabase): ChatBackend {\n\treturn {\n\t\tasync list(deckId: string | undefined): Promise<PptxAiChatSummary[]> {\n\t\t\tconst rows = await readAll(db, deckId);\n\t\t\treturn rows.map(toChatSummary).sort((a, b) => b.updatedAt - a.updatedAt);\n\t\t},\n\t\tasync load(id: string): Promise<PptxAiStoredChat | null> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readonly');\n\t\t\tconst row = await requestToPromise<PptxAiStoredChat | undefined>(\n\t\t\t\ttx.objectStore(CHAT_STORE).get(id),\n\t\t\t);\n\t\t\tawait transactionDone(tx);\n\t\t\treturn row ?? null;\n\t\t},\n\t\tasync save(chat: PptxAiStoredChat): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\ttx.objectStore(CHAT_STORE).put(chat);\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t\tasync remove(id: string): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\ttx.objectStore(CHAT_STORE).delete(id);\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t\tasync clear(deckId: string | undefined): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\tconst store = tx.objectStore(CHAT_STORE);\n\t\t\tif (deckId === undefined) {\n\t\t\t\tstore.clear();\n\t\t\t} else {\n\t\t\t\tconst ids = await requestToPromise<IDBValidKey[]>(\n\t\t\t\t\tstore.index(DECK_INDEX).getAllKeys(IDBKeyRange.only(deckId)),\n\t\t\t\t);\n\t\t\t\tfor (const id of ids) {\n\t\t\t\t\tstore.delete(id);\n\t\t\t\t}\n\t\t\t}\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t};\n}\n"],"names":[],"mappings":";;AAAA;;;;;;;;AAQG;AAKH;AACO,MAAM,UAAU,GAAG;AAC1B;AACA,MAAM,UAAU,GAAG,QAAQ;AAE3B;AACA,SAAS,gBAAgB,CAAI,OAAsB,EAAA;IAClD,OAAO,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM,KAAI;AACzC,QAAA,OAAO,CAAC,SAAS,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC;AACjD,QAAA,OAAO,CAAC,OAAO,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,KAAK,IAAI,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;AACxF,IAAA,CAAC,CAAC;AACH;AAEA;AACA,SAAS,eAAe,CAA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al/shared-src/ai/chat-history-idb.ts"],"sourcesContent":["/**\n * IndexedDB backend for {@link createChatHistoryStore}. Kept in its own module\n * so the localStorage fallback and the public factory stay within the per-file\n * size budget. Uses the raw IndexedDB API with tiny promise wrappers so no new\n * runtime dependency is pulled in.\n *\n * Every browser global is touched lazily from inside a function, never at module\n * load, so importing this file in a non-DOM environment (Node, SSR) never throws.\n */\n\nimport type { ChatBackend, PptxAiChatSummary, PptxAiStoredChat } from './chat-history-store';\nimport { toChatSummary } from './chat-history-store';\n\n/** Object store holding one record per chat, keyed by `id`. */\nexport const CHAT_STORE = 'chats';\n/** Index over the optional `deckId` key path, used for per-deck filtering. */\nconst DECK_INDEX = 'deckId';\n\n/** Resolve an `IDBRequest` to a promise. */\nfunction requestToPromise<T>(request: IDBRequest<T>): Promise<T> {\n\treturn new Promise<T>((resolve, reject) => {\n\t\trequest.onsuccess = () => resolve(request.result);\n\t\trequest.onerror = () => reject(request.error ?? new Error('IndexedDB request failed.'));\n\t});\n}\n\n/** Resolve when a transaction commits (or reject on error/abort). */\nfunction transactionDone(tx: IDBTransaction): Promise<void> {\n\treturn new Promise<void>((resolve, reject) => {\n\t\ttx.oncomplete = () => resolve();\n\t\ttx.onerror = () => reject(tx.error ?? new Error('IndexedDB transaction failed.'));\n\t\ttx.onabort = () => reject(tx.error ?? new Error('IndexedDB transaction aborted.'));\n\t});\n}\n\n/**\n * Open (and if needed create/upgrade) the chat database. Throws when there is no\n * `indexedDB` global so the caller can transparently fall back to localStorage.\n */\nexport function openChatDb(dbName: string): Promise<IDBDatabase> {\n\tconst idb = typeof indexedDB !== 'undefined' ? indexedDB : undefined;\n\tif (!idb) {\n\t\tthrow new Error('IndexedDB is not available in this environment.');\n\t}\n\treturn new Promise<IDBDatabase>((resolve, reject) => {\n\t\tconst open = idb.open(dbName, 1);\n\t\topen.onupgradeneeded = () => {\n\t\t\tconst db = open.result;\n\t\t\tif (!db.objectStoreNames.contains(CHAT_STORE)) {\n\t\t\t\tconst store = db.createObjectStore(CHAT_STORE, { keyPath: 'id' });\n\t\t\t\tstore.createIndex(DECK_INDEX, 'deckId', { unique: false });\n\t\t\t}\n\t\t};\n\t\topen.onsuccess = () => resolve(open.result);\n\t\topen.onerror = () => reject(open.error ?? new Error('Failed to open IndexedDB.'));\n\t\topen.onblocked = () => reject(new Error('IndexedDB open blocked by another connection.'));\n\t});\n}\n\n/** Read every stored chat (newest-first ordering is applied by the caller). */\nasync function readAll(db: IDBDatabase, deckId: string | undefined): Promise<PptxAiStoredChat[]> {\n\tconst tx = db.transaction(CHAT_STORE, 'readonly');\n\tconst store = tx.objectStore(CHAT_STORE);\n\tconst source =\n\t\tdeckId === undefined\n\t\t\t? store.getAll()\n\t\t\t: store.index(DECK_INDEX).getAll(IDBKeyRange.only(deckId));\n\tconst rows = await requestToPromise<PptxAiStoredChat[]>(source);\n\tawait transactionDone(tx);\n\treturn rows;\n}\n\n/** Create an IndexedDB-backed {@link ChatBackend}. */\nexport function createIdbBackend(db: IDBDatabase): ChatBackend {\n\treturn {\n\t\tasync list(deckId: string | undefined): Promise<PptxAiChatSummary[]> {\n\t\t\tconst rows = await readAll(db, deckId);\n\t\t\treturn rows.map(toChatSummary).sort((a, b) => b.updatedAt - a.updatedAt);\n\t\t},\n\t\tasync load(id: string): Promise<PptxAiStoredChat | null> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readonly');\n\t\t\tconst row = await requestToPromise<PptxAiStoredChat | undefined>(\n\t\t\t\ttx.objectStore(CHAT_STORE).get(id),\n\t\t\t);\n\t\t\tawait transactionDone(tx);\n\t\t\treturn row ?? null;\n\t\t},\n\t\tasync save(chat: PptxAiStoredChat): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\ttx.objectStore(CHAT_STORE).put(chat);\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t\tasync remove(id: string): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\ttx.objectStore(CHAT_STORE).delete(id);\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t\tasync clear(deckId: string | undefined): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\tconst store = tx.objectStore(CHAT_STORE);\n\t\t\tif (deckId === undefined) {\n\t\t\t\tstore.clear();\n\t\t\t} else {\n\t\t\t\tconst ids = await requestToPromise<IDBValidKey[]>(\n\t\t\t\t\tstore.index(DECK_INDEX).getAllKeys(IDBKeyRange.only(deckId)),\n\t\t\t\t);\n\t\t\t\tfor (const id of ids) {\n\t\t\t\t\tstore.delete(id);\n\t\t\t\t}\n\t\t\t}\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t};\n}\n"],"names":[],"mappings":";;AAAA;;;;;;;;AAQG;AAKH;AACO,MAAM,UAAU,GAAG;AAC1B;AACA,MAAM,UAAU,GAAG,QAAQ;AAE3B;AACA,SAAS,gBAAgB,CAAI,OAAsB,EAAA;IAClD,OAAO,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM,KAAI;AACzC,QAAA,OAAO,CAAC,SAAS,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC;AACjD,QAAA,OAAO,CAAC,OAAO,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,KAAK,IAAI,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;AACxF,IAAA,CAAC,CAAC;AACH;AAEA;AACA,SAAS,eAAe,CAAC,EAAkB,EAAA;IAC1C,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,KAAI;QAC5C,EAAE,CAAC,UAAU,GAAG,MAAM,OAAO,EAAE;AAC/B,QAAA,EAAE,CAAC,OAAO,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,KAAK,IAAI,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;AACjF,QAAA,EAAE,CAAC,OAAO,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,KAAK,IAAI,IAAI,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E,CAAC;QAC1B,CAAC;QACD,MAAM,MAAM,CAAC,EAAU,EAAA;YACtB,MAAM,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,UAAU,EAAE,WAAW,CAAC;YAClD,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;AACrC,YAAA,MAAM,eAAe,CAAC,EAAE,CAAC;QAC1B,CAAC;QACD,MAAM,KAAK,CAAC,MAA0B,EAAA;YACrC,MAAM,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,UAAU,EAAE,WAAW,CAAC;YAClD,MAAM,KAAK,GAAG,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC;AACxC,YAAA,IAAI,MAAM,KAAK,SAAS,EAAE;gBACzB,KAAK,CAAC,KAAK,EAAE;YACd;iBAAO;gBACN,MAAM,GAAG,GAAG,MAAM,gBAAgB,CACjC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAC5D;AACD,gBAAA,KAAK,MAAM,EAAE,IAAI,GAAG,EAAE;AACrB,oBAAA,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;gBACjB;YACD;AACA,YAAA,MAAM,eAAe,CAAC,EAAE,CAAC;QAC1B,CAAC;KACD;AACF;;;;"}
@@ -34902,7 +34902,12 @@ function correspondingGroup(group, candidates) {
34902
34902
  }
34903
34903
  /** Fraction of the union two boxes must share to read as the same object. */
34904
34904
  const CHILD_OVERLAP_RATIO = 0.5;
34905
- /** Intersection over union of two element boxes. */
34905
+ /**
34906
+ * Intersection over union of two element boxes.
34907
+ *
34908
+ * Exported because the same "these two occupy the same slot" question decides
34909
+ * whether a replaced text box dissolves in place or travels (`morph-text-slot`).
34910
+ */
34906
34911
  function boxOverlapRatio(a, b) {
34907
34912
  const left = Math.max(a.x, b.x);
34908
34913
  const top = Math.max(a.y, b.y);
@@ -34948,20 +34953,26 @@ function childrenPair(a, b) {
34948
34953
  *
34949
34954
  * So a group is decomposed only when its children line up; a group that gained
34950
34955
  * or lost content dissolves as a whole.
34956
+ *
34957
+ * Returns the one-for-one correspondence itself, not just a yes/no, because
34958
+ * that IS the pairing the matcher then has to honour: see
34959
+ * {@link morphGroupChildPairs}.
34951
34960
  */
34952
- function childrenCorrespond(a, b) {
34961
+ function correspondingChildren(a, b) {
34953
34962
  if (a.length !== b.length || a.length === 0) {
34954
- return false;
34963
+ return undefined;
34955
34964
  }
34956
34965
  const unclaimed = b.map((child) => child);
34966
+ const paired = [];
34957
34967
  for (const child of a) {
34958
34968
  const index = unclaimed.findIndex((candidate) => childrenPair(child, candidate));
34959
34969
  if (index < 0) {
34960
- return false;
34970
+ return undefined;
34961
34971
  }
34972
+ paired.push([child, unclaimed[index]]);
34962
34973
  unclaimed.splice(index, 1);
34963
34974
  }
34964
- return true;
34975
+ return paired;
34965
34976
  }
34966
34977
  /**
34967
34978
  * The elements of `elements` that a morph should treat as individual units,
@@ -34981,7 +34992,7 @@ function flattenMorphElements(elements, counterpart, offsetX = 0, offsetY = 0) {
34981
34992
  if (children && containsMorphNamedDescendant(element)) {
34982
34993
  const twin = correspondingGroup(element, counterpart);
34983
34994
  const twinChildren = twin ? (groupChildren(twin) ?? []) : undefined;
34984
- if (twinChildren && childrenCorrespond(children, twinChildren)) {
34995
+ if (twinChildren && correspondingChildren(children, twinChildren)) {
34985
34996
  out.push(...flattenMorphElements(children, twinChildren, offsetX + element.x, offsetY + element.y));
34986
34997
  continue;
34987
34998
  }
@@ -34990,6 +35001,55 @@ function flattenMorphElements(elements, counterpart, offsetX = 0, offsetY = 0) {
34990
35001
  }
34991
35002
  return out;
34992
35003
  }
35004
+ /**
35005
+ * The pairs {@link flattenMorphElements} implied when it took two groups apart,
35006
+ * as `outgoing element id -> incoming element id`.
35007
+ *
35008
+ * A group is only decomposed once its children have been shown to line up one
35009
+ * for one (see {@link correspondingChildren}), which is a statement that these
35010
+ * five shapes ARE those five shapes. The matcher has to be told, because it
35011
+ * cannot see it: the flat list it works on has lost the grouping, and its
35012
+ * general passes deliberately refuse to pair two text boxes that sit in the same
35013
+ * place but say different things ("same place, different words" is normally a
35014
+ * rebuilt panel, not one object that moved).
35015
+ *
35016
+ * That refusal is exactly wrong here. The wheel deck's topic slides each hold
35017
+ * the same panel with the challenge's own wording, so every topic-to-topic morph
35018
+ * left its three text boxes unpaired: the old wording faded out inside the first
35019
+ * quarter, the new one only began at 42%, and the middle of the transition was
35020
+ * empty. PowerPoint crossfades them - measured on its own render of slides 5->6
35021
+ * (`CreateVideo`, 62.5fps), where every frame of that panel is a blend of the
35022
+ * two end states whose weights sum to 1.000 for the whole transition (issue
35023
+ * #160).
35024
+ *
35025
+ * @param elements - The outgoing slide's top-level elements.
35026
+ * @param counterpart - The incoming slide's top-level elements.
35027
+ * @returns Outgoing id -> incoming id for every corresponded child, recursively.
35028
+ */
35029
+ function morphGroupChildPairs(elements, counterpart) {
35030
+ const pairs = new Map();
35031
+ collectGroupChildPairs(elements, counterpart, pairs);
35032
+ return pairs;
35033
+ }
35034
+ /** Walk both trees the way {@link flattenMorphElements} does, recording pairs. */
35035
+ function collectGroupChildPairs(elements, counterpart, into) {
35036
+ for (const element of elements) {
35037
+ const children = groupChildren(element);
35038
+ if (!children || !containsMorphNamedDescendant(element)) {
35039
+ continue;
35040
+ }
35041
+ const twin = correspondingGroup(element, counterpart);
35042
+ const twinChildren = twin ? (groupChildren(twin) ?? []) : undefined;
35043
+ const corresponded = twinChildren ? correspondingChildren(children, twinChildren) : undefined;
35044
+ if (!corresponded) {
35045
+ continue;
35046
+ }
35047
+ for (const [child, twinChild] of corresponded) {
35048
+ into.set(child.id, twinChild.id);
35049
+ }
35050
+ collectGroupChildPairs(children, twinChildren ?? [], into);
35051
+ }
35052
+ }
34993
35053
  /**
34994
35054
  * True when `elements` holds a group that {@link flattenMorphElements} could
34995
35055
  * decompose against some counterpart. Lets a caller skip the copy entirely for
@@ -35652,6 +35712,7 @@ function getElementCreationId(element) {
35652
35712
  * Matching passes (in priority order):
35653
35713
  * 1. Explicit !! naming convention (element name from cNvPr/@name, or text content)
35654
35714
  * 2a. `a16:creationId` GUID (PowerPoint's own cross-slide shape identity)
35715
+ * 2c. The child correspondence that let two groups be decomposed
35655
35716
  * 2b. Native shape id from `p:cNvPr/@id` (only when creationIds are absent)
35656
35717
  * 3. Type + proximity + size matching (same type within 300px, similar box)
35657
35718
  *
@@ -35737,6 +35798,34 @@ function matchMorphElementsFull(fromSlide, toSlide) {
35737
35798
  }
35738
35799
  }
35739
35800
  }
35801
+ // Pass 2c: honour the correspondence that let two groups be decomposed.
35802
+ //
35803
+ // A group is only taken apart once its children have been shown to line up
35804
+ // one for one with the twin group's (see `morph-flatten`), so that pairing is
35805
+ // already established evidence by the time the flat list reaches this
35806
+ // function - and it is evidence the passes below cannot reconstruct, because
35807
+ // flattening threw the grouping away. Without it the wheel deck's three
35808
+ // centre text boxes fell through to pass 3, which refuses two text boxes that
35809
+ // sit in the same place and say different things, and every topic-to-topic
35810
+ // morph played them as an unmatched pair: gone by 23%, back from 42%, with an
35811
+ // empty panel in between (issue #160).
35812
+ const groupChildPairs = morphGroupChildPairs(fromSlide.elements, toSlide.elements);
35813
+ if (groupChildPairs.size > 0) {
35814
+ const toById = new Map(toElements.map((el) => [el.id, el]));
35815
+ for (const fromEl of fromElements) {
35816
+ if (usedFrom.has(fromEl.id)) {
35817
+ continue;
35818
+ }
35819
+ const toId = groupChildPairs.get(fromEl.id);
35820
+ const toEl = toId === undefined ? undefined : toById.get(toId);
35821
+ if (!toEl || usedTo.has(toEl.id) || fromEl.type !== toEl.type) {
35822
+ continue;
35823
+ }
35824
+ pairs.push({ fromElement: fromEl, toElement: toEl });
35825
+ usedFrom.add(fromEl.id);
35826
+ usedTo.add(toEl.id);
35827
+ }
35828
+ }
35740
35829
  // Pass 2b: match by the shape's native OOXML id (`p:cNvPr/@id`) - a
35741
35830
  // fallback for decks whose producer emits no creationIds.
35742
35831
  //
@@ -35939,18 +36028,31 @@ function buildMorphMergedOrder(outgoing, incoming, pairs) {
35939
36028
  * #131's overview-to-topic hop dissolves the whole centre out and the arriving
35940
36029
  * group in, exactly that way.
35941
36030
  *
35942
- * Only shapes with NO counterpart qualify. A matched pair already dissolves
35943
- * against its own ghost, which is the whole point of the crossfade; lifting its
35944
- * incoming half above that ghost would turn the dissolve back into a cut.
36031
+ * A matched pair qualifies only when its incoming half DISSOLVES IN, which the
36032
+ * caller states in `dissolvingInIds`. A half that is pinned at full strength
36033
+ * (anything painting a body, which would go see-through if both halves faded)
36034
+ * has to stay under its own ghost, or its dissolve becomes a cut. A half that
36035
+ * fades in may be lifted: it then dissolves over its ghost instead of under it,
36036
+ * which differs only where the two shapes' own ink overlaps.
36037
+ *
36038
+ * This is not a corner case. The wheel deck's centre panel keeps an unchanged
36039
+ * opaque disc, and the wording inside it is a matched pair once the panels'
36040
+ * casts line up (issue #160), so without this the new wording dissolved in
36041
+ * behind that disc's ghost and only appeared when the overlay came down: the
36042
+ * same defect issue #146 fixed for the unmatched case, reached by a different
36043
+ * road.
35945
36044
  *
35946
36045
  * @param outgoing - The outgoing slide's elements, flattened, in document order.
35947
36046
  * @param incoming - The incoming slide's elements, flattened, in document order.
35948
36047
  * @param pairs - The matched pairs.
35949
36048
  * @param holdingGhostIds - The outgoing ids the overlay paints AND keeps opaque
35950
36049
  * for the whole morph (a painted pair whose appearance did not change).
36050
+ * @param dissolvingInIds - Incoming ids of matched pairs whose incoming half
36051
+ * fades in (see `morphPairIncomingFadesIn`). Defaults to none, the behaviour
36052
+ * before matched pairs could be lifted.
35951
36053
  * @returns The ids of the incoming elements to lift, a subset of `incoming`.
35952
36054
  */
35953
- function resolveMorphOverlayArrivals(outgoing, incoming, pairs, holdingGhostIds) {
36055
+ function resolveMorphOverlayArrivals(outgoing, incoming, pairs, holdingGhostIds, dissolvingInIds = new Set()) {
35954
36056
  const rank = buildMorphMergedOrder(outgoing, incoming, pairs);
35955
36057
  const matched = new Set(pairs.map((pair) => pair.toElement.id));
35956
36058
  const counterpart = new Map(pairs.map((pair) => [pair.fromElement.id, pair.toElement]));
@@ -35962,7 +36064,7 @@ function resolveMorphOverlayArrivals(outgoing, incoming, pairs, holdingGhostIds)
35962
36064
  }));
35963
36065
  const lifted = new Set();
35964
36066
  for (const element of incoming) {
35965
- if (matched.has(element.id)) {
36067
+ if (matched.has(element.id) && !dissolvingInIds.has(element.id)) {
35966
36068
  continue;
35967
36069
  }
35968
36070
  const mine = rank.get(element.id) ?? 0;
@@ -36121,6 +36223,56 @@ function matchTextTokens(fromTokens, toTokens) {
36121
36223
  return pairs;
36122
36224
  }
36123
36225
 
36226
+ /**
36227
+ * Fraction of the union the two boxes must share to count as the same slot.
36228
+ * The same threshold `morph-flatten` uses to decide two group children are the
36229
+ * same object, and for the same reason.
36230
+ */
36231
+ const SAME_SLOT_OVERLAP = 0.5;
36232
+ /** An element's own words, whitespace-normalised. */
36233
+ function ownText(element) {
36234
+ return (element.text ?? '').replace(/\s+/gu, ' ').trim();
36235
+ }
36236
+ /**
36237
+ * Whether a matched pair of TEXT BOXES holds different wording in the same slot.
36238
+ *
36239
+ * Such a pair is animated as a pure dissolve: no translation, no scale, each
36240
+ * half painted at its own geometry with complementary opacity. Everywhere else
36241
+ * a matched pair interpolates its whole box, which is right for a shape - but a
36242
+ * text box's box is a container that PowerPoint re-fits around whatever it now
36243
+ * says, and its glyphs are laid out inside that box rather than scaled with it.
36244
+ * Interpolating it therefore stretches the wording by the amount the WORDS
36245
+ * changed length, which is never something PowerPoint shows.
36246
+ *
36247
+ * Measured on PowerPoint 16's own render (`CreateVideo`, 62.5fps):
36248
+ *
36249
+ * - A text box whose wording changed while its box doubled in width dissolves
36250
+ * glyph over glyph with the type at a constant size, still on its left
36251
+ * margin: the box grew, the text did not.
36252
+ * - The wheel deck's centre paragraphs (issue #160) re-fit by 11px and 12px
36253
+ * between topic slides. Every frame of PowerPoint's transition is a blend of
36254
+ * the two end states with a residual under 1.1/255, which no scaling or
36255
+ * shifting of either half could produce.
36256
+ * - A text box that genuinely MOVES (460px, wording changed too) travels the
36257
+ * whole way while its glyphs cross-dissolve, so distance has to keep the
36258
+ * interpolation. Hence the slot test rather than a blanket rule.
36259
+ *
36260
+ * @param fromElement - The outgoing half of the pair.
36261
+ * @param toElement - The incoming half.
36262
+ * @returns True when the pair should dissolve where it stands.
36263
+ */
36264
+ function morphTextReplacedInSlot(fromElement, toElement) {
36265
+ if (fromElement.type !== 'text' || toElement.type !== 'text') {
36266
+ return false;
36267
+ }
36268
+ const from = ownText(fromElement);
36269
+ const to = ownText(toElement);
36270
+ if (from === '' || to === '' || from === to) {
36271
+ return false;
36272
+ }
36273
+ return boxOverlapRatio(fromElement, toElement) >= SAME_SLOT_OVERLAP;
36274
+ }
36275
+
36124
36276
  /**
36125
36277
  * Intelligent token-level diffing and morph animation for text morphing.
36126
36278
  *
@@ -36485,6 +36637,24 @@ function resolveMorphGhostIds(outgoingElements, pairs) {
36485
36637
  * fading it in while its ghost faded out turned the disc translucent for the
36486
36638
  * middle of every hub-to-topic morph.
36487
36639
  */
36640
+ /**
36641
+ * Whether a matched pair's INCOMING half dissolves in rather than being painted
36642
+ * at full strength from the first frame.
36643
+ *
36644
+ * Exported because the overlay has to know: a half that dissolves in can be
36645
+ * lifted above a ghost that would otherwise hide it, and a half that is pinned
36646
+ * cannot (lifting that one turns its dissolve into a cut). See
36647
+ * `resolveMorphOverlayArrivals`.
36648
+ *
36649
+ * @param fromElement - The outgoing half of the pair.
36650
+ * @param toElement - The incoming half.
36651
+ * @param ghosted - Whether the overlay paints this pair's ghost at all.
36652
+ */
36653
+ function morphPairIncomingFadesIn(fromElement, toElement, ghosted = true) {
36654
+ return (!(ghosted && isInertMorphPair(fromElement, toElement)) &&
36655
+ morphPairNeedsCrossfade(fromElement, toElement) &&
36656
+ crossfadeIncomingMayFadeIn(toElement));
36657
+ }
36488
36658
  function crossfadeIncomingMayFadeIn(element) {
36489
36659
  const image = element;
36490
36660
  if (image.imagePath || image.svgPath) {
@@ -36550,10 +36720,20 @@ function generateMorphAnimations(pairs, durationMs, _mode = 'object', ghostIds)
36550
36720
  // scale/rotate pivot on the element's own centre (`transform-origin:
36551
36721
  // center`), so a top-left delta would land a resized pair off by half
36552
36722
  // the size difference.
36553
- const dx = fromElement.x + fromElement.width / 2 - (toElement.x + toElement.width / 2);
36554
- const dy = fromElement.y + fromElement.height / 2 - (toElement.y + toElement.height / 2);
36555
- const sx = Math.max(fromElement.width, 1) / Math.max(toElement.width, 1);
36556
- const sy = Math.max(fromElement.height, 1) / Math.max(toElement.height, 1);
36723
+ //
36724
+ // A text box that only changed its WORDS stays where it is: its box is a
36725
+ // container PowerPoint re-fits around the new wording, not a shape that
36726
+ // moved, and interpolating it would stretch the type by however much the
36727
+ // text changed length. See {@link morphTextReplacedInSlot}.
36728
+ const inSlot = morphTextReplacedInSlot(fromElement, toElement);
36729
+ const dx = inSlot
36730
+ ? 0
36731
+ : fromElement.x + fromElement.width / 2 - (toElement.x + toElement.width / 2);
36732
+ const dy = inSlot
36733
+ ? 0
36734
+ : fromElement.y + fromElement.height / 2 - (toElement.y + toElement.height / 2);
36735
+ const sx = inSlot ? 1 : Math.max(fromElement.width, 1) / Math.max(toElement.width, 1);
36736
+ const sy = inSlot ? 1 : Math.max(fromElement.height, 1) / Math.max(toElement.height, 1);
36557
36737
  const fromOpacity = fromElement.opacity ?? 1;
36558
36738
  const toOpacity = toElement.opacity ?? 1;
36559
36739
  // The animation's `transform` REPLACES the element's static transform
@@ -36569,7 +36749,7 @@ function generateMorphAnimations(pairs, durationMs, _mode = 'object', ghostIds)
36569
36749
  // authored rotation over the shorter arc; the `to` frame must keep the
36570
36750
  // authored value so the element lands exactly on its static transform.
36571
36751
  const toRot = toElement.rotation ?? 0;
36572
- const fromRot = shortestRotationTarget(toRot, fromElement.rotation ?? 0);
36752
+ const fromRot = inSlot ? toRot : shortestRotationTarget(toRot, fromElement.rotation ?? 0);
36573
36753
  const flips = `${toElement.flipHorizontal ? ' scaleX(-1)' : ''}${toElement.flipVertical ? ' scaleY(-1)' : ''}`;
36574
36754
  // A GHOSTED inert pair is painted twice: its ghost is a pixel-identical
36575
36755
  // copy sitting in the overlay directly above it. For an opaque element
@@ -36585,9 +36765,7 @@ function generateMorphAnimations(pairs, durationMs, _mode = 'object', ghostIds)
36585
36765
  // A restyled pair dissolves via its outgoing GHOST, which fades 1 -> 0 in
36586
36766
  // the overlay above this element. Only a body-less element (a text box on
36587
36767
  // `noFill`) may fade IN underneath it - see `crossfadeIncomingMayFadeIn`.
36588
- const crossfadesIn = !inert &&
36589
- morphPairNeedsCrossfade(fromElement, toElement) &&
36590
- crossfadeIncomingMayFadeIn(toElement);
36768
+ const crossfadesIn = morphPairIncomingFadesIn(fromElement, toElement, ghosted);
36591
36769
  // Build from/to property blocks. A half that dissolves IN keeps its opacity
36592
36770
  // out of this block and rides a second animation, so the journey and the
36593
36771
  // dissolve can follow their own measured curves (see the ghost half).
@@ -36680,14 +36858,22 @@ function generateMorphGhostAnimations(pairs, durationMs, startIndex, ghostIds) {
36680
36858
  }
36681
36859
  const fadesOut = morphPairNeedsCrossfade(fromElement, toElement);
36682
36860
  const safeName = `pptx-morph-ghost-${startIndex + index}-${fromElement.id.replace(/[^a-zA-Z0-9]/gu, '')}`;
36683
- const dx = toElement.x + toElement.width / 2 - (fromElement.x + fromElement.width / 2);
36684
- const dy = toElement.y + toElement.height / 2 - (fromElement.y + fromElement.height / 2);
36685
- const sx = Math.max(toElement.width, 1) / Math.max(fromElement.width, 1);
36686
- const sy = Math.max(toElement.height, 1) / Math.max(fromElement.height, 1);
36861
+ // Mirror of the incoming half: a text box that only changed its wording
36862
+ // dissolves where it stands, so its ghost must not travel either or the
36863
+ // two halves would cross-dissolve out of register.
36864
+ const inSlot = morphTextReplacedInSlot(fromElement, toElement);
36865
+ const dx = inSlot
36866
+ ? 0
36867
+ : toElement.x + toElement.width / 2 - (fromElement.x + fromElement.width / 2);
36868
+ const dy = inSlot
36869
+ ? 0
36870
+ : toElement.y + toElement.height / 2 - (fromElement.y + fromElement.height / 2);
36871
+ const sx = inSlot ? 1 : Math.max(toElement.width, 1) / Math.max(fromElement.width, 1);
36872
+ const sy = inSlot ? 1 : Math.max(toElement.height, 1) / Math.max(fromElement.height, 1);
36687
36873
  // The ghost starts on its own authored rotation, so the SHORTEST-arc
36688
36874
  // adjustment goes on the target angle here (mirror of the incoming half).
36689
36875
  const fromRot = fromElement.rotation ?? 0;
36690
- const toRot = shortestRotationTarget(fromRot, toElement.rotation ?? 0);
36876
+ const toRot = inSlot ? fromRot : shortestRotationTarget(fromRot, toElement.rotation ?? 0);
36691
36877
  const flips = `${fromElement.flipHorizontal ? ' scaleX(-1)' : ''}${fromElement.flipVertical ? ' scaleY(-1)' : ''}`;
36692
36878
  // A dissolve and a journey are two different curves, so when the ghost does
36693
36879
  // both they ride two animations: the transform keeps {@link MORPH_EASING},
@@ -37059,7 +37245,15 @@ function buildMorphTransitionPlan(fromSlide, toSlide, durationMs, mode = 'object
37059
37245
  .filter((candidate) => outgoingAnimations.has(candidate.fromElement.id) &&
37060
37246
  !morphPairNeedsCrossfade(candidate.fromElement, candidate.toElement))
37061
37247
  .map((candidate) => candidate.fromElement.id));
37062
- const lifted = resolveMorphOverlayArrivals(flattenedOutgoing, flattenedIncoming, match.pairs, holdingGhostIds);
37248
+ // A matched pair's incoming half can be hidden by a holding ghost just as
37249
+ // easily as an arrival can - the wheel deck dissolves its centre wording
37250
+ // inside an unchanged opaque disc (issue #160) - but only one that DISSOLVES
37251
+ // IN may be lifted over its own ghost. One pinned at full strength has to
37252
+ // stay underneath it, or the crossfade becomes a cut.
37253
+ const dissolvingInIds = new Set(match.pairs
37254
+ .filter((candidate) => morphPairIncomingFadesIn(candidate.fromElement, candidate.toElement, outgoingAnimations.has(candidate.fromElement.id)))
37255
+ .map((candidate) => candidate.toElement.id));
37256
+ const lifted = resolveMorphOverlayArrivals(flattenedOutgoing, flattenedIncoming, match.pairs, holdingGhostIds, dissolvingInIds);
37063
37257
  const overlayIncomingAnimations = new Map();
37064
37258
  for (const id of lifted) {
37065
37259
  const animation = incomingAnimations.get(id);
@@ -64822,7 +65016,7 @@ function createLocalStorageBackend(namespace) {
64822
65016
  /** Try IndexedDB first; fall back to localStorage on any failure. */
64823
65017
  async function resolveBackend(dbName, namespace) {
64824
65018
  try {
64825
- const { openChatDb, createIdbBackend } = await import('./pptx-angular-viewer-chat-history-idb--qaJVCPk.mjs');
65019
+ const { openChatDb, createIdbBackend } = await import('./pptx-angular-viewer-chat-history-idb-lds9F-eW.mjs');
64826
65020
  const db = await openChatDb(dbName);
64827
65021
  return createIdbBackend(db);
64828
65022
  }
@@ -96615,7 +96809,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
96615
96809
  }], propDecorators: { canEdit: [{ type: i0.Input, args: [{ isSignal: true, alias: "canEdit", required: false }] }], slideIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "slideIndex", required: false }] }] } });
96616
96810
 
96617
96811
  // Generated by scripts/inline-shared.mjs from package.json. Do not edit.
96618
- const PPTX_ANGULAR_VIEWER_VERSION = "2.17.2";
96812
+ const PPTX_ANGULAR_VIEWER_VERSION = "2.17.3";
96619
96813
 
96620
96814
  /**
96621
96815
  * account-page.component.ts: File > Account content.
@@ -128559,4 +128753,4 @@ function cn(...values) {
128559
128753
  */
128560
128754
 
128561
128755
  export { CommentsService as $, ALIGN_OPTIONS as A, AnimationPlaybackService as B, AutosaveService as C, BroadcastDialogComponent as D, CHART_EDITOR_STYLES as E, CURSOR_PALETTE as F, CanvasFitService as G, ChartAxisOptionsComponent as H, ChartAxisStyleOptionsComponent as I, ChartComboTypeOptionsComponent as J, ChartDataEditorComponent as K, ChartDataLabelOptionsComponent as L, ChartDatapointMarkerOptionsComponent as M, ChartDatapointOptionsComponent as N, ChartDisplayOptionsComponent as O, ChartElementViewComponent as P, ChartErrorBarOptionsComponent as Q, ChartMarkerOptionsComponent as R, ChartPartSelectionService as S, ChartPrimitivesComponent as T, ChartRendererComponent as U, ChartTrendlineOptionsComponent as V, CollaborationCursorsComponent as W, CollaborationService as X, ColorChangedImageComponent as Y, CommentMarkersOverlayComponent as Z, CommentsPanelComponent as _, ANIMATION_PRESET_CATEGORIES as a, IsMobileService as a$, ComparePanelComponent as a0, ConnectorRendererComponent as a1, ConnectorTextOverlayComponent as a2, CustomShowsComponent as a3, DATA_TABLE_HEADER_H as a4, DATA_TABLE_KEY_W as a5, DATA_TABLE_PADDING as a6, DATA_TABLE_ROW_H as a7, DEFAULT_BOUNDS as a8, DEFAULT_BROADCAST_SERVER_URL as a9, EffectsPanelComponent as aA, ElementRendererComponent as aB, EmbeddedFontsService as aC, EncryptedFileDialogComponent as aD, EquationEditorDialogComponent as aE, EquationRendererComponent as aF, EquationTemplateGalleryComponent as aG, ExportProgressModalComponent as aH, ExportService as aI, FieldContextService as aJ, FindBarComponent as aK, FindReplaceBarComponent as aL, FollowModeBarComponent as aM, FontEmbeddingListComponent as aN, FontEmbeddingPanelComponent as aO, GALLERY_THEME_PRESETS as aP, GRIDLINE_COLOR as aQ, GradientPickerComponent as aR, HANDOUT_OPTIONS as aS, HeaderFooterDialogComponent as aT, HyperlinkDialogComponent as aU, ImagePropertiesPanelComponent as aV, InkDrawingService as aW, InkRendererComponent as aX, InsertSmartArtDialogComponent as aY, InspectorPaneHeaderComponent as aZ, InspectorPanelComponent as a_, DEFAULT_CANVAS_HEIGHT as aa, DEFAULT_CANVAS_WIDTH as ab, DEFAULT_COLOR_SCHEME as ac, DEFAULT_FILL_COLOR as ad, DEFAULT_LAYOUT as ae, DEFAULT_PALETTE$1 as af, DEFAULT_PATTERN_FILL_PRESET as ag, DEFAULT_PRINT_SETTINGS as ah, DEFAULT_SLIDE_BACKGROUND as ai, DEFAULT_STROKE_COLOR as aj, DEFAULT_STYLE as ak, DEFAULT_TABLE_ROW_HEIGHT as al, DEFAULT_TEXT_COLOR$1 as am, DEFAULT_VIEWER_PROFILE as an, DIRECTIONAL_PRESETS as ao, DIRECTION_OPTIONS as ap, DocumentPropertiesCardComponent as aq, EMBEDDED_FONTS_STYLE_ID as ar, EMPHASIS_PRESETS as as, ENTRANCE_PRESETS as at, TEMPLATES as au, EXIT_PRESETS as av, EditorContextMenuComponent as aw, EditorHistory as ax, EditorStateService as ay, EditorToolbarComponent as az, AUDIENCE_HASH as b, RibbonDrawingGroupComponent as b$, KeepAnnotationsDialogComponent as b0, LOCALE_CATALOG as b1, LONG_PRESS_DURATION_MS as b2, LONG_PRESS_MOVE_TOLERANCE_PX as b3, LoadContentService as b4, LocalPresencePublisher as b5, MAX_ZOOM_SCALE as b6, MIN_ZOOM_SCALE as b7, MOTION_PATH_COLUMNS as b8, MediaPreviewComponent as b9, PresentationAnnotationOverlayComponent as bA, PresentationAnnotationsService as bB, PresentationOverlayComponent as bC, PresentationPropertiesPanelComponent as bD, PresentationSettingsCardComponent as bE, PresentationSubtitleBarComponent as bF, PresentationToolbarComponent as bG, PresentationTransitionOverlayComponent as bH, PresenterViewComponent as bI, PresenterWindowService as bJ, PrintDialogComponent as bK, PrintService as bL, PrintSettingsPanelComponent as bM, PropertiesDialogComponent as bN, REPEAT_MODE_OPTIONS as bO, RESIZE_HANDLES as bP, RULER_FONT_SIZE as bQ, RULER_THICKNESS as bR, ReadingViewOverlayComponent as bS, RemoteSelectionOverlayComponent as bT, RibbonAnimationGalleryComponent as bU, RibbonAnimationsSectionComponent as bV, RibbonArrangeSectionComponent as bW, RibbonColorPopoverComponent as bX, RibbonComponent as bY, RibbonDesignSectionComponent as bZ, RibbonDrawSectionComponent as b_, MediaPropertiesPanelComponent as ba, MediaRendererComponent as bb, MediaTrimTimelineComponent as bc, MobileBottomBarComponent as bd, MobileMenuSheetComponent as be, MobilePresenterViewComponent as bf, MobileSheetComponent as bg, MobileSlidesSheetComponent as bh, MobileToolbarComponent as bi, ModalDialogComponent as bj, Model3DRendererComponent as bk, NotesHandoutCardComponent as bl, NotesPanelComponent as bm, NotesToolbarComponent as bn, OleRendererComponent as bo, OutlineViewOverlayComponent as bp, POWER_POINT_VIEWER_PROVIDERS as bq, PRESENTER_CHANNEL_NAME as br, PRESENTER_MSG_ORIGIN as bs, PRESENTER_TIMER_SEGMENT_MS as bt, PX_PER_CM as bu, PX_PER_INCH as bv, PasswordProtectionDialogComponent as bw, PasswordStrengthMeterComponent as bx, PowerPointViewerComponent as by, PresentToolbarAutoHide as bz, AUDIENCE_NONCE_KEY as c, TIMING_CURVE_OPTIONS as c$, RibbonEditingSectionComponent as c0, RibbonFileSectionComponent as c1, RibbonFontControlsComponent as c2, RibbonHomeSectionComponent as c3, RibbonHyperlinkButtonComponent as c4, RibbonInsertFieldsComponent as c5, RibbonInsertSectionComponent as c6, RibbonMotionPathGalleryComponent as c7, RibbonParagraphControlsComponent as c8, RibbonPrimaryRowComponent as c9, ShowOptionsFieldsetComponent as cA, ShowSlidesFieldsetComponent as cB, SignatureStrippedDialogComponent as cC, SignaturesPanelComponent as cD, SignaturesService as cE, SlideBackgroundCardComponent as cF, SlideCanvasComponent as cG, SlideDefaultInspectorComponent as cH, SlideDiffChangesComponent as cI, SlideDiffRowComponent as cJ, SlideDiffThumbnailsComponent as cK, SlideSizeCardComponent as cL, SlideSorterOverlayComponent as cM, SlideThemeOverridePanelComponent as cN, SlideTransitionCardComponent as cO, SlidesPanelComponent as cP, SmartArt3DRendererComponent as cQ, SmartArt3DService as cR, SmartArtPreviewComponent as cS, SmartArtPropertiesComponent as cT, SmartArtRendererComponent as cU, StatusBarComponent as cV, TABLE_STRUCTURE_TOGGLES as cW, TEXT_3D_BOTTOM_BEVEL_KEYS as cX, TEXT_3D_TOP_BEVEL_KEYS as cY, TEXT_DIRECTION_OPTIONS$1 as cZ, THEME_CATALOG as c_, RibbonReviewSectionComponent as ca, RibbonShapeExtrasComponent as cb, RibbonSlideshowSectionComponent as cc, RibbonTransitionsSectionComponent as cd, RibbonViewSectionComponent as ce, RulerGuidesService as cf, SEQUENCE_OPTIONS as cg, SEVERITY_GROUPS as ch, SEVERITY_LABELS as ci, SHORTCUT_REFERENCE_ITEMS as cj, SLIDE_TRANSITION_KEYFRAMES as ck, DEFAULT_PALETTE as cl, PALETTES$1 as cm, SMART_ART_COLOR_SCHEMES as cn, SMART_ART_STYLE_OPTIONS as co, SUB_ITEM_LABEL as cp, SVG_WARP_PRESETS as cq, SWIPE_MAX_VERTICAL_PX as cr, SWIPE_THRESHOLD_PX as cs, SelectionPaneComponent as ct, SetUpSlideShowDialogComponent as cu, SettingsAppearanceTabComponent as cv, SettingsDialogComponent as cw, SettingsLanguageTabComponent as cx, ShareDialogComponent as cy, ShortcutPanelComponent as cz, AVATAR_COLOR_SWATCHES as d, applyAnimationPreset as d$, TRIGGER_OPTIONS as d0, TYPE_LABELS as d1, TableCellAdvancedFillComponent as d2, TableCellFormattingComponent as d3, TableDataEditorComponent as d4, TablePropertiesComponent as d5, TableRendererComponent as d6, TableResizeOverlayComponent as d7, TableSelectionService as d8, TagsCardComponent as d9, ViewerInspectorPanelService as dA, ViewerKeyboardService as dB, ViewerMobileSheetService as dC, ViewerPresentationModeService as dD, ViewerThemeGalleryService as dE, ViewerTouchGesturesService as dF, ViewerZoomService as dG, WEBM_MIME_CANDIDATES as dH, WriteBackScheduler as dI, ZERO_LINE_COLOR as dJ, ZoomNavigationService as dK, ZoomRendererComponent as dL, ZoomTargetService as dM, addCategory as dN, addCommentToList as dO, addGradientStopPatch as dP, addItem as dQ, addSeries as dR, addSubItem as dS, advanceStep as dT, affordanceElements as dU, aiToggleVisible as dV, alignPatch as dW, animationFor as dX, animationPresetLabelKey as dY, annotationMapToInkInserts as dZ, applyAcceptedDiff as d_, Text3DBevelSectionComponent as da, Text3DPanelComponent as db, TextAdvancedPanelComponent as dc, ThemeEditorFieldsComponent as dd, ThemeGalleryComponent as de, ThemeSelectorCardComponent as df, TitleBarComponent as dg, TitleBarSearchComponent as dh, TransitionDirectionPickerComponent as di, TransitionPreviewComponent as dj, VALIGN_OPTIONS as dk, VIEWER_THEME as dl, VersionHistoryPanelComponent as dm, ViewerCanvasEditingService as dn, ViewerCollabCursorService as dp, ViewerCollaborationSessionService as dq, ViewerCompareService as dr, ViewerCustomShowsService as ds, ViewerDialogsService as dt, ViewerDocumentPropertiesService as du, ViewerExportService as dv, ViewerExtraDialogsComponent as dw, ViewerFileIOService as dx, ViewerFindReplaceService as dy, ViewerFormatPainterService as dz, AXIS_LABEL_COLOR as e, buildZoomViewModel as e$, applyFindReplacements as e0, applyFormatToElement as e1, applyMove as e2, applyResize as e3, applyTableStylePreset as e4, asMediaElement as e5, assignUserColor as e6, attachShowVisibilityPause as e7, attachTouchGestures as e8, axisTickValues as e9, buildFontFaceRule as eA, buildGradientFillCss as eB, buildGridlinesAndLabels as eC, buildHyperlinkPatch as eD, buildInkContainerStyle as eE, buildInkStrokes as eF, buildLegend as eG, buildModel3DContainerStyle as eH, buildModel3DViewModel as eI, buildOleActionModel as eJ, buildOleInfoRows as eK, buildPatternFillCss as eL, buildPrintHtmlDocument as eM, buildPropertiesPatch as eN, buildRegionMapViewModel as eO, buildSaveSlides as eP, buildShareUrl as eQ, buildSmartArtInsertElement as eR, buildSmartArtNodes as eS, buildStockViewModel as eT, buildSurfaceViewModel as eU, buildTableViewModel as eV, buildTreemapViewModel as eW, buildTrimFragment as eX, buildWaterfallViewModel as eY, buildZeroLine as eZ, buildZoomContainerStyle as e_, beginNodeEdit as ea, bevelSizePatch as eb, boolFromEvent as ec, bringForward as ed, bringToFront as ee, buildBarActions as ef, buildBroadcastConfig as eg, buildBroadcastViewerUrl as eh, buildCategoryLabels as ei, buildCellParagraphs as ej, buildChartViewModel as ek, buildChatLogExport as el, buildChatLogMarkdown as em, buildChromeStyle as en, buildClearHyperlinkPatch as eo, buildClickGroups as ep, buildColStyles as eq, buildCollaborationConfig as er, buildComboViewModel as es, buildCssGradientFromShapeStyle as et, buildDuotoneFilter as eu, buildDuotoneFilterId as ev, buildEmbeddedFontStyles as ew, buildEquationElement as ex, buildEquationSegment as ey, buildFallbackViewModel as ez, AccessibilityPanelComponent as f, computeTextLines as f$, bulletIndentPx as f0, canAddTopLevelNode as f1, canGroupSelection as f2, canRemoveTopLevelNode as f3, canSetStrokeWidth as f4, canStartBroadcast as f5, canStartShare as f6, canUngroupSelection as f7, canUseClipboard as f8, captionDisplayText as f9, computeBubbleRadius as fA, computeCornerHandle as fB, computeDataTablePrimitives as fC, computeDistribute as fD, computeDrawingViewBox as fE, computeErrorBarPrimitives as fF, computeFocusTargets as fG, computeHandleBoxes as fH, computeHandoutLayout as fI, computeIsMobile as fJ, computeIsTablet as fK, computeLinePoints as fL, computeLinearRegression as fM, computePageCount as fN, computePieLayout as fO, computePieSlicePath as fP, computePieSlices as fQ, computePlotLayout as fR, computeRSquared as fS, computeRadarPoints as fT, computeScatterDots as fU, computeSelectionBoxes as fV, computeSingleSelected as fW, computeSlideIndices as fX, computeSnap as fY, computeStackedBarRects as fZ, computeStackedValueRange as f_, cellRunStyle as fa, cellStyleToStyleMap as fb, cellTdStyle as fc, changeCountLabel as fd, changeIcon as fe, characterSpacingPatch as ff, checkFontAvailable as fg, clampCursorPosition as fh, clampGifDimensions as fi, clampIndex as fj, clampNotesFontSize as fk, clampScale as fl, clampStep as fm, clearAllLocalViewerData as fn, clearAudienceContent as fo, cn as fp, collectAccessibilityIssues as fq, collectElementText as fr, collectSlideText as fs, collectStoredChats as ft, collectUsedFontFamilies as fu, columnWidthStyle as fv, commitNodeText as fw, computeAlign as fx, computeAxisTitlePrimitives as fy, computeBarRects as fz, AccessibilityService as g, formatPropertyDate as g$, computeTrendlinePrimitives as g0, computeValueRange as g1, convertOmmlToMathMl as g2, copyFormatFromElement as g3, countAccessibilityIssues as g4, countAnnotationStrokes as g5, createAngularAiBridge as g6, createCustomShow as g7, createSwipeDismissDrag as g8, createWebrtcBundle as g9, enableSoftEdgePatch as gA, encodeGif as gB, endShowMediaCleanup as gC, estimatePageCount as gD, evenColumnWidths as gE, evenRowHeights as gF, exitPresentationFullscreen as gG, exportAiChatLogs as gH, extractPathPoints as gI, eyedropperAvailable as gJ, fillColorOf as gK, findInSlides as gL, findOwningSlideIndex as gM, findSlideIndexByElementId as gN, firstVisibleIndex as gO, fitPolynomial as gP, fitZoom as gQ, focusTargetChips as gR, fontMimeForFormat as gS, fontSizeOf as gT, forgetSessionDeck as gU, formatAutoNumber as gV, formatAxisValue as gW, formatBytes as gX, formatCursorLabel as gY, formatElapsed as gZ, formatFileSize as g_, createWebsocketBundle as ga, cssObjectToStyleMap as gb, currentColorScheme as gc, currentLayout as gd, currentStyle as ge, defaultCssVars as gf, defaultRadius as gg, defaultThemeColors as gh, deleteElementsByIds as gi, deleteVersion as gj, demoteNode as gk, deriveModel3DBlobUrl as gl, derivePresenceList as gm, describeSmartArtBounds as gn, disableGlowPatch as go, disableInnerShadowPatch as gp, disableOuterShadowPatch as gq, disableReflectionPatch as gr, disableSoftEdgePatch as gs, duplicateElementById as gt, durationOf as gu, effectsStateOf as gv, enableGlowPatch as gw, enableInnerShadowPatch as gx, enableOuterShadowPatch as gy, enableReflectionPatch as gz, AccountPageComponent as h, isSigned as h$, formatTime as h0, fpsToFrameIntervalMs as h1, generateBroadcastRoomId as h2, generateCommentId as h3, generateCustomShowId as h4, generatePressureCircles as h5, generateTicks as h6, getClrChangeParams as h7, getContainerStyle as h8, getDuotoneFilterDef as h9, gradientStateOf as hA, gradientStatePatch as hB, gridColumns as hC, groupElements as hD, groupIssuesBySeverity as hE, hasAnimation as hF, hasCopyableFormat as hG, hasExistingLink as hH, hasExitedFullscreen as hI, hasGradientFill as hJ, hasPressureVariation as hK, hasVisibleSlideAfter as hL, headerLabel as hM, imageDimensions as hN, inkViewBox as hO, insertTableElementColumn as hP, insertTableElementRow as hQ, interpolateWidth as hR, isAudienceTab as hS, isBold as hT, isBrowserOpenableMime as hU, isChildNode as hV, isElementInteractive as hW, isInjectableUrl as hX, isItalic as hY, isPpactionUrl as hZ, isPresenterMessage as h_, getImageSrc as ha, getLocalStorageUsageSummary as hb, getOleAriaLabel as hc, getOleBadgeLabel as hd, getOleDisplayName as he, getOleDownloadFileName as hf, getOleTypeColor as hg, getOleTypeLabel as hh, getPasswordStrength as hi, getPatternSvg as hj, getPlaceholderStyle as hk, getVersions as hl, getResolvedShapeClipPath as hm, getResolvedShapeClipPathFor as hn, getSessionTabId as ho, getShapeFillStrokeStyle as hp, getSlideBackgroundStyle as hq, getSlideTransitionAnimations as hr, getSmartArtNodeBounds as hs, getSpeechRecognitionCtor as ht, getTextBlockStyle as hu, getTextWarp as hv, getTouchDistance as hw, getWarpCategory as hx, getWarpPath as hy, gradientStateFromStyle as hz, ActionSettingsPanelComponent as i, pendingElementStyles as i$, isTextElement as i0, isTwoTableFocus as i1, isUnderline as i2, isUrlSafe as i3, isValidRoomId as i4, isViewportBackgroundPressTarget as i5, isZoomActivationKey as i6, issueTrackKey as i7, issueTypeLabel as i8, keyToLabel as i9, newTableElement as iA, newTextElement as iB, nextVisibleIndex as iC, nodeBold as iD, nodeEditBox as iE, nodeFillColor as iF, nodeFontColor as iG, nodeIdFromKey as iH, nodeItalic as iI, nodeStyle as iJ, normalizeFontFormat as iK, normalizeSlidesPerPage as iL, normalizeValue as iM, numFromEvent as iN, ommlToMathml as iO, ooxmlDashToCssBorderStyle as iP, openNativeEyeDropper as iQ, overallStatus as iR, paletteColor as iS, parseAudienceNonce as iT, parseNodeTextarea as iU, partitionSlides as iV, patchChartData as iW, patchChartStyle as iX, patchTableData as iY, patchTextStyle as iZ, patternPresetOptions as i_, lastVisibleIndex as ia, latexToMathml as ib, linePointsToSvgString as ic, lineSpacingPatch as id, loadAudienceContent as ie, loadSessionDeck as ig, mediaFallbackFor as ih, mediaSurfaceFor as ii, mergeCaptionResults as ij, mergeDown as ik, mergeRight as il, mergeSelection as im, moveElementBy as io, moveNodeDown as ip, moveNodeUp as iq, msToFrameDelayCs as ir, narrowToCircle as is, narrowToPolygon as it, narrowToRect as iu, newChartElement as iv, newEquationElement as iw, newPresetShapeElement as ix, newShapeElement as iy, newSmartArtElement as iz, AdvancedChartEditorComponent as j, sanitizeSlideIndex as j$, pickColorByClickFallback as j0, pickFile as j1, pickSupportedMimeType as j2, planGifFrames as j3, planVideoSegments as j4, pointsToSvgPathD as j5, presenceToCursors as j6, presentationStageStyle as j7, presenterTimerProgress as j8, presetByLayout as j9, replaceMatch as jA, requestPresentationFullscreen as jB, resizeElement as jC, resolveCaptionTracks as jD, resolveChartKind as jE, resolveFontVariant as jF, resolveHyperlinkHref as jG, resolveInteractiveElementId as jH, resolveMediaSrc as jI, resolveOleType as jJ, resolveParagraphBullet as jK, resolvePresenterNotes as jL, resolveProfileInitial as jM, resolveRegionCode as jN, resolveSlideAutoAdvanceMs as jO, resolvePalette as jP, resolveThemeCatalogEntry as jQ, resolveTransitionDuration as jR, restoreSessionDeck as jS, revealedElementStyles as jT, routeOrthogonalConnector as jU, rowStyle as jV, rulerDragToGuidePosition as jW, rulerHighlight as jX, rulerStripTicks as jY, sampleColorFromSlide as jZ, sanitizeColor as j_, presetsForCategory as ja, pressuresToWidths as jb, prevVisibleIndex as jc, projectDrawingShapes as jd, promoteNode as je, provideViewerTheme as jf, radarAngle as jg, radarRingPoints as jh, readAsDataUrl as ji, recordWebm as jj, redistributeColumnWidth as jk, registerCrossSlideAudio as jl, rememberSessionDeck as jm, removeAnimation as jn, removeCategory as jo, removeTableElementColumn as jp, removeCommentFromList as jq, removeElementAnimation as jr, removeGradientStopPatch as js, removeNode as jt, removeTableElementRow as ju, removeSeries as jv, renderToCanvas as jw, reorderAnimationDown as jx, reorderAnimationUp as jy, replaceInSlides as jz, AiChangeOverlayComponent as k, statusLabel as k$, sanitizeUserName as k0, saveViewerProfile as k1, scanAvailableFonts as k2, searchSlides as k3, seedBroadcastFields as k4, seedHyperlinkDraft as k5, seedPropertiesDraft as k6, seedShareFields as k7, segmentFrameCount as k8, selectValue$2 as k9, setNodeStyle as kA, setNodeText as kB, setRepeatCount as kC, setRepeatMode as kD, setSequence as kE, setSeriesChartType as kF, setSeriesColor as kG, setSeriesErrorBars as kH, setSeriesMarker as kI, setSeriesName as kJ, setSeriesTrendline as kK, setSeriesValue as kL, setStyle as kM, setTimingCurve as kN, setTitle as kO, setTrigger as kP, setTriggerShapeId as kQ, shapeStylePatch as kR, sheetAfterNavigate as kS, shouldBlockClickAdvance as kT, shouldUseSvgWarp as kU, showDirectionPicker as kV, showsTemplateAffordance as kW, signatureCountLabel as kX, signatureKey as kY, signatureTimestamp as kZ, signerName as k_, sendBackward as ka, sendToBack as kb, sequentialColorScale as kc, serializeWriteBack as kd, seriesColor as ke, setAnimationEmphasis as kf, setAnimationEntrance as kg, setAnimationExit as kh, setAxis as ki, setAxisLogScale as kj, setAxisTitleStyle as kk, setCategoryLabel as kl, setCellText as km, setColorScheme as kn, setDataLabels as ko, setDataPointExplosion as kp, setDataPointFill as kq, setDataPointLabel as kr, setDataPointMarker as ks, setDelay as kt, setDirection as ku, setDuration as kv, setElementPosition as kw, setGridlineStyle as kx, setLayout as ky, setLegend as kz, AiChatPanelComponent as l, slideNumberOf as l0, smartArtNodes as l1, paletteColour as l2, snapToGridStep as l3, splitCursorCell as l4, splitMergedCell as l5, statusKind as l6, statusLabel$1 as l7, storeAudienceContent as l8, stringFromEvent$5 as l9, updateInnerShadowPatch as lA, updateOuterShadowPatch as lB, updateReflectionPatch as lC, vAlignPatch as lD, validatePassword as lE, validatePrintSettings as lF, validateRoomId as lG, valueToY as lH, vermilionDarkColors as lI, vermilionDarkTheme as lJ, vermilionLightColors as lK, vermilionLightTheme as lL, vermilionRadius as lM, waypointsToPathD as lN, worstStatus as lO, zoomTargetSlideIndex as lP, strokeColorOf as la, strokeToInkElement as lb, strokeWidthOf as lc, styleShadowFilter as ld, textAdvancedPatch as le, textAdvancedStateFromStyle as lf, textAdvancedStateOf as lg, textColorOf as lh, textDirectionPatch as li, textStyleOf as lj, textStylePatch as lk, themeStyle as ll, themeToCssVars as lm, thumbnailHeight as ln, thumbnailZoom as lo, toggleCommentResolvedInList as lp, toggleNodeBold as lq, toggleNodeItalic as lr, toggleSheet as ls, topLevelNodeCount as lt, transformSelectedTextCase as lu, translationsEn as lv, ungroupElements as lw, updateElementById as lx, updateGlowPatch as ly, updateGradientStopPatch as lz, AiChatService as m, AiComposerComponent as n, AiFocusBarComponent as o, AiFocusHighlightOverlayComponent as p, AiHistoryMenuComponent as q, AiHistoryService as r, AiMessageListComponent as s, toChatSummary as t, AiPanelStore as u, AiProposalCardComponent as v, AiSettingsSectionComponent as w, AiToolCallCardComponent as x, AnimationAuthorPanelComponent as y, AnimationPanelComponent as z };
128562
- //# sourceMappingURL=pptx-angular-viewer-pptx-angular-viewer-Dmq8rQWr.mjs.map
128756
+ //# sourceMappingURL=pptx-angular-viewer-pptx-angular-viewer-COSjTSrD.mjs.map