@poe-platform/safe-bash 0.1.812 → 0.1.813

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 (329) hide show
  1. package/dist/audio-ast/id3-source.d.ts +27 -0
  2. package/dist/audio-ast/index.d.ts +4 -0
  3. package/dist/audio-ast/index.js +996 -596
  4. package/dist/audio-ast/mp3-source.d.ts +18 -0
  5. package/dist/audio-ast/ogg-source.d.ts +25 -0
  6. package/dist/audio-ast/ogg-stream-source.d.ts +22 -0
  7. package/dist/image-ast/index.js +139 -9
  8. package/dist/mp4-ast/containers/adapters.d.ts +7 -0
  9. package/dist/office-xml/retained-xml-document.d.ts +8 -0
  10. package/dist/pdf-ast/ast.d.ts +2 -0
  11. package/dist/pdf-ast/content/dictionary-cursor.d.ts +15 -0
  12. package/dist/pdf-ast/content/range-operator-parser.d.ts +4 -0
  13. package/dist/pdf-ast/content/stored-dictionary.d.ts +10 -0
  14. package/dist/pdf-ast/cos/lexer.d.ts +8 -5
  15. package/dist/pdf-ast/cos/object-reader.d.ts +4 -3
  16. package/dist/pdf-ast/cos/range-parser.d.ts +4 -0
  17. package/dist/pdf-ast/cos/retained-objects.d.ts +1 -0
  18. package/dist/pdf-ast/cos/retained-writer.d.ts +1 -0
  19. package/dist/pdf-ast/cos/value-parser.d.ts +9 -0
  20. package/dist/pdf-ast/edit/retained-append-attachments.d.ts +13 -0
  21. package/dist/pdf-ast/edit/retained-bookmarks.d.ts +13 -0
  22. package/dist/pdf-ast/edit/retained-graph.d.ts +6 -0
  23. package/dist/pdf-ast/edit/retained-save.d.ts +2 -0
  24. package/dist/pdf-ast/edit/retained-stamps.d.ts +9 -0
  25. package/dist/pdf-ast/fonts/resolve.d.ts +3 -1
  26. package/dist/pdf-ast/index.d.ts +3 -1
  27. package/dist/pdf-ast/index.js +1557 -770
  28. package/dist/safe-bash/audio-ast.browser.js +6 -1
  29. package/dist/safe-bash/chunks/{chunk-HHSOUC3Z.js → chunk-HPQE675Q.js} +1 -1
  30. package/dist/safe-bash/chunks/{chunk-BUYRKFW2.js → chunk-I6ECNJMR.js} +1 -1
  31. package/dist/safe-bash/chunks/{pdftk-WRYEP3CA.js → pdftk-Y2TX74LY.js} +2 -1
  32. package/dist/safe-bash/command-chunks/biff-4ALVARRF-7SRX6R6N.js +5192 -0
  33. package/dist/safe-bash/command-chunks/{chunk-EHSM5ZQS.js → chunk-2DGJOOXM.js} +8 -8
  34. package/dist/safe-bash/command-chunks/{chunk-Q6S57NOQ.js → chunk-2E2H7MBH.js} +7 -7
  35. package/dist/safe-bash/command-chunks/{chunk-MMBZTYXO.js → chunk-2PQRZDNR.js} +221 -0
  36. package/dist/safe-bash/command-chunks/{chunk-NARD63DY.js → chunk-2V6FOLXV.js} +22 -66
  37. package/dist/safe-bash/command-chunks/{chunk-56NYSX65.js → chunk-2Z3WRRFT.js} +9 -9
  38. package/dist/safe-bash/command-chunks/chunk-3D24WDND.js +63 -0
  39. package/dist/safe-bash/command-chunks/{chunk-47NEG4UO.js → chunk-3JST2Q7G.js} +219 -43
  40. package/dist/safe-bash/command-chunks/{chunk-WGG6G2KG.js → chunk-3LJAXFH5.js} +7 -7
  41. package/dist/safe-bash/command-chunks/{chunk-AHA6IWAJ.js → chunk-3TYDSGAH.js} +6 -6
  42. package/dist/safe-bash/command-chunks/{chunk-YSMNXMAO.js → chunk-3Y4XZB24.js} +4 -4
  43. package/dist/safe-bash/command-chunks/{chunk-ZIIO6GRY.js → chunk-4PBNMKAT.js} +7 -7
  44. package/dist/safe-bash/command-chunks/{chunk-JFYWVQ4V.js → chunk-4Z6W5EOC.js} +8 -8
  45. package/dist/safe-bash/command-chunks/{chunk-GEM47B2P.js → chunk-57DDYKE5.js} +7 -7
  46. package/dist/safe-bash/command-chunks/{chunk-4CKFNXRN.js → chunk-5IFRAI7Y.js} +1 -1
  47. package/dist/safe-bash/command-chunks/{chunk-RHYJVTJO.js → chunk-5KGEZ3RW.js} +2 -2
  48. package/dist/safe-bash/command-chunks/{chunk-A5FZBR7X.js → chunk-5MFDRSGG.js} +4 -4
  49. package/dist/safe-bash/command-chunks/{chunk-7GKKMNL6.js → chunk-5P6I2T63.js} +8 -8
  50. package/dist/safe-bash/command-chunks/{chunk-6M6TM5Z5.js → chunk-5VQVZPP3.js} +3 -3
  51. package/dist/safe-bash/command-chunks/{chunk-MIRL7HTF.js → chunk-6244HYJY.js} +1 -1
  52. package/dist/safe-bash/command-chunks/chunk-63EMPQ7Z.js +115 -0
  53. package/dist/safe-bash/command-chunks/{chunk-XRVKWGVQ.js → chunk-6CY5BHBS.js} +6 -6
  54. package/dist/safe-bash/command-chunks/{chunk-XVP6V5K3.js → chunk-6IWE7PTK.js} +6 -6
  55. package/dist/safe-bash/command-chunks/{chunk-6QBMND4A.js → chunk-6SRHWVEB.js} +1 -1
  56. package/dist/safe-bash/command-chunks/chunk-6ZHQB453.js +35 -0
  57. package/dist/safe-bash/command-chunks/chunk-73NYFNAS.js +173 -0
  58. package/dist/safe-bash/command-chunks/{chunk-2JSDKQ4J.js → chunk-7NXTEWPR.js} +119 -44
  59. package/dist/safe-bash/command-chunks/{chunk-554Z6IKP.js → chunk-7PRL6RJ6.js} +2 -2
  60. package/dist/safe-bash/command-chunks/{chunk-SDTPO2VV.js → chunk-7PZHWMK6.js} +7 -7
  61. package/dist/safe-bash/command-chunks/{chunk-XZ2FWFNV.js → chunk-7QZ2HP2F.js} +6 -6
  62. package/dist/safe-bash/command-chunks/{chunk-OEJM666F.js → chunk-7UC2Q6Z6.js} +5 -5
  63. package/dist/safe-bash/command-chunks/{chunk-COKYZUBW.js → chunk-AJI55RS7.js} +1 -1
  64. package/dist/safe-bash/command-chunks/{chunk-WXRYDALR.js → chunk-BBAB7LC4.js} +4 -4
  65. package/dist/safe-bash/command-chunks/{chunk-QYMEASQ6.js → chunk-BEHUSUOY.js} +4 -4
  66. package/dist/safe-bash/command-chunks/{chunk-Z2JW6M2D.js → chunk-BK7ISUJL.js} +3 -3
  67. package/dist/safe-bash/command-chunks/{chunk-33YCKZZX.js → chunk-C5KLFZGT.js} +6 -6
  68. package/dist/safe-bash/command-chunks/{chunk-TVH4JORU.js → chunk-C5QDEB3I.js} +3 -3
  69. package/dist/safe-bash/command-chunks/{chunk-N4R2SHSS.js → chunk-CCZZVCHX.js} +2 -2
  70. package/dist/safe-bash/command-chunks/{chunk-2VLAXKTS.js → chunk-CTDC4LJT.js} +121 -85
  71. package/dist/safe-bash/command-chunks/{chunk-S6R3IB36.js → chunk-D55REQA3.js} +1 -1
  72. package/dist/safe-bash/command-chunks/{chunk-Y4EYCZFT.js → chunk-D6WJY6QO.js} +10 -10
  73. package/dist/safe-bash/command-chunks/{chunk-2CORNDGF.js → chunk-DBLHCJJU.js} +2 -2
  74. package/dist/safe-bash/command-chunks/{chunk-SPW4GW4Z.js → chunk-DFI7QF3M.js} +2 -2
  75. package/dist/safe-bash/command-chunks/{chunk-456PHA3L.js → chunk-DMCI6T6N.js} +1 -1
  76. package/dist/safe-bash/command-chunks/{chunk-TW73OXPR.js → chunk-EJTNVXWF.js} +6 -6
  77. package/dist/safe-bash/command-chunks/{chunk-QD7ZRDUN.js → chunk-ET2VPDUA.js} +1 -1
  78. package/dist/safe-bash/command-chunks/{chunk-CJQSAATC.js → chunk-EXOQGXEU.js} +26 -26
  79. package/dist/safe-bash/command-chunks/{chunk-CRV2Q3PB.js → chunk-EZ4NQIPL.js} +1 -1
  80. package/dist/safe-bash/command-chunks/chunk-FWKLBDMK.js +0 -0
  81. package/dist/safe-bash/command-chunks/{chunk-22MOB45U.js → chunk-FWPVQGYK.js} +6 -6
  82. package/dist/safe-bash/command-chunks/{chunk-QC5RMGSA.js → chunk-G3RUXKVY.js} +3 -3
  83. package/dist/safe-bash/command-chunks/{chunk-JYUJAF4L.js → chunk-G7NENPYV.js} +4 -0
  84. package/dist/safe-bash/command-chunks/{chunk-KCOJA7EM.js → chunk-GKILM4HZ.js} +7 -7
  85. package/dist/safe-bash/command-chunks/{chunk-HTVIYLVB.js → chunk-GNXTMSYN.js} +4 -4
  86. package/dist/safe-bash/command-chunks/{chunk-D2ASPM7R.js → chunk-GOBUDKZ3.js} +3 -3
  87. package/dist/safe-bash/command-chunks/{chunk-RNSKXOG3.js → chunk-GVWVRPG6.js} +6 -6
  88. package/dist/safe-bash/command-chunks/{chunk-FDCIPJBQ.js → chunk-HCKYUQ3L.js} +7 -7
  89. package/dist/safe-bash/command-chunks/{chunk-AGLK7OJR.js → chunk-HDSIIQBS.js} +1 -1
  90. package/dist/safe-bash/command-chunks/{chunk-DM2CPMB4.js → chunk-HKOMXGJS.js} +2 -2
  91. package/dist/safe-bash/command-chunks/{chunk-IT7TAC3F.js → chunk-HVW53ARH.js} +16 -16
  92. package/dist/safe-bash/command-chunks/{chunk-M7QE2MN7.js → chunk-I4GMCWAT.js} +6 -6
  93. package/dist/safe-bash/command-chunks/{chunk-HWQ2UHMT.js → chunk-IHSOOSNC.js} +9 -9
  94. package/dist/safe-bash/command-chunks/{chunk-LCZDBW55.js → chunk-JAHJWVGF.js} +5 -5
  95. package/dist/safe-bash/command-chunks/{chunk-MOZD7RUY.js → chunk-JORIVUPM.js} +27 -11
  96. package/dist/safe-bash/command-chunks/{chunk-PMAM4N33.js → chunk-JUJHYPYL.js} +9 -9
  97. package/dist/safe-bash/command-chunks/{chunk-ENT3IV2G.js → chunk-KBUBSMCQ.js} +12 -12
  98. package/dist/safe-bash/command-chunks/{chunk-ZXR6LXV5.js → chunk-KCE5D4Z4.js} +48 -4
  99. package/dist/safe-bash/command-chunks/{chunk-FIIAYCWS.js → chunk-KZ5ODST6.js} +2 -2
  100. package/dist/safe-bash/command-chunks/{chunk-PNGDJA6M.js → chunk-LD7BONZY.js} +2 -2
  101. package/dist/safe-bash/command-chunks/{chunk-KJ4XXZIL.js → chunk-M3Z5PU2M.js} +582 -59
  102. package/dist/safe-bash/command-chunks/{chunk-LXLLA4PM.js → chunk-MKX4JAZ6.js} +17 -17
  103. package/dist/safe-bash/command-chunks/{chunk-RQIQ75W5.js → chunk-MNHBQBF6.js} +5 -5
  104. package/dist/safe-bash/command-chunks/{chunk-A2CLZMQZ.js → chunk-MPKY37QR.js} +1 -1
  105. package/dist/safe-bash/command-chunks/{chunk-K5GB2YMN.js → chunk-MUUWBZIC.js} +10 -10
  106. package/dist/safe-bash/command-chunks/{chunk-JOCFI7TG.js → chunk-N32GSM3J.js} +1 -1
  107. package/dist/safe-bash/command-chunks/{chunk-EUT24Y5Z.js → chunk-NKTULXVD.js} +8 -8
  108. package/dist/safe-bash/command-chunks/{chunk-5HPU7D36.js → chunk-NMPED6L5.js} +4 -4
  109. package/dist/safe-bash/command-chunks/{chunk-QZZ73J2O.js → chunk-NPFHUS4X.js} +6 -6
  110. package/dist/safe-bash/command-chunks/{chunk-X7FA7ZD5.js → chunk-O675URF4.js} +8 -8
  111. package/dist/safe-bash/command-chunks/{chunk-R6EGGK5M.js → chunk-P7EL2FWW.js} +7 -7
  112. package/dist/safe-bash/command-chunks/{chunk-YS25EI54.js → chunk-PCCFLPUQ.js} +2 -2
  113. package/dist/safe-bash/command-chunks/{chunk-RRL3Y562.js → chunk-PI6MOMHA.js} +11 -11
  114. package/dist/safe-bash/command-chunks/{chunk-26VCZHLJ.js → chunk-PIOQBOEK.js} +1 -1
  115. package/dist/safe-bash/command-chunks/chunk-PK36TVXB.js +175 -0
  116. package/dist/safe-bash/command-chunks/{chunk-3Q247UDJ.js → chunk-PKLJRB7W.js} +264 -129
  117. package/dist/safe-bash/command-chunks/{chunk-6CCQI6XZ.js → chunk-PSCOXGCA.js} +12 -12
  118. package/dist/safe-bash/command-chunks/{chunk-XPD636C4.js → chunk-PVGZMLC6.js} +3 -3
  119. package/dist/safe-bash/command-chunks/{chunk-JQVHUSDD.js → chunk-PXWS3Q7L.js} +5 -5
  120. package/dist/safe-bash/command-chunks/{chunk-HDJVJTCK.js → chunk-QFF5KBOM.js} +9 -9
  121. package/dist/safe-bash/command-chunks/{chunk-MPUHH2KR.js → chunk-QM2HZJSJ.js} +3 -3
  122. package/dist/safe-bash/command-chunks/{chunk-UAXSE3XE.js → chunk-R2BMZAHG.js} +5 -5
  123. package/dist/safe-bash/command-chunks/{chunk-KB7DUBVL.js → chunk-RGOQKIG6.js} +5 -5
  124. package/dist/safe-bash/command-chunks/{chunk-D2KZ66W4.js → chunk-RLCQ7BN3.js} +187 -39
  125. package/dist/safe-bash/command-chunks/{chunk-B5LDP7AA.js → chunk-S2N2V5U4.js} +2 -2
  126. package/dist/safe-bash/command-chunks/{chunk-OA75SGN2.js → chunk-SGPCXAG7.js} +7 -7
  127. package/dist/safe-bash/command-chunks/{chunk-QUM3SYAJ.js → chunk-SYSX46IV.js} +3 -3
  128. package/dist/safe-bash/command-chunks/chunk-T3E5RV3U.js +737 -0
  129. package/dist/safe-bash/command-chunks/{chunk-YORJDX4V.js → chunk-T5ERNELL.js} +4 -4
  130. package/dist/safe-bash/command-chunks/{chunk-ZEX53S5I.js → chunk-T6C5QP7T.js} +6368 -6230
  131. package/dist/safe-bash/command-chunks/{chunk-ATTWQVR2.js → chunk-TKRLZIFI.js} +17 -17
  132. package/dist/safe-bash/command-chunks/{chunk-ZMHEGDU2.js → chunk-TODWFDYB.js} +2 -2
  133. package/dist/safe-bash/command-chunks/{chunk-XVLWZTPY.js → chunk-TQEB4DH4.js} +543 -144
  134. package/dist/safe-bash/command-chunks/{chunk-36XGIPOG.js → chunk-U5TWQFZY.js} +1 -1
  135. package/dist/safe-bash/command-chunks/{chunk-APEWTWCC.js → chunk-UAF4IX5H.js} +6 -6
  136. package/dist/safe-bash/command-chunks/{chunk-6VPQ3CDZ.js → chunk-V37D6AHO.js} +5 -5
  137. package/dist/safe-bash/command-chunks/{chunk-RID6VYS3.js → chunk-V6XBEYPC.js} +8 -8
  138. package/dist/safe-bash/command-chunks/{chunk-WJCN2IXI.js → chunk-VQOINPVF.js} +2 -2
  139. package/dist/safe-bash/command-chunks/{chunk-W5YSINXC.js → chunk-VVWXY6IA.js} +6 -6
  140. package/dist/safe-bash/command-chunks/{chunk-HKATEVAP.js → chunk-WPVBUVFK.js} +6 -6
  141. package/dist/safe-bash/command-chunks/{chunk-UYWSIIUX.js → chunk-X53AEG36.js} +7 -7
  142. package/dist/safe-bash/command-chunks/{chunk-L5MCW6CM.js → chunk-X64XGIXZ.js} +9 -155
  143. package/dist/safe-bash/command-chunks/{chunk-Q73EMLLZ.js → chunk-X6RHJ6YN.js} +84 -5
  144. package/dist/safe-bash/command-chunks/{chunk-7PVHO47B.js → chunk-XG6UWQV5.js} +6 -6
  145. package/dist/safe-bash/command-chunks/{chunk-NQDIT667.js → chunk-XIDGHIGB.js} +5 -5
  146. package/dist/safe-bash/command-chunks/{chunk-CV7M2QJU.js → chunk-XLYIVBAR.js} +7 -7
  147. package/dist/safe-bash/command-chunks/{chunk-WVMHRNXZ.js → chunk-YUXTK3XA.js} +3 -3
  148. package/dist/safe-bash/command-chunks/{chunk-SPLOIABU.js → chunk-YXD6VGVG.js} +3 -3
  149. package/dist/safe-bash/command-chunks/{chunk-2ZFLMWOX.js → chunk-Z5BIM5B7.js} +1 -1
  150. package/dist/safe-bash/command-chunks/chunk-ZYLGNIGA.js +156 -0
  151. package/dist/safe-bash/command-chunks/{command-engine-BCUQGJJ4.js → command-engine-X3OLN7N6.js} +150 -67
  152. package/dist/safe-bash/command-chunks/{engine-LAUEWYSQ-DQCEI5HE.js → engine-XUCIFZ7V-LJFGZM6O.js} +1 -1
  153. package/dist/safe-bash/command-chunks/paradox-4FCZE53D-LQPGVMEL.js +365 -0
  154. package/dist/safe-bash/commands/pandoc/index.browser.js +1 -1
  155. package/dist/safe-bash/full-core.browser.js +2 -2
  156. package/dist/safe-bash/plugins/index.browser.js +2 -2
  157. package/dist/safe-bash-command-diff/diff.js +1 -1
  158. package/dist/safe-bash-command-diff/index.js +1 -1
  159. package/dist/safe-bash-command-ffmpeg/index.js +1 -1
  160. package/dist/safe-bash-command-ffprobe/index.js +2 -2
  161. package/dist/safe-bash-command-ffprobe/media.d.ts +3 -1
  162. package/dist/safe-bash-command-ffprobe/media.js +2 -2
  163. package/dist/safe-bash-command-html-to-markdown/budget.js +2 -1
  164. package/dist/safe-bash-command-html-to-markdown/entities.js +4 -3
  165. package/dist/safe-bash-command-html-to-markdown/index.js +564 -110
  166. package/dist/safe-bash-command-html-to-markdown/input.js +6 -5
  167. package/dist/safe-bash-command-html-to-markdown/options.js +2 -1
  168. package/dist/safe-bash-command-html-to-markdown/parser.js +5 -4
  169. package/dist/safe-bash-command-html-to-markdown/render.js +6 -5
  170. package/dist/safe-bash-command-html-to-markdown/text.js +3 -2
  171. package/dist/safe-bash-command-htmlq/index.js +361 -37
  172. package/dist/safe-bash-command-htmlq/tree.d.ts +3 -2
  173. package/dist/safe-bash-command-pandoc/command.js +7 -7
  174. package/dist/safe-bash-command-pandoc/index.js +55 -55
  175. package/dist/safe-bash-command-patch/index.js +6 -6
  176. package/dist/safe-bash-command-patch/patch-envelope.js +53 -3
  177. package/dist/safe-bash-command-patch/patch-formats.d.ts +2 -2
  178. package/dist/safe-bash-command-patch/patch-formats.js +2 -2
  179. package/dist/safe-bash-command-patch/patch-gnu-reject.d.ts +2 -1
  180. package/dist/safe-bash-command-patch/patch-gnu-reject.js +4 -3
  181. package/dist/safe-bash-command-patch/patch-publication.js +2 -1
  182. package/dist/safe-bash-command-patch/patch.js +6 -6
  183. package/dist/safe-bash-command-patch/unified.d.ts +10 -2
  184. package/dist/safe-bash-command-patch/unified.js +1 -1
  185. package/dist/safe-bash-command-pdftk/index.d.ts +6 -2
  186. package/dist/safe-bash-command-pdftk/index.js +830 -271
  187. package/dist/safe-bash-command-pptx/command-engine.d.ts +3 -0
  188. package/dist/safe-bash-command-pptx/engine.js +1 -1
  189. package/dist/safe-bash-command-pptx/index.js +9 -2
  190. package/dist/safe-bash-command-soffice/index.js +1 -1
  191. package/dist/safe-bash-command-ssconvert/index.js +2 -2
  192. package/dist/safe-bash-command-xmllint/index.js +22 -31
  193. package/dist/safe-bash-presentation-engine/accessibility.js +31 -30
  194. package/dist/safe-bash-presentation-engine/animation-editing.js +16 -15
  195. package/dist/safe-bash-presentation-engine/animations.js +16 -15
  196. package/dist/safe-bash-presentation-engine/backgrounds.js +17 -16
  197. package/dist/safe-bash-presentation-engine/bytes.js +3 -3
  198. package/dist/safe-bash-presentation-engine/chart-editing.js +34 -33
  199. package/dist/safe-bash-presentation-engine/chart-object-operations.js +25 -24
  200. package/dist/safe-bash-presentation-engine/charts.js +31 -30
  201. package/dist/safe-bash-presentation-engine/command-placeholder.js +59 -56
  202. package/dist/safe-bash-presentation-engine/comments.js +17 -16
  203. package/dist/safe-bash-presentation-engine/connector-operations.js +32 -31
  204. package/dist/safe-bash-presentation-engine/connectors.js +29 -28
  205. package/dist/safe-bash-presentation-engine/content-types.js +4 -4
  206. package/dist/safe-bash-presentation-engine/creation.js +6 -6
  207. package/dist/safe-bash-presentation-engine/diff.js +32 -31
  208. package/dist/safe-bash-presentation-engine/drawing-enums.d.ts +10 -10
  209. package/dist/safe-bash-presentation-engine/drawing-format.js +20 -19
  210. package/dist/safe-bash-presentation-engine/drawing-operations.js +31 -30
  211. package/dist/safe-bash-presentation-engine/drawing-schema.js +21 -20
  212. package/dist/safe-bash-presentation-engine/equations.js +17 -16
  213. package/dist/safe-bash-presentation-engine/errors.js +2 -2
  214. package/dist/safe-bash-presentation-engine/fields.js +17 -16
  215. package/dist/safe-bash-presentation-engine/font-metrics.js +3 -3
  216. package/dist/safe-bash-presentation-engine/image-extraction.js +20 -19
  217. package/dist/safe-bash-presentation-engine/image-formatting.js +32 -31
  218. package/dist/safe-bash-presentation-engine/image-insertion.js +18 -17
  219. package/dist/safe-bash-presentation-engine/image-replacement.js +21 -20
  220. package/dist/safe-bash-presentation-engine/image-value.js +4 -4
  221. package/dist/safe-bash-presentation-engine/images.js +19 -18
  222. package/dist/safe-bash-presentation-engine/index.d.ts +5 -1
  223. package/dist/safe-bash-presentation-engine/index.js +109 -96
  224. package/dist/safe-bash-presentation-engine/layouts.js +16 -15
  225. package/dist/safe-bash-presentation-engine/length.js +3 -3
  226. package/dist/safe-bash-presentation-engine/links.js +16 -15
  227. package/dist/safe-bash-presentation-engine/masters.js +15 -14
  228. package/dist/safe-bash-presentation-engine/media-editing.js +24 -23
  229. package/dist/safe-bash-presentation-engine/media-extraction.js +17 -16
  230. package/dist/safe-bash-presentation-engine/media.js +16 -15
  231. package/dist/safe-bash-presentation-engine/memberships.js +15 -14
  232. package/dist/safe-bash-presentation-engine/notes.js +16 -15
  233. package/dist/safe-bash-presentation-engine/ole-enum.js +4 -4
  234. package/dist/safe-bash-presentation-engine/ole-insertion.js +20 -19
  235. package/dist/safe-bash-presentation-engine/opaque-objects.js +9 -9
  236. package/dist/safe-bash-presentation-engine/package-reader.js +5 -5
  237. package/dist/safe-bash-presentation-engine/package-tools.d.ts +3 -0
  238. package/dist/safe-bash-presentation-engine/package-tools.js +27 -17
  239. package/dist/safe-bash-presentation-engine/package-uri.js +3 -3
  240. package/dist/safe-bash-presentation-engine/package-writer.js +4 -4
  241. package/dist/safe-bash-presentation-engine/presentation-model.js +58 -55
  242. package/dist/safe-bash-presentation-engine/presentation-settings.js +14 -13
  243. package/dist/safe-bash-presentation-engine/properties.js +16 -15
  244. package/dist/safe-bash-presentation-engine/relationships.js +4 -4
  245. package/dist/safe-bash-presentation-engine/resource-limits.js +1 -1
  246. package/dist/safe-bash-presentation-engine/retained-archive-staging.d.ts +19 -0
  247. package/dist/safe-bash-presentation-engine/retained-extraction-output.d.ts +18 -0
  248. package/dist/safe-bash-presentation-engine/retained-inspection.js +14 -12
  249. package/dist/safe-bash-presentation-engine/retained-package-extraction.d.ts +22 -0
  250. package/dist/safe-bash-presentation-engine/retained-package-packing.d.ts +19 -0
  251. package/dist/safe-bash-presentation-engine/retained-package.d.ts +2 -0
  252. package/dist/safe-bash-presentation-engine/retained-package.js +6 -4
  253. package/dist/safe-bash-presentation-engine/retained-text.js +19 -17
  254. package/dist/safe-bash-presentation-engine/retained-xml-parts.d.ts +5 -1
  255. package/dist/safe-bash-presentation-engine/retained-xml-publication.d.ts +18 -0
  256. package/dist/safe-bash-presentation-engine/retained-xml-replacement.d.ts +13 -0
  257. package/dist/safe-bash-presentation-engine/sanitize.js +17 -16
  258. package/dist/safe-bash-presentation-engine/selectors.js +10 -10
  259. package/dist/safe-bash-presentation-engine/shape-groups.js +31 -30
  260. package/dist/safe-bash-presentation-engine/shape-operations.js +30 -29
  261. package/dist/safe-bash-presentation-engine/shape-path-operations.js +32 -31
  262. package/dist/safe-bash-presentation-engine/shape-paths.js +16 -15
  263. package/dist/safe-bash-presentation-engine/shape-presets.js +3 -3
  264. package/dist/safe-bash-presentation-engine/shape-selection.js +31 -30
  265. package/dist/safe-bash-presentation-engine/shape-transforms.js +18 -17
  266. package/dist/safe-bash-presentation-engine/shapes.d.ts +1 -1
  267. package/dist/safe-bash-presentation-engine/shapes.js +27 -26
  268. package/dist/safe-bash-presentation-engine/slide-copy.js +17 -16
  269. package/dist/safe-bash-presentation-engine/slide-import.js +18 -17
  270. package/dist/safe-bash-presentation-engine/slide-merge-split.js +20 -19
  271. package/dist/safe-bash-presentation-engine/slide-model.js +43 -42
  272. package/dist/safe-bash-presentation-engine/slide-removal.js +18 -17
  273. package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +9 -9
  274. package/dist/safe-bash-presentation-engine/slides.js +19 -16
  275. package/dist/safe-bash-presentation-engine/table-operations.js +33 -32
  276. package/dist/safe-bash-presentation-engine/table-spans.js +32 -31
  277. package/dist/safe-bash-presentation-engine/tables.js +31 -30
  278. package/dist/safe-bash-presentation-engine/tags.js +16 -15
  279. package/dist/safe-bash-presentation-engine/template-bindings.js +33 -32
  280. package/dist/safe-bash-presentation-engine/template-repeat.js +40 -39
  281. package/dist/safe-bash-presentation-engine/text-fitting.js +27 -26
  282. package/dist/safe-bash-presentation-engine/text-frames.js +27 -26
  283. package/dist/safe-bash-presentation-engine/text-paragraphs.js +27 -26
  284. package/dist/safe-bash-presentation-engine/text-reading.js +11 -11
  285. package/dist/safe-bash-presentation-engine/text-replacement.js +17 -16
  286. package/dist/safe-bash-presentation-engine/text-runs.js +20 -19
  287. package/dist/safe-bash-presentation-engine/themes.js +16 -15
  288. package/dist/safe-bash-presentation-engine/transitions.js +16 -15
  289. package/dist/safe-bash-presentation-engine/validation.js +10 -9
  290. package/dist/safe-bash-presentation-engine/xml-parts.d.ts +2 -0
  291. package/dist/safe-bash-presentation-engine/xml-parts.js +23 -15
  292. package/dist/safe-bash-presentation-engine/xml-view.js +3 -3
  293. package/dist/safe-bash-presentation-engine/xml.js +3 -3
  294. package/dist/safe-bash-regex-engine/index.js +1 -1
  295. package/dist/safe-bash-regex-engine/python-glob.js +1 -1
  296. package/dist/safe-bash-regex-engine/text/regex.d.ts +19 -0
  297. package/dist/safe-bash-regex-engine/text/regex.js +1 -1
  298. package/dist/safe-bash-xml-engine/document.js +3 -3
  299. package/dist/safe-bash-xml-engine/evaluate.js +1 -1
  300. package/dist/safe-bash-xml-engine/index.d.ts +1 -0
  301. package/dist/safe-bash-xml-engine/index.js +8 -4
  302. package/dist/safe-bash-xml-engine/query.js +2 -2
  303. package/dist/safe-bash-xml-engine/recovery.d.ts +10 -0
  304. package/dist/safe-bash-xml-engine/stored-document.d.ts +1 -1
  305. package/dist/safe-bash-xml-engine/stored-document.js +1 -1
  306. package/dist/safe-bash-xml-engine/stored-evaluate.js +1 -1
  307. package/dist/spreadsheet-engine/formulas/functions/python-printf.js +56 -33
  308. package/dist/spreadsheet-format-xls/biff-encrypted-properties.d.ts +1 -1
  309. package/dist/spreadsheet-format-xls/biff-encrypted-properties.js +47 -18
  310. package/dist/spreadsheet-format-xls/biff-properties-merge.d.ts +6 -2
  311. package/dist/spreadsheet-format-xls/biff-properties-merge.js +413 -296
  312. package/dist/spreadsheet-format-xls/biff-properties-write.js +40 -23
  313. package/dist/spreadsheet-format-xls/biff-properties.js +3 -68
  314. package/dist/spreadsheet-format-xls/biff-property-index.d.ts +23 -0
  315. package/dist/spreadsheet-format-xls/biff-property-index.js +93 -0
  316. package/dist/spreadsheet-format-xls/biff-property-name.d.ts +4 -0
  317. package/dist/spreadsheet-format-xls/biff-property-name.js +114 -0
  318. package/dist/spreadsheet-format-xls/biff-property-text.d.ts +6 -0
  319. package/dist/spreadsheet-format-xls/biff-property-text.js +68 -0
  320. package/dist/spreadsheet-format-xls/biff-property-transcode.d.ts +5 -0
  321. package/dist/spreadsheet-format-xls/biff-property-transcode.js +45 -0
  322. package/package.json +6 -3
  323. package/dist/safe-bash/command-chunks/biff-YKPDH35C-MVQIWNKV.js +0 -4974
  324. package/dist/safe-bash/command-chunks/chunk-5Q22ZLNC.js +0 -127
  325. package/dist/safe-bash/command-chunks/chunk-JKLOBSMP.js +0 -56
  326. package/dist/safe-bash/command-chunks/chunk-JYTESTBS.js +0 -99
  327. package/dist/safe-bash/command-chunks/chunk-ZEGNRZV2.js +0 -333
  328. package/dist/safe-bash/command-chunks/paradox-ZWWXYY4J-JYOSWSBL.js +0 -362
  329. package/dist/spreadsheet-format-xls/biff-properties-layout.js +0 -56
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  relationshipOwner
3
- } from "./chunk-ZMHEGDU2.js";
3
+ } from "./chunk-TODWFDYB.js";
4
4
  import {
5
5
  asciiKey,
6
6
  packageUri,
7
7
  partName
8
- } from "./chunk-36XGIPOG.js";
8
+ } from "./chunk-U5TWQFZY.js";
9
9
  import {
10
10
  OfficeError,
11
11
  RetainedValues,
@@ -16,7 +16,7 @@ import {
16
16
  openRetainedXmlDocument,
17
17
  resolveOfficeResources,
18
18
  validateRetainedLocalName
19
- } from "./chunk-Q73EMLLZ.js";
19
+ } from "./chunk-X6RHJ6YN.js";
20
20
  import {
21
21
  ZipDirectoryIndex
22
22
  } from "./chunk-IOEUZ4EA.js";
