pptx-vue-viewer 3.9.0 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/{AiChatPanel-CY_Dp6hm.js → AiChatPanel-GcqVh1S7.js} +2 -2
  3. package/dist/AiChatPanel-GcqVh1S7.js.br +0 -0
  4. package/dist/AiChatPanel-GcqVh1S7.js.gz +0 -0
  5. package/dist/{AiChatPanel-CKirQ0AC.cjs → AiChatPanel-SP_vQhgO.cjs} +1 -1
  6. package/dist/AiChatPanel-SP_vQhgO.cjs.br +0 -0
  7. package/dist/AiChatPanel-SP_vQhgO.cjs.gz +0 -0
  8. package/dist/{UTIF-CzyZ61H3.cjs → UTIF-BsobMsK7.cjs} +6 -6
  9. package/dist/UTIF-BsobMsK7.cjs.br +0 -0
  10. package/dist/UTIF-BsobMsK7.cjs.gz +0 -0
  11. package/dist/{UTIF-D297yDcL.js → UTIF-DoM-DtxQ.js} +6 -6
  12. package/dist/UTIF-DoM-DtxQ.js.br +0 -0
  13. package/dist/UTIF-DoM-DtxQ.js.gz +0 -0
  14. package/dist/{dist-DDJ8JY-U.cjs → dist-4ebUZeqE.cjs} +58948 -49923
  15. package/dist/dist-4ebUZeqE.cjs.br +0 -0
  16. package/dist/dist-4ebUZeqE.cjs.gz +0 -0
  17. package/dist/{dist-C-nE-IV9.js → dist-CQkA7tTh.js} +58751 -49775
  18. package/dist/dist-CQkA7tTh.js.br +0 -0
  19. package/dist/dist-CQkA7tTh.js.gz +0 -0
  20. package/dist/gif-encoder-B73ICRec.cjs +2 -0
  21. package/dist/gif-encoder-B73ICRec.cjs.br +0 -0
  22. package/dist/gif-encoder-B73ICRec.cjs.gz +0 -0
  23. package/dist/gif-encoder-BQG0mqyY.js +2 -0
  24. package/dist/gif-encoder-BQG0mqyY.js.br +0 -0
  25. package/dist/gif-encoder-BQG0mqyY.js.gz +0 -0
  26. package/dist/{i18n-WAigQN3b.cjs → i18n-BHCImJBc.cjs} +48 -1
  27. package/dist/i18n-BHCImJBc.cjs.br +0 -0
  28. package/dist/i18n-BHCImJBc.cjs.gz +0 -0
  29. package/dist/{i18n-CzfTZRLN.js → i18n-DiLfjatQ.js} +48 -1
  30. package/dist/i18n-DiLfjatQ.js.br +0 -0
  31. package/dist/i18n-DiLfjatQ.js.gz +0 -0
  32. package/dist/i18n.cjs +1 -1
  33. package/dist/i18n.cjs.br +0 -0
  34. package/dist/i18n.cjs.gz +0 -0
  35. package/dist/i18n.js +1 -1
  36. package/dist/i18n.js.br +0 -0
  37. package/dist/i18n.js.gz +0 -0
  38. package/dist/index.cjs +1 -1
  39. package/dist/index.cjs.br +0 -0
  40. package/dist/index.cjs.gz +0 -0
  41. package/dist/index.js +3 -3
  42. package/dist/index.js.br +0 -0
  43. package/dist/index.js.gz +0 -0
  44. package/dist/internals.cjs +1 -1
  45. package/dist/internals.cjs.br +0 -0
  46. package/dist/internals.cjs.gz +0 -0
  47. package/dist/internals.js +2 -2
  48. package/dist/internals.js.br +0 -0
  49. package/dist/internals.js.gz +0 -0
  50. package/dist/pptx-vue-viewer.css +20 -6
  51. package/dist/pptx-vue-viewer.css.br +0 -0
  52. package/dist/pptx-vue-viewer.css.gz +0 -0
  53. package/dist/{useViewerSettingsDialog-D-QYEUVN.js → useViewerSettingsDialog-B4KCniWD.js} +7995 -7526
  54. package/dist/useViewerSettingsDialog-B4KCniWD.js.br +0 -0
  55. package/dist/useViewerSettingsDialog-B4KCniWD.js.gz +0 -0
  56. package/dist/{useViewerSettingsDialog-9q3U6VCB.cjs → useViewerSettingsDialog-BCE9sFVc.cjs} +5732 -5222
  57. package/dist/useViewerSettingsDialog-BCE9sFVc.cjs.br +0 -0
  58. package/dist/useViewerSettingsDialog-BCE9sFVc.cjs.gz +0 -0
  59. package/dist/viewer/components/AlignToolbar.vue.d.ts +33 -0
  60. package/dist/viewer/components/AlignToolbar.vue.d.ts.map +1 -0
  61. package/dist/viewer/components/AutosaveIndicator.vue.d.ts +9 -0
  62. package/dist/viewer/components/AutosaveIndicator.vue.d.ts.map +1 -0
  63. package/dist/viewer/components/ExportMenu.vue.d.ts +22 -0
  64. package/dist/viewer/components/ExportMenu.vue.d.ts.map +1 -0
  65. package/dist/viewer/components/MobileMenuSheet.vue.d.ts.map +1 -1
  66. package/dist/viewer/components/OleDeckEditor.vue.d.ts +12 -0
  67. package/dist/viewer/components/OleDeckEditor.vue.d.ts.map +1 -0
  68. package/dist/viewer/components/OleDocumentEditor.vue.d.ts +11 -0
  69. package/dist/viewer/components/OleDocumentEditor.vue.d.ts.map +1 -0
  70. package/dist/viewer/components/OleEditorDialog.vue.d.ts +17 -0
  71. package/dist/viewer/components/OleEditorDialog.vue.d.ts.map +1 -0
  72. package/dist/viewer/components/OleSheetGridEditor.vue.d.ts +12 -0
  73. package/dist/viewer/components/OleSheetGridEditor.vue.d.ts.map +1 -0
  74. package/dist/viewer/components/PropertiesDialog.vue.d.ts +32 -0
  75. package/dist/viewer/components/PropertiesDialog.vue.d.ts.map +1 -0
  76. package/dist/viewer/components/SlidesPaneControls.vue.d.ts +25 -0
  77. package/dist/viewer/components/SlidesPaneControls.vue.d.ts.map +1 -0
  78. package/dist/viewer/components/inspector/AnimationEditorControls.vue.d.ts.map +1 -1
  79. package/dist/viewer/components/inspector/ChartFilteredSeriesOptions.vue.d.ts +24 -0
  80. package/dist/viewer/components/inspector/ChartFilteredSeriesOptions.vue.d.ts.map +1 -0
  81. package/dist/viewer/components/inspector/ChartPanel.vue.d.ts +2 -2
  82. package/dist/viewer/components/inspector/ChartPanel.vue.d.ts.map +1 -1
  83. package/dist/viewer/components/inspector/ChartSeriesColorOptions.vue.d.ts +23 -0
  84. package/dist/viewer/components/inspector/ChartSeriesColorOptions.vue.d.ts.map +1 -0
  85. package/dist/viewer/components/inspector/EffectSoundRow.vue.d.ts +2 -0
  86. package/dist/viewer/components/inspector/EffectSoundRow.vue.d.ts.map +1 -1
  87. package/dist/viewer/components/inspector/OlePropertiesPanel.vue.d.ts.map +1 -1
  88. package/dist/viewer/components/ribbon/OverflowMenu.vue.d.ts.map +1 -1
  89. package/dist/viewer/components/ribbon/RibbonToolbar.vue.d.ts.map +1 -1
  90. package/dist/viewer/components/ribbon/TransitionsSection.vue.d.ts.map +1 -1
  91. package/dist/viewer/components/ribbon/file-section-actions.d.ts.map +1 -1
  92. package/dist/viewer/components/ribbon/file-section-types.d.ts +1 -0
  93. package/dist/viewer/components/ribbon/file-section-types.d.ts.map +1 -1
  94. package/dist/viewer/components/ribbon/ribbon-constants.d.ts.map +1 -1
  95. package/dist/viewer/components/ribbon/ribbon-props-fixture.d.ts.map +1 -1
  96. package/dist/viewer/components/ribbon/ribbon-types.d.ts +1 -0
  97. package/dist/viewer/components/ribbon/ribbon-types.d.ts.map +1 -1
  98. package/dist/viewer/composables/ribbon-props-actions.d.ts +1 -0
  99. package/dist/viewer/composables/ribbon-props-actions.d.ts.map +1 -1
  100. package/dist/viewer/composables/useChartEditing.d.ts +10 -33
  101. package/dist/viewer/composables/useChartEditing.d.ts.map +1 -1
  102. package/dist/viewer/composables/useChartOpEditing.d.ts +45 -0
  103. package/dist/viewer/composables/useChartOpEditing.d.ts.map +1 -0
  104. package/dist/viewer/composables/useExportWiring.d.ts.map +1 -1
  105. package/dist/viewer/composables/usePresentationActionExtras.d.ts.map +1 -1
  106. package/dist/viewer/composables/useTransitionSoundPicker.d.ts +15 -0
  107. package/dist/viewer/composables/useTransitionSoundPicker.d.ts.map +1 -0
  108. package/dist/viewer/index.cjs +1 -1
  109. package/dist/viewer/index.cjs.br +0 -0
  110. package/dist/viewer/index.cjs.gz +0 -0
  111. package/dist/viewer/index.js +3 -3
  112. package/dist/viewer/index.js.br +0 -0
  113. package/dist/viewer/index.js.gz +0 -0
  114. package/dist/{viewer-Bykr12-X.js → viewer-BawU2akS.js} +13463 -12075
  115. package/dist/viewer-BawU2akS.js.br +0 -0
  116. package/dist/viewer-BawU2akS.js.gz +0 -0
  117. package/dist/{viewer-5E1GSC6u.cjs → viewer-DpT_p02J.cjs} +10626 -9238
  118. package/dist/viewer-DpT_p02J.cjs.br +0 -0
  119. package/dist/viewer-DpT_p02J.cjs.gz +0 -0
  120. package/dist/{y-webrtc-DzS6Reg-.cjs → y-webrtc-BF9z0_m2.cjs} +2 -2
  121. package/dist/y-webrtc-BF9z0_m2.cjs.br +0 -0
  122. package/dist/y-webrtc-BF9z0_m2.cjs.gz +0 -0
  123. package/dist/{y-webrtc-3KEiDR6s.js → y-webrtc-D_iqUeDR.js} +2 -2
  124. package/dist/y-webrtc-D_iqUeDR.js.br +0 -0
  125. package/dist/y-webrtc-D_iqUeDR.js.gz +0 -0
  126. package/package.json +13 -13
  127. package/dist/AiChatPanel-CKirQ0AC.cjs.br +0 -0
  128. package/dist/AiChatPanel-CKirQ0AC.cjs.gz +0 -0
  129. package/dist/AiChatPanel-CY_Dp6hm.js.br +0 -0
  130. package/dist/AiChatPanel-CY_Dp6hm.js.gz +0 -0
  131. package/dist/UTIF-CzyZ61H3.cjs.br +0 -0
  132. package/dist/UTIF-CzyZ61H3.cjs.gz +0 -0
  133. package/dist/UTIF-D297yDcL.js.br +0 -0
  134. package/dist/UTIF-D297yDcL.js.gz +0 -0
  135. package/dist/dist-C-nE-IV9.js.br +0 -0
  136. package/dist/dist-C-nE-IV9.js.gz +0 -0
  137. package/dist/dist-DDJ8JY-U.cjs.br +0 -0
  138. package/dist/dist-DDJ8JY-U.cjs.gz +0 -0
  139. package/dist/gif-encoder-BCZJnRXV.js +0 -2
  140. package/dist/gif-encoder-BCZJnRXV.js.br +0 -0
  141. package/dist/gif-encoder-BCZJnRXV.js.gz +0 -0
  142. package/dist/gif-encoder-CzFa2No0.cjs +0 -2
  143. package/dist/gif-encoder-CzFa2No0.cjs.br +0 -0
  144. package/dist/gif-encoder-CzFa2No0.cjs.gz +0 -0
  145. package/dist/i18n-CzfTZRLN.js.br +0 -0
  146. package/dist/i18n-CzfTZRLN.js.gz +0 -0
  147. package/dist/i18n-WAigQN3b.cjs.br +0 -0
  148. package/dist/i18n-WAigQN3b.cjs.gz +0 -0
  149. package/dist/useViewerSettingsDialog-9q3U6VCB.cjs.br +0 -0
  150. package/dist/useViewerSettingsDialog-9q3U6VCB.cjs.gz +0 -0
  151. package/dist/useViewerSettingsDialog-D-QYEUVN.js.br +0 -0
  152. package/dist/useViewerSettingsDialog-D-QYEUVN.js.gz +0 -0
  153. package/dist/viewer-5E1GSC6u.cjs.br +0 -0
  154. package/dist/viewer-5E1GSC6u.cjs.gz +0 -0
  155. package/dist/viewer-Bykr12-X.js.br +0 -0
  156. package/dist/viewer-Bykr12-X.js.gz +0 -0
  157. package/dist/y-webrtc-3KEiDR6s.js.br +0 -0
  158. package/dist/y-webrtc-3KEiDR6s.js.gz +0 -0
  159. package/dist/y-webrtc-DzS6Reg-.cjs.br +0 -0
  160. package/dist/y-webrtc-DzS6Reg-.cjs.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,48 @@ A release listed with no entries carried no Conventional Commit in this package'
