@eigenpal/docx-editor-core 1.4.0 → 1.6.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 (325) hide show
  1. package/dist/agent/index.d.mts +8 -7
  2. package/dist/agent/index.d.ts +8 -7
  3. package/dist/agent/index.js +1 -1
  4. package/dist/agent/index.mjs +1 -1
  5. package/dist/chunk-2KPOGFFR.js +1 -0
  6. package/dist/{chunk-KXVCCT2A.js → chunk-2KUOYHXX.js} +1 -1
  7. package/dist/chunk-2LVK7EF5.mjs +2 -0
  8. package/dist/chunk-2ZTKTE7P.js +1 -0
  9. package/dist/{chunk-C45EFOVP.js → chunk-34DJT72K.js} +1 -1
  10. package/dist/chunk-3HLRRK6N.mjs +2 -0
  11. package/dist/chunk-4272FQ2E.js +1 -0
  12. package/dist/chunk-4DCTKHS5.js +1 -0
  13. package/dist/chunk-4JPHW7ZI.js +2 -0
  14. package/dist/chunk-4QJEMD23.mjs +4 -0
  15. package/dist/chunk-4QSFBX26.mjs +1 -0
  16. package/dist/chunk-4SZAFWLV.mjs +1 -0
  17. package/dist/{chunk-GGUHM74A.mjs → chunk-5JULVEYK.mjs} +1 -1
  18. package/dist/chunk-6AGU57TL.mjs +1 -0
  19. package/dist/chunk-6ENZQGYR.mjs +1 -0
  20. package/dist/chunk-6KYOT4E7.js +4 -0
  21. package/dist/chunk-77X765ZO.js +1 -0
  22. package/dist/chunk-7UMOUKSF.js +1 -0
  23. package/dist/chunk-AXVWVIIN.js +1 -0
  24. package/dist/chunk-B6FA4MJ5.mjs +1 -0
  25. package/dist/chunk-BBJMUBTD.mjs +1 -0
  26. package/dist/chunk-BJSG6TEG.js +1 -0
  27. package/dist/chunk-BKP5QMTS.js +1 -0
  28. package/dist/chunk-C57BOE7B.mjs +2 -0
  29. package/dist/chunk-CDBKFBC2.mjs +15 -0
  30. package/dist/{chunk-BUEMXRXH.js → chunk-CDGV7CLS.js} +1 -1
  31. package/dist/{chunk-6IZOFIQH.js → chunk-CWPIXUU2.js} +1 -1
  32. package/dist/chunk-DX5XU6JN.js +1 -0
  33. package/dist/chunk-E7UN3PVC.mjs +1 -0
  34. package/dist/chunk-EJ2JAYRI.js +1 -0
  35. package/dist/{chunk-CHN26LLL.mjs → chunk-F24WZXN4.mjs} +1 -1
  36. package/dist/{chunk-2SGJZYQF.js → chunk-F44XU6G5.js} +1 -1
  37. package/dist/{chunk-TE2AF7FM.js → chunk-FETIBXTH.js} +1 -1
  38. package/dist/{chunk-CZSAC65M.js → chunk-GFM6PERG.js} +1 -1
  39. package/dist/chunk-GLPOVLZD.mjs +1 -0
  40. package/dist/chunk-H57LNDBH.js +1 -0
  41. package/dist/chunk-HEJJXAXN.mjs +1 -0
  42. package/dist/chunk-ILPNMG7Q.js +1 -0
  43. package/dist/chunk-IM56AITE.mjs +1 -0
  44. package/dist/{chunk-BH3ACQ3M.js → chunk-JQUIUKRO.js} +3 -3
  45. package/dist/chunk-KK673XRZ.mjs +1 -0
  46. package/dist/chunk-KNY7SXPJ.mjs +1 -0
  47. package/dist/{chunk-DFUWJHKF.mjs → chunk-KSW6W2EK.mjs} +4 -4
  48. package/dist/chunk-LVUL7O27.js +1 -0
  49. package/dist/{chunk-SCK6ZM5V.js → chunk-LW5OFHSW.js} +2 -2
  50. package/dist/chunk-M65C4SQJ.mjs +2 -0
  51. package/dist/chunk-MA3HLGFO.js +1 -0
  52. package/dist/chunk-MWOHCSZE.js +1 -0
  53. package/dist/chunk-NO6PIL32.mjs +1 -0
  54. package/dist/chunk-NTBZRITU.mjs +1 -0
  55. package/dist/chunk-NTYJIOUE.js +2 -0
  56. package/dist/chunk-NY36MZ55.mjs +1 -0
  57. package/dist/chunk-PJEB3ZWG.mjs +3 -0
  58. package/dist/chunk-Q2VALXEU.js +3 -0
  59. package/dist/chunk-QVRMX2AC.js +15 -0
  60. package/dist/{chunk-FYRJTDC4.mjs → chunk-QZPVZY6S.mjs} +1 -1
  61. package/dist/{chunk-3QPKTG2Y.js → chunk-RGHRXIIZ.js} +3 -3
  62. package/dist/chunk-RRJKF2XI.mjs +1 -0
  63. package/dist/{chunk-ZBCFIW2V.js → chunk-T3UP6LF5.js} +1 -1
  64. package/dist/chunk-UC7JW66O.mjs +1 -0
  65. package/dist/chunk-V3NE7Q22.js +2 -0
  66. package/dist/chunk-VDKSZ5BQ.mjs +1 -0
  67. package/dist/chunk-VJFIAFZ5.mjs +1 -0
  68. package/dist/chunk-WCB25ESG.mjs +1 -0
  69. package/dist/chunk-WEQA5PPW.mjs +1 -0
  70. package/dist/{chunk-HPAUUQAX.mjs → chunk-WQJWT4RB.mjs} +1 -1
  71. package/dist/chunk-WWG6PUWU.js +1 -0
  72. package/dist/chunk-X6AICTHN.js +1 -0
  73. package/dist/{chunk-YNUPP7UG.mjs → chunk-XTPT4TNP.mjs} +2 -2
  74. package/dist/{chunk-CHTIWTHQ.mjs → chunk-YMXWLXVF.mjs} +1 -1
  75. package/dist/{colorResolver-8A-qj-LP.d.ts → colorResolver-C696sd9x.d.ts} +1 -1
  76. package/dist/{colorResolver-BCvxTlLF.d.mts → colorResolver-DCBfI4ld.d.mts} +1 -1
  77. package/dist/{content-C8fc_tL6.d.ts → content-BebvPfXc.d.ts} +4 -148
  78. package/dist/{content-3xF4WDE8.d.mts → content-CbBCrsr0.d.mts} +4 -148
  79. package/dist/{contentControlValues-DGDKD589.d.ts → contentControlValues-Com1GnZS.d.ts} +1 -1
  80. package/dist/{contentControlValues-DjWvoJQ-.d.mts → contentControlValues-DVJyudKU.d.mts} +1 -1
  81. package/dist/core-plugins.d.mts +5 -4
  82. package/dist/core-plugins.d.ts +5 -4
  83. package/dist/core-plugins.js +1 -1
  84. package/dist/core-plugins.mjs +1 -1
  85. package/dist/core.d.mts +12 -11
  86. package/dist/core.d.ts +12 -11
  87. package/dist/core.js +1 -1
  88. package/dist/core.mjs +1 -1
  89. package/dist/{documentStyles-qR0VR2s0.d.mts → documentStyles-1G0xTl1v.d.mts} +1 -1
  90. package/dist/{documentStyles-C7k_8Sye.d.ts → documentStyles-Bw98BwEy.d.ts} +1 -1
  91. package/dist/docx/index.d.mts +8 -68
  92. package/dist/docx/index.d.ts +8 -68
  93. package/dist/docx/index.js +1 -1
  94. package/dist/docx/index.mjs +1 -1
  95. package/dist/docx/parser.d.mts +5 -4
  96. package/dist/docx/parser.d.ts +5 -4
  97. package/dist/docx/parser.js +1 -1
  98. package/dist/docx/parser.mjs +1 -1
  99. package/dist/docx/rezip.d.mts +5 -4
  100. package/dist/docx/rezip.d.ts +5 -4
  101. package/dist/docx/rezip.js +1 -1
  102. package/dist/docx/rezip.mjs +1 -1
  103. package/dist/docx/serializer/index.d.mts +6 -5
  104. package/dist/docx/serializer/index.d.ts +6 -5
  105. package/dist/docx/serializer/index.js +1 -1
  106. package/dist/docx/serializer/index.mjs +1 -1
  107. package/dist/editor/index.d.mts +5 -4
  108. package/dist/editor/index.d.ts +5 -4
  109. package/dist/editor/index.js +1 -1
  110. package/dist/editor/index.mjs +1 -1
  111. package/dist/executor-FHL5D4CB.js +1 -0
  112. package/dist/executor-FL6XGVP3.mjs +1 -0
  113. package/dist/{fontLoader-CUS1BPv7.d.mts → fontLoader-B4uFKpAy.d.mts} +48 -5
  114. package/dist/{fontLoader-Dl9SEKex.d.ts → fontLoader-D9SBYuZZ.d.ts} +48 -5
  115. package/dist/{formatting-BH4hcZiq.d.mts → formatting-DFtuRFQY.d.mts} +13 -0
  116. package/dist/{formatting-_OXU8gLB.d.ts → formatting-JhqWT_XM.d.ts} +13 -0
  117. package/dist/{headerFooterLayout-AtAOhM8E.d.ts → headerFooterLayout-CtVsfqxQ.d.ts} +2 -2
  118. package/dist/{headerFooterLayout-CU6hvszp.d.mts → headerFooterLayout-D2LZLkDC.d.mts} +2 -2
  119. package/dist/headless.d.mts +10 -9
  120. package/dist/headless.d.ts +10 -9
  121. package/dist/headless.js +1 -1
  122. package/dist/headless.mjs +1 -1
  123. package/dist/layout-bridge/clickToPositionDom.js +1 -1
  124. package/dist/layout-bridge/clickToPositionDom.mjs +1 -1
  125. package/dist/layout-bridge/index.d.mts +70 -7
  126. package/dist/layout-bridge/index.d.ts +70 -7
  127. package/dist/layout-bridge/index.js +1 -1
  128. package/dist/layout-bridge/index.mjs +1 -1
  129. package/dist/layout-bridge/measuring/index.d.mts +4 -3
  130. package/dist/layout-bridge/measuring/index.d.ts +4 -3
  131. package/dist/layout-bridge/measuring/index.js +1 -1
  132. package/dist/layout-bridge/measuring/index.mjs +1 -1
  133. package/dist/layout-bridge/tableInsertHover.js +1 -1
  134. package/dist/layout-bridge/tableInsertHover.mjs +1 -1
  135. package/dist/layout-bridge/toFlowBlocks.d.mts +5 -4
  136. package/dist/layout-bridge/toFlowBlocks.d.ts +5 -4
  137. package/dist/layout-bridge/toFlowBlocks.js +1 -1
  138. package/dist/layout-bridge/toFlowBlocks.mjs +1 -1
  139. package/dist/layout-engine/index.d.mts +5 -4
  140. package/dist/layout-engine/index.d.ts +5 -4
  141. package/dist/layout-engine/index.js +1 -1
  142. package/dist/layout-engine/index.mjs +1 -1
  143. package/dist/layout-engine/types.d.mts +22 -10
  144. package/dist/layout-engine/types.d.ts +22 -10
  145. package/dist/layout-painter/index.d.mts +6 -5
  146. package/dist/layout-painter/index.d.ts +6 -5
  147. package/dist/layout-painter/index.js +1 -1
  148. package/dist/layout-painter/index.mjs +1 -1
  149. package/dist/layout-painter/renderPage.d.mts +6 -5
  150. package/dist/layout-painter/renderPage.d.ts +6 -5
  151. package/dist/layout-painter/renderPage.js +1 -1
  152. package/dist/layout-painter/renderPage.mjs +1 -1
  153. package/dist/lists-Bn29SzeS.d.ts +148 -0
  154. package/dist/lists-CyGxd5Y2.d.mts +148 -0
  155. package/dist/managers/AutoSaveManager.d.mts +5 -4
  156. package/dist/managers/AutoSaveManager.d.ts +5 -4
  157. package/dist/managers/TableSelectionManager.d.mts +5 -4
  158. package/dist/managers/TableSelectionManager.d.ts +5 -4
  159. package/dist/managers/types.d.mts +5 -4
  160. package/dist/managers/types.d.ts +5 -4
  161. package/dist/{marks-BY573yZn.d.mts → marks-CzrbFi4o.d.mts} +1 -1
  162. package/dist/{marks-CjC9tF5k.d.ts → marks-Dq1QsxKA.d.ts} +1 -1
  163. package/dist/mcp-cli.mjs +23 -23
  164. package/dist/mcp.d.mts +5 -4
  165. package/dist/mcp.d.ts +5 -4
  166. package/dist/mcp.js +8 -8
  167. package/dist/mcp.mjs +7 -7
  168. package/dist/{nodes-75Q9GBxV.d.ts → nodes-Bd6tTkp0.d.ts} +17 -2
  169. package/dist/{nodes-cEI7hVY2.d.mts → nodes-BvO8GGD4.d.mts} +17 -2
  170. package/dist/numberingParser-ZSQ3SDCV.d.ts +81 -0
  171. package/dist/numberingParser-nSPZlzKr.d.mts +81 -0
  172. package/dist/prosemirror/applyFormatting.d.mts +39 -6
  173. package/dist/prosemirror/applyFormatting.d.ts +39 -6
  174. package/dist/prosemirror/applyFormatting.js +1 -1
  175. package/dist/prosemirror/applyFormatting.mjs +1 -1
  176. package/dist/prosemirror/cellDragSelection.d.mts +46 -0
  177. package/dist/prosemirror/cellDragSelection.d.ts +46 -0
  178. package/dist/prosemirror/cellDragSelection.js +1 -0
  179. package/dist/prosemirror/cellDragSelection.mjs +1 -0
  180. package/dist/prosemirror/commands/formatting.d.mts +2 -2
  181. package/dist/prosemirror/commands/formatting.d.ts +2 -2
  182. package/dist/prosemirror/commands/formatting.js +1 -1
  183. package/dist/prosemirror/commands/formatting.mjs +1 -1
  184. package/dist/prosemirror/commands/index.d.mts +34 -4
  185. package/dist/prosemirror/commands/index.d.ts +34 -4
  186. package/dist/prosemirror/commands/index.js +1 -1
  187. package/dist/prosemirror/commands/index.mjs +1 -1
  188. package/dist/prosemirror/commands/paragraph.d.mts +11 -1
  189. package/dist/prosemirror/commands/paragraph.d.ts +11 -1
  190. package/dist/prosemirror/commands/paragraph.js +1 -1
  191. package/dist/prosemirror/commands/paragraph.mjs +1 -1
  192. package/dist/prosemirror/commands/sectionBreak.d.mts +25 -0
  193. package/dist/prosemirror/commands/sectionBreak.d.ts +25 -0
  194. package/dist/prosemirror/commands/sectionBreak.js +1 -0
  195. package/dist/prosemirror/commands/sectionBreak.mjs +1 -0
  196. package/dist/prosemirror/commentIdAllocator.d.mts +4 -3
  197. package/dist/prosemirror/commentIdAllocator.d.ts +4 -3
  198. package/dist/prosemirror/commentOps.d.mts +4 -3
  199. package/dist/prosemirror/commentOps.d.ts +4 -3
  200. package/dist/prosemirror/conversion/fromProseDoc.d.mts +5 -4
  201. package/dist/prosemirror/conversion/fromProseDoc.d.ts +5 -4
  202. package/dist/prosemirror/conversion/fromProseDoc.js +1 -1
  203. package/dist/prosemirror/conversion/fromProseDoc.mjs +1 -1
  204. package/dist/prosemirror/conversion/index.d.mts +5 -4
  205. package/dist/prosemirror/conversion/index.d.ts +5 -4
  206. package/dist/prosemirror/conversion/index.js +1 -1
  207. package/dist/prosemirror/conversion/index.mjs +1 -1
  208. package/dist/prosemirror/editor.css +13 -0
  209. package/dist/prosemirror/extensions/index.d.mts +1 -1
  210. package/dist/prosemirror/extensions/index.d.ts +1 -1
  211. package/dist/prosemirror/extensions/index.js +1 -1
  212. package/dist/prosemirror/extensions/index.mjs +1 -1
  213. package/dist/prosemirror/extensions/nodes/TableExtension.js +1 -1
  214. package/dist/prosemirror/extensions/nodes/TableExtension.mjs +1 -1
  215. package/dist/prosemirror/index.d.mts +21 -11
  216. package/dist/prosemirror/index.d.ts +21 -11
  217. package/dist/prosemirror/index.js +3 -3
  218. package/dist/prosemirror/index.mjs +3 -3
  219. package/dist/prosemirror/plugins/index.d.mts +6 -5
  220. package/dist/prosemirror/plugins/index.d.ts +6 -5
  221. package/dist/prosemirror/plugins/index.js +1 -1
  222. package/dist/prosemirror/plugins/index.mjs +1 -1
  223. package/dist/prosemirror/plugins/selectionTracker.d.mts +1 -1
  224. package/dist/prosemirror/plugins/selectionTracker.d.ts +1 -1
  225. package/dist/prosemirror/queries.d.mts +46 -4
  226. package/dist/prosemirror/queries.d.ts +46 -4
  227. package/dist/prosemirror/queries.js +2 -2
  228. package/dist/prosemirror/queries.mjs +2 -2
  229. package/dist/prosemirror/schema/index.d.mts +6 -5
  230. package/dist/prosemirror/schema/index.d.ts +6 -5
  231. package/dist/prosemirror/schema/index.js +1 -1
  232. package/dist/prosemirror/schema/index.mjs +1 -1
  233. package/dist/prosemirror/styles/index.d.mts +2 -2
  234. package/dist/prosemirror/styles/index.d.ts +2 -2
  235. package/dist/prosemirror/tableResize.js +1 -1
  236. package/dist/prosemirror/tableResize.mjs +1 -1
  237. package/dist/prosemirror/utils/extractTrackedChanges.d.mts +4 -3
  238. package/dist/prosemirror/utils/extractTrackedChanges.d.ts +4 -3
  239. package/dist/prosemirror/utils/extractTrackedChanges.js +1 -1
  240. package/dist/prosemirror/utils/extractTrackedChanges.mjs +1 -1
  241. package/dist/{sectionPropertiesSerializer-uXyGONxu.d.ts → sectionPropertiesSerializer-CzgskSoA.d.ts} +1 -1
  242. package/dist/{sectionPropertiesSerializer-D86QlzlT.d.mts → sectionPropertiesSerializer-D3yI82iZ.d.mts} +1 -1
  243. package/dist/{selectionContext-BPAqgNgk.d.ts → selectionContext-BJZZW1JA.d.ts} +1 -1
  244. package/dist/{selectionContext-CoZat7QZ.d.mts → selectionContext-BjMyVQZO.d.mts} +1 -1
  245. package/dist/{styles-BOJ93SAm.d.mts → styles-Dqec8Aw6.d.mts} +1 -1
  246. package/dist/{styles-BWqX2AS-.d.ts → styles-gEujs7j6.d.ts} +1 -1
  247. package/dist/types/agentApi.d.mts +1 -1
  248. package/dist/types/agentApi.d.ts +1 -1
  249. package/dist/types/content.d.mts +4 -3
  250. package/dist/types/content.d.ts +4 -3
  251. package/dist/types/content.js +1 -1
  252. package/dist/types/content.mjs +1 -1
  253. package/dist/types/document.d.mts +8 -6
  254. package/dist/types/document.d.ts +8 -6
  255. package/dist/types/document.js +1 -1
  256. package/dist/types/document.mjs +1 -1
  257. package/dist/utils/cardStyles.js +1 -1
  258. package/dist/utils/cardStyles.mjs +1 -1
  259. package/dist/utils/comments.d.mts +4 -3
  260. package/dist/utils/comments.d.ts +4 -3
  261. package/dist/utils/index.d.mts +41 -7
  262. package/dist/utils/index.d.ts +41 -7
  263. package/dist/utils/index.js +3 -3
  264. package/dist/utils/index.mjs +3 -3
  265. package/dist/utils/stylePreview.d.mts +83 -0
  266. package/dist/utils/stylePreview.d.ts +83 -0
  267. package/dist/utils/stylePreview.js +1 -0
  268. package/dist/utils/stylePreview.mjs +1 -0
  269. package/dist/utils/units.d.mts +7 -1
  270. package/dist/utils/units.d.ts +7 -1
  271. package/dist/utils/units.js +1 -1
  272. package/dist/utils/units.mjs +1 -1
  273. package/dist/{variableDetector-CaY-sDau.d.mts → variableDetector-D2-xDa2O.d.mts} +1 -1
  274. package/dist/{variableDetector-1mxzPfs2.d.ts → variableDetector-d-PpDlNV.d.ts} +1 -1
  275. package/dist/{watermark-DAcnAs_J.d.mts → watermark-D90356ZM.d.mts} +7 -1
  276. package/dist/{watermark-DAcnAs_J.d.ts → watermark-D90356ZM.d.ts} +7 -1
  277. package/package.json +25 -1
  278. package/dist/chunk-2WGTGBBS.js +0 -2
  279. package/dist/chunk-3G44SFHX.mjs +0 -4
  280. package/dist/chunk-4Q2IP5FW.js +0 -1
  281. package/dist/chunk-55XWETY4.mjs +0 -1
  282. package/dist/chunk-77GRQUSK.js +0 -1
  283. package/dist/chunk-7CZEZ3UL.mjs +0 -2
  284. package/dist/chunk-7LRR7RKE.mjs +0 -15
  285. package/dist/chunk-7OW3VCZE.mjs +0 -1
  286. package/dist/chunk-BHBOAP6Z.js +0 -3
  287. package/dist/chunk-CRMZH7U7.mjs +0 -2
  288. package/dist/chunk-CUY2THAO.mjs +0 -1
  289. package/dist/chunk-D3PRIF3Y.mjs +0 -1
  290. package/dist/chunk-DKKTY56Q.js +0 -1
  291. package/dist/chunk-EM33RGHT.mjs +0 -1
  292. package/dist/chunk-ESCPS4AO.mjs +0 -1
  293. package/dist/chunk-EUZLYQRB.mjs +0 -1
  294. package/dist/chunk-EV4LVK4X.js +0 -1
  295. package/dist/chunk-FW23IMBF.mjs +0 -1
  296. package/dist/chunk-HKN2NKOG.mjs +0 -1
  297. package/dist/chunk-INDYZOOS.js +0 -1
  298. package/dist/chunk-IUJCUITW.mjs +0 -1
  299. package/dist/chunk-IYKBX24M.js +0 -1
  300. package/dist/chunk-J3YFJDZD.js +0 -1
  301. package/dist/chunk-JHTURDPX.mjs +0 -1
  302. package/dist/chunk-KAOLVBLH.js +0 -1
  303. package/dist/chunk-L5NPEM7C.js +0 -1
  304. package/dist/chunk-LERLET2D.js +0 -4
  305. package/dist/chunk-MNOHUTKE.js +0 -15
  306. package/dist/chunk-MOKKS75W.mjs +0 -3
  307. package/dist/chunk-NAFMAKLK.js +0 -2
  308. package/dist/chunk-OEC6SBDV.mjs +0 -1
  309. package/dist/chunk-OF373DBR.mjs +0 -1
  310. package/dist/chunk-OTHV7YV2.js +0 -2
  311. package/dist/chunk-Q4IEATDJ.js +0 -1
  312. package/dist/chunk-QAJSNLJR.mjs +0 -1
  313. package/dist/chunk-RSU4HTC6.js +0 -1
  314. package/dist/chunk-TUIEV7Q7.js +0 -1
  315. package/dist/chunk-U67MWOPZ.mjs +0 -1
  316. package/dist/chunk-UE2ZKRYB.mjs +0 -2
  317. package/dist/chunk-VOCHZNOF.mjs +0 -1
  318. package/dist/chunk-VW22RZ6C.mjs +0 -1
  319. package/dist/chunk-WVERBZZU.js +0 -1
  320. package/dist/chunk-WWNOXNEX.mjs +0 -2
  321. package/dist/chunk-XLB6AC5Q.js +0 -1
  322. package/dist/chunk-YPQACU4A.js +0 -1
  323. package/dist/chunk-ZX26QZJ5.mjs +0 -1
  324. package/dist/executor-DZAMMQ35.js +0 -1
  325. package/dist/executor-ZCJRLT3Z.mjs +0 -1