@@ -979,6 +979,10 @@ async function* serialize(node, budget) {
979
979
  } else if (!event.closing && value.kind !== "attribute") {
980
980
  if (value.kind === "text") {
981
981
  for await (const part of document.text(event.reference)) yield* escape(part, false, budget);
982
+ } else if (value.kind === "cdata") {
983
+ yield "<![CDATA[";
984
+ yield* document.text(event.reference);
985
+ yield "]]>";
982
986
  } else yield* serialize({ kind: value.kind, value }, budget);
983
987
  }
984
988
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  admitImage
3
- } from "./chunk-QD7ZRDUN.js";
3
+ } from "./chunk-ET2VPDUA.js";
4
4
  import {
5
5
  ShapeIdAllocator
6
- } from "./chunk-WXRYDALR.js";
6
+ } from "./chunk-BBAB7LC4.js";
7
7
  import {
8
8
  child,
9
9
  escape,
@@ -11,19 +11,19 @@ import {
11
11
  nextRel,
12
12
  relPart,
13
13
  required
14
- } from "./chunk-56NYSX65.js";
14
+ } from "./chunk-2Z3WRRFT.js";
15
15
  import {
16
16
  SelectionError
17
- } from "./chunk-X7FA7ZD5.js";
17
+ } from "./chunk-O675URF4.js";
18
18
  import {
19
19
  parseXmlPart
20
- } from "./chunk-554Z6IKP.js";
20
+ } from "./chunk-7PRL6RJ6.js";
21
21
  import {
22
22
  relativePartReference
23
- } from "./chunk-36XGIPOG.js";
23
+ } from "./chunk-U5TWQFZY.js";
24
24
  import {
25
25
  OfficeError
26
- } from "./chunk-Q73EMLLZ.js";
26
+ } from "./chunk-X6RHJ6YN.js";
27
27
 