7
7
  scope: scripts/release-plan.mjs re-releases a package whenever any of its files
8
8
  change, not only on conventional ones.
9
9
 
10
+ ## [3.10.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@3.10.0) - 2026-09-09
11
+
12
+ ### Features
13
+
14
+ - **core:** Check salt-less modify verifiers instead of unlocking blindly (by @ChristopherVR) ([7c7f1da](https://github.com/ChristopherVR/pptx-viewer/commit/7c7f1da9f43e2d0836e675777d0f3036a0792c4e))
15
+ - **core:** Model the c15 filtered-title and Value From Cells chart extensions (by @ChristopherVR) ([880fa81](https://github.com/ChristopherVR/pptx-viewer/commit/880fa81e9f2149216e1fcbb057dc316dc02e640f))
16
+ - **core:** Ship PowerPoint's built-in stock sound gallery for effects and transitions (by @ChristopherVR) ([41854e5](https://github.com/ChristopherVR/pptx-viewer/commit/41854e561f3b56bbb177e761aadcfb66e608aba7))
17
+ - **core:** Write legacy binary .ppt (PowerPoint 97-2003) from the save pipeline (by @ChristopherVR) ([d3360c1](https://github.com/ChristopherVR/pptx-viewer/commit/d3360c18d30ab616ee0ba533a3cdf0357fa1e390))
18
+ - **core:** Edit embedded OLE content in place across all five bindings (by @ChristopherVR) ([3f51347](https://github.com/ChristopherVR/pptx-viewer/commit/3f513476e979cc2401cf0f20e5e000bc7af0a0ec))
19
+ - **core:** Edit legacy Word 97-2003 (.doc) OLE documents in place (by @ChristopherVR) ([cfad261](https://github.com/ChristopherVR/pptx-viewer/commit/cfad261b07d1ad5fb79b122fd8eeff29cfe3ab5e))
20
+ - **core:** Interpret SmartArt layouts against a COM-authored ground-truth corpus (by @ChristopherVR) ([d1b43a5](https://github.com/ChristopherVR/pptx-viewer/commit/d1b43a5203b499ac1b18c7da58a3d4a7c38ba640))
21
+
22
+ ### Bug Fixes
23
+
24
+ - **core:** Break the OLE nested-deck import cycle and declare the effect-sound fixture (by @ChristopherVR) ([7a99ea6](https://github.com/ChristopherVR/pptx-viewer/commit/7a99ea6acb31f4511bc68a504d971f0d6a20e954))
25
+ - **core:** Make SDK-authored .ppt decks open in PowerPoint (by @ChristopherVR) ([7433ee5](https://github.com/ChristopherVR/pptx-viewer/commit/7433ee510abc76bfdbe546874cb117387f381f18))
26
+ - **core:** Build the validator enum table through a pure call (by @ChristopherVR) ([d4977ea](https://github.com/ChristopherVR/pptx-viewer/commit/d4977eae77aff80a8b2b87bf87f8f76d89afb9c6))
27
+ - **core:** Replace a stray NUL byte inside a string literal (by @ChristopherVR) ([40bdda3](https://github.com/ChristopherVR/pptx-viewer/commit/40bdda3b5a066a89afcbf6beeabf4aa55837adad))
28
+ - **shared:** Sync the OLE content-dirty flag and settle three stale test premises (by @ChristopherVR) ([5302473](https://github.com/ChristopherVR/pptx-viewer/commit/53024730770ddbc50e997347c68c3a7737a686e3))
29
+ - **core:** Place cached SmartArt shapes at their raw offsets and keep a lone column in bounds (by @ChristopherVR) ([09ecba9](https://github.com/ChristopherVR/pptx-viewer/commit/09ecba9d245aa34d85e4a05eedb474775a413239))
30
+ - **shared:** Give the accessibility title field a name distinct from the chart title (by @ChristopherVR) ([37bbe6a](https://github.com/ChristopherVR/pptx-viewer/commit/37bbe6aa4b973feea6b04ffec7d80dc3a676e405))
31
+ - **shared:** Keep a plain Fly In on its directional preset when a real box is available (by @ChristopherVR) ([a026049](https://github.com/ChristopherVR/pptx-viewer/commit/a0260492322fe52a67b3d7fc01002ddf8f737211))
32
+
33
+ ### Dependencies
34
+
35
+ - **deps:** Merge dependabot #214 (by @ChristopherVR) ([965c481](https://github.com/ChristopherVR/pptx-viewer/commit/965c4810b24888141e6ed4e8eb65a4d254a52239))
36
+ - **deps:** Bump the minor-and-patch group with 3 updates (by @dependabot[bot]) ([6e40989](https://github.com/ChristopherVR/pptx-viewer/commit/6e409896e58d8e60a6a94ae3c4d51c6b6a5e7108))
37
+ - **deps:** Merge dependabot #212 (by @ChristopherVR) ([a69fe7e](https://github.com/ChristopherVR/pptx-viewer/commit/a69fe7eaad513d06808570b31bf032f4310bafbd))
38
+ - **deps:** Update every dependency to its latest in-range version (by @ChristopherVR) ([1f242b7](https://github.com/ChristopherVR/pptx-viewer/commit/1f242b71b25a902f4ea817a45853c5f1a19db2c0))
39
+
40
+ ### Chores
41
+
42
+ - **deps-dev:** Update @vue/test-utils requirement (by @dependabot[bot]) ([9930b6f](https://github.com/ChristopherVR/pptx-viewer/commit/9930b6f3b60767ec2270ac7c6259553d1ecbd541))
43
+
44
+ ## [3.9.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@3.9.0) - 2026-09-06
45
+
46
+ ### Features
47
+
48
+ - **core:** Close the wave-5 OpenXML limitation gaps in parse/save (by @ChristopherVR) ([175dbbd](https://github.com/ChristopherVR/pptx-viewer/commit/175dbbdccefebd5b4c4cd386a421b3bcb0209093))
49
+ - **shared:** Wave-5 render logic for the closed limitation rows (by @ChristopherVR) ([2c9ea37](https://github.com/ChristopherVR/pptx-viewer/commit/2c9ea37519fed39982a83692baef630153c2844c))
50
+ - **vue:** Wave-5 limitation closures (3D charts, userShapes, ink, effects) (by @ChristopherVR) ([6da0814](https://github.com/ChristopherVR/pptx-viewer/commit/6da081424668411c93693be82cb192e8723201f0))
51
+
10
52
  ## [3.8.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@3.8.0) - 2026-09-05
11
53
 
12
54
  ### Features
@@ -1,5 +1,5 @@
1
- import { vn as e } from "./useViewerSettingsDialog-D-QYEUVN.js";
2
- import { S as t, T as a, _ as s, b as r, d as l, f as o, g as n, h as i, m as p, o as d, p as c, u, v as m, x, y as g } from "./viewer-Bykr12-X.js";
1
+ import { vn as e } from "./useViewerSettingsDialog-B4KCniWD.js";
2
+ import { S as t, T as a, _ as s, b as r, d as l, f as o, g as n, h as i, m as p, o as d, p as c, u, v as m, x, y as g } from "./viewer-BawU2akS.js";
3
3
  import { Fragment as f, Suspense as b, computed as v, createBlock as h, createCommentVNode as y, createElementBlock as k, createElementVNode as w, createTextVNode as C, createVNode as P, defineComponent as S, nextTick as T, normalizeClass as I, normalizeStyle as _, onBeforeUnmount as A, onMounted as E, openBlock as j, ref as M, renderList as F, resolveDynamicComponent as B, shallowRef as D, toDisplayString as N, unref as L, vModelText as R, watch as H, withAsyncContext as W, withCtx as z, withDirectives as V } from "vue";
4
4
  import { Bot as K, ChartColumn as O, Check as U, Crosshair as $, Eye as q, Film as G, GitMerge as J, History as Q, LayoutTemplate as X, LoaderCircle as Y, MessageSquare as Z, MessageSquarePlus as ee, Move as te, Navigation as ae, Palette as se, Pin as re, PinOff as le, Plus as oe, Search as ne, Send as ie, Shapes as pe, Sparkles as de, Square as ce, StickyNote as ue, Table as me, Trash2 as xe, TriangleAlert as ge, Type as fe, User as be, Wrench as ve, X as he } from "lucide-vue-next";
5
5
  import { getToolOrDynamicToolName as ye, isDynamicToolUIPart as ke, isToolUIPart as we } from "ai";
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- const e = require("./useViewerSettingsDialog-9q3U6VCB.cjs"), t = require("./viewer-5E1GSC6u.cjs");
1
+ const e = require("./useViewerSettingsDialog-BCE9sFVc.cjs"), t = require("./viewer-DpT_p02J.cjs");
2
2
  let r = require("vue"), a = require("lucide-vue-next"), o = require("ai");
3
3
  var n = /* @__PURE__ */ new Set([
4
4
  "input-available",
Binary file
Binary file
@@ -22,8 +22,8 @@ var e = t.__commonJSMin((t) => {
22
22
  else for (var a = 0; a < n; a++) t[i + a] = e[r + a];
23
23
  },
24
24
  flattenChunks: function(t) {
25
- var e, r, n, i, a, o;
26
- for (n = 0, e = 0, r = t.length; e < r; e++) n += t[e].length;
25
+ var e, r, n = 0, i, a, o;
26
+ for (e = 0, r = t.length; e < r; e++) n += t[e].length;
27
27
  for (o = new Uint8Array(n), i = 0, e = 0, r = t.length; e < r; e++) a = t[e], o.set(a, i), i += a.length;
28
28
  return o;
29
29
  }
@@ -189,8 +189,8 @@ var e = t.__commonJSMin((t) => {
189
189
  }
190
190
  }
191
191
  function U(t) {
192
- var e;
193
- for (e = 0; e < a; e++) t.dyn_ltree[2 * e] = 0;
192
+ var e = 0;
193
+ for (; e < a; e++) t.dyn_ltree[2 * e] = 0;
194
194
  for (e = 0; e < o; e++) t.dyn_dtree[2 * e] = 0;
195
195
  for (e = 0; e < 19; e++) t.bl_tree[2 * e] = 0;
196
196
  t.dyn_ltree[512] = 1, t.opt_len = t.static_len = 0, t.last_lit = t.matches = 0;
@@ -629,8 +629,8 @@ while (n === o[++i] && n === o[++i] && n === o[++i] && n === o[++i] && n === o[+
629
629
  var a = r.deflateInit2(this.strm, e.level, e.method, e.windowBits, e.memLevel, e.strategy);
630
630
  if (0 !== a) throw new Error(f[a]);
631
631
  if (e.header && r.deflateSetHeader(this.strm, e.header), e.dictionary) {
632
- var o;
633
- if (o = "string" == typeof e.dictionary ? i.string2buf(e.dictionary) : "[object ArrayBuffer]" === d.call(e.dictionary) ? new Uint8Array(e.dictionary) : e.dictionary, 0 !== (a = r.deflateSetDictionary(this.strm, o))) throw new Error(f[a]);
632
+ var o = "string" == typeof e.dictionary ? i.string2buf(e.dictionary) : "[object ArrayBuffer]" === d.call(e.dictionary) ? new Uint8Array(e.dictionary) : e.dictionary;
633
+ if (0 !== (a = r.deflateSetDictionary(this.strm, o))) throw new Error(f[a]);
634
634
  this._dict_set = !0;
635
635
  }
636
636
  }
Binary file
Binary file
@@ -22,8 +22,8 @@ var r = e((t) => {
22
22
  else for (var a = 0; a < i; a++) t[n + a] = e[r + a];
23
23
  },
24
24
  flattenChunks: function(t) {
25
- var e, r, i, n, a, s;
26
- for (i = 0, e = 0, r = t.length; e < r; e++) i += t[e].length;
25
+ var e, r, i = 0, n, a, s;
26
+ for (e = 0, r = t.length; e < r; e++) i += t[e].length;
27
27
  for (s = new Uint8Array(i), n = 0, e = 0, r = t.length; e < r; e++) a = t[e], s.set(a, n), n += a.length;
28
28
  return s;
29
29
  }
@@ -189,8 +189,8 @@ var r = e((t) => {
189
189
  }
190
190
  }
191
191
  function I(t) {
192
- var e;
193
- for (e = 0; e < a; e++) t.dyn_ltree[2 * e] = 0;
192
+ var e = 0;
193
+ for (; e < a; e++) t.dyn_ltree[2 * e] = 0;
194
194
  for (e = 0; e < s; e++) t.dyn_dtree[2 * e] = 0;
195
195
  for (e = 0; e < 19; e++) t.bl_tree[2 * e] = 0;
196
196
  t.dyn_ltree[512] = 1, t.opt_len = t.static_len = 0, t.last_lit = t.matches = 0;
@@ -629,8 +629,8 @@ while (i === s[++n] && i === s[++n] && i === s[++n] && i === s[++n] && i === s[+
629
629
  var s = e.deflateInit2(this.strm, r.level, r.method, r.windowBits, r.memLevel, r.strategy);
630
630
  if (0 !== s) throw new Error(a[s]);
631
631
  if (r.header && e.deflateSetHeader(this.strm, r.header), r.dictionary) {
632
- var o;
633
- if (o = "string" == typeof r.dictionary ? n.string2buf(r.dictionary) : "[object ArrayBuffer]" === d.call(r.dictionary) ? new Uint8Array(r.dictionary) : r.dictionary, 0 !== (s = e.deflateSetDictionary(this.strm, o))) throw new Error(a[s]);
632
+ var o = "string" == typeof r.dictionary ? n.string2buf(r.dictionary) : "[object ArrayBuffer]" === d.call(r.dictionary) ? new Uint8Array(r.dictionary) : r.dictionary;
633
+ if (0 !== (s = e.deflateSetDictionary(this.strm, o))) throw new Error(a[s]);
634
634
  this._dict_set = !0;
635
635
  }
636
636
  }
Binary file
Binary file