@@ -1,4 +0,0 @@
1
- 'use strict';var chunkSCK6ZM5V_js=require('./chunk-SCK6ZM5V.js'),chunkZ3LGMBJC_js=require('./chunk-Z3LGMBJC.js'),chunk3R7QHNI5_js=require('./chunk-3R7QHNI5.js');var He={dk1:"000000",lt1:"FFFFFF",dk2:"44546A",lt2:"E7E6E6",accent1:"4472C4",accent2:"ED7D31",accent3:"A5A5A5",accent4:"FFC000",accent5:"5B9BD5",accent6:"70AD47",hlink:"0563C1",folHlink:"954F72"},J={majorFont:{latin:"Calibri Light",ea:"",cs:"",fonts:{}},minorFont:{latin:"Calibri",ea:"",cs:"",fonts:{}}},ge={name:"Office Theme",colorScheme:He,fontScheme:J},gt=["dk1","lt1","dk2","lt2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"];function ht(e){if(!e)return null;switch(chunk3R7QHNI5_js.d(e.name||"")){case "srgbClr":return chunk3R7QHNI5_js.j(e,"a","val")??chunk3R7QHNI5_js.j(e,null,"val")??null;case "sysClr":{let n=chunk3R7QHNI5_js.j(e,"a","lastClr")??chunk3R7QHNI5_js.j(e,null,"lastClr");if(n)return n;switch(chunk3R7QHNI5_js.j(e,"a","val")??chunk3R7QHNI5_js.j(e,null,"val")){case "windowText":case "menuText":case "captionText":case "btnText":return "000000";case "window":case "menu":case "btnFace":case "btnHighlight":return "FFFFFF";case "highlight":return "0078D7";case "highlightText":return "FFFFFF";case "grayText":return "808080";default:return null}}case "schemeClr":{chunk3R7QHNI5_js.j(e,"a","val")??chunk3R7QHNI5_js.j(e,null,"val");return null}default:return null}}function wt(e){let t={...He};if(!e)return t;for(let n of gt){let o=chunk3R7QHNI5_js.e(e,"a",n);if(o){let r=chunk3R7QHNI5_js.i(o);if(r.length>0){let a=ht(r[0]);a&&(t[n]=a);}}}return t}function Ne(e){let t={latin:"",ea:"",cs:"",fonts:{}};if(!e)return t;let n=chunk3R7QHNI5_js.e(e,"a","latin");n&&(t.latin=chunk3R7QHNI5_js.j(n,"a","typeface")??chunk3R7QHNI5_js.j(n,null,"typeface")??"");let o=chunk3R7QHNI5_js.e(e,"a","ea");o&&(t.ea=chunk3R7QHNI5_js.j(o,"a","typeface")??chunk3R7QHNI5_js.j(o,null,"typeface")??"");let r=chunk3R7QHNI5_js.e(e,"a","cs");r&&(t.cs=chunk3R7QHNI5_js.j(r,"a","typeface")??chunk3R7QHNI5_js.j(r,null,"typeface")??"");let a=chunk3R7QHNI5_js.f(e,"a","font");for(let u of a){let l=chunk3R7QHNI5_js.j(u,"a","script")??chunk3R7QHNI5_js.j(u,null,"script"),f=chunk3R7QHNI5_js.j(u,"a","typeface")??chunk3R7QHNI5_js.j(u,null,"typeface");l&&f&&(t.fonts=t.fonts||{},t.fonts[l]=f);}return t}function yt(e){let t={...J};if(!e)return t;let n=chunk3R7QHNI5_js.e(e,"a","majorFont");n&&(t.majorFont=Ne(n));let o=chunk3R7QHNI5_js.e(e,"a","minorFont");return o&&(t.minorFont=Ne(o)),t}function In(e){if(!e)return {...ge};try{let t=chunk3R7QHNI5_js.c(e);if(!t)return {...ge};let n=chunk3R7QHNI5_js.j(t,"a","name")??chunk3R7QHNI5_js.j(t,null,"name")??"Office Theme",o=chunk3R7QHNI5_js.e(t,"a","themeElements"),r=chunk3R7QHNI5_js.e(o,"a","clrScheme"),a=wt(r),u=chunk3R7QHNI5_js.e(o,"a","fontScheme"),l=yt(u);return {name:n,colorScheme:a,fontScheme:l}}catch(t){return console.warn("Failed to parse theme:",t),{...ge}}}function bt(e,t="latin"){if(!e?.fontScheme?.majorFont)return J.majorFont?.latin??"Calibri Light";let n=e.fontScheme.majorFont;return t==="latin"?n.latin||"Calibri Light":t==="ea"?n.ea||"":t==="cs"?n.cs||"":n.fonts?.[t]?n.fonts[t]:n.latin||"Calibri Light"}function Ae(e,t="latin"){if(!e?.fontScheme?.minorFont)return J.minorFont?.latin??"Calibri";let n=e.fontScheme.minorFont;return t==="latin"?n.latin||"Calibri":t==="ea"?n.ea||"":t==="cs"?n.cs||"":n.fonts?.[t]?n.fonts[t]:n.latin||"Calibri"}function $(e,t){if(!t)return "Calibri";let n=t.toLowerCase().includes("major"),o=t.toLowerCase().includes("minor"),r="latin",a=t.toLowerCase();return a.includes("eastasia")?r="ea":(a.includes("bidi")||a.includes("cs"))&&(r="cs"),n?bt(e,r):o?Ae(e,r):Ae(e,"latin")}function Ie(e){if(!e)return;let t=chunk3R7QHNI5_js.l(e,"w","w")??0,n=chunk3R7QHNI5_js.j(e,"w","type")??"dxa",o="dxa";return (n==="auto"||n==="dxa"||n==="nil"||n==="pct")&&(o=n),{value:t,type:o}}function O(e){return Ie(e)}function V(e){let t=chunk3R7QHNI5_js.j(e,"w","id"),n=t?parseInt(t,10):0,o=(chunk3R7QHNI5_js.j(e,"w","author")??"").trim(),r=(chunk3R7QHNI5_js.j(e,"w","date")??"").trim();return {id:Number.isInteger(n)&&n>=0?n:0,author:o.length>0?o:"Unknown",date:r.length>0?r:void 0}}function ee(e){return V(e)}function W(e){if(!e)return;let o={style:chunk3R7QHNI5_js.j(e,"w","val")??"none"},r=chunk3R7QHNI5_js.l(e,"w","sz");r!==void 0&&(o.size=r);let a=chunk3R7QHNI5_js.l(e,"w","space");a!==void 0&&(o.space=a);let u=chunk3R7QHNI5_js.j(e,"w","color"),l=chunk3R7QHNI5_js.j(e,"w","themeColor"),f=chunk3R7QHNI5_js.j(e,"w","themeTint"),c=chunk3R7QHNI5_js.j(e,"w","themeShade");(u||l||f||c)&&(o.color={rgb:u??void 0,themeColor:l,themeTint:f??void 0,themeShade:c??void 0});let p=chunk3R7QHNI5_js.j(e,"w","shadow");(p==="1"||p==="true")&&(o.shadow=true);let d=chunk3R7QHNI5_js.j(e,"w","frame");return (d==="1"||d==="true")&&(o.frame=true),o}function te(e){if(!e)return;let t={},n=W(chunk3R7QHNI5_js.e(e,"w","top"));n&&(t.top=n);let o=W(chunk3R7QHNI5_js.e(e,"w","bottom"));o&&(t.bottom=o);let r=W(chunk3R7QHNI5_js.e(e,"w","left")??chunk3R7QHNI5_js.e(e,"w","start"));r&&(t.left=r);let a=W(chunk3R7QHNI5_js.e(e,"w","right")??chunk3R7QHNI5_js.e(e,"w","end"));a&&(t.right=a);let u=W(chunk3R7QHNI5_js.e(e,"w","insideH"));u&&(t.insideH=u);let l=W(chunk3R7QHNI5_js.e(e,"w","insideV"));if(l&&(t.insideV=l),Object.keys(t).length!==0)return t}function ne(e){if(!e)return;let t={},n=O(chunk3R7QHNI5_js.e(e,"w","top"));n&&(t.top=n);let o=O(chunk3R7QHNI5_js.e(e,"w","bottom"));o&&(t.bottom=o);let r=O(chunk3R7QHNI5_js.e(e,"w","left")??chunk3R7QHNI5_js.e(e,"w","start"));r&&(t.left=r);let a=O(chunk3R7QHNI5_js.e(e,"w","right")??chunk3R7QHNI5_js.e(e,"w","end"));if(a&&(t.right=a),Object.keys(t).length!==0)return t}function oe(e){if(!e)return;let t={},n=chunk3R7QHNI5_js.j(e,"w","fill");n&&n!=="auto"&&(t.fill={rgb:n});let o=chunk3R7QHNI5_js.j(e,"w","themeFill");if(o){t.fill={themeColor:o};let u=chunk3R7QHNI5_js.j(e,"w","themeFillTint");u&&t.fill&&(t.fill.themeTint=u);let l=chunk3R7QHNI5_js.j(e,"w","themeFillShade");l&&t.fill&&(t.fill.themeShade=l);}let r=chunk3R7QHNI5_js.j(e,"w","color");r&&r!=="auto"&&(t.color={rgb:r});let a=chunk3R7QHNI5_js.j(e,"w","val");if(a&&(t.pattern=a),Object.keys(t).length!==0)return t}function he(e){if(!e)return;let t={},n=chunk3R7QHNI5_js.j(e,"w","firstRow");(n==="1"||n==="true")&&(t.firstRow=true);let o=chunk3R7QHNI5_js.j(e,"w","lastRow");(o==="1"||o==="true")&&(t.lastRow=true);let r=chunk3R7QHNI5_js.j(e,"w","firstColumn");(r==="1"||r==="true")&&(t.firstColumn=true);let a=chunk3R7QHNI5_js.j(e,"w","lastColumn");(a==="1"||a==="true")&&(t.lastColumn=true);let u=chunk3R7QHNI5_js.j(e,"w","noHBand");(u==="1"||u==="true")&&(t.noHBand=true);let l=chunk3R7QHNI5_js.j(e,"w","noVBand");(l==="1"||l==="true")&&(t.noVBand=true);let f=chunk3R7QHNI5_js.j(e,"w","val");if(f){let c=parseInt(f,16);isNaN(c)||(c&32&&(t.firstRow=true),c&64&&(t.lastRow=true),c&128&&(t.firstColumn=true),c&256&&(t.lastColumn=true),c&512&&(t.noHBand=true),c&1024&&(t.noVBand=true));}if(Object.keys(t).length!==0)return t}function we(e){if(!e)return;let t={},n=chunk3R7QHNI5_js.j(e,"w","horzAnchor");(n==="margin"||n==="page"||n==="text")&&(t.horzAnchor=n);let o=chunk3R7QHNI5_js.j(e,"w","vertAnchor");(o==="margin"||o==="page"||o==="text")&&(t.vertAnchor=o);let r=chunk3R7QHNI5_js.l(e,"w","tblpX");r!==void 0&&(t.tblpX=r);let a=chunk3R7QHNI5_js.j(e,"w","tblpXSpec");a&&(t.tblpXSpec=a);let u=chunk3R7QHNI5_js.l(e,"w","tblpY");u!==void 0&&(t.tblpY=u);let l=chunk3R7QHNI5_js.j(e,"w","tblpYSpec");l&&(t.tblpYSpec=l);let f=chunk3R7QHNI5_js.l(e,"w","topFromText");f!==void 0&&(t.topFromText=f);let c=chunk3R7QHNI5_js.l(e,"w","bottomFromText");c!==void 0&&(t.bottomFromText=c);let p=chunk3R7QHNI5_js.l(e,"w","leftFromText");p!==void 0&&(t.leftFromText=p);let d=chunk3R7QHNI5_js.l(e,"w","rightFromText");if(d!==void 0&&(t.rightFromText=d),Object.keys(t).length!==0)return t}function Tt(e){return e.columnWidths&&e.columnWidths.length>0?e.columnWidths.length:e.rows.length===0?0:e.rows[0].cells.reduce((t,n)=>t+(n.formatting?.gridSpan??1),0)}function Ct(e){return e.rows.length}function Ft(e){return e.formatting?.vMerge==="continue"}function xt(e){return e.formatting?.vMerge==="restart"}function kt(e){return e.rows.length===0?false:e.rows[0].formatting?.header===true}var St={richText:"richText",text:"plainText",date:"date",dropDownList:"dropDownList",comboBox:"comboBox",picture:"picture",docPartObj:"buildingBlockGallery",docPartList:"buildingBlockGallery",group:"group",equation:"equation",citation:"citation",bibliography:"bibliography",checkbox:"checkbox"};function Mt(e){if(!e||!e.elements)return "richText";for(let t of e.elements){if(t.type!=="element"||!t.name)continue;let n=chunk3R7QHNI5_js.d(t.name),o=St[n];if(o)return o}return "richText"}function Rt(e){let t=[];for(let n of e.elements??[])n.type==="element"&&chunk3R7QHNI5_js.d(n.name||"")==="listItem"&&t.push({displayText:chunk3R7QHNI5_js.j(n,"w","displayText")||"",value:chunk3R7QHNI5_js.j(n,"w","value")||""});return t}function re(e,t){let n={sdtType:Mt(e)};if(e){n.rawPropertiesXml=chunk3R7QHNI5_js.b(e);for(let o of e.elements??[]){if(o.type!=="element"||!o.name)continue;switch(chunk3R7QHNI5_js.d(o.name)){case "id":{let a=chunk3R7QHNI5_js.j(o,"w","val");if(a!=null){let u=parseInt(a,10);Number.isNaN(u)||(n.id=u);}break}case "alias":n.alias=chunk3R7QHNI5_js.j(o,"w","val")??void 0;break;case "tag":n.tag=chunk3R7QHNI5_js.j(o,"w","val")??void 0;break;case "lock":n.lock=chunk3R7QHNI5_js.j(o,"w","val")??"unlocked";break;case "placeholder":{let a=chunk3R7QHNI5_js.e(o,"w","docPart");a&&(n.placeholder=chunk3R7QHNI5_js.j(a,"w","val")??void 0);break}case "showingPlcHdr":{let a=chunk3R7QHNI5_js.j(o,"w","val");n.showingPlaceholder=a==null||!/^(0|false|off)$/i.test(a);break}case "date":{let a=chunk3R7QHNI5_js.e(o,"w","dateFormat");a&&(n.dateFormat=chunk3R7QHNI5_js.j(a,"w","val")??void 0);break}case "dropDownList":case "comboBox":n.listItems=Rt(o);break;case "checkbox":{let a=chunk3R7QHNI5_js.e(o,"w14","checked")??chunk3R7QHNI5_js.e(o,"w","checked");n.checked=a?chunk3R7QHNI5_js.j(a,"w14","val")==="1"||chunk3R7QHNI5_js.j(a,"w","val")==="1":false;break}case "dataBinding":{let a={},u=chunk3R7QHNI5_js.j(o,"w","xpath"),l=chunk3R7QHNI5_js.j(o,"w","storeItemID"),f=chunk3R7QHNI5_js.j(o,"w","prefixMappings");u!=null&&(a.xpath=u),l!=null&&(a.storeItemID=l),f!=null&&(a.prefixMappings=f),n.dataBinding=a;break}}}}return t&&(n.rawEndPropertiesXml=chunk3R7QHNI5_js.b(t)),n}var Le={183:"\u2022",111:"\u25CB",167:"\u25A0",252:"\u2713",110:"\u25A0",113:"\u25CB",117:"\u25C6",118:"\u2756",168:"\u2713",251:"\u2713",254:"\u2713",61623:"\u2022",61550:"\u25A0",61551:"\u25CB",61607:"\u25A0",61692:"\u2713",8226:"\u2022",9679:"\u25CF",9675:"\u25CB",9632:"\u25A0",9633:"\u25A1",9670:"\u25C6",9671:"\u25C7",8211:"\u2013",8212:"\u2014",62:">",45:"-"};function Et(e){if(!e||e.trim()==="")return "\u2022";let t=e.charCodeAt(0);return Le[t]?Le[t]:t>=57344&&t<=63743||t<32||t>=127&&t<160?"\u2022":e}function Pt(e){let t=e.listRendering;t&&t.isBullet&&(t.marker=Et(t.marker||""));}function Bt(e,t,n,o,r,a,u){if(e.content.length===0)return;let l=chunk3R7QHNI5_js.i(t),f=0;function c(p){if(!chunkSCK6ZM5V_js.h(p))return;let d=chunkSCK6ZM5V_js.j(p);if(!d)return;let w=chunk3R7QHNI5_js.n(p,"wps","wsp");if(w){let b=chunkSCK6ZM5V_js.k(w);b&&(d.content=chunkSCK6ZM5V_js.g(b,Y,null,n,o,r,a??void 0,u??void 0));}let C={type:"shape",shapeType:"rect",size:d.size,position:d.position,wrap:d.wrap,fill:d.fill,outline:d.outline,textBody:{content:d.content,margins:d.margins}};d.id&&(C.id=d.id);let y={type:"shape",shape:C},h=f;if(h>=e.content.length){h=-1;for(let b=e.content.length-1;b>=0;b--)if(e.content[b].type==="run"){h=b;break}}if(h>=0){let b=e.content[h];b.type==="run"&&b.content.push(y);}}for(let p of l){if(chunk3R7QHNI5_js.d(p.name??"")!=="r")continue;let d=chunk3R7QHNI5_js.i(p);for(let w of d){let C=chunk3R7QHNI5_js.d(w.name??"");if(C==="drawing")c(w);else if(C==="AlternateContent"){let y=chunk3R7QHNI5_js.i(w),b=y.find(P=>chunk3R7QHNI5_js.d(P.name??"")==="Choice")??y.find(P=>chunk3R7QHNI5_js.d(P.name??"")==="Fallback");if(b)for(let P of chunk3R7QHNI5_js.i(b))chunk3R7QHNI5_js.d(P.name??"")==="drawing"&&c(P);}}f++;}}function q(e,t,n,o,r,a,u){let l=[],f=chunk3R7QHNI5_js.i(e);for(let c of f){let p=c.name??"";if(p==="w:p"||p.endsWith(":p")){let d=Y(c,t,n,o,r,a,u);Bt(d,c,t,n,o,r,a),Pt(d),l.push(d);}else if(p==="w:tbl"||p.endsWith(":tbl")){let d=ye(c,t,n,o,r,a,u);l.push(d);}else (p==="w:sdt"||p.endsWith(":sdt"))&&l.push(vt(c,t,n,o,r,a,u));}return l}function vt(e,t,n,o,r,a,u){let l=chunk3R7QHNI5_js.e(e,"w","sdtPr"),f=chunk3R7QHNI5_js.e(e,"w","sdtEndPr"),c=chunk3R7QHNI5_js.e(e,"w","sdtContent"),p=re(l,f),d=c?q(c,t,n,o,r,a,u):[];return {type:"blockSdt",properties:p,content:d}}function Xe(e){let t={};if(!e)return t;for(let n of e.split(";")){let o=n.indexOf(":");if(o<0)continue;let r=n.slice(0,o).trim().toLowerCase(),a=n.slice(o+1).trim();r&&(t[r]=a);}return t}function Nt(e){if(!e)return "#C0C0C0";let t=e.trim();return t.startsWith("#")?t:/^[0-9a-fA-F]{6}$/.test(t)?`#${t}`:t}function Oe(e){if(!e)return;let t=e.match(/^(-?[0-9.]+)(pt|px|in|cm|mm)?$/);if(!t)return;let n=parseFloat(t[1]);if(!isNaN(n))switch(t[2]){case "in":return n*96;case "cm":return n/2.54*96;case "mm":return n/25.4*96;case "px":return n;default:return n*96/72}}var De=914400/96;function At(e,t,n){if(!e||!t)return {};let o=t.get(e);if(!o?.target)return {};let r=o.target,a=r.split("/").pop()??r,u=[r,r.replace(/^\/+/,""),`word/${r.replace(/^\/+/,"")}`,`word/media/${a}`,`media/${a}`];if(n)for(let l of u){let f=l.toLowerCase();for(let[c,p]of n.entries())if(c.toLowerCase()===f)return {dataUrl:p.dataUrl??p.base64,mediaPath:p.path,contentType:p.mimeType}}return {}}function Ht(e,t){return !!(t.includes("watermark")||(chunk3R7QHNI5_js.j(e,null,"type")??"").includes("_t136"))}function We(e,t=null,n=null){if(!e)return;let o=chunk3R7QHNI5_js.o(e,"v","shape");for(let r of o){let a=(chunk3R7QHNI5_js.j(r,null,"id")??"").toLowerCase(),u=chunk3R7QHNI5_js.i(r),l=u.find(w=>w.name==="v:textpath"||w.name?.endsWith(":textpath")),f=u.find(w=>w.name==="v:imagedata"||w.name?.endsWith(":imagedata"));if(!Ht(r,a)&&!l&&!f)continue;let c=Xe(chunk3R7QHNI5_js.j(r,null,"style")),p=parseFloat(c.rotation??"0")||0,d=Math.abs(p)>5;if(l){let w=chunk3R7QHNI5_js.j(l,null,"string")??"",h=(Xe(chunk3R7QHNI5_js.j(l,null,"style"))["font-family"]??"Calibri").replace(/["']/g,"").replace(/^&quot;|&quot;$/g,"").trim()||"Calibri",b=u.find(x=>x.name==="v:fill"||x.name?.endsWith(":fill")),P=b?chunk3R7QHNI5_js.j(b,null,"opacity"):null,S=P!=null&&parseFloat(P)<1;return {kind:"text",text:w,font:h,color:Nt(chunk3R7QHNI5_js.j(r,null,"fillcolor")),semitransparent:S,layout:d?"diagonal":"horizontal",fontSize:void 0}}if(f){let w=chunk3R7QHNI5_js.j(f,"r","id")??chunk3R7QHNI5_js.j(f,"r","embed")??chunk3R7QHNI5_js.j(f,null,"id")??"",{dataUrl:C,mediaPath:y,contentType:h}=At(w,t,n),b=chunk3R7QHNI5_js.j(f,null,"gain"),P=chunk3R7QHNI5_js.j(f,null,"blacklevel"),S=b!=null||P!=null,x=Oe(c.width),m=Oe(c.height);return {kind:"picture",relId:w||void 0,mediaPath:y,contentType:h,dataUrl:C,scale:1,washout:S,widthEmu:x!=null?Math.round(x*De):void 0,heightEmu:m!=null?Math.round(m*De):void 0}}}}function Ve(e){switch(e){case "first":return "first";case "even":return "even";default:return "default"}}function je(e){let t=chunk3R7QHNI5_js.j(e,"w","type"),n=chunk3R7QHNI5_js.j(e,"r","id")??"";return {type:Ve(t),rId:n}}function Ue(e){let t=chunk3R7QHNI5_js.j(e,"w","type"),n=chunk3R7QHNI5_js.j(e,"r","id")??"";return {type:Ve(t),rId:n}}function Jn(e,t="default",n=null,o=null,r=null,a=null,u=null){let l={type:"header",hdrFtrType:t,content:[]};if(!e)return l;let f=chunk3R7QHNI5_js.a(e);if(!f)return l;let c=f.elements?.find(d=>d.type==="element"&&(d.name==="w:hdr"||d.name?.endsWith(":hdr")));if(!c)return l;l.content=q(c,n,o,r,a,u,{inHeaderFooter:true});let p=We(c,a,u);return p&&(l.watermark=p),l}function eo(e,t="default",n=null,o=null,r=null,a=null,u=null){let l={type:"footer",hdrFtrType:t,content:[]};if(!e)return l;let f=chunk3R7QHNI5_js.a(e);if(!f)return l;let c=f.elements?.find(p=>p.type==="element"&&(p.name==="w:ftr"||p.name?.endsWith(":ftr")));return c&&(l.content=q(c,n,o,r,a,u,{inHeaderFooter:true})),l}function ze(e){switch(e){case "separator":return "separator";case "continuationSeparator":return "continuationSeparator";case "continuationNotice":return "continuationNotice";default:return "normal"}}function _e(e,t,n,o,r,a){let u=q(e,t,n,o,r,a),l=false;for(let f of chunk3R7QHNI5_js.i(e)){let c=f.name??"";if(c==="w:bookmarkStart"||c.endsWith(":bookmarkStart")||c==="w:bookmarkEnd"||c.endsWith(":bookmarkEnd")||c==="w:customXml"||c.endsWith(":customXml")){l=true;break}}return {blocks:u,hasUnmodeled:l}}function It(e,t,n,o,r,a){let u=chunk3R7QHNI5_js.l(e,"w","id")??0,l=chunk3R7QHNI5_js.j(e,"w","type"),f=ze(l),{blocks:c,hasUnmodeled:p}=_e(e,t,n,o,r,a);return {type:"footnote",id:u,noteType:f,content:c,...p?{verbatimXml:chunk3R7QHNI5_js.b(e)}:{}}}function ro(e,t=null,n=null,o=null,r=null,a=null){let u=new Map,l=[];if(!e)return ie(u,l);let f=chunk3R7QHNI5_js.a(e);if(!f)return ie(u,l);let c=f.elements?.find(d=>d.type==="element"&&(d.name==="w:footnotes"||d.name?.endsWith(":footnotes")));if(!c)return ie(u,l);let p=chunk3R7QHNI5_js.f(c,"w","footnote");for(let d of p){let w=It(d,t,n,o,r,a);u.set(w.id,w),l.push(w);}return ie(u,l)}function ie(e,t){return {byId:e,footnotes:t,getFootnote(n){return e.get(n)},hasFootnote(n){return e.has(n)},getNormalFootnotes(){return t.filter(n=>n.noteType==="normal")},getSeparator(){return t.find(n=>n.noteType==="separator")},getContinuationSeparator(){return t.find(n=>n.noteType==="continuationSeparator")}}}function Lt(e,t,n,o,r,a){let u=chunk3R7QHNI5_js.l(e,"w","id")??0,l=chunk3R7QHNI5_js.j(e,"w","type"),f=ze(l),{blocks:c,hasUnmodeled:p}=_e(e,t,n,o,r,a);return {type:"endnote",id:u,noteType:f,content:c,...p?{verbatimXml:chunk3R7QHNI5_js.b(e)}:{}}}function io(e,t=null,n=null,o=null,r=null,a=null){let u=new Map,l=[];if(!e)return ae(u,l);let f=chunk3R7QHNI5_js.a(e);if(!f)return ae(u,l);let c=f.elements?.find(d=>d.type==="element"&&(d.name==="w:endnotes"||d.name?.endsWith(":endnotes")));if(!c)return ae(u,l);let p=chunk3R7QHNI5_js.f(c,"w","endnote");for(let d of p){let w=Lt(d,t,n,o,r,a);u.set(w.id,w),l.push(w);}return ae(u,l)}function ae(e,t){return {byId:e,endnotes:t,getEndnote(n){return e.get(n)},hasEndnote(n){return e.has(n)},getNormalEndnotes(){return t.filter(n=>n.noteType==="normal")},getSeparator(){return t.find(n=>n.noteType==="separator")},getContinuationSeparator(){return t.find(n=>n.noteType==="continuationSeparator")}}}function qe(e){return e?{decimal:"decimal",upperRoman:"upperRoman",lowerRoman:"lowerRoman",upperLetter:"upperLetter",lowerLetter:"lowerLetter",ordinal:"ordinal",cardinalText:"cardinalText",ordinalText:"ordinalText",bullet:"bullet",chicago:"chicago",none:"none"}[e]:void 0}function Xt(e){switch(e){case "pageBottom":return "pageBottom";case "beneathText":return "beneathText";case "sectEnd":return "sectEnd";case "docEnd":return "docEnd";default:return}}function Ot(e){switch(e){case "sectEnd":return "sectEnd";case "docEnd":return "docEnd";default:return}}function Ge(e){switch(e){case "continuous":return "continuous";case "eachSect":return "eachSect";case "eachPage":return "eachPage";default:return}}function $e(e){let t={};if(!e)return t;let n=chunk3R7QHNI5_js.e(e,"w","pos");if(n){let u=chunk3R7QHNI5_js.j(n,"w","val");t.position=Xt(u);}let o=chunk3R7QHNI5_js.e(e,"w","numFmt");if(o){let u=chunk3R7QHNI5_js.j(o,"w","val");t.numFmt=qe(u);}let r=chunk3R7QHNI5_js.e(e,"w","numStart");r&&(t.numStart=chunk3R7QHNI5_js.l(r,"w","val")??void 0);let a=chunk3R7QHNI5_js.e(e,"w","numRestart");if(a){let u=chunk3R7QHNI5_js.j(a,"w","val");t.numRestart=Ge(u);}return t}function Ye(e){let t={};if(!e)return t;let n=chunk3R7QHNI5_js.e(e,"w","pos");if(n){let u=chunk3R7QHNI5_js.j(n,"w","val");t.position=Ot(u);}let o=chunk3R7QHNI5_js.e(e,"w","numFmt");if(o){let u=chunk3R7QHNI5_js.j(o,"w","val");t.numFmt=qe(u);}let r=chunk3R7QHNI5_js.e(e,"w","numStart");r&&(t.numStart=chunk3R7QHNI5_js.l(r,"w","val")??void 0);let a=chunk3R7QHNI5_js.e(e,"w","numRestart");if(a){let u=chunk3R7QHNI5_js.j(a,"w","val");t.numRestart=Ge(u);}return t}function ao(e){let t=[];for(let n of e.content){if(n.type!=="paragraph")continue;let o=[];for(let r of n.content)if(r.type==="run")for(let a of r.content)a.type==="text"&&o.push(a.text);t.push(o.join(""));}return t.join(`
2
- `)}function lo(e){let t=[];for(let n of e.content){if(n.type!=="paragraph")continue;let o=[];for(let r of n.content)if(r.type==="run")for(let a of r.content)a.type==="text"&&o.push(a.text);t.push(o.join(""));}return t.join(`
3
- `)}function so(e){return e.noteType==="separator"||e.noteType==="continuationSeparator"||e.noteType==="continuationNotice"}function uo(e){return e.noteType==="separator"||e.noteType==="continuationSeparator"||e.noteType==="continuationNotice"}function Dt(e,t,n,o){if(!e&&!t)return;let r={};return e&&e!=="auto"?r.rgb=e:e==="auto"&&(r.auto=true),t&&(r.themeColor=t),n&&(r.themeTint=n),o&&(r.themeShade=o),Object.keys(r).length>0?r:void 0}function le(e){if(!e)return;let o={style:chunk3R7QHNI5_js.j(e,"w","val")??"none"},r=chunk3R7QHNI5_js.l(e,"w","sz");r!==void 0&&(o.size=r);let a=chunk3R7QHNI5_js.l(e,"w","space");a!==void 0&&(o.space=a);let u=chunk3R7QHNI5_js.j(e,"w","color"),l=chunk3R7QHNI5_js.j(e,"w","themeColor"),f=chunk3R7QHNI5_js.j(e,"w","themeTint"),c=chunk3R7QHNI5_js.j(e,"w","themeShade"),p=Dt(u,l,f,c);p&&(o.color=p);let d=chunk3R7QHNI5_js.j(e,"w","shadow");(d==="1"||d==="true")&&(o.shadow=true);let w=chunk3R7QHNI5_js.j(e,"w","frame");return (w==="1"||w==="true")&&(o.frame=true),o}function Wt(e){switch(e){case "landscape":return "landscape";case "portrait":return "portrait";default:return}}function Vt(e){switch(e){case "continuous":return "continuous";case "nextPage":return "nextPage";case "oddPage":return "oddPage";case "evenPage":return "evenPage";case "nextColumn":return "nextColumn";default:return}}function jt(e){switch(e){case "top":return "top";case "center":return "center";case "both":return "both";case "bottom":return "bottom";default:return}}function Ut(e){switch(e){case "continuous":return "continuous";case "newPage":return "newPage";case "newSection":return "newSection";default:return}}function Ze(e,t){let n={};if(!e)return n;let o=chunk3R7QHNI5_js.e(e,"w","pgSz");if(o){let m=chunk3R7QHNI5_js.l(o,"w","w");m!==void 0&&(n.pageWidth=m);let F=chunk3R7QHNI5_js.l(o,"w","h");F!==void 0&&(n.pageHeight=F);let E=chunk3R7QHNI5_js.j(o,"w","orient"),T=Wt(E);T&&(n.orientation=T);}let r=chunk3R7QHNI5_js.e(e,"w","pgMar");if(r){let m=chunk3R7QHNI5_js.l(r,"w","top");m!==void 0&&(n.marginTop=m);let F=chunk3R7QHNI5_js.l(r,"w","bottom");F!==void 0&&(n.marginBottom=F);let E=chunk3R7QHNI5_js.l(r,"w","left");E!==void 0&&(n.marginLeft=E);let T=chunk3R7QHNI5_js.l(r,"w","right");T!==void 0&&(n.marginRight=T);let k=chunk3R7QHNI5_js.l(r,"w","header");k!==void 0&&(n.headerDistance=k);let B=chunk3R7QHNI5_js.l(r,"w","footer");B!==void 0&&(n.footerDistance=B);let v=chunk3R7QHNI5_js.l(r,"w","gutter");v!==void 0&&(n.gutter=v);}let a=chunk3R7QHNI5_js.e(e,"w","cols");if(a){let m=chunk3R7QHNI5_js.l(a,"w","num");m!==void 0&&(n.columnCount=m);let F=chunk3R7QHNI5_js.l(a,"w","space");F!==void 0&&(n.columnSpace=F);let E=chunk3R7QHNI5_js.j(a,"w","equalWidth");E==="1"||E==="true"?n.equalWidth=true:(E==="0"||E==="false")&&(n.equalWidth=false);let T=chunk3R7QHNI5_js.j(a,"w","sep");(T==="1"||T==="true")&&(n.separator=true);let k=chunk3R7QHNI5_js.f(a,"w","col");if(k.length>0){n.columns=[];for(let B of k){let v={},I=chunk3R7QHNI5_js.l(B,"w","w");I!==void 0&&(v.width=I);let H=chunk3R7QHNI5_js.l(B,"w","space");H!==void 0&&(v.space=H),n.columns.push(v);}n.columnCount===void 0&&(n.columnCount=k.length);}}let u=chunk3R7QHNI5_js.e(e,"w","type");if(u){let m=chunk3R7QHNI5_js.j(u,"w","val"),F=Vt(m);F&&(n.sectionStart=F);}let l=chunk3R7QHNI5_js.e(e,"w","vAlign");if(l){let m=chunk3R7QHNI5_js.j(l,"w","val"),F=jt(m);F&&(n.verticalAlign=F);}let f=chunk3R7QHNI5_js.e(e,"w","bidi");f&&(n.bidi=chunk3R7QHNI5_js.m(f));let c=chunk3R7QHNI5_js.f(e,"w","headerReference");c.length>0&&(n.headerReferences=c.map(m=>je(m)));let p=chunk3R7QHNI5_js.f(e,"w","footerReference");p.length>0&&(n.footerReferences=p.map(m=>Ue(m)));let d=chunk3R7QHNI5_js.e(e,"w","titlePg");d&&(n.titlePg=chunk3R7QHNI5_js.m(d));let w=chunk3R7QHNI5_js.e(e,"w","evenAndOddHeaders");w&&(n.evenAndOddHeaders=chunk3R7QHNI5_js.m(w));let C=chunk3R7QHNI5_js.e(e,"w","lnNumType");if(C){n.lineNumbers={};let m=chunk3R7QHNI5_js.l(C,"w","start");m!==void 0&&(n.lineNumbers.start=m);let F=chunk3R7QHNI5_js.l(C,"w","countBy");F!==void 0&&(n.lineNumbers.countBy=F);let E=chunk3R7QHNI5_js.l(C,"w","distance");E!==void 0&&(n.lineNumbers.distance=E);let T=chunk3R7QHNI5_js.j(C,"w","restart"),k=Ut(T);k&&(n.lineNumbers.restart=k);}let y=chunk3R7QHNI5_js.e(e,"w","pgBorders");if(y){n.pageBorders={};let m=le(chunk3R7QHNI5_js.e(y,"w","top"));m&&(n.pageBorders.top=m);let F=le(chunk3R7QHNI5_js.e(y,"w","bottom"));F&&(n.pageBorders.bottom=F);let E=le(chunk3R7QHNI5_js.e(y,"w","left"));E&&(n.pageBorders.left=E);let T=le(chunk3R7QHNI5_js.e(y,"w","right"));T&&(n.pageBorders.right=T);let k=chunk3R7QHNI5_js.j(y,"w","display");(k==="allPages"||k==="firstPage"||k==="notFirstPage")&&(n.pageBorders.display=k);let B=chunk3R7QHNI5_js.j(y,"w","offsetFrom");(B==="page"||B==="text")&&(n.pageBorders.offsetFrom=B);let v=chunk3R7QHNI5_js.j(y,"w","zOrder");(v==="front"||v==="back")&&(n.pageBorders.zOrder=v);}let h=chunk3R7QHNI5_js.e(e,"w","background");if(h){n.background={};let m=chunk3R7QHNI5_js.j(h,"w","color");m&&m!=="auto"&&(n.background.color={rgb:m});let F=chunk3R7QHNI5_js.j(h,"w","themeColor");F&&(n.background.themeColor=F);let E=chunk3R7QHNI5_js.j(h,"w","themeTint");E&&(n.background.themeTint=E);let T=chunk3R7QHNI5_js.j(h,"w","themeShade");T&&(n.background.themeShade=T);}let b=chunk3R7QHNI5_js.e(e,"w","footnotePr");if(b){let m=$e(b);Object.keys(m).length>0&&(n.footnotePr=m);}let P=chunk3R7QHNI5_js.e(e,"w","endnotePr");if(P){let m=Ye(P);Object.keys(m).length>0&&(n.endnotePr=m);}let S=chunk3R7QHNI5_js.e(e,"w","docGrid");if(S){n.docGrid={};let m=chunk3R7QHNI5_js.j(S,"w","type");(m==="default"||m==="lines"||m==="linesAndChars"||m==="snapToChars")&&(n.docGrid.type=m);let F=chunk3R7QHNI5_js.l(S,"w","linePitch");F!==void 0&&(n.docGrid.linePitch=F);let E=chunk3R7QHNI5_js.l(S,"w","charSpace");E!==void 0&&(n.docGrid.charSpace=E);}let x=chunk3R7QHNI5_js.e(e,"w","paperSrc");if(x){let m=chunk3R7QHNI5_js.l(x,"w","first");m!==void 0&&(n.paperSrcFirst=m);let F=chunk3R7QHNI5_js.l(x,"w","other");F!==void 0&&(n.paperSrcOther=F);}return n}function go(){return {pageWidth:12240,pageHeight:15840,orientation:"portrait",marginTop:1440,marginBottom:1440,marginLeft:1440,marginRight:1440,headerDistance:720,footerDistance:720,gutter:0,columnCount:1,columnSpace:720,equalWidth:true,sectionStart:"nextPage",verticalAlign:"top"}}function Ke(e,t){if(!t||t.length===0)return e;let n=new Set((e??[]).map(r=>r.type)),o=t.filter(r=>!n.has(r.type));return o.length===0?e:[...e??[],...o]}function ho(e){if(e.length<2)return e;let t=[e[0]];for(let n=1;n<e.length;n++){let o=t[n-1].properties,r=e[n].properties,a=Ke(r.headerReferences,o.headerReferences),u=Ke(r.footerReferences,o.footerReferences),l=r.titlePg!==void 0?r.titlePg:o.titlePg;if(a===r.headerReferences&&u===r.footerReferences&&l===r.titlePg){t.push(e[n]);continue}t.push({...e[n],properties:{...r,headerReferences:a,footerReferences:u,titlePg:l}});}return t}function zt(e,t){return !e&&!t?true:!(!e||!t||e.bold!==t.bold||e.boldCs!==t.boldCs||e.italic!==t.italic||e.italicCs!==t.italicCs||e.strike!==t.strike||e.doubleStrike!==t.doubleStrike||e.smallCaps!==t.smallCaps||e.allCaps!==t.allCaps||e.hidden!==t.hidden||e.emboss!==t.emboss||e.imprint!==t.imprint||e.outline!==t.outline||e.shadow!==t.shadow||e.rtl!==t.rtl||e.cs!==t.cs||e.fontSize!==t.fontSize||e.fontSizeCs!==t.fontSizeCs||e.spacing!==t.spacing||e.position!==t.position||e.scale!==t.scale||e.kerning!==t.kerning||e.vertAlign!==t.vertAlign||e.highlight!==t.highlight||e.effect!==t.effect||e.emphasisMark!==t.emphasisMark||e.styleId!==t.styleId||!_t(e.underline,t.underline)||!se(e.color,t.color)||!qt(e.shading,t.shading)||!Gt(e.fontFamily,t.fontFamily))}function _t(e,t){return !e&&!t?true:!e||!t||e.style!==t.style?false:se(e.color,t.color)}function se(e,t){return !e&&!t?true:!e||!t?false:e.rgb===t.rgb&&e.auto===t.auto&&e.themeColor===t.themeColor&&e.themeTint===t.themeTint&&e.themeShade===t.themeShade}function qt(e,t){return !e&&!t?true:!(!e||!t||e.pattern!==t.pattern||!se(e.color,t.color)||!se(e.fill,t.fill))}function Gt(e,t){return !e&&!t?true:!e||!t?false:e.ascii===t.ascii&&e.hAnsi===t.hAnsi&&e.eastAsia===t.eastAsia&&e.cs===t.cs&&e.asciiTheme===t.asciiTheme&&e.hAnsiTheme===t.hAnsiTheme&&e.eastAsiaTheme===t.eastAsiaTheme&&e.csTheme===t.csTheme}function $t(e){return e.type==="text"||e.type==="softHyphen"||e.type==="noBreakHyphen"}function Qe(e){return e.content.length===0?true:e.content.every($t)}function Yt(e,t){let n=[];for(let o of e)n.push(o);if(n.length>0&&t.length>0&&n[n.length-1].type==="text"&&t[0].type==="text"){let o=n[n.length-1],r=t[0];n[n.length-1]={type:"text",text:o.text+r.text,preserveSpace:o.preserveSpace||r.preserveSpace||void 0};for(let a=1;a<t.length;a++)n.push(t[a]);}else for(let o of t)n.push(o);return n}function Kt(e){if(e.length<=1)return e;let t=[],n=null;for(let o of e)if(o.content.length!==0){if(n===null){n={...o,content:[...o.content]};continue}Qe(n)&&Qe(o)&&zt(n.formatting,o.formatting)?n={type:"run",formatting:n.formatting,content:Yt(n.content,o.content)}:(t.push(n),n={...o,content:[...o.content]});}return n!==null&&t.push(n),t}function be(e){if(e.length<=1)return e;let t=[],n=[];function o(){if(n.length>0){let r=Kt(n);t.push(...r),n.length=0;}}for(let r of e)if(r.type==="run")n.push(r);else if(o(),r.type==="hyperlink"){let a={...r,children:be(r.children)};t.push(a);}else t.push(r);return o(),t}function Je(e,t,n,o){let r={};return e&&e!=="auto"?r.rgb=e:e==="auto"&&(r.auto=true),t&&(r.themeColor=t),n&&(r.themeTint=n),o&&(r.themeShade=o),r}function Zt(e){if(!e)return;let t={},n=chunk3R7QHNI5_js.j(e,"w","color");n&&n!=="auto"&&(t.color={rgb:n});let o=chunk3R7QHNI5_js.j(e,"w","fill");o&&o!=="auto"&&(t.fill={rgb:o});let r=chunk3R7QHNI5_js.j(e,"w","themeFill");r&&(t.fill=t.fill||{},t.fill.themeColor=r);let a=chunk3R7QHNI5_js.j(e,"w","themeFillTint");a&&t.fill&&(t.fill.themeTint=a);let u=chunk3R7QHNI5_js.j(e,"w","themeFillShade");u&&t.fill&&(t.fill.themeShade=u);let l=chunk3R7QHNI5_js.j(e,"w","val");return l&&(t.pattern=l),Object.keys(t).length>0?t:void 0}function fe(e,t,n){if(!e)return;let o={},r=chunk3R7QHNI5_js.e(e,"w","b");r&&(o.bold=chunk3R7QHNI5_js.m(r));let a=chunk3R7QHNI5_js.e(e,"w","bCs");a&&(o.boldCs=chunk3R7QHNI5_js.m(a));let u=chunk3R7QHNI5_js.e(e,"w","i");u&&(o.italic=chunk3R7QHNI5_js.m(u));let l=chunk3R7QHNI5_js.e(e,"w","iCs");l&&(o.italicCs=chunk3R7QHNI5_js.m(l));let f=chunk3R7QHNI5_js.e(e,"w","u");if(f){let M=chunk3R7QHNI5_js.j(f,"w","val");if(M){o.underline={style:M};let U=chunk3R7QHNI5_js.j(f,"w","color"),z=chunk3R7QHNI5_js.j(f,"w","themeColor");(U||z)&&(o.underline.color=Je(U,z,chunk3R7QHNI5_js.j(f,"w","themeTint"),chunk3R7QHNI5_js.j(f,"w","themeShade")));}}let c=chunk3R7QHNI5_js.e(e,"w","strike");c&&(o.strike=chunk3R7QHNI5_js.m(c));let p=chunk3R7QHNI5_js.e(e,"w","dstrike");p&&(o.doubleStrike=chunk3R7QHNI5_js.m(p));let d=chunk3R7QHNI5_js.e(e,"w","vertAlign");if(d){let M=chunk3R7QHNI5_js.j(d,"w","val");(M==="superscript"||M==="subscript"||M==="baseline")&&(o.vertAlign=M);}let w=chunk3R7QHNI5_js.e(e,"w","smallCaps");w&&(o.smallCaps=chunk3R7QHNI5_js.m(w));let C=chunk3R7QHNI5_js.e(e,"w","caps");C&&(o.allCaps=chunk3R7QHNI5_js.m(C));let y=chunk3R7QHNI5_js.e(e,"w","vanish");y&&(o.hidden=chunk3R7QHNI5_js.m(y));let h=chunk3R7QHNI5_js.e(e,"w","color");h&&(o.color=Je(chunk3R7QHNI5_js.j(h,"w","val"),chunk3R7QHNI5_js.j(h,"w","themeColor"),chunk3R7QHNI5_js.j(h,"w","themeTint"),chunk3R7QHNI5_js.j(h,"w","themeShade")));let b=chunk3R7QHNI5_js.e(e,"w","highlight");if(b){let M=chunk3R7QHNI5_js.j(b,"w","val");M&&(o.highlight=M);}let P=chunk3R7QHNI5_js.e(e,"w","shd");P&&(o.shading=Zt(P));let S=chunk3R7QHNI5_js.e(e,"w","sz");if(S){let M=chunk3R7QHNI5_js.l(S,"w","val");M!==void 0&&(o.fontSize=M);}let x=chunk3R7QHNI5_js.e(e,"w","szCs");if(x){let M=chunk3R7QHNI5_js.l(x,"w","val");M!==void 0&&(o.fontSizeCs=M);}let m=chunk3R7QHNI5_js.e(e,"w","rFonts");if(m){o.fontFamily={ascii:chunk3R7QHNI5_js.j(m,"w","ascii")??void 0,hAnsi:chunk3R7QHNI5_js.j(m,"w","hAnsi")??void 0,eastAsia:chunk3R7QHNI5_js.j(m,"w","eastAsia")??void 0,cs:chunk3R7QHNI5_js.j(m,"w","cs")??void 0};let M=chunk3R7QHNI5_js.j(m,"w","asciiTheme");M&&(o.fontFamily.asciiTheme=M,t&&!o.fontFamily.ascii&&(o.fontFamily.ascii=$(t,M)));let U=chunk3R7QHNI5_js.j(m,"w","hAnsiTheme");U&&(o.fontFamily.hAnsiTheme=U,t&&!o.fontFamily.hAnsi&&(o.fontFamily.hAnsi=$(t,U)));let z=chunk3R7QHNI5_js.j(m,"w","eastAsiaTheme");z&&(o.fontFamily.eastAsiaTheme=z,t&&!o.fontFamily.eastAsia&&(o.fontFamily.eastAsia=$(t,z)));let pe=chunk3R7QHNI5_js.j(m,"w","cstheme");pe&&(o.fontFamily.csTheme=pe,t&&!o.fontFamily.cs&&(o.fontFamily.cs=$(t,pe)));}let F=chunk3R7QHNI5_js.e(e,"w","spacing");if(F){let M=chunk3R7QHNI5_js.l(F,"w","val");M!==void 0&&(o.spacing=M);}let E=chunk3R7QHNI5_js.e(e,"w","position");if(E){let M=chunk3R7QHNI5_js.l(E,"w","val");M!==void 0&&(o.position=M);}let T=chunk3R7QHNI5_js.e(e,"w","w");if(T){let M=chunk3R7QHNI5_js.l(T,"w","val");M!==void 0&&(o.scale=M);}let k=chunk3R7QHNI5_js.e(e,"w","kern");if(k){let M=chunk3R7QHNI5_js.l(k,"w","val");M!==void 0&&(o.kerning=M);}let B=chunk3R7QHNI5_js.e(e,"w","effect");if(B){let M=chunk3R7QHNI5_js.j(B,"w","val");M&&(o.effect=M);}let v=chunk3R7QHNI5_js.e(e,"w","em");if(v){let M=chunk3R7QHNI5_js.j(v,"w","val");M&&(o.emphasisMark=M);}let I=chunk3R7QHNI5_js.e(e,"w","emboss");I&&(o.emboss=chunk3R7QHNI5_js.m(I));let H=chunk3R7QHNI5_js.e(e,"w","imprint");H&&(o.imprint=chunk3R7QHNI5_js.m(H));let X=chunk3R7QHNI5_js.e(e,"w","outline");X&&(o.outline=chunk3R7QHNI5_js.m(X));let Te=chunk3R7QHNI5_js.e(e,"w","shadow");Te&&(o.shadow=chunk3R7QHNI5_js.m(Te));let Ce=chunk3R7QHNI5_js.e(e,"w","rtl");Ce&&(o.rtl=chunk3R7QHNI5_js.m(Ce));let Fe=chunk3R7QHNI5_js.e(e,"w","cs");Fe&&(o.cs=chunk3R7QHNI5_js.m(Fe));let xe=chunk3R7QHNI5_js.e(e,"w","rStyle");if(xe){let M=chunk3R7QHNI5_js.j(xe,"w","val");M&&(o.styleId=M);}return Object.keys(o).length>0?o:void 0}function Qt(e){let t=chunk3R7QHNI5_js.j(e,"w","id"),n=t?parseInt(t,10):0,o=(chunk3R7QHNI5_js.j(e,"w","author")??"").trim(),r=(chunk3R7QHNI5_js.j(e,"w","date")??"").trim(),a=(chunk3R7QHNI5_js.j(e,"w","rsid")??"").trim();return {id:Number.isInteger(n)&&n>=0?n:0,author:o.length>0?o:"Unknown",date:r.length>0?r:void 0,rsid:a.length>0?a:void 0}}function Jt(e,t,n,o){if(!e)return;let r=chunk3R7QHNI5_js.f(e,"w","rPrChange").map(a=>{let u=chunk3R7QHNI5_js.e(a,"w","rPr");return {type:"runPropertyChange",info:Qt(a),previousFormatting:fe(u,t),currentFormatting:o}}).filter(a=>a.previousFormatting||a.currentFormatting);return r.length>0?r:void 0}function en(e){let t=chunk3R7QHNI5_js.k(e),n=chunk3R7QHNI5_js.j(e,"xml","space")==="preserve";return {type:"text",text:t,preserveSpace:n||void 0}}function tn(){return {type:"tab"}}function nn(e){let t=chunk3R7QHNI5_js.j(e,"w","type"),n=chunk3R7QHNI5_js.j(e,"w","clear"),o={type:"break"};return (t==="page"||t==="column"||t==="textWrapping")&&(o.breakType=t),(n==="none"||n==="left"||n==="right"||n==="all")&&(o.clear=n),o}function on(e){let t=chunk3R7QHNI5_js.j(e,"w","font")??"",n=chunk3R7QHNI5_js.j(e,"w","char")??"";return {type:"symbol",font:t,char:n}}function rn(e){return {type:"footnoteRef",id:chunk3R7QHNI5_js.l(e,"w","id")??0}}function an(e){return {type:"endnoteRef",id:chunk3R7QHNI5_js.l(e,"w","id")??0}}function ln(e){let t=chunk3R7QHNI5_js.j(e,"w","fldCharType"),n=chunk3R7QHNI5_js.j(e,"w","fldLock")==="true"||chunk3R7QHNI5_js.j(e,"w","fldLock")==="1",o=chunk3R7QHNI5_js.j(e,"w","dirty")==="true"||chunk3R7QHNI5_js.j(e,"w","dirty")==="1",r="begin";return t==="separate"?r="separate":t==="end"&&(r="end"),{type:"fieldChar",charType:r,fldLock:n||void 0,dirty:o||void 0}}function sn(e){return {type:"instrText",text:chunk3R7QHNI5_js.k(e)}}function et(e,t,n){let o=chunkSCK6ZM5V_js.z(e,t??void 0,n??void 0);return o?{type:"drawing",image:o}:null}function ue(e){if(!e)return "";let t=e.indexOf(":");return t>=0?e.substring(t+1):e}function un(e,t,n){let o=[],r=chunk3R7QHNI5_js.i(e);for(let a of r)switch(ue(a.name)){case "t":o.push(en(a));break;case "tab":o.push(tn());break;case "br":o.push(nn(a));break;case "sym":o.push(on(a));break;case "footnoteReference":o.push(rn(a));break;case "endnoteReference":o.push(an(a));break;case "fldChar":o.push(ln(a));break;case "instrText":o.push(sn(a));break;case "softHyphen":o.push({type:"softHyphen"});break;case "noBreakHyphen":o.push({type:"noBreakHyphen"});break;case "drawing":let l=et(a,t,n);l&&o.push(l);break;case "pict":case "object":break;case "rPr":break;case "lastRenderedPageBreak":break;case "cr":o.push({type:"break",breakType:"textWrapping"});break;case "AlternateContent":{let c=chunk3R7QHNI5_js.i(a).find(p=>ue(p.name)==="Choice")??chunk3R7QHNI5_js.i(a).find(p=>ue(p.name)==="Fallback");if(c){for(let p of chunk3R7QHNI5_js.i(c))if(ue(p.name)==="drawing"){let w=et(p,t,n);w?.image?.src&&o.push(w);}}break}case "footnoteRef":o.push({type:"footnoteRefMark"});break;case "endnoteRef":o.push({type:"endnoteRefMark"});break;case "separator":o.push({type:"separator"});break;case "continuationSeparator":o.push({type:"continuationSeparator"});break;}return o}function K(e,t,n,o=null,r=null){let a={type:"run",content:[]},u=chunk3R7QHNI5_js.e(e,"w","rPr");return u&&(a.formatting=fe(u,n),a.propertyChanges=Jt(u,n,t,a.formatting)),a.content=un(e,o,r),a}function fn(e,t,n,o){let r={};return e&&e!=="auto"?r.rgb=e:e==="auto"&&(r.auto=true),t&&(r.themeColor=t),n&&(r.themeTint=n),o&&(r.themeShade=o),r}function cn(e){if(!e)return;let t={},n=chunk3R7QHNI5_js.j(e,"w","color");n&&n!=="auto"&&(t.color={rgb:n});let o=chunk3R7QHNI5_js.j(e,"w","fill");o&&o!=="auto"&&(t.fill={rgb:o});let r=chunk3R7QHNI5_js.j(e,"w","themeFill");r&&(t.fill=t.fill||{},t.fill.themeColor=r);let a=chunk3R7QHNI5_js.j(e,"w","themeFillTint");a&&t.fill&&(t.fill.themeTint=a);let u=chunk3R7QHNI5_js.j(e,"w","themeFillShade");u&&t.fill&&(t.fill.themeShade=u);let l=chunk3R7QHNI5_js.j(e,"w","val");return l&&(t.pattern=l),Object.keys(t).length>0?t:void 0}function G(e){if(!e)return;let t=chunk3R7QHNI5_js.j(e,"w","val");if(!t)return;let n={style:t},o=chunk3R7QHNI5_js.j(e,"w","color"),r=chunk3R7QHNI5_js.j(e,"w","themeColor");(o||r)&&(n.color=fn(o,r,chunk3R7QHNI5_js.j(e,"w","themeTint"),chunk3R7QHNI5_js.j(e,"w","themeShade")));let a=chunk3R7QHNI5_js.l(e,"w","sz");a!==void 0&&(n.size=a);let u=chunk3R7QHNI5_js.l(e,"w","space");u!==void 0&&(n.space=u);let l=chunk3R7QHNI5_js.j(e,"w","shadow");l&&(n.shadow=l==="1"||l==="true");let f=chunk3R7QHNI5_js.j(e,"w","frame");return f&&(n.frame=f==="1"||f==="true"),n}function pn(e){if(!e)return;let t=chunk3R7QHNI5_js.f(e,"w","tab");if(t.length===0)return;let n=[];for(let o of t){let r=chunk3R7QHNI5_js.l(o,"w","pos"),a=chunk3R7QHNI5_js.j(o,"w","val");if(r!==void 0&&a){let u={position:r,alignment:a},l=chunk3R7QHNI5_js.j(o,"w","leader");l&&(u.leader=l),n.push(u);}}return n.length>0?n:void 0}function dn(e){if(!e)return;let t={},n=chunk3R7QHNI5_js.l(e,"w","w");n!==void 0&&(t.width=n);let o=chunk3R7QHNI5_js.l(e,"w","h");o!==void 0&&(t.height=o);let r=chunk3R7QHNI5_js.j(e,"w","hAnchor");(r==="text"||r==="margin"||r==="page")&&(t.hAnchor=r);let a=chunk3R7QHNI5_js.j(e,"w","vAnchor");(a==="text"||a==="margin"||a==="page")&&(t.vAnchor=a);let u=chunk3R7QHNI5_js.l(e,"w","x");u!==void 0&&(t.x=u);let l=chunk3R7QHNI5_js.l(e,"w","y");l!==void 0&&(t.y=l);let f=chunk3R7QHNI5_js.j(e,"w","xAlign");f&&(t.xAlign=f);let c=chunk3R7QHNI5_js.j(e,"w","yAlign");c&&(t.yAlign=c);let p=chunk3R7QHNI5_js.j(e,"w","wrap");return p&&(t.wrap=p),Object.keys(t).length>0?t:void 0}function ce(e,t,n){if(!e)return;let o={},r=chunk3R7QHNI5_js.e(e,"w","jc");if(r){let T=chunk3R7QHNI5_js.j(r,"w","val");T&&(o.alignment=T);}let a=chunk3R7QHNI5_js.e(e,"w","bidi");a&&(o.bidi=chunk3R7QHNI5_js.m(a));let u=chunk3R7QHNI5_js.e(e,"w","spacing");if(u){let T=chunk3R7QHNI5_js.l(u,"w","before");T!==void 0&&(o.spaceBefore=T);let k=chunk3R7QHNI5_js.l(u,"w","after");k!==void 0&&(o.spaceAfter=k);let B=chunk3R7QHNI5_js.l(u,"w","line");B!==void 0&&(o.lineSpacing=B);let v={};T!==void 0&&(v.before=true),k!==void 0&&(v.after=true),(v.before||v.after)&&(o.spacingExplicit=v);let I=chunk3R7QHNI5_js.j(u,"w","lineRule");I&&(o.lineSpacingRule=I);let H=chunk3R7QHNI5_js.j(u,"w","beforeAutospacing");H&&(o.beforeAutospacing=H==="1"||H==="true");let X=chunk3R7QHNI5_js.j(u,"w","afterAutospacing");X&&(o.afterAutospacing=X==="1"||X==="true");}let l=chunk3R7QHNI5_js.e(e,"w","ind");if(l){let T=chunk3R7QHNI5_js.l(l,"w","left");T!==void 0&&(o.indentLeft=T);let k=chunk3R7QHNI5_js.l(l,"w","right");k!==void 0&&(o.indentRight=k);let B=chunk3R7QHNI5_js.l(l,"w","firstLine");B!==void 0&&(o.indentFirstLine=B);let v=chunk3R7QHNI5_js.l(l,"w","hanging");v!==void 0&&(o.indentFirstLine=-v,o.hangingIndent=true);let I=chunk3R7QHNI5_js.l(l,"w","start");I!==void 0&&o.indentLeft===void 0&&(o.indentLeft=I);let H=chunk3R7QHNI5_js.l(l,"w","end");H!==void 0&&o.indentRight===void 0&&(o.indentRight=H);}let f=chunk3R7QHNI5_js.e(e,"w","pBdr");if(f){let T={},k=G(chunk3R7QHNI5_js.e(f,"w","top"));k&&(T.top=k);let B=G(chunk3R7QHNI5_js.e(f,"w","bottom"));B&&(T.bottom=B);let v=G(chunk3R7QHNI5_js.e(f,"w","left"));v&&(T.left=v);let I=G(chunk3R7QHNI5_js.e(f,"w","right"));I&&(T.right=I);let H=G(chunk3R7QHNI5_js.e(f,"w","between"));H&&(T.between=H);let X=G(chunk3R7QHNI5_js.e(f,"w","bar"));X&&(T.bar=X),Object.keys(T).length>0&&(o.borders=T);}let c=chunk3R7QHNI5_js.e(e,"w","shd");c&&(o.shading=cn(c));let p=chunk3R7QHNI5_js.e(e,"w","tabs");p&&(o.tabs=pn(p));let d=chunk3R7QHNI5_js.e(e,"w","keepNext");d&&(o.keepNext=chunk3R7QHNI5_js.m(d));let w=chunk3R7QHNI5_js.e(e,"w","keepLines");w&&(o.keepLines=chunk3R7QHNI5_js.m(w));let C=chunk3R7QHNI5_js.e(e,"w","widowControl");C&&(o.widowControl=chunk3R7QHNI5_js.m(C));let y=chunk3R7QHNI5_js.e(e,"w","pageBreakBefore");y&&(o.pageBreakBefore=chunk3R7QHNI5_js.m(y));let h=chunk3R7QHNI5_js.e(e,"w","contextualSpacing");h&&(o.contextualSpacing=chunk3R7QHNI5_js.m(h));let b=chunk3R7QHNI5_js.e(e,"w","numPr");if(b){let T=chunk3R7QHNI5_js.e(b,"w","numId"),k=chunk3R7QHNI5_js.e(b,"w","ilvl");if(T||k){if(o.numPr={},T){let B=chunk3R7QHNI5_js.l(T,"w","val");B!==void 0&&(o.numPr.numId=B);}if(k){let B=chunk3R7QHNI5_js.l(k,"w","val");B!==void 0&&(o.numPr.ilvl=B);}}}let P=chunk3R7QHNI5_js.e(e,"w","outlineLvl");if(P){let T=chunk3R7QHNI5_js.l(P,"w","val");T!==void 0&&(o.outlineLevel=T);}let S=chunk3R7QHNI5_js.e(e,"w","pStyle");if(S){let T=chunk3R7QHNI5_js.j(S,"w","val");T&&(o.styleId=T);}let x=chunk3R7QHNI5_js.e(e,"w","framePr");x&&(o.frame=dn(x));let m=chunk3R7QHNI5_js.e(e,"w","suppressLineNumbers");m&&(o.suppressLineNumbers=chunk3R7QHNI5_js.m(m));let F=chunk3R7QHNI5_js.e(e,"w","suppressAutoHyphens");F&&(o.suppressAutoHyphens=chunk3R7QHNI5_js.m(F));let E=chunk3R7QHNI5_js.e(e,"w","rPr");return E&&(o.runProperties=fe(E,t)),Object.keys(o).length>0?o:void 0}function mn(e){if(!e)return "";let t=e.indexOf(":");return t>=0?e.substring(t+1):e}function gn(e){let t=chunk3R7QHNI5_js.l(e,"w","id")??0,n=chunk3R7QHNI5_js.j(e,"w","name")??"",o={type:"bookmarkStart",id:t,name:n},r=chunk3R7QHNI5_js.l(e,"w","colFirst");r!==void 0&&(o.colFirst=r);let a=chunk3R7QHNI5_js.l(e,"w","colLast");return a!==void 0&&(o.colLast=a),o}function hn(e){return {type:"bookmarkEnd",id:chunk3R7QHNI5_js.l(e,"w","id")??0}}function tt(e,t,n=null,o=null,r=null){let a={type:"hyperlink",children:[]},u=chunk3R7QHNI5_js.j(e,"r","id");if(u&&(a.rId=u,t)){let C=t.get(u);C&&(chunkZ3LGMBJC_js.c(C),a.href=C.target);}let l=chunk3R7QHNI5_js.j(e,"w","anchor");l&&(a.anchor=l,a.href||(a.href=`#${l}`));let f=chunk3R7QHNI5_js.j(e,"w","tooltip");f&&(a.tooltip=f);let c=chunk3R7QHNI5_js.j(e,"w","tgtFrame");c&&(a.target=c);let p=chunk3R7QHNI5_js.j(e,"w","history");(p==="1"||p==="true")&&(a.history=true);let d=chunk3R7QHNI5_js.j(e,"w","docLocation");d&&(a.docLocation=d);let w=chunk3R7QHNI5_js.i(e);for(let C of w)switch(mn(C.name)){case "r":a.children.push(K(C,n,o,t,r));break;case "bookmarkStart":a.children.push(gn(C));break;case "bookmarkEnd":a.children.push(hn(C));break}return a}function Po(e){let t="";for(let n of e.children)if(n.type==="run")for(let o of n.content)o.type==="text"?t+=o.text:o.type==="tab"&&(t+=" ");return t}function Bo(e){return e.href?/^https?:\/\/|^mailto:|^tel:|^ftp:/i.test(e.href):!!e.rId&&!e.anchor}function vo(e){return !!e.anchor}function No(e){return e.href}function Ao(e){return e.children.some(t=>t.type==="run")}function Ho(e){return e.children.filter(t=>t.type==="run")}function Io(e,t){if(e.rId){let n=t.get(e.rId);if(n)return chunkZ3LGMBJC_js.c(n),e.href=n.target,e.href}return e.anchor&&!e.href&&(e.href=`#${e.anchor}`),e.href}function nt(e){let t=chunk3R7QHNI5_js.l(e,"w","id")??0,n=chunk3R7QHNI5_js.j(e,"w","name")??"",o={type:"bookmarkStart",id:t,name:n},r=chunk3R7QHNI5_js.l(e,"w","colFirst");r!==void 0&&(o.colFirst=r);let a=chunk3R7QHNI5_js.l(e,"w","colLast");return a!==void 0&&(o.colLast=a),o}function ot(e){return {type:"bookmarkEnd",id:chunk3R7QHNI5_js.l(e,"w","id")??0}}function it(e){let t="";if(e.type==="text"&&typeof e.text=="string")return e.text;if(e.elements)for(let n of e.elements)if((n.name?.replace(/^.*:/,"")??"")==="t"&&n.elements)for(let r of n.elements)r.type==="text"&&typeof r.text=="string"&&(t+=r.text);else t+=it(n);return t}function Q(e){if(!e)return "";let t=e.indexOf(":");return t>=0?e.substring(t+1):e}function at(e){let t=new Set(["hyperlink","smartTag","sdt","sdtContent","fldSimple","customXml","ins","del","moveFrom","moveTo"]),n=new Set(["pPr","proofErr","bookmarkStart","bookmarkEnd","commentRangeStart","commentRangeEnd","commentReference","permStart","permEnd","rsidR"]),o=new Set(["t","tab","br","cr","sym","drawing","pict","object","softHyphen","noBreakHyphen","fldChar","instrText","pgNum","separator","continuationSeparator","footnoteRef","endnoteRef","footnoteReference","endnoteReference","ptab","monthShort","monthLong","yearShort","yearLong","dayShort","dayLong"]),r=false;function a(l){for(let f of chunk3R7QHNI5_js.i(l)){let c=Q(f.name);if(!n.has(c)){if(c==="lastRenderedPageBreak"){r=true;continue}if(c==="r"){for(let p of chunk3R7QHNI5_js.i(f)){let d=Q(p.name);if(d!=="rPr"){if(d==="lastRenderedPageBreak"){r=true;continue}if(d==="br"&&chunk3R7QHNI5_js.j(p,"w","type")==="page")return "forced";if(o.has(d))return "visible"}}continue}if(t.has(c)){let p=a(f);if(p!=="continue")return p;continue}return "continue"}}return "continue"}let u=a(e);return u==="forced"?true:u==="visible"?r:false}function rt(e,t){if(!e)return `w:${t}`;let n=e.indexOf(":");return n<0?t:`${e.substring(0,n+1)}${t}`}function lt(e){if(e.type!=="element")return e;let t=Q(e.name),n=e.name;return t==="delText"?n=rt(e.name,"t"):t==="delInstrText"&&(n=rt(e.name,"instrText")),{...e,name:n,elements:e.elements?.map(lt)}}function Z(e){let t=chunk3R7QHNI5_js.j(e,"w","id"),n=t?parseInt(t,10):0,o=chunk3R7QHNI5_js.j(e,"w","author"),r=chunk3R7QHNI5_js.j(e,"w","date"),a=o?.trim()??"",u=r?.trim()??"";return {id:Number.isInteger(n)&&n>=0?n:0,author:a.length>0?a:"Unknown",date:u.length>0?u:void 0}}function wn(e){return Z(e)}function st(e,t,n,o){if(!e)return;let r=chunk3R7QHNI5_js.f(e,"w","pPrChange").map(a=>{let u=chunk3R7QHNI5_js.e(a,"w","pPr");return {type:"paragraphPropertyChange",info:wn(a),previousFormatting:ce(u,t),currentFormatting:o}}).filter(a=>a.previousFormatting||a.currentFormatting);return r.length>0?r:void 0}function yn(e,t,n,o,r){return tt(e,t,n,o,r)}function bn(e){return nt(e)}function Tn(e){return ot(e)}function ut(e){let t=e.trim().match(/^\\?([A-Z]+)/i);if(!t)return "UNKNOWN";let n=t[1].toUpperCase();return ["PAGE","NUMPAGES","NUMWORDS","NUMCHARS","DATE","TIME","CREATEDATE","SAVEDATE","PRINTDATE","AUTHOR","TITLE","SUBJECT","KEYWORDS","COMMENTS","FILENAME","FILESIZE","TEMPLATE","DOCPROPERTY","DOCVARIABLE","REF","PAGEREF","NOTEREF","HYPERLINK","TOC","TOA","INDEX","SEQ","STYLEREF","AUTONUM","AUTONUMLGL","AUTONUMOUT","IF","MERGEFIELD","NEXT","NEXTIF","ASK","SET","QUOTE","INCLUDETEXT","INCLUDEPICTURE","SYMBOL","ADVANCE","EDITTIME","REVNUM","SECTION","SECTIONPAGES","USERADDRESS","USERNAME","USERINITIALS"].includes(n)?n:"UNKNOWN"}function Cn(e,t,n,o,r){let a=chunk3R7QHNI5_js.j(e,"w","instr")??"",u=ut(a),l={type:"simpleField",instruction:a,fieldType:u,content:[]},f=chunk3R7QHNI5_js.j(e,"w","fldLock");(f==="1"||f==="true")&&(l.fldLock=true);let c=chunk3R7QHNI5_js.j(e,"w","dirty");(c==="1"||c==="true")&&(l.dirty=true);let p=chunk3R7QHNI5_js.i(e);for(let d of p)Q(d.name)==="r"&&l.content.push(K(d,t,n,o,r));return l}function j(e,t,n,o,r,a,u="default"){let l=[],f=chunk3R7QHNI5_js.i(e),c=false,p="",d=[],w=[],C=false,y=false,h=false;for(let b of f){let P=Q(b.name);switch(P){case "r":{let S=u==="deletion"?lt(b):b,x=K(S,t,n,r,a),m=false,F=false,E=false,T="";for(let k of x.content)k.type==="fieldChar"?k.charType==="begin"?(m=true,k.fldLock&&(y=true),k.dirty&&(h=true)):k.charType==="separate"?F=true:k.charType==="end"&&(E=true):k.type==="instrText"&&(T+=k.text);if(m&&(c=true,C=false,p="",d=[],w=[],y=false,h=false),c){if(T&&(p+=T),F&&(C=true),C&&!E?F||w.push(x):!C&&!m&&d.push(x),E){let k={type:"complexField",instruction:p.trim(),fieldType:ut(p),fieldCode:d,fieldResult:w};y&&(k.fldLock=true),h&&(k.dirty=true),l.push(k),c=false;}}else l.push(x);break}case "hyperlink":l.push(yn(b,r,t,n,a));break;case "bookmarkStart":l.push(bn(b));break;case "bookmarkEnd":l.push(Tn(b));break;case "fldSimple":l.push(Cn(b,t,n,r,a));break;case "pPr":break;case "proofErr":case "permStart":case "permEnd":case "customXml":break;case "sdt":{let S=(b.elements??[]).find(m=>m.type==="element"&&(m.name==="w:sdtPr"||m.name?.endsWith(":sdtPr"))),x=(b.elements??[]).find(m=>m.type==="element"&&(m.name==="w:sdtContent"||m.name?.endsWith(":sdtContent")));if(x){let m=j(x,t,n,null,r,a,u),E={type:"inlineSdt",properties:re(S??null),content:m.filter(T=>T.type==="run"||T.type==="hyperlink"||T.type==="simpleField"||T.type==="complexField"||T.type==="inlineSdt"||T.type==="mathEquation")};l.push(E);}break}case "ins":{let S=Z(b),x=j(b,t,n,null,r,a),m={type:"insertion",info:S,content:x.filter(F=>F.type==="run"||F.type==="hyperlink")};l.push(m);break}case "del":{let S=Z(b),x=j(b,t,n,null,r,a,"deletion"),m={type:"deletion",info:S,content:x.filter(F=>F.type==="run"||F.type==="hyperlink")};l.push(m);break}case "moveFrom":{let S=Z(b),x=j(b,t,n,null,r,a,"deletion"),m={type:"moveFrom",info:S,content:x.filter(F=>F.type==="run"||F.type==="hyperlink")};l.push(m);break}case "moveTo":{let S=Z(b),x=j(b,t,n,null,r,a),m={type:"moveTo",info:S,content:x.filter(F=>F.type==="run"||F.type==="hyperlink")};l.push(m);break}case "smartTag":break;case "moveFromRangeStart":{let S=parseInt(chunk3R7QHNI5_js.j(b,"w","id")??"0",10),x=chunk3R7QHNI5_js.j(b,"w","name")??"";l.push({type:"moveFromRangeStart",id:S,name:x});break}case "moveFromRangeEnd":{let S=parseInt(chunk3R7QHNI5_js.j(b,"w","id")??"0",10);l.push({type:"moveFromRangeEnd",id:S});break}case "moveToRangeStart":{let S=parseInt(chunk3R7QHNI5_js.j(b,"w","id")??"0",10),x=chunk3R7QHNI5_js.j(b,"w","name")??"";l.push({type:"moveToRangeStart",id:S,name:x});break}case "moveToRangeEnd":{let S=parseInt(chunk3R7QHNI5_js.j(b,"w","id")??"0",10);l.push({type:"moveToRangeEnd",id:S});break}case "commentRangeStart":{let S=parseInt(chunk3R7QHNI5_js.j(b,"w","id")??"0",10);l.push({type:"commentRangeStart",id:S});break}case "commentRangeEnd":{let S=parseInt(chunk3R7QHNI5_js.j(b,"w","id")??"0",10);l.push({type:"commentRangeEnd",id:S});break}case "oMath":case "oMathPara":{let S=P==="oMathPara",x=chunk3R7QHNI5_js.b(b),m=it(b),F={type:"mathEquation",display:S?"block":"inline",ommlXml:x,plainText:m||void 0};l.push(F);break}}}return l}function Fn(e){let t="";for(let n of e.content)if(n.type==="run")for(let o of n.content)o.type==="text"?t+=o.text:o.type==="tab"?t+=" ":o.type==="break"&&(o.breakType==="page"?t+="\f":t+=`
4
- `);else if(n.type==="hyperlink"){for(let o of n.children)if(o.type==="run")for(let r of o.content)r.type==="text"&&(t+=r.text);}else if(n.type==="simpleField"){for(let o of n.content)if(o.type==="run")for(let r of o.content)r.type==="text"&&(t+=r.text);}else if(n.type==="complexField")for(let o of n.fieldResult)for(let r of o.content)r.type==="text"&&(t+=r.text);return t}function ft(e){let t=chunk3R7QHNI5_js.j(e,"w","id");if(t==null)return null;let n=parseInt(t,10);if(Number.isNaN(n))return null;let o=chunk3R7QHNI5_js.j(e,"w","author")??"",r=chunk3R7QHNI5_js.j(e,"w","date")??void 0,a={id:n,author:o};return r&&(a.date=r),a}function Y(e,t,n,o,r=null,a=null,u){let l={type:"paragraph",content:[]},f=chunk3R7QHNI5_js.j(e,"w14","paraId")??chunk3R7QHNI5_js.j(e,"w","paraId");f&&(l.paraId=f);let c=chunk3R7QHNI5_js.j(e,"w14","textId")??chunk3R7QHNI5_js.j(e,"w","textId");c&&(l.textId=c),!u?.inHeaderFooter&&at(e)&&(l.renderedPageBreakBefore=true);let p=chunk3R7QHNI5_js.e(e,"w","pPr");if(p){l.formatting=ce(p,n),l.propertyChanges=st(p,n,t,l.formatting);let C=chunk3R7QHNI5_js.e(p,"w","rPr");if(C){let h=chunk3R7QHNI5_js.e(C,"w","ins");if(h){let P=ft(h);P&&(l.pPrIns=P);}let b=chunk3R7QHNI5_js.e(C,"w","del");if(b){let P=ft(b);P&&(l.pPrDel=P);}}let y=chunk3R7QHNI5_js.e(p,"w","sectPr");y&&(l.sectionProperties=Ze(y));}let d=j(e,t,n,o,r,a);l.content=be(d);let w=l.formatting?.numPr;if(!w&&l.formatting?.styleId&&t){let C=t.get(l.formatting.styleId);C?.pPr?.numPr&&(w=C.pPr.numPr,l.formatting||(l.formatting={}),l.formatting.numPr=w);}if(w&&o){let{numId:C,ilvl:y=0}=w;if(C!==void 0&&C!==0){let h=o.getLevel(C,y);if(h){let b=[];for(let x=0;x<=y;x+=1){let m=o.getLevel(C,x);b.push(m?.numFmt??"decimal");}let P=o.getInstance(C),S=P?.levelOverrides?.find(x=>x.ilvl===y);if(l.listRendering={level:y,numId:C,marker:h.lvlText,isBullet:h.numFmt==="bullet",numFmt:h.numFmt,markerHidden:h.rPr?.hidden||void 0,markerFontFamily:h.rPr?.fontFamily?.ascii||h.rPr?.fontFamily?.hAnsi||void 0,markerFontSize:h.rPr?.fontSize?h.rPr.fontSize/2:void 0,markerSuffix:h.suffix,levelNumFmts:b,abstractNumId:P?.abstractNumId,startOverride:S?.startOverride},h.pPr){l.formatting||(l.formatting={});let x=p?chunk3R7QHNI5_js.e(p,"w","ind"):null,m=x!=null&&(chunk3R7QHNI5_js.j(x,"w","left")!==null||chunk3R7QHNI5_js.j(x,"w","start")!==null),F=T=>{let k=x?chunk3R7QHNI5_js.j(x,"w",T):null;if(k===null)return false;let B=parseInt(k,10);return Number.isNaN(B)||B!==0},E=x!=null&&(F("firstLine")||F("hanging"));!m&&h.pPr.indentLeft!==void 0&&(l.formatting.indentLeft=h.pPr.indentLeft),E||(h.pPr.indentFirstLine!==void 0&&(l.formatting.indentFirstLine=h.pPr.indentFirstLine),h.pPr.hangingIndent!==void 0&&(l.formatting.hangingIndent=h.pPr.hangingIndent));}}}}return l}function ct(e){if(!e)return;let t={},n=O(chunk3R7QHNI5_js.e(e,"w","tblW"));n&&(t.width=n);let o=chunk3R7QHNI5_js.e(e,"w","jc");if(o){let h=chunk3R7QHNI5_js.j(o,"w","val");(h==="left"||h==="center"||h==="right"||h==="start")&&(t.justification=h==="start"?"left":h);}let r=O(chunk3R7QHNI5_js.e(e,"w","tblCellSpacing"));r&&(t.cellSpacing=r);let a=O(chunk3R7QHNI5_js.e(e,"w","tblInd"));a&&(t.indent=a);let u=te(chunk3R7QHNI5_js.e(e,"w","tblBorders"));u&&(t.borders=u);let l=ne(chunk3R7QHNI5_js.e(e,"w","tblCellMar"));l&&(t.cellMargins=l);let f=chunk3R7QHNI5_js.e(e,"w","tblLayout");if(f){let h=chunk3R7QHNI5_js.j(f,"w","type");(h==="fixed"||h==="autofit")&&(t.layout=h);}let c=chunk3R7QHNI5_js.e(e,"w","tblStyle");if(c){let h=chunk3R7QHNI5_js.j(c,"w","val");h&&(t.styleId=h);}let p=he(chunk3R7QHNI5_js.e(e,"w","tblLook"));p&&(t.look=p);let d=oe(chunk3R7QHNI5_js.e(e,"w","shd"));d&&(t.shading=d);let w=chunk3R7QHNI5_js.e(e,"w","tblOverlap");if(w){let h=chunk3R7QHNI5_js.j(w,"w","val");(h==="never"||h==="overlap")&&(t.overlap=h);}let C=we(chunk3R7QHNI5_js.e(e,"w","tblpPr"));if(C&&(t.floating=C),chunk3R7QHNI5_js.m(chunk3R7QHNI5_js.e(e,"w","bidiVisual"))&&(t.bidi=true),Object.keys(t).length!==0)return t}function xn(e,t){if(!e)return;let n=chunk3R7QHNI5_js.f(e,"w","tblPrChange").map(o=>{let r=chunk3R7QHNI5_js.e(o,"w","tblPr");return {type:"tablePropertyChange",info:ee(o),previousFormatting:ct(r),currentFormatting:t}}).filter(o=>o.previousFormatting||o.currentFormatting);return n.length>0?n:void 0}function kn(e,t){if(!e)return;let n=chunk3R7QHNI5_js.f(e,"w","trPrChange").map(o=>{let r=chunk3R7QHNI5_js.e(o,"w","trPr");return {type:"tableRowPropertyChange",info:ee(o),previousFormatting:pt(r),currentFormatting:t}}).filter(o=>o.previousFormatting||o.currentFormatting);return n.length>0?n:void 0}function Sn(e,t){if(!e)return;let n=chunk3R7QHNI5_js.f(e,"w","tcPrChange").map(o=>{let r=chunk3R7QHNI5_js.e(o,"w","tcPr");return {type:"tableCellPropertyChange",info:ee(o),previousFormatting:mt(r),currentFormatting:t}}).filter(o=>o.previousFormatting||o.currentFormatting);return n.length>0?n:void 0}function Mn(e){if(!e)return;let t=chunk3R7QHNI5_js.e(e,"w","ins");if(t)return {type:"tableRowInsertion",info:V(t)};let n=chunk3R7QHNI5_js.e(e,"w","del");if(n)return {type:"tableRowDeletion",info:V(n)}}function Rn(e){if(!e)return;let t=chunk3R7QHNI5_js.e(e,"w","cellIns");if(t)return {type:"tableCellInsertion",info:V(t)};let n=chunk3R7QHNI5_js.e(e,"w","cellDel");if(n)return {type:"tableCellDeletion",info:V(n)};let o=chunk3R7QHNI5_js.e(e,"w","cellMerge");if(o){let r=chunk3R7QHNI5_js.j(o,"w","vMerge"),a=chunk3R7QHNI5_js.j(o,"w","vMergeOrig"),u=l=>l==="rest"||l==="cont";return {type:"tableCellMerge",info:V(o),...u(r)?{vMerge:r}:{},...u(a)?{vMergeOrig:a}:{}}}}function pt(e){if(!e)return;let t={},n=chunk3R7QHNI5_js.e(e,"w","trHeight");if(n){let f=chunk3R7QHNI5_js.l(n,"w","val");f!==void 0&&f>0&&(t.height={value:f,type:"dxa"});let c=chunk3R7QHNI5_js.j(n,"w","hRule");(c==="auto"||c==="atLeast"||c==="exact")&&(t.heightRule=c);}chunk3R7QHNI5_js.m(chunk3R7QHNI5_js.e(e,"w","tblHeader"))&&(t.header=true),chunk3R7QHNI5_js.m(chunk3R7QHNI5_js.e(e,"w","cantSplit"))&&(t.cantSplit=true);let a=chunk3R7QHNI5_js.e(e,"w","jc");if(a){let f=chunk3R7QHNI5_js.j(a,"w","val");(f==="left"||f==="center"||f==="right")&&(t.justification=f);}chunk3R7QHNI5_js.m(chunk3R7QHNI5_js.e(e,"w","hidden"))&&(t.hidden=true);let l=dt(chunk3R7QHNI5_js.e(e,"w","cnfStyle"));if(l&&(t.conditionalFormat=l),Object.keys(t).length!==0)return t}function dt(e){if(!e)return;let t={},n=chunk3R7QHNI5_js.j(e,"w","firstRow");(n==="1"||n==="true")&&(t.firstRow=true);let o=chunk3R7QHNI5_js.j(e,"w","lastRow");(o==="1"||o==="true")&&(t.lastRow=true);let r=chunk3R7QHNI5_js.j(e,"w","firstColumn");(r==="1"||r==="true")&&(t.firstColumn=true);let a=chunk3R7QHNI5_js.j(e,"w","lastColumn");(a==="1"||a==="true")&&(t.lastColumn=true);let u=chunk3R7QHNI5_js.j(e,"w","oddHBand");(u==="1"||u==="true")&&(t.oddHBand=true);let l=chunk3R7QHNI5_js.j(e,"w","evenHBand");(l==="1"||l==="true")&&(t.evenHBand=true);let f=chunk3R7QHNI5_js.j(e,"w","oddVBand");(f==="1"||f==="true")&&(t.oddVBand=true);let c=chunk3R7QHNI5_js.j(e,"w","evenVBand");(c==="1"||c==="true")&&(t.evenVBand=true);let p=chunk3R7QHNI5_js.j(e,"w","firstRowFirstColumn");(p==="1"||p==="true")&&(t.nwCell=true);let d=chunk3R7QHNI5_js.j(e,"w","firstRowLastColumn");(d==="1"||d==="true")&&(t.neCell=true);let w=chunk3R7QHNI5_js.j(e,"w","lastRowFirstColumn");(w==="1"||w==="true")&&(t.swCell=true);let C=chunk3R7QHNI5_js.j(e,"w","lastRowLastColumn");(C==="1"||C==="true")&&(t.seCell=true);let y=chunk3R7QHNI5_js.j(e,"w","val");if(y&&y.length===12&&(y[0]==="1"&&(t.firstRow=true),y[1]==="1"&&(t.lastRow=true),y[2]==="1"&&(t.firstColumn=true),y[3]==="1"&&(t.lastColumn=true),y[4]==="1"&&(t.oddVBand=true),y[5]==="1"&&(t.evenVBand=true),y[6]==="1"&&(t.oddHBand=true),y[7]==="1"&&(t.evenHBand=true),y[8]==="1"&&(t.nwCell=true),y[9]==="1"&&(t.neCell=true),y[10]==="1"&&(t.swCell=true),y[11]==="1"&&(t.seCell=true)),Object.keys(t).length!==0)return t}function mt(e){if(!e)return;let t={},n=O(chunk3R7QHNI5_js.e(e,"w","tcW"));n&&(t.width=n);let o=te(chunk3R7QHNI5_js.e(e,"w","tcBorders"));o&&(t.borders=o);let r=ne(chunk3R7QHNI5_js.e(e,"w","tcMar"));r&&(t.margins=r);let a=oe(chunk3R7QHNI5_js.e(e,"w","shd"));a&&(t.shading=a);let u=chunk3R7QHNI5_js.e(e,"w","vAlign");if(u){let y=chunk3R7QHNI5_js.j(u,"w","val");(y==="top"||y==="center"||y==="bottom")&&(t.verticalAlign=y);}let l=chunk3R7QHNI5_js.e(e,"w","textDirection");if(l){let y=chunk3R7QHNI5_js.j(l,"w","val");y&&(t.textDirection=y);}let f=chunk3R7QHNI5_js.e(e,"w","gridSpan");if(f){let y=chunk3R7QHNI5_js.l(f,"w","val");y!==void 0&&y>1&&(t.gridSpan=y);}let c=chunk3R7QHNI5_js.e(e,"w","vMerge");c&&(chunk3R7QHNI5_js.j(c,"w","val")==="restart"?t.vMerge="restart":t.vMerge="continue"),chunk3R7QHNI5_js.m(chunk3R7QHNI5_js.e(e,"w","tcFitText"))&&(t.fitText=true),chunk3R7QHNI5_js.m(chunk3R7QHNI5_js.e(e,"w","noWrap"))&&(t.noWrap=true),chunk3R7QHNI5_js.m(chunk3R7QHNI5_js.e(e,"w","hideMark"))&&(t.hideMark=true);let C=dt(chunk3R7QHNI5_js.e(e,"w","cnfStyle"));if(C&&(t.conditionalFormat=C),Object.keys(t).length!==0)return t}function En(e,t,n,o,r,a,u){let l=[],f=e.elements||[];for(let c of f){if(!c.name)continue;let p=c.name.split(":").pop();if(p==="p"){let d=Y(c,t,n,o,r,a,u);l.push(d);}else if(p==="tbl"){let d=ye(c,t,n,o,r,a,u);l.push(d);}}return l.length===0&&l.push({type:"paragraph",content:[]}),l}function Pn(e,t,n,o,r,a,u){let l={type:"tableCell",content:[]},f=chunk3R7QHNI5_js.e(e,"w","tcPr"),c=mt(f);return c&&(l.formatting=c),l.propertyChanges=Sn(f,c),l.structuralChange=Rn(f),l.content=En(e,t,n,o,r,a,u),l}function Bn(e,t,n,o,r,a,u){let l={type:"tableRow",cells:[]},f=chunk3R7QHNI5_js.e(e,"w","trPr"),c=pt(f);c&&(l.formatting=c),l.propertyChanges=kn(f,c),l.structuralChange=Mn(f);let p=chunk3R7QHNI5_js.f(e,"w","tc");for(let d of p){let w=Pn(d,t,n,o,r,a,u);l.cells.push(w);}return l}function vn(e){if(!e)return;let t=[],n=chunk3R7QHNI5_js.f(e,"w","gridCol");for(let o of n){let r=chunk3R7QHNI5_js.l(o,"w","w")??0;t.push(r);}if(!(t.length>0&&t.every(o=>o<=0)))return t.length>0?t:void 0}function Nn(e){return e.cells.reduce((t,n)=>t+(n.formatting?.gridSpan??1),0)}function An(e){let t=Math.max(e.columnWidths?.length??0,...e.rows.map(n=>Nn(n)));if(!(t<=1))for(let n of e.rows){if(n.cells.length!==1)continue;let o=n.cells[0];(o.formatting?.gridSpan??1)>=t||o.formatting?.vMerge||o.formatting?.gridSpan==null&&(o.formatting={...o.formatting??{},gridSpan:t});}}function ye(e,t,n,o,r,a,u){let l={type:"table",rows:[]},f=chunk3R7QHNI5_js.e(e,"w","tblPr"),c=ct(f);c&&(l.formatting=c),l.propertyChanges=xn(f,c);let p=vn(chunk3R7QHNI5_js.e(e,"w","tblGrid"));p&&(l.columnWidths=p);let d=chunk3R7QHNI5_js.f(e,"w","tr");for(let w of d){let C=Bn(w,t,n,o,r,a,u);l.rows.push(C);}return An(l),l}exports.A=uo;exports.B=Ze;exports.C=go;exports.D=ho;exports.E=K;exports.F=tt;exports.G=Po;exports.H=Bo;exports.I=vo;exports.J=No;exports.K=Ao;exports.L=Ho;exports.M=Io;exports.N=Fn;exports.O=Y;exports.a=In;exports.b=$;exports.c=Ie;exports.d=W;exports.e=te;exports.f=ne;exports.g=oe;exports.h=he;exports.i=we;exports.j=Tt;exports.k=Ct;exports.l=Ft;exports.m=xt;exports.n=kt;exports.o=ct;exports.p=Et;exports.q=q;exports.r=Jn;exports.s=eo;exports.t=ro;exports.u=io;exports.v=$e;exports.w=Ye;exports.x=ao;exports.y=lo;exports.z=so;
@@ -1,15 +0,0 @@
1
- 'use strict';var l=new Set,d=new Map,y=new Set,f=new Map,w=new Set,p=new Set,u=false;function m(t,n){let e=t instanceof Error?t.message:String(t),o=new Error(`[font] ${n}: ${e}`,{cause:t});if(p.size>0)for(let i of p)try{i(o);}catch(a){console.error("Font error subscriber threw:",a);}else console.warn(o.message);}function x(t,n="normal"){return `${t.trim()}|${n}`}function P(t,n=[400,700],e=["normal","italic"]){let o=encodeURIComponent(t),i=[];for(let s of e){let r=s==="italic"?1:0;for(let c of n)i.push(`${r},${c}`);}i.sort();let a=i.join(";");return `https://fonts.googleapis.com/css2?family=${o}:ital,wght@${a}&display=swap`}async function h(t,n){if(typeof document>"u")return false;let e=t.trim();if(l.has(e))return true;let o=d.get(e);if(o)return o;let i=(async()=>{u=true;try{let a=P(e,n?.weights,n?.styles),s=document.createElement("link");return s.rel="stylesheet",s.href=a,await new Promise(c=>{s.onload=()=>c(!0),s.onerror=()=>c(!1),document.head.appendChild(s),setTimeout(()=>c(!1),5e3);})?(await b(e,3e3),l.add(e),F([e]),!0):!1}catch(a){return m(a,`failed to load "${e}"`),false}finally{d.delete(e),d.size===0&&f.size===0&&(u=false);}})();return d.set(e,i),i}async function A(t,n){let e=t.filter(o=>!l.has(o.trim()));e.length!==0&&await Promise.all(e.map(o=>h(o,n)));}function T(t){return l.has(t.trim())}function z(){return u}function G(){return Array.from(l)}function U(t){return w.add(t),()=>{w.delete(t);}}function F(t){for(let n of w)try{n(t);}catch(e){m(e,"load callback threw");}}function I(t){return p.add(t),()=>{p.delete(t);}}async function b(t,n){if("fonts"in document)try{let e=`400 16px "${t}"`;return await Promise.race([document.fonts.load(e),new Promise(o=>setTimeout(o,n))]),document.fonts.check(e)}catch{}return await new Promise(e=>setTimeout(e,100)),true}function M(t,n="sans-serif"){if(typeof document>"u")return false;let e=(i,a)=>{let r=document.createElement("canvas").getContext("2d");if(!r)return false;r.textBaseline="top";let c="abcdefghijklmnopqrstuvwxyz0123456789";r.font=`72px ${a}`;let g=r.measureText(c).width;return r.font=`72px "${i}", ${a}`,r.measureText(c).width!==g};return e(t,n)?true:e(t,n==="sans-serif"?"serif":"sans-serif")}async function R(t,n,e){if(typeof document>"u")return false;let o=t.trim(),i=x(o,e?.weight);if(y.has(i))return true;let a=f.get(i);if(a)return a;let s=(async()=>{u=true;try{let r=new Blob([n],{type:"font/ttf"}),c=URL.createObjectURL(r),g=document.createElement("style");return g.textContent=`
2
- @font-face {
3
- font-family: "${o}";
4
- src: url(${c}) format('truetype');
5
- font-weight: ${e?.weight??"normal"};
6
- font-display: swap;
7
- }
8
- `,document.head.appendChild(g),await b(o,3e3),y.add(i),l.add(o),F([o]),!0}catch(r){return m(r,`failed to load "${o}" from buffer`),false}finally{f.delete(i),d.size===0&&f.size===0&&(u=false);}})();return f.set(i,s),s}function C(t){let n=t.split("?")[0].split("#")[0].toLowerCase();return n.endsWith(".woff2")?"woff2":n.endsWith(".woff")?"woff":n.endsWith(".otf")?"opentype":"truetype"}async function $(t,n,e){if(typeof document>"u")return false;if(/[<>]/.test(n))return m(new Error(`invalid src URL for "${t}": contains '<' or '>'`),"rejected src"),false;let o=t.trim(),i=x(o,e?.weight);if(y.has(i))return true;let a=f.get(i);if(a)return a;let s=(async()=>{u=true;try{let r=document.createElement("style");return r.textContent=`
9
- @font-face {
10
- font-family: "${o}";
11
- src: url(${JSON.stringify(n)}) format('${C(n)}');
12
- font-weight: ${e?.weight??"normal"};
13
- font-display: swap;
14
- }
15
- `,document.head.appendChild(r),await b(o,3e3),y.add(i),l.add(o),F([o]),!0}catch(r){return m(r,`failed to load "${o}" from ${n}`),false}finally{f.delete(i),d.size===0&&f.size===0&&(u=false);}})();return f.set(i,s),s}async function D(t){!t||t.length===0||await Promise.all(t.map(n=>$(n.family,n.src,{weight:n.weight})));}var k={Calibri:"Carlito",Cambria:"Caladea",Arial:"Arimo","Times New Roman":"Tinos","Courier New":"Cousine",Garamond:"EB Garamond","Book Antiqua":"EB Garamond",Georgia:"Tinos",Verdana:"Open Sans",Tahoma:"Open Sans","Trebuchet MS":"Source Sans Pro","Century Gothic":"Poppins","Franklin Gothic":"Libre Franklin",Palatino:"EB Garamond","Palatino Linotype":"EB Garamond","Lucida Sans":"Open Sans","Segoe UI":"Open Sans",Impact:"Anton","Comic Sans MS":"Comic Neue",Consolas:"Inconsolata","Lucida Console":"Inconsolata",Monaco:"Fira Code"};function S(t){let n=t.trim();return k[n]||n}async function E(t){let n=t.trim(),e=S(n);if(e!==n){let o=await h(e);return o&&l.add(n),o}return h(e)}async function v(t){let n=[...new Set(t.map(e=>e.trim()))];await Promise.all(n.map(e=>E(e)));}async function W(){await A(["Carlito","Caladea","Arimo","Tinos","Cousine","EB Garamond"]);}function B(t){let n=new Set,e=t;if(!e?.package)return n;let o=e.package?.document?.content;if(Array.isArray(o)){for(let a of o)if(a?.type==="paragraph"&&Array.isArray(a.content)){for(let s of a.content)if(s?.type==="run"&&s.formatting?.fontFamily){let{ascii:r,hAnsi:c}=s.formatting.fontFamily;r&&n.add(r),c&&c!==r&&n.add(c);}}}let i=e.package?.styles?.styles;if(Array.isArray(i)){for(let a of i)if(a?.runProperties?.fontFamily){let{ascii:s,hAnsi:r}=a.runProperties.fontFamily;s&&n.add(s),r&&r!==s&&n.add(r);}}return n}async function O(t){let n=B(t);n.size!==0&&await v(Array.from(n));}async function j(t){if(t instanceof ArrayBuffer)return t;if(t instanceof Uint8Array){let n=new ArrayBuffer(t.byteLength);return new Uint8Array(n).set(t),n}if(t instanceof Blob)return t.arrayBuffer();throw new TypeError(`Unsupported DocxInput type: ${typeof t}`)}exports.a=h;exports.b=A;exports.c=T;exports.d=z;exports.e=G;exports.f=U;exports.g=I;exports.h=M;exports.i=R;exports.j=$;exports.k=D;exports.l=k;exports.m=S;exports.n=E;exports.o=v;exports.p=W;exports.q=B;exports.r=O;exports.s=j;
@@ -1,3 +0,0 @@
1
- import {b,a as a$1}from'./chunk-AMENZY5F.mjs';import {a,o,d,b as b$1}from'./chunk-67LVRQIR.mjs';import {k as k$1,j as j$1,p,c,m}from'./chunk-VW22RZ6C.mjs';function re(e,n){if(!e)return {};let t={};if(e.fontFamily){let a=null;if(e.fontFamily.asciiTheme&&n?.fontScheme&&(a=b(e.fontFamily.asciiTheme,n.fontScheme)),a||(a=e.fontFamily.ascii||e.fontFamily.hAnsi||e.fontFamily.eastAsia||e.fontFamily.cs||null),a){let d=a$1(a);t.fontFamily=d.cssFallback;}}if(e.fontSize!==void 0&&(t.fontSize=`${k$1(e.fontSize)}pt`),e.bold&&(t.fontWeight="bold"),e.italic&&(t.fontStyle="italic"),e.color&&(t.color=a(e.color,n)),e.highlight&&e.highlight!=="none"&&(t.backgroundColor=o(e.highlight)),e.shading){let a=T(e.shading,n);a&&!t.backgroundColor&&(t.backgroundColor=a);}let r=[],i=[],o$1=[];if(e.underline&&e.underline.style!=="none"){r.push("underline");let a$1=z(e.underline.style);a$1!=="solid"&&i.push(a$1),e.underline.color&&o$1.push(a(e.underline.color,n));}if(e.strike&&r.push("line-through"),e.doubleStrike&&r.push("line-through"),r.length>0&&(t.textDecoration=r.join(" "),i.length>0&&(t.textDecorationStyle=i[0]),o$1.length>0&&(t.textDecorationColor=o$1[0])),e.vertAlign)switch(e.vertAlign){case "superscript":t.verticalAlign="super",t.fontSize||(t.fontSize="0.83em");break;case "subscript":t.verticalAlign="sub",t.fontSize||(t.fontSize="0.83em");break}if(e.position&&e.position!==0){let a=j$1(e.position);t.position="relative",t.top=p(-a);}return e.allCaps?t.textTransform="uppercase":e.smallCaps&&(t.fontVariant="small-caps"),e.spacing!==void 0&&e.spacing!==0&&(t.letterSpacing=p(c(e.spacing))),e.scale!==void 0&&e.scale!==100&&(t.transform=`scaleX(${e.scale/100})`,t.display="inline-block"),e.hidden&&(t.display="none"),e.emboss&&(t.textShadow="1px 1px 1px rgba(255,255,255,0.5), -1px -1px 1px rgba(0,0,0,0.3)"),e.imprint&&(t.textShadow="-1px -1px 1px rgba(255,255,255,0.5), 1px 1px 1px rgba(0,0,0,0.3)"),e.outline&&(t.WebkitTextStroke="1px currentColor",t.WebkitTextFillColor="transparent"),e.shadow&&!e.emboss&&!e.imprint&&(t.textShadow="1px 1px 2px rgba(0,0,0,0.3)"),e.rtl&&(t.direction="rtl"),t}function ie(e,n){if(!e)return {};let t={};if(e.alignment&&(t.textAlign=j(e.alignment)),e.spaceBefore!==void 0&&(t.marginTop=p(c(e.spaceBefore))),e.spaceAfter!==void 0&&(t.marginBottom=p(c(e.spaceAfter))),e.lineSpacing!==void 0&&e.lineSpacing>0)switch(e.lineSpacingRule){case "exact":{let r=c(e.lineSpacing);r>0&&(t.lineHeight=p(r));break}case "atLeast":{let r=c(e.lineSpacing);r>0&&(t.minHeight=p(r),t.lineHeight=p(r));break}default:{let r=e.lineSpacing/240;r>0&&(t.lineHeight=r.toString());break}}if(e.indentLeft!==void 0&&(t.marginLeft=p(c(e.indentLeft))),e.indentRight!==void 0&&(t.marginRight=p(c(e.indentRight))),e.indentFirstLine!==void 0&&(e.hangingIndent?t.textIndent=p(c(e.indentFirstLine)):t.textIndent=p(c(e.indentFirstLine))),e.borders&&(e.borders.top&&Object.assign(t,h(e.borders.top,"Top",n)),e.borders.bottom&&Object.assign(t,h(e.borders.bottom,"Bottom",n)),e.borders.left&&Object.assign(t,h(e.borders.left,"Left",n)),e.borders.right&&Object.assign(t,h(e.borders.right,"Right",n))),e.shading){let r=T(e.shading,n);r&&(t.backgroundColor=r);}return e.bidi&&(t.direction="rtl"),e.pageBreakBefore&&(t.pageBreakBefore="always"),e.keepNext&&(t.pageBreakAfter="avoid"),e.keepLines&&(t.pageBreakInside="avoid"),t}function h(e,n="",t){if(!e||e.style==="none"||e.style==="nil")return {};let r={},i=e.size?m(e.size):1,o=e.color?a(e.color,t):"#000000",a$1=$(e.style),d=`border${n}Width`,g=`border${n}Style`,s=`border${n}Color`;return r[d]=p(Math.max(1,i)),r[g]=a$1,r[s]=o,r}function T(e,n){return !e||e.pattern==="clear"||e.pattern==="nil"?"":e.fill?e.fill.auto||e.fill.rgb==="auto"||e.fill.rgb==="FFFFFF"?"":d(e.fill,n):e.pattern==="solid"&&e.color?d(e.color,n):e.pattern&&e.pattern.startsWith("pct")&&e.color?d(e.color,n):""}function z(e){switch(e){case "double":return "double";case "dotted":case "dottedHeavy":return "dotted";case "dash":case "dashedHeavy":case "dashLong":case "dashLongHeavy":case "dotDash":case "dashDotHeavy":case "dotDotDash":case "dashDotDotHeavy":return "dashed";case "wave":case "wavyHeavy":case "wavyDouble":return "wavy";default:return "solid"}}function j(e){switch(e){case "center":return "center";case "right":return "right";case "both":case "distribute":return "justify";default:return "left"}}function $(e){switch(e){case "none":case "nil":return "none";case "double":case "triple":return "double";case "dotted":return "dotted";case "dashed":case "dashSmallGap":return "dashed";case "threeDEmboss":return "ridge";case "threeDEngrave":return "groove";case "outset":return "outset";case "inset":return "inset";default:return "solid"}}function oe(...e){let n={};for(let t of e)t&&Object.assign(n,t);return n}function se(e,n){if(!e)return {};let t={};if(e.verticalAlign&&(t.verticalAlign=e.verticalAlign),e.textDirection&&(e.textDirection.includes("rl")||e.textDirection.includes("Rl"))&&(t.direction="rtl"),e.shading){let r=T(e.shading,n);r&&(t.backgroundColor=r);}return e.borders&&(e.borders.top&&Object.assign(t,h(e.borders.top,"Top",n)),e.borders.bottom&&Object.assign(t,h(e.borders.bottom,"Bottom",n)),e.borders.left&&Object.assign(t,h(e.borders.left,"Left",n)),e.borders.right&&Object.assign(t,h(e.borders.right,"Right",n))),e.margins&&(e.margins.top?.value&&(t.paddingTop=p(c(e.margins.top.value))),e.margins.bottom?.value&&(t.paddingBottom=p(c(e.margins.bottom.value))),e.margins.left?.value&&(t.paddingLeft=p(c(e.margins.left.value))),e.margins.right?.value&&(t.paddingRight=p(c(e.margins.right.value)))),t}function ae(e,n){if(!e)return {};let t={};if(e.pageWidth&&(t.width=p(c(e.pageWidth))),e.pageHeight&&(t.minHeight=p(c(e.pageHeight))),e.marginTop&&(t.paddingTop=p(c(e.marginTop))),e.marginBottom&&(t.paddingBottom=p(c(e.marginBottom))),e.marginLeft&&(t.paddingLeft=p(c(e.marginLeft))),e.marginRight&&(t.paddingRight=p(c(e.marginRight))),e.background?.color){let r=a(e.background.color,n);r&&(t.backgroundColor=r);}return t}var ue="application/x-docx-editor",f={HTML:"text/html",PLAIN:"text/plain"};function pe(e){if(!e)return [];let n=()=>{if(!e.items||e.items.length===0)return [];let s=[];for(let l of Array.from(e.items)){if(l.kind!=="file"||!l.type.startsWith("image/"))continue;let c=l.getAsFile();c&&s.push(c);}return s},t=()=>!e.files||e.files.length===0?[]:Array.from(e.files).filter(s=>s.type.startsWith("image/")),r=n(),i=r.length?r:t();if(i.length<=1)return i;let o=["image/png","image/jpeg","image/webp","image/gif","image/svg+xml","image/bmp","image/tiff"],a=s=>{let l=s[0],c=o.indexOf(l.type);c<0&&(c=Number.MAX_SAFE_INTEGER);for(let y of s.slice(1)){let b=o.indexOf(y.type);if(b<0&&(b=Number.MAX_SAFE_INTEGER),b<c){l=y,c=b;continue}b===c&&y.size>l.size&&(l=y);}return l},d=new Map;for(let s of i){let l=s.name?.trim()??"",y=(l?l.replace(/\.[^/.]+$/,"").toLowerCase():"")||`size:${s.size}`,b=d.get(y);b?b.push(s):d.set(y,[s]);}let g=[];for(let s of d.values())g.push(a(s));return g}async function N(e,n={}){let{includeFormatting:t=true,onError:r,theme:i}=n;try{let o=v(e,t,i);return await S(o)}catch(o){return r?.(o),false}}async function de(e,n={}){let{includeFormatting:t=true,onError:r,theme:i}=n;try{let o=K(e,t,i);return await S(o)}catch(o){return r?.(o),false}}function v(e,n=true,t){let r=e.map(P).join(""),i=n?W(e,t):w(r),o=JSON.stringify(e);return {plainText:r,html:i,internal:o}}function K(e,n=true,t){let r=e.map(V).join(`
2
- `),i=n?Q(e,t):w(r),o=JSON.stringify(e);return {plainText:r,html:i,internal:o}}async function S(e){try{if(navigator.clipboard&&navigator.clipboard.write){let n=[new ClipboardItem({[f.PLAIN]:new Blob([e.plainText],{type:f.PLAIN}),[f.HTML]:new Blob([e.html],{type:f.HTML})})];return await navigator.clipboard.write(n),!0}return B(e)}catch{return B(e)}}function B(e){let n=document.createElement("div");n.innerHTML=e.html,n.style.position="fixed",n.style.left="-9999px",document.body.appendChild(n);try{let t=window.getSelection();if(!t)return !1;let r=document.createRange();r.selectNodeContents(n),t.removeAllRanges(),t.addRange(r);let i=document.execCommand("copy");return t.removeAllRanges(),i}finally{document.body.removeChild(n);}}async function fe(e={}){let{cleanWordFormatting:n=true,onError:t}=e;try{if(navigator.clipboard&&navigator.clipboard.read){let r=await navigator.clipboard.read();return await G(r,n)}return null}catch(r){return t?.(r),null}}async function G(e,n){let t="",r="";for(let i of e)i.types.includes(f.HTML)&&(t=await(await i.getType(f.HTML)).text()),i.types.includes(f.PLAIN)&&(r=await(await i.getType(f.PLAIN)).text());return O(t,r,n)}function _(e,n={}){let{cleanWordFormatting:t=true}=n,r=e.clipboardData;if(!r)return null;let i=r.getData(f.HTML),o=r.getData(f.PLAIN);return O(i,o,t)}function O(e,n,t=true){let r=U(e),i=X(e);if(i){let d=e.match(/data-docx-editor-content="([^"]+)"/);if(d)try{return {runs:JSON.parse(decodeURIComponent(d[1])),fromWord:!1,fromEditor:!0,plainText:n}}catch{}}let o=e;return r&&t&&(o=J(e)),{runs:Y(o,n),fromWord:r,fromEditor:i,plainText:n}}function U(e){return e.includes("urn:schemas-microsoft-com:office")||e.includes("mso-")||e.includes("MsoNormal")||e.includes('class="Mso')||e.includes("<!--[if gte mso")}function X(e){return e.includes("data-docx-editor")||e.includes("docx-run")||e.includes("docx-paragraph")}function J(e){let n=e;return n=n.replace(/<!--\[if[\s\S]*?<!\[endif\]-->/gi,""),n=n.replace(/<!--[\s\S]*?-->/g,""),n=n.replace(/<\?xml[^>]*>/gi,""),n=n.replace(/<o:[^>]*>[\s\S]*?<\/o:[^>]*>/gi,""),n=n.replace(/<o:[^>]*\/>/gi,""),n=n.replace(/<w:[^>]*>[\s\S]*?<\/w:[^>]*>/gi,""),n=n.replace(/<w:[^>]*\/>/gi,""),n=n.replace(/\s*mso-[^:;]+:[^;]+;?/gi,""),n=n.replace(/\s*style="\s*"/gi,""),n=n.replace(/\s*class="[^"]*Mso[^"]*"/gi,""),n=n.replace(/<span[^>]*>\s*<\/span>/gi,""),n=n.replace(/<\/?font[^>]*>/gi,""),n=n.replace(/\s+/g," ").trim(),n}function Y(e,n){if(!e||e.trim()==="")return n?[F(n)]:[];let t=document.createElement("div");t.innerHTML=e;let r=[];return k(t,r,{}),r.length===0&&n?[F(n)]:r}function k(e,n,t){if(e.nodeType===Node.TEXT_NODE){let a=e.textContent||"";(a.trim()||a.includes(" "))&&n.push(F(a,t));return}if(e.nodeType!==Node.ELEMENT_NODE)return;let r=e,i=r.tagName.toLowerCase(),o={...t,...q(r)};switch(i){case "br":n.push(M(o));return;case "p":case "div":for(let a of r.childNodes)k(a,n,o);r.nextSibling&&n.push(M(o));return;case "b":case "strong":o.bold=true;break;case "i":case "em":o.italic=true;break;case "u":o.underline={style:"single"};break;case "s":case "strike":case "del":o.strike=true;break;case "sup":o.vertAlign="superscript";break;case "sub":o.vertAlign="subscript";break;case "code":case "pre":o.fontFamily={ascii:"Courier New"};break}for(let a of r.childNodes)k(a,n,o);}function q(e){let n={},t=e.style;(t.fontWeight==="bold"||parseInt(t.fontWeight)>=700)&&(n.bold=true),t.fontStyle==="italic"&&(n.italic=true);let r=t.textDecoration||t.textDecorationLine;if(r&&(r.includes("underline")&&(n.underline={style:"single"}),r.includes("line-through")&&(n.strike=true)),t.fontSize){let i=parseFloat(t.fontSize);isNaN(i)||(n.fontSize=Math.round(i/1.333*2));}if(t.fontFamily){let i=t.fontFamily.replace(/["']/g,"").split(",")[0].trim();i&&(n.fontFamily={ascii:i});}if(t.color){let i=I(t.color);i&&(n.color={rgb:i});}if(t.backgroundColor&&t.backgroundColor!=="transparent"){let i=I(t.backgroundColor);i&&(n.shading={fill:{rgb:i}});}return n}function I(e){if(!e||e==="transparent"||e==="inherit")return null;if(e.startsWith("#"))return e.slice(1).toUpperCase();let n=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(n){let t=parseInt(n[1]).toString(16).padStart(2,"0"),r=parseInt(n[2]).toString(16).padStart(2,"0"),i=parseInt(n[3]).toString(16).padStart(2,"0");return (t+r+i).toUpperCase()}return null}function P(e){return e.content.map(n=>n.type==="text"?n.text:n.type==="tab"?" ":n.type==="break"&&n.breakType==="textWrapping"?`
3
- `:"").join("")}function V(e){return (e.content||[]).map(n=>n.type==="run"?P(n):"").join("")}function W(e,n){return e.map(t=>Z(t,n)).join("")}function Q(e,n){return e.map(t=>`<p>${W(t.content?.filter(r=>r.type==="run")||[],n)}</p>`).join("")}function Z(e,n){let t=P(e);if(!t)return "";let r=w(t),i=e.formatting;if(!i)return r;i.bold&&(r=`<strong>${r}</strong>`),i.italic&&(r=`<em>${r}</em>`),i.underline&&(r=`<u>${r}</u>`),i.strike&&(r=`<s>${r}</s>`),i.vertAlign==="superscript"&&(r=`<sup>${r}</sup>`),i.vertAlign==="subscript"&&(r=`<sub>${r}</sub>`);let o=[];if(i.fontSize){let g=i.fontSize/2;o.push(`font-size: ${g}pt`);}i.fontFamily?.ascii&&o.push(`font-family: "${i.fontFamily.ascii}"`);let a=b$1(i.color,n);a&&o.push(`color: #${a}`);let d=b$1(i.shading?.fill,n);return d&&o.push(`background-color: #${d}`),o.length>0&&(r=`<span style="${o.join("; ")}">${r}</span>`),r}function w(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function F(e,n){return {type:"run",formatting:n,content:[{type:"text",text:e}]}}function M(e){return {type:"run",formatting:e,content:[{type:"break",breakType:"textWrapping"}]}}function ge(e){let{onCopy:n,onCut:t,onPaste:r,clipboardOptions:i={}}=e;return {handleCopy:async s=>{if(!n)return;let l=n();if(!l)return;s.preventDefault();let c=v(l.runs);s.clipboardData?(s.clipboardData.setData(f.PLAIN,c.plainText),s.clipboardData.setData(f.HTML,c.html)):await S(c);},handleCut:async s=>{if(!t)return;let l=t();if(!l)return;s.preventDefault();let c=v(l.runs);s.clipboardData?(s.clipboardData.setData(f.PLAIN,c.plainText),s.clipboardData.setData(f.HTML,c.html)):await S(c);},handlePaste:s=>{if(!r)return;s.preventDefault();let l=_(s,i);l&&r(l);},handleKeyDown:async s=>{let l=s.ctrlKey||s.metaKey;if(l&&s.key==="c"&&!s.shiftKey&&n){let c=n();c&&await N(c.runs,i);}if(l&&s.key==="x"&&!s.shiftKey&&t){let c=t();c&&await N(c.runs,i);}}}}export{re as a,ie as b,h as c,T as d,oe as e,se as f,ae as g,ue as h,f as i,pe as j,N as k,de as l,v as m,K as n,S as o,fe as p,_ as q,O as r,U as s,X as t,J as u,Y as v,ge as w};
@@ -1,2 +0,0 @@
1
- 'use strict';var chunkC2BAPYGJ_js=require('./chunk-C2BAPYGJ.js');function a(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function s(e){return e==null||!Number.isFinite(e)?"0":String(Math.round(e))}var x='xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex" xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" xmlns:cx2="http://schemas.microsoft.com/office/drawing/2015/10/21/chartex" xmlns:cx3="http://schemas.microsoft.com/office/drawing/2016/5/9/chartex" xmlns:cx4="http://schemas.microsoft.com/office/drawing/2016/5/10/chartex" xmlns:cx5="http://schemas.microsoft.com/office/drawing/2016/5/11/chartex" xmlns:cx6="http://schemas.microsoft.com/office/drawing/2016/5/12/chartex" xmlns:cx7="http://schemas.microsoft.com/office/drawing/2016/5/13/chartex" xmlns:cx8="http://schemas.microsoft.com/office/drawing/2016/5/14/chartex" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:aink="http://schemas.microsoft.com/office/drawing/2016/ink" xmlns:am3d="http://schemas.microsoft.com/office/drawing/2017/model3d" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:oel="http://schemas.microsoft.com/office/2019/extlst" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:w16du="http://schemas.microsoft.com/office/word/2023/wordml/word16du" xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" xmlns:w16sdtfl="http://schemas.microsoft.com/office/word/2024/wordml/sdtformatlock" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"',y='mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh w16sdtfl w16du wp14"';function R(e,t){if(!e||e.style==="none"||e.style==="nil")return "";let n=[`w:val="${e.style}"`];return e.size!==void 0&&n.push(`w:sz="${s(e.size)}"`),e.space!==void 0&&n.push(`w:space="${s(e.space)}"`),e.color&&(e.color.auto?n.push('w:color="auto"'):e.color.rgb&&n.push(`w:color="${e.color.rgb}"`),e.color.themeColor&&n.push(`w:themeColor="${e.color.themeColor}"`),e.color.themeTint&&n.push(`w:themeTint="${e.color.themeTint}"`),e.color.themeShade&&n.push(`w:themeShade="${e.color.themeShade}"`)),e.shadow&&n.push('w:shadow="true"'),e.frame&&n.push('w:frame="true"'),`<w:${t} ${n.join(" ")}/>`}function ze(e){return `<w:headerReference ${[`w:type="${e.type}"`,`r:id="${e.rId}"`].join(" ")}/>`}function ke(e){return `<w:footerReference ${[`w:type="${e.type}"`,`r:id="${e.rId}"`].join(" ")}/>`}function Re(e){if(!e)return "";let t=[];return e.position&&t.push(`<w:pos w:val="${e.position}"/>`),e.numFmt&&t.push(`<w:numFmt w:val="${e.numFmt}"/>`),e.numStart!==void 0&&t.push(`<w:numStart w:val="${e.numStart}"/>`),e.numRestart&&t.push(`<w:numRestart w:val="${e.numRestart}"/>`),t.length===0?"":`<w:footnotePr>${t.join("")}</w:footnotePr>`}function Ie(e){if(!e)return "";let t=[];return e.position&&t.push(`<w:pos w:val="${e.position}"/>`),e.numFmt&&t.push(`<w:numFmt w:val="${e.numFmt}"/>`),e.numStart!==void 0&&t.push(`<w:numStart w:val="${e.numStart}"/>`),e.numRestart&&t.push(`<w:numRestart w:val="${e.numRestart}"/>`),t.length===0?"":`<w:endnotePr>${t.join("")}</w:endnotePr>`}function je(e){let t=[];return e.pageWidth!==void 0&&t.push(`w:w="${s(e.pageWidth)}"`),e.pageHeight!==void 0&&t.push(`w:h="${s(e.pageHeight)}"`),e.orientation==="landscape"&&t.push('w:orient="landscape"'),t.length===0?"":`<w:pgSz ${t.join(" ")}/>`}function Be(e){let t=[];return e.marginTop!==void 0&&t.push(`w:top="${s(e.marginTop)}"`),e.marginRight!==void 0&&t.push(`w:right="${s(e.marginRight)}"`),e.marginBottom!==void 0&&t.push(`w:bottom="${s(e.marginBottom)}"`),e.marginLeft!==void 0&&t.push(`w:left="${s(e.marginLeft)}"`),e.headerDistance!==void 0&&t.push(`w:header="${s(e.headerDistance)}"`),e.footerDistance!==void 0&&t.push(`w:footer="${s(e.footerDistance)}"`),e.gutter!==void 0&&t.push(`w:gutter="${s(e.gutter)}"`),t.length===0?"":`<w:pgMar ${t.join(" ")}/>`}function Ae(e){if(!e.columnCount&&!e.columns?.length)return "";let t=[];e.columnCount!==void 0&&e.columnCount>1&&t.push(`w:num="${s(e.columnCount)}"`),e.columnSpace!==void 0&&t.push(`w:space="${s(e.columnSpace)}"`),e.equalWidth!==void 0&&t.push(`w:equalWidth="${e.equalWidth?"1":"0"}"`),e.separator&&t.push('w:sep="1"');let n="";return e.columns&&e.columns.length>0&&(n=e.columns.map(i=>{let o=[];return i.width!==void 0&&o.push(`w:w="${s(i.width)}"`),i.space!==void 0&&o.push(`w:space="${s(i.space)}"`),`<w:col ${o.join(" ")}/>`}).join("")),t.length===0&&!n?"":`<w:cols${t.length>0?" "+t.join(" "):""}>${n}</w:cols>`}function Ee(e){if(!e.lineNumbers)return "";let t=e.lineNumbers,n=[];return t.countBy!==void 0&&n.push(`w:countBy="${s(t.countBy)}"`),t.start!==void 0&&n.push(`w:start="${s(t.start)}"`),t.distance!==void 0&&n.push(`w:distance="${s(t.distance)}"`),t.restart&&n.push(`w:restart="${t.restart}"`),n.length===0?"":`<w:lnNumType ${n.join(" ")}/>`}function De(e){if(!e.pageBorders)return "";let t=e.pageBorders,n=[],r=[];if(t.display&&n.push(`w:display="${t.display}"`),t.offsetFrom&&n.push(`w:offsetFrom="${t.offsetFrom}"`),t.zOrder&&n.push(`w:zOrder="${t.zOrder}"`),t.top){let o=R(t.top,"top");o&&r.push(o);}if(t.left){let o=R(t.left,"left");o&&r.push(o);}if(t.bottom){let o=R(t.bottom,"bottom");o&&r.push(o);}if(t.right){let o=R(t.right,"right");o&&r.push(o);}return r.length===0?"":`<w:pgBorders${n.length>0?" "+n.join(" "):""}>${r.join("")}</w:pgBorders>`}function Xe(e){if(!e.docGrid)return "";let t=e.docGrid,n=[];return t.type&&n.push(`w:type="${t.type}"`),t.linePitch!==void 0&&n.push(`w:linePitch="${t.linePitch}"`),t.charSpace!==void 0&&n.push(`w:charSpace="${t.charSpace}"`),n.length===0?"":`<w:docGrid ${n.join(" ")}/>`}function I(e){if(!e)return "";let t=[];if(e.headerReferences)for(let p of e.headerReferences)t.push(ze(p));if(e.footerReferences)for(let p of e.footerReferences)t.push(ke(p));let n=Re(e.footnotePr);n&&t.push(n);let r=Ie(e.endnotePr);r&&t.push(r),e.sectionStart&&t.push(`<w:type w:val="${e.sectionStart}"/>`);let i=je(e);i&&t.push(i);let o=Be(e);if(o&&t.push(o),e.paperSrcFirst!==void 0||e.paperSrcOther!==void 0){let p=[];e.paperSrcFirst!==void 0&&p.push(`w:first="${e.paperSrcFirst}"`),e.paperSrcOther!==void 0&&p.push(`w:other="${e.paperSrcOther}"`),t.push(`<w:paperSrc ${p.join(" ")}/>`);}let c=De(e);c&&t.push(c);let l=Ee(e);l&&t.push(l);let u=Ae(e);u&&t.push(u),e.verticalAlign&&t.push(`<w:vAlign w:val="${e.verticalAlign}"/>`),e.titlePg&&t.push("<w:titlePg/>"),e.bidi&&t.push("<w:bidi/>");let f=Xe(e);return f&&t.push(f),e.evenAndOddHeaders&&t.push("<w:evenAndOddHeaders/>"),t.length===0?"":`<w:sectPr>${t.join("")}</w:sectPr>`}function Me(e,t){if(!e||e.style==="none"||e.style==="nil")return "";let n=[`w:val="${e.style}"`];return e.size!==void 0&&n.push(`w:sz="${s(e.size)}"`),e.space!==void 0&&n.push(`w:space="${s(e.space)}"`),e.color&&(e.color.auto?n.push('w:color="auto"'):e.color.rgb&&n.push(`w:color="${e.color.rgb}"`),e.color.themeColor&&n.push(`w:themeColor="${e.color.themeColor}"`),e.color.themeTint&&n.push(`w:themeTint="${e.color.themeTint}"`),e.color.themeShade&&n.push(`w:themeShade="${e.color.themeShade}"`)),e.shadow&&n.push('w:shadow="true"'),e.frame&&n.push('w:frame="true"'),`<w:${t} ${n.join(" ")}/>`}var Le=["top","left","bottom","right","between","bar"];function q(e){if(!e)return "";let t=[];for(let n of Le){let r=Me(e[n],n);r&&t.push(r);}return t.length===0?"":`<w:pBdr>${t.join("")}</w:pBdr>`}function G(e){if(!e)return "";let t=[];return e.pattern?t.push(`w:val="${e.pattern}"`):t.push('w:val="clear"'),e.color?.rgb?t.push(`w:color="${e.color.rgb}"`):e.color?.auto&&t.push('w:color="auto"'),e.fill?.rgb?t.push(`w:fill="${e.fill.rgb}"`):e.fill?.auto&&t.push('w:fill="auto"'),e.fill?.themeColor&&t.push(`w:themeFill="${e.fill.themeColor}"`),e.fill?.themeTint&&t.push(`w:themeFillTint="${e.fill.themeTint}"`),e.fill?.themeShade&&t.push(`w:themeFillShade="${e.fill.themeShade}"`),t.length===0?"":`<w:shd ${t.join(" ")}/>`}function _(e){return !e||e.length===0?"":`<w:tabs>${e.map(n=>{let r=[`w:val="${n.alignment}"`,`w:pos="${s(n.position)}"`];return n.leader&&n.leader!=="none"&&r.push(`w:leader="${n.leader}"`),`<w:tab ${r.join(" ")}/>`}).join("")}</w:tabs>`}function V(e){let t=[];return e.spaceBefore!==void 0&&t.push(`w:before="${s(e.spaceBefore)}"`),e.spaceAfter!==void 0&&t.push(`w:after="${s(e.spaceAfter)}"`),e.lineSpacing!==void 0&&t.push(`w:line="${s(e.lineSpacing)}"`),e.lineSpacingRule&&t.push(`w:lineRule="${e.lineSpacingRule}"`),e.beforeAutospacing&&t.push('w:beforeAutospacing="1"'),e.afterAutospacing&&t.push('w:afterAutospacing="1"'),t.length===0?"":`<w:spacing ${t.join(" ")}/>`}function U(e){let t=[];return e.indentLeft!==void 0&&t.push(`w:left="${s(e.indentLeft)}"`),e.indentRight!==void 0&&t.push(`w:right="${s(e.indentRight)}"`),e.indentFirstLine!==void 0&&(e.hangingIndent?t.push(`w:hanging="${s(Math.abs(e.indentFirstLine))}"`):e.indentFirstLine!==0&&t.push(`w:firstLine="${s(e.indentFirstLine)}"`)),t.length===0?"":`<w:ind ${t.join(" ")}/>`}function Y(e){if(!e)return "";let t=[];return e.ilvl!==void 0&&t.push(`<w:ilvl w:val="${s(e.ilvl)}"/>`),e.numId!==void 0&&t.push(`<w:numId w:val="${s(e.numId)}"/>`),t.length===0?"":`<w:numPr>${t.join("")}</w:numPr>`}function Z(e){if(!e)return "";let t=[];return e.width!==void 0&&t.push(`w:w="${s(e.width)}"`),e.height!==void 0&&t.push(`w:h="${s(e.height)}"`),e.hAnchor&&t.push(`w:hAnchor="${e.hAnchor}"`),e.vAnchor&&t.push(`w:vAnchor="${e.vAnchor}"`),e.x!==void 0&&t.push(`w:x="${s(e.x)}"`),e.y!==void 0&&t.push(`w:y="${s(e.y)}"`),e.xAlign&&t.push(`w:xAlign="${e.xAlign}"`),e.yAlign&&t.push(`w:yAlign="${e.yAlign}"`),e.wrap&&t.push(`w:wrap="${e.wrap}"`),t.length===0?"":`<w:framePr ${t.join(" ")}/>`}function K(e){let t=[`w:id="${e.id}"`,`w:name="${a(e.name)}"`];return e.colFirst!==void 0&&t.push(`w:colFirst="${e.colFirst}"`),e.colLast!==void 0&&t.push(`w:colLast="${e.colLast}"`),`<w:bookmarkStart ${t.join(" ")}/>`}function Q(e){return `<w:bookmarkEnd w:id="${e.id}"/>`}function W(e){let t=[];e.rId&&t.push(`r:id="${e.rId}"`),e.anchor&&t.push(`w:anchor="${a(e.anchor)}"`),e.tooltip&&t.push(`w:tooltip="${a(e.tooltip)}"`),e.target&&t.push(`w:tgtFrame="${a(e.target)}"`),e.history===false&&t.push('w:history="0"'),e.docLocation&&t.push(`w:docLocation="${a(e.docLocation)}"`);let n=e.children.map(i=>i.type==="run"?P(i):i.type==="bookmarkStart"?K(i):i.type==="bookmarkEnd"?Q(i):"").join("");return `<w:hyperlink${t.length>0?" "+t.join(" "):""}>${n}</w:hyperlink>`}function ee(e){let t=[],n=e.content.find(l=>l.type==="run"),r=n?.formatting?T(n.formatting):"",i=['w:fldCharType="begin"'];e.fldLock&&i.push('w:fldLock="true"'),t.push(`<w:r>${r}<w:fldChar ${i.join(" ")}/></w:r>`);let c=e.instruction.startsWith(" ")||e.instruction.endsWith(" ")||e.instruction.includes(" ")?' xml:space="preserve"':"";t.push(`<w:r>${r}<w:instrText${c}>${a(e.instruction)}</w:instrText></w:r>`),t.push(`<w:r>${r}<w:fldChar w:fldCharType="separate"/></w:r>`);for(let l of e.content)l.type==="run"&&t.push(P(l));return t.push(`<w:r>${r}<w:fldChar w:fldCharType="end"/></w:r>`),t.join("")}function te(e){let t=[],n=e.fieldResult?.[0]?.formatting,r=n?T(n):"",i=['w:fldCharType="begin"'];if(e.fldLock&&i.push('w:fldLock="true"'),t.push(`<w:r>${r}<w:fldChar ${i.join(" ")}/></w:r>`),e.fieldCode.length>0)t.push(...e.fieldCode.map(o=>P(o)));else {let c=e.instruction.startsWith(" ")||e.instruction.endsWith(" ")||e.instruction.includes(" ")?' xml:space="preserve"':"";t.push(`<w:r>${r}<w:instrText${c}>${a(e.instruction)}</w:instrText></w:r>`);}return t.push(`<w:r>${r}<w:fldChar w:fldCharType="separate"/></w:r>`),t.push(...e.fieldResult.map(o=>P(o))),t.push(`<w:r>${r}<w:fldChar w:fldCharType="end"/></w:r>`),t.join("")}function ne(e){let t=e.properties,n=[];switch(t.alias&&n.push(`<w:alias w:val="${a(t.alias)}"/>`),t.tag&&n.push(`<w:tag w:val="${a(t.tag)}"/>`),t.lock&&t.lock!=="unlocked"&&n.push(`<w:lock w:val="${t.lock}"/>`),t.showingPlaceholder&&n.push("<w:showingPlcHdr/>"),t.sdtType){case "plainText":n.push("<w:text/>");break;case "date":t.dateFormat?n.push(`<w:date w:fullDate="${a(t.dateFormat)}"/>`):n.push("<w:date/>");break;case "dropDownList":{let i=(t.listItems??[]).map(o=>`<w:listItem w:displayText="${a(o.displayText)}" w:value="${a(o.value)}"/>`).join("");n.push(`<w:dropDownList>${i}</w:dropDownList>`);break}case "comboBox":{let i=(t.listItems??[]).map(o=>`<w:listItem w:displayText="${a(o.displayText)}" w:value="${a(o.value)}"/>`).join("");n.push(`<w:comboBox>${i}</w:comboBox>`);break}case "checkbox":n.push(`<w14:checkbox><w14:checked w14:val="${t.checked?"1":"0"}"/></w14:checkbox>`);break;case "picture":n.push("<w:picture/>");break}let r=e.content.map(i=>{switch(i.type){case "run":return P(i);case "hyperlink":return W(i);case "simpleField":return ee(i);case "complexField":return te(i);case "inlineSdt":return ne(i);case "mathEquation":return i.ommlXml||"";default:return i}}).join("");return `<w:sdt><w:sdtPr>${n.join("")}</w:sdtPr><w:sdtContent>${r}</w:sdtContent></w:sdt>`}function J(e,t){let n=[`w:id="${t.id}"`,`w:name="${a(t.name)}"`];return `<w:${e} ${n.join(" ")}/>`}function j(e,t){let n=t.info,r=Number.isInteger(n.id)&&n.id>=0?n.id:0,i=typeof n.author=="string"?n.author.trim():"",o=i.length>0?i:"Unknown",c=typeof n.date=="string"?n.date.trim():void 0,l=[`w:id="${r}"`,`w:author="${a(o)}"`];c&&l.push(`w:date="${a(c)}"`);let u=t.content.map(f=>{if(f.type==="run"){let p=P(f),w=f.content.some(m=>m.type==="drawing");return (e==="del"||e==="moveFrom")&&!w?p.replace(/<w:t\b/g,"<w:delText").replace(/<\/w:t>/g,"</w:delText>").replace(/<w:instrText\b/g,"<w:delInstrText").replace(/<\/w:instrText>/g,"</w:delInstrText>"):p}return f.type==="hyperlink"?W(f):""}).join("");return `<w:${e} ${l.join(" ")}>${u}</w:${e}>`}function re(e){switch(e.type){case "run":return P(e);case "hyperlink":return W(e);case "bookmarkStart":return K(e);case "bookmarkEnd":return Q(e);case "simpleField":return ee(e);case "complexField":return te(e);case "inlineSdt":return ne(e);case "commentRangeStart":return `<w:commentRangeStart w:id="${e.id}"/>`;case "commentRangeEnd":return `<w:commentRangeEnd w:id="${e.id}"/><w:r><w:rPr><w:rStyle w:val="CommentReference"/></w:rPr><w:commentReference w:id="${e.id}"/></w:r>`;case "insertion":return j("ins",e);case "deletion":return j("del",e);case "moveFrom":return j("moveFrom",e);case "moveTo":return j("moveTo",e);case "moveFromRangeStart":return J("moveFromRangeStart",e);case "moveFromRangeEnd":return `<w:moveFromRangeEnd w:id="${e.id}"/>`;case "moveToRangeStart":return J("moveToRangeStart",e);case "moveToRangeEnd":return `<w:moveToRangeEnd w:id="${e.id}"/>`;case "mathEquation":return e.ommlXml||"";default:return ""}}function ie(e){let t=Number.isInteger(e.id)&&e.id>=0?e.id:0,n=typeof e.author=="string"&&e.author.length>0?e.author:"Unknown",r=[`w:id="${t}"`,`w:author="${a(n)}"`],i=typeof e.date=="string"&&e.date.length>0?e.date:void 0;return i&&r.push(`w:date="${a(i)}"`),r.join(" ")}function We(e,t,n){let r=[];if(t&&r.push(`<w:ins ${ie(t)}/>`),n&&r.push(`<w:del ${ie(n)}/>`),e?.runProperties){let i=T(e.runProperties);if(i)if(i.startsWith("<w:rPr>")&&i.endsWith("</w:rPr>")){let o=i.slice(7,-8);o.length>0&&r.push(o);}else i.startsWith("<w:rPr/>")||r.push(i);}return r.length===0?"":`<w:rPr>${r.join("")}</w:rPr>`}function oe(e,t,n,r,i){let o=[];if(e){e.styleId&&o.push(`<w:pStyle w:val="${a(e.styleId)}"/>`),e.keepNext===true?o.push("<w:keepNext/>"):e.keepNext===false&&o.push('<w:keepNext w:val="0"/>'),e.keepLines===true?o.push("<w:keepLines/>"):e.keepLines===false&&o.push('<w:keepLines w:val="0"/>'),e.contextualSpacing===true?o.push("<w:contextualSpacing/>"):e.contextualSpacing===false&&o.push('<w:contextualSpacing w:val="0"/>'),e.pageBreakBefore===true?o.push("<w:pageBreakBefore/>"):e.pageBreakBefore===false&&o.push('<w:pageBreakBefore w:val="0"/>');let c=Z(e.frame);c&&o.push(c),e.widowControl===false?o.push('<w:widowControl w:val="0"/>'):e.widowControl===true&&o.push("<w:widowControl/>");let l=Y(e.numPr);l&&o.push(l);let u=q(e.borders);u&&o.push(u);let f=G(e.shading);f&&o.push(f);let p=_(e.tabs);p&&o.push(p),e.suppressLineNumbers===true?o.push("<w:suppressLineNumbers/>"):e.suppressLineNumbers===false&&o.push('<w:suppressLineNumbers w:val="0"/>'),e.suppressAutoHyphens===true?o.push("<w:suppressAutoHyphens/>"):e.suppressAutoHyphens===false&&o.push('<w:suppressAutoHyphens w:val="0"/>');let w=V(e);w&&o.push(w);let m=U(e);m&&o.push(m),e.bidi===true?o.push("<w:bidi/>"):e.bidi===false&&o.push('<w:bidi w:val="0"/>'),e.alignment&&o.push(`<w:jc w:val="${e.alignment}"/>`),e.outlineLevel!==void 0&&o.push(`<w:outlineLvl w:val="${e.outlineLevel}"/>`);}if(!i?.baseOnly){let c=We(e,n??void 0,r??void 0);if(c&&o.push(c),i?.sectionProperties){let l=I(i.sectionProperties);l&&o.push(l);}t&&t.length>0&&o.push(Oe(t[0]));}return o.length===0?"":`<w:pPr>${o.join("")}</w:pPr>`}function He(e){return !e.startsWith("<w:pPr>")||!e.endsWith("</w:pPr>")?"":e.slice(7,-8)}function Oe(e){let t=Number.isInteger(e.info.id)&&e.info.id>=0?e.info.id:0,n=typeof e.info.author=="string"?e.info.author.trim():"",r=n.length>0?n:"Unknown",i=typeof e.info.date=="string"?e.info.date.trim():void 0,o=[`w:id="${t}"`,`w:author="${a(r)}"`];i&&o.push(`w:date="${a(i)}"`);let c=oe(e.previousFormatting,void 0,void 0,void 0,{baseOnly:true})||"<w:pPr/>",l=He(c),u=l.length>0?`<w:pPr>${l}</w:pPr>`:"<w:pPr/>";return `<w:pPrChange ${o.join(" ")}>${u}</w:pPrChange>`}function v(e){let t=[],n=[];e.paraId&&n.push(`w14:paraId="${e.paraId}"`),e.textId&&n.push(`w14:textId="${e.textId}"`);let r=n.length>0?" "+n.join(" "):"",i=oe(e.formatting,e.propertyChanges,e.pPrIns,e.pPrDel,e.sectionProperties?{sectionProperties:e.sectionProperties}:void 0);i&&t.push(i);let o=!!e.renderedPageBreakBefore;for(let c of e.content){let l=re(c);if(l){if(o){let u=Ne(l);u&&(l=u,o=false);}t.push(l);}}return `<w:p${r}>${t.join("")}</w:p>`}function Ne(e){let t=/<w:r(?=[\s>/])[^>]*>/;return t.test(e)?e.replace(t,n=>`${n}<w:lastRenderedPageBreak/>`):null}var se=1e5;function O(){se=1e5;}function ae(e){return e!=null&&e!==""&&e!==0?String(e):String(se++)}function H(e){if(!e)return "";if(e.rgb)return `<a:srgbClr val="${e.rgb.replace("#","")}"/>`;if(e.themeColor){let t=`<a:schemeClr val="${e.themeColor}"`;return e.themeTint?t+=`><a:tint val="${e.themeTint}"/></a:schemeClr>`:e.themeShade?t+=`><a:shade val="${e.themeShade}"/></a:schemeClr>`:t+="/>",t}return ""}function qe(e){if(!e||e.type==="none")return "<a:noFill/>";if(e.type==="solid"&&e.color)return `<a:solidFill>${H(e.color)}</a:solidFill>`;if(e.type==="gradient"&&e.gradient){let t=e.gradient,n=t.stops.map(i=>`<a:gs pos="${i.position}">${H(i.color)}</a:gs>`).join(""),r=t.type==="linear"?`<a:lin ang="${(t.angle||0)*6e4}" scaled="1"/>`:"";return `<a:gradFill><a:gsLst>${n}</a:gsLst>${r}</a:gradFill>`}return ""}function le(e){if(!e)return "";let t=[];e.width!=null&&t.push(`w="${e.width}"`),e.cap&&t.push(`cap="${e.cap}"`);let n=[];return e.color&&n.push(`<a:solidFill>${H(e.color)}</a:solidFill>`),e.style&&e.style!=="solid"&&n.push(`<a:prstDash val="${e.style}"/>`),e.headEnd&&n.push(`<a:headEnd type="${e.headEnd.type}"${e.headEnd.width?` w="${e.headEnd.width}"`:""}${e.headEnd.length?` len="${e.headEnd.length}"`:""}/>`),e.tailEnd&&n.push(`<a:tailEnd type="${e.tailEnd.type}"${e.tailEnd.width?` w="${e.tailEnd.width}"`:""}${e.tailEnd.length?` len="${e.tailEnd.length}"`:""}/>`),n.length===0&&t.length===0?"":`<a:ln${t.length?" "+t.join(" "):""}>${n.join("")}</a:ln>`}function ce(e){let t=[],n=e.horizontal;t.push(`<wp:positionH relativeFrom="${n.relativeTo}">`),n.alignment?t.push(`<wp:align>${n.alignment}</wp:align>`):t.push(`<wp:posOffset>${s(n.posOffset)}</wp:posOffset>`),t.push("</wp:positionH>");let r=e.vertical;return t.push(`<wp:positionV relativeFrom="${r.relativeTo}">`),r.alignment?t.push(`<wp:align>${r.alignment}</wp:align>`):t.push(`<wp:posOffset>${s(r.posOffset)}</wp:posOffset>`),t.push("</wp:positionV>"),t.join("")}function pe(e){let t=e.wrapText?` wrapText="${e.wrapText}"`:' wrapText="bothSides"';switch(e.type){case "square":return `<wp:wrapSquare${t}/>`;case "tight":return `<wp:wrapTight${t}><wp:wrapPolygon edited="0"><wp:start x="0" y="0"/><wp:lineTo x="0" y="21600"/><wp:lineTo x="21600" y="21600"/><wp:lineTo x="21600" y="0"/><wp:lineTo x="0" y="0"/></wp:wrapPolygon></wp:wrapTight>`;case "through":return `<wp:wrapThrough${t}><wp:wrapPolygon edited="0"><wp:start x="0" y="0"/><wp:lineTo x="0" y="21600"/><wp:lineTo x="21600" y="21600"/><wp:lineTo x="21600" y="0"/><wp:lineTo x="0" y="0"/></wp:wrapPolygon></wp:wrapThrough>`;case "topAndBottom":return "<wp:wrapTopAndBottom/>";case "behind":case "inFront":return "<wp:wrapNone/>";default:return "<wp:wrapNone/>"}}function Ge(e,t){let n=e.size.width,r=e.size.height,i=e.rId||"rId1",o=t,c=e.filename||`image${o}`,l="";e.transform?.rotation&&(l+=` rot="${Math.round(e.transform.rotation*6e4)}"`),e.transform?.flipH&&(l+=' flipH="1"'),e.transform?.flipV&&(l+=' flipV="1"');let u=e.opacity!==void 0&&e.opacity<1?`<a:alphaModFix amt="${Math.round(Math.max(0,Math.min(1,e.opacity))*1e5)}"/>`:"",f=u?`<a:blip r:embed="${i}">${u}</a:blip>`:`<a:blip r:embed="${i}"/>`,p=[];e.crop?.left&&p.push(`l="${Math.round(e.crop.left*1e5)}"`),e.crop?.top&&p.push(`t="${Math.round(e.crop.top*1e5)}"`),e.crop?.right&&p.push(`r="${Math.round(e.crop.right*1e5)}"`),e.crop?.bottom&&p.push(`b="${Math.round(e.crop.bottom*1e5)}"`);let w=p.length>0?`<a:srcRect ${p.join(" ")}/>`:"";return ['<a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">','<a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/picture">','<pic:pic xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture">',"<pic:nvPicPr>",`<pic:cNvPr id="${o}" name="${a(c)}"${e.alt?` descr="${a(e.alt)}"`:""}/>`,"<pic:cNvPicPr/>","</pic:nvPicPr>","<pic:blipFill>",f,w,"<a:stretch><a:fillRect/></a:stretch>","</pic:blipFill>","<pic:spPr>",`<a:xfrm${l}>`,'<a:off x="0" y="0"/>',`<a:ext cx="${s(n)}" cy="${s(r)}"/>`,"</a:xfrm>",'<a:prstGeom prst="rect"><a:avLst/></a:prstGeom>',e.outline?le(e.outline):"","</pic:spPr>","</pic:pic>","</a:graphicData>","</a:graphic>"].join("")}function ue(e){let t=e.image,n=t.wrap.type!=="inline",r=t.size.width,i=t.size.height,o=t.wrap.distT??0,c=t.wrap.distB??0,l=t.wrap.distL??0,u=t.wrap.distR??0,f=t.padding?.left??0,p=t.padding?.top??0,w=t.padding?.right??0,m=t.padding?.bottom??0,k=`<wp:effectExtent l="${s(f)}" t="${s(p)}" r="${s(w)}" b="${s(m)}"/>`,g=ae(t.id),E=t.title||t.filename||`Picture ${g}`,F=Ge(t,g);if(!n)return ["<w:drawing>",`<wp:inline distT="${s(o)}" distB="${s(c)}" distL="${s(l)}" distR="${s(u)}">`,`<wp:extent cx="${s(r)}" cy="${s(i)}"/>`,k,`<wp:docPr id="${g}" name="${a(E)}"${t.alt?` descr="${a(t.alt)}"`:""}${t.decorative?' hidden="1"':""}/>`,'<wp:cNvGraphicFramePr><a:graphicFrameLocks xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" noChangeAspect="1"/></wp:cNvGraphicFramePr>',F,"</wp:inline>","</w:drawing>"].join("");let D=t.wrap.type==="behind"?"1":"0",X=t.position?ce(t.position):'<wp:positionH relativeFrom="column"><wp:posOffset>0</wp:posOffset></wp:positionH><wp:positionV relativeFrom="paragraph"><wp:posOffset>0</wp:posOffset></wp:positionV>',M=pe(t.wrap);return ["<w:drawing>",`<wp:anchor distT="${s(o)}" distB="${s(c)}" distL="${s(l)}" distR="${s(u)}" simplePos="0" relativeHeight="251658240" behindDoc="${D}" locked="0" layoutInCell="${t.layoutInCell===false?"0":"1"}" allowOverlap="${t.allowOverlap===false?"0":"1"}">`,'<wp:simplePos x="0" y="0"/>',X,`<wp:extent cx="${s(r)}" cy="${s(i)}"/>`,k,M,`<wp:docPr id="${g}" name="${a(E)}"${t.alt?` descr="${a(t.alt)}"`:""}/>`,'<wp:cNvGraphicFramePr><a:graphicFrameLocks xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" noChangeAspect="1"/></wp:cNvGraphicFramePr>',F,"</wp:anchor>","</w:drawing>"].join("")}function _e(e){return e.map(t=>v(t)).join("")}function fe(e){let t=e.shape,n=t.size.width,r=t.size.height,i=t.shapeType==="textBox",o=t.wrap&&t.wrap.type!=="inline",c=t.wrap?.distT??0,l=t.wrap?.distB??0,u=t.wrap?.distL??0,f=t.wrap?.distR??0,p=ae(t.id),w=t.name||(i?`TextBox ${p}`:`Shape ${p}`),m="";t.transform?.rotation&&(m+=` rot="${Math.round(t.transform.rotation*6e4)}"`),t.transform?.flipH&&(m+=' flipH="1"'),t.transform?.flipV&&(m+=' flipV="1"');let k=["<wps:spPr>",`<a:xfrm${m}>`,'<a:off x="0" y="0"/>',`<a:ext cx="${s(n)}" cy="${s(r)}"/>`,"</a:xfrm>",`<a:prstGeom prst="${t.shapeType==="textBox"?"rect":t.shapeType}"><a:avLst/></a:prstGeom>`,qe(t.fill),le(t.outline),"</wps:spPr>"].join(""),g="";if(t.textBody){let d=t.textBody,$=['rot="0"','vert="horz"'];d.anchor&&$.push(`anchor="${d.anchor==="middle"?"ctr":d.anchor}"`),d.anchorCenter&&$.push('anchorCtr="1"'),d.margins&&(d.margins.left!=null&&$.push(`lIns="${s(d.margins.left)}"`),d.margins.top!=null&&$.push(`tIns="${s(d.margins.top)}"`),d.margins.right!=null&&$.push(`rIns="${s(d.margins.right)}"`),d.margins.bottom!=null&&$.push(`bIns="${s(d.margins.bottom)}"`)),i?g=["<wps:txbx><w:txbxContent>",_e(d.content),"</w:txbxContent></wps:txbx>",`<wps:bodyPr ${$.join(" ")}/>`].join(""):g=[`<wps:bodyPr ${$.join(" ")}/>`].join("");}let F=['<a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">','<a:graphicData uri="http://schemas.microsoft.com/office/word/2010/wordprocessingShape">',["<wps:wsp>",`<wps:cNvSpPr${i?' txBox="1"':""}/>`,k,g,"</wps:wsp>"].join(""),"</a:graphicData>","</a:graphic>"].join("");if(!o)return ["<w:drawing>",`<wp:inline distT="${s(c)}" distB="${s(l)}" distL="${s(u)}" distR="${s(f)}">`,`<wp:extent cx="${s(n)}" cy="${s(r)}"/>`,'<wp:effectExtent l="0" t="0" r="0" b="0"/>',`<wp:docPr id="${p}" name="${a(w)}"/>`,"<wp:cNvGraphicFramePr/>",F,"</wp:inline>","</w:drawing>"].join("");let D=t.wrap?.type==="behind"?"1":"0",X=t.position?ce(t.position):'<wp:positionH relativeFrom="column"><wp:posOffset>0</wp:posOffset></wp:positionH><wp:positionV relativeFrom="paragraph"><wp:posOffset>0</wp:posOffset></wp:positionV>',M=pe(t.wrap);return ["<w:drawing>",`<wp:anchor distT="${s(c)}" distB="${s(l)}" distL="${s(u)}" distR="${s(f)}" simplePos="0" relativeHeight="251658240" behindDoc="${D}" locked="0" layoutInCell="1" allowOverlap="1">`,'<wp:simplePos x="0" y="0"/>',X,`<wp:extent cx="${s(n)}" cy="${s(r)}"/>`,'<wp:effectExtent l="0" t="0" r="0" b="0"/>',M,`<wp:docPr id="${p}" name="${a(w)}"/>`,"<wp:cNvGraphicFramePr/>",F,"</wp:anchor>","</w:drawing>"].join("")}var Ve=new Set(["black","blue","cyan","darkBlue","darkCyan","darkGray","darkGreen","darkMagenta","darkRed","darkYellow","green","lightGray","magenta","red","white","yellow"]);function Ue(e){if(!e)return "";let t=[];return e.auto?t.push('w:val="auto"'):e.rgb&&t.push(`w:val="${e.rgb}"`),e.themeColor&&t.push(`w:themeColor="${e.themeColor}"`),e.themeTint&&t.push(`w:themeTint="${e.themeTint}"`),e.themeShade&&t.push(`w:themeShade="${e.themeShade}"`),t.length===0?"":`<w:color ${t.join(" ")}/>`}function Ye(e){if(!e)return "";let t=[];return e.pattern?t.push(`w:val="${e.pattern}"`):t.push('w:val="clear"'),e.color?.rgb?t.push(`w:color="${e.color.rgb}"`):e.color?.auto&&t.push('w:color="auto"'),e.fill?.rgb?t.push(`w:fill="${e.fill.rgb}"`):e.fill?.auto&&t.push('w:fill="auto"'),e.fill?.themeColor&&t.push(`w:themeFill="${e.fill.themeColor}"`),e.fill?.themeTint&&t.push(`w:themeFillTint="${e.fill.themeTint}"`),e.fill?.themeShade&&t.push(`w:themeFillShade="${e.fill.themeShade}"`),t.length===0?"":`<w:shd ${t.join(" ")}/>`}function T(e){if(!e)return "";let t=[];if(e.styleId&&t.push(`<w:rStyle w:val="${a(e.styleId)}"/>`),e.fontFamily){let i=[];e.fontFamily.ascii&&i.push(`w:ascii="${a(e.fontFamily.ascii)}"`),e.fontFamily.hAnsi&&i.push(`w:hAnsi="${a(e.fontFamily.hAnsi)}"`),e.fontFamily.eastAsia&&i.push(`w:eastAsia="${a(e.fontFamily.eastAsia)}"`),e.fontFamily.cs&&i.push(`w:cs="${a(e.fontFamily.cs)}"`),e.fontFamily.asciiTheme&&i.push(`w:asciiTheme="${e.fontFamily.asciiTheme}"`),e.fontFamily.hAnsiTheme&&i.push(`w:hAnsiTheme="${e.fontFamily.hAnsiTheme}"`),e.fontFamily.eastAsiaTheme&&i.push(`w:eastAsiaTheme="${e.fontFamily.eastAsiaTheme}"`),e.fontFamily.csTheme&&i.push(`w:csTheme="${e.fontFamily.csTheme}"`),i.length>0&&t.push(`<w:rFonts ${i.join(" ")}/>`);}e.bold===true?t.push("<w:b/>"):e.bold===false&&t.push('<w:b w:val="0"/>'),e.boldCs===true?t.push("<w:bCs/>"):e.boldCs===false&&t.push('<w:bCs w:val="0"/>'),e.italic===true?t.push("<w:i/>"):e.italic===false&&t.push('<w:i w:val="0"/>'),e.italicCs===true?t.push("<w:iCs/>"):e.italicCs===false&&t.push('<w:iCs w:val="0"/>'),e.allCaps===true?t.push("<w:caps/>"):e.allCaps===false&&t.push('<w:caps w:val="0"/>'),e.smallCaps===true?t.push("<w:smallCaps/>"):e.smallCaps===false&&t.push('<w:smallCaps w:val="0"/>'),e.strike===true?t.push("<w:strike/>"):e.strike===false&&t.push('<w:strike w:val="0"/>'),e.doubleStrike===true?t.push("<w:dstrike/>"):e.doubleStrike===false&&t.push('<w:dstrike w:val="0"/>'),e.outline===true?t.push("<w:outline/>"):e.outline===false&&t.push('<w:outline w:val="0"/>'),e.shadow===true?t.push("<w:shadow/>"):e.shadow===false&&t.push('<w:shadow w:val="0"/>'),e.emboss===true?t.push("<w:emboss/>"):e.emboss===false&&t.push('<w:emboss w:val="0"/>'),e.imprint===true?t.push("<w:imprint/>"):e.imprint===false&&t.push('<w:imprint w:val="0"/>'),e.hidden===true?t.push("<w:vanish/>"):e.hidden===false&&t.push('<w:vanish w:val="0"/>');let n=Ue(e.color);if(n&&t.push(n),e.spacing!==void 0&&t.push(`<w:spacing w:val="${s(e.spacing)}"/>`),e.scale!==void 0&&t.push(`<w:w w:val="${s(e.scale)}"/>`),e.kerning!==void 0&&t.push(`<w:kern w:val="${s(e.kerning)}"/>`),e.position!==void 0&&t.push(`<w:position w:val="${s(e.position)}"/>`),e.fontSize!==void 0&&t.push(`<w:sz w:val="${s(e.fontSize)}"/>`),e.fontSizeCs!==void 0&&t.push(`<w:szCs w:val="${s(e.fontSizeCs)}"/>`),e.highlight&&e.highlight!=="none"){if(Ve.has(e.highlight))t.push(`<w:highlight w:val="${e.highlight}"/>`);else if(!e.shading){let i=e.highlight.replace(/^#/,"");/^[0-9a-fA-F]{6}$/.test(i)&&t.push(`<w:shd w:val="clear" w:color="auto" w:fill="${i}"/>`);}}if(e.underline){let i=[`w:val="${e.underline.style}"`];e.underline.color&&(e.underline.color.rgb&&i.push(`w:color="${e.underline.color.rgb}"`),e.underline.color.themeColor&&i.push(`w:themeColor="${e.underline.color.themeColor}"`),e.underline.color.themeTint&&i.push(`w:themeTint="${e.underline.color.themeTint}"`),e.underline.color.themeShade&&i.push(`w:themeShade="${e.underline.color.themeShade}"`)),t.push(`<w:u ${i.join(" ")}/>`);}e.effect&&e.effect!=="none"&&t.push(`<w:effect w:val="${e.effect}"/>`),e.emphasisMark&&e.emphasisMark!=="none"&&t.push(`<w:em w:val="${e.emphasisMark}"/>`);let r=Ye(e.shading);return r&&t.push(r),e.vertAlign&&e.vertAlign!=="baseline"&&t.push(`<w:vertAlign w:val="${e.vertAlign}"/>`),e.rtl===true?t.push("<w:rtl/>"):e.rtl===false&&t.push('<w:rtl w:val="0"/>'),e.cs===true?t.push("<w:cs/>"):e.cs===false&&t.push('<w:cs w:val="0"/>'),t.length===0?"":`<w:rPr>${t.join("")}</w:rPr>`}function Ze(e){return !e.startsWith("<w:rPr>")||!e.endsWith("</w:rPr>")?"":e.slice(7,-8)}function Je(e){let t=Number.isInteger(e.info.id)&&e.info.id>=0?e.info.id:0,n=typeof e.info.author=="string"?e.info.author.trim():"",r=n.length>0?n:"Unknown",i=typeof e.info.date=="string"?e.info.date.trim():void 0,o=[`w:id="${t}"`,`w:author="${a(r)}"`];i&&o.push(`w:date="${a(i)}"`);let c=T(e.previousFormatting)||"<w:rPr/>";return `<w:rPrChange ${o.join(" ")}>${c}</w:rPrChange>`}function Ke(e,t){let n=T(e),r=n?Ze(n):"",i=(t??[]).map(Je).join(""),o=`${r}${i}`;return o?`<w:rPr>${o}</w:rPr>`:""}function Qe(e){return `<w:t${e.preserveSpace||e.text.startsWith(" ")||e.text.endsWith(" ")||e.text.includes(" ")?' xml:space="preserve"':""}>${a(e.text)}</w:t>`}function et(e){return "<w:tab/>"}function tt(e){let t=[];return e.breakType==="page"?t.push('w:type="page"'):e.breakType==="column"?t.push('w:type="column"'):e.breakType==="textWrapping"&&(t.push('w:type="textWrapping"'),e.clear&&e.clear!=="none"&&t.push(`w:clear="${e.clear}"`)),t.length===0?"<w:br/>":`<w:br ${t.join(" ")}/>`}function nt(e){return `<w:sym w:font="${a(e.font)}" w:char="${a(e.char)}"/>`}function rt(e){return e.type==="footnoteRef"?`<w:footnoteReference w:id="${e.id}"/>`:`<w:endnoteReference w:id="${e.id}"/>`}function it(e){let t=[`w:fldCharType="${e.charType}"`];return e.fldLock&&t.push('w:fldLock="true"'),e.dirty&&t.push('w:dirty="true"'),`<w:fldChar ${t.join(" ")}/>`}function ot(e){return `<w:instrText${e.text.startsWith(" ")||e.text.endsWith(" ")||e.text.includes(" ")?' xml:space="preserve"':""}>${a(e.text)}</w:instrText>`}function st(e){return "<w:softHyphen/>"}function at(e){return "<w:noBreakHyphen/>"}function lt(e){switch(e.type){case "text":return Qe(e);case "tab":return et();case "break":return tt(e);case "symbol":return nt(e);case "footnoteRef":case "endnoteRef":return rt(e);case "footnoteRefMark":return "<w:footnoteRef/>";case "endnoteRefMark":return "<w:endnoteRef/>";case "separator":return "<w:separator/>";case "continuationSeparator":return "<w:continuationSeparator/>";case "fieldChar":return it(e);case "instrText":return ot(e);case "softHyphen":return st();case "noBreakHyphen":return at();case "drawing":return ue(e);case "shape":return fe(e);default:return ""}}function P(e){let t=[],n=Ke(e.formatting,e.propertyChanges);n&&t.push(n);for(let r of e.content){let i=lt(r);i&&t.push(i);}return `<w:r>${t.join("")}</w:r>`}function N(e){if(!e)return "";let n=[e.firstRow?"1":"0",e.lastRow?"1":"0",e.firstColumn?"1":"0",e.lastColumn?"1":"0",e.oddVBand?"1":"0",e.evenVBand?"1":"0",e.oddHBand?"1":"0",e.evenHBand?"1":"0",e.nwCell?"1":"0",e.neCell?"1":"0",e.swCell?"1":"0",e.seCell?"1":"0"].join("");return n==="000000000000"?"":`<w:cnfStyle w:val="${n}"/>`}function ct(e){let t=Number.isInteger(e.id)&&e.id>=0?e.id:0,n=typeof e.author=="string"?e.author.trim():"",r=n.length>0?n:"Unknown",i=typeof e.date=="string"?e.date.trim():void 0;return {id:t,author:r,date:i}}function C(e){let t=ct(e),n=[`w:id="${t.id}"`,`w:author="${a(t.author)}"`];return t.date&&n.push(`w:date="${a(t.date)}"`),n.join(" ")}function b(e,t){if(!e)return "";let n=[`w:w="${s(e.value)}"`,`w:type="${e.type}"`];return `<w:${t} ${n.join(" ")}/>`}function S(e,t){if(!e||e.style==="none"||e.style==="nil")return "";let n=[`w:val="${e.style}"`];return e.size!==void 0&&n.push(`w:sz="${s(e.size)}"`),e.space!==void 0&&n.push(`w:space="${s(e.space)}"`),e.color&&(e.color.auto?n.push('w:color="auto"'):e.color.rgb&&n.push(`w:color="${e.color.rgb}"`),e.color.themeColor&&n.push(`w:themeColor="${e.color.themeColor}"`),e.color.themeTint&&n.push(`w:themeTint="${e.color.themeTint}"`),e.color.themeShade&&n.push(`w:themeShade="${e.color.themeShade}"`)),e.shadow&&n.push('w:shadow="true"'),e.frame&&n.push('w:frame="true"'),`<w:${t} ${n.join(" ")}/>`}function he(e,t){if(!e)return "";let n=[];if(e.top){let r=S(e.top,"top");r&&n.push(r);}if(e.left){let r=S(e.left,"left");r&&n.push(r);}if(e.bottom){let r=S(e.bottom,"bottom");r&&n.push(r);}if(e.right){let r=S(e.right,"right");r&&n.push(r);}if(e.insideH){let r=S(e.insideH,"insideH");r&&n.push(r);}if(e.insideV){let r=S(e.insideV,"insideV");r&&n.push(r);}return n.length===0?"":`<w:${t}>${n.join("")}</w:${t}>`}function de(e,t){if(!e)return "";let n=[];return e.top&&n.push(b(e.top,"top")),e.left&&n.push(b(e.left,"left")),e.bottom&&n.push(b(e.bottom,"bottom")),e.right&&n.push(b(e.right,"right")),n.length===0?"":`<w:${t}>${n.join("")}</w:${t}>`}function we(e){if(!e)return "";let t=[];return e.pattern?t.push(`w:val="${e.pattern}"`):t.push('w:val="clear"'),e.color?.rgb?t.push(`w:color="${e.color.rgb}"`):e.color?.auto&&t.push('w:color="auto"'),e.fill?.rgb?t.push(`w:fill="${e.fill.rgb}"`):e.fill?.auto&&t.push('w:fill="auto"'),e.fill?.themeColor&&t.push(`w:themeFill="${e.fill.themeColor}"`),e.fill?.themeTint&&t.push(`w:themeFillTint="${e.fill.themeTint}"`),e.fill?.themeShade&&t.push(`w:themeFillShade="${e.fill.themeShade}"`),t.length===0?"":`<w:shd ${t.join(" ")}/>`}function pt(e){if(!e)return "";let t=[];return e.firstRow&&t.push('w:firstRow="1"'),e.lastRow&&t.push('w:lastRow="1"'),e.firstColumn&&t.push('w:firstColumn="1"'),e.lastColumn&&t.push('w:lastColumn="1"'),e.noHBand&&t.push('w:noHBand="1"'),e.noVBand&&t.push('w:noVBand="1"'),t.length===0?"":`<w:tblLook ${t.join(" ")}/>`}function ut(e){if(!e)return "";let t=[];return e.horzAnchor&&t.push(`w:horzAnchor="${e.horzAnchor}"`),e.vertAnchor&&t.push(`w:vertAnchor="${e.vertAnchor}"`),e.tblpX!==void 0&&t.push(`w:tblpX="${s(e.tblpX)}"`),e.tblpXSpec&&t.push(`w:tblpXSpec="${e.tblpXSpec}"`),e.tblpY!==void 0&&t.push(`w:tblpY="${s(e.tblpY)}"`),e.tblpYSpec&&t.push(`w:tblpYSpec="${e.tblpYSpec}"`),e.topFromText!==void 0&&t.push(`w:topFromText="${s(e.topFromText)}"`),e.bottomFromText!==void 0&&t.push(`w:bottomFromText="${s(e.bottomFromText)}"`),e.leftFromText!==void 0&&t.push(`w:leftFromText="${s(e.leftFromText)}"`),e.rightFromText!==void 0&&t.push(`w:rightFromText="${s(e.rightFromText)}"`),t.length===0?"":`<w:tblpPr ${t.join(" ")}/>`}function me(e,t){let n=[];if(e){e.styleId&&n.push(`<w:tblStyle w:val="${a(e.styleId)}"/>`);let r=ut(e.floating);r&&n.push(r),e.bidi&&n.push("<w:bidiVisual/>");let i=b(e.width,"tblW");i&&n.push(i),e.justification&&n.push(`<w:jc w:val="${e.justification}"/>`);let o=b(e.cellSpacing,"tblCellSpacing");o&&n.push(o);let c=b(e.indent,"tblInd");c&&n.push(c);let l=he(e.borders,"tblBorders");l&&n.push(l);let u=de(e.cellMargins,"tblCellMar");u&&n.push(u),e.layout&&n.push(`<w:tblLayout w:type="${e.layout}"/>`);let f=we(e.shading);f&&n.push(f);let p=pt(e.look);p&&n.push(p),e.overlap&&n.push(`<w:tblOverlap w:val="${e.overlap}"/>`);}return t&&t.length>0&&n.push(ht(t[0])),n.length===0?"":`<w:tblPr>${n.join("")}</w:tblPr>`}function ft(e){return !e.startsWith("<w:tblPr>")||!e.endsWith("</w:tblPr>")?"":e.slice(9,-10)}function ht(e){let t=C(e.info),n=me(e.previousFormatting)||"<w:tblPr/>",r=ft(n),i=r.length>0?`<w:tblPr>${r}</w:tblPr>`:"<w:tblPr/>";return `<w:tblPrChange ${t}>${i}</w:tblPrChange>`}function ge(e,t,n){let r=[];if(e){let i=N(e.conditionalFormat);if(i&&r.push(i),e.cantSplit&&r.push("<w:cantSplit/>"),e.header&&r.push("<w:tblHeader/>"),e.height){let o=[`w:val="${s(e.height.value)}"`];e.heightRule&&o.push(`w:hRule="${e.heightRule}"`),r.push(`<w:trHeight ${o.join(" ")}/>`);}e.justification&&r.push(`<w:jc w:val="${e.justification}"/>`),e.hidden&&r.push("<w:hidden/>");}return n&&(n.type==="tableRowInsertion"?r.push(`<w:ins ${C(n.info)}/>`):n.type==="tableRowDeletion"&&r.push(`<w:del ${C(n.info)}/>`)),t&&t.length>0&&r.push(wt(t[0])),r.length===0?"":`<w:trPr>${r.join("")}</w:trPr>`}function dt(e){return !e.startsWith("<w:trPr>")||!e.endsWith("</w:trPr>")?"":e.slice(8,-9)}function wt(e){let t=C(e.info),n=ge(e.previousFormatting)||"<w:trPr/>",r=dt(n),i=r.length>0?`<w:trPr>${r}</w:trPr>`:"<w:trPr/>";return `<w:trPrChange ${t}>${i}</w:trPrChange>`}function $e(e,t,n){let r=[];if(e){let i=N(e.conditionalFormat);i&&r.push(i);let o=b(e.width,"tcW");o&&r.push(o),e.gridSpan&&e.gridSpan>1&&r.push(`<w:gridSpan w:val="${s(e.gridSpan)}"/>`),e.vMerge&&(e.vMerge==="restart"?r.push('<w:vMerge w:val="restart"/>'):r.push("<w:vMerge/>"));let c=he(e.borders,"tcBorders");c&&r.push(c);let l=we(e.shading);l&&r.push(l),e.noWrap&&r.push("<w:noWrap/>");let u=de(e.margins,"tcMar");u&&r.push(u),e.textDirection&&r.push(`<w:textDirection w:val="${e.textDirection}"/>`),e.fitText&&r.push("<w:tcFitText/>"),e.verticalAlign&&r.push(`<w:vAlign w:val="${e.verticalAlign}"/>`),e.hideMark&&r.push("<w:hideMark/>");}if(n){if(n.type==="tableCellInsertion")r.push(`<w:cellIns ${C(n.info)}/>`);else if(n.type==="tableCellDeletion")r.push(`<w:cellDel ${C(n.info)}/>`);else if(n.type==="tableCellMerge"){let i=n.vMerge?` w:vMerge="${n.vMerge}"`:"",o=n.vMergeOrig?` w:vMergeOrig="${n.vMergeOrig}"`:"";r.push(`<w:cellMerge ${C(n.info)}${i}${o}/>`);}}return t&&t.length>0&&r.push(gt(t[0])),r.length===0?"":`<w:tcPr>${r.join("")}</w:tcPr>`}function mt(e){return !e.startsWith("<w:tcPr>")||!e.endsWith("</w:tcPr>")?"":e.slice(8,-9)}function gt(e){let t=C(e.info),n=$e(e.previousFormatting)||"<w:tcPr/>",r=mt(n),i=r.length>0?`<w:tcPr>${r}</w:tcPr>`:"<w:tcPr/>";return `<w:tcPrChange ${t}>${i}</w:tcPrChange>`}function $t(e){return !e||e.length===0?"":`<w:tblGrid>${e.map(n=>`<w:gridCol w:w="${s(n)}"/>`).join("")}</w:tblGrid>`}function xt(e){let t=[];for(let n of e)n.type==="paragraph"?t.push(v(n)):n.type==="table"&&t.push(z(n));return t.length===0&&t.push("<w:p/>"),t.join("")}function yt(e){let t=[],n=$e(e.formatting,e.propertyChanges,e.structuralChange);return n&&t.push(n),t.push(xt(e.content)),`<w:tc>${t.join("")}</w:tc>`}function Pt(e){let t=[],n=ge(e.formatting,e.propertyChanges,e.structuralChange);n&&t.push(n);for(let r of e.cells)t.push(yt(r));return `<w:tr>${t.join("")}</w:tr>`}function z(e){let t=[],n=me(e.formatting,e.propertyChanges);n&&t.push(n);let r=$t(e.columnWidths);r&&t.push(r);for(let i of e.rows)t.push(Pt(i));return `<w:tbl>${t.join("")}</w:tbl>`}function B(e,t){let n=e.content.map(t).join(""),r=e.properties.rawPropertiesXml??"",i=e.properties.rawEndPropertiesXml??"";return `<w:sdt>${r}${i}<w:sdtContent>${n}</w:sdtContent></w:sdt>`}var h={wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",w16cex:"http://schemas.microsoft.com/office/word/2018/wordml/cex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16:"http://schemas.microsoft.com/office/word/2018/wordml",w16sdtdh:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"};function vt(){let e={wpc:h.wpc,mc:h.mc,o:h.o,r:h.r,m:h.m,v:h.v,wp14:h.wp14,wp:h.wp,w10:h.w10,w:h.w,w14:h.w14,w15:h.w15,w16se:h.w16se,w16cid:h.w16cid,w16:h.w16,w16cex:h.w16cex,w16sdtdh:h.w16sdtdh,wne:h.wne,wpg:h.wpg,wps:h.wps};return Object.entries(e).map(([t,n])=>`xmlns:${t}="${n}"`).join(" ")}function A(e){return e.type==="paragraph"?v(e):e.type==="table"?z(e):e.type==="blockSdt"?B(e,A):""}function bt(e){return e.map(t=>A(t)).join("")}function Ct(e){let t=[];return t.push(bt(e.content)),e.finalSectionProperties&&t.push(I(e.finalSectionProperties)),t.join("")}function hn(e){O();let t=[];t.push('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>');let n=vt();return t.push(`<w:document ${n} mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh wp14">`),t.push("<w:body>"),t.push(Ct(e.package.document)),t.push("</w:body>"),t.push("</w:document>"),t.join("")}var Tt='<v:shapetype id="_x0000_t136" coordsize="21600,21600" o:spt="136" adj="10800" path="m@7,l@8,m@5,21600l@6,21600e"><v:formulas><v:f eqn="sum #0 0 10800"/><v:f eqn="prod #0 2 1"/><v:f eqn="sum 21600 0 @1"/><v:f eqn="sum 0 0 @2"/><v:f eqn="sum 21600 0 @3"/><v:f eqn="if @0 @3 0"/><v:f eqn="if @0 21600 @1"/><v:f eqn="if @0 0 @2"/><v:f eqn="if @0 @4 21600"/><v:f eqn="mid @5 @6"/><v:f eqn="mid @8 @5"/><v:f eqn="mid @7 @8"/><v:f eqn="mid @6 @7"/><v:f eqn="sum @6 0 @5"/></v:formulas><v:path textpathok="t" o:connecttype="custom" o:connectlocs="@9,0;@10,10800;@9,21600;@11,10800" o:connectangles="270,180,90,0"/><v:textpath on="t" fitshape="t"/><v:handles><v:h position="#0,bottomRight" xrange="6629,14971"/></v:handles><o:lock v:ext="edit" text="t" shapetype="t"/></v:shapetype>',St='<v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"/><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"/><v:f eqn="sum @0 1 0"/><v:f eqn="sum 0 0 @1"/><v:f eqn="prod @2 1 2"/><v:f eqn="prod @3 21600 pixelWidth"/><v:f eqn="prod @3 21600 pixelHeight"/><v:f eqn="sum @0 0 1"/><v:f eqn="prod @6 1 2"/><v:f eqn="prod @7 21600 pixelWidth"/><v:f eqn="sum @8 21600 0"/><v:f eqn="prod @7 21600 pixelHeight"/><v:f eqn="sum @10 21600 0"/></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/><o:lock v:ext="edit" aspectratio="t"/></v:shapetype>';function Ft(e){let t=Math.max(e.text.trim().length,1),n=Math.min(Math.max(t*26,120),468);return {width:n,height:n/2}}var xe=12700;function zt(e){let t=e.widthEmu!==void 0?e.widthEmu/xe:311.4,n=e.heightEmu!==void 0?e.heightEmu/xe:t;return {width:t*(e.scale||1),height:n*(e.scale||1)}}function kt(e){let{width:t,height:n}=Ft(e),r=e.layout==="diagonal"?";rotation:315":"",i=`position:absolute;margin-left:0;margin-top:0;width:${t}pt;height:${n}pt${r};z-index:-251658240;mso-position-horizontal:center;mso-position-horizontal-relative:margin;mso-position-vertical:center;mso-position-vertical-relative:margin`,o=e.semitransparent?'<v:fill opacity=".5"/>':"",c=e.fontSize!==void 0?e.fontSize:1,l=`font-family:&quot;${a(e.font)}&quot;;font-size:${c}pt`;return "<w:p><w:r><w:rPr><w:noProof/></w:rPr><w:pict>"+Tt+`<v:shape id="PowerPlusWaterMarkObject1" o:spid="_x0000_s2049" type="#_x0000_t136" style="${i}" o:allowincell="f" fillcolor="${a(e.color)}" stroked="f">`+o+`<v:textpath style="${l}" string="${a(e.text)}"/></v:shape></w:pict></w:r></w:p>`}function Rt(e){if(!e.relId)return "";let{width:t,height:n}=zt(e),r=`position:absolute;margin-left:0;margin-top:0;width:${t}pt;height:${n}pt;z-index:-251657216;mso-position-horizontal:center;mso-position-horizontal-relative:margin;mso-position-vertical:center;mso-position-vertical-relative:margin`,i=e.washout?' gain="19661f" blacklevel="22938f"':"";return "<w:p><w:r><w:rPr><w:noProof/></w:rPr><w:pict>"+St+`<v:shape id="WordPictureWatermark1" o:spid="_x0000_s2050" type="#_x0000_t75" style="${r}" o:allowincell="f"><v:imagedata r:id="${a(e.relId)}" o:title="watermark"${i}/></v:shape></w:pict></w:r></w:p>`}function ye(e){return e.kind==="text"?kt(e):Rt(e)}var It={wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16:"http://schemas.microsoft.com/office/word/2018/wordml",w16cex:"http://schemas.microsoft.com/office/word/2018/wordml/cex",w16sdtdh:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"};function jt(){return Object.entries(It).map(([e,t])=>`xmlns:${e}="${t}"`).join(" ")}function Pe(e){return e.type==="paragraph"?v(e):e.type==="table"?z(e):e.type==="blockSdt"?B(e,Pe):""}function Pn(e){let t=e.type==="header"?"w:hdr":"w:ftr",n=jt(),r=e.content.map(i=>Pe(i)).join("");return e.watermark&&(r=ye(e.watermark)+r),r||(r="<w:p><w:pPr/></w:p>"),`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
- <${t} ${n}>${r}</${t}>`}function Te(e){let t="<w:r>",n=[];e.formatting?.bold&&n.push("<w:b/>"),e.formatting?.italic&&n.push("<w:i/>"),n.length>0&&(t+=`<w:rPr>${n.join("")}</w:rPr>`);for(let r of e.content)if(r.type==="text"){let i=r.text!==r.text.trim()||r.text.includes(" ");t+=i?`<w:t xml:space="preserve">${a(r.text)}</w:t>`:`<w:t>${a(r.text)}</w:t>`;}else r.type==="break"&&(t+="<w:br/>");return t+="</w:r>",t}function ve(e,t){let n=t?`<w:p w14:paraId="${t}">`:"<w:p>";for(let r of e.content)r.type==="run"&&(n+=Te(r));return n+="</w:p>",n}function be(e,t){let n=t?`<w:p w14:paraId="${t}">`:"<w:p>";n+='<w:r><w:rPr><w:rStyle w:val="CommentReference"/></w:rPr><w:annotationRef/></w:r>';for(let r of e.content)r.type==="run"&&(n+=Te(r));return n+="</w:p>",n}function Ce(e,t){let n=chunkC2BAPYGJ_js.a(),r=[`w:id="${e.id}"`];if(e.author&&r.push(`w:author="${a(e.author)}"`),e.initials?r.push(`w:initials="${a(e.initials)}"`):r.push('w:initials=""'),e.date){let o=e.date.replace(/\.\d{3}Z$/,"Z");r.push(`w:date="${a(o)}"`);}let i=`<w:comment ${r.join(" ")}>`;if(e.content&&e.content.length>0)if(e.content.length===1)i+=be(e.content[0],n);else {i+=be(e.content[0]);for(let o=1;o<e.content.length-1;o++)i+=ve(e.content[o]);i+=ve(e.content[e.content.length-1],n);}else i+=`<w:p w14:paraId="${n}"><w:r><w:rPr><w:rStyle w:val="CommentReference"/></w:rPr><w:annotationRef/></w:r></w:p>`;return i+="</w:comment>",t.push({commentId:e.id,lastParaId:n,durableId:chunkC2BAPYGJ_js.a(),parentId:e.parentId,done:e.done}),i}function Bt(e){if(!e||e.length===0)return {xml:"",paraInfos:[]};let t=[],n=[];for(let o of e)(o.parentId==null?t:n).push(o);let r=[],i=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><w:comments ${x} ${y}>`;for(let o of t)i+=Ce(o,r);for(let o of n)i+=Ce(o,r);return i+="</w:comments>",{xml:i,paraInfos:r}}function Tn(e){return Bt(e).xml}function Sn(e){if(e.length===0)return "";let t=new Map;for(let r of e)t.set(r.commentId,r.lastParaId);let n=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><w15:commentsEx ${x} ${y}>`;for(let r of e){let i=`w15:paraId="${r.lastParaId}" w15:done="${r.done?"1":"0"}"`;if(r.parentId!=null){let o=t.get(r.parentId);o&&(i+=` w15:paraIdParent="${o}"`);}n+=`<w15:commentEx ${i} />`;}return n+="</w15:commentsEx>",n}function Fn(e){if(e.length===0)return "";let t=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><w16cid:commentsIds ${x} ${y}>`;for(let n of e)t+=`<w16cid:commentId w16cid:paraId="${n.lastParaId}" w16cid:durableId="${n.durableId}" />`;return t+="</w16cid:commentsIds>",t}function zn(e,t){if(e.length===0)return "";let n=new Map;for(let i of t)n.set(i.id,i);let r=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><w16cex:commentsExtensible ${x} ${y}>`;for(let i of e){let o=n.get(i.commentId);if(!o?.date)continue;let c=i.durableId,l=(o.date.endsWith("Z")?o.date:o.date+"Z").replace(/\.\d{3}Z$/,"Z");r+=`<w16cex:commentExtensible w16cex:durableId="${c}" w16cex:dateUtc="${l}"/>`;}return r+="</w16cex:commentsExtensible>",r}var Se='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';function Fe(e,t){if(t.verbatimXml)return t.verbatimXml;let n=[];t.noteType&&t.noteType!=="normal"&&n.push(`w:type="${t.noteType}"`),n.push(`w:id="${t.id}"`);let r=t.content.map(i=>A(i)).join("");return `<w:${e} ${n.join(" ")}>${r}</w:${e}>`}function jn(e){let t=e.map(n=>Fe("footnote",n)).join("");return `${Se}<w:footnotes ${x} ${y}>${t}</w:footnotes>`}function Bn(e){let t=e.map(n=>Fe("endnote",n)).join("");return `${Se}<w:endnotes ${x} ${y}>${t}</w:endnotes>`}exports.a=a;exports.b=P;exports.c=I;exports.d=v;exports.e=z;exports.f=A;exports.g=Ct;exports.h=hn;exports.i=Pn;exports.j=Bt;exports.k=Tn;exports.l=Sn;exports.m=Fn;exports.n=zn;exports.o=jn;exports.p=Bn;