28
28
  // packages/safe-bash-presentation-engine/src/image-insertion.ts
29
29
  function invalid(message) {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  readImages,
3
3
  validateImageSelectionOptions
4
- } from "./chunk-GEM47B2P.js";
4
+ } from "./chunk-57DDYKE5.js";
5
5
  import {
6
6
  readPackage
7
- } from "./chunk-XPD636C4.js";
7
+ } from "./chunk-PVGZMLC6.js";
8
8
  import {
9
9
  readBinary
10
- } from "./chunk-PNGDJA6M.js";
10
+ } from "./chunk-LD7BONZY.js";
11
11
  import {
12
12
  OfficeError,
13
13
  resolveOfficeResources
14
- } from "./chunk-Q73EMLLZ.js";
14
+ } from "./chunk-X6RHJ6YN.js";
15
15
 
16
16
  // packages/safe-bash-presentation-engine/src/image-extraction.ts
17
17
  var extensions = /* @__PURE__ */ new Map([
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  StoredXmlDocument
3
- } from "./chunk-D2KZ66W4.js";
3
+ } from "./chunk-RLCQ7BN3.js";
4
4
  import {
5
5
  escape
6
- } from "./chunk-JYUJAF4L.js";
6
+ } from "./chunk-G7NENPYV.js";
7
7
  import {
8
8
  XmlQueryError
9
9
  } from "./chunk-3I5WTVWZ.js";
@@ -362,7 +362,7 @@ async function* serializeDocument(source, mode, budget, format = mode === "forma
362
362
  yield* escape(part, false, budget, escaping);
363
363
  } else if (current.kind === "cdata") {
364
364
  yield "<![CDATA[";
365
- yield current.text;
365
+ yield* typeof reference === "number" ? stored.text(reference) : [current.text];
366
366
  yield "]]>";
367
367
  } else if (current.kind === "comment") {
368
368
  yield "<!--";
@@ -5,21 +5,21 @@ import {
5
5
  openRetainedRelationshipGraph,
6
6
  rules,
7
7
  types
8
- } from "./chunk-QC5RMGSA.js";
8
+ } from "./chunk-G3RUXKVY.js";
9
9
  import {
10
10
  equationOpaqueElements,
11
11
  interpretCompatibility
12
- } from "./chunk-2ZFLMWOX.js";
12
+ } from "./chunk-Z5BIM5B7.js";
13
13
  import {
14
14
  parseXmlPart
15
- } from "./chunk-554Z6IKP.js";
15
+ } from "./chunk-7PRL6RJ6.js";
16
16
  import {
17
17
  parseContentTypes
18
- } from "./chunk-WJCN2IXI.js";
18
+ } from "./chunk-VQOINPVF.js";
19
19
  import {
20
20
  readRelationshipGraph,
21
21
  relationshipOwner
22
- } from "./chunk-ZMHEGDU2.js";
22
+ } from "./chunk-TODWFDYB.js";
23
23
  import {
24
24
  OfficeError,
25
25
  RetainedValues,
@@ -28,7 +28,7 @@ import {
28
28
  literal,
29
29
  openRetainedXmlDocument,
30
30
  resolveOfficeResources
31
- } from "./chunk-Q73EMLLZ.js";
31
+ } from "./chunk-X6RHJ6YN.js";
32
32
 
33
33
  // packages/safe-bash-presentation-engine/src/retained-validation.ts
34
34
  import { PagedStorage } from "@poe-platform/safe-fs/storage";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Presentation
3
- } from "./chunk-CJQSAATC.js";
3
+ } from "./chunk-EXOQGXEU.js";
4
4
  import {
5
5
  SlidePlaceholder
6
- } from "./chunk-ATTWQVR2.js";
6
+ } from "./chunk-TKRLZIFI.js";
7
7
  import {
8
8
  chartTypes,
9
9
  validateChartData
10
- } from "./chunk-LXLLA4PM.js";
10
+ } from "./chunk-MKX4JAZ6.js";
11
11
  import {
12
12
  admitImage
13
- } from "./chunk-QD7ZRDUN.js";
13
+ } from "./chunk-ET2VPDUA.js";
14
14
  import {
15
15
  readSelectionIndex
16
- } from "./chunk-X7FA7ZD5.js";
16
+ } from "./chunk-O675URF4.js";
17
17
  import {
18
18
  readBinary
19
- } from "./chunk-PNGDJA6M.js";
19
+ } from "./chunk-LD7BONZY.js";
20
20
  import {
21
21
  ValueError
22
- } from "./chunk-S6R3IB36.js";
22
+ } from "./chunk-D55REQA3.js";
23
23
 
24
24
  // packages/safe-bash-presentation-engine/src/command-placeholder.ts
25
25
  async function insertPlaceholder(input, options, context) {
@@ -1,4 +1,4 @@
1
- // packages/safe-bash-command-html-to-markdown/src/budget.ts
1
+ // packages/safe-bash-command-html-to-markdown/dist/chunk-BQFVNTIK.js
2
2
  import { utf8ByteLength, bytesFrom } from "../../safe-bash-byte-engine/index.js";
3
3
  import { yieldTurn } from "../../safe-bash-contracts/yield.js";
4
4
  import { FsError, writeBytes } from "../../safe-bash-contracts/index.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  readBinary
3
- } from "./chunk-PNGDJA6M.js";
3
+ } from "./chunk-LD7BONZY.js";
4
4
  import {
5
5
  OfficeError,
6
6
  resolveOfficeResources
7
- } from "./chunk-Q73EMLLZ.js";
7
+ } from "./chunk-X6RHJ6YN.js";
8
8
  import {
9
9
  crc32,
10
10
  createZipCodec
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  MSO_AUTO_SHAPE_TYPE,
3
3
  shapePresets
4
- } from "./chunk-JOCFI7TG.js";
4
+ } from "./chunk-N32GSM3J.js";
5
5
  import {
6
6
  createXmlElementView
7
- } from "./chunk-4CKFNXRN.js";
7
+ } from "./chunk-5IFRAI7Y.js";
8
8
  import {
9
9
  MSO_LANGUAGE_ID
10
- } from "./chunk-COKYZUBW.js";
10
+ } from "./chunk-AJI55RS7.js";
11
11
  import {
12
12
  bestFitText
13
- } from "./chunk-A2CLZMQZ.js";
13
+ } from "./chunk-MPKY37QR.js";
14
14
  import {
15
15
  readRunFormatting,
16
16
  runPropertiesMerge,
17
17
  textUnderlineStyles,
18
18
  validateTextRunOptions
19
- } from "./chunk-XZ2FWFNV.js";
19
+ } from "./chunk-7QZ2HP2F.js";
20
20
  import {
21
21
  readTextBodies,
22
22
  validateTextReadingOptions
23
- } from "./chunk-33YCKZZX.js";
23
+ } from "./chunk-C5KLFZGT.js";
24
24
  import {
25
25
  applyDrawingFill,
26
26
  applyDrawingUpdate,
27
27
  readDrawingColor,
28
28
  readDrawingFormat
29
- } from "./chunk-QYMEASQ6.js";
29
+ } from "./chunk-BEHUSUOY.js";
30
30
  import {
31
31
  ColorFormat,
32
32
  MSO_COLOR_TYPE,
@@ -37,39 +37,39 @@ import {
37
37
  defineEnum,
38
38
  defineXmlEnum,
39
39
  readRunColor
40
- } from "./chunk-5HPU7D36.js";
40
+ } from "./chunk-NMPED6L5.js";
41
41
  import {
42
42
  readXmlCoordinate,
43
43
  readXmlInteger
44
- } from "./chunk-CRV2Q3PB.js";
44
+ } from "./chunk-EZ4NQIPL.js";
45
45
  import {
46
46
  Length,
47
47
  Pt
48
- } from "./chunk-6QBMND4A.js";
48
+ } from "./chunk-6SRHWVEB.js";
49
49
  import {
50
50
  attr,
51
51
  child,
52
52
  loadShared
53
- } from "./chunk-56NYSX65.js";
53
+ } from "./chunk-2Z3WRRFT.js";
54
54
  import {
55
55
  SelectionError
56
- } from "./chunk-X7FA7ZD5.js";
56
+ } from "./chunk-O675URF4.js";
57
57
  import {
58
58
  protectedEquationNodes
59
- } from "./chunk-2ZFLMWOX.js";
59
+ } from "./chunk-Z5BIM5B7.js";
60
60
  import {
61
61
  parseXmlPart
62
- } from "./chunk-554Z6IKP.js";
62
+ } from "./chunk-7PRL6RJ6.js";
63
63
  import {
64
64
  IndexError,
65
65
  InvalidHandleError,
66
66
  PropertyAccessError,
67
67
  TypeError,
68
68
  ValueError
69
- } from "./chunk-S6R3IB36.js";
69
+ } from "./chunk-D55REQA3.js";
70
70
  import {
71
71
  OfficeError
72
- } from "./chunk-Q73EMLLZ.js";
72
+ } from "./chunk-X6RHJ6YN.js";
73
73
 
74
74
  // packages/safe-bash-presentation-engine/src/text-link-capability.ts
75
75
  var textLinkCapabilities = /* @__PURE__ */ new WeakMap();
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  sanitizeProperties
3
- } from "./chunk-6M6TM5Z5.js";
3
+ } from "./chunk-5VQVZPP3.js";
4
4
  import {
5
5
  attr,
6
6
  invalid,
7
7
  loadShared,
8
8
  relPart
9
- } from "./chunk-56NYSX65.js";
9
+ } from "./chunk-2Z3WRRFT.js";
10
10
  import {
11
11
  readPackage
12
- } from "./chunk-XPD636C4.js";
12
+ } from "./chunk-PVGZMLC6.js";
13
13
  import {
14
14
  parseXmlPart
15
- } from "./chunk-554Z6IKP.js";
15
+ } from "./chunk-7PRL6RJ6.js";
16
16
  import {
17
17
  parseContentTypes
18
- } from "./chunk-WJCN2IXI.js";
18
+ } from "./chunk-VQOINPVF.js";
19
19
  import {
20
20
  OfficeError
21
- } from "./chunk-Q73EMLLZ.js";
21
+ } from "./chunk-X6RHJ6YN.js";
22
22
 
23
23
  // packages/safe-bash-presentation-engine/src/sanitize.ts
24
24
  var namespaces = [
@@ -2,7 +2,7 @@ import {
2
2
  g
3
3
  } from "./chunk-Z7ESJVFP.js";
4
4
 
5
- // packages/safe-bash-command-ssconvert/dist/chunks/chunk-7V5REDFO.js
5
+ // packages/safe-bash-command-ssconvert/dist/chunks/chunk-YDAKEAAJ.js
6
6
  import { createEngine as vt } from "../../spreadsheet-engine/index.js";
7
7
  import { SsconvertError as O } from "../../spreadsheet-engine/contracts.js";
8
8
  import { decodeTextSource as ot } from "../../spreadsheet-engine/encoding/decode-source.js";
@@ -35,13 +35,13 @@ var te = { id: "Gnumeric_applix", services: [{ id: "applix", direction: "read",
35
35
  var re = { id: "Gnumeric_dif", services: [{ id: "dif", direction: "read", read: async (e, t) => (await import("./dif-BXKPQOCO-4KB3RC6G.js")).readDif(e, t), description: "Data Interchange Format (*.dif)", extensions: ["dif"], probePriority: 1 }, { id: "dif", direction: "write", write: async (e, t, i) => (await import("./dif-BXKPQOCO-4KB3RC6G.js")).writeDif(e, t, i), description: "Data Interchange Format (*.dif)", extensions: ["dif"], formatLevel: "manual_remember", saveScope: "sheet", selectionSource: "view" }], source: "plugins/dif/plugin.xml.in" };
36
36
  var Qe = ["xor", "rc4", ...[false, true].flatMap((e) => [40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128].map((t) => `rc4-cryptoapi-${t}${e ? "-properties" : ""}`))];
37
37
  var ie = ["xor"];
38
- var W = { id: "Gnumeric_Excel", source: "plugins/excel/plugin.xml.in", services: [{ id: "excel", direction: "read", readWorkbookSource: async (...e) => (await import("./biff-YKPDH35C-MVQIWNKV.js")).readBiffWorkbookSource(...e), readSource: async (...e) => (await import("./biff-YKPDH35C-MVQIWNKV.js")).readBiff(...e), probeSource: async (...e) => (await import("./biff-YKPDH35C-MVQIWNKV.js")).probeBiff(...e), read: async (...e) => (await import("./biff-YKPDH35C-MVQIWNKV.js")).readBiff(...e), probeContent: async (...e) => (await import("./biff-YKPDH35C-MVQIWNKV.js")).probeBiff(...e), description: "MS Excel\u2122 (*.xls)", extensions: ["xls", "xlw", "xlt"], mimeTypes: ["application/vnd.ms-excel", "application/excel", "application/msexcel", "application/x-excel", "application/x-ms-excel", "application/x-msexcel", "application/x-xls", "application/xls", "application/x-dos_ms_excel", "zz-application/zz-winassoc-xls"], probePriority: 100, contentProbe: true }, { id: "excel_biff8", write: async (...e) => (await import("./biff-YKPDH35C-MVQIWNKV.js")).createBiffWriter(8)(...e), writeStream: async function* (...e) {
39
- yield* (await import("./biff-YKPDH35C-MVQIWNKV.js")).createBiffStreamWriter(8)(...e);
40
- }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: Qe } }, direction: "write", description: "MS Excel\u2122 97/2000/XP", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto", defaultSaverPriority: 1 }, { id: "excel_biff7", write: async (...e) => (await import("./biff-YKPDH35C-MVQIWNKV.js")).createBiffWriter(7)(...e), writeStream: async function* (...e) {
41
- yield* (await import("./biff-YKPDH35C-MVQIWNKV.js")).createBiffStreamWriter(7)(...e);
42
- }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: ie } }, direction: "write", description: "MS Excel\u2122 5.0/95", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto" }, { id: "excel_dsf", write: async (...e) => (await import("./biff-YKPDH35C-MVQIWNKV.js")).createBiffWriter("dsf")(...e), writeStream: async function* (...e) {
43
- yield* (await import("./biff-YKPDH35C-MVQIWNKV.js")).createBiffStreamWriter("dsf")(...e);
44
- }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: ie } }, direction: "write", description: "MS Excel\u2122 97/2000/XP & 5.0/95", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto" }, { id: "excel_enc", direction: "read", read: async (...e) => (await import("./biff-YKPDH35C-MVQIWNKV.js")).readBiff(...e), description: "MS Excel\u2122 (*.xls) requiring encoding specification", extensions: [], probePriority: 200, encodingDependent: true }] };
38
+ var W = { id: "Gnumeric_Excel", source: "plugins/excel/plugin.xml.in", services: [{ id: "excel", direction: "read", readWorkbookSource: async (...e) => (await import("./biff-4ALVARRF-7SRX6R6N.js")).readBiffWorkbookSource(...e), readSource: async (...e) => (await import("./biff-4ALVARRF-7SRX6R6N.js")).readBiff(...e), probeSource: async (...e) => (await import("./biff-4ALVARRF-7SRX6R6N.js")).probeBiff(...e), read: async (...e) => (await import("./biff-4ALVARRF-7SRX6R6N.js")).readBiff(...e), probeContent: async (...e) => (await import("./biff-4ALVARRF-7SRX6R6N.js")).probeBiff(...e), description: "MS Excel\u2122 (*.xls)", extensions: ["xls", "xlw", "xlt"], mimeTypes: ["application/vnd.ms-excel", "application/excel", "application/msexcel", "application/x-excel", "application/x-ms-excel", "application/x-msexcel", "application/x-xls", "application/xls", "application/x-dos_ms_excel", "zz-application/zz-winassoc-xls"], probePriority: 100, contentProbe: true }, { id: "excel_biff8", write: async (...e) => (await import("./biff-4ALVARRF-7SRX6R6N.js")).createBiffWriter(8)(...e), writeStream: async function* (...e) {
39
+ yield* (await import("./biff-4ALVARRF-7SRX6R6N.js")).createBiffStreamWriter(8)(...e);
40
+ }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: Qe } }, direction: "write", description: "MS Excel\u2122 97/2000/XP", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto", defaultSaverPriority: 1 }, { id: "excel_biff7", write: async (...e) => (await import("./biff-4ALVARRF-7SRX6R6N.js")).createBiffWriter(7)(...e), writeStream: async function* (...e) {
41
+ yield* (await import("./biff-4ALVARRF-7SRX6R6N.js")).createBiffStreamWriter(7)(...e);
42
+ }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: ie } }, direction: "write", description: "MS Excel\u2122 5.0/95", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto" }, { id: "excel_dsf", write: async (...e) => (await import("./biff-4ALVARRF-7SRX6R6N.js")).createBiffWriter("dsf")(...e), writeStream: async function* (...e) {
43
+ yield* (await import("./biff-4ALVARRF-7SRX6R6N.js")).createBiffStreamWriter("dsf")(...e);
44
+ }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: ie } }, direction: "write", description: "MS Excel\u2122 97/2000/XP & 5.0/95", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto" }, { id: "excel_enc", direction: "read", read: async (...e) => (await import("./biff-4ALVARRF-7SRX6R6N.js")).readBiff(...e), description: "MS Excel\u2122 (*.xls) requiring encoding specification", extensions: [], probePriority: 200, encodingDependent: true }] };
45
45
  var oe = { id: "Gnumeric_Excel", source: "plugins/excel/plugin.xml.in", services: [{ id: "xlsx", direction: "read", probeContent: async (e, t) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).probeXlsx(e, t), probeSource: async (e, t) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).probeXlsx(e, t), readWorkbookSource: async (e, t) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).readXlsx(e, t, true), readSource: async (e, t) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).readXlsx(e, t), read: async (e, t) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).readXlsx(e, t), description: "ECMA 376 / Office Open XML [MS Excel\u2122 2007/2010] (*.xlsx)", extensions: ["xlsx", "xltx", "xlsb", "xlsm", "xltm"], mimeTypes: ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"], probePriority: 100, contentProbe: true }, { id: "xlsx", direction: "write", sourceAxes: true, write: async (e, t, i) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).createXlsxWriter("2006")(e, t, i), writeStream: async function* (e, t, i) {
46
46
  yield* (await import("./xlsx-RE54MFCS-DI3F765V.js")).createXlsxStreamWriter("2006")(e, t, i);
47
47
  }, writeWorkbookSource: async function* (e, t, i) {
@@ -71,7 +71,7 @@ var j = { id: "Gnumeric_OpenCalc", services: [{ id: "openoffice", direction: "re
71
71
  }, writeWorkbookSource: async function* (e, t, i) {
72
72
  yield* (await import("./odf-3EA3EVSD-7B5GVNTC.js")).createOdfStreamWriter("extended")(e, t, i);
73
73
  }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: pe } }, description: "ODF 1.2 extended conformance (*.ods)", extensions: ["ods"], mimeTypes: ["application/vnd.oasis.opendocument.spreadsheet"], formatLevel: "auto" }], source: "plugins/openoffice/plugin.xml.in" };
74
- var fe = { id: "Gnumeric_paradox", services: [{ id: "paradox", direction: "read", read: async (e, t) => (await import("./paradox-ZWWXYY4J-JYOSWSBL.js")).readParadox(e, t), description: "Paradox database or primary index file (*.db, *.px)", extensions: ["db", "px"], probePriority: 100 }, { id: "paradox", direction: "write", write: async (e, t, i) => (await import("./paradox-ZWWXYY4J-JYOSWSBL.js")).writeParadox(e, t, i), exportOptionRules: { encryption: { kind: "enum", values: ["paradox"] } }, description: "Paradox database (*.db)", extensions: ["db"] }], source: "plugins/paradox/plugin.xml.in" };
74
+ var fe = { id: "Gnumeric_paradox", services: [{ id: "paradox", direction: "read", read: async (e, t) => (await import("./paradox-4FCZE53D-LQPGVMEL.js")).readParadox(e, t), description: "Paradox database or primary index file (*.db, *.px)", extensions: ["db", "px"], probePriority: 100 }, { id: "paradox", direction: "write", write: async (e, t, i) => (await import("./paradox-4FCZE53D-LQPGVMEL.js")).writeParadox(e, t, i), exportOptionRules: { encryption: { kind: "enum", values: ["paradox"] } }, description: "Paradox database (*.db)", extensions: ["db"] }], source: "plugins/paradox/plugin.xml.in" };
75
75
  var xe = { id: "Gnumeric_pdf", source: "src/print-info.c:1074", services: [{ id: "pdf_assistant", direction: "write", description: "PDF export", extensions: ["pdf"], sheetSelection: true, honorsExportRange: false, write: async (...e) => (await import("./pdf-XHHFTOT4-UJJYOYJ2.js")).writePdf(...e), exportOptions: async (...e) => (await import("./pdf-XHHFTOT4-UJJYOYJ2.js")).pdfExportOptions(...e), exportOptionRules: { object: { kind: "string" }, paper: { kind: "string" } } }] };
76
76
  var we = { id: "Gnumeric_plan_perfect", services: [{ id: "pln", direction: "read", probeContent: async (e, t) => (await import("./pln-DFS7VLVS-JATX6FS7.js")).probePln(e, t), read: async (e, t) => (await import("./pln-DFS7VLVS-JATX6FS7.js")).readPln(e, t), description: "Plan Perfect Format (PLN) import", extensions: ["pln"], mimeTypes: ["application/x-planperfect"], probePriority: 1, contentProbe: true }], source: "plugins/plan-perfect/plugin.xml.in" };
77
77
  var ye = { id: "Gnumeric_psiconv", services: [{ id: "psiconv", direction: "read", probeContent: async (e, t) => (await import("./psion-YBI6JEQI-6OMC2PGC.js")).probePsion(e, t), read: async (e, t) => (await import("./psion-YBI6JEQI-6OMC2PGC.js")).readPsion(e, t), description: "Psion (*.psisheet)", extensions: ["psisheet"], probePriority: 100, contentProbe: true }], source: "plugins/psiconv/plugin.xml.in" };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  SlideTransferBudget
3
- } from "./chunk-SDTPO2VV.js";
3
+ } from "./chunk-7PZHWMK6.js";
4
4
  import {
5
5
  importSelectedSlides
6
- } from "./chunk-ENT3IV2G.js";
6
+ } from "./chunk-KBUBSMCQ.js";
7
7
  import {
8
8
  writePackageArchive
9
- } from "./chunk-DM2CPMB4.js";
9
+ } from "./chunk-HKOMXGJS.js";
10
10
  import {
11
11
  validatePresentation
12
- } from "./chunk-RNSKXOG3.js";
12
+ } from "./chunk-GVWVRPG6.js";
13
13
  import {
14
14
  OfficeError
15
- } from "./chunk-Q73EMLLZ.js";
15
+ } from "./chunk-X6RHJ6YN.js";
16
16
 
17
17
  // packages/safe-bash-presentation-engine/src/slide-merge-split.ts
18
18
  function fields(value, allowed) {
@@ -16,14 +16,30 @@ function startIndex(start, count) {
16
16
  return count === 0 ? start : start - 1;
17
17
  }
18
18
  async function parseUnified(text, budget) {
19
+ if (typeof text !== "string") {
20
+ budget.countLines(text.length);
21
+ return parseUnifiedReader({ input: text, index: 0 }, budget, false);
22
+ }
19
23
  if (text && !text.endsWith("\n")) throw new ToolError("patch is truncated: missing final LF");
20
- return parseUnifiedReader({ lines: budget.split(text).map((line) => line.slice(0, -1)), index: 0 }, budget, false);
24
+ const lines = budget.split(text).map((line) => line.slice(0, -1));
25
+ return parseUnifiedReader({ input: { length: lines.length, async read(index) {
26
+ return lines[index];
27
+ } }, index: 0 }, budget, false);
21
28
  }
22
29
  async function parseUnifiedSection(cursor, budget) {
23
- return parseUnifiedReader(cursor, budget, true);
30
+ if ("input" in cursor) return parseUnifiedReader(cursor, budget, true);
31
+ const indexed = {
32
+ index: cursor.index,
33
+ input: { length: cursor.lines.length, async read(index) {
34
+ return cursor.lines[index];
35
+ } }
36
+ };
37
+ const patches = await parseUnifiedReader(indexed, budget, true);
38
+ cursor.index = indexed.index;
39
+ return patches;
24
40
  }
25
41
  async function parseUnifiedReader(cursor, budget, single) {
26
- const physical = cursor.lines;
42
+ const physical = cursor.input;
27
43
  const patches = [];
28
44
  let index = cursor.index;
29
45
  let pendingMetadata = false;
@@ -33,7 +49,7 @@ async function parseUnifiedReader(cursor, budget, single) {
33
49
  const c = budget.checkpoint();
34
50
  if (c) await c;
35
51
  }
36
- const line = physical[index];
52
+ const line = await physical.read(index);
37
53
  if (line === "") {
38
54
  index++;
39
55
  continue;
@@ -46,17 +62,17 @@ async function parseUnifiedReader(cursor, budget, single) {
46
62
  const oldPath = header(line, "--- ");
47
63
  const oldHeader = line.slice(4);
48
64
  const oldEpoch = isEpochHeader(line);
49
- const newPath = header(physical[++index] ?? "", "+++ ");
50
- const newHeader = physical[index].slice(4);
51
- const newEpoch = isEpochHeader(physical[index]);
65
+ const newPath = header(await physical.read(++index) ?? "", "+++ ");
66
+ const newHeader = (await physical.read(index)).slice(4);
67
+ const newEpoch = isEpochHeader(await physical.read(index));
52
68
  index++;
53
69
  budget.file();
54
70
  const hunks = [];
55
71
  let oldEnded = false;
56
72
  let newEnded = false;
57
- while (index < physical.length && physical[index].startsWith("@@")) {
73
+ while (index < physical.length && (await physical.read(index)).startsWith("@@")) {
58
74
  budget.hunk();
59
- const match = /^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@( .*)?$/u.exec(physical[index++]);
75
+ const match = /^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@( .*)?$/u.exec(await physical.read(index++));
60
76
  if (!match) throw new ToolError("malformed unified hunk header");
61
77
  const oldStart = integer(match[1], "old start");
62
78
  const oldCount = integer(match[2] ?? "1", "old count");
@@ -77,7 +93,7 @@ async function parseUnifiedReader(cursor, budget, single) {
77
93
  const c = budget.checkpoint();
78
94
  if (c) await c;
79
95
  }
80
- const body = physical[index++];
96
+ const body = await physical.read(index++);
81
97
  const kind = body === "" ? " " : body?.[0];
82
98
  if (body === void 0 || kind !== " " && kind !== "+" && kind !== "-") throw new ToolError("truncated or malformed hunk body");
83
99
  if (kind !== "+" && oldEnded || kind !== "-" && newEnded) throw new ToolError("content follows an incomplete final line");
@@ -88,7 +104,7 @@ async function parseUnifiedReader(cursor, budget, single) {
88
104
  ` };
89
105
  lines.push(entry);
90
106
  changed ||= kind !== " ";
91
- if (physical[index] === "\") {
107
+ if (await physical.read(index) === "\") {
92
108
  if (entry.text === "\n") throw new ToolError("empty incomplete line is not a valid text line");
93
109
  index++;
94
110
  entry.text = entry.text.slice(0, -1);
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  writePackageArchive
3
- } from "./chunk-DM2CPMB4.js";
3
+ } from "./chunk-HKOMXGJS.js";
4
4
  import {
5
5
  readPackage
6
- } from "./chunk-XPD636C4.js";
6
+ } from "./chunk-PVGZMLC6.js";
7
7
  import {
8
8
  readBinary
9
- } from "./chunk-PNGDJA6M.js";
9
+ } from "./chunk-LD7BONZY.js";
10
10
  import {
11
11
  validatePresentation
12
- } from "./chunk-RNSKXOG3.js";
12
+ } from "./chunk-GVWVRPG6.js";
13
13
  import {
14
14
  parseXmlPart
15
- } from "./chunk-554Z6IKP.js";
15
+ } from "./chunk-7PRL6RJ6.js";
16
16
  import {
17
17
  parseContentTypes
18
- } from "./chunk-WJCN2IXI.js";
18
+ } from "./chunk-VQOINPVF.js";
19
19
  import {
20
20
  readRelationshipGraph
21
- } from "./chunk-ZMHEGDU2.js";
21
+ } from "./chunk-TODWFDYB.js";
22
22
  import {
23
23
  relativePartReference
24
- } from "./chunk-36XGIPOG.js";
24
+ } from "./chunk-U5TWQFZY.js";
25
25
  import {
26
26
  OfficeError
27
- } from "./chunk-Q73EMLLZ.js";
27
+ } from "./chunk-X6RHJ6YN.js";
28
28
 
29
29
  // packages/safe-bash-presentation-engine/src/settings-scaling.ts
30
30
  function unsupported() {
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  remapCopiedXml
3
- } from "./chunk-MPUHH2KR.js";
3
+ } from "./chunk-QM2HZJSJ.js";
4
4
  import {
5
5
  prepareCommentImport
6
- } from "./chunk-TVH4JORU.js";
6
+ } from "./chunk-C5QDEB3I.js";
7
7
  import {
8
8
  writePackageArchive
9
- } from "./chunk-DM2CPMB4.js";
9
+ } from "./chunk-HKOMXGJS.js";
10
10
  import {
11
11
  diagramContentTypes,
12
12
  diagramRelationshipKinds
13
- } from "./chunk-X7FA7ZD5.js";
13
+ } from "./chunk-O675URF4.js";
14
14
  import {
15
15
  readPackage
16
- } from "./chunk-XPD636C4.js";
16
+ } from "./chunk-PVGZMLC6.js";
17
17
  import {
18
18
  readBinary
19
- } from "./chunk-PNGDJA6M.js";
19
+ } from "./chunk-LD7BONZY.js";
20
20
  import {
21
21
  validatePresentation
22
- } from "./chunk-RNSKXOG3.js";
22
+ } from "./chunk-GVWVRPG6.js";
23
23
  import {
24
24
  parseXmlPart
25
- } from "./chunk-554Z6IKP.js";
25
+ } from "./chunk-7PRL6RJ6.js";
26
26
  import {
27
27
  parseContentTypes
28
- } from "./chunk-WJCN2IXI.js";
28
+ } from "./chunk-VQOINPVF.js";
29
29
  import {
30
30
  readRelationshipGraph
31
- } from "./chunk-ZMHEGDU2.js";
31
+ } from "./chunk-TODWFDYB.js";
32
32
  import {
33
33
  asciiKey,
34
34
  relativePartReference
35
- } from "./chunk-36XGIPOG.js";
35
+ } from "./chunk-U5TWQFZY.js";
36
36
  import {
37
37
  OfficeError
38
- } from "./chunk-Q73EMLLZ.js";
38
+ } from "./chunk-X6RHJ6YN.js";
39
39
 
40
40
  // packages/safe-bash-presentation-engine/src/slide-import.ts
41
41
  import { SaxesParser } from "saxes";