@arbidocs/blocks 0.5.107 → 0.5.108

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 (341) hide show
  1. package/dist/{ConnectedCallDock-TDYRHPAK.js → ConnectedCallDock-DV4FU376.js} +8 -8
  2. package/dist/{ConnectedCallDock-TDYRHPAK.js.map → ConnectedCallDock-DV4FU376.js.map} +1 -1
  3. package/dist/{ConnectedCallDock-H3WWFGXF.cjs → ConnectedCallDock-EM2VVGZK.cjs} +10 -10
  4. package/dist/{ConnectedCallDock-H3WWFGXF.cjs.map → ConnectedCallDock-EM2VVGZK.cjs.map} +1 -1
  5. package/dist/{ConnectedCallRoom-55O5OUN7.cjs → ConnectedCallRoom-7WEPEWUJ.cjs} +9 -9
  6. package/dist/{ConnectedCallRoom-55O5OUN7.cjs.map → ConnectedCallRoom-7WEPEWUJ.cjs.map} +1 -1
  7. package/dist/{ConnectedCallRoom-Z6F6WCLH.js → ConnectedCallRoom-RYTZP34O.js} +8 -8
  8. package/dist/{ConnectedCallRoom-Z6F6WCLH.js.map → ConnectedCallRoom-RYTZP34O.js.map} +1 -1
  9. package/dist/{ConnectedNativeDocxComparison-NVZRVNOS.js → ConnectedNativeDocxComparison-2NDXXZLQ.js} +15 -15
  10. package/dist/{ConnectedNativeDocxComparison-NVZRVNOS.js.map → ConnectedNativeDocxComparison-2NDXXZLQ.js.map} +1 -1
  11. package/dist/{ConnectedNativeDocxComparison-DGBZJ4XA.cjs → ConnectedNativeDocxComparison-7HOY3AVI.cjs} +16 -16
  12. package/dist/{ConnectedNativeDocxComparison-DGBZJ4XA.cjs.map → ConnectedNativeDocxComparison-7HOY3AVI.cjs.map} +1 -1
  13. package/dist/{ConnectedNativeDocxEditor-R4WINUUB.cjs → ConnectedNativeDocxEditor-CUWDPHXN.cjs} +16 -16
  14. package/dist/{ConnectedNativeDocxEditor-R4WINUUB.cjs.map → ConnectedNativeDocxEditor-CUWDPHXN.cjs.map} +1 -1
  15. package/dist/{ConnectedNativeDocxEditor-RSVBN7DY.js → ConnectedNativeDocxEditor-SPZB6Y27.js} +14 -14
  16. package/dist/{ConnectedNativeDocxEditor-RSVBN7DY.js.map → ConnectedNativeDocxEditor-SPZB6Y27.js.map} +1 -1
  17. package/dist/{ConnectedProductionSetDialog-2DFBXE2X.js → ConnectedProductionSetDialog-N3EDG3SU.js} +4 -4
  18. package/dist/{ConnectedProductionSetDialog-2DFBXE2X.js.map → ConnectedProductionSetDialog-N3EDG3SU.js.map} +1 -1
  19. package/dist/{ConnectedProductionSetDialog-KYDPQ7SG.cjs → ConnectedProductionSetDialog-XAEFEN3N.cjs} +4 -4
  20. package/dist/{ConnectedProductionSetDialog-KYDPQ7SG.cjs.map → ConnectedProductionSetDialog-XAEFEN3N.cjs.map} +1 -1
  21. package/dist/{ConnectedStreamedWordArtifact-HLJ5IIOU.js → ConnectedStreamedWordArtifact-6LTGEAJO.js} +15 -15
  22. package/dist/ConnectedStreamedWordArtifact-6LTGEAJO.js.map +1 -0
  23. package/dist/{ConnectedStreamedWordArtifact-JQ34AOUU.cjs → ConnectedStreamedWordArtifact-HNCRKZTV.cjs} +16 -16
  24. package/dist/ConnectedStreamedWordArtifact-HNCRKZTV.cjs.map +1 -0
  25. package/dist/{DocumentReviewCard-7JSXRJZ2.js → DocumentReviewCard-RJD3CO32.js} +8 -8
  26. package/dist/{DocumentReviewCard-7JSXRJZ2.js.map → DocumentReviewCard-RJD3CO32.js.map} +1 -1
  27. package/dist/{DocumentReviewCard-C4HVT3WM.cjs → DocumentReviewCard-VON7LOOY.cjs} +8 -8
  28. package/dist/{DocumentReviewCard-C4HVT3WM.cjs.map → DocumentReviewCard-VON7LOOY.cjs.map} +1 -1
  29. package/dist/{FilesViewerDialog-IMQTZWKD.js → FilesViewerDialog-7SJGY72Q.js} +21 -21
  30. package/dist/{FilesViewerDialog-IMQTZWKD.js.map → FilesViewerDialog-7SJGY72Q.js.map} +1 -1
  31. package/dist/{FilesViewerDialog-UP7GFHYN.cjs → FilesViewerDialog-VIPTC6OT.cjs} +27 -27
  32. package/dist/{FilesViewerDialog-UP7GFHYN.cjs.map → FilesViewerDialog-VIPTC6OT.cjs.map} +1 -1
  33. package/dist/{RechartsRenderer-GIRCW7DB.cjs → RechartsRenderer-THES2SE5.cjs} +6 -5
  34. package/dist/RechartsRenderer-THES2SE5.cjs.map +1 -0
  35. package/dist/{RechartsRenderer-23OF4H6X.js → RechartsRenderer-XIZLV6GH.js} +6 -5
  36. package/dist/RechartsRenderer-XIZLV6GH.js.map +1 -0
  37. package/dist/{WorkspaceTableView-PJM47B5F.cjs → WorkspaceTableView-FNME7TL6.cjs} +9 -9
  38. package/dist/{WorkspaceTableView-PJM47B5F.cjs.map → WorkspaceTableView-FNME7TL6.cjs.map} +1 -1
  39. package/dist/{WorkspaceTableView-YDA7A4UJ.js → WorkspaceTableView-XQ6J2JKI.js} +7 -7
  40. package/dist/{WorkspaceTableView-YDA7A4UJ.js.map → WorkspaceTableView-XQ6J2JKI.js.map} +1 -1
  41. package/dist/agents/index.cjs +202 -202
  42. package/dist/agents/index.js +8 -8
  43. package/dist/{ai-ADS6YSS2.cjs → ai-3SAMEYBB.cjs} +20 -20
  44. package/dist/ai-3SAMEYBB.cjs.map +1 -0
  45. package/dist/{ai-KHWTGBT5.js → ai-OTQWSYVK.js} +12 -12
  46. package/dist/ai-OTQWSYVK.js.map +1 -0
  47. package/dist/calls/index.cjs +57 -57
  48. package/dist/calls/index.js +9 -9
  49. package/dist/chat/index.cjs +3 -3
  50. package/dist/chat/index.js +3 -3
  51. package/dist/{chunk-O27K7KTZ.cjs → chunk-2TBQBF4Y.cjs} +5 -5
  52. package/dist/{chunk-O27K7KTZ.cjs.map → chunk-2TBQBF4Y.cjs.map} +1 -1
  53. package/dist/{chunk-YJWAGXYM.js → chunk-4ZA2RSQH.js} +3 -3
  54. package/dist/{chunk-YJWAGXYM.js.map → chunk-4ZA2RSQH.js.map} +1 -1
  55. package/dist/{chunk-6A4GNM4T.cjs → chunk-5D2ZINOJ.cjs} +16 -16
  56. package/dist/{chunk-6A4GNM4T.cjs.map → chunk-5D2ZINOJ.cjs.map} +1 -1
  57. package/dist/{chunk-BFVCYBND.cjs → chunk-5HXQOM3I.cjs} +5 -5
  58. package/dist/{chunk-BFVCYBND.cjs.map → chunk-5HXQOM3I.cjs.map} +1 -1
  59. package/dist/{chunk-GSD5U553.cjs → chunk-5KKT65WU.cjs} +3 -3
  60. package/dist/{chunk-GSD5U553.cjs.map → chunk-5KKT65WU.cjs.map} +1 -1
  61. package/dist/{chunk-AVGHTUPE.js → chunk-5PWLXLHY.js} +5 -5
  62. package/dist/chunk-5PWLXLHY.js.map +1 -0
  63. package/dist/{chunk-BBWLFK3C.js → chunk-5XIMUQ63.js} +3 -3
  64. package/dist/{chunk-BBWLFK3C.js.map → chunk-5XIMUQ63.js.map} +1 -1
  65. package/dist/{chunk-AHMRYY7J.cjs → chunk-6DAJXQZZ.cjs} +13 -13
  66. package/dist/{chunk-AHMRYY7J.cjs.map → chunk-6DAJXQZZ.cjs.map} +1 -1
  67. package/dist/{chunk-3PV25ICC.js → chunk-6KKVJ2V6.js} +3 -3
  68. package/dist/{chunk-3PV25ICC.js.map → chunk-6KKVJ2V6.js.map} +1 -1
  69. package/dist/{chunk-OLAYDOPC.js → chunk-6LUHNFEE.js} +6 -6
  70. package/dist/{chunk-OLAYDOPC.js.map → chunk-6LUHNFEE.js.map} +1 -1
  71. package/dist/{chunk-FSXQHEFQ.cjs → chunk-7CDV7Y4U.cjs} +25 -25
  72. package/dist/{chunk-FSXQHEFQ.cjs.map → chunk-7CDV7Y4U.cjs.map} +1 -1
  73. package/dist/{chunk-OAIOOVFN.cjs → chunk-7SJXYEZI.cjs} +36 -36
  74. package/dist/chunk-7SJXYEZI.cjs.map +1 -0
  75. package/dist/{chunk-LFYKB7KF.cjs → chunk-7V6APLF7.cjs} +19 -19
  76. package/dist/{chunk-LFYKB7KF.cjs.map → chunk-7V6APLF7.cjs.map} +1 -1
  77. package/dist/{chunk-4WMGFGYP.cjs → chunk-AJZ66VJC.cjs} +4 -4
  78. package/dist/{chunk-4WMGFGYP.cjs.map → chunk-AJZ66VJC.cjs.map} +1 -1
  79. package/dist/{chunk-KCP42W67.cjs → chunk-ARGQ5YZ5.cjs} +3 -3
  80. package/dist/{chunk-KCP42W67.cjs.map → chunk-ARGQ5YZ5.cjs.map} +1 -1
  81. package/dist/{chunk-BH6IKGZ3.js → chunk-AUAHGQY6.js} +5 -5
  82. package/dist/{chunk-BH6IKGZ3.js.map → chunk-AUAHGQY6.js.map} +1 -1
  83. package/dist/{chunk-KIXFXCHL.js → chunk-CEOCA7ID.js} +3 -3
  84. package/dist/{chunk-KIXFXCHL.js.map → chunk-CEOCA7ID.js.map} +1 -1
  85. package/dist/{chunk-TNKPQ3EF.js → chunk-CIRSOYGK.js} +12 -12
  86. package/dist/{chunk-TNKPQ3EF.js.map → chunk-CIRSOYGK.js.map} +1 -1
  87. package/dist/{chunk-BAUZUIHB.js → chunk-COL2TJGO.js} +83 -83
  88. package/dist/chunk-COL2TJGO.js.map +1 -0
  89. package/dist/{chunk-XHN5KOI2.cjs → chunk-DRLD4P2C.cjs} +8 -8
  90. package/dist/{chunk-XHN5KOI2.cjs.map → chunk-DRLD4P2C.cjs.map} +1 -1
  91. package/dist/{chunk-5AC52BHL.cjs → chunk-DYPFNQTQ.cjs} +140 -140
  92. package/dist/chunk-DYPFNQTQ.cjs.map +1 -0
  93. package/dist/{chunk-SCLGUHLU.cjs → chunk-E7TGSOPR.cjs} +4 -4
  94. package/dist/{chunk-SCLGUHLU.cjs.map → chunk-E7TGSOPR.cjs.map} +1 -1
  95. package/dist/{chunk-CRLFLMTK.cjs → chunk-EOXA4VJH.cjs} +3 -3
  96. package/dist/{chunk-CRLFLMTK.cjs.map → chunk-EOXA4VJH.cjs.map} +1 -1
  97. package/dist/{chunk-DBKZANTC.js → chunk-GA47YVW5.js} +3 -3
  98. package/dist/{chunk-DBKZANTC.js.map → chunk-GA47YVW5.js.map} +1 -1
  99. package/dist/{chunk-RCZRI72J.cjs → chunk-GMODJT4N.cjs} +4 -4
  100. package/dist/{chunk-RCZRI72J.cjs.map → chunk-GMODJT4N.cjs.map} +1 -1
  101. package/dist/{chunk-22KAKJ3W.cjs → chunk-GS5MFUPC.cjs} +4 -4
  102. package/dist/{chunk-22KAKJ3W.cjs.map → chunk-GS5MFUPC.cjs.map} +1 -1
  103. package/dist/{chunk-62OMGQHS.js → chunk-H6W3VXHU.js} +3 -3
  104. package/dist/{chunk-62OMGQHS.js.map → chunk-H6W3VXHU.js.map} +1 -1
  105. package/dist/{chunk-DX3Z2COD.cjs → chunk-HUYKO2ES.cjs} +3 -3
  106. package/dist/{chunk-DX3Z2COD.cjs.map → chunk-HUYKO2ES.cjs.map} +1 -1
  107. package/dist/{chunk-U5F5P4YU.js → chunk-IK234EFX.js} +12 -12
  108. package/dist/{chunk-U5F5P4YU.js.map → chunk-IK234EFX.js.map} +1 -1
  109. package/dist/{chunk-UQ2OBHMV.js → chunk-JUGEFTRC.js} +1010 -1010
  110. package/dist/chunk-JUGEFTRC.js.map +1 -0
  111. package/dist/{chunk-CHQMVIHR.js → chunk-LPGBRMYS.js} +36 -36
  112. package/dist/chunk-LPGBRMYS.js.map +1 -0
  113. package/dist/{chunk-D35EHOK5.cjs → chunk-M23W7IID.cjs} +12 -12
  114. package/dist/chunk-M23W7IID.cjs.map +1 -0
  115. package/dist/{chunk-FPOKWML2.js → chunk-MIVNNQO3.js} +21 -4
  116. package/dist/chunk-MIVNNQO3.js.map +1 -0
  117. package/dist/{chunk-WI3BVKEC.cjs → chunk-MNFI66H5.cjs} +5 -5
  118. package/dist/{chunk-WI3BVKEC.cjs.map → chunk-MNFI66H5.cjs.map} +1 -1
  119. package/dist/{chunk-T5ZMG6MC.js → chunk-NF4M7PUB.js} +3 -3
  120. package/dist/{chunk-T5ZMG6MC.js.map → chunk-NF4M7PUB.js.map} +1 -1
  121. package/dist/{chunk-ZNY5W3VX.js → chunk-NPSFPBIB.js} +3 -3
  122. package/dist/{chunk-ZNY5W3VX.js.map → chunk-NPSFPBIB.js.map} +1 -1
  123. package/dist/{chunk-LYW5A35J.js → chunk-OMIYTUVR.js} +12 -12
  124. package/dist/{chunk-LYW5A35J.js.map → chunk-OMIYTUVR.js.map} +1 -1
  125. package/dist/{chunk-ZMVF7EYJ.cjs → chunk-PBPO54KZ.cjs} +21 -3
  126. package/dist/chunk-PBPO54KZ.cjs.map +1 -0
  127. package/dist/{chunk-7V4OCZS6.cjs → chunk-RA3EGF6K.cjs} +6 -6
  128. package/dist/{chunk-7V4OCZS6.cjs.map → chunk-RA3EGF6K.cjs.map} +1 -1
  129. package/dist/{chunk-PL7O3RJJ.cjs → chunk-RKBAY7GZ.cjs} +3 -3
  130. package/dist/{chunk-PL7O3RJJ.cjs.map → chunk-RKBAY7GZ.cjs.map} +1 -1
  131. package/dist/{chunk-J3E5CSSC.js → chunk-RKFWBIKS.js} +3 -3
  132. package/dist/{chunk-J3E5CSSC.js.map → chunk-RKFWBIKS.js.map} +1 -1
  133. package/dist/{chunk-YLKHTBYA.js → chunk-RRP7MQAO.js} +3 -3
  134. package/dist/{chunk-YLKHTBYA.js.map → chunk-RRP7MQAO.js.map} +1 -1
  135. package/dist/{chunk-U6LQ6Z3P.cjs → chunk-SP3IKIPA.cjs} +6 -6
  136. package/dist/{chunk-U6LQ6Z3P.cjs.map → chunk-SP3IKIPA.cjs.map} +1 -1
  137. package/dist/{chunk-GX75YCWJ.cjs → chunk-SQUOXOY3.cjs} +560 -560
  138. package/dist/chunk-SQUOXOY3.cjs.map +1 -0
  139. package/dist/{chunk-6ZYOUT73.js → chunk-T5LORFHL.js} +7 -7
  140. package/dist/{chunk-6ZYOUT73.js.map → chunk-T5LORFHL.js.map} +1 -1
  141. package/dist/{chunk-45OU2UAA.cjs → chunk-TEMTKBBL.cjs} +10 -10
  142. package/dist/{chunk-45OU2UAA.cjs.map → chunk-TEMTKBBL.cjs.map} +1 -1
  143. package/dist/{chunk-PHDUN4SG.cjs → chunk-THCMGAFX.cjs} +41 -41
  144. package/dist/{chunk-PHDUN4SG.cjs.map → chunk-THCMGAFX.cjs.map} +1 -1
  145. package/dist/{chunk-HTGEAQOA.js → chunk-TOMDMKOD.js} +7 -7
  146. package/dist/{chunk-HTGEAQOA.js.map → chunk-TOMDMKOD.js.map} +1 -1
  147. package/dist/{chunk-WJHRWXWJ.js → chunk-TXIAF4PX.js} +3 -3
  148. package/dist/{chunk-WJHRWXWJ.js.map → chunk-TXIAF4PX.js.map} +1 -1
  149. package/dist/{chunk-6M5NAAWX.js → chunk-UCSEE52D.js} +3 -3
  150. package/dist/{chunk-6M5NAAWX.js.map → chunk-UCSEE52D.js.map} +1 -1
  151. package/dist/{chunk-I7CJDF3V.cjs → chunk-UHMP6S7M.cjs} +104 -103
  152. package/dist/chunk-UHMP6S7M.cjs.map +1 -0
  153. package/dist/{chunk-PGCKTXYH.js → chunk-UHUI6A36.js} +3 -3
  154. package/dist/{chunk-PGCKTXYH.js.map → chunk-UHUI6A36.js.map} +1 -1
  155. package/dist/{chunk-6KQVTMRL.cjs → chunk-UOGXKHTJ.cjs} +3 -3
  156. package/dist/{chunk-6KQVTMRL.cjs.map → chunk-UOGXKHTJ.cjs.map} +1 -1
  157. package/dist/{chunk-7S7YVBFK.js → chunk-VDSDG4FR.js} +3 -3
  158. package/dist/{chunk-7S7YVBFK.js.map → chunk-VDSDG4FR.js.map} +1 -1
  159. package/dist/{chunk-3GFQNJYE.js → chunk-VGWCHX6G.js} +104 -103
  160. package/dist/chunk-VGWCHX6G.js.map +1 -0
  161. package/dist/{chunk-VY3HTT37.js → chunk-VUH547VQ.js} +3 -3
  162. package/dist/{chunk-VY3HTT37.js.map → chunk-VUH547VQ.js.map} +1 -1
  163. package/dist/{chunk-AZCMKGDG.js → chunk-W37PFYFL.js} +4 -4
  164. package/dist/{chunk-AZCMKGDG.js.map → chunk-W37PFYFL.js.map} +1 -1
  165. package/dist/{chunk-JGUM4EXE.cjs → chunk-W3IX3GZS.cjs} +8 -8
  166. package/dist/{chunk-JGUM4EXE.cjs.map → chunk-W3IX3GZS.cjs.map} +1 -1
  167. package/dist/{chunk-UCA4JLLJ.cjs → chunk-X7GT57KW.cjs} +3 -3
  168. package/dist/{chunk-UCA4JLLJ.cjs.map → chunk-X7GT57KW.cjs.map} +1 -1
  169. package/dist/{chunk-IXL2KJOZ.cjs → chunk-XBEGD33U.cjs} +40 -40
  170. package/dist/{chunk-IXL2KJOZ.cjs.map → chunk-XBEGD33U.cjs.map} +1 -1
  171. package/dist/{chunk-FDNIK5YS.cjs → chunk-XBKIFGBB.cjs} +8 -8
  172. package/dist/{chunk-FDNIK5YS.cjs.map → chunk-XBKIFGBB.cjs.map} +1 -1
  173. package/dist/{chunk-HZE5MHQO.js → chunk-XT7HKQ4H.js} +3 -3
  174. package/dist/{chunk-HZE5MHQO.js.map → chunk-XT7HKQ4H.js.map} +1 -1
  175. package/dist/{chunk-M3OK6KGR.js → chunk-ZGQKED5T.js} +3 -3
  176. package/dist/{chunk-M3OK6KGR.js.map → chunk-ZGQKED5T.js.map} +1 -1
  177. package/dist/{chunk-NWBCZ4PA.js → chunk-ZKBYG6MN.js} +4 -4
  178. package/dist/{chunk-NWBCZ4PA.js.map → chunk-ZKBYG6MN.js.map} +1 -1
  179. package/dist/collaboration/index.cjs +1 -1
  180. package/dist/collaboration/index.js +1 -1
  181. package/dist/connect/docx.cjs +19 -19
  182. package/dist/connect/docx.js +15 -15
  183. package/dist/connect/index.cjs +762 -762
  184. package/dist/connect/index.js +63 -63
  185. package/dist/connect/viewer.cjs +14 -14
  186. package/dist/connect/viewer.js +13 -13
  187. package/dist/connection/dashboards/ConnectedDashboardsPage.d.ts +6 -0
  188. package/dist/dashboards/chartModel.d.ts +12 -0
  189. package/dist/dashboards/index.cjs +113 -42
  190. package/dist/dashboards/index.cjs.map +1 -1
  191. package/dist/dashboards/index.js +95 -24
  192. package/dist/dashboards/index.js.map +1 -1
  193. package/dist/embed/index.cjs +29 -29
  194. package/dist/embed/index.js +23 -23
  195. package/dist/facts/index.cjs +43 -43
  196. package/dist/facts/index.js +2 -2
  197. package/dist/files/index.cjs +1 -1
  198. package/dist/files/index.js +1 -1
  199. package/dist/home/index.cjs +31 -31
  200. package/dist/home/index.js +3 -3
  201. package/dist/index.cjs +383 -383
  202. package/dist/index.js +21 -21
  203. package/dist/settings/index.cjs +153 -153
  204. package/dist/settings/index.js +4 -4
  205. package/dist/shell/index.cjs +36 -36
  206. package/dist/shell/index.js +4 -4
  207. package/dist/site/index.cjs +5 -5
  208. package/dist/site/index.js +1 -1
  209. package/dist/studio/index.cjs +19 -19
  210. package/dist/studio/index.js +14 -14
  211. package/dist/styles.css +1 -1
  212. package/dist/workflow-canvas/index.cjs +33 -33
  213. package/dist/workflow-canvas/index.js +22 -22
  214. package/node_modules/@arbidocs/coedit/package.json +2 -2
  215. package/node_modules/@docx-editor.dev/core/dist/automation.cjs +1 -1
  216. package/node_modules/@docx-editor.dev/core/dist/automation.d.ts +60 -13
  217. package/node_modules/@docx-editor.dev/core/dist/automation.js +1 -1
  218. package/node_modules/@docx-editor.dev/core/dist/binding.cjs +1 -1
  219. package/node_modules/@docx-editor.dev/core/dist/binding.d.ts +21 -13
  220. package/node_modules/@docx-editor.dev/core/dist/binding.js +1 -1
  221. package/node_modules/@docx-editor.dev/core/dist/{index-Bsg7oIKP.d.ts → chrome-print-CAs51cpq.d.ts} +31 -21
  222. package/node_modules/@docx-editor.dev/core/dist/{chunk-VDNNLG6X.js → chunk-236O4YQW.js} +1 -1
  223. package/node_modules/@docx-editor.dev/core/dist/chunk-4HENIAFG.js +1 -0
  224. package/node_modules/@docx-editor.dev/core/dist/{chunk-SRPILEWV.cjs → chunk-6JPL6ZAS.cjs} +5 -5
  225. package/node_modules/@docx-editor.dev/core/dist/{chunk-2RC2EPND.js → chunk-6ZQP4HQ7.js} +1 -1
  226. package/node_modules/@docx-editor.dev/core/dist/{chunk-ZUHOMK52.cjs → chunk-7WQ7AAHW.cjs} +1 -1
  227. package/node_modules/@docx-editor.dev/core/dist/{chunk-Z6WBFXJU.js → chunk-BCXH4BXB.js} +3 -3
  228. package/node_modules/@docx-editor.dev/core/dist/{chunk-QMLCVPCD.cjs → chunk-BY2ACZZ6.cjs} +1 -1
  229. package/node_modules/@docx-editor.dev/core/dist/chunk-CAJEXXVG.cjs +4 -0
  230. package/node_modules/@docx-editor.dev/core/dist/chunk-CPWLFPWC.js +30 -0
  231. package/node_modules/@docx-editor.dev/core/dist/{chunk-6APGXLBB.cjs → chunk-D7ZMDMPX.cjs} +2 -2
  232. package/node_modules/@docx-editor.dev/core/dist/chunk-DOHF6FA7.cjs +30 -0
  233. package/node_modules/@docx-editor.dev/core/dist/chunk-DVX32P2P.js +27 -0
  234. package/node_modules/@docx-editor.dev/core/dist/{chunk-6EYYL7FL.js → chunk-E4LOMDNL.js} +1 -1
  235. package/node_modules/@docx-editor.dev/core/dist/chunk-EKLM7NWB.cjs +7 -0
  236. package/node_modules/@docx-editor.dev/core/dist/chunk-G3K63G7P.cjs +27 -0
  237. package/node_modules/@docx-editor.dev/core/dist/{chunk-5CSUYANV.js → chunk-G4HOFIKJ.js} +1 -1
  238. package/node_modules/@docx-editor.dev/core/dist/{chunk-K5U2PLDP.cjs → chunk-JLVBDYVQ.cjs} +1 -1
  239. package/node_modules/@docx-editor.dev/core/dist/chunk-LQX36Z5P.js +7 -0
  240. package/node_modules/@docx-editor.dev/core/dist/{chunk-TSLBZ26X.js → chunk-LSZ6KPKK.js} +1 -1
  241. package/node_modules/@docx-editor.dev/core/dist/{chunk-O2AL2HSJ.cjs → chunk-MM5QBMTE.cjs} +1 -1
  242. package/node_modules/@docx-editor.dev/core/dist/{chunk-ETTO6GK3.js → chunk-OMCG63ZF.js} +1 -1
  243. package/node_modules/@docx-editor.dev/core/dist/chunk-OSFOJTHU.cjs +18 -0
  244. package/node_modules/@docx-editor.dev/core/dist/{chunk-E7BQA6UP.js → chunk-RCLZXP3B.js} +1 -1
  245. package/node_modules/@docx-editor.dev/core/dist/chunk-T6K2QYNZ.cjs +2 -0
  246. package/node_modules/@docx-editor.dev/core/dist/chunk-TRGAVV2Y.js +4 -0
  247. package/node_modules/@docx-editor.dev/core/dist/chunk-U4JZVSOE.js +2 -0
  248. package/node_modules/@docx-editor.dev/core/dist/{chunk-2GO5T2JU.cjs → chunk-UHHYFIDT.cjs} +1 -1
  249. package/node_modules/@docx-editor.dev/core/dist/chunk-V3N4SOAK.cjs +1 -0
  250. package/node_modules/@docx-editor.dev/core/dist/{chunk-6AWEKBLB.cjs → chunk-W35WTWAO.cjs} +1 -1
  251. package/node_modules/@docx-editor.dev/core/dist/chunk-YQ5G6LC7.js +18 -0
  252. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.cjs +1 -1
  253. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.d.ts +5 -5
  254. package/node_modules/@docx-editor.dev/core/dist/collaboration/replication.js +1 -1
  255. package/node_modules/@docx-editor.dev/core/dist/collaboration.d.ts +4 -4
  256. package/node_modules/@docx-editor.dev/core/dist/contracts/document.d.ts +3 -3
  257. package/node_modules/@docx-editor.dev/core/dist/contracts/editor.d.ts +9 -10
  258. package/node_modules/@docx-editor.dev/core/dist/contracts/interaction.d.ts +2 -2
  259. package/node_modules/@docx-editor.dev/core/dist/contracts/modules.cjs +1 -1
  260. package/node_modules/@docx-editor.dev/core/dist/contracts/modules.d.ts +33 -9
  261. package/node_modules/@docx-editor.dev/core/dist/contracts/modules.js +1 -1
  262. package/node_modules/@docx-editor.dev/core/dist/contracts/types.d.ts +2 -2
  263. package/node_modules/@docx-editor.dev/core/dist/{custom-node-writes-cvL5rhcD.d.ts → custom-node-writes-Bn6uciLb.d.ts} +2 -2
  264. package/node_modules/@docx-editor.dev/core/dist/diagnostic-context-B8M79cfK.d.ts +30 -0
  265. package/node_modules/@docx-editor.dev/core/dist/diagnostic-hints-BeVjfNOv.d.ts +113 -0
  266. package/node_modules/@docx-editor.dev/core/dist/{document-protection-BAGVGqaP.d.ts → document-protection-CUb55pl_.d.ts} +2 -2
  267. package/node_modules/@docx-editor.dev/core/dist/{editor-Ci7IZGmG.d.ts → editor-CZQZmTIU.d.ts} +386 -9
  268. package/node_modules/@docx-editor.dev/core/dist/{editor-scope-OHPwVQ5l.d.ts → editor-scope-7o9xweiJ.d.ts} +1 -1
  269. package/node_modules/@docx-editor.dev/core/dist/editor.cjs +1 -1
  270. package/node_modules/@docx-editor.dev/core/dist/editor.d.ts +54 -33
  271. package/node_modules/@docx-editor.dev/core/dist/editor.js +1 -1
  272. package/node_modules/@docx-editor.dev/core/dist/export.cjs +2 -2
  273. package/node_modules/@docx-editor.dev/core/dist/export.d.ts +13 -14
  274. package/node_modules/@docx-editor.dev/core/dist/export.js +1 -1
  275. package/node_modules/@docx-editor.dev/core/dist/{font-resolver-BVQB14qT.d.ts → font-resolver-lSBLirLR.d.ts} +3 -3
  276. package/node_modules/@docx-editor.dev/core/dist/{headless-document-view-qH331moE.d.ts → headless-document-view-pp3q7wIh.d.ts} +2 -2
  277. package/node_modules/@docx-editor.dev/core/dist/{image-resources-BN-hUgCn.d.ts → image-resources-tXLQShoC.d.ts} +2 -2
  278. package/node_modules/@docx-editor.dev/core/dist/index.cjs +1 -1
  279. package/node_modules/@docx-editor.dev/core/dist/index.d.ts +65 -20
  280. package/node_modules/@docx-editor.dev/core/dist/index.js +1 -1
  281. package/node_modules/@docx-editor.dev/core/dist/{layout-shaping-BEyuiQOk.d.ts → layout-shaping-BD-dF_rn.d.ts} +1 -1
  282. package/node_modules/@docx-editor.dev/core/dist/layout.cjs +1 -1
  283. package/node_modules/@docx-editor.dev/core/dist/layout.d.ts +17 -20
  284. package/node_modules/@docx-editor.dev/core/dist/layout.js +1 -1
  285. package/node_modules/@docx-editor.dev/core/dist/{note-properties-4Y9o6Gyk.d.ts → note-properties-qQUjO1GQ.d.ts} +3 -3
  286. package/node_modules/@docx-editor.dev/core/dist/{omml-equation-CuzBL5DD.d.ts → omml-equation-BUbU0utM.d.ts} +1 -1
  287. package/node_modules/@docx-editor.dev/core/dist/output.cjs +1 -1
  288. package/node_modules/@docx-editor.dev/core/dist/output.d.ts +8 -9
  289. package/node_modules/@docx-editor.dev/core/dist/output.js +1 -1
  290. package/node_modules/@docx-editor.dev/core/dist/{protocol-Bqk4Izjc.d.ts → protocol-DYzzz2ej.d.ts} +2 -2
  291. package/node_modules/@docx-editor.dev/core/dist/{review-paragraph-order-DT-n6ouC.d.ts → review-paragraph-order-CN_0l2Cb.d.ts} +1 -1
  292. package/node_modules/@docx-editor.dev/core/dist/{semantic-cell-selection-D9D1KSXq.d.ts → semantic-cell-selection-eYag3P47.d.ts} +4 -211
  293. package/node_modules/@docx-editor.dev/core/dist/{semantic-interaction-CIC-PooQ.d.ts → semantic-interaction-kR_QB845.d.ts} +1 -1
  294. package/node_modules/@docx-editor.dev/core/dist/{semantic-paint-BME37OMv.d.ts → semantic-paint-ZayFF3tD.d.ts} +17 -5
  295. package/node_modules/@docx-editor.dev/core/dist/{semantic-record-queries-CBlZqZNa.d.ts → semantic-record-queries-Bsgth6lv.d.ts} +1 -1
  296. package/node_modules/@docx-editor.dev/core/dist/{semantic-records-4B3WwFAi.d.ts → semantic-records-DQmumPgL.d.ts} +1279 -828
  297. package/node_modules/@docx-editor.dev/core/dist/store.cjs +1 -1
  298. package/node_modules/@docx-editor.dev/core/dist/store.d.ts +1466 -1464
  299. package/node_modules/@docx-editor.dev/core/dist/store.js +1 -1
  300. package/node_modules/@docx-editor.dev/core/dist/{tree-package-fragment-BeeKxDw8.d.ts → tree-package-store-CovjNARF.d.ts} +83 -83
  301. package/node_modules/@docx-editor.dev/core/dist/{tree-session-contract-CVbmlMlq.d.ts → tree-session-contract-CZVAGl51.d.ts} +6 -6
  302. package/node_modules/@docx-editor.dev/core/dist/{types-barrel-D3xCgQX6.d.ts → types-barrel-DuC5QBNC.d.ts} +548 -527
  303. package/node_modules/@docx-editor.dev/core/package.json +3 -3
  304. package/node_modules/@docx-editor.dev/react/dist/index.js +3 -3
  305. package/node_modules/@docx-editor.dev/react/dist/index.mjs +3 -3
  306. package/node_modules/@docx-editor.dev/react/package.json +4 -4
  307. package/package.json +8 -8
  308. package/dist/ConnectedStreamedWordArtifact-HLJ5IIOU.js.map +0 -1
  309. package/dist/ConnectedStreamedWordArtifact-JQ34AOUU.cjs.map +0 -1
  310. package/dist/RechartsRenderer-23OF4H6X.js.map +0 -1
  311. package/dist/RechartsRenderer-GIRCW7DB.cjs.map +0 -1
  312. package/dist/ai-ADS6YSS2.cjs.map +0 -1
  313. package/dist/ai-KHWTGBT5.js.map +0 -1
  314. package/dist/chunk-3GFQNJYE.js.map +0 -1
  315. package/dist/chunk-5AC52BHL.cjs.map +0 -1
  316. package/dist/chunk-AVGHTUPE.js.map +0 -1
  317. package/dist/chunk-BAUZUIHB.js.map +0 -1
  318. package/dist/chunk-CHQMVIHR.js.map +0 -1
  319. package/dist/chunk-D35EHOK5.cjs.map +0 -1
  320. package/dist/chunk-FPOKWML2.js.map +0 -1
  321. package/dist/chunk-GX75YCWJ.cjs.map +0 -1
  322. package/dist/chunk-I7CJDF3V.cjs.map +0 -1
  323. package/dist/chunk-OAIOOVFN.cjs.map +0 -1
  324. package/dist/chunk-UQ2OBHMV.js.map +0 -1
  325. package/dist/chunk-ZMVF7EYJ.cjs.map +0 -1
  326. package/node_modules/@docx-editor.dev/core/dist/chunk-4GBTELJV.cjs +0 -28
  327. package/node_modules/@docx-editor.dev/core/dist/chunk-4R3TEXMN.js +0 -18
  328. package/node_modules/@docx-editor.dev/core/dist/chunk-EO4C5QJW.cjs +0 -2
  329. package/node_modules/@docx-editor.dev/core/dist/chunk-FIJZIQXA.cjs +0 -18
  330. package/node_modules/@docx-editor.dev/core/dist/chunk-FRXAOVTB.js +0 -28
  331. package/node_modules/@docx-editor.dev/core/dist/chunk-J6BVWIDB.js +0 -2
  332. package/node_modules/@docx-editor.dev/core/dist/chunk-JGNVNT2A.cjs +0 -2
  333. package/node_modules/@docx-editor.dev/core/dist/chunk-KKIJG3C6.js +0 -2
  334. package/node_modules/@docx-editor.dev/core/dist/chunk-LWDSDCMO.js +0 -27
  335. package/node_modules/@docx-editor.dev/core/dist/chunk-NBCVVZOM.cjs +0 -1
  336. package/node_modules/@docx-editor.dev/core/dist/chunk-O5INAWZQ.js +0 -1
  337. package/node_modules/@docx-editor.dev/core/dist/chunk-RCHS4ZEH.cjs +0 -27
  338. package/node_modules/@docx-editor.dev/core/dist/chunk-VHAVHCQY.js +0 -7
  339. package/node_modules/@docx-editor.dev/core/dist/chunk-VX43VBAX.cjs +0 -7
  340. package/node_modules/@docx-editor.dev/core/dist/review-pane-D9jm8DcY.d.ts +0 -128
  341. package/node_modules/@docx-editor.dev/core/dist/revision-projection-DZ4kKVev.d.ts +0 -242
@@ -1,28 +0,0 @@
1
- 'use strict';var chunkO2AL2HSJ_cjs=require('./chunk-O2AL2HSJ.cjs'),chunkJGNVNT2A_cjs=require('./chunk-JGNVNT2A.cjs'),chunkFIJZIQXA_cjs=require('./chunk-FIJZIQXA.cjs'),hG=require('bidi-js');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var hG__default=/*#__PURE__*/_interopDefault(hG);var sz=Symbol("validated-resolved-font"),dz=4,Ak=64*1024*1024,jm=256,Wm=128*1024*1024,cl=class extends Error{name="FontResolutionError";request;code;limit;actual;diagnostic;expectedHash;actualHash;constructor(t,n,r={}){super(`Font resolution failed (${t}) for ${Jc(n)}`),this.code=t,this.request=ni(n),this.limit=r.limit,this.actual=r.actual,this.diagnostic=r.diagnostic,this.expectedHash=r.expectedHash,this.actualHash=r.actualHash,this.stack;}},_k=e=>{if(e.family.trim().length===0)throw new TypeError("Font family must not be empty");if(!Number.isInteger(e.weight)||e.weight<1||e.weight>1e3)throw new RangeError("Font weight must be an integer from 1 through 1000");if(e.style!=="normal"&&e.style!=="italic")throw new TypeError("Font style must be normal or italic")},ni=e=>(_k(e),Object.freeze({family:e.family,weight:e.weight,style:e.style})),Cb=e=>{let t={family:e.family,weight:e.weight,style:e.style};return ni(t)},Nk=Symbol("prepared-font-resource"),Ib=new WeakMap,cz=new Uint8Array(0),Hk=Object.getPrototypeOf(Uint8Array.prototype),uz=Object.getOwnPropertyDescriptor(Hk,"length").get,fz=Object.getOwnPropertyDescriptor(Hk,"byteLength").get;function zm(e){if(!ArrayBuffer.isView(e))throw new TypeError("Font bytes must be a genuine byte array");let t,n;try{t=uz.call(e),n=fz.call(e);}catch{throw new TypeError("Font bytes must be a genuine byte array")}if(t!==n)throw new TypeError("Font bytes must use one-byte elements");return n}function jk(e){let t=new Uint8Array(zm(e));return Uint8Array.prototype.set.call(t,e),t}function c9(e,t){let n=ni(e.request);if(e.availability==="forbidden"){let i=Object.freeze({...e,request:n,actualHash:null,[Nk]:true});return Ib.set(i,null),i}let r=jk(e.bytes);t?.onOwnedByteCopy?.(),t?.onHash?.();let o=chunkFIJZIQXA_cjs.f(r),a=Object.freeze({...e,request:n,bytes:r,actualHash:o,[Nk]:true});return Ib.set(a,o),a}function Wk(e){return Ib.get(e)}var zk=e=>{if(!Number.isFinite(e.heightEm)||!Number.isFinite(e.baselineEm)||e.heightEm<=0||e.heightEm>dz||e.baselineEm<0||e.baselineEm>e.heightEm)throw new RangeError("Font substitution line metrics must fit within a bounded em box");return Object.freeze({heightEm:e.heightEm,baselineEm:e.baselineEm})},Jc=e=>(_k(e),JSON.stringify([e.family.trim().toLowerCase(),e.weight,e.style])),Mb=class{[sz]=true;id;identity;request;family;byteLength;hash;faceIndex;substitution;constructor(t,n){if(t.id.length===0)throw new TypeError("Resolved font id must not be empty");if(!Number.isInteger(t.faceIndex)||t.faceIndex<0)throw new RangeError("Font face index must be a non-negative integer");this.id=t.id,this.request=ni(t.request),this.family=this.request.family,this.hash=t.hash,this.faceIndex=t.faceIndex,this.identity=`${this.hash}#${this.faceIndex}`,this.byteLength=t.byteLength,this.substitution=null,n&&(this.substitution=Object.freeze({requested:ni(n.requested),resolved:ni(n.resolved),...n.lineMetrics?{lineMetrics:zk(n.lineMetrics)}:{}})),Object.freeze(this);}get bytes(){return Uk(this).slice()}},Vk=new WeakSet,Gk=new WeakMap,Kk=new WeakMap,$k=(e,t,n,r)=>{let o=new Mb(e,r);return Gk.set(o,t),Kk.set(o,n),Vk.add(o),o},Uk=e=>{Vm(e);let t=Gk.get(e);if(!t)throw new TypeError("Resolved font has no owned byte capability");return t},mz=e=>{Vm(e);let t=Kk.get(e);if(!t)throw new TypeError("Resolved font has no admitted table metadata");return t},Vm=e=>{if(typeof e!="object"||e===null||!Vk.has(e))throw new TypeError("Shaping requires a validated resolved font")},Yk=(e,t)=>e[t]<<8|e[t+1],Es=(e,t)=>e[t]*16777216+(e[t+1]<<16)+(e[t+2]<<8)+e[t+3]>>>0,Dk=(e,t)=>{if(t>e.byteLength-12)return {valid:false,diagnostic:"truncated sfnt header"};let n=String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3]);if(!(e[t]===0&&e[t+1]===1&&e[t+2]===0&&e[t+3]===0)&&n!=="OTTO"&&n!=="true"&&n!=="typ1")return {valid:false,diagnostic:"unsupported sfnt signature"};let o=Yk(e,t+4),a=t+12+o*16;if(!Number.isSafeInteger(a)||a>e.byteLength)return {valid:false,diagnostic:"truncated sfnt table directory"};for(let i=0;i<o;i+=1){let l=t+12+i*16,s=Es(e,l+8),d=Es(e,l+12);if(s>e.byteLength||d>e.byteLength-s)return {valid:false,diagnostic:"sfnt table range exceeds font bytes"}}return {valid:true}},pz=(e,t)=>{let r=String.fromCharCode(e[0],e[1],e[2],e[3])==="ttcf"?Es(e,12+t*4):0,o=Yk(e,r+4),a=new Set;for(let i=0;i<o;i+=1){let l=r+12+i*16;a.add(String.fromCharCode(e[l],e[l+1],e[l+2],e[l+3]));}return Object.freeze(a)},gz=(e,t)=>{if(!Number.isSafeInteger(t)||t<0)return {valid:false,diagnostic:"invalid font face index"};if(e.byteLength<12)return {valid:false,diagnostic:"truncated sfnt header"};if(String.fromCharCode(e[0],e[1],e[2],e[3])!=="ttcf")return t!==0?{valid:false,diagnostic:"standalone sfnt has only face index zero"}:Dk(e,0);let r=Es(e,4);if(r!==65536&&r!==131072)return {valid:false,diagnostic:"unsupported TTC version"};let o=Es(e,8),a=12+o*4;if(o===0||!Number.isSafeInteger(a)||a>e.byteLength||t>=o)return {valid:false,diagnostic:"invalid TTC face directory"};let i=Es(e,12+t*4);return i<a?{valid:false,diagnostic:"invalid TTC face offset"}:Dk(e,i)},hz=(e,t,n,r)=>{if(e.availability==="forbidden")return {kind:"forbidden"};let o=zm(e.bytes);if(o>t)return {kind:"overLimit",actual:o};let a=Wk(e),i=a===void 0?jk(e.bytes):e.bytes;a===void 0&&r?.onOwnedByteCopy?.(),a===void 0&&r?.onHash?.();let l=a??chunkFIJZIQXA_cjs.f(i);if(e.hash!==l)return {kind:"hashMismatch",expectedHash:e.hash,actualHash:l};let s=gz(i,e.faceIndex);if(!s.valid)return {kind:"malformed",diagnostic:s.diagnostic};r?.onTableScan?.();let d=pz(i,e.faceIndex);try{let u=n(i,e.faceIndex);if(!u.valid)return {kind:"malformed",diagnostic:u.diagnostic}}catch(u){return {kind:"malformed",diagnostic:u instanceof Error?u.message:"font validator threw"}}let c={kind:"resolved",font:$k({...e,byteLength:i.byteLength},i,d)};return r?.onAdmission?.(),c},u9=e=>{let t=e.epoch,n=e.maxFontBytes,r=e.validateFont,o=e.instrumentation,a=e.resources,i=e.substitutions;if(!Number.isSafeInteger(t)||t<0)throw new RangeError("Font resource epoch must be a non-negative safe integer");if(!Number.isSafeInteger(n)||n<=0||n>Ak)throw new RangeError(`Font byte ceiling must be a positive safe integer no greater than ${Ak}`);if(typeof r!="function")throw new TypeError("Font snapshot requires a validator");let l=a.length,s=i?.length??0;if(l>jm)throw new RangeError(`Font source count must not exceed ${jm}`);if(s>jm)throw new RangeError(`Font substitution count must not exceed ${jm}`);let d=0,c=[];for(let p=0;p<l;p+=1){let h=a[p];if(Wk(h)!==void 0){let I=h.availability==="forbidden"?0:zm(h.bytes);if(I>Wm-d)throw new RangeError(`Aggregate font bytes must not exceed ${Wm}`);d+=I,c.push(h);continue}let y=Cb(h.request),b=h.id,x=h.hash,R=h.faceIndex,P=h.availability,S=P==="forbidden"?cz:h.bytes,w=P==="forbidden"?0:zm(S);if(w>Wm-d)throw new RangeError(`Aggregate font bytes must not exceed ${Wm}`);d+=w,c.push(Object.freeze({request:y,id:b,bytes:S,hash:x,faceIndex:R,...P?{availability:P}:{}}));}let u=[];if(i)for(let p=0;p<s;p+=1){let h=i[p],y=Cb(h.from),b=Cb(h.to),x=h.lineMetrics;u.push(Object.freeze({from:y,to:b,...x?{lineMetrics:Object.freeze({heightEm:x.heightEm,baselineEm:x.baselineEm})}:{}}));}let f=new Map;for(let p of c){let h=Jc(p.request);f.has(h)||f.set(h,hz(p,n,r,o));}let m=new Map;for(let p of u){let h=Jc(p.from);m.has(h)||m.set(h,Object.freeze({to:ni(p.to),...p.lineMetrics?{lineMetrics:zk(p.lineMetrics)}:{}}));}return Object.freeze({epoch:t,resolve:p=>{let h=ni(p),y=Jc(h),b=m.get(y),x=b?.to??h,R=f.get(Jc(x));return R?R.kind==="forbidden"?new cl("forbidden",h):R.kind==="overLimit"?new cl("overLimit",h,{limit:n,actual:R.actual}):R.kind==="malformed"?new cl("malformed",h,{diagnostic:R.diagnostic}):R.kind==="hashMismatch"?new cl("hashMismatch",h,{expectedHash:R.expectedHash,actualHash:R.actualHash}):b?$k({request:R.font.request,id:R.font.id,hash:R.font.hash,faceIndex:R.font.faceIndex,byteLength:R.font.byteLength},Uk(R.font),mz(R.font),{requested:h,resolved:b.to,...b.lineMetrics?{lineMetrics:b.lineMetrics}:{}}):R.font:new cl("missing",h)}})};var yz=e=>{if(!Number.isSafeInteger(e))throw new RangeError("Fixed-point value must be a safe integer");return e},Qc=16,Gm=(e,t)=>{if(e.trim().length===0||/[\u0000-\u001f\u007f]/.test(e))throw new TypeError(`${t} must be non-blank and contain no control characters`)},bz=(e,t)=>{if(!/^[\x20-\x7e]{4}$/.test(e))throw new TypeError(`${t} must be a four-byte ASCII tag`)},Xk=(e,t,n)=>{let r=Object.entries(e).sort(([a],[i])=>a<i?-1:a>i?1:0),o=Object.create(null);for(let[a,i]of r){if(bz(a,`${t} key`),!Number.isFinite(i)||n&&(!Number.isSafeInteger(i)||i<0))throw new RangeError(`${t} value must be ${n?"a non-negative safe integer":"finite"}`);if(n&&i>4294967295)throw new RangeError(`${t} value must fit an unsigned 32-bit integer`);o[a]=i;}return Object.freeze(o)},Bb=e=>Object.freeze({family:e.family,weight:e.weight,style:e.style}),xz=e=>e?Object.freeze({requested:Bb(e.requested),resolved:Bb(e.resolved),...e.lineMetrics?{lineMetrics:Object.freeze({...e.lineMetrics})}:{}}):void 0,Zk=new WeakSet,Lb=new WeakSet,qk=new WeakMap,Ab=e=>{if(Vm(e),!Zk.has(e)){if(e.identity!==`${e.hash}#${e.faceIndex}`)throw new TypeError("Resolved font identity does not match hash and face index");if(!Number.isSafeInteger(e.byteLength)||e.byteLength<0)throw new TypeError("Resolved font byte length is invalid");Zk.add(e);}},Eb=e=>(Ab(e),e),$m=e=>(Ab(e),Object.freeze({identity:e.identity,id:e.id,family:e.family,request:Bb(e.request),hash:e.hash,faceIndex:e.faceIndex,byteLength:e.byteLength,substitution:xz(e.substitution)??null})),Qk=e=>{if(Lb.has(e))return e;if(Gm(e.shapingLibrary.name,"shaping library name"),Gm(e.shapingLibrary.version,"shaping library version"),Gm(e.unicodeDataVersion,"Unicode data version"),!/^\d+(?:\.\d+){0,3}(?:[-+][0-9A-Za-z.-]+)?$/.test(e.shapingLibrary.version))throw new TypeError("shaping library version must be a numeric version");if(!/^\d+(?:\.\d+){1,2}$/.test(e.unicodeDataVersion))throw new TypeError("Unicode data version must be a dotted numeric version");if(!/^[A-Z][a-z]{3}$/.test(e.script))throw new TypeError("script must be a four-letter ISO 15924 code");if(Gm(e.language,"language"),!/^(?:und|[A-Za-z]{2,8})(?:-[A-Za-z0-9]{1,8})*$/.test(e.language))throw new TypeError("language must be a BCP 47 language tag");if(e.direction!=="ltr"&&e.direction!=="rtl")throw new TypeError("direction must be ltr or rtl");if(!["none","NFC","NFD","NFKC","NFKD"].includes(e.normalization))throw new TypeError("invalid normalization policy");if(!["halfAwayFromZero","halfToEven","towardZero"].includes(e.roundingMode))throw new TypeError("invalid fixed-point rounding mode");if(!Number.isSafeInteger(e.fixedPointScale)||e.fixedPointScale<=0)throw new RangeError("fixed-point scale must be a positive safe integer");let t=Eb(e.font),n=e.fallbackOrder.map(Eb),r=new Set;for(let a of n){let i=JSON.stringify($m(a));if(r.has(i))throw new TypeError("fallback order contains a duplicate font");r.add(i);}let o=Object.freeze({font:t,variationAxes:Xk(e.variationAxes,"variation axis",false),shapingLibrary:Object.freeze({name:e.shapingLibrary.name,version:e.shapingLibrary.version}),unicodeDataVersion:e.unicodeDataVersion,normalization:e.normalization,script:e.script,language:e.language,direction:e.direction,features:Xk(e.features,"OpenType feature",true),fallbackOrder:Object.freeze([...n]),fixedPointScale:e.fixedPointScale,roundingMode:e.roundingMode});return Lb.add(o),o},Sz=e=>{let t=Qk(e);return Object.freeze({font:$m(t.font),variationAxes:Object.freeze(Object.entries(t.variationAxes).map(n=>Object.freeze(n))),shapingLibrary:Object.freeze({name:t.shapingLibrary.name,version:t.shapingLibrary.version}),unicodeDataVersion:t.unicodeDataVersion,normalization:t.normalization,script:t.script,language:t.language,direction:t.direction,features:Object.freeze(Object.entries(t.features).map(n=>Object.freeze(n))),fallbackOrder:Object.freeze(t.fallbackOrder.map($m)),fixedPointScale:t.fixedPointScale,roundingMode:t.roundingMode})},p9=e=>{let t=qk.get(e);if(t!==void 0)return t;let n=JSON.stringify(Sz(e));return Lb.has(e)&&qk.set(e,n),n},qr=(e,t)=>{if(!Number.isSafeInteger(e)||e<0)throw new RangeError(`${t} must be a non-negative safe integer`)},Jr=e=>{try{return yz(e)}catch{throw new RangeError("Shaped run contains a non-integer fixed-point value")}},Jk=new WeakMap,Km=e=>{let t=Jk.get(e);if(t)return t;Ab(e);let n=JSON.stringify({identity:e.identity,id:e.id,family:e.family,request:e.request,hash:e.hash,faceIndex:e.faceIndex,byteLength:e.byteLength,substitution:e.substitution??null});return Jk.set(e,n),n},Pz=(e,t)=>{let n=Qk(t);if(e.direction!=="ltr"&&e.direction!=="rtl")throw new TypeError("Shaped run direction must be ltr or rtl");if(e.direction!==n.direction)throw new TypeError("Shaped run direction does not match shaping environment");if(qr(e.bidiLevel,"bidi level"),(e.bidiLevel&1)===1!=(e.direction==="rtl"))throw new TypeError("Shaped run direction does not match bidi level parity");let r=new Map,o=e.glyphs.map(d=>{qr(d.id,"glyph id"),qr(d.cluster,"glyph cluster");let c=r.get(d.outline);if(!c){if(!Number.isSafeInteger(d.outline.unitsPerEm)||d.outline.unitsPerEm<=0)throw new RangeError("Glyph outline units per em must be a positive safe integer");c=Object.isFrozen(d.outline)?d.outline:Object.freeze({path:d.outline.path,unitsPerEm:d.outline.unitsPerEm}),r.set(d.outline,c);}return Object.freeze({id:d.id,cluster:d.cluster,originX:Jr(d.originX),originY:Jr(d.originY),advanceX:Jr(d.advanceX),advanceY:Jr(d.advanceY),offsetX:Jr(d.offsetX),offsetY:Jr(d.offsetY),outline:c,...d.drawScale!==void 0?{drawScale:d.drawScale}:{}})}),a=e.fontSpans.map(d=>{if(qr(d.glyphStart,"font span start"),qr(d.glyphEnd,"font span end"),d.glyphEnd<=d.glyphStart||d.glyphEnd>o.length)throw new RangeError("Font span glyph range is invalid");d.fallbackIndex!==null&&qr(d.fallbackIndex,"fallback index");let c=Eb(d.font);if(d.fallbackIndex===null){if(Km(c)!==Km(n.font))throw new TypeError("Shaped primary font does not match shaping environment")}else {let u=n.fallbackOrder[d.fallbackIndex];if(!u)throw new RangeError("Shaped fallback index is outside fallback order");if(Km(c)!==Km(u))throw new TypeError("Shaped fallback font does not match shaping environment provenance")}return Object.freeze({...d,font:c})});for(let d=0;d<a.length;d+=1){let c=d===0?0:a[d-1].glyphEnd;if(a[d].glyphStart!==c)throw new RangeError("Font spans must cover glyphs contiguously")}if(o.length===0&&a.length!==0||o.length>0&&a.at(-1)?.glyphEnd!==o.length)throw new RangeError("Font spans must cover every glyph exactly once");let i=e.clusters.map(d=>{if(qr(d.textStart,"cluster text start"),qr(d.textEnd,"cluster text end"),qr(d.glyphStart,"cluster glyph start"),qr(d.glyphEnd,"cluster glyph end"),qr(d.fontSpan,"cluster font span"),d.textEnd<=d.textStart||d.textEnd>e.text.length||d.glyphEnd<=d.glyphStart||d.glyphEnd>o.length)throw new RangeError("Shaped cluster range is invalid");let c=a[d.fontSpan];if(!c||d.glyphStart<c.glyphStart||d.glyphEnd>c.glyphEnd)throw new RangeError("Shaped cluster does not belong to its declared font span");return Object.freeze({textStart:d.textStart,textEnd:d.textEnd,glyphStart:d.glyphStart,glyphEnd:d.glyphEnd,advance:Jr(d.advance),caretEdges:Object.freeze(d.caretEdges.map(Jr)),fontSpan:d.fontSpan})}),l=Object.freeze({ascent:Jr(e.metrics.ascent),descent:Jr(e.metrics.descent),lineGap:Jr(e.metrics.lineGap)}),s=e.exactAdvancesX;if(s!==void 0){if(s.length!==o.length)throw new RangeError("Exact advances must be parallel to the shaped glyphs");if(s.some(d=>!Number.isFinite(d)))throw new RangeError("Exact advance must be a finite number")}return Object.freeze({text:e.text,direction:e.direction,bidiLevel:e.bidiLevel,glyphs:Object.freeze(o),clusters:Object.freeze(i),fontSpans:Object.freeze(a),metrics:l,...s===void 0?{}:{exactAdvancesX:Object.freeze([...s])}})},g9=(e,t)=>{let n=Pz(e,t);return Object.freeze({text:n.text,direction:n.direction,script:t.script,language:t.language,bidiLevel:n.bidiLevel,glyphs:n.glyphs,clusters:n.clusters,fontSpans:Object.freeze(n.fontSpans.map(r=>Object.freeze({glyphStart:r.glyphStart,glyphEnd:r.glyphEnd,fallbackIndex:r.fallbackIndex,font:$m(r.font)}))),metrics:n.metrics})};var Rz=/^[0-9A-Fa-f]{6}$/;function Nb(e){if(!(e===void 0||e==="auto"||e==="nil")&&Rz.test(e))return e.toUpperCase()}function Um(e){if(e&&e.val!=="nil")return Nb(e.fill)}function eT(e){if(!e||e.localName!=="shd")return;let t={};for(let n of e.attributes)t[n.localName]=n.value;return Um(t)}function tT(e){let t;for(let n of e)n.localName==="shd"&&(t=Um(n.attributes));return t}function Ym(e,t,n){if(e.length===0)return;let r=e[0].box.y,o=e[e.length-1].box;return {x:t,y:r,width:n,height:Math.max(o.y+o.height-r,0)}}var Xm=.25,Zm=.25;function As(e){let t=Math.max(e,.25),n=Math.max(e,.25),r=t*2+n;return {strokePt:t,gapPt:n,extentPt:r,insetPt:(e-r)/2}}var wz=new Set(["double","triple","thinThickSmallGap","thickThinSmallGap","thinThickThinSmallGap","thinThickMediumGap","thickThinMediumGap","thinThickThinMediumGap","thinThickLargeGap","thickThinLargeGap","thinThickThinLargeGap","doubleWave"]);function kz(e){return wz.has(e)}function ul(e,t){return kz(e)?As(t).extentPt:t}var Tz=new Set(["single","thick","double","dotted","dashed","dotDash","dotDotDash","triple","thinThickSmallGap","thickThinSmallGap","thinThickThinSmallGap","thinThickMediumGap","thickThinMediumGap","thinThickThinMediumGap","thinThickLargeGap","thickThinLargeGap","thinThickThinLargeGap","wave","doubleWave","dashSmallGap","dashDotStroked","threeDEmboss","threeDEngrave","outset","inset"]);function nT(e){return Tz.has(e)}function vz(e){return e===void 0||e!=="0"&&e!=="false"&&e!=="off"}function Fz(e){let t=true;for(let n of e)n.localName==="snapToGrid"&&(t=vz(n.attributes?.val));return t}function Db(e,t,n,r,o){return n===void 0||!(n>0)||e.rule==="exact"||r&&!o||!Fz(t)?e:{...e,gridPitch:n}}function rT(e,t,n){let r=e.gridPitch,o=Math.max(1,Math.ceil((t-.001)/r)),a=o*r,i=(a-t)/2;if(e.rule==="atLeast"&&e.value>a){let c=e.value,u=n+c-a+i;return {height:c,baseline:u,trailing:i}}let l=e.rule==="auto"?e.value/240:1,s=Math.max(o,l)*r,d=(s-t)/2;return {height:s,baseline:n+d,trailing:d}}function oT(e,t){if(t===void 0||e.lineSpacing.gridPitch!==void 0)return e;let n=Db(e.lineSpacing,e.props,t,false,false);return n===e.lineSpacing?e:{...e,lineSpacing:n}}function Ds(e){let t=false;for(let n of e){if(n.localName!=="pageBreakBefore")continue;let r=n.attributes?.val;t=r===void 0||Ns(r);}return t}var _b=31680/20,Jm=12,Oz=3168,aT=14,Cz=5,Iz=10,eu=Object.freeze({rule:"auto",value:240}),Mz=132,Bz=1584,Lz=["top","left","bottom","right","between","bar"],Ez=Object.freeze({}),Az=/^[0-9A-Fa-f]{6}$/,Nz=new Set(["nil","none"]);function qm(e,t=false){return e===void 0||!(t?/^-?\d{1,9}$/:/^\d{1,9}$/).test(e)?null:Number(e)}function tu(e,t){return !Number.isFinite(e)||e<=0?0:e>t?t:e}function iT(e){let t=chunkFIJZIQXA_cjs.nd(e);return t===null?0:tu(chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(t)),_b)}function Ns(e){return e!=="0"&&e!=="false"&&e!=="off"}function Dz(e){return e===void 0||e==="auto"?null:Az.test(e)?e.toUpperCase():null}function Lo(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function w9(e,t){let n=null;for(let r of e)r.localName===t&&(n={...n??{},...r.attributes??{}});return n}function lT(e){let t=false,n=false;for(let r of e){if(r.localName!=="spacing")continue;let o=r.attributes?.beforeAutospacing,a=r.attributes?.afterAutospacing;o!==void 0&&(t=Ns(o)),a!==void 0&&(n=Ns(a));}return {before:t,after:n}}function oi(e,t){let n=0,r=0,o=null,a=null,i=false,l=false;for(let s of e){if(s.localName!=="spacing")continue;let d=s.attributes?.before,c=s.attributes?.after;d!==void 0&&(n=iT(d)),c!==void 0&&(r=iT(c)),s.attributes?.beforeLines!==void 0&&(o=qm(s.attributes.beforeLines,true)),s.attributes?.afterLines!==void 0&&(a=qm(s.attributes.afterLines,true));let u=s.attributes?.beforeAutospacing,f=s.attributes?.afterAutospacing;u!==void 0&&(i=Ns(u)),f!==void 0&&(l=Ns(f));}if(o!==null&&(n=tu(o*(t?.lineUnitPt??12)/100,_b)),a!==null&&(r=tu(a*(t?.lineUnitPt??12)/100,_b)),i||l){let s=t?.fixedAutoSpacing===true,d=s?Cz:aT,c=s?Iz:aT;i&&(n=t?.inList?0:d),l&&(r=t?.inList?0:c);}return {before:n,after:r}}function sT(e){let t,n;for(let a of e){if(a.localName!=="spacing")continue;let i=a.attributes?.lineRule;(i==="auto"||i==="exact"||i==="atLeast")&&(t=i);let l=a.attributes?.line;if(l!==void 0){let s=chunkFIJZIQXA_cjs.nd(l);s!==null&&(n=s);}}if(n===void 0)return eu;let r=t??"auto";if(r==="auto"){let a=n/240;return a>0?{rule:"auto",value:Math.min(a,Mz)*240}:eu}let o=n/20;return o>0?{rule:r,value:Math.min(o,Bz)}:eu}function ma(e,t,n){if(e.gridPitch!==void 0&&e.gridPitch>0&&e.rule!=="exact")return rT({...e,gridPitch:e.gridPitch},t,n);let r=e.rule==="auto"?t*(e.value/240):e.rule==="exact"?e.value:Math.max(t,e.value);if(e.rule==="exact")return {height:r,baseline:e.preserveExactBaseline?Math.max(0,Math.min(n,r)):r*.8};let o=r-t;return o<0?{height:r,baseline:Math.max(0,Math.min(n,r))}:e.rule==="atLeast"?{height:r,baseline:n+o,trailing:0}:{height:r,baseline:n}}function dT(e){let t=false;for(let n of e){if(n.localName!=="contextualSpacing")continue;let r=n.attributes?.val;t=r===void 0||Ns(r);}return t}function ri(e){if(e)return Hb(Object.fromEntries(e.attributes.map(t=>[t.localName,t.value])))}function Hb(e){let t=e?.val;if(!t||Nz.has(t))return;let n=qm(e?.sz),r=n===null?.5:tu(n/8,Jm)||.5,o=qm(e?.space),a=o===null?0:tu(o,Oz),i=e?.shadow,l=i!==void 0&&i!=="0"&&i!=="false"&&i!=="off";return {val:t,color:Dz(e?.color),widthPt:r,spacePt:a,...l?{shadow:true}:{}}}function cT(e){let t=ri(Lo(e,"top")),n=ri(Lo(e,"left")??Lo(e,"start")),r=ri(Lo(e,"bottom")),o=ri(Lo(e,"right")??Lo(e,"end")),a=ri(Lo(e,"between")),i=ri(Lo(e,"bar"));return {...t?{top:t}:{},...n?{left:n}:{},...r?{bottom:r}:{},...o?{right:o}:{},...a?{between:a}:{},...i?{bar:i}:{}}}function Qm(e){if(!e||e.kind==="textValue")return {};let t=Lo(e,"pBdr");return t?cT(t):{}}function uT(e){let t=Ez;for(let n of e){if(!n||n.kind==="textValue")continue;let r=Lo(n,"pBdr");r&&(t=cT(r));}return t}function mr(e){return ul(e.val,e.widthPt)}function pa(e){return e?e.spacePt+mr(e):0}function k9(e){return pa(e)}function fT(e){let t=[];for(let n of Lz){let r=e[n];r&&t.push(`${n}:${r.val},${r.color??"auto"},${r.widthPt},${r.spacePt},${r.shadow?1:0}`);}return t.join("|")}function ai(e,t){return Math.max(e,t)-t}function jb(e,t,n,r){return n&&!r?0:ai(e,t)}var nu=Symbol("authored-revision-markup-style");function mT(e,t){let n=e[nu]??{bold:e.bold,italic:e.italic};return {...e,[t]:true,[nu]:n}}function v9(e){let t=e[nu];return t?{...e,bold:t.bold,italic:t.italic}:e}function pT(e,t){let n=e[nu]??e,r=t[nu]??t;return n.bold===r.bold&&n.italic===r.italic}var _s=Symbol("authored-layout-character-spacing");function ep(e,t){if(!Number.isFinite(t))throw new RangeError("Layout spacing must be finite");let n=e[_s]??e.characterSpacingPt;return {...e,characterSpacingPt:t,[_s]:n}}function O9(e){let t=e[_s];if(t===void 0)return e;let n={...e,characterSpacingPt:t};return delete n[_s],n}function gT(e,t){let n=e[_s]??e.characterSpacingPt,r=t[_s]??t.characterSpacingPt;return n===r}var Hs="runFontDefaults",_z=Object.freeze({localName:Hs,attributes:Object.freeze({hAnsiTheme:"minorHAnsi",eastAsiaTheme:"minorEastAsia"})}),hT=Object.freeze([...chunkJGNVNT2A_cjs.I,_z]),Hz=Object.freeze([...hT,Object.freeze({localName:"ligatures",attributes:Object.freeze({val:"standardContextual"})})]),jz=Object.freeze([Object.freeze({localName:Hs,attributes:Object.freeze({ascii:chunkJGNVNT2A_cjs.wa,hAnsi:chunkJGNVNT2A_cjs.wa,eastAsia:chunkJGNVNT2A_cjs.xa})})]);function Wb(e,t=false){return chunkJGNVNT2A_cjs.L(e).run?t?Hz:hT:jz}var fl="http://schemas.microsoft.com/office/word/2010/wordml",yT=/^[0-9a-f]{6}$/i;function bT(e){if(e.namespaceUri!==fl||e.localName!=="textOutline")return null;let t={localName:"textOutline"},n={};for(let l of e.attributes){if(l.namespaceUri!==fl||!["w","cap","cmpd","algn"].includes(l.localName))return t;n[l.localName]=l.value;}if(n.cmpd!==void 0&&n.cmpd!=="sng"||n.algn!==void 0&&n.algn!=="ctr"||n.cap!==void 0&&!["flat","rnd","sq"].includes(n.cap)||!/^\d{1,8}$/.test(n.w??"")||Number(n.w)>20116800)return t;let r,o=false,a=false,i=false;if(e.children.length>7)return t;for(let l of e.children){if(l.kind==="textValue"){if(l.value.trim())return t;continue}if(l.namespaceUri!==fl)return t;if(l.localName==="solidFill"&&!o&&l.attributes.length===0){if(o=true,l.children.length>3||l.children.some(u=>u.kind==="textValue"&&u.value.trim()))return t;let s=l.children.filter(u=>u.kind!=="textValue");if(s.length!==1)return t;let d=s[0];if(d.namespaceUri!==fl||d.localName!=="srgbClr"||d.children.length!==0||d.attributes.length!==1)return t;let c=d.attributes[0];if(c.namespaceUri!==fl||c.localName!=="val"||!yT.test(c.value))return t;r=c.value.toUpperCase();}else if(l.localName==="prstDash"&&!a){a=true;let s=l.attributes[0];if(l.children.length||l.attributes.length!==1||s?.namespaceUri!==fl||s.localName!=="val"||s.value!=="solid")return t}else if(["round","bevel","miter"].includes(l.localName)&&!i){if(i=true,l.children.length)return t;if(l.localName==="miter"){if(l.attributes.length>1)return t;let s=l.attributes[0];if(s&&(s.namespaceUri!==fl||s.localName!=="lim"||!/^\d{1,8}$/.test(s.value)))return t}else if(l.attributes.length)return t}else return t}return r&&Number(n.w)>0?{localName:"textOutline",attributes:{w:n.w,outlineColor:r}}:t}function xT(e){let t=e.attributes?.w,n=e.attributes?.outlineColor;if(!t||!/^\d{1,8}$/.test(t)||!n||!yT.test(n))return;let r=Number(t);return r>0&&r<=20116800?Object.freeze({widthPt:r/12700,color:n.toUpperCase()}):void 0}var Wz=new Set(["b","bCs","caps","emboss","i","iCs","imprint","outline","shadow","smallCaps","strike","vanish"]);function Xn(e){let t=e.attributes?.val;return t===void 0||!(t==="0"||t==="false"||t==="off")}var ST=new WeakMap;function ii(e){let t=[],n;for(let r of e){let o=r.role==="carried"?ST.get(r.properties):void 0,a;for(let i of r.properties){if(!Wz.has(i.localName)){r.emit&&t.push(i);continue}o||(a||(a=new Map),a.set(i.localName,Xn(i)));}if(o){if(o.size>0){n||(n=new Map);for(let[i,l]of o)n.set(i,l);}continue}if(a){n||(n=new Map);for(let[i,l]of a){let s=n.get(i);r.role==="direct"?n.set(i,{value:l,forced:false}):l?r.role==="defaults"?n.set(i,{value:true,forced:true}):n.set(i,{value:s?.forced===true?true:!(s?.value??false),forced:s?.forced===true}):n.set(i,{value:false,forced:false});}}}if(!n)return t;for(let[r,o]of n)t.push(o.value?{localName:r}:{localName:r,attributes:{val:"0"}});return ST.set(t,n),t}var PT="http://schemas.microsoft.com/office/word/2010/wordml",zz=new Set(["none","standard","contextual","historical","discretional","standardContextual","standardHistorical","contextualHistorical","standardDiscretional","contextualDiscretional","historicalDiscretional","standardContextualHistorical","standardContextualDiscretional","standardHistoricalDiscretional","contextualHistoricalDiscretional","all"]);function RT(e){if(!(e.namespaceUri!==PT||e.localName!=="ligatures"))return e.attributes.find(t=>t.namespaceUri===PT&&t.localName==="val")?.value}function wT(e){if(!e||!zz.has(e))return;let t=e.toLowerCase();return {standard:e==="all"||t.includes("standard"),contextual:e==="all"||t.includes("contextual"),historical:e==="all"||t.includes("historical"),discretionary:e==="all"||t.includes("discretional")}}function N9(e){return {liga:e.ligatures?.standard?1:0,clig:e.ligatures?.contextual?1:0,hlig:e.ligatures?.historical?1:0,dlig:e.ligatures?.discretionary?1:0}}function D9(e){return `${e.ligatures?.standard?1:0}${e.ligatures?.contextual?1:0}${e.ligatures?.historical?1:0}${e.ligatures?.discretionary?1:0}`}var Vz=Object.freeze([Object.freeze({localName:"ligatures",attributes:Object.freeze({val:"none"})})]);function tp(e,t){return !t||!e.some(n=>n.localName==="ligatures"&&n.attributes?.val!=="none")?e:ii([{properties:e,role:"carried",emit:true},{properties:Vz,role:"direct",emit:true}])}var Zn=Object.freeze({fontFamily:null,fontFamilyEastAsia:null,fontSizePt:10,color:null,bold:false,italic:false,underline:null,strike:false,doubleStrike:false,highlight:null,shading:null,verticalAlign:"baseline",baselineShiftPt:0,caps:false,smallCaps:false,characterSpacingPt:0,horizontalScalePercent:100,kerningMinPt:0,hidden:false}),Gz=/^[0-9A-Fa-f]{6}$/;function ru(e,t=false){return e===void 0||!(t?/^-?\d{1,7}$/:/^\d{1,7}$/).test(e)?null:Number(e)}function kT(e){return e===void 0||e==="auto"?null:Gz.test(e)?e.toUpperCase():null}var vT={major:null,minor:null,majorEastAsia:null,minorEastAsia:null},Kz=Object.freeze({fontFamily:"Times New Roman",fontFamilyAuthored:false,fontSizePt:10,bold:false,italic:false,rtl:false,forced:false});function je(e,t){let n={...Zn},r=false,o={...Kz};for(let a of e)switch(a.localName){case Hs:{let i=a.attributes,l=(t?chunkJGNVNT2A_cjs.Aa(i?.eastAsiaTheme,t):null)??i?.eastAsia;l&&l.length<=128&&(n.fontFamilyEastAsia=l),i?.ascii&&i.ascii.length<=128&&(n.fontFamily=i.ascii);break}case "rFonts":{let i=a.attributes;r||=["ascii","hAnsi","asciiTheme","hAnsiTheme"].some(m=>!!i?.[m]);let l=m=>t?chunkJGNVNT2A_cjs.Aa(m,t):null,s=l(i?.asciiTheme)??i?.ascii??l(i?.hAnsiTheme)??i?.hAnsi;s&&s.length<=128?n.fontFamily=s:(i?.asciiTheme!==void 0||i?.hAnsiTheme!==void 0)&&(n.fontFamily=null);let c=(t?chunkJGNVNT2A_cjs.Aa(i?.eastAsiaTheme,t):null)??i?.eastAsia;c&&c.length<=128&&(n.fontFamilyEastAsia=c);let f=(t?chunkJGNVNT2A_cjs.Aa(i?.cstheme,t):null)||i?.cs;f&&f.length<=128&&(o.fontFamily=f,o.fontFamilyAuthored=true);break}case "sz":{let i=ru(a.attributes?.val);i!==null&&i>0&&(n.fontSizePt=i/2);break}case "szCs":{let i=ru(a.attributes?.val);i!==null&&i>0&&(o.fontSizePt=i/2);break}case "bCs":o.bold=Xn(a);break;case "iCs":o.italic=Xn(a);break;case "rtl":o.rtl=Xn(a);break;case "cs":o.forced=Xn(a);break;case "color":{n.color=kT(a.attributes?.val);break}case "b":n.bold=Xn(a);break;case "textOutline":n.textOutline=xT(a);break;case "bdr":n.border=Hb(a.attributes);break;case "i":n.italic=Xn(a);break;case "u":{let i=a.attributes?.val??"single";n.underline=i==="none"||!Xn(a)?null:{variant:i,color:kT(a.attributes?.color)};break}case "strike":n.strike=Xn(a);break;case "dstrike":n.doubleStrike=Xn(a);break;case "highlight":{let i=a.attributes?.val;n.highlight=i&&i!=="none"?i:null;break}case "shd":{n.shading=Um(a.attributes)??null;break}case "vertAlign":{let i=a.attributes?.val;i==="superscript"||i==="subscript"?n.verticalAlign=i:i==="baseline"&&(n.verticalAlign="baseline");break}case "position":{let i=ru(a.attributes?.val,true);i!==null&&(n.baselineShiftPt=i/2);break}case "caps":n.caps=Xn(a);break;case "smallCaps":n.smallCaps=Xn(a);break;case "spacing":{let i=chunkFIJZIQXA_cjs.nd(a.attributes?.val);i!==null&&Math.abs(i)<=9999999&&(n.characterSpacingPt=i/20);break}case "w":{let i=ru(a.attributes?.val);i!==null&&i>0&&(n.horizontalScalePercent=i);break}case "kern":{let i=ru(a.attributes?.val);i!==null&&i>=0&&(n.kerningMinPt=i/2,n.kerningEnabled=i>0);break}case "ligatures":{let i=wT(a.attributes?.val);i&&(n.ligatures=i);break}case "vanish":n.hidden=Xn(a);break;}return r||(n.fontFamily??=t?.minor??null),n.fontFamilyEastAsia??=t?.minorEastAsia??null,n.complexLane={fontFamily:o.fontFamilyAuthored?o.fontFamily:null,fontSizePt:o.fontSizePt,bold:o.bold,italic:o.italic},(o.rtl||o.forced)&&(n.latinLane={fontFamily:n.fontFamily,fontFamilyEastAsia:n.fontFamilyEastAsia,fontSizePt:n.fontSizePt,bold:n.bold,italic:n.italic},n.fontFamily=o.fontFamily,n.fontFamilyEastAsia=o.fontFamily,n.fontSizePt=o.fontSizePt,n.bold=o.bold,n.italic=o.italic),n}var TT=new WeakMap;function ml(e,t){if(e.fontFamily===t)return e;let n=TT.get(e);n||(n=new Map,TT.set(e,n));let r=n.get(t);return r||(r=Object.freeze({...e,fontFamily:t}),n.set(t,r)),r}function Vt(e,t){let n=e.includes("\xAD")?e.replaceAll("\xAD","-"):e;return t.caps?n.toUpperCase():n}function rt(e,t,n){return n.measure(Vt(e,t),t)}function np(e,t){return pT(e,t)&&gT(e,t)&&e.shaping?.script===t.shaping?.script&&e.shaping?.direction===t.shaping?.direction&&e.shaping?.level===t.shaping?.level&&e.shaping?.baseLevel===t.shaping?.baseLevel&&e.shaping?.runDirection===t.shaping?.runDirection&&e.shaping?.wordSpacingPt===t.shaping?.wordSpacingPt&&e.shaping?.context?.before===t.shaping?.context?.before&&e.shaping?.context?.after===t.shaping?.context?.after&&e.fontFamily===t.fontFamily&&e.fontFamilyEastAsia===t.fontFamilyEastAsia&&e.latinLane?.fontFamily===t.latinLane?.fontFamily&&e.latinLane?.fontFamilyEastAsia===t.latinLane?.fontFamilyEastAsia&&e.latinLane?.fontSizePt===t.latinLane?.fontSizePt&&e.latinLane?.bold===t.latinLane?.bold&&e.latinLane?.italic===t.latinLane?.italic&&e.complexLane?.fontFamily===t.complexLane?.fontFamily&&e.complexLane?.fontSizePt===t.complexLane?.fontSizePt&&e.complexLane?.bold===t.complexLane?.bold&&e.complexLane?.italic===t.complexLane?.italic&&e.fontSizePt===t.fontSizePt&&e.color===t.color&&e.textOutline?.widthPt===t.textOutline?.widthPt&&e.textOutline?.color===t.textOutline?.color&&e.border?.val===t.border?.val&&e.border?.color===t.border?.color&&e.border?.widthPt===t.border?.widthPt&&e.border?.spacePt===t.border?.spacePt&&e.border?.shadow===t.border?.shadow&&e.bold===t.bold&&e.italic===t.italic&&e.strike===t.strike&&e.doubleStrike===t.doubleStrike&&e.highlight===t.highlight&&e.shading===t.shading&&e.verticalAlign===t.verticalAlign&&e.baselineShiftPt===t.baselineShiftPt&&e.caps===t.caps&&e.smallCaps===t.smallCaps&&e.characterSpacingPt===t.characterSpacingPt&&e.horizontalScalePercent===t.horizontalScalePercent&&e.kerningMinPt===t.kerningMinPt&&e.kerningEnabled===t.kerningEnabled&&e.ligatures?.standard===t.ligatures?.standard&&e.ligatures?.contextual===t.ligatures?.contextual&&e.ligatures?.historical===t.ligatures?.historical&&e.ligatures?.discretionary===t.ligatures?.discretionary&&e.hidden===t.hidden&&e.underline?.variant===t.underline?.variant&&e.underline?.color===t.underline?.color}function li(e){return e.verticalAlign==="superscript"?e.baselineShiftPt+e.fontSizePt*.33:e.verticalAlign==="subscript"?e.baselineShiftPt-e.fontSizePt*.16:e.baselineShiftPt}function zb(e){return e.verticalAlign==="baseline"?1:.65}var FT=6,OT=14,q9=`fixed:char-width=${FT}:line-height=${OT}`;function $z(e=FT,t=OT){let n=r=>r.fontSizePt/11;return {measure:(r,o)=>r.length*e*n(o)*zb(o)*(o.horizontalScalePercent/100)+r.length*o.characterSpacingPt,lineMetrics:r=>{let o=zb(r),a=t*n(r)*o;return {height:a,baseline:a*.8}}}}var Q9="und";function e5(){return typeof Intl.Segmenter=="function"}function Uz(){let e=Intl.Segmenter;if(typeof e!="function")throw new Error("Intl.Segmenter is required for deterministic grapheme segmentation (locale: und)");return e}function Yz(){let e=new(Uz())("und",{granularity:"grapheme"});return {segment(t){let n=[],r=0;for(let o of e.segment(t)){let a=o.index,i=a+o.segment.length;n.push({index:r,text:o.segment,utf16From:a,utf16To:i}),r+=1;}return n}}}var CT=Yz(),Kb=CT,IT=0;function ap(){return IT}var js=null,pl=null,rp=null,ou=null;function bt(e){if(js===e&&pl)return pl;if(rp===e&&ou){let n=ou;return rp=js,ou=pl,js=e,pl=n,n}let t=Kb.segment(e);return rp=js,ou=pl,js=e,pl=t,t}function t5(e){Kb=e,MT();}function n5(){Kb=CT,MT();}function MT(){IT+=1,js=null,pl=null,rp=null,ou=null,Vb=null,op=null,Gb=0;}function r5(e){return bt(e).length}var Vb=null,op=null,Gb=0;function Xz(e){if(Vb===e&&op)return {offsets:op,count:Gb};let t=bt(e),n=new Int32Array(e.length+1);for(let r of t)for(let o=r.utf16From;o<r.utf16To&&o<e.length;o+=1)n[o]=r.index;return n[e.length]=t.length,Vb=e,op=n,Gb=t.length,{offsets:n,count:t.length}}function o5(e,t){let n=Math.max(0,Math.min(t,e.length)),{offsets:r}=Xz(e);return r[n]}function a5(e,t){let n=bt(e);if(n.length===0)return 0;let r=Math.max(0,Math.min(t,n.length));return r>=n.length?e.length:n[r].utf16From}function ip(e){let t,n=false,r=false;for(let o of e)if(o.localName==="rFonts"&&o.attributes?.hint!==void 0)t=o.attributes.hint;else if(o.localName==="cs"||o.localName==="rtl"){let a=!["0","false","off"].includes(o.attributes?.val??"1");o.localName==="cs"?n=a:r=a;}return t==="eastAsia"&&!n&&!r}function BT(e,t,n){if(t?.toLowerCase()!=="times new roman")return false;let r,o,a=(i,l)=>((n?chunkJGNVNT2A_cjs.Aa(i,n):null)??l)?.toLowerCase()??null;for(let i of e){if(i.localName!=="rFonts")continue;let l=i.attributes;(l?.asciiTheme!==void 0||l?.ascii!==void 0)&&(r=a(l.asciiTheme,l.ascii)),(l?.hAnsiTheme!==void 0||l?.hAnsi!==void 0)&&(o=a(l.hAnsiTheme,l.hAnsi));}return r==null||o==null?true:r===o}function $b(e){return e===161||e===164||e>=167&&e<=168||e===170||e===173||e===175||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||e===215||e===247||e>=688&&e<=767||e>=880&&e<=975||e>=1024&&e<=1279||e>=8192&&e<=8202||e>=8208&&e<=8231||e===8239||e>=8240&&e<=8287||e>=8304&&e<=8399||e>=8448&&e<=10175||e>=64256&&e<=64284}var Zz=new Set([224,225,232,233,234,236,237,242,243,249,250,252]);function Ub(e,t){return t?$b(e)?true:t===true?false:Zz.has(e)||e>=7680&&e<=7935?t.chineseLanguage:e>=256&&e<=687?t.chineseLanguage||t.chineseFace:false:false}function LT(e,t,n){let r;for(let o of e)o.localName==="lang"&&o.attributes?.eastAsia!==void 0&&(r=o.attributes.eastAsia);return {chineseLanguage:!r||/^zh(?:-|$)/i.test(r),chineseFace:chunkJGNVNT2A_cjs.ya(t,n?.chineseFontTableFaces)}}var Pe=(e,t,n)=>e>=t&&e<=n,lp=class extends Error{name="UnsupportedScriptError";code="unsupportedScript";codePoint;constructor(t){super(`Unsupported Unicode script at U+${t.toString(16).toUpperCase()}`),this.codePoint=t;}},NT=e=>{if(Pe(e,65313,65338)||Pe(e,65345,65370))return {slot:"eastAsia",script:"Latn"};if(Pe(e,65281,65381)||Pe(e,65504,65510))return {slot:"eastAsia",script:"Zyyy"};if(Pe(e,1424,1535)||Pe(e,64285,64335))return {slot:"cs",script:"Hebr"};if(Pe(e,1536,1791)||Pe(e,1872,1919)||Pe(e,2160,2207)||Pe(e,2208,2303)||Pe(e,64336,65023)||Pe(e,65136,65279)||Pe(e,126464,126719))return {slot:"cs",script:"Arab"};if(Pe(e,4352,4607)||Pe(e,11904,12351)||Pe(e,12352,12543)||Pe(e,12544,12687)||Pe(e,12784,12799)||Pe(e,13312,19903)||Pe(e,19968,40959)||Pe(e,44032,55215)||Pe(e,63744,64255)||Pe(e,65382,65437)||Pe(e,65440,65500)||Pe(e,131072,201551))return {slot:"eastAsia",script:"Hani"};if(Pe(e,2304,2431)||Pe(e,43232,43263))return {slot:"cs",script:"Deva"};if(Pe(e,2432,2559))return {slot:"cs",script:"Beng"};if(Pe(e,880,1023)||Pe(e,7936,8191))return {slot:"hAnsi",script:"Grek"};if(Pe(e,1024,1327)||Pe(e,7296,7311)||Pe(e,11744,11775)||Pe(e,42560,42655))return {slot:"hAnsi",script:"Cyrl"};if(Pe(e,3584,3711))return {slot:"cs",script:"Thai"};if(Pe(e,6016,6143)||Pe(e,6624,6655))return {slot:"cs",script:"Khmr"};if(Pe(e,768,879)||Pe(e,6832,6911)||Pe(e,7616,7679)||Pe(e,8400,8447)||Pe(e,8192,8303)||Pe(e,65056,65071)||e<=47||Pe(e,58,64)||Pe(e,91,96)||Pe(e,123,191)||e===5760||Pe(e,8192,11263)||Pe(e,65024,65039)||Pe(e,65280,65381)||Pe(e,65438,65439)||Pe(e,65501,65535)||Pe(e,126976,129791)||Pe(e,917760,917999))return null;if(e<=127)return {slot:"ascii",script:"Latn"};if(Pe(e,192,687)||Pe(e,7424,7551)||Pe(e,7552,7615)||Pe(e,7680,7935)||Pe(e,11360,11391)||Pe(e,42784,43007)||Pe(e,43824,43887))return {slot:"hAnsi",script:"Latn"};throw new lp(e)};function qz(e){let t=[];for(let r=0;r<e.length;){let o=e.codePointAt(r),a=r+(o>65535?2:1);t.push({from:r,to:a,classified:NT(o)}),r=a;}let n=null;for(let r of t)r.classified?n=r.classified:n&&(r.classified=n);n=null;for(let r=t.length-1;r>=0;r-=1){let o=t[r];o.classified?n=o.classified:n&&(o.classified=n);}return t}function sp(e,t,n){let r=qz(e),o=[],a=r.every(({from:i})=>e.codePointAt(i)<=127)?"ascii":"hAnsi";for(let i of r){let l=n.levels[t+i.from]??0,s=(l&1)===1?"rtl":"ltr",d=i.classified??{slot:a,script:"Zyyy"},c=o.at(-1);c&&c.to===i.from&&c.bidiLevel===l&&c.slot===d.slot&&c.script===d.script?o[o.length-1]={...c,to:i.to}:o.push({from:i.from,to:i.to,direction:s,bidiLevel:l,script:d.script,slot:d.slot});}return o}function Be(e,t){if(t!=="eastAsia")return e;let n=e.fontFamilyEastAsia;return n===null?e:ml(e,n)}var ET=e=>{let t;try{t=NT(e);}catch(n){if(n instanceof lp)return "base";throw n}return t===null?"common":t.slot==="eastAsia"?"eastAsia":"base"},AT=e=>{for(let t=0;t<e.length;t+=1)if(e.charCodeAt(t)>=128)return false;return true};function DT(e,t=[]){let n=[],r=(m,g,p)=>{let h=n.at(-1);h&&h.segment===m&&h.to===g?n[n.length-1]={segment:m,from:h.from,to:p}:n.push({segment:m,from:g,to:p});},o=null,i=e.some((m,g)=>{if(!t[g]||AT(m))return false;for(let p of m)if(Ub(p.codePointAt(0),t[g]))return true;return false})?bt(e.join("")):null,l=0,s=0,d=false,c=[],u=m=>{for(let g of c)m==="eastAsia"&&!g.ascii&&r(g.segment,g.from,g.to);c.length=0;};for(let m=0;m<e.length;m+=1){let g=e[m],p=s;if(s+=g.length,!i&&AT(g)){/[0-9A-Za-z]/.test(g)&&(u("base"),o="base");continue}for(let h=0;h<g.length;){let y=g.codePointAt(h),b=h+(y>65535?2:1),x=false;if(i){let P=p+h;for(;i[l].utf16To<=P;)l+=1;let S=i[l];y=S.text.codePointAt(0),b=Math.min(g.length,S.utf16To-p),P===S.utf16From&&(d=Ub(y,t[m])),x=d;}if(x){let P=ET(y);P!=="common"&&(u(P),o=P),r(m,h,b),h=b;continue}let R=ET(y);R==="common"?o===null?c.push({segment:m,from:h,to:b,ascii:y<=127}):o==="eastAsia"&&y>127&&r(m,h,b):(u(R),o=R,R==="eastAsia"&&r(m,h,b)),h=b;}}if(n.length<2)return n;n.sort((m,g)=>m.segment-g.segment||m.from-g.from);let f=[n[0]];for(let m=1;m<n.length;m+=1){let g=n[m],p=f[f.length-1];p.segment===g.segment&&g.from<=p.to?g.to>p.to&&(f[f.length-1]={...p,to:g.to}):f.push(g);}return f}var au=Object.freeze({width:612,height:792,margin:Object.freeze({top:72,right:72,bottom:72,left:72})});function dp(e,t,n){return Object.freeze({x:e.horizontalFrame==="page"?n.x+e.x-e.horizontalFrameOrigin:t.x+e.x,y:e.verticalFrame==="page"?n.y+e.y-e.verticalFrameOrigin:t.y+e.y})}function Gt(e,t=false){return an(e.fragments,t)}var _T=new WeakMap;function an(e,t=false){let n=_T.get(e),r=t?"withRepeats":"withoutRepeats",o=n?.[r];if(o)return o;let a=[],i=l=>{for(let s of l){if(s.kind==="paragraph"){a.push(s);continue}for(let d of s.rows)if(!(d.isHeaderRepeat&&!t))for(let c of d.cells)i(c.blocks);}};return i(e),n||(n={},_T.set(e,n)),n[r]=a,a}function jT(e){let t=[];for(let n of e.pages)for(let r of Gt(n))t.push(...r.lines);return t}function Jz(e){return e.anchoredDrawings??[]}var Qz=Object.freeze({x:0,y:0,width:0,height:0});function Ws(e){let t=e??Qz;return {box:t,origin:Object.freeze({x:t.x,y:t.y})}}var eV={fragments:true,anchoredDrawings:true,header:true,footer:true,footnotes:true,endnotes:true},tV=Object.freeze(Object.keys(eV));var nV={separator:true,notes:true,continuationNotice:true},rV=Object.freeze(Object.keys(nV));function HT(e,t,n,r){let o=t.kind??(n==="footnote"?"footnotes":"endnotes");for(let a of rV)switch(a){case "separator":case "continuationNotice":t[a]&&r({page:e,story:"note-separator",host:t[a],...Ws(t[a].box),noteScopeId:null,noteAreaKind:o});break;case "notes":for(let i of t.notes)switch(n){case "footnote":r({page:e,story:"footnote",host:i,...Ws(i.box),noteScopeId:i.scopeId,noteAreaKind:o});break;case "endnote":r({page:e,story:"endnote",host:i,...Ws(i.box),noteScopeId:i.scopeId,noteAreaKind:o});break;}break;}}function oV(e,t){for(let n of tV)switch(n){case "fragments":t({page:e,story:"body",host:e,...Ws(e.contentBox),noteScopeId:null,noteAreaKind:null});break;case "anchoredDrawings":break;case "header":e.header&&t({page:e,story:"header",host:e.header,...Ws(e.header.box),noteScopeId:null,noteAreaKind:null});break;case "footer":e.footer&&t({page:e,story:"footer",host:e.footer,...Ws(e.footer.box),noteScopeId:null,noteAreaKind:null});break;case "footnotes":e.footnotes&&HT(e,e.footnotes,"footnote",t);break;case "endnotes":e.endnotes&&HT(e,e.endnotes,"endnote",t);break;}}function aV(e,t){for(let n of e.pages)oV(n,t);}var WT=16,cp=Object.freeze({x:0,y:0});function up(e,t,n,r){let o=r??{x:e.x+t.x,y:e.y+t.y};return Object.freeze({x:o.x+n.x,y:o.y+n.y})}function zs(e){let t=[];e.textboxStory&&t.push({story:e.textboxStory,offset:e.textboxStory.contentOffset??cp});for(let n of e.groupTextboxStories??[]){let r=n.story.contentOffset??cp;t.push({story:n.story,offset:{x:n.box.x+r.x,y:n.box.y+r.y}});}return t}function Vs(e,t,n=cp,r){let o=(i,l)=>{if(i.kind==="table"){for(let s of i.rows)for(let d of s.cells)for(let c of d.blocks)o(c,l);return}for(let s of i.lines)for(let d of s.drawings??[]){t(d,{...l,paragraph:i,line:s});let c=zs(d);if(!(c.length===0||d.accessibility.hidden))for(let u of c)a(u.story,l.textboxDepth+1,Object.freeze([...l.textboxPath,d]),up(l.storyOrigin,d,u.offset));}};function a(i,l,s,d){if(l>WT)return;let c={storyOrigin:d,textboxDepth:l,textboxOwner:s[s.length-1]??null,textboxPath:s};for(let u of i.anchoredDrawings??[]){t(u,{...c,paragraph:null,line:null});for(let f of zs(u))a(f.story,l+1,Object.freeze([...s,u]),up(d,u,f.offset,l===0?r?.(u):void 0));}for(let u of i.fragments)o(u,c);}a(e,0,Object.freeze([]),n);}function y5(e,t){aV(e,n=>{let{page:r,story:o,host:a,noteScopeId:i,noteAreaKind:l}=n,s=o==="header"||o==="footer"?d=>dp(d,n.origin,{x:r.box.x,y:r.box.y}):void 0;Vs(a,(d,c)=>{let u=d.kind==="anchoredDrawing"&&c.textboxDepth===0&&s?s(d):Object.freeze({x:c.storyOrigin.x+d.x,y:c.storyOrigin.y+d.y}),f=m=>Object.freeze({x:u.x+m.x-d.x,y:u.y+m.y-d.y,width:m.width,height:m.height});t({page:r,story:c.textboxDepth===0?o:"textbox",rootStory:o,noteScopeId:i,noteAreaKind:l,root:n,drawingOrigin:u,absolutePaintBounds:f(d.paintBounds),absoluteHitBounds:f(d.hitBounds),paintLayer:d.kind==="inlineDrawing"?"inline":d.behindDocument?"behind-text":"in-front-of-text",drawing:d,...c});},n.origin,s);});}function Yb(e,t,n=cp,r){let o=(a,i,l,s)=>{if(!(i>WT)){for(let d of an(a.fragments,true)){t(d,{storyOrigin:s,textboxDepth:i,textboxOwner:l[l.length-1]??null,textboxPath:l});for(let c of d.lines)for(let u of c.drawings??[]){let f=zs(u);if(!(f.length===0||u.accessibility.hidden))for(let m of f)o(m.story,i+1,Object.freeze([...l,u]),up(s,u,m.offset));}}for(let d of a.anchoredDrawings??[])for(let c of zs(d))o(c.story,i+1,Object.freeze([...l,d]),up(s,d,c.offset,i===0?r?.(d):void 0));}};o(e,0,Object.freeze([]),n);}function iV(e,t){let n=[];for(let r of e.pages)for(let o of Gt(r))o.paragraphId===t&&n.push(o);return n.sort((r,o)=>r.fragmentIndex-o.fragmentIndex)}function fp(e,t,n,r){for(let o of r??jT(e)){let a=o.range.paragraphId===t?o.range.start:Number.NaN,i=o.range.paragraphId===t?o.range.end:Number.NaN;for(let l of o.spans)l.range.paragraphId===t&&(a=Number.isNaN(a)?l.range.start:Math.min(a,l.range.start),i=Number.isNaN(i)?l.range.end:Math.max(i,l.range.end));for(let l of o.drawings??[])l.paragraphId===t&&(a=Number.isNaN(a)?l.start:Math.min(a,l.start),i=Number.isNaN(i)?l.start+1:Math.max(i,l.start+1));if(!Number.isNaN(a)&&n>=a&&n<=i)return o}return null}function Xb(e){return e.contentControls??[]}function mp(e){if(e.length===0)return null;let t=1/0,n=1/0,r=-1/0,o=-1/0;for(let a of e)t=Math.min(t,a.x),n=Math.min(n,a.y),r=Math.max(r,a.x+a.width),o=Math.max(o,a.y+a.height);return {x:t,y:n,width:r-t,height:o-n}}function Zb(e){let t=false,n=false;for(let r of e)(r==="contentLocked"||r==="sdtContentLocked")&&(t=true),(r==="sdtLocked"||r==="sdtContentLocked")&&(n=true);return t&&n?"sdtContentLocked":t?"contentLocked":n?"sdtLocked":"unlocked"}var zT=new WeakMap,VT=new WeakMap,GT=new WeakMap,pp=new WeakMap;function KT(e,t){let n=pp.get(e);n&&pp.set(t,n);}function $T(e){let t=pp.get(e);if(t)return t;let n=new Set,r=[];for(let o of Gt(e)){for(let a of o.lines)for(let i of Gs(a))n.has(i.paragraphId)||(n.add(i.paragraphId),r.push(i.paragraphId));o.lines.length===0&&!n.has(o.paragraphId)&&(n.add(o.paragraphId),r.push(o.paragraphId));}return pp.set(e,r),r}function Ks(e){let t=zT.get(e);if(t)return t;let n=new Set,r=[];for(let o of e.pages)for(let a of $T(o))n.has(a)||(n.add(a),r.push(a));return zT.set(e,r),r}function gl(e){let t=VT.get(e);if(t)return t;let n=new Map;for(let[r,o]of Ks(e).entries())n.set(o,r);return VT.set(e,n),n}function lV(e){let t=GT.get(e);if(t)return t;let n=new Set,r=[],o=a=>{for(let i of an(a)){for(let l of i.lines)for(let s of Gs(l))n.has(s.paragraphId)||(n.add(s.paragraphId),r.push(s.paragraphId));i.lines.length===0&&!n.has(i.paragraphId)&&(n.add(i.paragraphId),r.push(i.paragraphId));}};for(let a of e.pages){for(let i of $T(a))n.has(i)||(n.add(i),r.push(i));for(let i of [a.header,a.footer])i&&o(i.fragments);for(let i of [a.footnotes,a.endnotes])if(i){i.separator&&o(i.separator.fragments),i.continuationNotice&&o(i.continuationNotice.fragments);for(let l of i.notes)o(l.fragments);}}return GT.set(e,r),r}var UT=new WeakMap;function ga(e){let t=UT.get(e);if(t)return t;let n=[...Gt(e)];for(let r of [e.header,e.footer])r&&n.push(...an(r.fragments));for(let r of [e.footnotes,e.endnotes])if(r)for(let o of r.notes)n.push(...an(o.fragments));return UT.set(e,n),n}function gp(e,t,n){return e.paragraphId===t&&n>=e.start&&n<e.end}var YT=new WeakMap;function et(e){let t=YT.get(e);if(t)return t;let r=e.spans.some(o=>o.range.paragraphId!==e.range.paragraphId)||(e.drawings??[]).some(o=>o.paragraphId!==e.range.paragraphId)?dV(e):[sV(e)];return YT.set(e,r),r}function sV(e){let t=e.range.start;for(let n of e.spans)n.range.start<t&&(t=n.range.start);return {paragraphId:e.range.paragraphId,start:t,end:e.range.end,spans:e.spans,drawings:e.drawings??[]}}function Gs(e){let t=et(e);if(t.length<2||!e.spans.some(o=>o.style.shaping))return t;let n=new Map(t.map(o=>[o.paragraphId,o])),r=[];for(let o of e.spans){let a=n.get(o.range.paragraphId);a&&(r.push(a),n.delete(a.paragraphId));}return [...r,...n.values()]}function dV(e){let t=[...e.spans.map((r,o)=>({paragraphId:r.range.paragraphId,x:r.box?.x??o,order:o*2+1})),...(e.drawings??[]).map((r,o)=>({paragraphId:r.paragraphId,x:r.advanceStart??r.x??e.spans.length+o,order:o*2}))].sort((r,o)=>r.x-o.x||r.order-o.order),n=[];for(let r of t)n.includes(r.paragraphId)||n.push(r.paragraphId);return n.map(r=>{let o=e.spans.filter(c=>c.range.paragraphId===r),a=(e.drawings??[]).filter(c=>c.paragraphId===r),i=[...o.map(c=>c.range.start),...a.map(c=>c.start)],l=[...o.map(c=>c.range.end),...a.map(c=>c.start+1)],s=i[0],d=l[0];for(let c=1;c<i.length;c+=1)i[c]<s&&(s=i[c]),l[c]>d&&(d=l[c]);return {paragraphId:r,start:s,end:d,spans:o,drawings:a}})}function Dn(e,t){return et(e).find(n=>n.paragraphId===t)??null}function hl(e,t,n,r,o=gl(e)){if(n.paragraphId===r.paragraphId){if(t.paragraphId!==n.paragraphId)return null;let c=Math.max(t.start,n.offset),u=Math.min(t.end,r.offset);return u>c?{start:c,end:u}:null}let a=o.get(t.paragraphId),i=o.get(n.paragraphId),l=o.get(r.paragraphId);if(a===void 0||i===void 0||l===void 0||a<i||a>l)return null;let s=a===i?Math.max(t.start,n.offset):t.start,d=a===l?Math.min(t.end,r.offset):t.end;return d>s?{start:s,end:d}:null}function I5(e,t){let n=cV(e).get(t);return n?n.members.slice(0,n.at).reverse():[]}var qT=new Map,XT=new WeakMap,ZT=new WeakMap;function cV(e){let t=ZT.get(e);if(t)return t;let n;for(let o of e.pages)for(let[a,i]of uV(o))n??=new Map,n.has(a)||n.set(a,i);let r=n??qT;return ZT.set(e,r),r}function uV(e){let t=XT.get(e);if(t)return t;let n;for(let o of Gt(e)){let a=ha(o);if(a.length<2)continue;let i=new Set;for(let l=0;l<a.length;l+=1){let s=a[l];i.has(s)||(i.add(s),l!==0&&(n??=new Map,n.has(s)||n.set(s,{members:a,at:l})));}}let r=n??qT;return XT.set(e,r),r}var qb=new WeakMap;function ha(e){let t=qb.get(e);if(t)return t;if((e.lines??[]).every(r=>r.range.paragraphId===e.paragraphId&&r.spans.every(o=>o.range.paragraphId===e.paragraphId)&&(r.drawings??[]).every(o=>o.paragraphId===e.paragraphId))){let r=[e.paragraphId];return qb.set(e,r),r}let n=[];for(let r of e.lines??[])for(let o of Gs(r))n.includes(o.paragraphId)||n.push(o.paragraphId);return n.includes(e.paragraphId)||n.push(e.paragraphId),qb.set(e,n),n}function fV(e,t){let n=ha(e);if(n.length===1)return n[0]===t?{start:e.range.start,end:e.range.end}:null;let r=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;for(let a of e.lines??[]){let i=Dn(a,t);i&&(r=Math.min(r,i.start),o=Math.max(o,i.end));}return o>=r?{start:r,end:o}:null}function qn(e,t,n){let r=fV(e,t);return r!==null&&n>=r.start&&n<r.end}function mV(e,t){for(let n of e.pages)for(let r of ga(n))if(r.paragraphId===t)return r;for(let n of e.pages)for(let r of ga(n))if(ha(r).includes(t))return r;return null}function M5(e,t){let n=mV(e,t);if(!n||n.marker)return n?.marker??null;if(!n.lines.every(o=>o.spans.every(a=>!/[^\f]/.test(a.text)))||n.paragraphId!==t)return null;for(let o of e.pages)for(let a of ga(o))if(a.paragraphId===t&&a.marker)return a.marker;return null}function hp(e,t){return t?{...e,range:{paragraphId:t.paragraphId,start:t.start,end:t.end},spans:t.spans,drawings:t.drawings}:e}var Jb=["black","blue","turquoise","green","pink","red","yellow","white","darkBlue","teal","darkGreen","violet","darkRed","darkYellow","gray50","gray25","lightBlue","lightYellow","lightOrange","lightPurple","lightGreen","gray"],pV=(e,t)=>Object.freeze({mark:e,color:t}),iu=(e,t)=>Object.freeze({mark:e,color:t,background:"none"}),gV=Object.freeze({insertions:iu("underline","byAuthor"),deletions:iu("strikethrough","byAuthor"),movedFrom:iu("doubleStrikethrough","green"),movedTo:iu("doubleUnderline","green"),formatting:iu("none","byAuthor"),changedLines:pV("outsideBorder","auto"),cells:Object.freeze({inserted:"lightBlue",deleted:"pink",merged:"lightYellow",split:"lightOrange"}),trackMoves:true,trackFormatting:true}),JT=["none","colorOnly","bold","italic","underline","doubleUnderline","strikethrough","doubleStrikethrough"];function L5(e={},t=gV){if(!e||typeof e!="object"||Array.isArray(e))throw new TypeError("Invalid revision markup settings");let n={...t};for(let r of Object.keys(e))if(!Object.hasOwn(t,r))throw new TypeError(`Unknown revision markup setting: ${r}`);for(let r of ["trackMoves","trackFormatting"])if(e[r]!==void 0){if(typeof e[r]!="boolean")throw new TypeError(`Invalid ${r}`);n[r]=e[r];}for(let r of ["insertions","deletions","movedFrom","movedTo","formatting","changedLines","cells"]){let o=e[r];if(o===void 0)continue;if(!o||typeof o!="object"||Array.isArray(o))throw new TypeError(`Invalid ${r}`);for(let i of Object.keys(o))if(!Object.hasOwn(t[r],i))throw new TypeError(`Unknown ${r}.${i}`);let a={...t[r],...o};if(r==="cells"){for(let i of Object.values(a))if(i!=="none"&&i!=="byAuthor"&&!Jb.includes(i))throw new TypeError("Invalid cell color")}else {if(r!=="changedLines"){let s=a.background;if(s!=="none"&&s!=="byAuthor"&&!Jb.includes(s))throw new TypeError(`Invalid ${r} background`)}let i=a;if(!(r==="changedLines"?["none","leftBorder","rightBorder","outsideBorder"]:r==="deletions"||r==="movedFrom"?[...JT,"hidden","caret","pound"]:JT).includes(i.mark))throw new TypeError(`Invalid ${r} mark`);if(i.color!=="auto"&&i.color!=="byAuthor"&&!Jb.includes(i.color))throw new TypeError(`Invalid ${r} color`)}Object.assign(n,{[r]:Object.freeze(a)});}return Object.freeze(n)}function E5(e,t,n="currentColor"){return e==="auto"?n:e==="byAuthor"?t:`var(--doc-revision-color-${e})`}function yp(e,t){switch(t){case "insert":return e.insertions;case "delete":return e.deletions;case "moveFrom":return e.trackMoves?e.movedFrom:e.deletions;case "moveTo":return e.trackMoves?e.movedTo:e.insertions;case "format":return e.formatting}}var bp=new WeakMap;function QT(e){return bp.get(e)??null}function ev(e,t,n){if(!t.font)return {props:e,style:je(e,n)};let r=[...e,{localName:"rFonts",attributes:{ascii:t.font,hAnsi:t.font,eastAsia:t.font,cs:t.font,hint:"default"}}];return bp.set(r,{props:e,style:je(e,n)}),{props:r,style:je(r,n)}}function tv(e,t){if(t&&QT(t.props))return t;let n=e?QT(e.props):null;return e&&n?{...e,props:n.props,style:n.style}:null}function nv(e,t){let n=bp.get(e);n&&bp.set(t,n);}function z5(e){return e==="simple-markup"?"proposed":e}var Ue="all-markup",hV=Object.freeze({hiddenAuthors:Object.freeze(new Set),resolvedMarkup:"plain",cacheKey:"plain"}),rv=new WeakMap;function V5(e){if(!e)return hV;if(e.resolvedMarkup==="plain")return e;let t=rv.get(e);return t||(t=Object.freeze({...e,resolvedMarkup:"plain",cacheKey:`${e.cacheKey}|plain`}),rv.set(e,t)),t}var Sp=class{#e;constructor(t){this.#e=new Set(t),Object.freeze(this);}get size(){return this.#e.size}has(t){return this.#e.has(t)}forEach(t,n){this.#e.forEach(r=>t.call(n,r,r,this));}entries(){return this.#e.entries()}keys(){return this.#e.keys()}values(){return this.#e.values()}union(t){let n=new Set(this.#e),r=t.keys(),o=r.next();for(;!o.done;)n.add(o.value),o=r.next();return n}intersection(t){let n=new Set;for(let r of this.#e)t.has(r)&&n.add(r);return n}difference(t){let n=new Set;for(let r of this.#e)t.has(r)||n.add(r);return n}symmetricDifference(t){let n=new Set(this.#e),r=t.keys(),o=r.next();for(;!o.done;){let a=o.value;this.#e.has(a)?n.delete(a):n.add(a),o=r.next();}return n}isSubsetOf(t){if(this.size>t.size)return false;for(let n of this.#e)if(!t.has(n))return false;return true}isSupersetOf(t){if(this.size<t.size)return false;let n=t.keys(),r=n.next();for(;!r.done;){if(!this.#e.has(r.value))return false;r=n.next();}return true}isDisjointFrom(t){for(let n of this.#e)if(t.has(n))return false;return true}[Symbol.iterator](){return this.#e[Symbol.iterator]()}},G5=new Sp([]);function K5(e){let t=new Set;for(let o of e)t.add(o);if(t.size===0)return;let n=[...t].sort(),r=new Sp(n);return Object.freeze({hiddenAuthors:r,includes:o=>!r.has(o.author),includesNode:(o,a)=>!r.has(a),cacheKey:JSON.stringify(n)})}function Or(e,t){return e.includes?.(t)??Us(e,t.nodeId,t.author)}function Us(e,t,n){return e.includesNode?.(t,n)??!e.hiddenAuthors.has(n)}function lu(e,t,n){return Or(e,t)?n:e.excludedNodeMode?.(t.nodeId,t.author)??"proposed"}function iv(e,t,n,r){return Us(e,t,n)?r:e.excludedNodeMode?.(t,n)??"proposed"}var Cr=Object.freeze([]),yV=32,bV={revisionInsert:"insert",revisionDelete:"delete",revisionMoveFrom:"moveFrom",revisionMoveTo:"moveTo"};function $s(e,t){for(let n of e.attributes)if(n.localName===t&&n.namespaceUri===e.namespaceUri&&(n.kind==="wmlVal"||n.kind==="genericExtension"||n.kind==="xmlSpace"))return n.value}function _n(e){if(e.kind==="textValue")return null;let t=bV[e.kind];if(t===void 0)return null;let n=$s(e,"date");return {kind:t,id:$s(e,"id")??"",author:$s(e,"author")??"",...n===void 0?{}:{date:n},nodeId:e.id}}function Jn(e,t){return e.length===0?[t]:[...e,t]}function Cn(e){return e.kind!=="textValue"&&chunkFIJZIQXA_cjs.va(e.kind)}var Rp=yV;function Ye(e,t,n){if(e.length===0||t==="all-markup"&&!n)return true;for(let r of e){let o=n?lu(n,r,t):t;if(o==="all-markup")continue;if(o==="proposed"?r.kind==="delete"||r.kind==="moveFrom":r.kind==="insert"||r.kind==="moveTo")return false}return true}function Qb(e,t,n){if(!n&&t==="all-markup")return e;if(!Ye(e,t,n))return null;if(t!=="all-markup"&&n?.resolvedMarkup==="plain")return Cr;if(!n)return e;let r=e.filter(o=>Or(n,o));return r.length===0?Cr:r}function su(e,t,n){if(t==="all-markup"||e.length===0)return Cr;if(!n)return e;let r=e.filter(o=>Or(n,o));return r.length===0?Cr:r}function ov(e,t,n){return t==="all-markup"&&(!n||Or(n,e))}function xV(e,t){if(!t)return e;let n=e.filter(r=>{if(r.localName!=="rPrChange"&&r.localName!=="pPrChange")return true;let o="revisionNodeId"in r&&typeof r.revisionNodeId=="string"?r.revisionNodeId:"";return Or(t,{kind:"format",id:r.attributes?.id??"",author:r.attributes?.author??"",...r.attributes?.date===void 0?{}:{date:r.attributes.date},nodeId:o})});return n.length===e.length?e:(nv(e,n),n)}function wp(e,t,n,r){let o=Qb(e,n,r);if(o===null)return null;let a=r?xV(t,r):t,i=su(e,n,r);return {props:a,...o.length===0?{}:{revisions:o},...i.length===0?{}:{changeSites:i}}}function kp(e,t,n){if(t!=="all-markup")return {revisions:Cr,formatRevision:null};if(!n)return {revisions:si(e),formatRevision:Pp(e)};let r=si(e).filter(a=>ov(a,t,n)),o=Pp(e);return {revisions:r,formatRevision:o&&ov(o,t,n)?o:null}}function lv(e,t,n){let r=si(e);if(!n)return r.length>0||Pp(e)!==null;if(r.some(a=>Or(n,a)))return true;let o=Pp(e);return o!==null&&Or(n,o)}function si(e){return dv(e).revisions}var SV={ins:"insert",del:"delete",moveFrom:"moveFrom",moveTo:"moveTo"};function Pp(e){return dv(e).format}var sv=Object.freeze([]),xp=Object.freeze({revisions:sv,format:null}),av=new WeakMap;function dv(e){let t=av.get(e);if(t)return t;let r=(()=>{if(e.kind==="textValue")return xp;let o=e.children.find(s=>s.kind==="paragraphProperties");if(!o||o.kind==="textValue")return xp;let a=o.children.find(s=>s.kind==="runProperties");if(!a||a.kind==="textValue")return xp;let i=[],l=null;for(let s of a.children){if(s.kind==="textValue"||s.namespaceUri!==chunkFIJZIQXA_cjs.la)continue;let d=SV[s.localName]??(s.localName==="rPrChange"?"format":void 0);if(d===void 0)continue;let c=$s(s,"date"),u={kind:d,id:$s(s,"id")??"",author:$s(s,"author")??"",...c===void 0?{}:{date:c},nodeId:s.id};d==="format"?l??=u:i.push(u);}return i.length||l?{revisions:i.length?i:sv,format:l}:xp})();return av.set(e,r),r}function cv(e){return e.find(t=>PV(t))??e[0]}function PV(e){return e.kind==="delete"||e.kind==="moveFrom"}function Tp(e,t){let n=cv(e);return {...n?{markRevisions:e,markRevision:n}:{},...t?{markFormatRevision:t}:{}}}function $5(e){return cv(si(e))??null}function yl(e){for(let t of e){if(t.localName!=="rPrChange"&&t.localName!=="pPrChange")continue;let n=t.attributes??{},r=n.date;return {kind:"format",id:n.id??"",author:n.author??"",...r===void 0?{}:{date:r},nodeId:""}}return null}function Eo(e){return e.some(t=>{switch(t.kind){case "delete":case "moveFrom":return true;case "insert":case "moveTo":case "format":return false;default:return t.kind}})}var uv=new WeakMap;function gv(e){let t=uv.get(e);if(t!==void 0)return t;let n=RV(e);return uv.set(e,n),n}function RV(e){let t=(n,r)=>{if(n.kind==="textValue"||r>=chunkFIJZIQXA_cjs.wa||chunkFIJZIQXA_cjs.qf(n)||chunkFIJZIQXA_cjs.of(n)!==null)return false;if(n.kind==="text"||n.localName==="t"){for(let a of n.children)if(a.kind==="textValue"&&a.value.trim().length>0)return true;return false}let o=chunkFIJZIQXA_cjs.xa(n,r);for(let a of n.children)if(a.kind!=="textValue"&&t(a,o))return true;return false};for(let n of e.children)if(n.kind!=="textValue"&&t(n,0))return true;return false}function hv(e,t){for(let n of t.resultParagraphIds){let r=chunkFIJZIQXA_cjs.Ta(e,n);if(!(!r||r.kind==="textValue"||r.kind!=="paragraph")&&gv(r))return true}return false}var fv=new WeakMap,mv=new WeakMap,pv=new WeakMap;function vp(e){let t=fv.get(e);if(t)return t;let n=new Set;for(let r of chunkFIJZIQXA_cjs.Rf(e)){let o=chunkFIJZIQXA_cjs.Ta(e,r.beginParagraphId);o!==null&&o.kind!=="textValue"&&o.kind==="paragraph"&&gv(o)||n.add(r.beginParagraphId),n.add(r.endParagraphId);}return fv.set(e,n),n}function yv(e){let t=mv.get(e);if(t)return t;let n=new Set;for(let r of chunkFIJZIQXA_cjs.Rf(e))hv(e,r)||n.add(r.beginParagraphId);return mv.set(e,n),n}function Fp(e){let t=pv.get(e);if(t)return t;let n=new Set;for(let r of chunkFIJZIQXA_cjs.Rf(e))if(!hv(e,r))for(let o of r.resultParagraphIds)n.add(o);return pv.set(e,n),n}var ex=64,tx=31680,wV=720,Ys=wV/20,bv=new Map([["dot","."],["hyphen","-"],["underscore","_"],["heavy","_"],["middleDot","\xB7"]]),du=Object.freeze({stops:Object.freeze([]),defaultIntervalPt:Ys}),kV=new Map([["left","left"],["start","left"],["center","center"],["right","right"],["end","right"],["decimal","decimal"]]),TV=new Set(["dot","hyphen","underscore","heavy","middleDot"]);function cu(e){return e.kind!=="textValue"}function Op(e,t){return e.attributes.find(n=>n.localName===t)?.value}function nx(e,t){for(let n of e.children)if(cu(n)&&n.localName===t)return n}function xv(e){return chunkFIJZIQXA_cjs.nd(e)}function vV(e){return !Number.isFinite(e)||e<0?null:e>tx?tx:e}function Sv(e,t){if(!t)return;let n=0;for(let r of t.children){if(n>=ex*2)break;if(n+=1,!cu(r)||r.localName!=="tab")continue;let o=vV(xv(Op(r,"pos"))??NaN);if(o===null)continue;let a=Op(r,"val")??"left";if(a==="clear"){e.delete(o);continue}let i=a==="num"?"left":kV.get(a);if(i===void 0||e.size>=ex&&!e.has(o))continue;let l=Op(r,"leader");e.set(o,{alignment:i,...a==="num"?{numberingOnly:true}:{},...l!==void 0&&TV.has(l)?{leader:l}:{}});}}function Pv(e,t=Ys){let n=[...e.entries()].sort((o,a)=>o[0]-a[0]),r=[];for(let o=0;o<n.length&&o<ex;o+=1){let[a,i]=n[o];r.push({positionPt:a/20,...i});}return {stops:Object.freeze(r),defaultIntervalPt:t}}function Rv(e){let t=new Map;for(let n of e)!n||!cu(n)||Sv(t,nx(n,"tabs"));return Pv(t)}function e7(e){if(!e||!cu(e))return du;let t=new Map;return Sv(t,nx(e,"tabs")),Pv(t)}function Cp(e,t){return t===void 0||!Number.isFinite(t)||t<=0||t===e.defaultIntervalPt?e:{...e,defaultIntervalPt:t}}function wv(e){if(!e||!cu(e))return Ys;let t=nx(e,"defaultTabStop");if(!t)return Ys;let n=xv(Op(t,"val"));return n===null||n<=0||n>tx?Ys:n/20}function bl(e,t,n,r=false){let o=Math.max(t,n);for(let l of e.stops)if(!(l.numberingOnly&&!r)&&!(l.implied&&r)&&l.positionPt>t)return {positionPt:Math.min(l.positionPt,o),alignment:l.alignment,...l.leader?{leader:l.leader}:{}};let a=e.defaultIntervalPt>0?e.defaultIntervalPt:Ys,i=Math.ceil((t+1e-9)/a)*a;return i<=t&&(i+=a),{positionPt:Math.min(i,o),alignment:"left"}}function kv(e,t,n,r,o){let a=n;switch(e){case "center":a=n-r/2;break;case "right":a=n-r;break;case "decimal":a=n-o;break;default:a=n;}let i=a-t;return i>0?i:0}function Ip(e){let t=e.stops.map(r=>`${r.alignment}@${Math.round(r.positionPt*1e3)}${r.numberingOnly?"#num":""}${r.implied?"#implied":""}${r.leader?`/${r.leader}`:""}`).join(","),n=e.ignoreIndentAsNumberingTabStop?"|numStop":"";return `tabs(${t}|d${Math.round(e.defaultIntervalPt*1e3)}${n})`}function xl(e){return e>=11904&&e<=12591||e>=12736&&e<=40959||e>=63744&&e<=64255||e>=65072&&e<=65103||e>=65281&&e<=65439||e>=131072&&e<=205743}var Fv=e=>new Set([...e].map(t=>t.codePointAt(0))),uu=Fv("\u3002\uFF0E\uFF0C\u3001\uFF1B\uFF1A\uFF1F\uFF01\u300D\u300F\uFF09\u3011\u3009\u300B\u3015\u3017\u3019\u301B\uFF5D\uFF3D\uFF1E\uFF05\u3000\u30FB\uFF61\uFF63\uFF64\uFF65\uFF70\uFF9E\uFF9F\u3005\u301C\u309D\u309E\u30FD\u30FE\u30FC\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F"),fu=Fv("\u300C\u300E\uFF08\u3010\u3008\u300A\u3014\u3016\u3018\u301A\uFF5B\uFF3B\uFF1C\uFF62\uFF04\uFFE5");function Ov(e,t){return !(!xl(e)||!xl(t)||fu.has(e)||uu.has(t))}function Qr(e){if(e.length===0)return;let t=e.charCodeAt(e.length-1);return t>=56320&&t<=57343&&e.length>=2?e.codePointAt(e.length-2):t}var Sl=new Set(["-","\u2010","\u2013","\u2014"]),Cv=/[\u00a0\u2007\u202f\u2060\ufeff]/u,rx=/[^\S\u00a0\u2007\u202f\ufeff]$/,ox=/^[^\S\u00a0\u2007\u202f\ufeff]/,Tv=11904;function FV(e){let t=null;return n=>{if(t===null){t=new Set;for(let r of bt(e))t.add(r.utf16From);t.add(e.length);}return t.has(n)}}function OV(e,t){let n=[],r=0,o=0;for(;r<e.length||o<t.length;){let a=r<e.length?e[r]:Number.POSITIVE_INFINITY,i=o<t.length?t[o]:Number.POSITIVE_INFINITY;a<i?(n.push(a),r+=1):(n.push(i),o+=1);}return n}function eo(e,t){let n=[];for(let o=0;o<e.length;o+=1){let a=e[o];a===" "?(o>0&&n[n.length-1]!==o&&n.push(o),n.push(o+1)):(a===" "||Sl.has(a)&&o>0&&e[o-1]!==" "&&o+1<e.length&&e[o+1]!==" "&&!Sl.has(e[o+1]))&&n.push(o+1);}let r=n;if(t){let o=[],a=FV(e);for(let i=0;i<e.length;){let l=e.codePointAt(i),s=i+(l>65535?2:1);if(s>=e.length)break;Ov(l,e.codePointAt(s))&&a(s)&&o.push(s),i=s;}o.length>0&&(r=OV(n,o));}return r[r.length-1]!==e.length&&r.push(e.length),r}function Bp(e,t){return !(t!==void 0&&uu.has(t)||e!==void 0&&fu.has(e))}function Iv(e,t){return t<=0||t>=e.length?true:Bp(Qr(e.slice(0,t)),e.codePointAt(t))}var Mp=new Map,vv=-1;function CV(e,t){let n=ap();(vv!==n||Mp.size>=2048)&&(Mp.clear(),vv=n);let r=e*1114112+t,o=Mp.get(r);if(o!==void 0)return o;let a=0;for(let l of bt(String.fromCodePoint(e,t)))a+=1;let i=a>1;return Mp.set(r,i),i}function Xs(e,t,n){let r=n||e===""||rx.test(e)||ox.test(t)||Sl.has(e[e.length-1])&&!Sl.has(t[0]),o=e.length===0?0:e.charCodeAt(e.length-1);if(o<Tv&&t.charCodeAt(0)<Tv)return r?"opens":"continues";if(o===9)return "opens";let a=Qr(e),i=t.codePointAt(0);return a!==void 0&&!CV(a,i)||!Bp(a,i)?"forbidden":r||a!==void 0&&Ov(a,i)?"opens":"continues"}function ax(e,t,n,r){r.length===0||n<=t||e.push({start:t,end:n,revisions:r});}function Mv(e,t,n){return e?(r,o,a)=>ax(e,r,o,su(a,t,n)):()=>{}}function ix(e){return e.capturedResultRevisions?{revisionsOverride:e.resultRevisions,formatSiteOverride:e.resultFormatSite}:{}}function Bv(e,t){return t?{...e,changeSites:[...e.changeSites??[],t]}:e}function di(e,t,n){if(n<=t)return;let r=e[e.length-1];if(r&&r.end>=t){r.end=Math.max(r.end,n);return}e.push({start:t,end:n});}var IV=new Set(["left","center","right"]),MV=new Set(["margin","indent","leftMargin"]),BV=new Set(["dot","hyphen","underscore","middleDot"]);function lx(e){if(e.kind==="textValue"||e.localName!=="ptab"||e.namespaceUri!==chunkFIJZIQXA_cjs.la)return null;let t="left",n="margin",r;for(let o of e.attributes)o.namespaceUri===chunkFIJZIQXA_cjs.la&&(o.localName==="alignment"?t=o.value:o.localName==="relativeTo"?n=o.value:o.localName==="leader"&&(r=o.value));return {alignment:IV.has(t)?t:"left",relativeTo:MV.has(n)?n:"margin",...r!==void 0&&BV.has(r)?{leader:r}:{}}}function LV(e,t,n,r){return {...e,text:e.text.slice(t,n),start:e.start+t,end:e.start+n,...r?{fontSlot:r}:{}}}function EV(e,t,n,r){return {...e,text:e.text.slice(t,n),...r?{fontSlot:r}:{}}}function Lv(e,t){if(!e.some(({style:d})=>d.fontFamilyEastAsia!==null&&d.fontFamilyEastAsia!==d.fontFamily))return e;let n=[],r=[],o=[];for(let d=0;d<e.length;d+=1){let c=e[d];if(c.positionalTab||c.breakKind||c.inlineDrawing||c.anchoredAtom||c.equation||c.text.length===0)continue;n.push(d),r.push(c.text);let u=ip(c.props)&&!chunkFIJZIQXA_cjs.b(c.style.fontFamily)&&!BT(c.props,c.style.fontFamilyEastAsia,t);o.push(u?LT(c.props,c.style.fontFamilyEastAsia,t):false);}let a=DT(r,o);if(a.length===0)return e;let i=new Map;for(let d of a){let c=i.get(d.segment);c?c.push({from:d.from,to:d.to}):i.set(d.segment,[{from:d.from,to:d.to}]);}let l=[],s=0;for(let d=0;d<e.length;d+=1){let c=e[d];if(n[s]!==d){l.push(c);continue}let u=i.get(s);s+=1;let{style:f}=c;if(!u||f.fontFamilyEastAsia===null||f.fontFamilyEastAsia===f.fontFamily){l.push(c);continue}let m=!c.projected&&!c.fieldAtom&&!c.noteNav&&c.measureText===void 0&&c.end-c.start===c.text.length,g=c.projected===true&&c.fieldAtom!=null&&!c.noteNav&&c.measureText===void 0,p=g?EV:LV;if(!m&&!g){let y=u.length===1&&u[0].from===0&&u[0].to===c.text.length;l.push(y?{...c,fontSlot:"eastAsia"}:c);continue}let h=0;for(let y of u)y.from>h&&l.push(p(c,h,y.from,void 0)),l.push(p(c,y.from,y.to,"eastAsia")),h=y.to;h<c.text.length&&l.push(p(c,h,c.text.length,void 0));}return l}function mu(e){if(e.kind==="text"||e.kind==="deletedText"){let t="";for(let n of e.children)n.kind==="textValue"&&(t+=n.value);return t}return e.kind==="tab"?" ":e.kind==="hardBreak"?chunkFIJZIQXA_cjs.pb(e):chunkFIJZIQXA_cjs.fb(e)??""}function pu(e){let t=chunkFIJZIQXA_cjs.hb(e);return t===null?null:chunkFIJZIQXA_cjs.gb(e)===chunkFIJZIQXA_cjs.cb?{text:t,measureText:""}:{text:t}}function $e(e){if(!e||e.kind==="textValue")return [];let t=[];for(let n of e.children){if(n.kind==="textValue")continue;if(n.localName==="ligatures"){let i=RT(n);i!==void 0&&t.push({localName:"ligatures",attributes:{val:i}});continue}if(n.localName==="textOutline"){let i=bT(n);i&&t.push(i);continue}if(n.namespaceUri!==chunkFIJZIQXA_cjs.la)continue;if(n.localName!=="rPrChange"&&n.localName!=="pPrChange"){t.push(AV(n.localName,n.attributes));continue}let r={};for(let i of n.attributes)i.namespaceUri===chunkFIJZIQXA_cjs.la&&(r[i.localName]=i.value);let a=Object.keys(r).length>0?{localName:n.localName,attributes:r,revisionNodeId:n.id}:{localName:n.localName,revisionNodeId:n.id};t.push(a);}return t}var Ev=new WeakMap;function AV(e,t){let n=Ev.get(t);n||Ev.set(t,n=new Map);let r=n.get(e);if(r)return r;let o={},a=false;for(let l of t)l.namespaceUri===chunkFIJZIQXA_cjs.la&&(o[l.localName]=l.value,a=true);let i=Object.freeze(a?{localName:e,attributes:Object.freeze(o)}:{localName:e});return n.set(e,i),i}function ya(e,t,n){let r=$e(e.kind==="run"?e.children.find(o=>o.kind==="runProperties"):void 0);return n?[...n(t,r)]:t.length===0?r:[...t,...r]}function sx(e,t,n,r,o){let a=r&&o?yp(r,o.kind).mark:void 0;return {text:a==="caret"?"^":a==="pound"?"#":e,style:a==="bold"||a==="italic"?mT(t,a):t,projected:n||a==="caret"||a==="pound",hidden:a==="hidden"}}function NV(e,t){return yl(e)??yl($e("children"in t?t.children.find(n=>n.kind==="paragraphProperties"):void 0))??void 0}function dx(e,t,n){let r=e.revisions?.find(a=>a.kind==="delete"||a.kind==="moveFrom")??e.revisions?.at(-1);if(r)return r;let o=NV(e.props,t);return o&&(!n||Or(n,o))?o:void 0}function cx(e,t,n,r){e&&ax(e,t,n,r.revisions??[]);}function Ao(e,t,n){if(t!=="all-markup"||!n?.revisionMarkup)return false;let r=e.find(o=>(o.kind==="delete"||o.kind==="moveFrom")&&Or(n,o));return !!r&&yp(n.revisionMarkup,r.kind).mark==="hidden"}function Av(e,t,n,r,o){if(n!=="all-markup"||!r?.revisionMarkup)return e;let a=[];for(let i of e){let l=dx(i,t,r),s=l&&yp(r.revisionMarkup,l.kind).mark;if((s==="caret"||s==="pound")&&(i={...i,measureText:void 0},i.fieldAtom)){let{pageField:c,pageRef:u,...f}=i.fieldAtom;i={...i,fieldAtom:f};}let d=sx(i.text,i.style,!!i.projected,r.revisionMarkup,l);if(d.hidden){cx(o,i.start,i.end,i);continue}a.push(d.text===i.text&&d.style===i.style?i:{...i,text:d.text,style:d.style,projected:d.projected});}return a}function Pl(e,t){let n=Math.max(e.x,t.x),r=Math.max(e.y,t.y),o=Math.min(e.x+e.width,t.x+t.width),a=Math.min(e.y+e.height,t.y+t.height),i=e.width>0?o<=n:o<n,l=e.height>0?a<=r:a<r;return Object.freeze(i||l?{x:n,y:r,width:0,height:0}:{x:n,y:r,width:o-n,height:a-r})}function ux(e){return e===void 0||e===11||e===12||e===14?"legacy":e>=15?"modern":"unlisted"}var Hn=(e,t)=>({mode:"modern",behavior:e,source:t}),Zs=(e,t)=>({mode:"legacy",behavior:e,source:t}),Lp={anchorOnlyParagraphSeeding:Hn("Seed the pages of consecutive anchor-only paragraphs before later bands wrap earlier text","ECMA-376 Part 1 \xA720.4.2.3 anchor"),anchorOnlyParagraphWrapExclusion:Hn("An anchor-only paragraph wraps around its own anchors before it is placed","ECMA-376 Part 1 \xA720.4.2.3 anchor"),anchorsLayOutInCell:Hn("Every anchored object in a table cell lays out in its cell; none is out of cell","ECMA-376 Part 1 \xA720.4.2.3 anchor (layoutInCell)"),fixedTableContentEdgeOrigin:Zs("A collapsed fixed left table aligns its leading cell content edge with the text column","ECMA-376 Part 1 \xA717.4.52 tblLayout"),floatingTableContentOrigin:Zs("A floating table with a numeric text anchor or a right alignment positions its cell content, not its outer edge","ECMA-376 Part 1 \xA717.4.57 tblpPr"),floatingTableOverlapMovesLeft:Hn("A floating table that may not overlap moves left of the table it meets when the right side has no room","ECMA-376 Part 1 \xA717.4.56 tblOverlap"),headerFooterAnchorsWrapText:Hn("Header and footer text outside tables wraps around anchored objects","ECMA-376 Part 1 \xA720.4.2.3 anchor"),headerRowsKeepWithBody:Hn("Header rows keep with the opening body rows; the table starts on the next page if both do not fit","ECMA-376 Part 1 \xA717.4.49 tblHeader"),justifiedSpaceShrink:Hn("Justified lines may shrink spaces to fit one more word","ECMA-376 Part 1 \xA717.3.1.13 jc"),keepNextGivesTailLines:Hn("A keep-with-next paragraph that fits whole gives its last lines to the next page with its successor","ECMA-376 Part 1 \xA717.3.1.15 keepNext"),legacyPercentTableContentWidth:Zs("A top-level percent-width table resolves its width against the legacy content width","ECMA-376 Part 1 \xA717.4.63 tblW"),legacySharedGridLineSideRules:Zs("Collapsed side rules center on shared grid lines for every simple top-level table","ECMA-376 Part 1 \xA717.4.38 tblBorders"),modernBidiTableRuleShift:Hn("A right-to-left table sits half its mean outer side rule toward its visual left","ECMA-376 Part 1 \xA717.4.1 bidiVisual"),modernGridLineSideRules:Hn("Side rules center on grid lines for covered dxa/auto width shapes; edge-aligned grids move by half a rule","ECMA-376 Part 1 \xA717.4.38 tblBorders"),noteTableCellKeeps:Hn("Note reference bands in table rows honor cell widow control and keep-lines cuts","ECMA-376 Part 1 \xA717.11 Footnotes and Endnotes"),positionedTableBreaksAtMargin:Hn("A page- or margin-positioned table that breaks ends its first fragment at the bottom margin, not the page edge","ECMA-376 Part 1 \xA717.4.57 tblpPr"),pageBreakBeforeKeepsSpace:Zs("A paragraph with a page break before keeps its space before at the top of the new page. In modern modes only the first block of a section keeps it","ECMA-376 Part 1 \xA717.3.1.23 pageBreakBefore"),pageBreakLinesStretch:Zs("A justified line that ends in a page or column break stretches to the measure, unless it is the last line of its paragraph","ECMA-376 Part 1 \xA717.3.3.1 br"),rowPageBreakYieldsToKeep:Hn("A row with a page break does not start a page when the row before it keeps with it","ECMA-376 Part 1 \xA717.3.1.15 keepNext"),tableParagraphWidowControl:Hn("Paragraphs that split inside table cells apply widow and orphan control","ECMA-376 Part 1 \xA717.3.1.44 widowControl"),vMergeTextMovesPastHeadRow:Hn("Merged cell text moves whole into the next row when the head row cannot hold it","ECMA-376 Part 1 \xA717.4.84 vMerge")},Nv={adjustLineHeightInTable:{behavior:"Paragraphs in table cells snap to the section line grid",source:"ECMA-376 Part 1 \xA717.15.3.1 adjustLineHeightInTable",applies:e=>e.legacy.adjustLineHeightInTable===true},doNotBreakWrappedTables:{behavior:"A floating table that fits a full page does not break across pages",source:"ECMA-376 Part 4 \xA714.8.3.10 doNotBreakWrappedTables",applies:e=>e.legacy.doNotBreakWrappedTables===true},fixedParagraphSpacing:{behavior:"Adjacent paragraph spacing adds up, and automatic spacing is a fixed 5pt before and 10pt after",source:"ECMA-376 Part 4 \xA714.8.3.15 doNotUseHTMLParagraphAutoSpacing",applies:e=>e.legacy.doNotUseHTMLParagraphAutoSpacing===true},ignoreIndentAsNumberingTabStop:{behavior:"A numbering suffix tab ignores the hanging indent as a tab stop",source:"ECMA-376 Part 4 \xA714.8.3.16 doNotUseIndentAsNumberingTabStop",applies:e=>e.legacy.doNotUseIndentAsNumberingTabStop===true},optionalLigatures:{behavior:"Optional OpenType ligatures apply: as `enableOpenTypeFeatures` says, else in modern modes. A duplicated setting turns them off",source:"[MS-DOCX] enableOpenTypeFeatures",applies:e=>{let t=e.settings.enableOpenTypeFeatures;return t==="ambiguous"?false:t??e.modeClass==="modern"}},preserveExactLineBaseline:{behavior:"With `w:noExtraLineSpacing` in a legacy mode that was not refused, an exact-height line keeps the face baseline",source:"ECMA-376 Part 4 \xA714.8.3.28 noExtraLineSpacing",applies:e=>!e.modeRefused&&e.modeClass==="legacy"&&e.legacy.noExtraLineSpacing===true},strictTableStyleHierarchy:{behavior:"Table style font size and justification apply over the default paragraph style",source:"[MS-DOCX] 2.3.1 overrideTableStyleFontSizeAndJustification",applies:e=>e.settings.overrideTableStyleFontSizeAndJustification===true},unstretchedManualBreakLines:{behavior:"A justified line that ends in a manual line break keeps its natural spacing, as a last line does. A distributed line still stretches",source:"ECMA-376 Part 4 \xA714.8.3 doNotExpandShiftReturn",applies:e=>e.legacy.doNotExpandShiftReturn===true}};function Le(e,t){return Lp[t].mode===ux(e)}var DV=Object.freeze({inTableCell:true,compatibilityMode:void 0,anchorsWrapText:true,rowsClearOutOfCellFloats:false});function Rl(e,t,n){return Object.freeze({inTableCell:e===true,compatibilityMode:t.compatibilityMode,anchorsWrapText:t.anchorsWrapText!==false||e===true,rowsClearOutOfCellFloats:n!==void 0&&fx(t,n)})}function fx(e,t){return e.outOfCellFloatParagraphs?.has(t)===true}function gu(e,t){if(!t.inTableCell||Le(t.compatibilityMode,"anchorsLayOutInCell"))return true;let n=e.position;return n?.horizontal.relativeFrom==="character"||n?.vertical.relativeFrom==="line"?true:e.anchor?.layoutInCell??true}function mx(e,t){return t.anchorCellBox!=null&&!gu(e,t.cellAnchorScope??DV)}function Dv(e,t,n){return {anchorCellBox:Object.freeze({x:0,y:0,width:e,height:Math.max(1,t)}),cellAnchorScope:n}}function wl(e){let t=e.pageHeight;return Object.freeze({x:-e.marginLeft,y:-e.contentInsetTop,width:e.pageWidth,height:t!==void 0&&Number.isFinite(t)&&t>0?t:e.contentBandHeight+e.contentInsetTop+e.contentInsetBottom})}var _v=21600;function hu(e){if(e.length===0)return Object.freeze([]);let t=[...e].sort((o,a)=>o.start-a.start||o.end-a.end),n=[],r=t[0];for(let o=1;o<t.length;o+=1){let a=t[o];a.start<=r.end+1e-4?r=Object.freeze({start:r.start,end:Math.max(r.end,a.end)}):(n.push(r),r=a);}return n.push(r),Object.freeze(n)}function Ap(e,t){let n=[];for(let r of e)for(let o of t){let a=Math.max(r.start,o.start),i=Math.min(r.end,o.end);i>a+1e-6&&n.push(Object.freeze({start:a,end:i}));}return hu(n)}function px(e,t,n){let r=[];for(let o of e){let a=Math.max(o.start,t),i=Math.min(o.end,n);i>a+1e-6&&r.push(Object.freeze({start:a,end:i}));}return hu(r)}function _V(e,t,n){let r=[],o=t;for(let a of e)a.start>o&&r.push(Object.freeze({start:o,end:a.start})),o=Math.max(o,a.end);return o<n&&r.push(Object.freeze({start:o,end:n})),Object.freeze(r)}function jv(e,t){return qs(e,t)}function yu(e,t,n){return jv(qs(e,t),n)}function HV(e,t){let n=[],r=Math.min(e.length,wn);if(r<2)return Object.freeze([]);for(let o=0;o<r;o+=1){let a=e[o],i=e[(o+1)%r],l=a.y,s=i.y;if(l===s)continue;let d=Math.min(l,s),c=Math.max(l,s);if(t<d||t>c||t===c&&s>l||t===d&&s<l)continue;let u=(t-l)/(s-l),f=a.x+u*(i.x-a.x);Number.isFinite(f)&&n.push({x:f,delta:s>l?1:-1});}return n.sort((o,a)=>o.x-a.x||o.delta-a.delta),Object.freeze(n)}function jV(e,t){let n=[],r=Math.min(e.length,wn);for(let o=0;o<r;o+=1){let a=e[o],i=e[(o+1)%r];if(a.y!==i.y||Math.abs(t-a.y)>1e-6)continue;let l=Math.min(a.x,i.x),s=Math.max(a.x,i.x);s>l&&n.push(Object.freeze({start:l,end:s}));}return hu(n)}function Hv(e,t,n){let r=WV(HV(e,t),n),o=jV(e,t);return hu([...r,...o])}function WV(e,t){if(e.length===0)return Object.freeze([]);let n=[];if(t==="evenodd"){for(let a=0;a+1<e.length;a+=2){let i=e[a].x,l=e[a+1].x;l>i&&n.push(Object.freeze({start:i,end:l}));}return Object.freeze(n)}let r=0,o=null;for(let a of e){let i=r;r+=a.delta,i===0&&r!==0?o=a.x:i!==0&&r===0&&o!==null&&(a.x>o&&n.push(Object.freeze({start:o,end:a.x})),o=null);}return Object.freeze(n)}function zV(e,t){return Object.freeze({top:xe(e.top)+xe(t.top),right:xe(e.right)+xe(t.right),bottom:xe(e.bottom)+xe(t.bottom),left:xe(e.left)+xe(t.left)})}function VV(e,t,n,r,o,a){let i=t.x-e.x,l=t.y-e.y,s=r.x-n.x,d=r.y-n.y,c=i*d-l*s;if(Math.abs(c)<1e-12)return null;let f=((n.x-e.x)*l-(n.y-e.y)*i)/c,m=((n.x-e.x)*d-(n.y-e.y)*s)/c;if(f<-1e-9||f>1+1e-9||m<-1e-9||m>1+1e-9)return null;let g=e.y+f*l;return !Number.isFinite(g)||g<o-1e-6||g>a+1e-6?null:g}function GV(e,t,n,r){let o=[],a=Math.min(e.length,wn),i=Math.min(t.length,wn);if(a<2||i<2)return Object.freeze([]);let l=wn*wn,s=0;for(let d=0;d<a;d+=1){let c=e[d],u=e[(d+1)%a];for(let f=0;f<i;f+=1){if(s>=l)return Object.freeze(o);s+=1;let m=t[f],g=t[(f+1)%i],p=VV(c,u,m,g,n,r);p!==null&&o.push(p);}}return Object.freeze(o)}function KV(e,t,n){let r=new Set;r.add(t),r.add(n);for(let o of e){let a=Math.min(o.length,wn);for(let i=0;i<a;i+=1){let l=o[i].y;Number.isFinite(l)&&l>=t-1e-6&&l<=n+1e-6&&r.add(l);}for(let i=0;i<a;i+=1){let l=o[i],s=o[(i+1)%a],d=l.y,c=s.y;if(d!==c)for(let u of [t,n]){let f=Math.min(d,c),m=Math.max(d,c);u>=f&&u<=m&&r.add(u);}}}if(e.length>=2)for(let o of GV(e[0],e[1],t,n))r.add(o);return Object.freeze([...r].sort((o,a)=>o-a))}function $V(e,t,n,r){let o=Hv(e,n,r);return t&&t.length>=3&&(o=Ap(o,Hv(t,n,"nonzero"))),o}function Wv(e,t,n,r,o=null){let a=xe(n.top),i=xe(n.bottom),l=xe(n.left),s=xe(n.right),d=t-i,c=t+a,u=KV(o&&o.length>=3?[e,o]:[e],d,c),f=[],m=u.length>=2?u.flatMap((g,p)=>{if(p+1>=u.length)return [];let h=u[p+1];return h<=g+1e-6?[g]:[g,h,(g+h)/2]}):[d];for(let g of m){let p=$V(e,o,g,r);for(let h of p)f.push(Object.freeze({start:h.start-l,end:h.end+s}));}return hu(f)}function zv(e){let{x:t,y:n,width:r,height:o}=e;return Object.freeze([Object.freeze({x:t,y:n}),Object.freeze({x:t+r,y:n}),Object.freeze({x:t+r,y:n+o}),Object.freeze({x:t,y:n+o})])}function UV(e){let t=Math.max(0,xe(e.extentWidthPt)),n=Math.max(0,xe(e.extentHeightPt)),r=Np(e.transform,t,n),o=Math.min(e.polygonEmu.length,wn);if(o<3)return zv({x:e.anchorX,y:e.anchorY,width:t,height:n});let a=r.width/_v,i=r.height/_v,l=[];for(let s=0;s<o;s+=1){let d=e.polygonEmu[s];l.push(Object.freeze({x:xe(d.x)*a,y:xe(d.y)*i}));}return Dp({points:Object.freeze(l),sourceWidth:r.width,sourceHeight:r.height,offsetX:r.offsetX,offsetY:r.offsetY,crop:{left:0,top:0,right:0,bottom:0},transform:e.transform,layoutWidth:t,layoutHeight:n,anchorX:e.anchorX,anchorY:e.anchorY})}function YV(e,t){let n=t.effectInsets??Ep,r=t.wrapDistances??Ep,o=xe(t.contentLeft),a=xe(t.contentRight);if(t.mode==="topAndBottom"){let c=jv(qs(t.contentBounds,n),r);return e<c.y||e>=c.y+c.height?Object.freeze([]):px([{start:o,end:a}],o,a)}if(t.mode==="square"){let c=yu(t.contentBounds,n,r);return e<c.y||e>=c.y+c.height?Object.freeze([]):px([{start:c.x,end:c.x+c.width}],o,a)}let i=t.polygon&&t.polygon.length>=3?t.polygon:zv(t.contentBounds),l=t.mode==="through"?"evenodd":"nonzero",s=zV(r,n),d=Wv(i,e,s,l,t.clipPolygon);return px(d,o,a)}function XV(e){return e.length===0?null:Object.freeze({start:Math.min(...e.map(t=>t.start)),end:Math.max(...e.map(t=>t.end))})}function ZV(e,t,n,r,o){if(n==="bothSides"||t.length===0)return e;let a=XV(t);if(!a)return e;if(n==="left")return Object.freeze(e.filter(s=>s.end<=a.start+1e-4));if(n==="right")return Object.freeze(e.filter(s=>s.start>=a.end-1e-4));let i=Math.max(0,a.start-r),l=Math.max(0,o-a.end);return i===l?Object.freeze(e.filter(s=>s.start>=a.end-1e-4)):i>l?Object.freeze(e.filter(s=>s.end<=a.start+1e-4)):Object.freeze(e.filter(s=>s.start>=a.end-1e-4))}function Vv(e,t){let n=YV(e,t),r=_V(n,t.contentLeft,t.contentRight);return ZV(r,n,t.textSide,t.contentLeft,t.contentRight)}function qV(e,t,n,r){return n.length<3?false:Wv(n,t,r,"nonzero").some(a=>e>=a.start-1e-6&&e<=a.end+1e-6)}function gx(e,t,n){let r=n.effectInsets??Ep,o=n.hitBounds;if(e<o.x||e>o.x+o.width||t<o.y||t>o.y+o.height)return false;if(n.clipPolygon&&n.clipPolygon.length>=3)return qV(e,t,n.clipPolygon,r);let a=qs(n.contentBounds,r);return e>=a.x&&e<=a.x+a.width&&t>=a.y&&t<=a.y+a.height}function Gv(e){let t=Object.freeze({top:xe(e.wrapDistancesEmu.top/No),right:xe(e.wrapDistancesEmu.right/No),bottom:xe(e.wrapDistancesEmu.bottom/No),left:xe(e.wrapDistancesEmu.left/No)}),n=e.mode==="tight"||e.mode==="through"?UV({polygonEmu:e.polygonEmu,extentWidthPt:e.extentWidthPt,extentHeightPt:e.extentHeightPt,anchorX:e.contentBounds.x,anchorY:e.contentBounds.y,transform:e.transform}):null;return Object.freeze({mode:e.mode,contentBounds:e.contentBounds,polygon:n,clipPolygon:e.geometry.clipPolygon,wrapDistances:t,effectInsets:e.geometry.effectInsets,textSide:e.textSide,contentLeft:e.contentLeft,contentRight:e.contentRight})}var Qn=1e5,wn=chunkFIJZIQXA_cjs.r.maxPolygonPoints,Ep=Object.freeze({top:0,right:0,bottom:0,left:0}),JV=32,QV=.1,eG=new Set(["rect","ellipse","roundRect"]);function xe(e){return Number.isFinite(e)?e:0}function Mr(e,t,n){return Number.isFinite(e)?Math.min(n,Math.max(t,e)):t}function Kv(e,t){let n=e+t;return Number.isFinite(n)?n:0}function $v(e,t,n){let r=Mr(e,0,n),o=Mr(t,0,n);if(r<=0||o<=0)return {left:r,right:o};let a=r+o;if(a>=n){let i=(n-1)/a;r*=i,o*=i;}return {left:r,right:o}}function tG(e){let t=$v(Mr(e.left,0,Qn),Mr(e.right,0,Qn),Qn),n=$v(Mr(e.top,0,Qn),Mr(e.bottom,0,Qn),Qn);return Object.freeze({left:t.left,top:n.left,right:t.right,bottom:n.right})}function nG(e){let t=tG({left:e.left*Qn,top:e.top*Qn,right:e.right*Qn,bottom:e.bottom*Qn});return Object.freeze({left:t.left/Qn,top:t.top/Qn,right:t.right/Qn,bottom:t.bottom/Qn})}function rG(e){let t=n=>{if(!Number.isFinite(n))return 0;let r=n/No;return !Number.isFinite(r)||Math.abs(r)>72e4?0:r};return Object.freeze({top:t(e.top),right:t(e.right),bottom:t(e.bottom),left:t(e.left)})}function qs(e,t){let n=xe(t.left),r=xe(t.right),o=xe(t.top),a=xe(t.bottom);return Object.freeze({x:e.x-n,y:e.y-o,width:Math.max(0,Kv(e.width,n+r)),height:Math.max(0,Kv(e.height,o+a))})}function oG(e,t,n){let r=e*Mr(n.left,0,1),o=t*Mr(n.top,0,1),a=e*(1-Mr(n.right,0,1)),i=t*(1-Mr(n.bottom,0,1)),l=e>0?a<=r:a<r,s=t>0?i<=o:i<o;if(l||s){let d=e/2,c=t/2;return Object.freeze({left:d,top:c,right:d,bottom:c})}return Object.freeze({left:r,top:o,right:a,bottom:i})}function Np(e,t,n){let r=e.extentEmu?.cx??0,o=e.extentEmu?.cy??0,a=e.offsetEmu??{x:0,y:0},i=r>0?xe(Ir(r)??t):Math.max(0,xe(t)),l=o>0?xe(Ir(o)??n):Math.max(0,xe(n));return Object.freeze({offsetX:xe(Ir(a.x)??0),offsetY:xe(Ir(a.y)??0),width:i,height:l})}function aG(e,t,n,r){let o=oG(t,n,r),a=o.right-o.left,i=o.bottom-o.top,l=t>0?t:1,s=n>0?n:1,d=[],c=Math.min(e.length,wn);for(let u=0;u<c;u+=1){let f=e[u],m=a<=0?o.left:o.left+Mr(f.x/l,0,1)*a,g=i<=0?o.top:o.top+Mr(f.y/s,0,1)*i;d.push(Object.freeze({x:xe(m),y:xe(g)}));}return Object.freeze(d)}function Uv(e,t,n){let r=e.x-t.x,o=e.y-t.y;n.flipHorizontal&&(r=-r),n.flipVertical&&(o=-o);let a=xe(n.rotationDegrees)*Math.PI/180,i=Math.cos(a),l=Math.sin(a),s=r*i-o*l,d=r*l+o*i;return Object.freeze({x:xe(s+t.x),y:xe(d+t.y)})}function Yv(e){if(e.length===0)return Object.freeze({x:0,y:0,width:0,height:0});let t=e[0].x,n=e[0].x,r=e[0].y,o=e[0].y,a=Math.min(e.length,wn);for(let i=1;i<a;i+=1){let l=e[i];!Number.isFinite(l.x)||!Number.isFinite(l.y)||(t=Math.min(t,l.x),n=Math.max(n,l.x),r=Math.min(r,l.y),o=Math.max(o,l.y));}return Object.freeze({x:t,y:r,width:Math.max(0,n-t),height:Math.max(0,o-r)})}function yx(e){let t=Object.freeze({x:e.offsetX+e.sourceWidth/2,y:e.offsetY+e.sourceHeight/2}),n=bu(0,0,e.sourceWidth,e.sourceHeight),r=[];for(let l of n)r.push(Uv(Object.freeze({x:l.x+e.offsetX,y:l.y+e.offsetY}),t,e.transform));let o=Yv(r),a=Math.max(o.width,1e-6),i=Math.max(o.height,1e-6);return Object.freeze({bboxX:o.x,bboxY:o.y,scaleX:Math.max(0,xe(e.layoutWidth))/a,scaleY:Math.max(0,xe(e.layoutHeight))/i,anchorX:xe(e.anchorX),anchorY:xe(e.anchorY)})}function iG(e,t){return Object.freeze({x:xe(t.anchorX+(e.x-t.bboxX)*t.scaleX),y:xe(t.anchorY+(e.y-t.bboxY)*t.scaleY)})}function Dp(e){let t=e.mapping??yx({sourceWidth:e.sourceWidth,sourceHeight:e.sourceHeight,offsetX:e.offsetX,offsetY:e.offsetY,transform:e.transform,layoutWidth:e.layoutWidth,layoutHeight:e.layoutHeight,anchorX:e.anchorX,anchorY:e.anchorY}),n=aG(e.points,e.sourceWidth,e.sourceHeight,e.crop),r=Math.min(n.length>0?n.length:e.points.length,wn),o=n.length>0?n:e.points.slice(0,r),a=Object.freeze({x:e.offsetX+e.sourceWidth/2,y:e.offsetY+e.sourceHeight/2}),i=[];for(let l=0;l<r;l+=1){let s=o[l],d=Object.freeze({x:xe(s.x+e.offsetX),y:xe(s.y+e.offsetY)});i.push(iG(Uv(d,a,e.transform),t));}return Object.freeze(i)}function bu(e,t,n,r){if(n<0||r<0||n<=0&&r<=0){let o=Object.freeze({x:e,y:t});return Object.freeze([o,o,o,o])}return Object.freeze([Object.freeze({x:e,y:t}),Object.freeze({x:e+n,y:t}),Object.freeze({x:e+n,y:t+r}),Object.freeze({x:e,y:t+r})])}function lG(e,t,n){if(!e||!eG.has(e))return null;if(t<=0||n<=0)return bu(0,0,Math.max(0,t),Math.max(0,n));if(e==="rect")return bu(0,0,t,n);if(e==="ellipse"){let l=[],s=t/2,d=n/2,c=t/2,u=n/2,f=Math.min(JV,wn);for(let m=0;m<f;m+=1){let g=m/f*Math.PI*2;l.push(Object.freeze({x:s+c*Math.cos(g),y:d+u*Math.sin(g)}));}return Object.freeze(l)}let r=Math.min(t,n)*QV,o=Math.max(0,r),a=t,i=n;return Object.freeze([Object.freeze({x:o,y:0}),Object.freeze({x:a-o,y:0}),Object.freeze({x:a,y:o}),Object.freeze({x:a,y:i-o}),Object.freeze({x:a-o,y:i}),Object.freeze({x:o,y:i}),Object.freeze({x:0,y:i-o}),Object.freeze({x:0,y:o})])}function Qs(e){return Object.freeze({x:xe(e.x),y:xe(e.y)})}function sG(e,t){if(e.length===0)return Object.freeze([]);let n=t.x+t.width,r=t.y+t.height,o=(i,l,s)=>{if(i.length===0)return Object.freeze([]);let d=[],c=Math.min(i.length,wn);for(let u=0;u<c;u+=1){let f=Qs(i[u]),m=Qs(i[(u+1)%c]),g=l(f),p=l(m);if(g&&p?d.push(m):g&&!p?d.push(Qs(s(f,m))):!g&&p&&(d.push(Qs(s(f,m))),d.push(m)),d.length>=wn)break}return Object.freeze(d.slice(0,wn))},a=e.slice(0,wn).map(Qs);return a=[...o(a,i=>i.x>=t.x,(i,l)=>{let s=l.x-i.x,d=Math.abs(s)>1e-6?(t.x-i.x)/s:0;return Object.freeze({x:t.x,y:xe(i.y+d*(l.y-i.y))})})],a=[...o(a,i=>i.x<=n,(i,l)=>{let s=l.x-i.x,d=Math.abs(s)>1e-6?(n-i.x)/s:0;return Object.freeze({x:n,y:xe(i.y+d*(l.y-i.y))})})],a=[...o(a,i=>i.y>=t.y,(i,l)=>{let s=l.y-i.y,d=Math.abs(s)>1e-6?(t.y-i.y)/s:0;return Object.freeze({x:xe(i.x+d*(l.x-i.x)),y:t.y})})],a=[...o(a,i=>i.y<=r,(i,l)=>{let s=l.y-i.y,d=Math.abs(s)>1e-6?(r-i.y)/s:0;return Object.freeze({x:xe(i.x+d*(l.x-i.x)),y:r})})],Object.freeze(a)}function dG(e){let t=Yv(e);return Object.freeze({x:t.x,y:t.y,width:t.width,height:t.height})}function _p(e,t){let n=Pl(e.paintBounds,t),r=n.width>0&&n.height>0?n:Object.freeze({...n}),o=a=>{if(!a||a.length===0)return a;let i=sG(a,t);return i.length>=3?Object.freeze(i.map(Qs)):Object.freeze([])};return Object.freeze({...e,paintBounds:n,hitBounds:r,transformedCorners:Object.freeze(o(e.transformedCorners)??e.transformedCorners),clipPolygon:o(e.clipPolygon)})}function hx(e){let t=Math.max(0,xe(e.extentWidth)),n=Math.max(0,xe(e.extentHeight)),r=xe(e.anchorX),o=xe(e.anchorY),a=nG(e.crop),i=rG(e.effectExtentEmu),l=Np(e.transform,t,n),s=Object.freeze({x:r,y:o,width:t,height:n}),d={sourceWidth:l.width,sourceHeight:l.height,offsetX:l.offsetX,offsetY:l.offsetY,crop:a,transform:e.transform,layoutWidth:t,layoutHeight:n,anchorX:r,anchorY:o},c=yx(d),u=Object.freeze({left:0,top:0,right:0,bottom:0}),f=Dp({points:bu(0,0,l.width,l.height),...d,crop:u,mapping:c}),m=lG(e.presetGeometry,l.width,l.height),g="none",p=m;p||(g=e.presetGeometry?"unsupported-preset":"none",p=bu(0,0,l.width,l.height));let h=Dp({points:p,...d,crop:u,mapping:c}),y=dG(h.length>=3?h:f),b=qs(y,i);return Object.freeze({contentBounds:s,paintBounds:b,hitBounds:b,transformedCorners:f,imageTransformCorners:f,clipPolygon:h.length>=3?h:f,clipFallback:g,effectInsets:i})}function ci(e){let t=e.projection.picture,n=Object.freeze({rotationDegrees:0,flipHorizontal:false,flipVertical:false,offsetEmu:Object.freeze({x:0,y:0}),extentEmu:Object.freeze({cx:0,cy:0})}),r=e.projection.groupPicture;if(r){let o=hx({extentWidth:e.extentWidth,extentHeight:e.extentHeight,anchorX:e.anchorX,anchorY:e.anchorY,effectExtentEmu:e.projection.effectExtentEmu,crop:{left:0,top:0,right:0,bottom:0},transform:n,presetGeometry:null}),a=e.projection.extentEmu,i=a.cx>0?e.extentWidth/a.cx:0,l=a.cy>0?e.extentHeight/a.cy:0,s=r.frameEmu,d=hx({extentWidth:s.cx*i,extentHeight:s.cy*l,anchorX:e.anchorX+s.x*i,anchorY:e.anchorY+s.y*l,effectExtentEmu:{top:0,right:0,bottom:0,left:0},crop:r.crop,transform:n,presetGeometry:null});return Object.freeze({...o,imageTransformCorners:d.transformedCorners})}return hx({extentWidth:e.extentWidth,extentHeight:e.extentHeight,anchorX:e.anchorX,anchorY:e.anchorY,effectExtentEmu:e.projection.effectExtentEmu,crop:t?.crop??{left:0,top:0,right:0,bottom:0},transform:t?.transform??n,presetGeometry:t?.presetGeometry??null})}function cG(e){let{transform:t,contentWidth:n,contentHeight:r}=e;if(n<=0||r<=0)return null;let o=Np(t,n,r),a=o.width,i=o.height,l=yx({sourceWidth:a,sourceHeight:i,offsetX:o.offsetX,offsetY:o.offsetY,transform:t,layoutWidth:n,layoutHeight:r,anchorX:0,anchorY:0}),s=xe(t.rotationDegrees),d=Math.abs(s%360)>1e-4,c=t.flipHorizontal?-1:1,u=t.flipVertical?-1:1,f=l.scaleX,m=l.scaleY,g=a>0?a/n:1,p=i>0?i/r:1;if(!d&&c===1&&u===1&&Math.abs(f-1)<1e-4&&Math.abs(m-1)<1e-4&&Math.abs(o.offsetX)<1e-4&&Math.abs(o.offsetY)<1e-4&&Math.abs(g-1)<1e-4&&Math.abs(p-1)<1e-4)return null;let y=s*Math.PI/180,b=Math.cos(y),x=Math.sin(y),R=o.offsetX+a/2,P=o.offsetY+i/2,S=f*b*c,w=-f*x*u,I=m*x*c,v=m*b*u,O=f*(R-b*c*(a/2)+x*u*(i/2)-l.bboxX),T=m*(P-x*c*(a/2)-b*u*(i/2)-l.bboxY);return Object.freeze({a:xe(S*g),b:xe(I*g),c:xe(w*p),d:xe(v*p),e:xe(O),f:xe(T)})}function M7(e){let t=cG(e);if(t)return `matrix(${Js(t.a)}, ${Js(t.b)}, ${Js(t.c)}, ${Js(t.d)}, ${Js(t.e)}, ${Js(t.f)})`}function Js(e){return Number.isFinite(e)?String(e):"0"}function Hp(e,t){if(t?.extentWidth===void 0)return e;let n=Math.round(t.extentWidth*12700);return n===e.extentEmu.cx?e:Object.freeze({...e,extentEmu:Object.freeze({...e.extentEmu,cx:n})})}var Zv=new WeakMap;function qv(e,t){Zv.set(e,t);}function jp(e){return !!(e.drawings.length||e.wrapSegment||e.exclusionSkipBefore||e.anchorClearanceBefore||e.pageBreakAfter||e.columnBreakAfter||e.manualBreakAfter||e.spaceShrink||e.deletedRanges?.length||e.anchorRevisions?.length||e.changeSites?.length)}var uG=/^[A-Za-z0-9 .,:;()%+/-]+$/,Xv=new WeakMap;function fG(e){let t=Xv.get(e);return t===void 0&&(t=!jp(e)&&e.spans.length>0&&!e.spans[e.spans.length-1].text.endsWith(" ")&&e.spans.every(n=>uG.test(n.text)&&n.box.width>=0&&n.style.shaping?.direction!=="rtl"&&!n.lineEndWhitespace&&!n.optionalHyphenBreak&&!n.tabLeader&&!n.glyphOffsetPt&&!n.noteSeparator),Xv.set(e,t)),t}var bx=5e-4;function xx(e,t){return fG(e)&&e.width+Math.max(0,e.firstLineOffset??0)<=t+bx}function Jv(e,t,n,r){return Zv.get(e)?.(t,n,o=>{let a=o;return Array.isArray(a)&&a.length===1&&xx(a[0],r)})}var Wp=class{entries=new Map;head;tail;weight=0;get size(){return this.entries.size}get bytes(){return this.weight}get(t,n=false){return this.entry(t,n)?.value}entry(t,n=false){let r=this.entries.get(t);return r&&n&&r!==this.tail&&(this.unlink(r),this.linkTail(r)),r}set(t,n,r=0,o=0){let a=this.entries.get(t);if(a){this.weight+=r-a.bytes,a.value=n,a.bytes=r,a.touched=o,a!==this.tail&&(this.unlink(a),this.linkTail(a));return}let i={key:t,value:n,bytes:r,touched:o,named:-1};this.entries.set(t,i),this.weight+=r,this.linkTail(i);}delete(t){let n=this.entries.get(t);return n?(this.unlink(n),this.weight-=n.bytes,this.entries.delete(t)):false}clear(){this.entries.clear(),this.head=this.tail=void 0,this.weight=0;}oldest(){return this.head}*fromOldest(){let t=this.head;for(;t;){let n=t.next;yield t,t=n;}}*keys(){for(let t of this.entries.keys())yield t;}*values(){for(let t of this.entries.values())yield t.value;}*[Symbol.iterator](){for(let[t,n]of this.entries)yield [t,n.value];}unlink(t){t.previous?t.previous.next=t.next:this.head=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous,t.previous=t.next=void 0;}linkTail(t){t.previous=this.tail,this.tail?this.tail.next=t:this.head=t,this.tail=t;}};var Qv=e=>typeof e=="object"&&e!==null,eF=e=>24+e.length*2,zp=e=>Array.isArray(e)?32+e.length*8:0;function mG(e){return Qv(e)?160+(typeof e.text=="string"?eF(e.text):0)+zp(e.caretEdges):8}function pG(e){if(!Qv(e))return 8;let t=224+zp(e.deletedRanges)+zp(e.anchorRevisions)+zp(e.changeSites),{spans:n,drawings:r}=e;if(Array.isArray(n))for(let o of n)t+=mG(o);return Array.isArray(r)&&(t+=r.length*480),t}function tF(e,t){let n=160+eF(e);if(!Array.isArray(t))return n;for(let r of t)n+=pG(r);return n}var rF=new WeakMap,nF=new WeakMap;function oF(e,t){rF.set(e,t);}function ui(e){if(!e)return;let t=rF.get(e);if(!t)return;let n=nF.get(e);if(!n){let r=e.keyFor?.bind(e);n=Object.freeze({retainAcrossPasses:false,...r?{keyFor:r}:{},get:o=>t(o),set:()=>{},retain:()=>{},clear:()=>{},stats:Object.freeze({hits:0,misses:0,evictions:0,size:0})}),nF.set(e,n);}return n}var gG=new WeakMap;function aF(e,t){gG.set(e,t);}function de(e){let t="";for(let n of e)t+=`${n.length}:${n}`;return t}var Vp=new WeakMap;function Sx(e,t){if(t.length===0)return;let n=e[e.length-1];n&&n.length<64&&t.length<64?e[e.length-1]=n.concat(t):e.push(t);}function iF(e,t){if(t.length<=512){Sx(e,t);return}for(let n=0;n<t.length;n+=512)Sx(e,t.slice(n,n+512));}function kl(e,t){let n=[];iF(n,t),Vp.set(e,n);}function lF(e,t,n,r){let o=[];for(let a of Vp.get(t)??[]){let i;for(let l=0;l<a.length;l+=1){let s=a[l];n.has(s)?i??=a.slice(0,l):i?.push(s);}Sx(o,i??a);}iF(o,Array.from(r)),Vp.set(e,o);}function sF(e){return Vp.get(e)}function Px(){let e=[];return {begin(){e.push([]);},add(t){e.at(-1)?.push(t);},keys(){let t=e.at(-1);if(!t)throw new Error("No active table break-key collector");return t},end(){e.pop();}}}var Tl=hG__default.default();function Gp(e){for(let t=0;t<e.length;t++){let n=e[t],r=n.style.shaping;if(r&&(r.level!==0||r.direction!=="ltr"||r.runDirection==="rtl"))return false;if(t>0){let o=e[t-1];if(n.box.x!==o.box.x+o.box.width)return false}}return true}var dF=new chunkFIJZIQXA_cjs.mf;function Kp(e){let t=dF.get(e);if(t)return t;let n=new Map;for(let r of chunkFIJZIQXA_cjs.Rf(e)){if(r.beginParagraphId===r.endParagraphId)continue;let o=chunkFIJZIQXA_cjs.Qf(r);if(o)for(let a of new Set([r.beginParagraphId,...r.resultParagraphIds,r.endParagraphId])){let i=chunkFIJZIQXA_cjs.Ta(e,a);if(i?.kind!=="paragraph")continue;let l=chunkFIJZIQXA_cjs.jg(i),s=a===r.beginParagraphId,d=s?l.spanOf(r.beginNodeId)?.start??0:0,c=a===r.endParagraphId?l.spanOf(o.endNodeId)?.end??l.length:l.length,u={start:d,end:c,...s?{code:`{ ${r.instruction.raw} }`,sourceNodeId:r.beginNodeId}:{},suppressParagraph:!s&&d===0&&c===l.length},f=n.get(a);f?f.push(u):n.set(a,[u]);}}return dF.set(e,n),n}var ed=new WeakMap;function uF(e,t){ed.set(e,t);}function er(e){return ed.get(e)}function Rx(e,t){let n=ed.get(e);if(!n)return t?.get(e.id);let r=[];for(let o of n)for(let a of t?.get(o.paragraph.id)??[])r.push({...a,start:a.start+o.base,end:a.end+o.base});return r.length?r:void 0}function xu(e,t){if(!t)return "";let n=ed.get(e);if(!n)return t(e);let r=n.map(o=>t(o.paragraph));return r.some(Boolean)?de(r):""}var cF=new WeakMap;function fF(e){let t=cF.get(e);if(t)return t;if(!e.some(r=>ed.has(r)))return e;let n=[];for(let r of e){let o=ed.get(r);if(o)for(let a of o)n.push(a.paragraph);else n.push(r);}return cF.set(e,n),n}function wx(e){return chunkJGNVNT2A_cjs.L(e).paragraph?chunkJGNVNT2A_cjs.J:[]}var pF=new WeakMap,mF=new WeakMap;function $p(e,t){return t&&pF.set(e,t),e}function Su(e){return e?pF.get(e):void 0}function gF(e){let t=Su(e);if(!t)return "";let n=mF.get(t);return n||(n=chunkJGNVNT2A_cjs.y(chunkFIJZIQXA_cjs.Ca(t)),mF.set(t,n)),n}function hF(e,t,n,r,o,a,i){if(!e?.inTableCell||t||n||r!==0)return false;let l=bl(o,a,Number.POSITIVE_INFINITY);return l.alignment==="left"&&l.positionPt>i}function yF(e,t,n,r,o,a,i){let l=bl(e,t,r);return i===null?l.alignment==="left"?bl(e,t,n):l:Number.isFinite(i.positionPt)&&i.positionPt>o?i:{...bl(e,o,a),...i.leader?{leader:i.leader}:{}}}function bF(e,t){if(!e?.inTableCell)return;let n=false;for(let r of t)for(let o=0;o<r.text.length;o+=1){let a=r.text[o]===" ";if(a&&n)return;n=a;}return e}function vl(e){return e.positionalTab||e.measureText!==void 0||e.inlineDrawing||e.anchoredAtom||e.equation||e.noteSeparator||e.fieldAtom?false:e.projected?e.noteNav?.direction==="to-note"&&e.end-e.start===1&&e.text.length>0&&!/\s/u.test(e.text):e.end-e.start===e.text.length}function xF(e,t){let n=new Map,r=(o,a)=>vl(o)&&vl(a)&&a.text.length>0&&Xs(o.text,a.text,false)==="continues";return (o,a)=>{let i=e[o],l=e[o+1];if(a!==i.text.length||!l||!r(i,l))return;let s=o+1;if(n.has(s))return n.get(s);let d=[],c;for(let u=s;u<e.length;u+=1){if(n.has(u)){c=n.get(u);break}let f=e[u],m=f.text.search(/\s/u),g=m<0?f.text:f.text.slice(0,m);if(!vl(f)||!/^[\p{Script=Latin}\p{N}\p{P}]+$/u.test(g)||eo(g,true).length!==1){n.set(u,void 0);break}if(d.push({index:u,width:rt(g,Be(f.style,f.fontSlot),t)}),m>=0){c=f.text[m]===" "?0:void 0;break}let p=e[u+1];if(!p){c=0;break}if(vl(p)&&p.text.startsWith(" ")){c=0;break}if(!r(f,p))break}for(let u=d.length-1;u>=0;u-=1){let f=d[u];c!==void 0&&(c+=f.width),n.set(f.index,c);}return n.get(s)}}function SF(e,t){if(t<=0||e.drawings.length>0)return false;for(let n=0;n<t;n+=1){let r=e.spans[n];if(r.text!==" "||r.projected||r.fieldAtom||r.noteNav)return false}return true}var yG=/[^ \t\n\r\f\v\uFFFC]/u;function PF(e,t,n){let r=e.baseline,o=e.height-e.baseline;for(let i of e.spans){if(i.style.verticalAlign==="baseline"||!yG.test(i.text))continue;let l={...i.style,verticalAlign:t},s=n.lineMetrics(Be(l,i.fontSlot),Br(i,i.text));r=Math.max(r,s.baseline),o=Math.max(o,s.height-s.baseline);}let a=r-e.baseline;return e.baseline=r,e.height=r+o,a}function bG(e,t,n,r,o){if(t.rule!=="auto"||t.gridPitch!==void 0||t.value<=240)return e;let a=r.filter(d=>d.text&&!Pu(d.text));if(!a.some(d=>d.style.baselineShiftPt))return e;let i=0,l=0;for(let d of a){let c={...d.style,baselineShiftPt:0},u=o.lineMetrics(Be(c,d.fontSlot),Br(d,d.text));i=Math.max(i,u.baseline),l=Math.max(l,u.height-u.baseline);}let s=Math.min(n,i+l);return s>0?{...e,height:n+s*(t.value/240-1)}:e}function RF(e,t,n,r,o){let a=ma(e,t,n);return bG(a,e,t,r,o)}var xG=128,SG=/[\u0000-\u001F\u007F-\u009F]/,PG=32;function ro(e){return e.kind!=="textValue"}function to(e,t){return e.attributes.find(n=>n.localName===t)?.value}function no(e,t){for(let n of e.children)if(ro(n)&&n.localName===t)return n}function ba(e){return e===void 0||e.length===0||e.length>xG?false:!SG.test(e)&&!chunkFIJZIQXA_cjs.N(e)}function RG(e){return e==="1"||e==="true"||e==="on"}function td(e){if(e){for(let t of e.children)if(ro(t)&&(t.kind==="runProperties"||t.localName==="rPr"))return t}}function xa(e){if(e){for(let t of e.children)if(ro(t)&&(t.kind==="paragraphProperties"||t.localName==="pPr"))return t}}var wF=new Set(["rPrChange","pPrChange","ins","del","moveFrom","moveTo"]);function Fl(e){return e.some(t=>wF.has(t.localName))?e.filter(t=>!wF.has(t.localName)):e}function kF(e){let t=no(e,"docDefaults");if(!t)return {run:[],paragraph:[],paragraphNode:void 0};let n=td(no(t,"rPrDefault")),r=xa(no(t,"pPrDefault"));return {run:Fl($e(n)),paragraph:Fl($e(r)),paragraphNode:r}}function TF(e){let t=to(e,"styleId");if(!ba(t))return null;let n=to(e,"type")??"",r=no(e,"name"),o=r?to(r,"val"):void 0,a=no(e,"basedOn"),i=a?to(a,"val"):void 0,l=ba(i)?i:null,s=no(e,"next"),d=s?to(s,"val"):void 0,c=ba(d)?d:null,u=xa(e),f=td(e),m=new Map,g=0;for(let p of e.children){if(p.kind==="textValue"||p.localName!=="tblStylePr")continue;if(g>=PG)break;g+=1;let h=to(p,"type");h&&!m.has(h)&&m.set(h,p);}return {styleId:t,name:o&&o.length<=128?o:void 0,type:n,basedOn:l,next:c,outlineLevel:chunkO2AL2HSJ_cjs.a(e),isDefault:RG(to(e,"default")),paragraphProperties:Fl($e(u)),runProperties:Fl($e(f)),paragraphPropertiesNode:u,tablePropertiesNode:no(e,"tblPr"),tableRowPropertiesNode:no(e,"trPr"),tableCellPropertiesNode:no(e,"tcPr"),conditionalTableFormats:m}}var Up=32;function fi(e,t){let n=null;for(let r of e){if(r.localName!==t)continue;let o=r.attributes?.val;n=ba(o)?o:null;}return n}function Sa(e,t,n){let r=e.styles.get(t);if(!r||r.type!==n)return [];let o=[],a=new Set,i=t,l=0;for(;i!==null&&l<Up&&!(a.has(i)||!ba(i));){a.add(i);let s=e.styles.get(i);if(!s)break;o.push(s),i=s.basedOn,l+=1;}return o.reverse()}var vF=new WeakMap;function FF(e,t,n,r){if(n.length===0)return r(t);let o=r(ii([{properties:t,role:"carried",emit:true},{properties:n,role:"direct",emit:true}])),a=fi(n,"rStyle"),i=a?Sa(e,a,"character").flatMap(s=>s.runProperties):[];if(i.length===0)return o;let l=r(ii([{properties:t,role:"carried",emit:true},{properties:i,role:"xor",emit:true},{properties:n,role:"direct",emit:true}]));return vF.set(l,o),l}function Yp(e){return vF.get(e)??e}var mi=e=>({...e.revisions===void 0?{}:{revisions:e.revisions},...e.changeSites===void 0?{}:{changeSites:e.changeSites},...e.fieldAtom===void 0?{}:{fieldAtom:e.fieldAtom},...e.noteSeparator?{noteSeparator:e.noteSeparator}:{}});function Xp(e,t){if(!e.style.shaping&&!/^[\p{Script=Latin}\p{N}\p{P} ]*$/u.test(e.text)||e.lineEndWhitespace||!/^[^\s]* $/u.test(e.text)||e.equation)return 0;let n=Be(e.style,e.fontSlot),r=Math.max(0,e.box.width-rt(e.text.slice(0,-1),n,t)),o=r*.75;return r-o}function OF(e,t,n,r,o,a,i=e.length,l=o,s=false,d=0){let c=/^[^\s]+ $/u.test(t);if(!(c||s&&/^[^\s]+$/u.test(t))||e.some(R=>R.text.includes(" ")||R.wrapAdvanceBefore||R.equation))return false;let u=rt(c?t.slice(0,-1):t,n,r),f=o+u+d-a,m=e.reduce((R,P)=>R+Xp(P,r),0);if(f<=0||f>m+.001)return false;let g=m*4,p=e.slice(0,Math.max(0,Math.min(i,e.length))),h=p.length?Xp(p[p.length-1],r)*4:0,y=p.reduce((R,P)=>R+Xp(P,r)*4,0)-h;if(y<=0)return false;let b=1+Math.max(0,a-l+h)/y,x=g/(g-f);return b>1.5||1+(b-1)/1.7>=x}function CF(e){let t=0,n=0;for(let r=e.length-1;r>=0;r-=1){let o=e[r];if(!vl(o)){t=r+1;break}let a=o.text.length;for(;a>0&&o.text[a-1]===" ";)a-=1;if(a>0){t=r,n=a;break}}return (r,o)=>r>t||r===t&&o>=n}function IF(e){return e!==void 0&&e.text[0]===" "&&!e.projected&&!e.positionalTab&&e.measureText===void 0&&e.end-e.start===e.text.length}function MF(e,t,n,r=e.length-1){let o=e.map((s,d)=>d<r?Xp(s,n):0);if(t<=0||t>o.reduce((s,d)=>s+d,0)+.001)return e;let a=o.map(()=>0),i=t;for(let s=0;s<o.length&&i>.001;s++){let d=o.map((u,f)=>u-a[f]>.001?f:-1).filter(u=>u>=0);if(!d.length)break;let c=i/d.length;for(let u of d){let f=Math.min(c,o[u]-a[u]);a[u]+=f,i-=f;}}let l=0;return e.map((s,d)=>{let c=a[d],u=l||c?{...s,box:{...s.box,x:s.box.x-l,width:s.box.width-c},...c?{style:{...s.style,shaping:{script:"Latn",direction:"ltr",level:0,baseLevel:0,...s.style.shaping,wordSpacingPt:(s.style.shaping?.wordSpacingPt??0)-c}}}:{}}:s;return l+=c,u})}var BF=new chunkFIJZIQXA_cjs.mf;function EF(e){let t=BF.get(e);if(t)return t;let n=new Map;for(let r of chunkFIJZIQXA_cjs.Rf(e)){let o=chunkFIJZIQXA_cjs.Qf(r);if(o)for(let a of new Set([o.separateParagraphId,...r.resultParagraphIds,r.endParagraphId])){let i=chunkFIJZIQXA_cjs.Ta(e,a);if(i?.kind!=="paragraph")continue;let l=chunkFIJZIQXA_cjs.jg(i),s=r.beginParagraphId===r.endParagraphId?l.spanOf(r.beginNodeId):void 0,d=s?.start??(a===o.separateParagraphId?l.spanOf(o.separateNodeId)?.end:0),c=s?.end??(a===r.endParagraphId?l.spanOf(o.endNodeId)?.start:l.length);if(d===void 0||c===void 0||c<=d)continue;let u=n.get(a)??[];u.push({start:d,end:c}),n.set(a,u);}}return BF.set(e,n),n}function AF(e,t,n){return !e||!t?.length?e:(r,o)=>e(r,t.some(a=>n()>=a.start&&n()<a.end)?o.filter(a=>!(a.localName==="rStyle"&&a.attributes?.val==="Hyperlink")):o)}var LF=new WeakMap;function NF(e){if(e.size===0)return "";let t=LF.get(e);if(t!==void 0)return t;let n=[];for(let[o,a]of e)n.push(o,a.map(i=>`${i.start},${i.end}`).join(";"));let r=chunkJGNVNT2A_cjs.z(de(n));return LF.set(e,r),r}function Zp(e){return /^[\u061c\u200e\u200f\u202a-\u202e\u2066-\u2069]+$/u.test(e)}function wG(e){let t="",n=[];for(let r of e){let o=n.every(Boolean);if(chunkFIJZIQXA_cjs.sf(r,"begin")){if(n.length>=chunkFIJZIQXA_cjs.Gf)return null;o&&(t+="{"),n.push(true);}else if(chunkFIJZIQXA_cjs.sf(r,"separate"))n.length&&(n[n.length-1]=false);else if(chunkFIJZIQXA_cjs.sf(r,"end"))n.pop(),n.every(Boolean)&&(t+="}");else if(o&&chunkFIJZIQXA_cjs.vf(r))t+=`{${chunkFIJZIQXA_cjs.xf(r)??""}}`;else if(o&&chunkFIJZIQXA_cjs.tf(r)&&r.kind!=="textValue")for(let a of r.children)a.kind==="textValue"&&(t+=a.value);if(t.length>chunkFIJZIQXA_cjs.Ff)return null}return t||null}function DF(e,t,n,r,o,a,i,l=[]){if(e.kind!=="paragraph")return [...t];let s=chunkFIJZIQXA_cjs.Hf(e);if(s.length===0&&l.length===0)return [...t];let d=[];if(!chunkFIJZIQXA_cjs.Ef(e,d,{left:4096}))return [...t];let c=chunkFIJZIQXA_cjs.jg(e),u=new Map,f=new Map,m=(p,h,y)=>{if(p.kind==="textValue"||y>64)return;let b=Cn(p)?Jn(h,_n(p)):h;f.set(p.id,b),p.kind==="run"&&u.set(p.id,p);for(let x of p.children)m(x,b,y+1);};m(e,[],0);let g=[...t];for(let p of s){let h=new Set(p.removeNodeIds),y=d.filter(T=>h.has(T.node.id)&&Ye(f.get(T.node.id)??[],a,i)).map(T=>T.node),b=wG(y),x=c.spanOf(p.node);if(!b||!x)continue;let R=p.addressing==="atomic"?x.start+1:x.end;if(p.addressing!=="atomic")for(let T of y)R=Math.max(R,c.spanOf(T)?.end??R);let P=t.find(T=>T.start>=x.start&&T.end<=R&&T.fieldAtom),S=f.get(p.node.id)??[];if(!Ye(S,a,i))continue;let w=u.get(p.formatRunIds[0]??p.runId),I=P?.props??(w?ya(w,n,r):n),v=P?.style??je(I,o);if(v.hidden)continue;let O={text:b,props:I,style:v,start:x.start,end:R,projected:true,fieldAtom:{formField:false},...S.length?{revisions:S}:{}};g=g.filter(T=>!(T.start>=x.start&&T.end<=R&&(T.end>T.start||T.fieldAtom))),g.push(O);}for(let p of l)if(g=g.filter(h=>h.end<=p.start||h.start>=p.end),p.code){let h=p.sourceNodeId?f.get(p.sourceNodeId)??[]:[];if(!Ye(h,a,i))continue;let y=d.find(P=>P.node.id===p.sourceNodeId),b=y&&u.get(y.runId),x=b?ya(b,n,r):n,R=je(x,o);if(R.hidden)continue;g.push({text:p.code,props:x,style:R,...h.length?{revisions:h}:{},start:p.start,end:p.end,projected:true,fieldAtom:{formField:false}});}return g.sort((p,h)=>p.start-h.start)}var kG=["ascii","asciiTheme","hAnsi","hAnsiTheme"];function _F(e,t){let n=(t?chunkJGNVNT2A_cjs.Aa(e?.hAnsiTheme,t):null)??e?.hAnsi;return n&&n.length<=128?n:void 0}function TG(e,t){let n,r,o=false,a=false;for(let i of e){let l=i.attributes;if(i.localName===Hs){r=_F(l,t)??r;continue}i.localName==="rFonts"&&(o||=kG.some(s=>l?.[s]!==void 0),!(l?.hAnsi===void 0&&l?.hAnsiTheme===void 0)&&(a=true,n=_F(l,t)??n));}return n??(o&&!a?r:void 0)}function vG(e,t){return !(e<128||e>65535||e>=1424&&e<=1983||e>=64285&&e<=65023||e>=65136&&e<=65278||e>=4352&&e<=4607||e>=12032&&e<=12255||e>=12272&&e<=19903||e>=19968&&e<=40959||e>=40960&&e<=42191||e>=44032&&e<=57343||e>=63744&&e<=64255||e>=65072&&e<=65135||e>=65280&&e<=65519||t&&($b(e)||e>=688&&e<=975||e>=1024&&e<=1279||e>=8192&&e<=10175||e>=11904&&e<=12031||e>=57344&&e<=63743||e>=64256&&e<=64284))}function HF(e,t){let n=d=>!d.style.latinLane&&d.fontSlot!=="eastAsia"&&!chunkFIJZIQXA_cjs.b(d.style.fontFamily)&&!d.positionalTab&&!d.breakKind&&!d.inlineDrawing&&!d.anchoredAtom&&!d.equation;if(!e.some(d=>n(d)&&/[^\u0000-\u007f]/.test(d.text)))return e;let r=0,o=[],a=e.map(d=>{let c=n(d),u=c&&d.text?d.text:"\0",f=r;return r+=u.length,o.push(u),{from:f,to:r,eligible:c,family:TG(d.props,t),hint:ip(d.props)}});if(!a.some(d=>d.eligible&&d.family)||!a.some((d,c)=>d.eligible&&d.family&&(d.family!==e[c].style.fontFamily||c>0&&/^[\p{Mark}\u200d]/u.test(e[c].text))))return e;let i=e.map(()=>[]),l=0;for(let d of bt(o.join(""))){for(;l<a.length&&a[l].to<=d.utf16From;)l++;let c=a[l];if(!c||!c.eligible)continue;let u=vG(d.text.codePointAt(0),c.hint)?c.family:void 0;for(let f=l;f<a.length&&a[f].from<d.utf16To;f++){let m=a[f];if(!m.eligible)continue;let g=Math.max(d.utf16From,m.from)-m.from,p=Math.min(d.utf16To,m.to)-m.from,h=i[f],y=h.at(-1);y&&y.family===u&&y.to===g?y.to=p:h.push({from:g,to:p,family:u});}}let s;for(let d=0;d<e.length;d++){let c=e[d],u=i[d],f=!c.projected&&!c.fieldAtom&&!c.noteNav&&c.measureText===void 0&&c.end-c.start===c.text.length,m=c.projected===true&&c.fieldAtom!=null&&!c.noteNav&&c.measureText===void 0;if(!u.some(g=>g.family&&g.family!==c.style.fontFamily)||!f&&!m&&u.length!==1){s?.push(c);continue}if(s??=e.slice(0,d),!f&&!m){s.push({...c,style:ml(c.style,u[0].family),fontSlot:"hAnsi"});continue}for(let g of u)s.push({...c,text:c.text.slice(g.from,g.to),...f?{start:c.start+g.from,end:c.start+g.to}:{},...g.family?{style:ml(c.style,g.family),fontSlot:"hAnsi"}:{}});}return s??e}function kx(e,t,n){let r=n.showFieldCodes?DF(e,t,n.inheritedRunProperties,n.cascadeRuns,n.themeFonts,n.displayMode,n.authorFilter,n.fieldCodeRanges):n.projectMarkup===false?t:Av(t,e,n.displayMode,n.authorFilter,n.changeSites);return HF(Lv(r,n.themeFonts),n.themeFonts)}function qp(e,t){let n=Math.max(1,t.contentRight-t.contentLeft),r=Object.freeze({x:t.contentLeft,y:t.lineY,width:n,height:14}),o=t.cellBox!=null;return Ru(e,{pageNumber:1,pageWidth:t.contentRight+t.contentLeft+n,pageHeight:792,marginLeft:t.contentLeft,marginRight:0,marginBottom:0,contentInsetTop:0,contentInsetBottom:0,contentWidth:n,contentHeight:648,contentBandHeight:648,paragraphBox:r,anchorLineBox:r,anchorCharacterX:t.contentLeft,columnBox:r,cellBox:o?t.cellBox:null,layoutInCell:o,ownerPartName:t.ownerPartName,storyKind:"body",...t.frameBase})}function Fx(e,t){let n=e.sourceOrder??Number.MAX_SAFE_INTEGER,r=t.sourceOrder??Number.MAX_SAFE_INTEGER;return n!==r?n-r:e.drawingNodeId.localeCompare(t.drawingNodeId)}function vx(e,t){return e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}function wu(e,t,n){return Object.freeze({...e,x:e.x+t,y:e.y+n})}function Tx(e,t,n){return Object.freeze({x:e.x+t,y:e.y+n})}function ku(e,t,n){if(Math.abs(t)<=1e-4&&Math.abs(n)<=1e-4)return e;let r=e.geometry;return Object.freeze({...e,x:e.x+t,y:e.y+n,paintBounds:wu(e.paintBounds,t,n),hitBounds:wu(e.hitBounds,t,n),geometry:Object.freeze({...r,contentBounds:wu(r.contentBounds,t,n),paintBounds:wu(r.paintBounds,t,n),hitBounds:wu(r.hitBounds,t,n),transformedCorners:r.transformedCorners.map(o=>Tx(o,t,n)),...r.imageTransformCorners?{imageTransformCorners:r.imageTransformCorners.map(o=>Tx(o,t,n))}:{},clipPolygon:r.clipPolygon?r.clipPolygon.map(o=>Tx(o,t,n)):null})})}function Ox(e,t){return ku(e,0,t)}function FG(e,t,n,r){let o=e.paintBounds,a=t.paintBounds.x+t.paintBounds.width-o.x,i=t.paintBounds.x-(o.x+o.width);for(let l of [a,i]){let s=o.x+l;if(s<-1e-3||s+o.width>r+.001)continue;let d=ku(e,l,0);if(!n.some(c=>vx(c.paintBounds,d.paintBounds)))return d}return null}function jF(e,t){let n=t.maxAttempts??256,r=[...e].sort(Fx),o=[],a=[],i=[];for(let l of r){if(l.allowOverlap){o.push(l);continue}let s=l,d=0;for(;d<n;){let f=o.find(p=>vx(p.paintBounds,s.paintBounds));if(!f)break;let m=t.contentWidth===void 0?null:FG(s,f,o,t.contentWidth);if(m){s=m;break}let g=f.paintBounds.y+f.paintBounds.height-s.paintBounds.y+.001;s=Ox(s,g),d+=1;}let c=o.some(f=>vx(f.paintBounds,s.paintBounds)),u=s!==l&&s.paintBounds.y+s.paintBounds.height>t.contentHeight+.001;if(c||u){s.x!==l.x&&(s=ku(s,l.x-s.x,0)),a.push(s),i.push(s.drawingNodeId);continue}o.push(s);}return Object.freeze({drawings:Object.freeze(o),deferred:Object.freeze(a),deferredNodeIds:Object.freeze(i)})}var VF=8;function WF(e,t,n,r){return e<r-zF&&t>n+zF}var zF=.01;function oo(e,t,n,r=0){if(t<=0||n.length===0)return 0;let o=0;if(r>.001){let a=-1/0;for(let i of n){if(i.input.mode!=="topAndBottom"||i.sourceKind)continue;let l=i.verticalBand.y,s=l+i.verticalBand.height;WF(e-r,e+t,l,s)&&(a=Math.max(a,s));}a>-1/0&&(o=Math.max(0,a+r-e));}for(let a=0;a<VF;a+=1){let i=e+o,l=i+t,s=i,d=false;for(let u of n){if(u.input.mode!=="topAndBottom")continue;let f=u.verticalBand.y,m=f+u.verticalBand.height;WF(i,l,f,m)&&(d=true,s=Math.max(s,m));}if(!d)break;let c=s-e;if(c<=o+.001)break;o=c;}return o}function Cx(e,t,n,r){if(e=Math.max(0,e-(r.anchorClearanceBefore??0)),!n||e<=.001)return 0;let o=oo(t,n.box.height,r.inheritedZones,r.spaceAbove);return Math.max(0,e-o)}function GF(e,t){if(!t||t.align!==null||t.relativeFrom!=="paragraph"&&t.relativeFrom!=="line")return e;let n=Ir(t.offsetEmu??0);return n===null?e:e+n}function Ix(e,t,n,r){let o=oo(e,t,r.withOwn,n),a=oo(e,t,r.inherited,n);return Math.max(0,o-a)}var Bx=8,Ol=16,Do=class extends Error{name="DrawingExclusionConvergenceError";constructor(t="drawing exclusion reflow did not converge"){super(t);}};function nd(e){let t=e.furnitureSource;return t?`${t.partName}\0${t.kind}\0${t.nodeId}`:e.drawingNodeId}function OG(e,t){let n=Math.max(1,t.columnCount);if(n<=1)return 0;let r=e.x+e.width/2;if(t.columnLefts&&t.columnWidths&&t.columnLefts.length===n){for(let i=0;i<n;i+=1){let l=t.columnLefts[i],s=l+t.columnWidths[i];if(r>=l-.001&&r<s+.001)return i}return n-1}let o=t.columnGapPt,a=(t.contentWidth-o*(n-1))/n;for(let i=0;i<n;i+=1){let l=i*(a+o),s=l+a;if(r>=l-.001&&r<s+.001)return i}return n-1}function Mx(e){return e.behindDocument?"behind":"inFront"}function Jp(e){return e!=="inline"&&e!=="behind"&&e!=="inFront"}function CG(e){switch(e){case "inline":case "behind":case "inFront":return null;case "square":case "squareLeft":case "squareRight":return "square";case "tight":return "tight";case "through":return "through";case "topAndBottom":return "topAndBottom";default:return null}}function IG(e){return e==="squareLeft"?"left":e==="squareRight"?"right":"bothSides"}function Tu(e){let t=CG(e.projection.wrap);if(!t||!e.projection.wrapGeometry)return null;let n=e.projection.wrapGeometry,r=Object.freeze({x:e.anchorX,y:e.anchorY,width:e.geometry.contentBounds.width,height:e.geometry.contentBounds.height});return Gv({mode:t,contentBounds:r,geometry:e.geometry,wrapDistancesEmu:n.distancesEmu,polygonEmu:n.polygon,crop:e.projection.picture?.crop??{},transform:e.projection.picture?.transform??{rotationDegrees:0,flipHorizontal:false,flipVertical:false,offsetEmu:{x:0,y:0},extentEmu:{cx:0,cy:0}},extentWidthPt:e.geometry.contentBounds.width,extentHeightPt:e.geometry.contentBounds.height,textSide:t==="square"?IG(e.projection.wrap):n.textSide,contentLeft:e.contentLeft,contentRight:e.contentRight})}function Cl(e){if(e.mode==="topAndBottom"||e.mode==="square")return yu(e.contentBounds,e.effectInsets,e.wrapDistances);let t=[e.contentBounds.y,e.contentBounds.y+e.contentBounds.height];if(e.polygon)for(let o of e.polygon)t.push(o.y);let n=Math.min(...t)-e.effectInsets.top-e.wrapDistances.top,r=Math.max(...t)+e.effectInsets.bottom+e.wrapDistances.bottom;return Object.freeze({x:e.contentLeft,y:n,width:Math.max(0,e.contentRight-e.contentLeft),height:Math.max(0,r-n)})}function Qp(e){return e!=="paragraph"&&e!=="line"}function vu(e){if(!Jp(e.drawing.wrap))return null;let t=e.yOverride??e.drawing.y,n=Tu({projection:e.projection,geometry:e.drawing.geometry,contentLeft:e.contentLeft,contentRight:e.contentRight,anchorX:e.drawing.x,anchorY:t});return n?Object.freeze({drawingNodeId:e.drawing.drawingNodeId,anchorParagraphId:e.drawing.anchorParagraphId,anchorModelStart:e.drawing.start,...Qp(e.drawing.verticalFrame)?{pageFramedBand:true}:{},sourceOrder:e.sourceOrder,paintLayer:Mx(e.drawing),relativeHeight:e.drawing.relativeHeight,allowOverlap:e.drawing.allowOverlap,columnIndex:e.columnIndex??0,y:t,verticalBand:Cl(n),input:n}):null}function MG(e,t){let n=Mx(e),r=Mx(t);return n!==r?n==="behind"?-1:1:e.relativeHeight!==t.relativeHeight?e.relativeHeight-t.relativeHeight:Fx(e,t)}function UF(e){return Object.freeze([...e].sort(MG))}function Er(e,t,n,r,o=0){let a=[{start:n,end:r}],i=false;for(let l of t){let s=l.verticalBand,d=l.input.mode==="square"&&o>0;if(e>=s.y+s.height||(d?e+o<=s.y+.001:e<s.y))continue;let c=d?Math.max(e,s.y):e,u=Vv(c,l.input);l.sourceKind==="table"&&!u.some(m=>m.start<=n&&m.end>=r)&&(i=true);let f=[];for(let m of a)for(let g of u){let p=Math.max(m.start,g.start),h=Math.min(m.end,g.end);h>p+1e-6&&f.push(Object.freeze({start:p,end:h}));}if(a=f,a.length===0)break}return i&&(a=a.filter(l=>l.end-l.start>18.001)),Object.freeze(a)}function YF(e,t){for(let n of t)if(e>=n.start-1e-6&&e<n.end-1e-6)return Math.max(0,n.end-e);return 0}function BG(e,t){for(let n of t)if(n.end>e+1e-6)return n;return null}function Fu(e,t){let n=BG(e,t);if(!n)return null;let r=Math.max(e,n.start),o=n.end-r;return o<=.001?null:Object.freeze({x:r,available:o})}function LG(e,t,n){let r=e.contentBounds;return Object.freeze({...e,contentBounds:Object.freeze({...r,x:r.x+t,y:r.y+n}),contentLeft:e.contentLeft+t,contentRight:e.contentRight+t,...e.polygon?{polygon:e.polygon.map(o=>Object.freeze({x:o.x+t,y:o.y+n}))}:{},...e.clipPolygon?{clipPolygon:e.clipPolygon.map(o=>Object.freeze({x:o.x+t,y:o.y+n}))}:{}})}function Lx(e,t){return Object.freeze({...e,layoutFallback:t})}function pi(e,t,n,r){return e.length===0?e:Object.freeze(e.map(o=>{let a=o.verticalBand,i=o.input;return Object.freeze({...o,y:o.y-n,verticalBand:Object.freeze({...a,x:a.x-t,y:a.y-n}),input:Object.freeze({...LG(i,-t,-n),contentLeft:r?.left??i.contentLeft-t,contentRight:r?.right??i.contentRight-t})})}))}function XF(e,t,n){return Object.freeze(e.filter(r=>{if(r.sourceKind==="furniture"||r.earlierSection)return true;let o=n(r.anchorParagraphId);return o===void 0?r.sourceOrder<=t:o<=t}))}var KF=new WeakMap;function EG(e,t){if(!e.textboxStory?.noWrap||!t)return e;let n=KF.get(t);n||(n=new WeakMap,KF.set(t,n));let r=n.get(e);return r||(r=Hp(e,t(e)),n.set(e,r)),r}function eg(e){let t=ot(e.paragraph,e.drawingLayout);if(t.length===0)return Object.freeze([]);let n=kn(e.paragraph),r=e.displayMode??Ue,o=[];for(let a of t){if(!Ye(a.revisions,r,e.revisionAuthorFilter)||Ao(a.revisions,r,e.revisionAuthorFilter)||mx(a.projection,e)||!Jp(a.projection.wrap)||a.projection.wrap==="topAndBottom")continue;let i=n.get(a.atomId);if(i===void 0)continue;let l=e.anchorLineTopByModelStart.get(i);if(l===void 0)continue;let s=EG(a.projection,e.layoutTextboxStory),d=qp(s,{...e.frameBase?{frameBase:e.frameBase}:{},contentLeft:e.contentLeft,contentRight:e.contentRight,lineY:e.frameBase?e.paragraphStartY+l:l,ownerPartName:e.drawingLayout.ownerPartName,cellBox:e.anchorCellBox??null}),c=e.frameBase?d.y:e.paragraphStartY+l,u=tr(s),f=ci({projection:s,anchorX:d.x,anchorY:c,extentWidth:u.width,extentHeight:u.height}),m=Tu({projection:s,geometry:f,contentLeft:e.contentLeft,contentRight:e.contentRight,anchorX:d.x,anchorY:c});m&&o.push(Object.freeze({drawingNodeId:a.atomId,anchorParagraphId:e.paragraphId,anchorModelStart:i,sourceOrder:e.sourceOrderOf?.(a.projection.drawingNodeId)??Number.MAX_SAFE_INTEGER,paintLayer:a.projection.anchor?.behindDocument?"behind":"inFront",relativeHeight:a.projection.anchor?.relativeHeight??0,allowOverlap:a.projection.anchor?.allowOverlap??true,columnIndex:0,y:c,verticalBand:Cl(m),input:m}));}return o.sort((a,i)=>a.sourceOrder-i.sourceOrder),Object.freeze(o)}function tg(e){let t=ot(e.paragraph,e.drawingLayout);if(t.length===0)return Object.freeze([]);let n=kn(e.paragraph),r=e.displayMode??Ue,o=[];for(let a of t){if(!Ye(a.revisions,r,e.revisionAuthorFilter)||Ao(a.revisions,r,e.revisionAuthorFilter)||a.projection.wrap!=="topAndBottom"||e.cellAnchorScope?.rowsClearOutOfCellFloats&&mx(a.projection,e))continue;let i=n.get(a.atomId);if(i===void 0)continue;let l=e.anchorLineTopByModelStart.get(i);if(l===void 0)continue;let s=AG(a.projection,e),d=s??GF(e.paragraphStartY+l,a.projection.position?.vertical??null),c=tr(a.projection),u=ci({projection:a.projection,anchorX:e.contentLeft,anchorY:d,extentWidth:c.width,extentHeight:c.height}),f=Tu({projection:a.projection,geometry:u,contentLeft:e.contentLeft,contentRight:e.contentRight,anchorX:e.contentLeft,anchorY:d});f&&o.push(Object.freeze({drawingNodeId:a.atomId,anchorParagraphId:e.paragraphId,anchorModelStart:i,sourceOrder:e.sourceOrderOf?.(a.projection.drawingNodeId)??Number.MAX_SAFE_INTEGER,paintLayer:a.projection.anchor?.behindDocument?"behind":"inFront",relativeHeight:a.projection.anchor?.relativeHeight??0,allowOverlap:a.projection.anchor?.allowOverlap??true,columnIndex:e.columnIndex??0,...s!==null?{pageFramedBand:true}:{},y:d,verticalBand:Cl(f),input:f}));}return o.sort((a,i)=>a.sourceOrder-i.sourceOrder),Object.freeze(o)}function AG(e,t){let n=e.position?.vertical;if(!t.frameBase||t.anchorCellBox!=null||!n||!Qp(n.relativeFrom)||e.anchor?.simplePos)return null;let r=Object.freeze({x:t.contentLeft,y:0,width:Math.max(1,t.contentRight-t.contentLeft),height:0}),o=Ru(e,{...t.frameBase,paragraphBox:r,anchorLineBox:r,anchorCharacterX:t.contentLeft,columnBox:r,cellBox:null,layoutInCell:false});return o.layoutFallback?null:o.y}function NG(e){return e.map(t=>`${t.start.toFixed(3)}-${t.end.toFixed(3)}`).join(",")}function DG(e){let t=e.contentBounds,n=e.wrapDistances,r=e.effectInsets,o=e.polygon?.map(i=>`${i.x.toFixed(3)},${i.y.toFixed(3)}`).join(";")??"",a=e.clipPolygon?.map(i=>`${i.x.toFixed(3)},${i.y.toFixed(3)}`).join(";")??"";return [e.mode,e.textSide,t.x.toFixed(3),t.y.toFixed(3),t.width.toFixed(3),t.height.toFixed(3),n.top.toFixed(3),n.right.toFixed(3),n.bottom.toFixed(3),n.left.toFixed(3),r.top.toFixed(3),r.right.toFixed(3),r.bottom.toFixed(3),r.left.toFixed(3),o,a].join(":")}function Lr(e,t){if(e.length===0)return "";let n=e.map(r=>{let o=r.verticalBand,a=r.y+r.input.contentBounds.height/2,i=Er(a,[r],r.input.contentLeft,r.input.contentRight);return [nd(r),`${r.sourceKind??""}${r.earlierSection?"+earlier":""}`,String(r.sourceOrder),String(r.columnIndex),r.y.toFixed(3),o.x.toFixed(3),o.y.toFixed(3),o.width.toFixed(3),o.height.toFixed(3),DG(r.input),NG(i)].join("|")}).join(`
2
- `);return t===void 0?n:`${n}
3
- bottom:${t.toFixed(3)}`}function Ou(e,t,n,r,o,a){let i=[];for(let l of e){let s=t.projectionForAtom?.(l.drawingNodeId);if(!s)continue;let d=l.sourceOrder??o?.(l.drawingNodeId)??Number.MAX_SAFE_INTEGER,c=a!==void 0?OG(l,a):0,u=vu({drawing:l,projection:s,sourceOrder:d,contentLeft:n,contentRight:r,columnIndex:c});u&&i.push(u);}return i.sort((l,s)=>l.sourceOrder-s.sourceOrder),Object.freeze(i)}function Ex(e,t,n,r,o){let a=o??Object.freeze({columnCount:1,columnGapPt:0,contentWidth:n}),i=new Map;for(let l of e){let s=l.anchoredDrawings??[],d=Ou(s,t,0,n,r,a);d.length>0&&i.set(l.index,d);}return i}var $F=new WeakMap;function HG(e){return e?`${e.columnCount};${e.columnGapPt};${e.contentWidth};${(e.columnLefts??[]).join(",")};${(e.columnWidths??[]).join(",")}`:""}function ZF(e,t,n,r,o,a){let i=HG(a),l=$F.get(e);if(l&&l.drawingLayout===t&&l.drawingLayoutEpoch===n&&l.contentWidth===r&&l.drawingSourceOrder===o&&l.columnToken===i)return l.zones;let s=Ex(e,t,r,o?d=>{let c=t.projectionForAtom?.(d)?.drawingNodeId??d;return o.get(c)}:void 0,a);return $F.set(e,{drawingLayout:t,drawingLayoutEpoch:n,contentWidth:r,drawingSourceOrder:o,columnToken:i,zones:s}),s}function ng(e,t){if(e.size!==t.size)return false;for(let[n,r]of e){let o=t.get(n);if(!o||Lr(r)!==Lr(o))return false}return true}function Ax(e){return e.size===0?"":[...e.entries()].sort(([t],[n])=>t-n).map(([t,n])=>`${t}:${Lr(n)}`).join(`
4
- `)}var _o=.001;function qF(e){if(!(e.localName!=="br"||chunkFIJZIQXA_cjs.nb(e)!=="line"))for(let t of e.attributes){if(t.namespaceUri!==chunkFIJZIQXA_cjs.la||t.localName!=="clear")continue;let n=t.value;return n==="left"||n==="right"||n==="all"?n:void 0}}function JF(e){let t=[e];for(;t.length>0;){let n=t.pop();if(n.kind==="hardBreak"){if(qF(n))return true;continue}if("children"in n)for(let r of n.children)t.push(r);}return false}function QF(e){let t=qF(e);return {breakKind:chunkFIJZIQXA_cjs.nb(e),...t?{breakClear:t}:{}}}function eO(e){return e?.breakKind?{breakKind:e.breakKind,...e.breakClear?{breakClear:e.breakClear}:{}}:{}}function jG(e,t){let n=Er(t.y,[e],t.left,t.right,t.height),r=[],o=t.left;for(let a of n)a.start>o+_o&&r.push({start:o,end:a.start}),o=Math.max(o,a.end);return t.right>o+_o&&r.push({start:o,end:t.right}),r}function WG(e,t,n){if(e==="all"||t.length===0)return t;let r=Er(n.y,t,n.left,n.right,n.height),o=Fu(n.penX,r)?.x??n.penX;return t.filter(a=>jG(a,n).some(i=>e==="left"?i.start<=n.left+_o:i.end>o+_o))}var tO=new WeakSet;function nO(e,t,n){if(e==="all")return o=>o;let r=new Set(WG(e,t,n).map(nd));return o=>r.size===0?[]:o.filter(a=>r.has(nd(a)))}function rO(e,t,n,r,o){if(n.length===0||!(o>r))return 0;let a=Math.max(t,_o),i=n.filter(s=>{let d=s.verticalBand;if(!(d.height>_o))return false;if(tO.has(s))return true;let c=Er(d.y,[s],r,o,d.height);return !(c.length===1&&c[0].start<=r+_o&&c[0].end>=o-_o)}).sort((s,d)=>s.verticalBand.y-d.verticalBand.y),l=e;for(let s of i){if(s.verticalBand.y>=l+a-_o)break;let d=s.verticalBand.y+s.verticalBand.height;d>l+_o&&(l=d);}return l-e}function oO(e){let t=ot(e.paragraph,e.drawingLayout);if(t.length===0)return [];let n=kn(e.paragraph),r=[];for(let o of t){let{projection:a}=o,i=a.position?.vertical;if(!i||i.relativeFrom!=="paragraph"||i.align!==null||a.anchor?.simplePos||!Ye(o.revisions,e.displayMode,e.revisionAuthorFilter)||Ao(o.revisions,e.displayMode,e.revisionAuthorFilter))continue;let l=n.get(o.atomId),s=Ir(i.offsetEmu??0);if(l===void 0||s===null)continue;let d=e.paragraphTop+s,c=e.frameBase?qp(a,{frameBase:e.frameBase,contentLeft:e.contentLeft,contentRight:e.contentRight,lineY:e.paragraphTop,ownerPartName:e.drawingLayout.ownerPartName}).x:e.contentLeft,u=tr(a),f=ci({projection:a,anchorX:c,anchorY:d,extentWidth:u.width,extentHeight:u.height}),m=Tu({projection:a,geometry:f,contentLeft:e.contentLeft,contentRight:e.contentRight,anchorX:c,anchorY:d});if(!m)continue;let g=Object.freeze({drawingNodeId:o.atomId,anchorParagraphId:e.paragraphId,anchorModelStart:l,sourceOrder:0,paintLayer:a.anchor?.behindDocument?"behind":"inFront",relativeHeight:a.anchor?.relativeHeight??0,allowOverlap:a.anchor?.allowOverlap??true,columnIndex:0,y:d,verticalBand:Cl(m),input:m});e.frameBase||tO.add(g),r.push(g);}return r}function aO(e,t){if(t.length===0)return e;let n=new Set(e.map(nd)),r=t.filter(o=>!n.has(nd(o)));return r.length===0?e:[...e,...r]}var zG=["","\u05D0","\u05D1","\u05D2","\u05D3","\u05D4","\u05D5","\u05D6","\u05D7","\u05D8"],VG=["","\u05D9","\u05DB","\u05DC","\u05DE","\u05E0","\u05E1","\u05E2","\u05E4","\u05E6"],GG=["","\u05E7","\u05E8","\u05E9"],KG="\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DB\u05DC\u05DE\u05E0\u05E1\u05E2\u05E4\u05E6\u05E7\u05E8\u05E9\u05EA",$G="\u0623\u0628\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063A\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u064A",UG="\u0623\u0628\u062C\u062F\u0647\u0648\u0632\u062D\u0637\u064A\u0643\u0644\u0645\u0646\u0633\u0639\u0641\u0635\u0642\u0631\u0634\u062A\u062B\u062E\u0630\u0636\u0638\u063A",YG="\u0966\u0967\u0968\u0969\u096A\u096B\u096C\u096D\u096E\u096F";function Nx(e){return e<1?0:(e-1)%392+1}function iO(e){let t=Nx(e);if(t===0)return String(e);let n=GG[Math.floor(t/100)],r=t%100;return r===15?`${n}\u05D8\u05D5`:r===16?`${n}\u05D8\u05D6`:n+VG[Math.floor(r/10)]+zG[r%10]}function lO(e){let t=Nx(e);if(t===0)return String(e);let n=[...KG];return "\u200F"+n[n.length-1].repeat(Math.floor((t-1)/n.length))+n[(t-1)%n.length]}function sO(e,t,n){let r=Nx(e);if(r===0)return String(e);let o=[...t],a=o[(r-1)%o.length];return (n?a+"\u200C":"\u200C"+a).repeat(Math.floor((r-1)/o.length)+1)}function dO(e){return sO(e,$G,true)}function cO(e){return sO(e,UG,false)}function uO(e){return e.replace(/[0-9]/g,t=>YG[Number(t)])}var og=64,fO=64,XG=[{value:1e3,glyph:"M"},{value:900,glyph:"CM"},{value:500,glyph:"D"},{value:400,glyph:"CD"},{value:100,glyph:"C"},{value:90,glyph:"XC"},{value:50,glyph:"L"},{value:40,glyph:"XL"},{value:10,glyph:"X"},{value:9,glyph:"IX"},{value:5,glyph:"V"},{value:4,glyph:"IV"},{value:1,glyph:"I"}];function Ar(e){if(!Number.isFinite(e))return 1;let t=Math.trunc(e);return t<0?1:t>9999?9999:t}function ao(e){return String(Ar(e))}function ZG(e){let t=Ar(e);return t<10?`0${t}`:String(t)}function mO(e){let t=Ar(e);t>3999&&(t=3999);let n="";for(let{value:r,glyph:o}of XG)for(;t>=r;)if(n+=o,t-=r,n.length>=og)return n.slice(0,og);return n||"I"}function qG(e){return mO(e).toLowerCase()}function pO(e){let t=Ar(e),n="";for(;t>0&&n.length<8;)t-=1,n=String.fromCharCode(65+t%26)+n,t=Math.floor(t/26);return n||"A"}function JG(e){return pO(e).toLowerCase()}function QG(e){let t=Ar(e),n=t%100,r=t%10,o=n>=11&&n<=13?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return `${t}${o}`}function eK(e){return Ar(e).toString(16).toUpperCase()}function tK(e){let t=["*","\u2020","\u2021","\xA7"],n=Ar(e);if(n<=0)return t[0];let r=(n-1)%t.length,o=Math.min(Math.floor((n-1)/t.length)+1,nK);return t[r].repeat(o)}var nK=8,rg=["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],rK=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"];function ag(e){let t=Ar(e);if(t<20)return rg[t];if(t<100){let r=t%10;return rK[Math.floor(t/10)]+(r===0?"":`-${rg[r]}`)}if(t<1e3){let r=t%100;return `${rg[Math.floor(t/100)]} hundred${r===0?"":` ${ag(r)}`}`}let n=t%1e3;return `${rg[Math.floor(t/1e3)]} thousand${n===0?"":` ${ag(n)}`}`}function gO(e){return e.length===0?e:e[0].toUpperCase()+e.slice(1)}function oK(e){return gO(ag(e))}var aK=new Map([["zero","zeroth"],["one","first"],["two","second"],["three","third"],["five","fifth"],["eight","eighth"],["nine","ninth"],["twelve","twelfth"]]);function iK(e){let t=aK.get(e);return t!==void 0?t:e.endsWith("y")?`${e.slice(0,-1)}ieth`:`${e}th`}function lK(e){let t=ag(e),n=Math.max(t.lastIndexOf(" "),t.lastIndexOf("-")),r=n<0?"":t.slice(0,n+1);return gO(r+iK(t.slice(n+1)))}function Ho(e,t){switch(e){case "decimal":return ao(t);case "decimalZero":return ZG(t);case "upperRoman":return mO(t);case "lowerRoman":return qG(t);case "upperLetter":return pO(t);case "lowerLetter":return JG(t);case "ordinal":return QG(t);case "cardinalText":return oK(t);case "ordinalText":return lK(t);case "hex":return eK(t);case "chicago":return tK(t);case "numberInDash":return `- ${ao(t)} -`;case "hebrew1":return iO(Ar(t));case "hebrew2":return lO(Ar(t));case "arabicAlpha":return dO(Ar(t));case "arabicAbjad":return cO(Ar(t));case "hindiNumbers":return uO(ao(t));case "none":case "bullet":return "";default:return ao(t)}}function Dx(e,t,n){let r=e.length>fO?e.slice(0,fO):e,o="";for(let a=0;a<r.length&&!(o.length>=og);a+=1){let i=r[a];if(i==="%"&&a+1<r.length){let l=r[a+1];if(l>="1"&&l<="9"){let s=Number(l)-1,d=n[s]??"decimal",c=t[s]??1,u=d==="bullet"?"":Ho(d,c);for(let f of u){if(o.length>=og)break;o+=f;}a+=1;continue}}o+=i;}return o}var hO="Error! Number cannot be represented in specified format.",sK=32767,dK=780;function cK(e){if(!/^[A-Za-z]+$/.test(e))return null;let t=e[0]===e[0].toUpperCase();switch(e.toUpperCase()){case "MERGEFORMAT":case "CHARFORMAT":return "inert";case "ARABIC":return "decimal";case "ARABICDASH":return "numberInDash";case "ROMAN":return t?"upperRoman":"lowerRoman";case "ALPHABETIC":return t?"upperLetter":"lowerLetter";default:return null}}function uK(e,t,n){if(e[t]==='"'){let o=e.indexOf('"',t+1);return o<0?null:{value:e.slice(t+1,o),end:o+1,quoted:true}}let r=t;for(;r<e.length;){let o=e[r];if(o==="\\"||o===" "&&!n)break;if(o==='"')return null;r+=1;}return {value:e.slice(t,r).trim(),end:r,quoted:false}}function yO(e){let t=0;for(;t<e.length&&e[t]!==" ";)t+=1;let n=e.slice(0,t).toUpperCase();if(n.length===0||n.includes("\\"))return null;let r,o=false,a=false,i;for(;t<e.length;){if(e[t]===" "){t+=1;continue}if(e[t]!=="\\")return null;let l=e[t+1];if(l!=="#"&&l!=="*")return null;for(t+=2;e[t]===" ";)t+=1;let s=uK(e,t,l==="#");if(s===null)return null;if(t=s.end,l==="#"){if(o||a||s.value.length===0&&!s.quoted)return null;o=true,s.value.length>0&&(r=s.value);continue}if(s.value.length===0)return null;let d=cK(s.value);if(d===null)return null;a=true,d!=="inert"&&(i=d);}return i!==void 0?{keyword:n,numberFormat:i}:r===void 0?{keyword:n}:{keyword:n,picture:r}}var fK=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM"],mK=["","X","XX","XXX","XL","L","LX","LXX","LXXX","XC"],pK=["","I","II","III","IV","V","VI","VII","VIII","IX"];function gK(e){return fK[Math.floor(e/100)]+mK[Math.floor(e/10)%10]+pK[e%10]}var hK=new Set(["decimal","lowerRoman","upperRoman","lowerLetter","upperLetter","numberInDash"]);function bO(e){return hK.has(e)}function ig(e,t){if(!Number.isFinite(e)||e<0)return "";let n=Math.floor(e);switch(t){case "decimal":return ao(n);case "numberInDash":return `- ${ao(n)} -`;case "upperRoman":case "lowerRoman":{if(n===0)return " ";if(n>sK)return hO;let r="M".repeat(Math.floor(n/1e3))+gK(n%1e3);return t==="upperRoman"?r:r.toLowerCase()}case "upperLetter":case "lowerLetter":{if(n===0)return " ";if(n>dK)return hO;let o=String.fromCharCode(65+(n-1)%26).repeat(Math.floor((n-1)/26)+1);return t==="upperLetter"?o:o.toLowerCase()}}}var od=4096,Kt=64,Wx=Object.freeze({hasPage:false,hasNumPages:false,hasSectionPages:false}),yK=/\s*\\\*\s*MERGEFORMAT\s*$/i;function Il(e){if(e.length>chunkFIJZIQXA_cjs.Ff)return null;let t=e.replace(/\s+/g," ").trim().toUpperCase();return t.length>chunkFIJZIQXA_cjs.Ff?null:t.replace(yK,"").trim()}function bK(e){if(e.length>chunkFIJZIQXA_cjs.Ff)return null;let t=e.replace(/\s+/g," ").trim();return t.length>chunkFIJZIQXA_cjs.Ff?null:yO(t)}function rd(e){let t=bK(e);if(t===null)return null;let{keyword:n,...r}=t;return n!=="PAGE"&&n!=="NUMPAGES"&&n!=="SECTIONPAGES"?null:{kind:n,...r}}function Ra(e){return rd(e)?.kind??null}function gn(e,t){return chunkFIJZIQXA_cjs.sf(e,t)}function Pa(e){return chunkFIJZIQXA_cjs.tf(e)}function wa(){return {nodes:0,exhausted:false}}function $t(e){return e.exhausted?false:(e.nodes+=1,e.nodes>od?(e.exhausted=true,false):true)}function Ml(){return {nesting:0,instruction:"",instructionOverflow:false,deletedInstruction:"",deletedInstructionOverflow:false,sawLiveInstruction:false,nestingOverflow:false,phase:"idle",inner:[]}}function Cu(e){e.nesting=0,e.instruction="",e.instructionOverflow=false,e.deletedInstruction="",e.deletedInstructionOverflow=false,e.sawLiveInstruction=false,e.nestingOverflow=false,e.phase="idle",e.inner.length=0;}function ad(e){return e.sawLiveInstruction?{instruction:e.instruction,overflow:e.instructionOverflow}:{instruction:e.deletedInstruction,overflow:e.deletedInstructionOverflow}}function xK(e){return e.sawLive?{instruction:e.instruction,overflow:e.overflow}:{instruction:e.deletedInstruction,overflow:e.deletedOverflow}}function Bl(e){e.nesting===0&&(e.instruction="",e.instructionOverflow=false,e.deletedInstruction="",e.deletedInstructionOverflow=false,e.sawLiveInstruction=false,e.nestingOverflow=false,e.phase="instruction",e.inner.length=0),e.nesting+=1,e.nesting>chunkFIJZIQXA_cjs.Gf?e.nestingOverflow=true:e.nesting>=2&&(e.inner[e.nesting-2]={instruction:"",overflow:false,deletedInstruction:"",deletedOverflow:false,sawLive:false,separated:false});}function id(e){return e.nesting<2||e.nesting>chunkFIJZIQXA_cjs.Gf?null:e.inner[e.nesting-2]??null}function xO(e){if(e.nesting===1)return e.phase==="instruction";let t=id(e);return t!==null&&!t.separated}function Hx(e,t){if(!xO(e))return false;if(e.nesting===1)return t?!e.deletedInstructionOverflow:!e.instructionOverflow;let n=id(e);return t?!n.deletedOverflow:!n.overflow}function SO(e){if(e.nesting===1){e.sawLiveInstruction=true;return}let t=id(e);t&&(t.sawLive=true);}function jx(e,t){if(e.nesting===1){t?(e.deletedInstructionOverflow=true,e.deletedInstruction=""):(e.instructionOverflow=true,e.instruction="");return}let n=id(e);n&&(t?(n.deletedOverflow=true,n.deletedInstruction=""):(n.overflow=true,n.instruction=""));}function _x(e){jx(e,false),jx(e,true);}function SK(e,t,n=false){if(!Hx(e,n))return;let r=id(e);n||SO(e);let o=r?n?r.deletedInstruction:r.instruction:n?e.deletedInstruction:e.instruction;if(o.length+t.length>chunkFIJZIQXA_cjs.Ff){jx(e,n);return}r?n?r.deletedInstruction=o+t:r.instruction=o+t:n?e.deletedInstruction=o+t:e.instruction=o+t;}function Ll(e,t,n,r){if(!xO(e))return;let o=chunkFIJZIQXA_cjs.uf(t);if(o||SO(e),!Hx(e,o))return;if(r>Kt){_x(e);return}let a=[],i=t.kind==="textValue"?[]:t.children??[];for(let l=i.length-1;l>=0;l-=1)a.push({node:i[l],depth:r+1});for(;a.length>0;){let l=a.pop();if(!$t(n)){_x(e);return}if(l.depth>Kt){_x(e);return}if(l.node.kind==="textValue"){if(SK(e,l.node.value,o),!Hx(e,o))return;continue}let s=l.node.children??[];for(let d=s.length-1;d>=0;d-=1)a.push({node:s[d],depth:l.depth+1});}}function El(e){if(e.nesting===1){if(e.phase!=="instruction"||(e.phase="result",e.nestingOverflow))return null;let r=ad(e);return r.overflow?null:rd(r.instruction)}let t=id(e);if(!t||t.separated)return null;t.separated=true;let n=xK(t);return n.overflow?null:rd(n.instruction)}function Al(e){e.nesting>0&&(e.nesting-=1),e.nesting===0&&Cu(e);}function PO(e){return e.phase==="result"&&e.nesting>=1}function zx(e){let t=false,n=false,r=false,o=wa(),a=Ml(),i=()=>t&&n&&r,l=m=>{m==="PAGE"?t=true:m==="NUMPAGES"?n=true:r=true;},s=false,d=[],c=(m,g)=>{if(m.kind!=="runProperties"){if(gn(m,"begin")){Bl(a),a.nestingOverflow&&(s=true);return}if(Pa(m)){Ll(a,m,o,g);return}if(gn(m,"separate")){let p=a.nesting,h=a.phase,y=El(a);if(s)return;y&&(p<=1||h==="result")&&d.push(y.kind);return}if(gn(m,"end")&&(Al(a),a.nesting===0)){if(!s)for(let p of d)l(p);d.length=0;}}},u=(m,g)=>{if(m.kind==="run")for(let p of m.children){if(!$t(o))return;if(c(p,g+1),(p.kind==="drawing"||p.kind==="generic")&&!Pa(p)&&"children"in p&&p.children.length>0){let h={...a,inner:a.inner.map(x=>({...x}))},y=s,b=d;d=[],f(p,g+1),Object.assign(a,h),s=y,d=b;}if(i()||o.exhausted)return}},f=(m,g)=>{if(!i()&&$t(o)&&!(g>Kt)&&m.kind!=="textValue"){if(m.kind==="paragraph"){Cu(a),s=false,d.length=0;for(let p of m.children)if(f(p,g+1),i()||o.exhausted)return;Cu(a),s=false,d.length=0;return}if(m.kind==="run"){u(m,g);return}if(chunkFIJZIQXA_cjs.vf(m)){let p=Ra(chunkFIJZIQXA_cjs.xf(m)??"");if(p){l(p);return}}for(let p of m.children)if(f(p,g+1),i()||o.exhausted)return}};return f(e,0),!t&&!n&&!r?Wx:{hasPage:t,hasNumPages:n,hasSectionPages:r}}function ld(e){if(e.nesting<1)return false;if(e.phase==="instruction")return true;let t=Math.min(e.nesting,chunkFIJZIQXA_cjs.Gf)-1;for(let n=0;n<t;n+=1)if(e.inner[n]?.separated!==true)return true;return false}function Iu(e){if(e.length>chunkFIJZIQXA_cjs.Ff)return null;let t=/^\s*STYLEREF\s+(?:"([^"\\]+)"|([^\s"\\]+))((?:\s+\\l)?(?:\s+\\\*\s+MERGEFORMAT)?)\s*$/i.exec(e);if(!t)return null;let n=(t[1]??t[2]).trim().toLowerCase();if(!n||n.length>128||/[\u0000-\u001f\u007f]/.test(n))return null;let r=/\\l\b/i.test(t[3]);return {name:n,last:r,key:`${r?"last":"first"}:${n}`}}function lg(e,t){return e?t?.characterStyleValues?.get(e.key):void 0}function RO(e){let t=new Map,n=0,r="",o=i=>{let l=Iu(i);l&&t.size<128&&t.set(l.key,l);},a=(i,l)=>{if(!(++n>od||l>Kt)&&i.kind!=="textValue"){if(i.localName==="fldSimple"&&o(i.attributes.find(s=>s.localName==="instr")?.value??""),i.localName==="fldChar"){let s=i.attributes.find(d=>d.localName==="fldCharType")?.value;s==="begin"?r="":(s==="separate"||s==="end")&&(o(r),r="");}if(i.localName==="instrText")for(let s of i.children)s.kind==="textValue"&&r.length<=chunkFIJZIQXA_cjs.Ff&&(r=r.length+s.value.length<=chunkFIJZIQXA_cjs.Ff?r+s.value:"x".repeat(chunkFIJZIQXA_cjs.Ff+1));for(let s of i.children){if(n>=od)break;a(s,l+1);}}};return a(e,0),[...t.values()]}function wO(e){let t=0,n=(r,o)=>{if(++t>od||o>Kt)return true;if(r.kind==="textValue")return false;if(o>0&&(r.localName==="fldSimple"||r.localName==="fldChar"))return true;for(let a of r.children)if(n(a,o+1))return true;return false};return n(e,0)}var PK=`
5
- \r`,RK=/[ \t\n\r]*\\\*[ \t\n\r]*(?:"[^"]*"|[^ \t\n\r"\\]+)?[ \t\n\r]*$/;function kO(e,t){let n=t;for(;n<e.length&&PK.includes(e[n]);)n+=1;return n}function TO(e,t){if(e[t]==='"'){let r=t+1;for(;r<e.length&&e[r]!=='"';)r+=1;return r<e.length?r+1:r}let n=t;for(;n<e.length&&!`
6
- \r"`.includes(e[n]);)n+=1;return n}function sg(e){if(e.length===0||e.length>256)return null;let t=kO(e,0);if(e[t]==='"')return null;let n=TO(e,t),r=e.slice(t,n).toUpperCase();if(r!=="MACROBUTTON"&&r!=="GOTOBUTTON")return null;let o=kO(e,n);if(o>=e.length)return null;let a=TO(e,o),i=e.slice(a).trim();for(;;){let l=i.replace(RK,"").trimEnd();if(l===i)break;i=l;}if(i[0]==='"'){let l=i.indexOf('"',1);l===-1?i=i.slice(1):l===i.length-1&&(i=i.slice(1,-1));}return i.length===0?null:{display:i}}var vO=Object.freeze({TITLE:"title",AUTHOR:"creator",SUBJECT:"subject",KEYWORDS:"keywords",LASTSAVEDBY:"lastModifiedBy",COMMENTS:"description"}),wK=/\s*\\[A-Z*@#!]\s*(?:"[^"]*"|[^\s"\\]+)?\s*$/;function kK(e){let t=e;for(;;){let n=t.replace(wK,"").trimEnd();if(n===t)return t;t=n;}}function TK(e){let t=e.trimStart();if(t.length===0)return null;if(t[0]==='"'){let o=t.indexOf('"',1),a=o===-1?t.slice(1):t.slice(1,o);return a.length>0?a:null}let n=t.search(/\s/),r=n===-1?t:t.slice(0,n);return r.length>0?r:null}function dg(e){let t=Il(e);if(t===null||t.length===0)return null;let n=kK(t),r=vO[n];if(r)return {property:r};if(!n.startsWith("DOCPROPERTY"))return null;let o=n.slice(11);if(o.length===0||!/^\s/.test(o))return null;let a=TK(o);if(a===null)return null;let i=vO[a];return i?{property:i}:null}function cg(e,t){if(!t)return null;let n=t[e.property];return n!==void 0&&n.length>0?n:null}var Mu=256,vK=Object.freeze({suppressNonDelimiterText:false,noteRef:false,pageRef:false}),FK=Object.freeze({suppressNonDelimiterText:true,noteRef:false,pageRef:false}),OK=Object.freeze({suppressNonDelimiterText:false,noteRef:true,pageRef:false}),CK=Object.freeze({suppressNonDelimiterText:false,noteRef:false,pageRef:true}),ug=new WeakMap;function io(e){return ug.get(e)??vK}function IK(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r===" "){n+=1;continue}if(r==='"'){let a=e.indexOf('"',n+1);if(a===-1)return null;t.push(e.slice(n+1,a)),n=a+1;continue}let o=n;for(;o<e.length&&e[o]!==" ";)o+=1;t.push(e.slice(n,o)),n=o;}return t}function gi(e){if(e.length>chunkFIJZIQXA_cjs.Ff)return null;let t=e.replace(/\s+/g," ").trim();if(t.length>chunkFIJZIQXA_cjs.Ff)return null;let n=IK(t);if(n===null||n.length<2)return null;let r=n[0].toUpperCase();if(r!=="REF"&&r!=="NOTEREF"&&r!=="PAGEREF")return null;let o=n[1];if(o.length===0||o.length>Mu||o.startsWith("\\"))return null;if(r==="NOTEREF")return MK(n,o);if(r==="PAGEREF")return BK(n,o);let a=false,i=false,l=false,s=false,d=false;for(let f=2;f<n.length;f+=1){let m=n[f].toUpperCase();if(m==="\\R")i=true;else if(m==="\\W")l=true;else if(m==="\\N")a=true;else if(m==="\\T")s=true;else if(m==="\\H")d=true;else if(m==="\\*"&&n[f+1]?.toUpperCase()==="MERGEFORMAT")f+=1;else {if(m==="\\*MERGEFORMAT")continue;return null}}let u={bookmark:o,numberSwitch:a?"n":i?"r":l?"w":null,hyperlink:d};return s&&ug.set(u,FK),u}function MK(e,t){let n=false;for(let o=2;o<e.length;o+=1){let a=e[o].toUpperCase();if(a==="\\H")n=true;else if(a==="\\*"&&e[o+1]?.toUpperCase()==="MERGEFORMAT")o+=1;else {if(a==="\\*MERGEFORMAT")continue;return null}}let r={bookmark:t,numberSwitch:null,hyperlink:n};return ug.set(r,OK),r}function BK(e,t){let n=false;for(let o=2;o<e.length;o+=1){let a=e[o].toUpperCase();if(a==="\\H")n=true;else if(a==="\\*"&&e[o+1]?.toUpperCase()==="MERGEFORMAT")o+=1;else {if(a==="\\*MERGEFORMAT")continue;return null}}let r={bookmark:t,numberSwitch:null,hyperlink:n};return ug.set(r,CK),r}function sd(e){if(e.length>chunkFIJZIQXA_cjs.Ff)return null;let t=[],n=0;for(;n<e.length;){if(/\s/.test(e[n])){n++;continue}let l=e[n]==='"',s=l?++n:n;for(;n<e.length&&(l?e[n]!=='"':!/\s/.test(e[n]));)n++;if(l&&n===e.length||(t.push({value:e.slice(s,n),quoted:l}),l&&(n++,n<e.length&&!/\s/.test(e[n]))))return null}let[r,o]=t;if(!r||r.quoted||!o)return null;let a=r.value.toUpperCase();if(!["REF","PAGEREF","NOTEREF"].includes(a)||!o.value||o.value.length>Mu||o.value.startsWith("\\"))return null;let i=false;for(let l=2;l<t.length;l++){let s=t[l];if(s.quoted)return null;let d=s.value.toLowerCase();if(d==="\\h")i=true;else {if(d==="\\p")continue;if(a==="REF"&&["\\r","\\w","\\n","\\t","\\f"].includes(d))continue;if(a==="NOTEREF"&&d==="\\f")continue;if(d==="\\*mergeformat")continue;if(d==="\\*"||d==="\\#"||a==="REF"&&d==="\\d"){let c=t[++l];if(!c||!c.quoted&&c.value.startsWith("\\"))return null}else return null}}return i?{target:null,anchor:o.value,tooltip:null}:null}var LK=chunkFIJZIQXA_cjs.Ff,EK=2048,AK=256;function NK(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r===" "||r===" "||r===`
7
- `||r==="\r"){n+=1;continue}if(r==='"'){let a=n+1;for(;a<e.length&&e[a]!=='"';)a+=1;t.push({value:e.slice(n+1,a),quoted:true}),n=a<e.length?a+1:a;continue}let o=n;for(;o<e.length&&!`
8
- \r"`.includes(e[o]);)o+=1;t.push({value:e.slice(n,o),quoted:false}),n=o;}return t}var DK=new Set(["\\l","\\o","\\t","\\m","\\n","\\*","\\#","\\@"]);function dd(e){if(e.length===0||e.length>LK)return null;let t=NK(e);if(t.length<2)return null;let n=t[0];if(n.quoted||n.value.toUpperCase()!=="HYPERLINK")return null;let r=null,o=false,a=null,i=false,l=null,s=false;for(let d=1;d<t.length;d+=1){let c=t[d];if(!c.quoted&&c.value.startsWith("\\")){let u=c.value.toLowerCase();if(!DK.has(u))continue;let f=t[d+1];if(!f||!f.quoted&&f.value.startsWith("\\"))continue;d+=1;let m=f.value.length>0&&f.value.length<=AK;u==="\\l"?i||(i=true,m&&(a=f.value)):u==="\\o"&&(s||(s=true,m&&(l=f.value)));continue}o||(o=true,c.value.length>0&&c.value.length<=EK&&(r=c.value));}return r===null&&a===null?null:{target:r,anchor:a,tooltip:l}}function _K(e){let t=e.toUpperCase(),n=e[0]===e[0]?.toUpperCase();switch(t){case "ARABIC":return "decimal";case "ALPHABETIC":return n?"upperLetter":"lowerLetter";case "ROMAN":return n?"upperRoman":"lowerRoman";case "ORDINAL":return "ordinal";case "CARDTEXT":return "cardinalText";case "ORDTEXT":return "ordinalText";case "HEX":return "hex";default:return null}}function Nl(e){if(Il(e)===null)return null;let n=e.replace(/\s+/g," ").trim().split(" "),r=n[0]?.toUpperCase();if(r!=="AUTONUM"&&r!=="AUTONUMLGL"&&r!=="AUTONUMOUT")return null;let o=null,a=false;for(let i=1;i<n.length;i+=1){let s=n[i].toUpperCase();if(s==="\\E"){a=true;continue}if(s==="\\*"){let d=n[i+1];if(d===void 0)return null;if(i+=1,d.toUpperCase()==="MERGEFORMAT")continue;if(o=_K(d),o===null)return null;continue}return null}return {kind:r,numFmt:o,suppressPeriod:a}}function FO(e,t){let n=Ho(e.numFmt??"decimal",t);return n.length===0?"":e.suppressPeriod?n:`${n}.`}var ka=1024;function Bu(e,t){for(let n of e.attributes)if(n.namespaceUri===chunkFIJZIQXA_cjs.la&&n.localName===t)return n.value}function Vx(e){return e.kind==="drawing"||e.localName==="drawing"||e.localName==="pict"}function CO(e,t){let n="",r=(o,a)=>{if(o.kind==="textValue"||n.length>=ka||t.exhausted||a>Kt||!$t(t))return;if(o.kind==="text"){for(let l of o.children)l.kind==="textValue"&&(n+=l.value.slice(0,ka-n.length));return}let i=chunkFIJZIQXA_cjs.ib(o);if(i!==null){n+=i.slice(0,ka-n.length);return}if(o.kind!=="revisionDelete")for(let l of o.children)r(l,a+1);};for(let o of e.children)r(o,1);return n}var OO=new WeakMap;function IO(e,t){let n=OO.get(e),r=n?.get(t);if(r!==void 0)return r;let o=false,a=false,i,l="",s=wa(),d=u=>{let f=ka-l.length;if(f<=0){a=true;return}l+=u.length>f?u.slice(0,f):u;},c=(u,f,m,g=false)=>{if(a||u.kind==="textValue"||m>=chunkFIJZIQXA_cjs.wa||s.exhausted||f>Kt)return;if(u.kind==="bookmarkStart"){!o&&Bu(u,"name")===t&&(o=true,i=Bu(u,"id"));return}if(u.kind==="bookmarkEnd"){o&&i!==void 0&&Bu(u,"id")===i&&(a=true);return}if(u.kind==="run"){if(!o||g)return;for(let y of u.children){if(a||!$t(s))return;if(y.kind==="text")for(let b of y.children)b.kind==="textValue"&&d(b.value);else if(y.kind==="tab")d(" ");else if(y.kind==="hardBreak"&&chunkFIJZIQXA_cjs.nb(y)==="line")d(`
9
- `);else {let b=chunkFIJZIQXA_cjs.ib(y);b&&d(b);}}return}if(Vx(u)||chunkFIJZIQXA_cjs.vf(u)||!$t(s))return;let p=chunkFIJZIQXA_cjs.xa(u,m),h=g||u.kind==="revisionDelete";for(let y of u.children)c(y,f+1,p,h);};for(let u of e.children){if(a||!$t(s))break;c(u,1,0);}return n||(n=new Map,OO.set(e,n)),n.set(t,l),l}var Gx=new WeakMap;function hi(e,t=8){let n=[];return BO(e,t,n),n}function MO(e,t){let n=Gx.get(e);if(n?.remaining===t)return n.paragraphs;let r=[];return LO(e,t,r),r}function BO(e,t,n){for(let r of e){if(r.kind==="paragraph"){n.push(r);continue}if(!(r.kind!=="table"||t<=0))for(let o of chunkFIJZIQXA_cjs.Ub(r.children))o.kind==="tableRow"&&LO(o,t,n);}}function LO(e,t,n){let r=Gx.get(e);if(r?.remaining===t){for(let a of r.paragraphs)n.push(a);return}let o=n.length;for(let a of chunkFIJZIQXA_cjs.Ub(e.children))a.kind==="tableCell"&&BO(chunkFIJZIQXA_cjs.Yc(a.children),t-1,n);n.length-o<=256&&Gx.set(e,{remaining:t,paragraphs:n.slice(o)});}function EO(e){return [e.fontFamily??"",e.fontSizePt,e.bold?1:0,e.italic?1:0,e.characterSpacingPt,e.horizontalScalePercent,e.verticalAlign,e.hidden?1:0,e.kerningMinPt,e.ligatures?.standard?1:0,e.ligatures?.contextual?1:0,e.ligatures?.historical?1:0,e.ligatures?.discretionary?1:0,e.caps?1:0,e.smallCaps?1:0].join(",")}function Kx(e,t){if(!Number.isFinite(e)||e<0||t.length===0||t.length>64||t.includes(".")||t.includes(";")||t.includes("'"))return null;let n=String(Math.floor(e)),r=[],o=false;for(let g=0;g<t.length;g+=1)r.push(o),t[g]==="0"&&(o=true);let a=n.length,i=false,l=0,s=0,d=[],c=-1;for(let g=t.length-1;g>=0;g-=1){let p=t[g];if(p==="0"||p==="#"){i=true,l+=1,c=d.length,a>0?(a-=1,d.push(n[a])):d.push(p==="0"?"0":" ");continue}if(p===","){s===0&&(s=l),l=0,(a>0||r[g])&&(c=d.length,d.push(","));continue}d.push(p);}if(!i)return null;let u=[];for(;a>0;)s>0&&l>=s&&(u.push(","),l=0),a-=1,l+=1,u.push(n[a]);let f=d.slice(c+1).reverse().join(""),m=d.slice(0,c+1).reverse().join("");return f+u.reverse().join("")+m}function wt(e){return "outOfFlow"in e&&e.outOfFlow===true}var Dl="0";function fg(e={}){let t;if(e.numberFormat!==void 0)t=e.numberFormat==="decimal"?Dl:ig(1,e.numberFormat);else {if(e.picture===void 0)return Dl;t=Kx(0,e.picture)??Dl;}return t.replaceAll(" ",HK)}var HK="\xA0";function mg(e,t){return {kind:e,...t.picture!==void 0?{picture:t.picture}:{},...t.numberFormat!==void 0?{numberFormat:t.numberFormat}:{}}}function Yx(e,t){if(!Number.isFinite(e)||e<0)return "";let n=Math.floor(e),r=t&&t.length>0?t:"decimal";if(r==="none"||r==="bullet")return ao(n);let o=Ho(r,n);return o.length>0?o:ao(n)}function Ta(e,t,n={}){let r=e==="PAGE"?t.pageNumber:e==="NUMPAGES"?t.pageCount:t.sectionPageCount??t.pageCount;if(!Number.isFinite(r)||r<0)return "";if(n.numberFormat!==void 0)return ig(r,n.numberFormat);if(n.picture!==void 0){let o=Kx(r,n.picture);if(o!==null)return o}return e!=="PAGE"?ao(Math.floor(r)):t.format!==void 0&&bO(t.format)?ig(r,t.format):Yx(r,t.format)}function va(e){return e.hasPage||e.hasNumPages||e.hasSectionPages||e.hasPageParity===true}function Xx(e,t=Wx){if(!e||!va(t))return "";let n=[];return t.hasPage&&(n.push(`p${e.pageNumber}`),e.format&&n.push(`f${e.format}`)),t.hasNumPages&&n.push(`n${e.pageCount}`),t.hasSectionPages&&n.push(`s${e.sectionPageCount??e.pageCount}`),t.hasPageParity&&n.push(`o${(e.sheetNumber??e.pageNumber)&1}`),`|fld:${n.join("/")}`}function yi(e,t,n,r){let o=false,a=e.map((i,l)=>{let s=t+l,d=i.pageFieldSource;return d&&d.pageNumber===s&&d.sectionPageCount===n&&d.format===r?i:(o=true,{...i,pageFieldSource:{pageNumber:s,sectionPageCount:n,...r?{format:r}:{}}})});return o?a:e}function jK(e){for(let t of e.spans)if(t.fieldAtom?.pageField||t.fieldAtom?.pageRef)return true;return false}function NO(e){if(e.kind==="paragraph"){for(let t of e.lines)if(jK(t))return true;return false}for(let t of e.rows)for(let n of t.cells)for(let r of n.blocks)if(NO(r))return true;return false}function Zx(e,t){let n=t,r=false;for(let o of e)wt(o)||(n=Math.max(n,o.box.y+o.box.height)),!r&&NO(o)&&(r=true);return {usedBottom:n,hasBodyPageFields:r}}var $x=new WeakMap;function WK(e,t,n,r){let o=$x.get(e);if(o)return t.length>0&&n!==t&&o.revision===r?($x.delete(e),false):true;let a=t.length===0||t===n;return a&&Number.isFinite(r)&&$x.set(e,{revision:r}),a}function DO(e,t){if(e.kind==="paragraph"){for(let n of e.lines)for(let r of n.spans){let o=r.fieldAtom?.pageRef?.targetParagraphId;o!==void 0&&t.add(o);}return}for(let n of e.rows)for(let r of n.cells)for(let o of r.blocks)DO(o,t);}function _O(e,t,n,r){if(e.kind==="paragraph"){t.has(e.paragraphId)&&!r.has(e.paragraphId)&&r.set(e.paragraphId,n);return}for(let o of e.rows)for(let a of o.cells)for(let i of a.blocks)_O(i,t,n,r);}var AO=new WeakMap;function HO(e){let t=AO.get(e);if(t!==void 0)return t;let n=zK(e);return AO.set(e,n),n}function zK(e){let t=null;for(let o of e)if(o.hasBodyPageFields!==false)for(let a of o.fragments)DO(a,t??=new Set);if(!t||t.size===0)return null;let n=new Map;for(let o of e){if(n.size>=t.size)break;let a=o.pageFieldSource,i={pageNumber:a?.pageNumber??o.index+1,...a?.format?{format:a.format}:{}};for(let l of o.fragments)_O(l,t,i,n);}let r="";for(let[o,a]of n)r+=`${o}@${a.pageNumber}/${a.format??""};`;return {hosts:n,token:r}}function qx(e){return HO(e)?.token??""}function VK(e,t,n,r){let o=null;for(let a=0;a<e.spans.length;a+=1){let i=e.spans[a],l=a>0?e.spans[a-1]:r,s=i.fieldAtom?.pageRef;if(s){let u=n?.hosts.get(s.targetParagraphId);if(!u)continue;let f=Yx(u.pageNumber,u.format);if(f.length===0)continue;let g=WK(s.calibration,s.cached,f,n.revision)?f:s.cached;if(g.length===0||g===i.text)continue;o||(o=e.spans.slice()),o[a]={...i,text:g};continue}let d=i.fieldAtom?.pageField;if(!d)continue;let c=GK(l,i)?"":Ta(d.kind,t,d);c!==i.text&&(o||(o=e.spans.slice()),o[a]={...i,text:c});}return o?{...e,spans:o}:e}function GK(e,t){return e?.fieldAtom?.pageField!==void 0&&e.range.paragraphId===t.range.paragraphId&&e.range.start===t.range.start}function jO(e,t,n){let r=null;for(let o=0;o<e.length;o+=1){let a=e[o],i=a;if(a.kind==="paragraph"){let l=null;for(let s=0;s<a.lines.length;s+=1){let d=a.lines[s],c=a.lines[s-1]?.spans.at(-1),u=VK(d,t,n,c);u!==d&&(l||(l=a.lines.slice()),l[s]=u);}l&&(i={...a,lines:l});}else {let l=null;for(let s=0;s<a.rows.length;s+=1){let d=a.rows[s],c=null;for(let u=0;u<d.cells.length;u+=1){let f=d.cells[u],m=jO(f.blocks,t,n);m!==f.blocks&&(c||(c=d.cells.slice()),c[u]={...f,blocks:m});}c&&(l||(l=a.rows.slice()),l[s]={...d,cells:c});}l&&(i={...a,rows:l});}i!==a&&(r||(r=e.slice()),r[o]=i);}return r??e}var cd=new WeakMap;function bee(e){for(let t of Array.isArray(e.pages)?e.pages:[])t.header&&cd.delete(t.header),t.footer&&cd.delete(t.footer);}function KK(e,t){return e.pageNumber===t.pageNumber&&e.pageCount===t.pageCount&&(e.sectionPageCount??e.pageCount)===(t.sectionPageCount??t.pageCount)&&e.format===t.format&&(e.sheetNumber??e.pageNumber)===(t.sheetNumber??t.pageNumber)}function Jx(e,t,n){let r=cd.get(e);r&&cd.set(t,{context:r.context,projector:r.projector,dy:r.dy+n});}var Ux=new WeakMap;function jo(e){let t=e.pages.length;if(t===0)return e;let n=HO(e.pages),r=n?.token??"",o=false,a=e.pages.map(i=>{let l=Ux.get(i);if(l&&l.pageCount===t&&l.pageRefToken===r)return l.result!==i&&(o=true),l.result;let s=i.pageFieldSource,d={pageNumber:s?.pageNumber??i.index+1,pageCount:t,sectionPageCount:s?.sectionPageCount??t,...s?.format?{format:s.format}:{},sheetNumber:i.index+1},c=p=>{if(!p)return p;let h=p.pageFieldProjector,y=0;if(!h){let w=cd.get(p);if(!w||KK(w.context,d))return p;h=w.projector,y=w.dy;}o=true;let b=h(d),{pageFieldProjector:x,box:R,...P}=b,S={...P,box:y===0?R:{...R,y:R.y+y}};return cd.set(S,{context:d,projector:h,dy:y}),S},u=c(i.header),f=c(i.footer),m=i.hasBodyPageFields===false?i.fragments:jO(i.fragments,d,n?{hosts:n.hosts,revision:e.revision}:void 0);if(u===i.header&&f===i.footer&&m===i.fragments)return Ux.set(i,{pageCount:t,pageRefToken:r,result:i}),i;m!==i.fragments&&(o=true);let g={...i,...u!==void 0?{header:u}:{},...f!==void 0?{footer:f}:{},...m!==i.fragments?{fragments:m}:{}};return Ux.set(i,{pageCount:t,pageRefToken:r,result:g}),g});return o?{...e,pages:a}:e}function ud(e,t=[],n,r,o,a,i=Ue,l,s,d,c,u,f=false,m,g){return Fa(e,t,n,r,o,a,i,l,s,d,c,u,f,m,g)}var $K="http://schemas.openxmlformats.org/officeDocument/2006/relationships",UK=64,YK=8,XK=256,pg=1584,ZK=64;function qK(e){return (e-2)/6}function zO(e,t){if(!Number.isFinite(t))return null;let n=qK(t);if(!Number.isFinite(n)||n<=0)return null;let r=e.width*n,o=e.height*n;return !Number.isFinite(r)||!Number.isFinite(o)||r<=0||o<=0||r>pg||o>pg?null:{relationshipId:e.relationshipId,width:r,height:o,authored:e}}function VO(e){return e.kind!=="textValue"}function WO(e){return !Number.isFinite(e)||e<=0?null:e>pg?pg:e}function JK(e){let t=[{node:e,depth:0}],n=0;for(;t.length>0;){let r=t.shift();if(n>=XK)return null;n+=1;let o=r.node;if(o.namespaceUri===chunkFIJZIQXA_cjs.dd){let a=chunkFIJZIQXA_cjs.hd(o),i=a?WO(chunkFIJZIQXA_cjs.gd(a.get("width"))):null,l=a?WO(chunkFIJZIQXA_cjs.gd(a.get("height"))):null;if(i!==null&&l!==null)for(let s of chunkFIJZIQXA_cjs.fd(o)){if(s.namespaceUri!==chunkFIJZIQXA_cjs.dd||s.localName!=="imagedata")continue;let d=chunkFIJZIQXA_cjs.ed(s,"id",$K);if(!(d===void 0||d.length===0||d.length>ZK))return {relationshipId:d,width:i,height:l}}}if(!(r.depth>=YK))for(let a of o.children)VO(a)&&t.push({node:a,depth:r.depth+1});}return null}function GO(e){let t=new Map;if(!e)return t;let n=0;for(let r of e.children){if(!VO(r)||r.namespaceUri!==chunkFIJZIQXA_cjs.la||r.localName!=="numPicBullet")continue;if(n>=UK)break;n+=1;let o=chunkFIJZIQXA_cjs.ed(r,"numPicBulletId",chunkFIJZIQXA_cjs.la);if(o===void 0||o.length===0||o.length>64||t.has(o))continue;let a=JK(r);a&&t.set(o,{picBulletId:o,...a});}return t}var KO=512,QK=9,lo=31680/20,e$=8,t$=128;function Eu(e,t){return e.kind!=="textValue"&&e.namespaceUri===chunkFIJZIQXA_cjs.la&&e.localName===t}function Dt(e,t){for(let n of e.attributes)if(n.localName===t)return n.value}function jn(e,t){for(let n of e.children)if(Eu(n,t))return n}function Lu(e,t=false){return e===void 0||!(t?/^-?\d{1,9}$/:/^\d{1,9}$/).test(e)?null:Number(e)}function n$(e){let t=chunkFIJZIQXA_cjs.nd(e);return t!==null&&t>=0?t:null}function r$(e){let t=e/20;return !Number.isFinite(t)||t<=0?0:t>lo?lo:t}function gg(e){let t=e/20;return Number.isFinite(t)?t>lo?lo:t<-lo?-lo:t:0}function o$(e){let t={left:0,right:0,hanging:0,firstLine:0};if(!e)return t;let n=jn(e,"ind");if(!n)return t;let r={};for(let s of ["left","right","start","end"]){let d=chunkFIJZIQXA_cjs.nd(Dt(n,s));d!==null&&(r[s]=gg(d));}let o=chunkFIJZIQXA_cjs.nd(Dt(n,"left")??Dt(n,"start")),a=chunkFIJZIQXA_cjs.nd(Dt(n,"right")??Dt(n,"end")),i=n$(Dt(n,"hanging")),l=chunkFIJZIQXA_cjs.nd(Dt(n,"firstLine"));return {...r.start!==void 0||r.end!==void 0?{authored:r}:{},left:o===null?0:gg(o),right:a===null?0:gg(a),hanging:i===null?0:r$(i),firstLine:l===null?0:gg(l),stated:{left:o!==null,right:a!==null,firstLineOffset:i!==null||l!==null}}}function a$(e){return e==="space"?"space":e==="nothing"?"nothing":"tab"}function i$(e){return e==="center"?"center":e==="right"||e==="end"?"right":"left"}function l$(e,t){let n=jn(e,t);if(!n)return false;let r=Dt(n,"val");return r!=="0"&&r!=="false"&&r!=="off"}function $O(e,t){let n=jn(e,t);if(!n)return;let r=Dt(n,"val");if(!(r===void 0||r.length===0||r.length>t$))return r}function s$(e,t){for(let n of e){if(n.localName!==t)continue;let r=n.attributes?.val;return !(r==="0"||r==="false")}return false}function UO(e){let t=Lu(Dt(e,"ilvl"));if(t===null||t<0||t>8)return null;let n=jn(e,"start"),r=1;if(n){let R=Lu(Dt(n,"val"));R!==null&&R>=0&&(r=Math.min(R,9999));}let o=jn(e,"numFmt"),a=(o?Dt(o,"val"):void 0)??"decimal",i=jn(e,"lvlText"),l=i?Dt(i,"val")??"":"",s=jn(e,"lvlJc"),d=i$(s?Dt(s,"val"):void 0),c=jn(e,"suff"),u=a$(c?Dt(c,"val"):void 0),f=jn(e,"lvlRestart"),m;if(f){let R=Lu(Dt(f,"val"));R!==null&&R>=0&&R<=9&&(m=R);}let g=jn(e,"lvlPicBulletId"),p=g?Dt(g,"val"):void 0,h=p!==void 0&&p.length>0&&p.length<=64?p:void 0,y=jn(e,"pPr"),b=jn(e,"rPr"),x=b?$e(b):[];return $p({ilvl:t,start:r,numFmt:a.length>64?"decimal":a,lvlText:l.length>64?l.slice(0,64):l,lvlJc:d,suff:u,indent:o$(y),...m!==void 0?{lvlRestart:m}:{},...h!==void 0?{picBulletId:h}:{},isLgl:l$(e,"isLgl"),runProperties:x,vanish:s$(x,"vanish")},y)}function d$(e){let t=Dt(e,"abstractNumId");if(t===void 0||t.length===0||t.length>64)return null;let n=new Map;for(let a of e.children){if(!Eu(a,"lvl"))continue;if(n.size>=9)break;let i=UO(a);i&&!n.has(i.ilvl)&&n.set(i.ilvl,i);}let r=$O(e,"numStyleLink"),o=$O(e,"styleLink");return {abstractNumId:t,levels:n,...r!==void 0?{numStyleLink:r}:{},...o!==void 0?{styleLink:o}:{}}}function c$(e){let t=Lu(Dt(e,"ilvl"));if(t===null||t<0||t>8)return null;let n=jn(e,"startOverride"),r;if(n){let i=Lu(Dt(n,"val"));i!==null&&i>=0&&(r=Math.min(i,9999));}let o=jn(e,"lvl"),a=o?UO(o)??void 0:void 0;return r===void 0&&a===void 0?{ilvl:t,override:{}}:{ilvl:t,override:{...r!==void 0?{startOverride:r}:{},...a?{level:a}:{}}}}function u$(e){let t=Dt(e,"numId");if(t===void 0||t.length===0||t.length>64)return null;let n=jn(e,"abstractNumId"),r=n?Dt(n,"val"):void 0;if(!r||r.length>64)return null;let o=new Map;for(let a of e.children){if(!Eu(a,"lvlOverride"))continue;if(o.size>=QK)break;let i=c$(a);i&&!o.has(i.ilvl)&&o.set(i.ilvl,i.override);}return {numId:t,abstractNumId:r,overrides:o}}function YO(e){let t=new Map,n=new Map;if(!e)return {abstractNums:t,nums:n};let r=0,o=0;for(let i of e.children){if(Eu(i,"abstractNum")){if(r>=KO)continue;r+=1;let l=d$(i);l&&!t.has(l.abstractNumId)&&t.set(l.abstractNumId,l);continue}if(Eu(i,"num")){if(o>=KO)continue;o+=1;let l=u$(i);l&&!n.has(l.numId)&&n.set(l.numId,l);}}let a=GO(e);return a.size>0?{abstractNums:t,nums:n,pictureBullets:a}:{abstractNums:t,nums:n}}function f$(e,t,n){let r=new Set([t.abstractNumId]),o=t;for(let a=0;a<e$;a+=1){let i=o.numStyleLink;if(i===void 0)return o;let l=n(i);if(l===void 0)return null;let s=e.nums.get(l);if(!s)return null;let d=e.abstractNums.get(s.abstractNumId);if(!d||r.has(d.abstractNumId))return null;r.add(d.abstractNumId),o=d;}return null}function XO(e,t){let n=false,r=new Map(e.abstractNums);for(let[o,a]of e.abstractNums){if(a.numStyleLink===void 0)continue;let i=f$(e,a,t);!i||i.levels===a.levels||i.levels.size===0||(r.set(o,{...a,levels:i.levels}),n=true);}return n?e.pictureBullets?{abstractNums:r,nums:e.nums,pictureBullets:e.pictureBullets}:{abstractNums:r,nums:e.nums}:e}function fd(e,t,n){if(n<0||n>8)return null;let r=e.nums.get(t);if(!r)return null;let o=e.abstractNums.get(r.abstractNumId);if(!o)return null;let a=r.overrides.get(n),i=a?.level??o.levels.get(n);return i?{abstractNumId:r.abstractNumId,level:i,...a?.startOverride!==void 0?{startOverride:a.startOverride}:{}}:null}var hg=Object.freeze({abstractNums:new Map,nums:new Map});function m$(e,t){let n=e.nums.get(t),r=[];for(let o=0;o<=8;o+=1){let a=fd(e,t,o);if(!a){r.push(1);continue}let i=n?.overrides.get(o)?.startOverride;r.push(i??a.level.start);}return r}function p$(e,t,n){let r=[];for(let o=0;o<=8;o+=1){let a=fd(e,t,o);r.push(a?.level.numFmt??"decimal");}return {formats:r,starts:[...n]}}function qO(e,t){return t?e.map(n=>n==="bullet"||n==="none"?n:"decimal"):e}function g$(e,t){if(t===0)return null;if(t===void 0)return e-1;let n=t-1;return n>=e?null:n}function JO(e){let t=new Map,n=new Map,r=new Map,o=a=>{let i=t.get(a);i||(i=[0,0,0,0,0,0,0,0,0],t.set(a,i));let l=n.get(a);l||(l=[false,false,false,false,false,false,false,false,false],n.set(a,l));let s=r.get(a);return s||(s=m$(e,a),r.set(a,s)),{counters:i,initialized:l,starts:s}};return {advance(a,i){if(i<0||i>8||a.length===0||a.length>64)return null;let l=fd(e,a,i);if(!l)return null;let{abstractNumId:s,level:d}=l,{counters:c,initialized:u,starts:f}=o(a),{formats:m}=p$(e,a,f);for(let P=i+1;P<=8;P+=1){let S=fd(e,a,P);if(!S)continue;let w=g$(P,S.level.lvlRestart);w!==null&&i<=w&&(u[P]=false);}let g=f[i]??d.start;u[i]?c[i]+=1:(c[i]=g,u[i]=true);let p=c.slice(),h=u.slice(),y=p.map((P,S)=>h[S]?P:f[S]??1),b=qO(m,d.isLgl),x=d.vanish?"":d.numFmt==="bullet"&&!/%[1-9]/.test(d.lvlText)?d.lvlText:Dx(d.lvlText,y,b),R={abstractNumId:s,numId:a,ilvl:i,level:d,counters:p,markerText:x};return QO.set(R,y),R}}}var QO=new WeakMap;function eC(e){return QO.get(e)??e.counters}var h$=/[\p{L}\s]/u;function y$(e){let t="";for(let n=0;n<e.length;n+=1){let r=e[n],o=e[n+1];if(r==="%"&&o!==void 0&&o>="1"&&o<="9"){t+=r+o,n+=1;continue}h$.test(r)||(t+=r);}return t}var ZO=new WeakMap;function tC(e,t){let n=ZO.get(e);n||(n=new Map,ZO.set(e,n));let r=n.get(t);if(!r){let o=[];for(let a=0;a<=8;a+=1)o.push(fd(e,t,a)?.level??null);r=o,n.set(t,r);}return r}function nC(e,t=false,n=false){let{ilvl:r,expandCounters:o}=e;if(r<0||r>8)return null;let a=[],i=[];for(let u=0;u<=8;u+=1){let f=e.levels[u]??null;a.push(u<=r?f:null),i.push(f?.numFmt??"decimal");}let l=u=>u!==null&&u.numFmt!=="bullet"&&u.numFmt!=="none"&&u.lvlText.length>0;if(!l(a[r]??null))return null;let s=[],d=[];for(let u=r;u>=0&&!(t&&u!==r);u-=1){let f=a[u];l(f)&&(u!==r&&d.some(m=>m.includes(`%${u+1}`))||(s.push(u),d.push(f.lvlText)));}s.reverse();let c="";for(let u of s){let f=a[u],m=n?y$(f.lvlText):f.lvlText;c+=Dx(m,o,qO(i,f.isLgl));}return c.length>0?c:null}var rC=new Map;function b$(e){let t=rC.get(e);return t||(t=je([{localName:"rFonts",attributes:{ascii:e,hAnsi:e,hint:"default"}}]),rC.set(e,t)),t}var oC=new Map,Qx=new WeakMap;function aC(e){let t=e?.hasResolvedFont;if(!e||!t)return;let n=Qx.get(e);if(n!==void 0)return n??void 0;let r=[];for(let i of chunkFIJZIQXA_cjs.a){let l=false;try{l=t.call(e,b$(i))===!0;}catch{l=false;}l&&r.push(i);}if(r.length===0){Qx.set(e,null);return}let o=r.join("|"),a=oC.get(o);if(!a){let i=new Set(r);a=l=>i.has(l.toLowerCase()),oC.set(o,a);}return Qx.set(e,a),a}function md(e,t){if(e.kind!=="textValue"){for(let n of e.children)if(n.kind!=="textValue"&&n.namespaceUri===chunkFIJZIQXA_cjs.la&&n.localName===t)return n}}function Gee(e){if(e.kind==="textValue")return false;let t=md(e,"paragraphProperties")??md(e,"pPr");if(!t)return false;let n=md(t,"runProperties")??md(t,"rPr");return n===void 0?false:md(n,"del")!==void 0||md(n,"moveFrom")!==void 0}function yg(e,t,n,r,o=[],a=false){if(e.kind==="textValue")return true;if(t>=chunkFIJZIQXA_cjs.wa)return !a;let i=(l,s)=>{for(let d of l){if(d.kind==="textValue")continue;if(d.kind==="run"){if(a&&P$(d))continue;for(let f of d.children){if(f.kind==="text"){for(let m of f.children)if(m.kind==="textValue"&&m.value.length>0)return false;continue}if(f.kind!=="runProperties")return false}continue}if(chunkFIJZIQXA_cjs.Uc(d)){if(s+1>=chunkFIJZIQXA_cjs.wa){if(a)return false;continue}let f=chunkFIJZIQXA_cjs.Wc(d);if(f&&!i(f,s+1))return false;continue}if(chunkFIJZIQXA_cjs.ya(d)&&!Cn(d)){if(!yg(d,s+1,n,r,o,a))return false;continue}if(!Cn(d)){if(a&&!S$(d))return false;continue}let c=_n(d);if(!c)continue;let u=Jn(o,c);if(Ye(u,n,r)&&!yg(d,s+1,n,r,u,a))return false}return true};return i(e.children,t)}var x$=new Set(["pPr","bookmarkStart","bookmarkEnd","commentRangeStart","commentRangeEnd","moveFromRangeStart","moveFromRangeEnd","moveToRangeStart","moveToRangeEnd","permStart","permEnd","proofErr"]);function S$(e){return e.kind==="paragraphProperties"?true:e.namespaceUri===chunkFIJZIQXA_cjs.la&&x$.has(e.localName)}function P$(e){let t=e.children.find(n=>n.kind==="runProperties");return t!==void 0&&chunkFIJZIQXA_cjs.Aa(t,"vanish")}function iC(e,t,n){return yg(e,0,t,n,[],true)}function eS(e,t,n){if(t==="all-markup"&&!n)return false;for(let r of si(e)){let o=n?lu(n,r,t):t;if(o==="all-markup")continue;let a=r.kind==="delete"||r.kind==="moveFrom";if(o==="proposed"&&a||o==="original"&&!a)return true}return false}function lC(e,t="proposed",n){return e.kind!=="paragraph"||!eS(e,t,n)?false:yg(e,0,t,n)}function bg(e,t){if(e.kind!=="textValue"){for(let n of e.children)if(n.kind!=="textValue"&&n.namespaceUri===chunkFIJZIQXA_cjs.la&&n.localName===t)return n}}var sC=new WeakMap;function R$(e){let t=sC.get(e);if(t!==void 0)return t;let n=bg(e,"pPr"),r=n&&bg(n,"rPr"),o=r!==void 0&&(chunkFIJZIQXA_cjs.Aa(r,"vanish")||chunkFIJZIQXA_cjs.Aa(r,"specVanish"));return sC.set(e,o),o}function w$(e){let t=bg(e,"pPr");return t!==void 0&&bg(t,"sectPr")!==void 0}var cC=new WeakMap,uC=new WeakMap,dC=new WeakMap;function tS(e){return uC.get(e)}function k$(e,t){let n=dC.get(e);if(n&&n.neighbours.before===t.before&&n.neighbours.after===t.after)return n.standIn;let r={...e};return uC.set(r,t),dC.set(e,{neighbours:t,standIn:r}),r}function fC(e,t,n,r=()=>true){let o=null,a;for(let c=e.length-1;c>=0;c-=1){let u=e[c],{block:f}=u;if(f.kind==="paragraph"&&a?.block.kind==="paragraph"&&a.parentKey===u.parentKey&&R$(f)&&!w$(f)&&iC(f,t,n)){(o??=new Set).add(c);continue}a=u;}if(o===null)return e.map(c=>c.block);let i=o,l=(c,u)=>{let f=e[c+u];return f&&i.has(c+u)&&f.parentKey===e[c].parentKey?f.block:void 0},s=e.map((c,u)=>{let{block:f}=c;if(i.has(u)||f.kind!=="paragraph"||!r(f))return f;let m=l(u,-1),g=l(u,1);return !m&&!g?f:k$(f,{...m?{before:m}:{},...g?{after:g}:{}})}),d=s.filter((c,u)=>!i.has(u));return cC.set(d,s),d}function mC(e){return cC.get(e)??e}function pd(e,t){return e.picBullet?e.picBullet.width:t.measure(e.markerText,e.markerStyle)}function pC(e){return e.markerText.length>0||e.picBullet!==void 0}function nS(e,t,n,r){return pC(e)?{x:gC(e,t),y:n,width:Math.max(t,0),height:r}:null}function gC(e,t){let n=e.indent.left,r=e.indent.hanging,o=r>0?-r:e.indent.firstLine,a=Math.min(0,n),l=Math.max(a,n+o);return e.markerAlign==="right"?l-=t:e.markerAlign==="center"&&(l-=t/2),l<a&&(l=a),l}function T$(e,t){return e.stops.find(n=>!n.implied&&n.positionPt>t)}function hC(e,t,n=du,r=Number.POSITIVE_INFINITY){let o=pC(e)?Math.max(pd(e,t),0):0,a=e.indent.left,i=gC(e,o)+o;if(e.suffix==="nothing")return i-a;if(e.suffix==="space")return i+t.measure(" ",e.markerStyle)-a;if(i<=a){let l=T$(n,i);return !l||l.positionPt>=a&&!n.ignoreIndentAsNumberingTabStop?0:Math.min(l.positionPt,Math.max(i,r))-a}return bl(n,i,r,true).positionPt-a}function rS(e,t,n,r,o){return e?hC(e,n,r,o===void 0?void 0:t.left+o):t.hanging>0?-t.hanging:t.firstLine}var iS=new WeakMap;function yte(e,t){let n=t.dependencyKeys.size===0||[...t.dependencyKeys].every(r=>r===chunkFIJZIQXA_cjs.l.story);iS.set(e,{preservesNumberedSequence:t.impact==="text-local"&&!t.structural&&t.created.size===0&&t.deleted.size===0&&n});}function F$(e){let t=iS.get(e);return iS.delete(e),t}var TC=new WeakMap;function vC(e){return TC.get(e)}function lS(e){return e.kind!=="textValue"}function yC(e,t){for(let n of e.attributes)if(n.localName===t)return n.value}function xg(e,t){for(let n of e.children)if(lS(n)&&n.localName===t)return n}function FC(e){if(!lS(e))return null;let t=xg(e,"numPr");if(!t)return null;let n=xg(t,"numId"),r=xg(t,"ilvl"),o;if(n){let i=yC(n,"val");o=i!==void 0&&i!=="0"&&i.length<=64?i:null;}let a;if(r){let i=yC(r,"val"),l=/^\d{1,2}$/.test(i??"")?Number(i):0;a=l<=8?l:null;}return {numId:o,ilvl:a}}function O$(e){let t=null,n=0;for(let r of e){let o=FC(r);o&&(o.numId!==void 0&&(t=o.numId),o.ilvl!==void 0&&(o.ilvl===null?t=null:n=o.ilvl));}return t===null?null:{numId:t,ilvl:n}}function C$(e,t){let n=new Set,r=e.styles.get(t);for(let o=0;r!==void 0&&o<Up;o+=1){if(n.has(r.styleId))return;n.add(r.styleId);let a=r.paragraphPropertiesNode,i=a?FC(a):null;if(i&&i.numId!==void 0)return i.numId??void 0;r=r.basedOn===null?void 0:e.styles.get(r.basedOn);}}var oS=new WeakMap;function Sg(e,t){if(!t)return e;let n=oS.get(e);if(n&&n.styleCascade===t)return n.linked;let r=XO(e,a=>C$(t,a)),o={styleCascade:t,linked:r};return oS.set(e,o),oS.set(r,o),r}function bC(e){return Number.isFinite(e)?e>lo?lo:e<-lo?-lo:e:0}function xC(e){let t=null;for(let n of e){if(n.localName!=="ind")continue;let r=n.attributes?.hanging,o=n.attributes?.firstLine;if(r===void 0&&o===void 0)continue;let a=chunkFIJZIQXA_cjs.nd(r),i=chunkFIJZIQXA_cjs.nd(o);t={hanging:a!==null&&a>=0?bC(a/20):0,firstLine:i!==null?bC(i/20):0};}return t}function OC(e){return e.some(t=>t.localName==="ind"&&(t.attributes?.left!==void 0||t.attributes?.start!==void 0))}function CC(e){return e.some(t=>t.localName==="ind"&&(t.attributes?.right!==void 0||t.attributes?.end!==void 0))}function SC(e,t){return t?CC(e):OC(e)}function PC(e,t){return t?OC(e):CC(e)}function I$(e,t,n=[]){let r=at([...t,...n]),o={localName:"bidi",attributes:{val:r?"1":"0"}};r&&(e={...e,left:e.right,right:e.left,...e.stated?{stated:{...e.stated,left:e.stated.right,right:e.stated.left}}:{}});let a=e.stated??{left:false,right:false,firstLineOffset:false},i=hd([...t,o]),l=hd([...n,o]),s={hanging:e.hanging,firstLine:e.firstLine},d=SC(n,r)?l.left:a.left?e.left:SC(t,r)?i.left:e.left,c=PC(n,r)?l.right:a.right?e.right:PC(t,r)?i.right:e.right,u=xC(n)??(a.firstLineOffset?s:xC(t)??s);return {left:d,right:c,...u}}var RC=new WeakMap;function IC(e,t){let n=RC.get(e);if(n&&n.styleCascade===t)return n;let r=e.children.find(f=>f.kind==="paragraphProperties"),o=t?nr(t,r):null,a=o?o.paragraphPropertyNodes:r?[r]:[],i=r&&lS(r)?xg(r,"rPr"):void 0,l=O$(a),s=l&&t&&o?DC(t,o.styleId,r):{below:[],above:$e(r)},d=o?o.markRunProperties:$e(i),c=er(e)?[...d.filter(f=>f.localName!=="vanish"),...o?.runProperties.filter(f=>f.localName==="vanish")??[]]:d,u={styleCascade:t,numPr:l,belowLevel:s.below,aboveLevel:s.above,inheritedMarkProps:c,perLevel:new WeakMap};return RC.set(e,u),u}function Au(e,t,n,r){let o=new Map;if(t.nums.size===0)return o;let a=Sg(t,n),i=JO(a);for(let l of hi(e)){let s=IC(l,n),d=s.numPr;if(!d)continue;let c=i.advance(d.numId,d.ilvl);if(!c)continue;let u=s.perLevel.get(c.level);if(!u){let S=I$(c.level.indent,s.belowLevel,s.aboveLevel),w=rr(s.inheritedMarkProps,c.level.runProperties,n);u={indent:S,markerStyle:je(w,n?.themeFonts)},s.perLevel.set(c.level,u);}let{indent:f,markerStyle:m}=u,p=(c.level.numFmt==="bullet"?chunkFIJZIQXA_cjs.e:chunkFIJZIQXA_cjs.d)(c.markerText,m.fontFamily,r),h=m,y=c.level.picBulletId===void 0?void 0:a.pictureBullets?.get(c.level.picBulletId),b=y?zO(y,h.fontSizePt)??void 0:void 0,x=[c.numId,c.ilvl,c.level.numFmt,c.level.lvlText,f.left,f.right,f.hanging,f.firstLine,c.level.lvlJc,c.level.suff,c.level.vanish?1:0,gF(c.level),p,EO(h),b?`${b.relationshipId}:${b.width}:${b.height}`:""].map(String),R=de(x),P={numId:c.numId,ilvl:c.ilvl,abstractNumId:c.abstractNumId,numFmt:c.level.numFmt,markerText:p,...c.level.numFmt==="bullet"?{}:{ordinal:c.counters[c.ilvl]??1},markerAlign:c.level.lvlJc,suffix:c.level.suff,indent:f,markerStyle:h,...b?{picBullet:b}:{},cacheToken:R};$p(P,Su(c.level)),_C(P,de([...x.slice(0,12),...x.slice(13)])),TC.set(P,{levels:tC(a,c.numId),ilvl:c.ilvl,expandCounters:eC(c)}),o.set(l.id,P);}return o}var MC=new WeakMap,BC=new WeakMap;function M$(e){return e.isFontAvailable??aC(e.measurer)}function wC(e,t,n,r){let o=r?BC.get(r):MC.get(n);if(o&&o.rawIndex===e.numberingIndex&&o.styleCascade===e.styleCascade&&o.isFontAvailable===t)return o}function B$(e,t,n){t?BC.set(t,n):MC.set(e,n);}function LC(e,t,n){let r=mC(t),o=M$(e);if(e.listItems===void 0){let s=wC(e,o,r,n);if(s&&n===void 0)return {...e,numberingIndex:s.linkedIndex,...s.listItems?{listItems:s.listItems}:{}}}let a=e.listItems===void 0?wC(e,o,r,n):void 0,i=a&&a.rawIndex===e.numberingIndex&&a.styleCascade===e.styleCascade&&a.isFontAvailable===o?a.linkedIndex:Sg(e.numberingIndex??hg,e.styleCascade),l=e.listItems??(i.nums.size>0?A$(r,e.numberingIndex,i,e.styleCascade,o,n):void 0);return e.listItems===void 0&&B$(r,n,{rawIndex:e.numberingIndex,styleCascade:e.styleCascade,isFontAvailable:o,linkedIndex:i,listItems:l}),{...e,numberingIndex:i,...l?{listItems:l}:{}}}function yd(e,t){return LC(e,t,void 0)}function EC(e,t,n){let r=LC(e,t,n);return HC(r.listItems,e.measurer),r}var kC=new WeakMap,L$=Object.freeze([]);function AC(e,t){return NC(e,t).length>0}function NC(e,t){let n=kC.get(e);if(n&&n.styleCascade===t)return n.numbered;let r=hi([e]).filter(a=>IC(a,t).numPr!==null),o=r.length>0?r:L$;return kC.set(e,{styleCascade:t,numbered:o}),o}var gd=new WeakMap,aS=new WeakMap;function E$(e,t){return e.length===t.length&&e.every((n,r)=>{let o=t[r];if(!o||n.id!==o.id)return false;let a=n.children.find(l=>l.kind==="paragraphProperties"),i=o.children.find(l=>l.kind==="paragraphProperties");return a===i})}function A$(e,t,n,r,o,a){let i=e[0],l=e[e.length-1],s=a?aS.get(a):(i?gd.get(i):void 0)??(l?gd.get(l):void 0);if((a?F$(a):void 0)?.preservesNumberedSequence&&s&&s.rawIndex===t&&s.styleCascade===r&&s.isFontAvailable===o)return s.listItems;let c=new Array(e.length),u=s!==void 0&&s.rawIndex===t&&s.styleCascade===r&&s.isFontAvailable===o&&s.blocks.length===e.length;for(let g=0;g<e.length;g+=1){let p=e[g],h=s&&s.blocks[g]===p?s.numberedByBlock[g]:NC(p,r);c[g]=h,u&&!E$(h,s.numberedByBlock[g])&&(u=false);}if(s&&u){let g={...s,blocks:e,numberedByBlock:c};return a?aS.set(a,g):(i&&gd.set(i,g),l&&l!==i&&gd.set(l,g)),s.listItems}let f=Au(e,n,r,o),m={rawIndex:t,styleCascade:r,isFontAvailable:o,blocks:e,numberedByBlock:c,listItems:f};return a?aS.set(a,m):(i&&gd.set(i,m),l&&l!==i&&gd.set(l,m)),f}function Rte(e,t,n){return bd(e,t,()=>n)}function bd(e,t,n){let r=[],o=null,a=-1,i=-1;for(let l of t){let s=n(l.sectionIndex);if(l.customMarkFollows){r.push({noteId:l.noteId,mark:null});continue}o===null?(o=s.numStart,a=l.sectionIndex,i=l.pageIndex??-1):s.numRestart==="eachSect"&&l.sectionIndex!==a?(o=s.numStart,a=l.sectionIndex):s.numRestart==="eachPage"&&l.pageIndex!==void 0&&l.pageIndex!==i?(o=s.numStart,i=l.pageIndex):s.numRestart==="eachSect"?a=l.sectionIndex:s.numRestart==="eachPage"&&l.pageIndex!==void 0&&(i=l.pageIndex);let d=o;o+=1,r.push({noteId:l.noteId,mark:Ho(s.numFmt,d),displayNumber:d});}return r}function N$(e){let t=new Map;for(let n of e)t.set(n.noteId,n.mark);return t}var D$=["top","left","bottom","right"];function sS(e,t){if(!(e.kind==="textValue"||!("attributes"in e))){for(let n of e.attributes??[])if(n.localName===t)return n.value}}function Nu(e,t){if(e.kind!=="textValue"){for(let n of e.children??[])if(n.kind!=="textValue"&&"localName"in n&&n.localName===t)return n}}function Pg(e){let t=ri(e);if(!(!t||!nT(t.val)))return t}function _$(e){return e==="firstPage"||e==="notFirstPage"?e:"allPages"}function jC(e){let t=Nu(e,"pgBorders");if(!t)return;let n=Pg(Nu(t,"top")),r=Pg(Nu(t,"left")),o=Pg(Nu(t,"bottom")),a=Pg(Nu(t,"right"));if(!(!n&&!r&&!o&&!a))return {offsetFrom:sS(t,"offsetFrom")==="page"?"page":"text",display:_$(sS(t,"display")),zOrder:sS(t,"zOrder")==="back"?"back":"front",...n?{top:n}:{},...r?{left:r}:{},...o?{bottom:o}:{},...a?{right:a}:{}}}function Rg(e){if(!e)return "";let t=[e.offsetFrom,e.display,e.zOrder];for(let n of D$){let r=e[n];r&&t.push(`${n}:${r.val},${r.color??"auto"},${r.widthPt},${r.spacePt}`);}return t.join(",")}function so(e){return Math.abs(e)}function dS(e){return e<0}function xd(e){return {top:so(e.margin.top),bottom:so(e.margin.bottom)}}var cS=4096,co=Object.freeze({pageSize:Object.freeze({widthTwips:12240,heightTwips:15840}),margins:Object.freeze({topTwips:1440,rightTwips:1440,bottomTwips:1440,leftTwips:1440,headerTwips:720,footerTwips:720,gutterTwips:0}),columns:Object.freeze({count:1,gapTwips:720,equalWidth:true,separator:false,definitions:Object.freeze([])}),landscape:false,titlePage:false,breakType:"nextPage"});function WC(e,t,n=31680*2){let r=chunkFIJZIQXA_cjs.nd(e);return r===null||r<=0||r>n?t:r}function _l(e,t){let n=chunkFIJZIQXA_cjs.nd(e);return n===null||Math.abs(n)>31680?t:n}function fS(e,t,n=31680){let r=chunkFIJZIQXA_cjs.nd(e);return r===null||r<0||r>n?t:r}var _t=(e,t)=>{if(!(e.kind==="textValue"||!("attributes"in e))){for(let n of e.attributes??[])if(n.localName===t)return n.value}},bi=(e,t)=>{if(e.kind!=="textValue"){for(let n of e.children??[])if(n.kind!=="textValue"&&"localName"in n&&n.localName===t)return n}};function zC(e,t,n){let r=_t(e,t);return r===void 0?n:r==="0"||r==="false"||r==="off"||r==="no"?false:r==="1"||r==="true"||r==="on"||r==="yes"?true:n}function H$(e){if(!e)return 1;let t=_t(e,"num");return !t||!/^\d{1,7}$/.test(t)?1:Math.max(1,Math.min(12,Number(t)))}function j$(e,t,n){if(!e||e.kind==="textValue")return [];let r=[];for(let o of e.children??[]){if(r.length>=t)break;if(o.kind==="textValue"||!("localName"in o)||o.localName!=="col")continue;let a=_t(o,"w"),i=a===void 0?n:fS(a,-1,31680),l=r.length===t-1,s=_t(o,"space"),d=l||s===void 0?0:fS(s,-1);if(i<0||d<0)return [];r.push({widthTwips:i,gapTwips:d});}return r.length===t?r:[]}function W$(e){let t=e?bi(e,"type"):void 0,n=t?_t(t,"val"):void 0;return n==="continuous"||n==="evenPage"||n==="oddPage"||n==="nextColumn"?n:"nextPage"}var z$=new Set(["hyphen","period","colon","emDash","enDash"]);function V$(e){let t=bi(e,"pgNumType");if(!t||t.kind==="textValue")return;let n={},r=_t(t,"start");if(r!==void 0&&/^-?\d{1,7}$/.test(r)){let l=Number(r);Number.isFinite(l)&&l>=0&&l<=9999&&(n.start=l);}let o=_t(t,"fmt");o!==void 0&&o.length>0&&o.length<=64&&!/[<>&"']/.test(o)&&(n.fmt=o);let a=_t(t,"chapStyle");if(a!==void 0&&/^\d{1,2}$/.test(a)){let l=Number(a);Number.isFinite(l)&&l>=0&&l<=9&&(n.chapStyle=l);}let i=_t(t,"chapSep");return i!==void 0&&z$.has(i)&&(n.chapSep=i),n}var VC=new WeakMap;function uS(e){if(!e)return co;let t=VC.get(e);if(t!==void 0)return t;let n=G$(e);return VC.set(e,n),n}function G$(e){let t=bi(e,"pgSz"),n=bi(e,"pgMar"),r=bi(e,"cols"),o=co,a=bi(e,"docGrid"),i=a?_t(a,"type"):void 0,l=a?_t(a,"linePitch"):void 0,s=l!==void 0&&/^\d{1,7}$/.test(l)&&Number(l)<=31680?Number(l):0,d=t?_t(t,"orient"):void 0,c=t?WC(_t(t,"w"),o.pageSize.widthTwips):o.pageSize.widthTwips,u=t?WC(_t(t,"h"),o.pageSize.heightTwips):o.pageSize.heightTwips,f=V$(e),m=jC(e),g=H$(r),p=r?fS(_t(r,"space"),o.columns.gapTwips):o.columns.gapTwips,h=r?zC(r,"equalWidth",true):true,y={topTwips:n?_l(_t(n,"top"),1440):o.margins.topTwips,rightTwips:n?_l(_t(n,"right"),1440):o.margins.rightTwips,bottomTwips:n?_l(_t(n,"bottom"),1440):o.margins.bottomTwips,leftTwips:n?_l(_t(n,"left"),1440):o.margins.leftTwips,headerTwips:n?_l(_t(n,"header"),720):o.margins.headerTwips,footerTwips:n?_l(_t(n,"footer"),720):o.margins.footerTwips,gutterTwips:n?_l(_t(n,"gutter"),0):o.margins.gutterTwips},b=c-y.leftTwips-y.rightTwips-y.gutterTwips;return {...(i==="lines"||i==="linesAndChars"||i==="snapToChars")&&s>0?{gridLinePitchTwips:s}:{},pageSize:{widthTwips:c,heightTwips:u},margins:y,columns:{count:g,gapTwips:p,equalWidth:h,separator:r?zC(r,"sep",false):false,definitions:h?[]:j$(r,g,b)},landscape:d==="landscape"||c>u,titlePage:chunkFIJZIQXA_cjs.Aa(e,"titlePg"),breakType:W$(e),...f!==void 0?{pageNumbering:f}:{},...m!==void 0?{pageBorders:m}:{}}}function Hl(e){let t=e?.gridLinePitchTwips;return t===void 0?void 0:t/20}function K$(e){let t=n=>{if(n.kind!=="textValue"){if(n.kind==="body")return bi(n,"sectPr");for(let r of n.children??[]){let o=t(r);if(o)return o}}};return t(e.root)}var GC=new WeakMap;function Wn(e){let t=GC.get(e);if(t!==void 0)return t??void 0;let n=e.children.find(a=>a.kind==="paragraphProperties"),r=n?bi(n,"sectPr"):void 0,o=r&&r.kind!=="textValue"?r:void 0;return GC.set(e,o??null),o}function Ete(e){let t=mS(e);return t[t.length-1]?.properties??co}function mS(e,t="all-markup",n){return pS(e,t,n).sections}function $C(e,t="all-markup",n){let r=Nr(e,t,n),o=Oa(e,r).sections,a=Nr(e,"all-markup"),i=Oa(e,a).sections,l=Math.max(0,i.length-1),s=new Map;for(let d of i){if(d.blockStart===d.blockEndExclusive)continue;let c=a[d.blockEndExclusive-1];c?.kind==="paragraph"&&Wn(c)&&s.set(c.id,d.index);}return o.map(d=>{if(d.blockStart===d.blockEndExclusive)return l;let c=r[d.blockEndExclusive-1];return c?.kind!=="paragraph"||!Wn(c)?l:s.get(c.id)??l})}function pS(e,t="all-markup",n){return Oa(e,Nr(e,t,n))}var KC=chunkFIJZIQXA_cjs.ub(16);function Oa(e,t){let n=KC.get(t);if(n&&n.part===e)return n.result;let r=$$(e,t);return KC.set(t,{part:e,result:r}),r}function $$(e,t){let n=[],r=0,o=false;for(let i=0;i<t.length;i+=1){let l=t[i];if(l.kind!=="paragraph")continue;let s=Wn(l);if(s){if(n.length>=cS){o=true;continue}n.push({index:n.length,properties:uS(s),blockStart:r,blockEndExclusive:i+1}),r=i+1;}}if(o){if(n.length>0){let i=n[n.length-1];n[n.length-1]={...i,blockEndExclusive:t.length};}return {sections:n,truncated:true}}let a=K$(e);if(r<t.length||n.length===0){if(n.length>=cS){let i=n[n.length-1];return n[n.length-1]={...i,blockEndExclusive:t.length},{sections:n,truncated:true}}n.push({index:n.length,properties:uS(a),blockStart:r,blockEndExclusive:t.length});}else if(a){if(n.length>=cS)return {sections:n,truncated:true};n.push({index:n.length,properties:uS(a),blockStart:r,blockEndExclusive:t.length});}return {sections:n,truncated:o}}function xi(e){let t=chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(e.pageSize.widthTwips)),n=chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(e.pageSize.heightTwips)),r=chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(e.margins.leftTwips+e.margins.gutterTwips)),o=chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(e.margins.rightTwips)),a=chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(e.margins.topTwips)),i=chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(e.margins.bottomTwips));return t-r-o<=0||n-so(a)-so(i)<=0?au:{width:t,height:n,margin:{top:a,right:o,bottom:i,left:r},headerDistance:chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(Math.max(0,e.margins.headerTwips))),footerDistance:chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(Math.max(0,e.margins.footerTwips)))}}var UC=4096,YC=new WeakMap;function JC(e,t){let n=YC.get(e);if(n&&n.sections===t)return n.input;let r={sections:t,footnotePropsBySection:e.footnotePropsBySection,endnotePropsBySection:e.endnotePropsBySection,documentFootnoteProps:e.documentFootnoteProps,documentEndnoteProps:e.documentEndnoteProps};return YC.set(e,{sections:t,input:r}),r}function $te(e,t,n){let r=chunkFIJZIQXA_cjs.Tg(e),o=chunkFIJZIQXA_cjs.Ug(r),a=chunkFIJZIQXA_cjs.Vg(r),i=chunkFIJZIQXA_cjs.Wg(void 0,o),l=chunkFIJZIQXA_cjs.Xg(void 0,a),s=Oa(t,n).sections,d=c=>{if(c.blockStart===c.blockEndExclusive)return;let u=n[c.blockEndExclusive-1];return u?.kind==="paragraph"?Wn(u):void 0};return {sections:s,footnotePropsBySection:s.map(c=>chunkFIJZIQXA_cjs.Wg(chunkFIJZIQXA_cjs.Rg(d(c)),o)),endnotePropsBySection:s.map(c=>chunkFIJZIQXA_cjs.Xg(chunkFIJZIQXA_cjs.Sg(d(c)),a)),documentFootnoteProps:i,documentEndnoteProps:l}}var U$=Object.freeze([]);function Y$(e){for(let t of e.attributes){if(t.localName!=="customMarkFollows"||t.namespaceUri!==chunkFIJZIQXA_cjs.la&&t.namespaceUri!=="")continue;let n=t.value;return !(n==="0"||n==="false"||n==="off")}return false}var XC=new chunkFIJZIQXA_cjs.mf;function X$(e){let t=XC.get(e);if(t)return t;let n=null;for(let o of chunkFIJZIQXA_cjs.hg(e)){let a=o.node;if(a.kind!=="noteReference")continue;let i=chunkFIJZIQXA_cjs.Bc(a),l=chunkFIJZIQXA_cjs.yc(a);i===null||l===null||(n??=[]).push({nodeId:a.id,noteKind:i,noteId:l,customMarkFollows:Y$(a)});}let r=n===null?U$:Object.freeze(n);return XC.set(e,r),r}function Z$(e,t){return e.footnotePropsBySection[t]??e.footnotePropsBySection[0]??e.documentFootnoteProps}function q$(e,t){return e.endnotePropsBySection[t]??e.endnotePropsBySection[0]??e.documentEndnoteProps}var J$=new Map,ZC=new chunkFIJZIQXA_cjs.mf;function QC(e,t){let n=ZC.get(e);if(n&&n.input===t)return n.index;let r=[],o=[],a=[],i=[],l=0,s=0;for(let f=0;f<e.length&&l<UC;f+=1){for(;s<t.sections.length-1&&f>=t.sections[s].blockEndExclusive;)s+=1;let m=t.sections.length>0?s:0;for(let g of hi([e[f]]))for(let p of X$(g)){if(l>=UC)break;l+=1;let h={noteId:p.noteId,sectionIndex:m,customMarkFollows:p.customMarkFollows};p.noteKind==="footnote"?(r.push(h),o.push(p.nodeId)):(a.push(h),i.push(p.nodeId));}}let d=null,c=(f,m,g,p)=>{if(m.length===0||(f==="footnote"?t.footnotePropsBySection.length>0?t.footnotePropsBySection:[t.documentFootnoteProps]:t.endnotePropsBySection.length>0?t.endnotePropsBySection:[t.documentEndnoteProps]).some(b=>b.numRestart==="eachPage"))return;let y=bd(f,m,p);for(let b=0;b<y.length;b+=1){let x=y[b].mark,R=g[b];x!==null&&x.length>0&&R!==void 0&&(d??=new Map).set(R,x);}};c("footnote",r,o,f=>Z$(t,f)),c("endnote",a,i,f=>q$(t,f));let u=d??J$;return ZC.set(e,{input:t,index:u}),u}function gS(e,t){for(let n of e.attributes)if(n.namespaceUri===chunkFIJZIQXA_cjs.la&&n.localName===t)return n.value}var qC=new WeakMap;function eI(e,t){let n=qC.get(e),r=n?.get(t);if(r!==void 0)return r;let o=false,a=false,i,l=null,s=wa(),d=(c,u,f)=>{if(a||c.kind==="textValue"||f>=chunkFIJZIQXA_cjs.wa||s.exhausted||u>Kt)return;if(c.kind==="bookmarkStart"){!o&&gS(c,"name")===t&&(o=true,i=gS(c,"id"));return}if(c.kind==="bookmarkEnd"){o&&i!==void 0&&gS(c,"id")===i&&(a=true);return}if(o&&c.kind==="noteReference"){l=c.id,a=true;return}if(!$t(s))return;let m=chunkFIJZIQXA_cjs.xa(c,f);for(let g of c.children)d(g,u+1,m);};for(let c of e.children){if(a||!$t(s))break;d(c,1,0);}return n||(n=new Map,qC.set(e,n)),n.set(t,l),l}function Si(e,t,n){if(!e.has(t)&&e.size>=8){let r=e.keys().next();r.done||e.delete(r.value);}e.set(t,n);}var Q$=512,e2=2048,tI=4096,cI=Object.freeze([]),uI=Object.freeze([]),t2=Object.freeze({fields:uI,bookmarks:cI});function yS(e){return e.replace(/\u00A0/g," ").replace(/\s+/g," ").trim()}var nI=new WeakMap;function n2(e){let t=nI.get(e);if(t)return t;let n=null,r=null,o=wa(),a=Ml(),i=null,l=null,s=Cr,d=Cr,c=()=>{if(a.nesting!==1||a.phase!=="instruction"||a.nestingOverflow)return;let g=ad(a);if(g.overflow||l===null)return;let p=gi(g.instruction);if(p){i={spec:p,autonum:null,anchorId:l,cached:"",revisions:d};return}let h=Nl(g.instruction);h&&(i={spec:null,autonum:h,anchorId:l,cached:"",revisions:d});},u=()=>{i&&((n??=[]).push({spec:i.spec,autonum:i.autonum,anchorId:i.anchorId,cached:yS(i.cached),revisions:i.revisions}),i=null);},f=(g,p,h)=>{if(g.kind==="textValue"||h>=chunkFIJZIQXA_cjs.wa||o.exhausted||p>Kt)return;if(g.kind==="bookmarkStart"){let b=Bu(g,"name");b!==void 0&&b.length>0&&b.length<=Mu&&(r??=[]).push(b);return}if(g.kind==="run"){for(let b of g.children){if(!$t(o))return;if(b.kind!=="runProperties"){if(gn(b,"begin")){Bl(a),a.nesting===1&&(l=b.id,d=s,i=null);continue}if(Pa(b)){Ll(a,b,o,p+1);continue}if(gn(b,"separate")){c(),El(a);continue}if(gn(b,"end")){let x=a.nesting===1;c(),Al(a),x&&u();continue}if(i&&a.nesting===1&&a.phase==="result"){if(b.kind==="text")for(let x of b.children)x.kind==="textValue"&&i.cached.length<ka&&(i.cached+=x.value.slice(0,ka-i.cached.length));else if(b.kind==="tab"&&i.cached.length<ka)i.cached+=" ";else if(i.cached.length<ka){let x=chunkFIJZIQXA_cjs.ib(b);x&&!s.some(R=>R.kind==="delete")&&!g.children.some(R=>R.kind==="deletedText")&&(i.cached+=x);}}}}return}if(chunkFIJZIQXA_cjs.vf(g)){let b=chunkFIJZIQXA_cjs.xf(g)??"",x=gi(b),R=x===null?Nl(b):null;(x||R)&&(n??=[]).push({spec:x,autonum:R,anchorId:g.id,cached:yS(CO(g,o)),revisions:s});return}if(Vx(g)||!$t(o))return;if(Cn(g)){let b=_n(g);if(b){let x=s;s=Jn(x,b);let R=chunkFIJZIQXA_cjs.xa(g,h);for(let P of g.children)f(P,p+1,R);s=x;return}}let y=chunkFIJZIQXA_cjs.xa(g,h);for(let b of g.children)f(b,p+1,y);};for(let g of e.children){if(!$t(o))break;f(g,1,0);}let m=n===null&&r===null?t2:Object.freeze({fields:n??uI,bookmarks:r??cI});return nI.set(e,m),m}var r2=Object.freeze({fieldsByParagraph:null,bookmarkOwners:null}),rI=new WeakMap;function o2(e){let t=rI.get(e);if(t)return t;let n=null,r=null;for(let a of hi([e])){let i=n2(a);i.fields.length>0&&(n??=new Map).set(a.id,i.fields);for(let l of i.bookmarks)r??=new Map,!r.has(l)&&r.size<e2&&r.set(l,a);}let o=n===null&&r===null?r2:Object.freeze({fieldsByParagraph:n,bookmarkOwners:r});return rI.set(e,o),o}var wg=new WeakMap;function a2(e){let t=e[0],n=e[e.length-1],r=(t?wg.get(t):void 0)??(n?wg.get(n):void 0)??new Map;return t&&wg.set(t,r),n&&wg.set(n,r),r}var kg=new WeakMap;function i2(e){let t=e[0],n=e[e.length-1],r=(t?kg.get(t):void 0)??(n?kg.get(n):void 0)??new Map;return t&&kg.set(t,r),n&&kg.set(n,r),r}function oI(e){return e.length>1&&e.endsWith(".")?e.slice(0,-1):e}var aI=new WeakMap;function iI(e,t=Ue,n){if(!e)return [];let r=`${t}|${n?.cacheKey??""}`,o=aI.get(e),a=o?.get(r);if(a)return a;let i=[];for(let l of chunkFIJZIQXA_cjs.Jc(e.root)){if(i.length>=chunkFIJZIQXA_cjs.Hc)break;if(!chunkFIJZIQXA_cjs.Ac(l))continue;let s=Sd(l,t,n);s.length>0&&i.push(s);}return o?Si(o,r,i):aI.set(e,new Map([[r,i]])),i}var lI=new WeakMap;function l2(e,t,n,r,o,a){let i=new Map,l=[],s=0,d=I=>{for(let v of I){let O=o2(v);if(l.push(O),!!O.fieldsByParagraph)for(let[T,C]of O.fieldsByParagraph){if(s>=Q$)break;i.set(T,C),s+=C.length;}}};if(d(e),n){for(let I of iI(n.footnotesPart,o,a))d(I);for(let I of iI(n.endnotesPart,o,a))d(I);}if(i.size===0)return null;let c=new Set;for(let I of i.values())for(let v of I)v.spec&&c.add(v.spec.bookmark);let u=new Map;for(let I of l)if(I.bookmarkOwners)for(let[v,O]of I.bookmarkOwners)c.has(v)&&!u.has(v)&&u.set(v,O);let f=new Map,m=new Map,g=new Map;for(let[I,v]of i)for(let O of v){if(!O.autonum||!Ye(O.revisions,o,a))continue;let T=(g.get(O.autonum.kind)??0)+1;g.set(O.autonum.kind,T);let C=FO(O.autonum,T);C.length!==0&&(f.set(O.anchorId,C),m.has(I)||m.set(I,C));}let p=I=>{let v=io(I);if(v.pageRef)return null;let O=u.get(I.bookmark);if(!O)return null;if(v.noteRef){if(r===void 0)return null;let C=eI(O,I.bookmark);return C===null?null:QC(e,r).get(C)??null}if(I.numberSwitch!==null){let C=t?.get(O.id);if(!C){if(v.suppressNonDelimiterText)return null;let N=m.get(O.id);return N!==void 0?oI(N):null}let F=vC(C),k=F!==void 0?nC(F,I.numberSwitch==="n",v.suppressNonDelimiterText):null,_=!v.suppressNonDelimiterText&&C.numFmt!=="bullet"&&C.numFmt!=="none"&&C.markerText.length>0?C.markerText:null,E=k??_;return E===null?null:oI(E)}if(v.suppressNonDelimiterText)return null;let T=IO(O,I.bookmark);return T.length>0?T:null},h=new Map,y=I=>{let v=io(I),O=`${v.suppressNonDelimiterText?"t":""}${v.noteRef?"x":""}`,T=`${I.numberSwitch??"-"}${O}\0${I.bookmark}`;if(h.has(T))return h.get(T)??null;let C=p(I);return h.set(T,C),C},b=a2(e),x=i2(e),R=new Map,P=new Map,S=new Map,w=[];for(let[I,v]of i){let O=[];for(let C of v){if(C.spec===null){let E=C.autonum?f.get(C.anchorId)??null:null;O.push(E!==null?`a${E}`:`c${C.cached}`);continue}if(io(C.spec).pageRef){let E=u.get(C.spec.bookmark);if(E){let N=x.get(C.anchorId);N===void 0&&x.size<tI&&(N=Object.freeze({}),x.set(C.anchorId,N)),N!==void 0&&P.set(C.anchorId,{spec:C.spec,projection:{targetParagraphId:E.id,cached:C.cached,calibration:N}});}O.push(`c${C.cached}${E?.id??""}`);continue}let F=y(C.spec),k=b.get(C.anchorId);k===void 0&&(k=C.cached.length===0||F!==null&&yS(F)===C.cached,C.cached.length>0&&b.size<tI&&b.set(C.anchorId,k));let _=k?F:null;R.set(C.anchorId,{spec:C.spec,live:_}),O.push(_!==null?`l${_}`:`c${C.cached}`);}let T=O.join("");S.set(I,T),w.push(I,T);}return {valuesToken:de(w),tokenForParagraph:I=>S.get(I)??"",liveValueOf:(I,v)=>{let O=R.get(I);return !O||O.live===null||O.spec.bookmark!==v.bookmark||O.spec.numberSwitch!==v.numberSwitch||io(O.spec)!==io(v)?null:O.live},autonumValueOf:I=>f.get(I)??null,pageRefProjectionOf:(I,v)=>{let O=P.get(I);return !O||O.spec.bookmark!==v.bookmark||io(O.spec)!==io(v)?null:O.projection}}}function une(e,t,n){return bS(e,t,n,void 0)}function bS(e,t,n,r,o=Ue,a){let i=n?.footnotesPart??null,l=n?.endnotesPart??null,s=lI.get(e);if(s&&s.listItems===t&&s.footnotesPart===i&&s.endnotesPart===l&&s.noteNumbering===r&&s.displayMode===o&&s.authorFilterKey===(a?.cacheKey??""))return s.context;let d=l2(e,t,n,r,o,a);return lI.set(e,{listItems:t,footnotesPart:i,endnotesPart:l,noteNumbering:r,displayMode:o,authorFilterKey:a?.cacheKey??"",context:d}),d}function fI(e,t){if(t.valuesToken==="")return "";let n=c2(t),r=[];for(let o of chunkFIJZIQXA_cjs.Ub(e.children)){if(o.kind!=="tableRow")continue;let a=sI.get(o);if(a?.scope!==n){let i=[];for(let l of MO(o,s2)){let s=t.tokenForParagraph(l.id);s&&i.push(s);}a={scope:n,token:i.join(";")},a.token.length<=d2&&sI.set(o,a);}a.token&&r.push(a.token);}return r.join(";")}var s2=8,d2=1<<18,sI=new WeakMap,hS=new WeakMap,dI=null;function c2(e){let t=hS.get(e);if(t)return t;let n=dI?.deref();return t=(n&&n.valuesToken===e.valuesToken?hS.get(n):void 0)??{},hS.set(e,t),dI=new WeakRef(e),t}var u2=256,f2=9;function m2(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r===" "||r===" "||r===`
10
- `||r==="\r"){n+=1;continue}if(r==='"'){let a=n+1;for(;a<e.length&&e[a]!=='"';)a+=1;t.push({value:e.slice(n+1,a),quoted:true}),n=a<e.length?a+1:a;continue}let o=n;for(;o<e.length&&!`
11
- \r"`.includes(e[o]);)o+=1;t.push({value:e.slice(n,o),quoted:false}),n=o;}return t}function p2(e){if(e.quoted)return null;let t=e.value;if(t.length===0||t.length>f2)return null;let n;if(t.startsWith("0x")||t.startsWith("0X")){let r=t.slice(2);if(!/^[0-9A-Fa-f]{1,6}$/.test(r))return null;n=Number.parseInt(r,16);}else {if(!/^\d{1,7}$/.test(t))return null;n=Number.parseInt(t,10);}return n>1114111||n>=55296&&n<=57343?null:n}function Tg(e){if(e.length===0||e.length>u2)return null;let t=m2(e);if(t.length<2)return null;let n=t[0];if(n.quoted||n.value.toUpperCase()!=="SYMBOL")return null;let r=p2(t[1]);if(r===null)return null;let o=null,a=null,i=false;for(let l=2;l<t.length;l+=1){let s=t[l];if(s.quoted||!s.value.startsWith("\\"))continue;let d=s.value.toLowerCase();if(d==="\\f"){let c=t[l+1];c&&c.value.length>0&&c.value.length<=chunkFIJZIQXA_cjs.Gj&&(c.quoted||!c.value.startsWith("\\"))&&(o=c.value,l+=1);continue}if(d==="\\s"){let c=t[l+1];if(c&&(c.quoted||!c.value.startsWith("\\"))&&(l+=1,/^\d{1,3}$/.test(c.value))){let u=Number(c.value);u>=1&&u<=999&&(a=u);}continue}d==="\\u"&&(i=true);}return {code:r,font:o,sizePt:a,unicode:i}}function vg(e,t,n){let r=[];e.font&&r.push({localName:"rFonts",attributes:{ascii:e.font,hAnsi:e.font,eastAsia:e.font,hint:"default"}}),e.sizePt!==null&&r.push({localName:"sz",attributes:{val:String(e.sizePt*2)}});let o=r.length>0?[...t,...r]:t,a=je(o,n);if(e.unicode)return chunkFIJZIQXA_cjs.Ij(e.code)?{text:String.fromCodePoint(e.code),props:o,style:a}:null;let i=e.font??a.fontFamily;if(chunkFIJZIQXA_cjs.b(i)){let l=e.code<=255&&e.code+chunkFIJZIQXA_cjs.Ej<=chunkFIJZIQXA_cjs.Fj?e.code+chunkFIJZIQXA_cjs.Ej:e.code;if(l>=chunkFIJZIQXA_cjs.Ej&&l<=chunkFIJZIQXA_cjs.Fj)return {text:chunkFIJZIQXA_cjs.d(String.fromCodePoint(l),i),props:o,style:a}}return chunkFIJZIQXA_cjs.Ij(e.code)?{text:String.fromCodePoint(e.code),props:o,style:a}:null}function Fg(){let e=null,t=0,n=false,r=false,o=()=>{e=null,t=0,n=false,r=false;};return {get active(){return e!==null},onSeparate(a,i){e===null&&a!==null&&(e=a,t=i,n=false,r=false);},onEnd(a,i){if(e===null||a>t)return null;let l=a===t,d=l&&i&&!(n&&!r)?Ta(e.kind,i,e):"";return o(),l?d:null},reset:o,noteResult(a){n=true,a&&(r=true);}}}function g2(e){let{simple:t,depth:n,pageContext:r,budget:o,revisions:a,displayMode:i,inheritedRunProperties:l,cascadeRuns:s,themeFonts:d}=e,c="",u,f,m=false,g=false,p=Ml(),h=Fg(),y={left:chunkO2AL2HSJ_cjs.c},b=chunkO2AL2HSJ_cjs.b(t,y),x=0,R=()=>b===null||b.visible(),P=(I,v,O)=>{let T=O!==void 0&&Zp(O);u&&(!m||T)||(u=I,f=v,m=T);},S=(I,v,O)=>{if(!(I.kind==="textValue"||v>Kt)){for(let T of I.children)if(T.kind!=="textValue"){if(!$t(o))return;if(T.kind==="run"){let C=ya(T,l,s),F=je(C,d);for(let k of T.children){if(k.kind==="runProperties")continue;if(gn(k,"begin")){b?.consume(k),Bl(p),p.nesting===1&&h.reset();continue}if(Pa(k)){Ll(p,k,o,v+1);continue}if(gn(k,"separate")){b?.consume(k);let B=p.nesting,D=p.phase,$=El(p);if(B===1||D==="result"&&!p.nestingOverflow){let X=R()&&!ld(p);h.onSeparate(r&&X?$:null,B);}continue}if(gn(k,"end")){b?.consume(k);let B=h.onEnd(p.nesting,r);B!==null&&(c+=B),Al(p);continue}if(chunkFIJZIQXA_cjs.Af(k)||!R())continue;if(chunkFIJZIQXA_cjs.Hj(k)){if(Ye(O,i,e.authorFilter)&&(g=true),h.active){h.noteResult(!F.hidden&&Ye(O,i,e.authorFilter));continue}let B=chunkFIJZIQXA_cjs.Jj(k);if(!B?.unicode||F.hidden||!Ye(O,i,e.authorFilter))continue;P(C,F),c+=B.text;continue}let _=pu(k),E=_?_.measureText??_.text:mu(k);if(E.length===0)continue;let N=Eo(O),A=!Ye(O,i,e.authorFilter)||k.kind==="deletedText"&&!N;A||(g=true);let L=F.hidden||A;if(h.active){h.noteResult(!L),L||P(C,F,E);continue}L||(P(C,F,E),c+=E);}continue}if(chunkFIJZIQXA_cjs.vf(T)){if(!R())continue;let C=b,F=x;b=C===null||F>=chunkFIJZIQXA_cjs.Gf?null:chunkO2AL2HSJ_cjs.b(T,y),x=F+1,w(T,v,O),b=C,x=F;continue}if(T.kind==="hyperlink"){S(T,v+1,O);continue}if(Cn(T)&&O.length<Rp){let C=_n(T);S(T,v+1,C?Jn(O,C):O);continue}S(T,v+1,O);}}},w=(I,v,O)=>{let T=h.active?null:rd(chunkFIJZIQXA_cjs.xf(I)??"");if(T&&r){if(!Ye(O,i,e.authorFilter))return;let C=c.length;S(I,v+1,O),c=c.slice(0,C),c+=Ta(T.kind,r,T);return}S(I,v+1,O);};return S(t,n,a),{text:c,resultProps:u,resultStyle:f,sawResultContent:g}}function mI(e){let t=h2(e);if(!t||e.currentLink)return t;let n=chunkFIJZIQXA_cjs.xf(e.simple)??"",r=dd(n)??sd(n),o=r?e.projectFieldLink?.(r):null;return o?{...t,link:o}:t}function h2(e){let{simple:t,pageContext:n,inheritedRunProperties:r,themeFonts:o}=e,a=g2(e),i=chunkFIJZIQXA_cjs.xf(t)??"",l=a.resultProps??r,s=Iu(i),d=lg(s&&!wO(t)?s:null,n);if(d!==void 0){let p=a.resultStyle??je(r,o);return p.hidden?null:{text:d,props:l,style:p}}let c=rd(i);if(c&&n){let p=a.resultStyle??je(r,o);return p.hidden?null:{text:Ta(c.kind,n,c),props:l,style:p}}if(c&&e.bodyPageFields&&!n&&a.text.length===0&&!a.sawResultContent){let p=a.resultStyle??je(r,o);return p.hidden?null:{text:fg(c),props:l,style:p,pageField:mg(c.kind,c)}}let u=Tg(i);if(u){let p=vg(u,l,o);if(p)return p.style.hidden?null:{text:p.text,props:p.props,style:p.style}}if(e.refFields){let p=gi(i);if(p){let h=e.refFields.liveValueOf(t.id,p);if(h!==null){let y=a.resultStyle??je(r,o);return y.hidden?null:{text:h,props:l,style:y}}if(e.bodyPageFields&&e.refFields.pageRefProjectionOf){let y=e.refFields.pageRefProjectionOf(t.id,p);if(y){let b=a.resultStyle??je(r,o);if(b.hidden)return null;if(a.text.length>0)return {text:a.text,props:l,style:b,pageRef:y};if(!a.sawResultContent)return {text:Dl,props:l,style:b,pageRef:y}}}}else if(e.refFields.autonumValueOf&&Nl(i)){let h=e.refFields.autonumValueOf(t.id);if(h!==null){let y=a.resultStyle??je(r,o);return y.hidden?null:{text:h,props:l,style:y}}}}let f=a.text.length===0&&!a.sawResultContent;if(f){let p=dg(i);if(p){let h=cg(p,e.documentProperties);if(h!==null){let y=a.resultStyle??je(r,o);return y.hidden?null:{text:h,props:l,style:y}}}}let m=f?sg(i):null;if(m){let p=a.resultStyle??je(r,o);return p.hidden?null:{text:m.display,props:l,style:p}}if(a.text.length===0)return null;let g=a.resultStyle??je(r,o);return g.hidden?null:{text:a.text,props:l,style:g}}var y2="\u2612",b2="\u2610";function x2(e){let t=Il(e);return t==="FORMCHECKBOX"?"checkbox":t==="FORMDROPDOWN"?"dropdown":null}function Du(e,t){e.characterStyleSpec=Iu(t),e.symbolSpec=Tg(t),!e.symbolSpec&&(e.linkSpec=dd(t),!e.linkSpec&&(e.formSpec=x2(t),!e.formSpec&&(e.buttonSpec=sg(t),!e.buttonSpec&&(e.docPropertySpec=dg(t),!e.docPropertySpec&&(e.linkSpec=sd(t),e.refSpec=gi(t),!e.refSpec&&(e.autonumSpec=Nl(t)))))));}function Qne(e,t){if(t.allowPageFields&&t.hasSeparate&&Ra(e)!==null)return true;let n={symbolSpec:null,linkSpec:null,formSpec:null,buttonSpec:null,docPropertySpec:null,refSpec:null,autonumSpec:null};return Du(n,e),n.symbolSpec!==null||n.buttonSpec!==null||n.docPropertySpec!==null||t.allowRefFields&&n.refSpec!==null&&(t.allowPageRef||!io(n.refSpec).pageRef)||t.allowAutonum&&n.autonumSpec!==null||n.formSpec!==null&&t.hasLegacyFormData}function ere(e,t){if(t.allowPageFields&&Ra(e)!==null)return true;let n={symbolSpec:null,linkSpec:null,formSpec:null,buttonSpec:null,docPropertySpec:null,refSpec:null,autonumSpec:null};return Du(n,e),n.symbolSpec!==null||n.buttonSpec!==null||n.docPropertySpec!==null||t.allowRefFields&&n.refSpec!==null&&(t.allowPageRef||!io(n.refSpec).pageRef)||t.allowAutonum&&n.autonumSpec!==null}function pI(e){if(e.formSpec==="dropdown"&&e.formData?.kind==="dropdown")return {...e.formData,...e.formAccessibleName?{accessibleName:e.formAccessibleName}:{}};if(!(e.formSpec!=="checkbox"||e.formData?.kind!=="checkbox"))return {kind:"checkbox",checked:e.formData.checked,...e.formAccessibleName?{accessibleName:e.formAccessibleName}:{}}}function gI(e,t){if(e.formSpec==="checkbox"){if(e.formData?.kind!=="checkbox")return null;let n=e.formData.checked?y2:b2;if(e.formData.sizeHalfPoints===null)return {text:n,props:e.props,style:e.style};let r=[...e.props,{localName:"sz",attributes:{val:String(e.formData.sizeHalfPoints)}}];return {text:n,props:r,style:je(r,t)}}if(e.formSpec==="dropdown"){if(e.cachedText.length>0||e.sawResultContent||e.formData?.kind!=="dropdown")return null;let n=e.formData.entries[e.formData.selectedIndex];return n===void 0?null:{text:n||"\xA0",props:e.props,style:e.style}}return null}function hI(e,t){let n=lg(e.hasNestedField?null:e.characterStyleSpec,t.pageContext);if(n!==void 0)return {text:n,props:e.props,style:e.style};if(e.symbolSpec){let o=vg(e.symbolSpec,e.props,t.themeFonts);if(o)return {text:o.text,props:o.props,style:o.style}}let r=gI(e,t.themeFonts);if(r)return {text:r.text,props:r.props,style:r.style};if(e.kind&&t.pageContext)return {text:Ta(e.kind,t.pageContext,e.pageSwitches),props:e.props,style:e.style};if(e.refSpec&&t.refFields){let o=t.refFields.liveValueOf(e.beginId,e.refSpec);if(o!==null)return {text:o,props:e.props,style:e.style}}if(e.refSpec&&t.refFields?.pageRefProjectionOf&&t.bodyPageFields){let o=t.refFields.pageRefProjectionOf(e.beginId,e.refSpec);if(o){if(e.cachedText.length>0)return {text:e.cachedText,props:e.props,style:e.style,pageRefField:o};if(!e.sawResultContent)return {text:Dl,props:e.props,style:e.style,pageRefField:o}}}if(e.autonumSpec&&t.refFields?.autonumValueOf){let o=t.refFields.autonumValueOf(e.beginId);if(o!==null)return {text:o,props:e.props,style:e.style}}if(e.cachedText.length>0)return {text:e.cachedText,props:e.props,style:e.style};if(!e.sawResultContent){if(e.kind&&t.bodyPageFields)return {text:fg(e.pageSwitches),props:e.props,style:e.style,pageField:mg(e.kind,e.pageSwitches)};if(e.docPropertySpec){let o=cg(e.docPropertySpec,t.documentProperties);if(o!==null)return {text:o,props:e.props,style:e.style}}if(e.buttonSpec)return {text:e.buttonSpec.display,props:e.props,style:e.style}}return null}function yI(e){return e.kind==="drawing"||chunkFIJZIQXA_cjs.Jd(e)||chunkFIJZIQXA_cjs.od(e)}function bI(e){let{node:t,layout:n,revisions:r,displayMode:o}=e,a=n.projectionForAtom?.(t.id)??(t.kind==="drawing"?n.project(t):null);if(!a||a.kind!=="inline")return a?.kind==="anchored"&&!a.hidden&&!a.footprintOnly?{recordDeleted:false,emit:true,extras:{anchoredAtom:true}}:{recordDeleted:false,emit:true};let i=Eo(r),l=e.hiddenRun||!Ye(r,o,e.authorFilter);return a.hidden||l?a.hidden?{recordDeleted:i,emit:true}:{recordDeleted:i,emit:false}:{recordDeleted:i,emit:true,extras:{inlineDrawing:Object.freeze({drawingNodeId:t.id,ownerPartName:n.ownerPartName,projection:a,resource:n.resourceOf(a)})}}}function xI(e){if(e.kind==="textValue")return;let t=e.children.slice(0,256).find(r=>r.kind!=="textValue"&&r.namespaceUri===chunkFIJZIQXA_cjs.la&&r.localName==="ffData");if(!t||t.kind==="textValue"||t.children.length>256||!t.children.some(r=>r.kind!=="textValue"&&r.namespaceUri===chunkFIJZIQXA_cjs.la&&(r.localName==="checkBox"||r.localName==="ddList"))||t.children.some(r=>r.kind!=="textValue"&&r.namespaceUri===chunkFIJZIQXA_cjs.la&&(r.localName==="entryMacro"||r.localName==="exitMacro")))return;let n=t.children.find(r=>r.kind!=="textValue"&&r.namespaceUri===chunkFIJZIQXA_cjs.la&&r.localName==="name");if(!(!n||n.kind==="textValue"))return n.attributes.slice(0,64).find(r=>r.localName==="val"&&(r.namespaceUri===chunkFIJZIQXA_cjs.la||r.namespaceUri===""))?.value.slice(0,256).replace(/[\u0000-\u001f\u007f\u202a-\u202e\u2066-\u2069]/g,"").trim()||void 0}function SI(e){let t=chunkFIJZIQXA_cjs.Hf(e,{maxNesting:chunkFIJZIQXA_cjs.Gf,maxInstructionChars:chunkFIJZIQXA_cjs.Ff}),n=t.filter(s=>s.addressing==="atomic"),r=new Set(n.filter(s=>s.kind==="complex").map(s=>s.node.id)),o=new Set(t.filter(s=>s.kind==="complex"&&s.addressing==="editable-result").map(s=>s.node.id)),a=new Set,i=new Set;for(let s of t)s.addressing==="saved-result"&&(s.kind==="simple"?i:a).add(s.node.id);let l=new Set;for(let s of n)for(let d of s.removeNodeIds)l.add(d);return {atomBeginIds:r,editableResultBeginIds:o,savedResultBeginIds:a,savedResultSimpleIds:i,coveredIds:l}}function PI(e,t,n){if(t)return t;let r=chunkFIJZIQXA_cjs.xf(e)??"",o=dd(r)??sd(r);return (o?n?.(o):null)??void 0}function xS(e,t,n,r){for(let o=t;o<e.length;o+=1){let a=e[o];e[o]={...a,fieldAtom:{...a.fieldAtom??{formField:false},resultStart:n,resultEnd:r}};}}Object.freeze({marks:Object.freeze(new Map)});function Pd(e,t){return chunkFIJZIQXA_cjs.oc(e,t)}function S2(e,t){if(!chunkFIJZIQXA_cjs.Fc(e))return null;if(chunkFIJZIQXA_cjs.vc(e)||chunkFIJZIQXA_cjs.wc(e))return {text:t?.measureSeparatorMarkers?chunkFIJZIQXA_cjs.ic:"",...t?.measureSeparatorMarkers?{noteSeparator:chunkFIJZIQXA_cjs.vc(e)?"separator":"continuationSeparator"}:{},projected:true,kind:null,noteId:null};let n=chunkFIJZIQXA_cjs.tc(e),r=chunkFIJZIQXA_cjs.Bc(e)??chunkFIJZIQXA_cjs.Cc(e);if(!r)return null;let o=chunkFIJZIQXA_cjs.yc(e),a=o!==null?Pd(r,o):n?void 0:t?.activeNoteKey,i=o!==null?o:a?P2(a,r)??null:null,l=a,s=l!==void 0?n?"to-note":"to-body":void 0,d={projected:true,kind:r,noteId:i,...s?{nav:s}:{},...l?{scopeId:l}:{}};if(n&&o!==null&&chunkFIJZIQXA_cjs.Dc(e))return {text:"",...d};if(!t||!a)return {text:"",...d};let c=t.marks.get(a);return c==null?{text:"",...d}:t.reservedMarkText&&t.reservedMarkText.length>0?{text:c,measureText:t.reservedMarkText,...d}:{text:c,...d}}function P2(e,t){let n=`${t}:`;if(!e.startsWith(n))return null;let r=e.slice(n.length);if(!/^-?\d+$/.test(r))return null;let o=Number(r);return Number.isSafeInteger(o)?o:null}function wI(e){return chunkFIJZIQXA_cjs.tc(e)||chunkFIJZIQXA_cjs.uc(e)||chunkFIJZIQXA_cjs.vc(e)||chunkFIJZIQXA_cjs.wc(e)}function R2(e){let t=2166136261;for(let n=0;n<e.length;n+=1)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return (t>>>0).toString(16).padStart(8,"0")}var RI=new WeakMap;function kI(e){if(!e)return "";let t=RI.get(e);if(t!==void 0)return t;let n=JSON.stringify([[...e.marks],e.reservedMarkText??null,e.activeNoteKey??null,...e.measureSeparatorMarkers?[true]:[]]),r=`${e.marks.size}:${R2(n)}`;return RI.set(e,r),r}function TI(e,t){let n=S2(e,t);if(!n||n.text.length===0&&!n.measureText)return null;let r=n.scopeId&&n.nav?{scopeId:n.scopeId,direction:n.nav}:void 0;return {text:n.text.length>0?n.text:n.measureText??"",extras:{...n.measureText!==void 0?{measureText:n.measureText}:{},...r?{noteNav:r}:{},...n.noteSeparator?{noteSeparator:n.noteSeparator}:{}}}}var _u=new WeakMap,w2=new WeakMap,k2=new WeakMap,vI=new WeakMap;function Og(e){return e&&e.kind!=="textValue"?vI.get(e)??null:null}function jl(e,t){return e.kind!=="textValue"&&e.namespaceUri===chunkFIJZIQXA_cjs.la&&e.localName===t}function Rd(e,t,n){if(t==="all-markup"||e.kind==="textValue")return [];let r=[...su(si(e),t,n)],o=e.children.find(s=>s.kind==="paragraphProperties"),a=Og(o);a&&r.push(a);let i=o&&o.kind!=="textValue"?o.children.find(s=>s.kind==="runProperties"):void 0,l=Og(i);return l&&r.push(l),r}function SS(e,t,n,r=0){if(t==="all-markup"&&!n||r>=chunkFIJZIQXA_cjs.$||e.children.every(g=>g.kind==="textValue"))return e;let o=n?void 0:t==="proposed"?w2:k2,a=o?"":`${t}|${n?.cacheKey??""}`,i=o?o.get(e):_u.get(e)?.get(a);if(i)return i;let l=e.children,s=null,d=jl(e,"pPr")?"pPrChange":jl(e,"rPr")?"rPrChange":null,c=d?l.find(g=>jl(g,d)):void 0;if(c&&c.kind!=="textValue"){let g=x=>c.attributes.find(R=>R.namespaceUri===chunkFIJZIQXA_cjs.la&&R.localName===x)?.value??"",p=g("date"),h={kind:"format",nodeId:c.id,id:g("id"),author:g("author"),...p===""?{}:{date:p}},y=n?lu(n,h,t):t,b=y==="original"?chunkFIJZIQXA_cjs.Sj(c):null;y==="proposed"&&(l=l.filter(x=>x!==c)),s=y==="proposed"&&(!n||Or(n,h))?h:null,b!==null&&(d==="pPrChange"?l=[...b.filter(x=>!jl(x,"rPr")&&!jl(x,"sectPr")),...l.filter(x=>jl(x,"rPr")||jl(x,"sectPr"))]:l=[...l.filter(chunkFIJZIQXA_cjs.Uf),...b.filter(x=>!chunkFIJZIQXA_cjs.Uf(x))]);}let u=null;for(let g=0;g<l.length;g+=1){let p=l[g],h=p.kind==="textValue"||p.localName.endsWith("PrChange")?p:SS(p,t,n,r+1);h!==p&&(u??=l.slice(0,g)),u?.push(h);}let f=u||l!==e.children?{...e,children:u??l}:e;if(s&&vI.set(f,s),f===e&&!chunkFIJZIQXA_cjs.rb(e))return e;if(o)return o.set(e,f),f!==e&&o.set(f,f),f;let m=_u.get(e);if(m||_u.set(e,m=new Map),Si(m,a,f),f!==e){let g=_u.get(f);g||_u.set(f,g=new Map),Si(g,a,f);}return f}var wd=.7,T2=1.25,v2="Cambria Math";function Ig(e){return ml(e,v2)}function Wo(e,t,n,r){return Object.freeze({x:e,y:t,width:n,height:r})}function pr(e,t,n){return Object.freeze({...e,box:Wo(t,n,e.box.width,e.box.height)})}var F2=4,O2=8,FI=new WeakMap;function C2(e){let t=Ig(e);return [t.fontFamily??"",t.fontSizePt,t.bold?1:0,t.italic?1:0,t.verticalAlign,t.baselineShiftPt,t.caps?1:0,t.smallCaps?1:0,t.characterSpacingPt,t.horizontalScalePercent,t.kerningMinPt,t.ligatures?.standard?1:0,t.ligatures?.contextual?1:0,t.ligatures?.historical?1:0,t.ligatures?.discretionary?1:0].join("|")}function I2(e,t){if(t===void 0)return {projections:new WeakMap};let n=FI.get(e);n||(n=new Map,FI.set(e,n));let r=n.get(t);if(r)return n.delete(t),n.set(t,r),r;if(n.size>=F2){let a=n.keys().next().value;a!==void 0&&n.delete(a);}let o={projections:new WeakMap};return n.set(t,o),o}function kd(e,t,n){let r=n.styles.get(t);if(r)return r;let o=t===1?e:Object.freeze({...e,fontSizePt:e.fontSizePt*t,characterSpacingPt:e.characterSpacingPt*t});return n.styles.set(t,o),o}function OI(e,t,n,r){let o=r.metrics.get(n);if(o)return o;let a=e.lineMetrics(kd(t,n,r));return r.metrics.set(n,a),a}function Cg(e,t,n,r,o,a){let i=kd(r,o,a),l=OI(n,r,o,a);return Object.freeze({kind:e,text:t,fontSizePt:i.fontSizePt,box:Wo(0,0,rt(t,i,n),l.height),baseline:l.baseline})}function M2(e,t){if(e.length===0)return Object.freeze({kind:"row",items:Object.freeze([]),box:Wo(0,0,0,t.height),baseline:t.baseline});let n=Math.max(...e.map(i=>i.baseline)),r=Math.max(...e.map(i=>i.box.height-i.baseline)),o=0,a=e.map(i=>{let l=pr(i,o,n-i.baseline);return o+=i.box.width,l});return Object.freeze({kind:"row",items:Object.freeze(a),box:Wo(0,0,o,n+r),baseline:n})}function Dr(e,t,n,r,o){switch(e.kind){case "text":return Cg("text",e.value,t,n,r,o);case "fallback":return Cg("fallback",e.text||"\u2026",t,n,r,o);case "row":return M2(e.items.map(a=>Dr(a,t,n,r,o)),OI(t,n,r,o));case "fraction":{let a=kd(n,r,o),i=Dr(e.numerator,t,n,r*wd,o),l=Dr(e.denominator,t,n,r*wd,o),s=Math.max(.75,a.fontSizePt*.08),d=Math.max(.75,a.fontSizePt*.08),c=Math.max(.6,a.fontSizePt*.055),u=Math.max(i.box.width,l.box.width)+s*2,f=i.box.height+d,m=f+c+d,g=m+l.box.height,p=Math.min(g,f+c/2+a.fontSizePt*.22);return Object.freeze({kind:"fraction",numerator:pr(i,(u-i.box.width)/2,0),denominator:pr(l,(u-l.box.width)/2,m),bar:Wo(s/2,f,u-s,c),box:Wo(0,0,u,g),baseline:p})}case "radical":{let a=kd(n,r,o),i=Dr(e.radicand,t,n,r,o),l=Cg("text","\u221A",t,n,r,o),s=e.degree?Dr(e.degree,t,n,r*.55,o):void 0,d=Math.max(.55,a.fontSizePt*.05),c=Math.max(.35,a.fontSizePt*.035),u=d+c,f=s?Math.max(0,s.box.width*.65):0,m=f+l.box.width,g=u+i.baseline,p=Math.max(u+i.box.height,g+(l.box.height-l.baseline));return Object.freeze({kind:"radical",sign:pr(l,f,g-l.baseline),radicand:pr(i,m,u),...s?{degree:pr(s,0,0)}:{},bar:Wo(m,0,i.box.width,d),box:Wo(0,0,m+i.box.width,p),baseline:g})}case "script":{let a=kd(n,r,o),i=Dr(e.base,t,n,r,o),l=e.subscript?Dr(e.subscript,t,n,r*wd,o):void 0,s=e.superscript?Dr(e.superscript,t,n,r*wd,o):void 0,d=Math.max(.4,a.fontSizePt*.04),c=i.box.width+d,u=0,f=s?Math.max(0,s.box.height-i.baseline*.45):0,m=f+i.baseline,g=m+a.fontSizePt*.08,p=c+Math.max(l?.box.width??0,s?.box.width??0,-d),h=Math.max(f+i.box.height,s?u+s.box.height:0,l?g+l.box.height:0);return Object.freeze({kind:"script",base:pr(i,0,f),...l?{subscript:pr(l,c,g)}:{},...s?{superscript:pr(s,c,u)}:{},box:Wo(0,0,p,h),baseline:m})}case "nary":{let a=kd(n,r,o),i=Cg("text",e.operator,t,n,r*T2,o),l=Dr(e.body,t,n,r,o),s=e.lowerLimit?Dr(e.lowerLimit,t,n,r*wd,o):void 0,d=e.upperLimit?Dr(e.upperLimit,t,n,r*wd,o):void 0,c=Math.max(.5,a.fontSizePt*.05),u=Math.max(i.box.width,s?.box.width??0,d?.box.width??0),m=d?d.box.height+c:0,g=m+i.baseline,p=m+i.box.height+(s?c:0),h=u+c,y=g-l.baseline,x=-Math.min(0,m,y,s?p:0),R=g+x,P=Math.max(m+i.box.height,s?p+s.box.height:0,y+l.box.height)+x;return Object.freeze({kind:"nary",operator:pr(i,(u-i.box.width)/2,m+x),body:pr(l,h,y+x),...s?{lowerLimit:pr(s,(u-s.box.width)/2,p+x)}:{},...d?{upperLimit:pr(d,(u-d.box.width)/2,x)}:{},box:Wo(0,0,h+l.box.width,P),baseline:R})}}}function B2(e,t,n){let r=Ig(n),o={styles:new Map,metrics:new Map};return Object.freeze({sourceNodeId:e.sourceNodeId,geometry:Dr(e.expression,t,r,1,o),fallbackText:e.fallbackText,truncated:e.truncated})}function Mg(e,t){let n=I2(e,t);return (r,o)=>{let a=C2(o),i=n.projections.get(r),l=i?.get(a);if(l&&i)return i.delete(a),i.set(a,l),l;let s=B2(r,e,o);if(i||(i=new Map,n.projections.set(r,i)),i.size>=O2){let d=i.keys().next().value;d!==void 0&&i.delete(d);}return i.set(a,s),s}}function CI(e,t){let n=er(e[0]);if(!n)return;let r=[];for(let o of n){let a=[],i=[],l=[...e];l[0]=o.paragraph,l[1]=o.runProperties;let s=o.base+chunkFIJZIQXA_cjs.jg(o.paragraph).length;l[16]=e[16]?.filter(d=>d.start>=o.base&&d.end<=s).map(d=>({...d,start:d.start-o.base,end:d.end-o.base})),l[17]=e[17]?.filter(d=>d.start>=o.base&&d.end<=s).map(d=>({...d,start:d.start-o.base,end:d.end-o.base})),l[7]=a,l[18]=i;for(let d of PS(l,t))r.push({...d,start:d.start+o.base,end:d.end+o.base});for(let d of a)e[7]?.push({...d,start:d.start+o.base,end:d.end+o.base});for(let d of i)e[18]?.push({...d,start:d.start+o.base,end:d.end+o.base});}return r}function PS(e,t){return t(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17],e[18])}var L2=1024;function II(e){return !e.projected||e.breakKind||e.positionalTab||e.inlineDrawing||e.equation||e.anchoredAtom||e.measureText!==void 0||e.noteSeparator||e.noteNav?false:e.text.includes(`
12
- `)||e.text.includes(chunkFIJZIQXA_cjs.mb)}function E2(e,t){let n=e.indexOf(`
13
- `,t),r=e.indexOf(chunkFIJZIQXA_cjs.mb,t);return n<0?r:r<0?n:Math.min(n,r)}function A2(e,t){let{text:n}=e,r=0;for(let o=0;o<L2;o+=1){let a=E2(n,r);if(a<0)break;a>r&&t.push({...e,text:n.slice(r,a)});let i=n[a]===chunkFIJZIQXA_cjs.mb;t.push({...e,text:i?chunkFIJZIQXA_cjs.mb:`
14
- `,breakKind:i?"page":"line"}),r=a+1;}r<n.length&&t.push({...e,text:n.slice(r)});}function MI(e){if(!e.some(II))return e;let t=[];for(let n of e)II(n)?A2(n,t):t.push(n);return t}function Fa(...e){return MI(CI(e,RS)??PS(e,RS))}function RS(e,t=[],n,r,o,a,i=Ue,l,s,d,c,u,f=false,m,g,p=false,h,y,b){if(e.kind==="textValue")return [];if(e.kind!=="paragraph")return [];let x=Mv(b,i,g),R=null,P=[],S=0;r=AF(r,p?void 0:y,()=>k?.atomic?k.atomStart:S);let w,I=SI(e),{atomBeginIds:v,editableResultBeginIds:O,coveredIds:T}=I,C=Ml(),F=wa(),k=null,_=null,E=Fg(),N=Cr,A=(V,ne,G,re,fe,te,Z)=>{if(V.length===0&&!re&&!Z?.inlineDrawing)return;let oe=Z?.linkOverride??w,ce=wp(Z?.revisionsOverride??N,ne,i,g);if(ce===null)return;let M=sx(V,G,re,i==="all-markup"?g?.revisionMarkup:void 0,dx(ce,e,g));if(M.hidden)return cx(b,fe,te,ce);({text:V,style:G,projected:re}=M);let ie=Bv(ce,Z?.revisionsOverride?Z.formatSiteOverride??null:R),ue=oe?{link:oe}:{};if(re){P.push({text:V,...ie,style:G,start:fe,end:te,projected:true,...Z?.measureText!==void 0?{measureText:Z.measureText}:{},...Z?.noteNav?{noteNav:Z.noteNav}:{},...Z?.noteSeparator?{noteSeparator:Z.noteSeparator}:{},...Z?.inlineDrawing?{inlineDrawing:Z.inlineDrawing}:{},...Z?.anchoredAtom?{anchoredAtom:true}:{},...Z?.equation?{equation:Z.equation}:{},...Z?.fieldAtom?{fieldAtom:Z.fieldAtom}:{},...ue});return}V.length!==0&&P.push({text:V,...ie,style:G,start:fe,end:te,...Z?.positionalTab?{positionalTab:Z.positionalTab}:{},...eO(Z),...ue});},L=()=>{if(!k||!k.atomic){k=null,_=null;return}let V=k.atomStart,ne=V+1;if(k.style.hidden){k=null,_=null;return}if(!Ye(k.resultRevisions,i,g)){l&&Eo(k.resultRevisions)&&di(l,V,ne),x(V,ne,k.resultRevisions),k=null,_=null;return}let{resultLink:G,linkSpec:re,formField:fe}=k,te=ix(k),Z=pI(k),oe,ce=()=>{if(oe)return oe;let ie=!G&&re?c?.(re)??null:null,ue=G??ie;return oe={...te,...ue?{linkOverride:ue}:{},fieldAtom:{formField:fe,...Z?{formControl:Z}:{}}},oe},M=hI(k,{pageContext:n,themeFonts:d,documentProperties:u,bodyPageFields:f,...m?{refFields:m}:{}});if(M){let ie=ce(),ue=M.pageField||M.pageRefField?{...ie,fieldAtom:{formField:k.formField,...M.pageField?{pageField:M.pageField}:{},...M.pageRefField?{pageRef:M.pageRefField}:{}}}:ie;A(M.text,M.props,M.style,true,V,ne,ue);}k=null,_=null;},B=()=>{if(!k)return;let V=!k.resultLink&&k.linkSpec?c?.(k.linkSpec)??null:null,ne=G=>V&&!G.link?{...G,link:V}:G;if(k.atomic){S=k.atomStart;for(let G of k.buffered)P.push({...ne(G),start:S,end:S+(G.end-G.start)}),S+=G.end-G.start;k.cachedText.length>0&&k.buffered.length===0&&(A(k.cachedText,k.props,k.style,false,S,S+k.cachedText.length,{...ix(k),...V?{linkOverride:V}:{}}),S+=k.cachedText.length);}else {let G=P.length;for(let re of k.buffered)P.push(ne(re));k.savedResult&&xS(P,G,k.atomStart,k.bufferOffset),S=k.bufferOffset;}k=null,_=null;},D=(V,ne=false)=>(Eo(N)&&l&&di(l,V,V+1),Ye(N,i,g)?true:(ne||x(V,V+1,N),false)),$=(V,ne,G)=>{let re=S;S+=1;let fe=D(re,G)&&!G?chunkFIJZIQXA_cjs.Jj(V):null;return fe?{start:re,text:fe.text,...ev(ne,fe,d)}:null},X=(V,ne,G)=>{if(yI(V)){let ie=S;S+=1;let ue=S;if(!s)return;let pe=bI({node:V,layout:s,hiddenRun:G.hidden,revisions:N,displayMode:i,authorFilter:g});pe.recordDeleted&&l&&di(l,ie,ue),pe.emit||x(ie,ue,N),pe.emit&&A("\uFFFC",ne,G,true,ie,ue,pe.extras);return}if(wI(V)){let ie=S++,ue=G.hidden?null:TI(V,a);ue&&A(ue.text,ne,G,true,ie,ie+1,ue.extras);return}let re=lx(V);if(re){G.hidden||A(" ",ne,G,false,S,S,{positionalTab:re});return}if(chunkFIJZIQXA_cjs.Hj(V)){let ie=$(V,ne,G.hidden);ie&&A(ie.text,ie.props,ie.style,true,ie.start,ie.start+1);return}let fe=mu(V);if(fe.length===0)return;let te=Eo(N),Z=!Ye(N,i,g),oe=G.hidden||Z||V.kind==="deletedText"&&!te;Z&&!G.hidden&&x(S,S+fe.length,N);let ce=pu(V),M=ce?.measureText!==void 0;oe||A(ce?.text??fe,ne,G,M,S,S+fe.length,{...V.kind==="hardBreak"?QF(V):{},...M?{measureText:ce.measureText}:{}}),te&&l&&di(l,S,S+fe.length),S+=fe.length;},W=(V,ne)=>{if(V.kind!=="run")return;let G=ya(V,t,r),re=je(G,d);R=Og(V.children.find(te=>te.kind==="runProperties"));let fe=te=>{if(!k)return;let Z=te!==void 0&&Zp(te);(!k.capturedResultStyle||k.capturedResultStyleIsDirectional&&!Z)&&(k.props=G,k.style=re,k.capturedResultStyle=true,k.capturedResultStyleIsDirectional=Z),k.capturedResultRevisions||(k.resultRevisions=N,k.resultFormatSite=R,k.capturedResultRevisions=true,!k.resultLink&&w&&(k.resultLink=w));};for(let te of V.children){if(!$t(F)){if(B(),Cu(C),E.reset(),te.kind==="runProperties"||gn(te,"begin")||gn(te,"separate")||gn(te,"end")||Pa(te)||T.has(te.id)&&_===null)continue;X(te,G,re);continue}if(te.kind!=="runProperties"){if(gn(te,"begin")){k?.atomic&&(k.hasNestedField=true);let Z=v.has(te.id);if(Bl(C),C.nesting===1){B(),E.reset(),_=Z?te.id:null;let oe=chunkFIJZIQXA_cjs.Cf(te);k={kind:null,pageSwitches:{},symbolSpec:null,linkSpec:null,formSpec:null,buttonSpec:null,docPropertySpec:null,refSpec:null,autonumSpec:null,formData:oe,formAccessibleName:oe?xI(te):void 0,beginId:te.id,atomic:Z,editableResult:O.has(te.id),savedResult:I.savedResultBeginIds.has(te.id),atomStart:S,props:G,style:re,capturedResultStyle:false,cachedText:"",sawResultContent:false,buffered:[],bufferOffset:S,resultRevisions:N,resultFormatSite:R,capturedResultRevisions:N.length>0,formField:chunkFIJZIQXA_cjs.Bf(te),...w?{resultLink:w}:{}},Z&&(S+=1);}continue}if(Pa(te)){Ll(C,te,F,ne+1);continue}if(gn(te,"separate")){let Z=C.nesting===1&&C.phase==="instruction",oe=C.nesting,ce=El(C);if(Z&&k){k.kind=ce?.kind??null,k.pageSwitches=ce??{};let M=ad(C);!k.kind&&!M.overflow&&!C.nestingOverflow&&Du(k,M.instruction),k.props=G,k.style=re;}else if(k?.atomic&&C.phase==="result"&&!C.nestingOverflow){let M=n&&!ld(C);E.onSeparate(M?ce:null,oe);}continue}if(gn(te,"end")){let Z=C.nesting===1;if(Z&&k?.atomic&&C.phase==="instruction"){let ce=ad(C);!ce.overflow&&!C.nestingOverflow&&Du(k,ce.instruction);}let oe=E.onEnd(C.nesting,n);oe!==null&&k?.atomic&&(k.cachedText+=oe),Al(C),Z&&(k?.atomic?L():B());continue}if(!(ld(C)&&k?.atomic)){if(k&&PO(C)){if(chunkFIJZIQXA_cjs.Hj(te)){if(k.atomic){if(Ye(N,i,g)&&(k.sawResultContent=true),E.active){E.noteResult(!re.hidden&&Ye(N,i,g));continue}if(!re.hidden&&Ye(N,i,g)){let Fe=chunkFIJZIQXA_cjs.Jj(te);Fe?.unicode&&(fe(),k.cachedText+=Fe.text);}continue}let Te=$(te,G,re.hidden);k.bufferOffset=S;let Re=Te&&wp(N,Te.props,i,g);if(!Te||!Re)continue;k.buffered.push({text:Te.text,style:Te.style,start:Te.start,end:Te.start+1,projected:true,...Re,...w?{link:w}:{},fieldAtom:{formField:k.formField}});continue}let Z=k.atomic?null:lx(te),oe=pu(te),ce=Z?" ":oe?.text??mu(te),M=Z?0:ce.length;if(ce.length===0)continue;let ie=Eo(N),ue=wp(N,G,i,g),pe=ue===null||te.kind==="deletedText"&&!ie;if(k.atomic&&!pe&&(k.sawResultContent=true),ue===null&&(k.atomic?x(k.atomStart,k.atomStart+1,N):x(S,S+M,N)),ie&&l&&(k.atomic?di(l,k.atomStart,k.atomStart+1):di(l,S,S+M)),pe){k.atomic&&E.active&&E.noteResult(false),k.atomic||(S+=M,k.bufferOffset=S);continue}if(k.atomic){if(E.active){if(E.noteResult(!re.hidden),re.hidden)continue;fe(ce);continue}if(re.hidden)continue;fe(ce),k.cachedText+=oe?.measureText??ce;continue}if(re.hidden){S+=M,k.bufferOffset=S;continue}k.capturedResultStyle||(k.props=G,k.style=re,k.capturedResultStyle=true),k.buffered.push({text:ce,style:re,start:S,end:S+M,...Z?{positionalTab:Z}:{},...oe?.measureText===void 0?{}:{projected:true,measureText:""},...ue,...w?{link:w}:{},fieldAtom:{formField:k.formField}}),S+=M,k.bufferOffset=S;continue}T.has(te.id)&&_===null&&v.size>0,X(te,G,re);}}}},z={showFieldCodes:p,inheritedRunProperties:t,cascadeRuns:r,themeFonts:d,displayMode:i,authorFilter:g,fieldCodeRanges:h,changeSites:b};if(!$t(F))return kx(e,P,{...z,projectMarkup:false});let ee=chunkFIJZIQXA_cjs.td(),K=(V,ne)=>{k?.atomic&&(k.hasNestedField=true);let G=S;if(S+=1,V.kind==="textValue"||!D(G)||k?.atomic&&ld(C))return;let re=mI({simple:V,depth:ne,pageContext:n,budget:F,revisions:N,displayMode:i,authorFilter:g,inheritedRunProperties:t,cascadeRuns:r,themeFonts:d,currentLink:w,projectFieldLink:c,documentProperties:u,bodyPageFields:f,...m?{refFields:m}:{}});re&&A(re.text,re.props,re.style,true,G,G+1,{fieldAtom:{formField:false,...re.pageField?{pageField:re.pageField}:{},...re.pageRef?{pageRef:re.pageRef}:{}},...re.link?{linkOverride:re.link}:{}});},U=(V,ne,G,re)=>{let[fe,te,Z]=[P.length,S,w];w=PI(V,Z,c);for(let oe of V.children)q(oe,ne+1,G,re+1);w=Z,xS(P,fe,te,S);},q=(V,ne,G,re)=>{if(re>=chunkFIJZIQXA_cjs.wa)return;let fe=chunkFIJZIQXA_cjs.af(V);if(fe){let Z=S++;Eo(N)&&l&&di(l,Z,S);let oe=Ig(je(t,d));return !oe.hidden&&!Ye(N,i,g)&&x(Z,S,N),oe.hidden||!Ye(N,i,g)?void 0:A("\uFFFC",t,oe,true,Z,S,{equation:fe})}if(chunkFIJZIQXA_cjs.vf(V)){I.savedResultSimpleIds.has(V.id)&&!k?.atomic?U(V,ne,G,re):K(V,ne);return}if(V.kind==="run"){W(V,ne),R=null;return}if(chunkFIJZIQXA_cjs.Uc(V)){if(ne>Kt)return;for(let Z of chunkFIJZIQXA_cjs.Xc(V))q(Z,ne+1,G,re+1);return}if(ne>Kt)return;let te=V.kind!=="textValue"&&"localName"in V?chunkFIJZIQXA_cjs.sd(G,V):G;if(V.kind==="hyperlink"){let Z=w;w=o?.(V)??void 0;for(let oe of V.children)q(oe,ne+1,te,re+1);w=Z;return}if(Cn(V)){let Z=_n(V);if(!Z||!$t(F))return;let oe=N;N=Jn(oe,Z);for(let ce of V.children)q(ce,ne+1,te,re+1);N=oe;return}if(chunkFIJZIQXA_cjs.ya(V))for(let Z of V.children)q(Z,ne+1,te,re+1);};for(let V of e.children)q(V,1,ee,0);return B(),kx(e,P,z)}var wS=Object.freeze({kinsoku:true,overflowPunctuation:true,characterWrap:false}),Bg=e=>!["0","false","off"].includes(e??"");function BI(e){let t=false,n="doNotCompress",r=Object.create(null),o=Object.create(null);for(let a of e?.children??[]){if(!("localName"in a)||a.namespaceUri!=="http://schemas.openxmlformats.org/wordprocessingml/2006/main")continue;let i=a.attributes.find(d=>d.localName==="val"&&d.namespaceUri===a.namespaceUri)?.value;if(a.localName==="strictFirstAndLastChars"&&(t=Bg(i)),a.localName==="characterSpacingControl"&&(i==="doNotCompress"||i==="compressPunctuation"||i==="compressPunctuationAndJapaneseKana")&&(n=i),a.localName!=="noLineBreaksBefore"&&a.localName!=="noLineBreaksAfter")continue;let l=a.attributes.find(d=>d.localName==="lang"&&d.namespaceUri===a.namespaceUri)?.value.toLowerCase();if(!l||!/^[a-z]{2,3}(?:-[a-z0-9]{2,8}){0,3}$/.test(l))continue;let s=a.localName==="noLineBreaksBefore"?r:o;(Object.keys(s).length<64||Object.hasOwn(s,l))&&(s[l]=(i??"").slice(0,4096));}return Object.freeze({strict:t,compression:n,before:Object.freeze(r),after:Object.freeze(o)})}function Td(e,t){let{kinsoku:n,overflowPunctuation:r,characterWrap:o}=wS;for(let a of e)a.localName==="kinsoku"&&(n=Bg(a.attributes?.val)),a.localName==="overflowPunct"&&(r=Bg(a.attributes?.val)),a.localName==="wordWrap"&&(o=!Bg(a.attributes?.val));return {settings:t,kinsoku:n,overflowPunctuation:r,characterWrap:o}}function Hu(e){let t;for(let n of e){if(n.localName!=="lang")continue;let r=n.attributes?.eastAsia??n.attributes?.val;r&&/^(ja|zh|ko)(-|$)/i.test(r)&&(t=r.toLowerCase());}return t}var N2="!%),.:;?]}\xA2\xB0\u2019\u201D\u2030\u2032\u2033\u2103\u3001\u3002\u3005\u3009\u300B\u300D\u300F\u3011\u3015\u309B\u309C\u309D\u309E\u30FB\u30FD\u30FE\uFF01\uFF05\uFF09\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF3D\uFF5D\uFF61\uFF63\uFF64\uFF65\uFF9E\uFF9F\uFFE0",D2="$([\\{\xA3\xA5\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF04\uFF08\uFF3B\uFF5B\uFF62\uFFE1\uFFE5",_2="!%),.:;>?]}\xA2\xA8\xB0\xB7\u02C7\u02C9\u2015\u2016\u2019\u201D\u2026\u2030\u2032\u2033\u203A\u2103\u2236\u3001\u3002\u3003\u3009\u300B\u300D\u300F\u3011\u3015\u3017\u301E\uFE36\uFE3A\uFE3E\uFE40\uFE44\uFE5A\uFE5C\uFE5E\uFF01\uFF02\uFF05\uFF07\uFF09\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF3D\uFF40\uFF5C\uFF5D\uFF5E\uFFE0",H2="$([{\xA3\xA5\xB7\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u301D\uFE59\uFE5B\uFE5D\uFF04\uFF08\uFF0E\uFF3B\uFF5B\uFFE1\uFFE5",j2="! ),.:;?]}\xA2\xB7\u2013\u2014\u2019\u201D\u2022\u2025\u2026\u2027\u2032\u2574\u3001\u3002\u3009\u300B\u300D\u300F\u3011\u3015\u301E\uFE30\uFE31\uFE33\uFE34\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE44\uFE4F\uFE50\uFE51\uFE52\uFE54\uFE55\uFE56\uFE57\uFE5A\uFE5C\uFE5E\uFF01\uFF09\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF3D\uFF5C\uFF5D\uFF64".replace(" ",""),W2="([{\xA3\xA5\u2018\u201C\u2035\u3008\u300A\u300C\u300E\u3010\u3014\u301D\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE59\uFE5B\uFE5D\uFF08\uFF5B",z2="!%),.:;?]}\xA2\xB0\u2019\u201D\u2032\u2033\u2103\u3009\u300B\u300D\u300F\u3011\u3015\uFF01\uFF05\uFF09\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF3D\uFF5D\uFFE0",V2="$([\\{\xA3\xA5\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF04\uFF08\uFF3B\uFF5B\uFFE1\uFFE5\uFFE6",G2="\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u30FC\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70";function LI(e,t){let n=e.split("-")[0],r=/^zh-(tw|hk|mo|hant)(-|$)/.test(e),o=n==="zh"?r?j2:_2:n==="ko"?z2:N2,a=n==="zh"?r?W2:H2:n==="ko"?V2:D2;return n==="ja"&&t?.strict&&(o+=G2),o=t?.before[e]??o,a=t?.after[e]??a,{before:o,after:a}}function Pi(e){return e>=4352&&e<=4607||e>=12592&&e<=12687||e>=43360&&e<=43391||e>=44032&&e<=55295}var Bt=e=>xl(e)||Pi(e),TS=e=>/[\u1100-\u11ff\u2e80-\u318f\u31c0-\u9fff\ua960-\ua97f\uac00-\ud7ff\uf900-\ufaff\ufe30-\ufe4f\uff01-\uff9f\u{20000}-\u{323af}]/u.test(e),EI=e=>e>=65296&&e<=65305||e>=65313&&e<=65338||e>=65345&&e<=65370,kS=e=>!e.projected&&!e.positionalTab&&!e.inlineDrawing&&!e.equation&&e.end-e.start===e.text.length;function Lg(e,t){if(!t.characterWrap&&!e.some(P=>/[\u1100-\u11ff\u2e80-\ud7ff\uf900-\uffef\u{20000}-\u{323af}]/u.test(P.text)||Hu(P.props)))return null;let n=new Map,r=[],o=0;for(let P of e){n.set(P,o);let S=kS(P)?P.text:"\uFFFC".repeat(Math.min(P.text.length,1));r.push(S),o+=S.length;}let a=r.join(""),i=bt(a),l=new Map([[0,"opens"],[a.length,"opens"]]),s=new Set(eo(a,false)),d=new Set,c=/[$¥£₩+-$£¥+\-]?[0-90-9]+(?:[.,:/.,:/][0-90-9]+)*(?:[%%‰])?|[A-Za-z]+/gu;for(let P of a.matchAll(c))if(/[0-9A-Za-z]/u.test(P[0]))for(let S=P.index+1;S<P.index+P[0].length;S++)d.add(S);let u=0,f=0,m=i.some(P=>Pi(P.text.codePointAt(0))),g=m?"ko-kr":/[\u3040-\u30ff\uff66-\uff9f]/u.test(a)?"ja-jp":"zh-cn",p=[],h=false;for(let P of i)/^[\p{P}\p{S}\p{M}]+$/u.test(P.text)||(h=Bt(P.text.codePointAt(0))),p.push(h||Bt(P.text.codePointAt(0)));let y=e.map(P=>Hu(P.props)),b=new Map,x=P=>{let S=b.get(P);return S||(S=LI(P,t.settings),b.set(P,S)),S};for(let P=1;P<i.length;P++){let S=i[P-1],w=i[P],I=w.utf16From;for(;u+1<e.length&&n.get(e[u+1])<=I;)u++;for(;f+1<e.length&&n.get(e[f+1])<=S.utf16From;)f++;let v=Qr(S.text),O=S.text.codePointAt(0),T=w.text.codePointAt(0);if(/[\t\n\f\ufffc]/u.test(S.text+w.text)){l.set(I,"opens");continue}if(Cv.test(S.text+w.text)){l.set(I,"forbidden");continue}let C=false;if(t.kinsoku){let N=y[u]??(t.settings&&(Bt(T)||p[P-1]&&/^[\p{P}\p{S}]+$/u.test(w.text))?g:void 0),A=y[f]??(t.settings&&(Bt(O)||Bt(T)&&/^[\p{P}\p{S}]+$/u.test(S.text))?g:void 0);if(N||A)C=(N?x(N).before.includes(String.fromCodePoint(T)):uu.has(T))||(A?x(A).after.includes(String.fromCodePoint(v)):fu.has(v));else if(C=uu.has(T)||fu.has(v),p[P-1]||Bt(T)){let L=Pi(v)||Pi(T)?"ko-kr":"ja-jp",B=x(L);C||=p[P-1]&&B.before.includes(String.fromCodePoint(T))||Bt(T)&&B.after.includes(String.fromCodePoint(v));}}if(C){l.set(I,"forbidden");continue}if(d.has(I)){l.set(I,"continues");continue}let F=Bt(O)&&!EI(O)||Bt(T)&&!EI(T)||p[P-1]&&/^[\p{P}\p{S}]+$/u.test(S.text),k=t.characterWrap&&(!m||Pi(O)&&Pi(T)),_=Pi(O)&&Pi(T)&&!k,E=s.has(I)||/\s$/u.test(S.text)||/^\s/u.test(w.text)||F&&!_||k;l.set(I,E?"opens":"continues");}let R=new Map;for(let P of e){let S=n.get(P);if(!kS(P)){R.set(P,eo(P.text,false));continue}let w=[];for(let I=1;I<P.text.length;I++){let v=l.get(S+I);(v==="opens"||d.has(S+I)&&v==="continues")&&w.push(I);}w.push(P.text.length),R.set(P,w);}return {boundaries:P=>R.get(P),decision:(P,S)=>kS(P)?l.get(n.get(P)+S)??"forbidden":"opens",cutAllowed:(P,S,w)=>l.get(n.get(P)+S+w)!=="forbidden"&&l.has(n.get(P)+S+w)}}function AI(e,t,n){if(!e.some(d=>TS(d.text)))return null;if(e.some(d=>d.text.includes(" ")||d.wrapAdvanceBefore))return e;let r=[];for(let d of e){if(d.projected||d.equation||d.range.end-d.range.start!==d.text.length||!TS(d.text)){r.push(d);continue}let c=bt(d.text),u=[],f=0;for(let y=1;y<c.length;y++)(Bt(Qr(c[y-1].text))||Bt(c[y].text.codePointAt(0)))&&(u.push({from:f,to:c[y].utf16From}),f=c[y].utf16From);if(u.push({from:f,to:d.text.length}),u.length===1){r.push(d);continue}let m=Be(d.style,d.fontSlot),g=u.map(y=>rt(d.text.slice(y.from,y.to),m,t)),p=g.reduce((y,b)=>y+b,0),h=d.box.x;for(let y=0;y<u.length;y++){let b=u[y],x=p>0?g[y]*d.box.width/p:0,{caretEdges:R,...P}=d;r.push({...P,text:d.text.slice(b.from,b.to),range:{...d.range,start:d.range.start+b.from,end:d.range.start+b.to},box:{...d.box,x:h,width:x}}),h+=x;}}let o=new Set,a=r.map(d=>({text:d.text,props:d.props,style:d.style,start:d.range.start,end:d.range.end,projected:!!(d.projected||d.equation)})),i=Lg(a,wS);for(let d=1;d<r.length;d++){let c=r[d-1],u=r[d],f=Qr(c.text),m=u.text.codePointAt(0);f===void 0||m===void 0||u.lineEndWhitespace||u.text===`
15
- `||(c.text.endsWith(" ")||(Bt(f)||Bt(m))&&i?.decision(a[d],0)==="opens"&&Bp(f,m)&&!/[\u00a0\u202f\u2060\ufeff]/u.test(c.text.slice(-1)+u.text[0]))&&o.add(d);}if(o.size===0)return e;let l=n/o.size,s=0;return r.map((d,c)=>(o.has(c)&&(s+=l),s===0?d:{...d,box:{...d.box,x:d.box.x+s}}))}function or(e){let t=e.length;for(;t>0&&e.charCodeAt(t-1)===32;)t-=1;return e.slice(0,t)}function zn(e){if(e.length===0)return false;for(let t of e)if(t!==" "&&t!=="\u3000")return false;return true}function NI(e,t,n,r){if(n!==" "||!/\S$/u.test(r))return false;let o=t-1;for(;e[o]?.text===chunkFIJZIQXA_cjs.mb;)o--;return o<t-1&&e[o]?.style===e[t].style}function DI(e,t){let n=or(e);return n.length===0||n.length===e.length?void 0:t(n)}function Eg(e,t,n,r,o){if(t<=n+o)return;let a=e.length;for(;a>0&&e[a-1]===" ";)a--;if(a===0||a===e.length)return;let i=r(e.slice(0,a));if(!(i>n+o))return {length:a,visibleWidth:i,width:Math.max(i,n)}}function _I(e,t,n){if(!n){e.push(t);return}let r=t.range.start+n.length;e.push({...t,text:t.text.slice(0,n.length),range:{...t.range,end:r},box:{...t.box,width:n.visibleWidth}},{...t,text:t.text.slice(n.length),range:{...t.range,start:r},box:{...t.box,x:t.box.x+n.visibleWidth,width:Math.max(0,t.box.width-n.visibleWidth)},lineEndWhitespace:true});}var jI=1e-6;function K2(e){let t=e.length;for(;t>0&&(zn(e[t-1].text)||(e[t-1].text===`
16
- `||e[t-1].text===chunkFIJZIQXA_cjs.mb)&&e[t-1].box.width===0);)t--;return t===0?e.length:t}function WI(e,t,n,r){if(!t&&Gp(e)||!e.some(g=>g.style.shaping))return;let o=K2(e);if(o===e.length)return;let a=vd(e,t,r),i=1/0,l=-1/0,s=1/0,d=-1/0,c,u=t;if(a.forEach((g,p)=>{if(p<o)i=Math.min(i,g.box.x),l=Math.max(l,g.box.x+g.box.width);else if(zn(g.text)){if(s=Math.min(s,g.box.x),d=Math.max(d,g.box.x+g.box.width),c!==void 0)return;let h=g.style.shaping;c=h?.runDirection===void 0?t:h.runDirection==="rtl",u=h?.runDirection===void 0?t:h.level%2===1;}}),c===void 0)return t?{from:o,side:"left",hangs:true}:void 0;let f=d<=i+jI?"left":s>=l-jI?"right":void 0;if(f===void 0)return {from:o,side:"right",hangs:false};let m=n?c===t:u===c;if(!(m&&f==="right"&&!t))return {from:o,side:f,hangs:m}}function zI(e,t,n,r,o,a,i,l){let{from:s,side:d,hangs:c}=t,u=e.slice(0,s),f=e.slice(s).reduce((T,C)=>T+C.box.width,0),m=n(u,c?o:Math.max(0,o-f),a===void 0?void 0:Math.max(0,a-f)),g=m.length,p=T=>T.box.x+T.box.width,h=p(m[g-1])-p(u[s-1]),y=e.slice(s).map(T=>({...T,box:{...T.box,x:T.box.x+h}})),b=vd([...m,...y],i,l);if(!c)return b;let x=g-1;for(;x>0&&!((m[x].wrapAdvanceBefore??0)>0);)x--;let R=1/0,P=-1/0,S=1/0;for(let T=x;T<g;T++)R=Math.min(R,m[T].box.x),P=Math.max(P,p(m[T])),S=Math.min(S,b[T].box.x);let w=R-S,I=Math.min(x===0?r:u[x].box.x,R),v=Math.max(r+o,P),O=T=>d==="left"?Math.max(T,I):Math.min(T,v);return b.map((T,C)=>{if(C<x)return T;let F=T.box.x+w;if(C<g)return w===0?T:{...T,box:{...T.box,x:F}};let k=O(F),_=Math.max(0,O(F+T.box.width)-k);if(k===T.box.x&&_===T.box.width)return T;let E={...T,box:{...T.box,x:k,width:_}};return _<T.box.width&&zn(T.text)?{...E,lineEndWhitespace:true}:E})}var VI=.001,$2=1e-9;function ju(e){let t=at(e),n=t?"right":"left",r=t?"left":"right",o=n;for(let a of e)if(a.localName==="jc")switch(a.attributes?.val){case "center":o="center";break;case "right":case "end":o=r;break;case "both":case "distribute":case "lowKashida":case "mediumKashida":case "highKashida":case "thaiDistribute":o="both";break;default:o=n;}return o}function Uoe(e,t){return e==="center"?"center":e==="justify"||e==="both"?"both":t?e==="left"?"right":"left":e}function U2(e){return e.endsWith(" ")}function Y2(e,t){let n=e.length;for(;n>0&&e[n-1].text===chunkFIJZIQXA_cjs.mb&&e[n-1].box.width===0;)n-=1;if(n===0||n===e.length)return null;let r=t(e.slice(0,n)),o=e[n-1],a=r[r.length-1],i=a.box.x+a.box.width-(o.box.x+o.box.width);return [...r,...e.slice(n).map(l=>({...l,box:{...l.box,x:l.box.x+i}}))]}function GI(e,t,n,r,o,a,i,l,s,d){if(e.length===0||o==="left"||!Number.isFinite(r))return e;if(s){let v=Y2(e,O=>GI(O,t,n,r,o,a,i,l,false,d));if(v)return v}let c=e.length;for(;c>0&&e[c-1].box.width===0&&(e[c-1].text===`
17
- `||e[c-1].text===chunkFIJZIQXA_cjs.mb);)c-=1;let u=c;for(;u>0&&e[u-1].lineEndWhitespace;)u-=1;let f=e[c-1],m=u<c?e[u].box.x-n:void 0,g=i!==void 0&&f!==void 0&&Math.abs(f.box.x+f.box.width-n-i)<=VI;if(u<c&&g&&(o==="center"||o==="right")){let v=r-m;if(v<=0)return e;let O=o==="center"?v/2:v,T=(i??0)>=r-VI,C=e[u].box.x+O;return e.map((F,k)=>{if(k<u)return {...F,box:{...F.box,x:F.box.x+O}};if(!T)return {...F,box:{...F.box,x:F.box.x+O}};let _=Math.min(F.box.width,Math.max(0,n+r-C)),E={...F,box:{...F.box,x:C,width:_}};return C+=_,E})}let p=e[e.length-1],h=(v,O=or(v.text))=>O===v.text?0:v.box.width-rt(O,Be(v.style,v.fontSlot),t),y=c-1;for(;y>0&&or(e[y].text)==="";)y-=1;let b=e[y]??p,x=()=>b.box.x-n+b.box.width-h(b,b===p?void 0:or(b.text)),R=o==="both"&&!l&&i===void 0&&u>0&&u<c,P=i??(m!==void 0&&R?m-h(e[u-1],or(e[u-1].text)):m)??x(),S=0;if((o==="center"||o==="right")&&g&&f?.text.endsWith(" ")&&!f.lineEndWhitespace){let v=or(f.text),O=rt(v,Be(f.style,f.fontSlot),t),T=Math.max(0,f.box.width-O);P-=T,l&&(S=T);}let w=r-P;if(w<-1e-3&&o==="both"&&(!a||d))return MF(e,-w,t,R?u-1:Math.max(0,y));if(w<=$2)return e;if(o==="both"){if(a)return e;let v=AI(e,t,w);if(v)return v;let O=[];for(let k=1;k<Math.min(u,y+1);k+=1)U2(e[k-1].text)&&O.push(k);if(O.length===0)return e;let T=w/O.length,C=new Set(O),F=0;return e.map((k,_)=>(C.has(_)&&(F+=T),F===0?k:{...k,box:{...k.box,x:k.box.x+F}}))}let I=(o==="center"?w/2:w)-S;return e.map(v=>({...v,box:{...v.box,x:v.box.x+I}}))}function vS(e,t,n,r){if(n)return true;let o=(t.pageBreakAfter===true||t.columnBreakAfter===true)&&r?.pageBreakLinesStretch!==true,a=t.manualBreakAfter===true&&r?.unstretchedManualBreakLines===true;if(!o&&!a)return false;let i=false;for(let l of e)l.localName==="jc"&&(i=l.attributes?.val==="distribute");return !i}function KI(e,t,n,r){if(n)return true;if(t.pageBreakAfter!==true&&t.manualBreakAfter!==true)return false;let o={...t.pageBreakAfter===true?{pageBreakAfter:true}:{},...t.manualBreakAfter===true?{manualBreakAfter:true}:{}};return vS(e,o,false,r)}function Wu(e,t,n,r,o,a,i,l=e.some(c=>c.style.shaping?.baseLevel===1),s=false,d=false){let c=o==="both"&&a&&l?"right":o,u=$I(e,t),f=(g,p,h)=>GI(g,t,n,p,c,a,h,l,s,d),m=WI(u,l,a,s);return m?zI(u,m,f,n,r,i,l,s):vd(f(u,r,i),l,s)}function Ag(e,t,n,r,o){if(e.length>0&&t.length>0)return t[0].box.x-e[0].box.x;if(n==="left"||n==="both")return 0;let a=r-o;return a<=0||!Number.isFinite(a)?0:n==="center"?a/2:a}function FS(e,t,n,r){let o=e.wrapSegment;return o?{indent:t+o.start,available:Math.max(1,o.end-o.start),used:n-t+e.width-o.start}:{indent:n,available:r,used:e.width}}var X2=/^[、。〈〉《》「」『』【】〔〕〖〗〘〙〚〛!(),.:;?[]{}]$/u,zu=/^[〈《「『【〔〖〘〚([{]$/u,OS=/^[、。〉》」』】〕〗〙〛),.]}]$/u,Z2=/^[\u3041-\u3096\u30a1-\u30fa][\u3099\u309a]?$/u;function UI(e){return e.some(t=>t.spans.some((n,r)=>n.glyphOffsetPt===0&&n.text.endsWith("\uFF1A")&&(!t.spans[r+1]||(t.spans[r+1].wrapAdvanceBefore??0)>0)))}function YI(e,t,n){let r=new Map,o=0;for(let a of e){if(a.glyphOffsetPt!==0||a.text!=="\uFF1A")continue;for(;o+1<t.length&&t[o].end<=a.start;)o++;let i=t[o];r.set(a,rt(a.text,Be(i.style,i.fontSlot),n));}return r}var q2=e=>!e.projected&&!e.style.textOutline&&e.style.shaping?.direction!=="rtl"&&!e.style.underline&&!e.style.strike&&!e.style.doubleStrike&&!e.revisions?.length&&!yl(e.props)&&e.measureText===void 0&&!e.positionalTab&&!e.equation&&!e.inlineDrawing&&e.end-e.start===e.text.length;function J2(e,t,n,r){let o=[],a=0,i=e.map(c=>{o.push(a);let u=q2(c)?c.text:"\uFFFC";return a+=u.length,u}).join(""),l=new Map,s=0,d=bt(i);for(let c=0;c<d.length;c++){let u=d[c],f=d[c-1]?.text,m=d[c+1]?.text;for(;s+1<e.length&&o[s+1]<=u.utf16From;)s++;let g=e[s],p=zu.test(u.text)&&f!==void 0&&zu.test(f),h=m!==void 0&&(OS.test(u.text)&&(zu.test(m)||OS.test(m)||m==="\uFF1A")||u.text==="\uFF1A"&&(zu.test(m)||OS.test(m))&&!r&&!g.style.highlight&&!g.style.shading),y=p||h?.5:t&&Z2.test(u.text)?.125:0;if(!y)continue;let b=Be(g.style,g.fontSlot),x=rt(u.text,b,n),R=p||h?rt(u.text,{...b,characterSpacingPt:0},n):x,P=R*y;if(u.text==="\uFF1A"&&m!==void 0){let w=s,I=d[c+1].utf16From;for(;w+1<e.length&&o[w+1]<=I;)w++;let v=e[w],O=Be(v.style,v.fontSlot);if(zu.test(m)){let T=rt(m,{...O,characterSpacingPt:0},n);P=Math.min(P,Math.max(0,T/2));}else {let T=n.inkBounds?.(u.text,b),C=n.inkBounds?.(m,O),F=rt(m,O,n);if(!T||!C||![T.left,T.right,C.left,C.right].every(Number.isFinite)||T.left<0||C.left<0||T.right<T.left||C.right<C.left||T.right>R||T.right>x/2+F||C.right>F||v.style.highlight||v.style.shading)continue;P=x/2;}}let S=Math.max(0,Math.min(x,P))/u.text.length;for(let w=s;w<e.length&&o[w]<u.utf16To;w++){let I=e[w],v=Math.max(0,u.utf16From-o[w]),O=Math.min(I.text.length,u.utf16To-o[w]);if(v===O)continue;let T=l.get(I);T||(T=[],l.set(I,T)),T.push({from:v,to:O,reduction:S,glyphOffset:p?-S:h?0:void 0});}}return l}function XI(e,t,n,r=false){let o=t.settings?.compression;if(!o||o==="doNotCompress")return e;let a=[],i=new WeakMap,l=J2(e,o==="compressPunctuationAndJapaneseKana",n,r);for(let s of e){let d=l.get(s);if(!d){a.push(s);continue}let c=0;for(let u of d){u.from>c&&a.push({...s,text:s.text.slice(c,u.from),start:s.start+c,end:s.start+u.from});let f=s.style.characterSpacingPt-u.reduction,m=i.get(s.style);m||(m=new Map,i.set(s.style,m));let g=m.get(f);g||(g=ep(s.style,f),m.set(f,g)),a.push({...s,text:s.text.slice(u.from,u.to),start:s.start+u.from,end:s.start+u.to,style:g,...u.glyphOffset!==void 0?{glyphOffsetPt:u.glyphOffset}:{}}),c=u.to;}c===0?a.push(s):c<s.text.length&&a.push({...s,text:s.text.slice(c),start:s.start+c});}return a}function Fd(e,t,n,r,o){if(t.projected||t.measureText!==void 0)return false;let a=e[e.length-1];if(!a||!/^[\p{Pe}\p{Pf}\p{Po}]$/u.test(a)||!X2.test(a)&&!Hu(t.props))return false;let i=bt(e).at(-1)?.text;if(!i||!/^[\p{Pe}\p{Pf}\p{Po}]$/u.test(i))return false;let l=rt(i,Be(t.style,t.fontSlot),o);return r-l<=n+.001&&n>=-1e-3}var ZI=/^[〈《「『【〔〖〘〚([{]$/u,qI=/^[、。〉》」』】〕〗〙〛),.]}]$/u,Vu=/^[〈《「『【〔〖〘〚([{、。〉》」』】〕〗〙〛),.]}:]$/u,JI=/[〈《「『【〔〖〘〚([{、。〉》」』】〕〗〙〛),.]}:]/u,Ri=.001;function QI(e){let t=e.style;return !e.revisions?.length&&!t.textOutline&&!t.underline&&!t.strike&&!t.doubleStrike&&!t.highlight&&!t.shading&&t.shaping?.direction!=="rtl"&&!yl(e.props)}function eM(e){return e.every(t=>QI(t)&&!t.projected&&!t.fieldAtom&&!t.equation&&!t.positionalTab&&!t.inlineDrawing&&t.measureText===void 0&&t.end-t.start===t.text.length&&bt(t.text).every(n=>/^[ \n\f]$/u.test(n.text)||Bt(n.text.codePointAt(0))||Vu.test(n.text)))}function Q2(e){return QI(e)&&!e.projected&&!e.fieldAtom&&!e.equation&&!e.caretEdges&&!e.lineEndWhitespace&&!e.wrapAdvanceBefore&&e.range.end-e.range.start===e.text.length}function eU(e,t,n){let r=[],o=0;for(let[a,i]of e.entries()){if(o+=i.text.length,o>4096||!Q2(i))return;let l=Be(i.style,i.fontSlot),s=0;for(let d of bt(i.text)){if(d.text!==" "&&!Bt(d.text.codePointAt(0))&&!Vu.test(d.text))return;let c=d.utf16To===i.text.length?i.box.width:rt(i.text.slice(0,d.utf16To),l,t),u=c-s,f=i.range.start+d.utf16From,m=0,g=n.length-1;for(;m<g;){let h=m+g+1>>1;n[h].start<=f?m=h:g=h-1;}let p=n[m];r.push({sourceIndex:a,alreadyReduced:Math.max(0,(p.style.characterSpacingPt-i.style.characterSpacingPt)*d.text.length),natural:rt(d.text,{...l,characterSpacingPt:0},t),ink:t.inkBounds?.(d.text,l),reduction:0,shift:0,span:{...i,text:d.text,range:{...i.range,start:i.range.start+d.utf16From,end:i.range.start+d.utf16To},box:{...i.box,x:i.box.x+s,width:u}}}),s=c;}}return r}function CS(e){return e.ink!==void 0&&Number.isFinite(e.ink.left)&&Number.isFinite(e.ink.right)&&e.ink.right>=e.ink.left}function tU(e,t,n,r,o){let a=t.reduce((b,x)=>b+x.box.width,0),i=e.width+a-n;if(i<=Ri||!r.inkBounds||e.drawings.length||!t.some(b=>JI.test(b.text))&&!e.spans.some(b=>JI.test(b.text)))return;for(let b=1;b<e.spans.length;b++){let x=e.spans[b-1];if(Math.abs(x.box.x+x.box.width-e.spans[b].box.x)>Ri)return}let l=e.spans.length,s=eU([...e.spans,...t],r,o);if(!s)return;let d=s.find(b=>b.sourceIndex===l);if(Bt(d.span.text.codePointAt(0))&&!Vu.test(d.span.text)&&n-e.width+Ri<d.natural/2)return;let c=s.at(-1);if(qI.test(c.span.text)&&CS(c)){let b=Math.max(c.natural/2,c.ink.right+(c.span.glyphOffsetPt??0));c.reduction=Math.min(i,Math.max(0,c.span.box.width-b)),i-=c.reduction;}let u=[];for(let b=1;b<s.length;b++){let x=s[b-1],R=s[b],P=x.span.text,S=R.span.text,w,I;if(ZI.test(S)&&Bt(P.codePointAt(0))&&!Vu.test(P))w=R,I=true;else if(P==="\uFF1A"&&ZI.test(S)||qI.test(P)&&Bt(S.codePointAt(0))&&!Vu.test(S))w=x,I=false;else continue;if(!CS(x)||!CS(R))continue;let v=x.span.box.width+(R.span.glyphOffsetPt??0)+R.ink.left-(x.span.glyphOffsetPt??0)-x.ink.right,O=Math.max(0,Math.min(w.natural/2-w.alreadyReduced,w.span.box.width-w.reduction,I?R.ink.left+(R.span.glyphOffsetPt??0):1/0,v));O>Ri&&u.push({cell:w,capacity:O,left:I});}if(i>u.reduce((b,x)=>b+x.capacity,0)+Ri)return;let f=u;for(;i>Ri&&f.length;){let b=i/f.length,x=[];for(let R of f){let P=Math.min(b,R.capacity);R.cell.reduction+=P,R.left&&(R.cell.shift-=P),i-=P,R.capacity-P>Ri&&x.push({...R,capacity:R.capacity-P});}f=x;}let m=[],g=[],p=[],h=e.spans[0]?.box.x??t[0].box.x,y=0;for(let b of s){let x=b.span,R=b.reduction>0,P={...x,...R?{style:ep(x.style,x.style.characterSpacingPt-b.reduction/x.text.length),glyphOffsetPt:(x.glyphOffsetPt??0)+b.shift}:{},box:{...x.box,x:h,width:x.box.width-b.reduction}};h+=P.box.width,b.sourceIndex<l?(p[b.sourceIndex]??=m.length,m.push(P)):(g.push(P),y+=P.box.width);}p[l]=m.length,e.spans.length=0;for(let b of m)e.spans.push(b);return e.width=n-y,{candidate:g,width:y,spanStarts:p}}function tM(e,t,n,r){let o=new Map;return (a,i,l,s,d,c,u,f)=>{let m=o.get(s.start);if(m)return o.delete(s.start),m;if(!f||!n.inkBounds||!t)return;let g=[],p=i,h=l,y=s,b=d,x=c,R=0;for(;;){let O=e[p];if(O.projected||O.measureText!==void 0||O.equation||O.positionalTab||O.inlineDrawing||O.revisions?.length||(R+=h.length,R>4096||g.length>=256))return;if(g.push({text:h,range:y,props:O.props,style:O.style,fontSlot:O.fontSlot,glyphOffsetPt:O.glyphOffsetPt,fieldAtom:O.fieldAtom,box:{x,y:0,width:b,height:n.lineMetrics(Be(O.style,O.fontSlot)).height}}),x+=b,y.end<O.end)break;let T=e[p+1];if(!T||t.decision(T,0)==="opens")break;p++;let C=t.boundaries(T)[0]??T.text.length;h=T.text.slice(0,C),y={...s,start:T.start,end:T.start+C},b=rt(h,Be(T.style,T.fontSlot),n);}let P=0,S=false;for(let O=g.length-1;O>=0;O--){let T=g[O],C=or(T.text);if(P+=rt(T.text.slice(C.length),Be(T.style,T.fontSlot),n),C.length){S=true;break}}if(P>0&&S&&x-c-P<=u-a.width+Ri||r&&Fd(g.map(O=>O.text).join(""),e[p],u-a.width,x-c,n))return;let w=tU(a,g,u,n,e);if(!w)return;let I,v=0;for(let O of g){let T=[],C=0;for(;v<w.candidate.length&&w.candidate[v].range.start<O.range.end;){let k=w.candidate[v++];T.push(k),C+=k.box.width;}let F={candidate:T,width:C};I?o.set(O.range.start,F):I={...F,spanStarts:w.spanStarts};}return I}}function nM(e,t,n){let r=t.box.x;for(let o of n.candidate)e.push({...t,text:o.text,range:o.range,style:o.style,glyphOffsetPt:o.glyphOffsetPt,box:{...t.box,x:r,width:o.box.width}}),r+=o.box.width;}var Ct=.001,nU=32,IS=128;function Ng(e,t,n){if(e.input.mode==="topAndBottom")return true;let r=e.input,o=r.contentBounds.x,a=o+r.contentBounds.width;for(let i of [r.polygon,r.clipPolygon])for(let l of i??[])o=Math.min(o,l.x),a=Math.max(a,l.x);return o-=r.wrapDistances.left+r.effectInsets.left,a+=r.wrapDistances.right+r.effectInsets.right,o<n-Ct&&a>t+Ct}function rU(e,t,n){let r=new Set,o=a=>{a>t&&a<n&&r.add(a);};for(let a of e){if(a.verticalBand.y>=n||a.verticalBand.y+a.verticalBand.height<=t)continue;o(a.verticalBand.y),o(a.verticalBand.y+a.verticalBand.height);let i=a.input.wrapDistances.top+a.input.effectInsets.top,l=a.input.wrapDistances.bottom+a.input.effectInsets.bottom;for(let s of [a.input.polygon,a.input.clipPolygon])for(let d of s??[])if(o(d.y-i),o(d.y+l),r.size>IS)return;if(r.size>IS)return}return [...r].filter(Number.isFinite).sort((a,i)=>a-i)}function oU(e){if(!e||e.length<4)return false;let t=1/0,n=-1/0,r=1/0,o=-1/0;for(let a of e)t=Math.min(t,a.x),n=Math.max(n,a.x),r=Math.min(r,a.y),o=Math.max(o,a.y);return n>t&&o>r?e.every((a,i)=>{let l=e[(i+1)%e.length];return (Math.abs(a.x-t)<Ct||Math.abs(a.x-n)<Ct||Math.abs(a.y-r)<Ct||Math.abs(a.y-o)<Ct)&&(Math.abs(a.x-l.x)<Ct||Math.abs(a.y-l.y)<Ct)}):false}function Ca(e,t,n,r,o,a){if(!(t>0&&a>=0&&a<=o-r)||!Number.isFinite(a)||n.length===0)return 0;let i=n.filter(m=>m.input.mode==="square"||m.input.mode==="topAndBottom"||m.input.mode==="tight"&&oU(m.input.polygon)),l,s=()=>l??=n.filter(m=>Ng(m,r,o)),d=m=>{let g=m,p=[...s()].sort((h,y)=>h.verticalBand.y-y.verticalBand.y);for(let h of p){if(h.verticalBand.y>=g+t-Ct)break;g=Math.max(g,h.verticalBand.y+h.verticalBand.height);}return g-e},c=0,u=false,f=e;for(let m=0;m<nU;m++){let g=i.filter(x=>x.verticalBand.y<f+t-Ct&&x.verticalBand.y+x.verticalBand.height>f+Ct);if(g.length===0&&!u)return f-e;let p=g.some(x=>x.sourceKind==="table"&&Ng(x,r,o));if(a===0&&!p&&!u)return f-e;let h=[{start:r,end:o}],y=[f+Ct,f+t-Ct];for(let x of g)y.push(Math.max(f,x.verticalBand.y)+Ct);for(let x of y)if(h=Ap(h,Er(x,i,r,o)).filter(R=>R.end-R.start>=a-Ct),h.length===0)break;if(h.length>0){if(!u&&(!p||i.length===n.length))return f-e;let x=rU(s(),f,f+t);if(!x)return d(f);let R=[{start:r,end:o}],P=[f+Ct,f+t-Ct];for(let S of x)S>f&&S<f+t&&(P.push(Math.max(f+Ct,S-Ct)),P.push(Math.min(f+t-Ct,S+Ct)));for(let S of P){if(++c>IS)return d(f);if(R=Ap(R,Er(S,n,r,o)).filter(w=>w.end-w.start>=a-Ct),R.length===0)break}if(R.length>0)return f-e;u=true,f=Math.min(f+t,x.find(S=>S>f+Ct)??1/0);continue}p&&i.length!==n.length&&(u=true);let b=1/0;for(let x of g){let R=x.verticalBand.y+x.verticalBand.height;R>f+Ct&&(b=Math.min(b,R));}if(!Number.isFinite(b)||b<=f||b-e>1e5)return u?d(f):f-e;f=b;}return u?d(f):f-e}function MS(e,t,n,r){if(e.anchorParagraphId!==t||e.pageFramedBand)return true;let o=r.get(e.anchorModelStart);return o!==void 0&&n.start>=o?true:n.end>=e.anchorModelStart}function aU(e,t,n,r,o,a,i,l){let s=ma(i,e.height,e.baseline).height;if(n<=s+.001||e.spans.length===0&&e.drawings.length===0)return 0;let d=Er(t,r,o,a,s),c=Er(t,r,o,a,n),u=(b,x)=>x.some(R=>b.x>=R.start-.001&&b.x+b.width<=R.end+.001),f=e.spans.some(b=>b.text.trim()&&u(b.box,d)&&!u(b.box,c)),m=e.drawings.some(b=>u(b,d)&&!u(b,c));if(!f&&!m)return 0;if(e.spans.some(b=>b.text.includes(" ")))return null;let g=1/0,p=-1/0;for(let b of e.spans)g=Math.min(g,b.box.x),p=Math.max(p,b.box.x+b.box.width);for(let b of e.drawings)g=Math.min(g,b.x),p=Math.max(p,b.x+b.width);let h=c.find(b=>Math.max(g,b.start)+p-g+l<=b.end+.001);if(!h)return null;let y=Math.max(0,h.start-g);for(let b=0;b<e.spans.length;b++){let x=e.spans[b];e.spans[b]={...x,box:{...x.box,x:x.box.x+y}};}for(let b=0;b<e.drawings.length;b++)e.drawings[b]=ar(e.drawings[b],y,0);return e.width+=y,y}function rM(e){let t,n,r=(p=false)=>{let h=e.line();if(!p&&(t===h||e.holdsContent()))return;let y=e.zones();if(y.length===0)return;let b=e.measurer.lineMetrics(e.emptyStyle),x=oo(e.top(),h.height>0?h.height:b.height,y,e.spaceAbove?.()??0);x>(p?h.exclusionSkipBefore??0:0)+.001&&(t=h,n=h,h.exclusionSkipBefore=x);},o=(p,h)=>{let y=p.exclusionSkipBefore??0,b=y>.001?0:Math.max(0,e.spaceAbove?.()??0);p.exclusionSkipBefore=y+h+b,p.width=0,t=p,n=void 0;},a=(p,h)=>{let y=e.line();if(e.holdsContent())return;r();let b=e.zones();if(b.length===0)return;let x=e.measurer.lineMetrics(h),R=p.codePointAt(0),P=R===void 0?"":String.fromCodePoint(R),S=Ca(e.top()+(y.exclusionSkipBefore??0),Math.max(x.height,ma(e.lineSpacing,x.height,x.baseline).height),b,e.left(),e.right,e.measurer.measure(Vt(P,h),h));S>.001&&o(y,S);},i=(p,h)=>{let y=e.line(),b=e.holdsContent();r();let x=e.zones();if(x.length===0)return;let R=Ca(e.top()+(y.exclusionSkipBefore??0),Math.max(y.height,h+Math.max(0,y.height-y.baseline)),x,e.left(),e.right,Math.min(y.width+p,Math.max(0,e.right-e.left())));R>.001&&(y.exclusionSkipBefore=(y.exclusionSkipBefore??0)+R,b||(y.width=0),t=y,n=void 0);},l=(p,h)=>{let y=e.line();if(e.holdsContent())return false;let b=e.zones();if(b.length===0)return false;let x=e.left(),R=Ca(e.top()+(y.exclusionSkipBefore??0),h,b,x,e.right,Math.min(p,Math.max(0,e.right-x)));if(!(R>.001))return false;let P=e.regionBottom;return P!==void 0&&e.top()+(y.exclusionSkipBefore??0)+R+h>P+.001&&b.some(S=>S.anchorParagraphId===e.paragraphId&&S.input.mode!=="topAndBottom")?false:(o(y,R),true)},s=()=>{let p=e.line(),h=e.zones();if(h.length===0)return;let y=oo(e.top(),p.height,h,e.spaceAbove?.()??0),x=n===p&&h.every(R=>R.input.mode==="topAndBottom")?y:Math.max(y,p.exclusionSkipBefore??0);x>.001?p.exclusionSkipBefore=x:delete p.exclusionSkipBefore;},d,c=(p,h)=>{let y=d.select(e.zones()),b=p.exclusionSkipBefore??0,x=rO(e.top()+b,h,y,e.left(),e.right);x>.001&&(p.exclusionSkipBefore=b+x,t=p,n=void 0);};return {applyBreakClearance:p=>{let h=e.line();h.breakClearance=true,r(),d={line:h,select:p};let y=e.measurer.lineMetrics(e.emptyStyle);c(h,ma(e.lineSpacing,y.height,y.baseline).height);},commitBreakClearance:()=>{let p=e.line();d?.line===p&&(c(p,p.height),d=void 0);},clearEmptyParagraph:p=>{let h=e.line();if(e.holdsContent())return;let y=e.zones(),b=e.top()+(h.exclusionSkipBefore??0),x=e.measurer.measure("\xB6",e.emptyStyle),R=Ca(b,h.height,y.filter(S=>S.anchorParagraphId!==p),e.left(),e.right,x),P=Ca(b,h.height,e.clearOwnEmptyAnchor===false?y.filter(S=>S.anchorParagraphId!==p):y,e.left(),e.right,x);if(P>.001){let S=b+R+Ca(b+R,h.height,y.filter(w=>w.anchorParagraphId===p),e.left(),e.right,x);Ca(S,h.height,y.filter(w=>w.anchorParagraphId!==p),e.left(),e.right,x)>.001&&(R=P),h.exclusionSkipBefore=(h.exclusionSkipBefore??0)+P,h.anchorClearanceBefore=R;}},clearBlockedEmptyLine:()=>{let p=e.line();if(e.holdsContent())return;let h=e.zones().filter(P=>P.sourceKind!=="table"&&P.furnitureSource?.kind!=="table");if(h.length===0)return;let y=e.top()+(p.exclusionSkipBefore??0),b=e.measurer.measure("\xB6",e.emptyStyle),x=e.left(),R=Ca(y,p.height,h,x,e.right,b);R>.001&&o(p,R);},applyTopAndBottomSkipIfNeeded:r,applyNarrowWrapSkipIfNeeded:a,applyInlineObjectSkipIfNeeded:i,applyOpeningSegmentSkipIfNeeded:l,finalizeTopAndBottomClearance:s}}function oM(e){let t=e.initialMetrics,n=1/0,r=()=>e.top()+(e.line().exclusionSkipBefore??0)+.001,o=()=>{let a=e.line(),i=Math.max(a.baseline,t.baseline),l=i+Math.max(a.height-a.baseline,t.height-t.baseline);return ma(e.lineSpacing,l,i).height};return {setMetrics:(a,i=1/0)=>{t=a,n=i;},setWidth:a=>{n=a;},height:o,intervals:a=>Er(r(),a,e.left,e.right,o()),relocate:a=>aU(e.line(),r(),o(),a,e.left,e.right,e.lineSpacing,n)}}function Gu(e){return !!e.projected||!!e.positionalTab||e.end-e.start!==e.text.length}function aM(e){if(e.measureText!==void 0)return false;if(!Gu(e))return true;let t=e.fieldAtom;return !e.positionalTab&&!e.noteNav&&!e.noteSeparator&&!t?.pageField&&!t?.pageRef&&!t?.formControl}function iM(e){let{pieces:t,measurer:n,available:r,firstLineOffset:o,anchorStarts:a,equationLayoutOf:i}=e,l=new Map;if(a.length===0)return l;let s=t[0]?.start??0,d=[s],c=0,u=0,f="",m=0,g=-1,p=()=>u===0?o:0,h=()=>Math.max(1,r-p()),y=b=>{s=b,d.push(b),c=0,u+=1;};for(let b of t){let x=i(b);if(x){let S=x.geometry.box.width;c>0&&c+S>h()&&y(b.start),c+=S,f="",g=-1;continue}if(b.inlineDrawing){let S=tr(b.inlineDrawing.projection).totalWidth;c>0&&c+S>h()&&y(b.start),c+=S,f="",g=-1;continue}if(b.text===chunkFIJZIQXA_cjs.mb&&e.pageBreaksIgnored)continue;if(b.text===`
18
- `||b.text===chunkFIJZIQXA_cjs.mb){y(b.end);continue}let R=Gu(b),P=0;for(let S of e.cjkBreaks?.boundaries(b)??eo(b.text,!R)){let w=b.text.slice(P,S);if(w.length===0)continue;let I=Be(b.style,b.fontSlot),v=E=>n.measure(Vt(E,I),I),O=b.fieldAtom?.formControl?.kind==="checkbox"?I.fontSizePt:v(b.measureText??w);if(!R&&b.measureText===void 0){let E=h()-c;O=Eg(w,O,E,v,.001)?.width??O,c>0&&zn(w)&&(O=Math.min(O,Math.max(0,E)));}let T=b.start+P,C=e.cjkBreaks?.decision(b,P)??Xs(f,w,P>0),F=C==="opens";F&&(m=T,g=c);let k=e.typography?.overflowPunctuation&&Fd(w,b,h()-c,O,n),_=e.colonNaturalWidths?.get(b)??O;if(!k&&c>0&&c+_>h()){if(!(C==="forbidden"&&g<=0))if(F||g<=0)y(T);else {let E=c-g;y(m),c=E;}g=0;}c+=O,f=w,P=S;}}for(let b of a){let x=0,R=d.length-1;for(;x<R;){let P=x+R+1>>1;d[P]<=b?x=P:R=P-1;}l.set(b,d[x]);}return l}function iU(e,t,n,r,o){if(o===void 0||o(e,t[r-1].utf16To))return r;for(let a=r-1;a>n;a-=1)if(o(e,t[a-1].utf16To))return a;for(let a=r+1;a<=t.length;a+=1)if(o(e,t[a-1].utf16To))return a;return t.length}function lM(e,t,n,r){if(n<=r.remainingLineWidth()+r.overflowTolerancePt)return {text:e,modelStart:t,width:n,brokeLine:false};let o=bt(e),a=0,i=0,l=n,s=false;for(;a<o.length&&l>r.remainingLineWidth()+r.overflowTolerancePt;){if(o.length-a===1){if(r.lineHasText()&&!(i===0&&r.keepWithPrevious)){r.closeLine(),s=true;continue}break}let c=r.remainingLineWidth(),u=a+1,f=o.length-1,m=a;for(;u<=f;){let h=u+f>>1,y=o[h-1].utf16To;r.measureText(e.slice(i,y))<=c+r.overflowTolerancePt?(m=h,u=h+1):f=h-1;}if(m===a&&r.lineHasText()&&!(i===0&&r.keepWithPrevious)){r.closeLine(),s=true;continue}if(m===a&&(m+=1),m=iU(e,o,a,m,r.cutAllowedAt),m===o.length)break;let g=o[m-1].utf16To,p=e.slice(i,g);if(g<e.length&&or(e).length<=g){let h=Math.max(r.measureText(p),c);return {text:e.slice(i),modelStart:t+i,width:h,brokeLine:s}}r.appendPrefix({text:p,modelStart:t+i,width:r.measureText(p)}),(r.closeCutLine??r.closeLine)(),s=true,a=m,i=g,l=r.measureText(e.slice(i));}return {text:e.slice(i),modelStart:t+i,width:l,brokeLine:s}}var sM="\xAD";function Dg(e,t){let n=e.shaping,r=n?.context;if(!n||!r)return null;let o=r[t];if(!(t==="after"?o.startsWith(sM):o.endsWith(sM)))return null;let i={...r,[t]:""},{context:l,...s}=n;return {...e,shaping:i.before||i.after?{...s,context:i}:s}}function _g(e,t,n,r){let o=Be(t,n);return r.measure(Vt(e,o),o)}function dM(e,t,n){let r=e&&Dg(e.style,t);return !e||!r?0:_g(e.text,r,e.fontSlot,n)-e.box.width}function BS(e,t,n,r){let o=e.spans[t],a=o&&Dg(o.style,n);if(!o||!a)return;let i=_g(o.text,a,o.fontSlot,r),l=i-o.box.width;e.spans[t]={...o,style:a,box:{...o.box,width:i}};for(let s=t+1;s<e.spans.length;s+=1){let d=e.spans[s];e.spans[s]={...d,box:{...d.box,x:d.box.x+l}};}e.width+=l;}function lU(e,t=0,n=0){return {span:t,width:n,end:e.end,height:e.height,baseline:e.baseline}}function sU(e,t,n){if(e.drawings.length>0)return false;for(let r=0;r<t;r+=1)if(!n||e.spans[r].text!==chunkFIJZIQXA_cjs.mb)return false;return true}function cM(e,t){e.width=t.width,e.end=t.end,e.height=t.height,e.baseline=t.baseline;}function uM(e,t){t&&e.applyNarrowWrapSkipIfNeeded(t.text,Be(t.style,t.fontSlot)),e.lineAvailable();}function fM(e,t,n){let r=e.lineAvailable();t>r-e.line().width+.001&&e.ensurePlacementWidth(t),uM(e,n);}function mM(e,t){let n=e.line();for(let r of t){if(n.spans.push({...r,box:{...r.box,x:e.lineOrigin()+n.width}}),n.width+=r.box.width,n.end=r.range.end,e.pageBreaksIgnored&&r.text===chunkFIJZIQXA_cjs.mb)continue;let o=Be(r.style,r.fontSlot),a=Br(r,Vt(r.text,o));Od(n,e.measurer.lineMetrics(o,a),r.text,o);}}function dU(e,t,n){let r=e.line(),o=r.spans,a=o[t.span],i=o[o.length-1],l=e.lineOrigin()+r.width;if(!a||!i||Math.abs(l-i.box.x-i.box.width)>.001||!sU(r,t.span,e.pageBreaksIgnored))return false;let s={width:r.width,end:r.end,height:r.height,baseline:r.baseline},d=r.exclusionSkipBefore,c=l-a.box.x+n;return cM(r,t),r.spans=[],e.setProbeWidth(c),fM(e,c,a),r.spans=o,r.exclusionSkipBefore===d&&Math.abs(e.lineOrigin()+r.width-a.box.x)<=.001?Object.assign(r,s):mM(e,o.splice(t.span)),e.setProbeWidth(n),true}function LS(e,t,n){if(dU(e,t,n))return t;let r=e.line(),o=r.spans.splice(t.span);cM(r,t);let a=o.reduce((s,d)=>s+d.box.width,n);e.setProbeWidth(a);let i=t,l=o[0];return e.holdsContent()?((!e.tryAdvanceToNextPassage()||r.width+a>e.lineAvailable()+.001)&&(e.closeLine(),r=e.line(),e.ensurePlacementWidth(a),i=lU(r)),uM(e,l)):fM(e,a,l),mM(e,o),e.setProbeWidth(n),i}var ES="\xAD",AS="-";function NS(e){return e.text===ES&&e.range.end-e.range.start===1&&e.projected===true}function Kae(e){return e.optionalHyphenBreak?AS:NS(e)||!e.text.includes(ES)?e.text:e.text.replaceAll(ES,AS)}function pM(e,t){return t.measure(AS,Be(e.style,e.fontSlot))}function cU(e,t,n,r,o,a){for(let i=e.spans.length-1;i>=Math.max(0,t);i-=1){let l=e.spans[i];if(!NS(l))continue;let s=l.box.x+l.box.width-n,d=dM(e.spans[i-1],"after",o);if(!(s+d+pM(l,o)>r+a))return {span:i+1,width:s,end:l.range.end,height:e.height,baseline:e.baseline}}return null}function uU(e,t){if(!NS(e.spans.at(-1))||e.spans.at(-1).optionalHyphenBreak)return;BS(e,e.spans.length-2,"after",t);let n=e.spans.at(-1),r=pM(n,t);e.spans[e.spans.length-1]={...n,box:{...n.box,width:r},optionalHyphenBreak:true},e.width+=r-n.box.width;}function gM(e,t,n,r,o){let a={...e,closeLine:()=>{uU(e.line(),e.measurer),e.closeLine();}},i=d=>r&&e.line().width+n>e.lineAvailable()+o?cU(e.line(),d,e.lineOrigin(),e.lineAvailable(),e.measurer,o):null,l=i(t.span),s=l?t:LS(e,t,n);for(l||(l=i(s.span));l;){let d=e.line();if(s=LS(a,l,n),e.line()===d)break;BS(e.line(),0,"before",e.measurer),l=i(s.span);}return s}function hM(e){let t=i=>`${i.kind}|${i.id}|${i.author}|${i.nodeId}`,n=i=>{let l=new Set,s=[];for(let d of i)if(d)for(let c of d){let u=t(c);l.has(u)||(l.add(u),s.push(c));}return s},r=new Set;return {changeSitesOn:(i,l,s)=>{let d=[];for(let c of e){let u=c.start<i.end&&c.end>i.start,f=i.start===i.end&&c.start<=i.start&&c.end>=i.start;!u&&!f||(r.add(c),d.push(...c.revisions));}return n([s,...l.map(c=>c.changeSites),d])},claimTrailingChangeSites:i=>{let l=i[i.length-1];if(!l)return;let s=e.filter(d=>!r.has(d));if(s.length!==0){for(let d of s)r.add(d);l.changeSites=n([l.changeSites,...s.map(d=>d.revisions)]);}}}}function yM(e,t=false){let n=new Array(e.length),r=false;for(let o=e.length-1;o>=0;o-=1){let a=e[o],i=new Uint8Array(a.text.length+1);if(i[a.text.length]=r?1:0,a.inlineDrawing)i.fill(1);else for(let l=a.text.length-1;l>=0;l-=1){let s=a.text[l];s===chunkFIJZIQXA_cjs.mb&&t?i[l]=i[l+1]:s===`
19
- `||s===chunkFIJZIQXA_cjs.mb?i[l]=0:s!==" "&&!zn(s)?i[l]=1:i[l]=i[l+1];}n[o]=i,r=i[0]===1;}return n}var fU=/[\u0590-\u08ff\ufb1d-\ufdff\ufe70-\ufeff]/u;function bM(e,t,n,r,o=false){let a=0,i=0,l=false,s=false,d,c=()=>({width:a,decimalOffset:l?i:a,rtlDecimalOffset:!l||s?l?i:a:a-i});for(let u=t;u<e.length;u+=1){let f=e[u],m=Be(f.style,f.fontSlot),g=u===t?n:0,p=g;for(;p<f.text.length;){let R=f.text[p];if(R===" "||R===`
20
- `||R===chunkFIJZIQXA_cjs.mb&&!o)break;p+=1;}let h=R=>{let P=f.text.slice(g,R);return o?P.replaceAll(chunkFIJZIQXA_cjs.mb,""):P},y=R=>R>g?r.measure(Vt(h(R),m),m):0,b=y(p);if(!l){let R=f.text.indexOf(".",g);if(R!==-1&&R<p){l=true;let P=h(R).at(-1)??(d?.broken&&d.end===f.start&&mU(d.piece,f)?d.char:void 0);s=P!==void 0&&fU.test(P),i+=y(R);}else i+=b;}if(a+=b,p<f.text.length)return c();let x=h(p).at(-1);x!==void 0?d={piece:f,char:x,end:f.end,broken:false}:d?.end===f.start&&o&&f.text===chunkFIJZIQXA_cjs.mb?d={...d,end:f.end,broken:true}:d=void 0;}return c()}function mU(e,t){let n=t.style.shaping;if(!n||!e.style.shaping)return false;let{context:r}=e.style.shaping;return np(e.style,{...t.style,shaping:{...n,context:r}})}function xM(e,t,n,r){let o=e.relativeTo==="indent"||!r?{left:t,right:n}:r;return {positionPt:e.alignment==="right"?o.right:e.alignment==="center"?(o.left+o.right)/2:o.left,alignment:e.alignment,...e.leader?{leader:e.leader}:{}}}var Ku=31680;function Cd(e){let t=chunkFIJZIQXA_cjs.nd(e);return t===null?null:t>Ku?chunkFIJZIQXA_cjs.jd(Ku):t<-Ku?chunkFIJZIQXA_cjs.jd(-Ku):chunkFIJZIQXA_cjs.jd(t)}function hd(e){let t=0,n=0,r=at(e);for(let o of e){if(o.localName!=="ind")continue;let a=o.attributes?.left??o.attributes?.start,i=o.attributes?.right??o.attributes?.end,l=r?i:a,s=r?a:i,d=Cd(l),c=Cd(s);d!==null&&(t=chunkFIJZIQXA_cjs.ld(d)),c!==null&&(n=chunkFIJZIQXA_cjs.ld(c));}return {left:t,right:n}}function Id(e,t){let n=Math.max(0,e.hanging-e.firstLine);return t?{left:0,right:n}:{left:n,right:0}}var Md=.001;function WS(e,t,n,r,o,a,i,l=[],s=du,d,c,u,f=false){let m=i!==null&&a?a.get(i):void 0;if(m)return m;let g=u?.lineSpacing??eu,p=u?.cellAnchorScope?.inTableCell===true,h=[],y=[],b=Fa(e,l,d,c,u?.projectLink,u?.noteMarks,u?.displayMode??Ue,h,u?.inlineDrawingLayout,u?.themeFonts,u?.projectFieldLink,u?.documentProperties,u?.bodyPageFields??false,u?.refFields,u?.revisionAuthorFilter,u?.showFieldCodes,u?.fieldCodeRanges,u?.tocLinkStyleRanges,y),x=u?.paragraphRtl??at($e("children"in e?e.children.find(Y=>Y.kind==="paragraphProperties"):void 0)),R=Wg(b,x,jg(e),p),P=Math.max(0,u?.startOffset??0),S=u?.firstLineAfterLeadingBreaks===true,w=P===0||S&&PM(R,P),I=w?u?.firstLineOffset??0:0,v=w?u?.firstLineMinimumBaseline??0:0,O=w?Math.max(0,u?.firstLineMarkerAscent??0):0,T=R.flatMap(Y=>{if(Y.end<=P&&!((P===0||u?.showFieldCodes)&&Y.projected&&Y.start===Y.end&&Y.start===P))return [];if(Y.start>=P)return [Y];let j=P-Y.start;return [{...Y,text:Y.projected?Y.text:Y.text.slice(j),start:P}]}),C=u?.typography??Td($e("children"in e?e.children.find(Y=>Y.kind==="paragraphProperties"):void 0)),F=XI(T,C,o,f),k=YI(F,T,o),_=C.settings?.compression!==void 0&&C.settings.compression!=="doNotCompress"&&!u?.pageExclusionZones?.length&&o.inkBounds!==void 0&&eM(R),E=_&&!f,N=yM(F,p),A=bF(u?.cellAnchorScope,b),L=CF(F),B=Lg(F,C),D=tM(F,B,o,C.overflowPunctuation),$=Mg(o,u?.equationCacheToken),X=Y=>Y.equation?$(Y.equation,Y.style):null;if(F.length===0&&u?.suppressEmptyPlaceholderLine)return [];let W=u?.markRunProperties??l,z=W.length===0?Zn:je(W,u?.themeFonts),ee=W===l?z:l.length===0?Zn:je(l,u?.themeFonts),K=Yp(W),U=K===W?z:je(K,u?.themeFonts),q=F.length===0?z:o.lineMetrics(U).height<o.lineMetrics(ee).height?U:ee,V=n+r,ne=u?.contentLeft??n,G=u?.contentRight??V,re=u?.contentOriginX??0,fe=Math.max(0,(u?.marginExtent?.right??V)-V),te=Math.min(G,re+V),Z=[],oe=false,ce=0,M={spans:[],start:P,end:P,drawings:[],width:0,height:0,baseline:0,leading:0,trailingSpacing:0},ie=new Map,ue=u?.displayMode??Ue,pe=(()=>{let Y=new Set;if(!u?.inlineDrawingLayout)return Y;let j=kn(e);for(let me of ot(e,u.inlineDrawingLayout)){if(!Ye(me.revisions,ue,u?.revisionAuthorFilter)||Ao(me.revisions,ue,u?.revisionAuthorFilter)||me.projection.wrap!=="topAndBottom")continue;let ye=j.get(me.atomId);ye!==void 0&&ye>=P&&Y.add(ye);}return Y})(),Te=(()=>{let Y=new Set;if(!u?.inlineDrawingLayout)return Y;let j=kn(e);for(let me of ot(e,u.inlineDrawingLayout)){if(!Ye(me.revisions,ue,u?.revisionAuthorFilter)||Ao(me.revisions,ue,u?.revisionAuthorFilter)||me.projection.wrap==="topAndBottom"||me.projection.wrap==="inline"||me.projection.wrap==="behind"||me.projection.wrap==="inFront")continue;let ye=j.get(me.atomId);ye!==void 0&&ye>=P&&Y.add(ye);}return Y})(),Re=[...(u?.pageExclusionZones??[]).filter(Y=>Y.anchorParagraphId===t).map(Y=>Y.anchorModelStart),...pe,...Te],Fe=iM({colonNaturalWidths:k,typography:C,cjkBreaks:B,pieces:F,measurer:o,available:r,firstLineOffset:I,anchorStarts:Re,equationLayoutOf:X,pageBreaksIgnored:p});for(let Y of Te){let j=Fe.get(Y);j!==void 0&&ie.set(Y,j);}let ke=Object.freeze([]),_e=()=>{if(!u?.pageExclusionZones?.length&&ie.size===0)return ke;let Y=u?.pageExclusionZones?.filter(lt=>!(!MS(lt,t,M,Fe)||lt.anchorParagraphId===t&&(!lt.sourceKind&&lt.input.mode==="topAndBottom"||u?.anchorCellBox!=null)))??[],j=u?.cellAnchorScope?.anchorsWrapText!==false,me=j&&u?.inlineDrawingLayout&&u.anchorCellBox!=null&&ie.size>0?eg({paragraph:e,paragraphId:t,drawingLayout:u.inlineDrawingLayout,contentLeft:ne,contentRight:G,paragraphStartY:u.paragraphStartY??0,anchorLineTopByModelStart:ie,anchorCellBox:u.anchorCellBox,cellAnchorScope:u.cellAnchorScope,...u.layoutTextboxStory?{layoutTextboxStory:u.layoutTextboxStory}:{},displayMode:ue,...u.revisionAuthorFilter?{revisionAuthorFilter:u.revisionAuthorFilter}:{}}):Object.freeze([]),ye=j&&u?.inlineDrawingLayout&&ie.size>0?tg({paragraph:e,paragraphId:t,drawingLayout:u.inlineDrawingLayout,contentLeft:ne,contentRight:G,paragraphStartY:(u.anchorParagraphStartY??u.paragraphStartY??0)-(u.paragraphSpaceBefore??0),anchorLineTopByModelStart:ie,anchorCellBox:u.anchorCellBox,cellAnchorScope:u.cellAnchorScope,...u.anchorFrameBase?{frameBase:u.anchorFrameBase}:{},displayMode:ue,...u.revisionAuthorFilter?{revisionAuthorFilter:u.revisionAuthorFilter}:{}}):Object.freeze([]);return Object.freeze([...Y,...me,...ye])},Ke=true,le=()=>Ke,ge=()=>RM(M,p),ae=()=>le()?I:0,he=()=>re+n+ae(),Ae=()=>Math.max(1,r-ae()),We=0,De=()=>We,gt=()=>(u?.paragraphStartY??0)+De(),ze=Y=>{pe.has(Y)&&ie.set(Y,De());},ft=()=>{for(let Y of pe)Fe.get(Y)===M.start&&!ie.has(Y)&&ie.set(Y,De());},{applyTopAndBottomSkipIfNeeded:xt,applyNarrowWrapSkipIfNeeded:kt,applyInlineObjectSkipIfNeeded:Yt,applyOpeningSegmentSkipIfNeeded:He,finalizeTopAndBottomClearance:br,clearEmptyParagraph:ln,clearBlockedEmptyLine:Kn,applyBreakClearance:bn,commitBreakClearance:Et}=rM({line:()=>M,top:gt,spaceAbove:()=>Z.length===0?u?.paragraphSpaceBefore??0:0,zones:_e,left:()=>Math.max(ne,he()),right:te,clearOwnEmptyAnchor:u?.anchorCellBox==null,emptyStyle:q,measurer:o,lineSpacing:g,holdsContent:ge,paragraphId:t,...u?.regionBottomY!==void 0?{regionBottom:u.regionBottomY}:{}}),Ve,Tt=()=>(Ve??=P>0||!u?.inlineDrawingLayout?[]:oO({...u.anchorFrameBase?{frameBase:u.anchorFrameBase}:{},paragraph:e,paragraphId:t,drawingLayout:u.inlineDrawingLayout,contentLeft:ne,contentRight:G,paragraphTop:(u.anchorParagraphStartY??u.paragraphStartY??0)-(u.paragraphSpaceBefore??0),displayMode:ue,...u.revisionAuthorFilter?{revisionAuthorFilter:u.revisionAuthorFilter}:{}})).filter(Y=>MS(Y,t,M,Fe)),Ft=Y=>Y==="all"?j=>aO(j,Tt()):nO(Y,_e(),{y:gt()+(M.exclusionSkipBefore??0),height:M.height,left:Math.max(ne,he()),right:te,penX:he()+M.width}),sn=oM({line:()=>M,top:gt,left:ne,right:te,lineSpacing:g,initialMetrics:o.lineMetrics(q)}),Mn=sn.intervals,Vr=(Y,j)=>{let me=Fu(Y,j);if(!me)return null;if(me.x<=Y+.001||M.width>.001||ae()<=0)return me.x;let ye=Fu(me.x+ae(),j);return ye?ye.x:me.x},Ht=()=>{let Y=_e();if(Y.length===0)return true;xt();let j=sn.relocate(Y);if(j===null)return false;dn+=j;let me=Mn(Y),ye=he()+M.width,lt=Vr(ye,me);return lt===null?false:(lt>ye+.001&&(M.width=lt-he()),true)},Ze=()=>{let Y=Ae(),j=_e();if(j.length===0)return Math.max(Y,ce-he());if(xt(),!Ht())return 0;let me=Mn(j),ye=he()+M.width,lt=YF(ye,me);return lt<=.001?0:Math.min(Y,M.width+lt)},Ot=()=>Math.max(0,Ze()-M.width),qe=()=>{if(u?.paragraphRtl)return;let Y=_e();if(Y.length===0)return;let j=Mn(Y);if(j.length===0)return;let me=Math.max(ne,he()),ye=wi(M.spans,M.drawings,me),lt=he()+M.width,nt=j.find(st=>ye>=st.start-.001&&ye<=st.end+.001);!nt||lt>nt.end+.001||nt.start<=ne+.001&&nt.end>=te-.001||(M.wrapSegment={start:ye,end:nt.end});},Xe=()=>{let Y=_e();if(Y.length===0||!Y.some(nt=>nt.anchorParagraphId!==t||M.end>nt.anchorModelStart))return false;let me=Mn(Y),ye=he()+M.width,lt=false;for(let nt of me){if(!lt){ye>=nt.start-1e-6&&ye<nt.end-1e-6&&(lt=true);continue}if(nt.end-nt.start>.001)return M.width=nt.start-he(),true}return false},On=Y=>{if(Re.length===0||Y<Math.min(...Re))return;let j=_e().filter(st=>st.anchorParagraphId===t&&Y>=st.anchorModelStart);if(j.length===0)return;xt();let me=Mn(j),ye=he()+M.width,lt=-1;for(let st=0;st<me.length;st+=1){let ve=me[st];if(ye>=ve.start-.001&&ye<ve.end-.001){lt=st;break}}if(lt>=0)return;let nt=Vr(ye,me);nt!==null&&nt>ye+.001&&(M.width=nt-he());},Ge=Y=>{_e().filter(me=>me.input.mode==="topAndBottom"&&me.anchorParagraphId===t&&Y>=me.anchorModelStart).length>0&&xt(ge());},Se=Y=>!SM(F,M.start,oe)&&He(Y,sn.height()),yt=(Y,j=0)=>j>64?Ot()>=Y:(xt(),Ht()?Y<=Ot()+.001?true:ge()?Xe()&&Y<=Ot()+.001?true:(Je(),yt(Y,j+1)):Xe()||Se(Y)?yt(Y,j+1):true:ge()?(Je(),yt(Y,j+1)):Se(Y)?yt(Y,j+1):true),xr=(Y,j)=>h.filter(me=>me.start<j&&me.end>Y).map(me=>({start:Math.max(me.start,Y),end:Math.min(me.end,j)})),{changeSitesOn:Rt,claimTrailingChangeSites:Jt}=hM(y),tt=-1,dn=0,Bn=0,Gr={height:0,baseline:0},Ln="",be,Sr=(Y,j)=>{let me=o.lineMetrics(Y);be??={height:0,baseline:0},Ia(be,me);let ye=OM(me.baseline,M.height||me.height,j);return M.height===0?(M.height=ye.lineHeight,M.baseline=ye.baseline):(ye.lineHeight>M.height&&(M.height=ye.lineHeight),M.baseline=Math.max(M.baseline,ye.baseline)),{extentTopY:ye.extentTopY}},At=()=>{if(M.drawings.length===0)return;M.spans.every(j=>p&&j.text===chunkFIJZIQXA_cjs.mb)&&(M.baseline=Math.max(M.baseline,...M.drawings.map(j=>j.y+j.height)));let Y=_S(M.drawings,M.baseline);M.drawings.splice(0,M.drawings.length,...Y),M.baseline=Math.max(M.baseline,...M.drawings.map(j=>j.y+j.height));},Fo=()=>{if(M.drawings.length===0)return;let Y=_S(M.drawings,M.baseline);M.drawings.splice(0,M.drawings.length,...Y);},Je=()=>{oe=false,wM(M,p);let Y=M.drawings.length===0&&M.spans.every(An=>Pu(An.text)),j=o.lineMetrics(Y?z:ee),me=M.baseline;M.height===0?(M.height=j.height,M.baseline=j.baseline,me=j.baseline):me+=PF(M,U.verticalAlign,o);let ye=le();if(ye&&I!==0&&(M.firstLineOffset=I),ye&&O>M.baseline){let An=O-M.baseline;M.baseline=O,M.height+=An,me+=An;}jS(M,o),At(),DS(M);let lt=M.height,nt=M.drawings.length>0||M.spans.some(An=>An.equation!==void 0),st=g.rule==="auto"&&nt,ve=st&&M.drawings.length>0&&!M.spans.some(An=>An.equation!==void 0)&&g.gridPitch===void 0,Ne=ve&&g.value>240,jt=ve&&g.value<240,En=st?FM(M.spans,o,be?.height??j.height,p):lt,Qt=RF(g,En,M.baseline,M.spans,o);st||(M.baseline=Qt.baseline);let It=ye&&g.rule!=="exact"?v:0,$n=Math.max(0,It-M.baseline);M.baseline+=$n,M.leading=Math.max(0,M.baseline-me);let cn=Ne?Math.max(0,Qt.height-En):jt?Math.min(0,Qt.height-En):0;M.height=st?Math.max(Qt.height,lt+cn):Qt.height,jt&&(M.baseline=Math.min(M.baseline,M.height));let Ui=Ne?Math.max(0,M.height-lt):0;M.height+=$n,Fo(),jt&&vM(M),g.rule!=="exact"&&DS(M),M.trailingSpacing=M.drawings.length===0&&g.rule!=="exact"?Math.max(0,Math.min(Qt.trailing??1/0,Qt.height-lt)):Ui,br(),Et(),Y&&(Te.size>0||pe.size>0)?ln(t):Y&&ye&&Kn(),kM(M),TM(M);let Yi=xr(M.start,M.end);Yi.length>0&&(M.deletedRanges=Yi);let Xi=Rt(M,M.spans,M.changeSites);Xi.length>0&&(M.changeSites=Xi),qe(),Z.push(M),We=We+M.height+(M.exclusionSkipBefore??0),Ke=false,tt=-1,dn=0,ce=0,be=void 0,M={spans:[],drawings:[],start:M.end,end:M.end,width:0,height:0,baseline:0,leading:0,trailingSpacing:0},ft(),xt();},Pr=false,Mc=()=>{for(let Y=0;Y<tt;Y+=1)if(!p||M.spans[Y].text!==chunkFIJZIQXA_cjs.mb)return false;return tt>=0},Qf=()=>{if(tt<0||M.spans.length<=tt)return false;Ze();let Y=M.spans[M.spans.length-1];return he()+M.width>Y.box.x+Y.box.width+.001},ms={line:()=>M,measurer:o,pageBreaksIgnored:p,holdsContent:ge,closeLine:()=>Je(),ensurePlacementWidth:Y=>yt(Y),tryAdvanceToNextPassage:Xe,lineAvailable:Ze,lineOrigin:he,applyNarrowWrapSkipIfNeeded:kt,setProbeWidth:Y=>sn.setWidth(Y)};ft();let Bc=P>0?R.find(Y=>Y.end===P&&Y.breakClear)?.breakClear:void 0;if(Bc){let Y=Ft(Bc),j=new Set(u?.pageExclusionZones??[]);bn(me=>Y(me).filter(ye=>ye.anchorParagraphId!==t||j.has(ye)));}let Lc=xF(F,o);for(let Y=0;Y<F.length;Y+=1){let j=F[Y];if(j.breakKind==="column"){let ve=o.lineMetrics(j.style);M.spans.push({range:{paragraphId:t,start:j.start,end:j.end},text:j.text,props:j.props,style:j.style,box:{x:he()+M.width,y:0,width:0,height:ve.height},...j.link?{link:j.link}:{},...mi(j)}),Ia(M,ve),M.end=j.end,Je(),Z[Z.length-1].columnBreakAfter=true,Pr=true;continue}if(j.equation){let ve=X(j),Ne=ve.geometry.box.width;if(ge()&&M.width+Ne>Ze()&&Je(),sn.setMetrics({height:ve.geometry.box.height,baseline:ve.geometry.baseline},Ne),Yt(Ne,ve.geometry.box.height),!yt(Ne))continue;let jt=Math.max(0,M.height-M.baseline),En=Math.max(0,ve.geometry.box.height-ve.geometry.baseline);M.baseline=Math.max(M.baseline,ve.geometry.baseline),M.height=M.baseline+Math.max(jt,En),M.spans.push({range:{paragraphId:t,start:j.start,end:j.end},text:"\uFFFC",props:j.props,style:j.style,box:{x:he()+M.width,y:0,width:Ne,height:ve.geometry.box.height},projected:true,equation:ve,...mi(j)}),M.width+=Ne,M.end=j.end,tt=-1,Ln="";continue}if(j.projected&&!j.inlineDrawing&&!j.noteSeparator&&j.text==="\uFFFC"){ze(j.start),j.anchoredAtom&&j.revisions!==void 0&&Ye(j.revisions,ue,u?.revisionAuthorFilter)&&(M.anchorRevisions=[...M.anchorRevisions??[],...j.revisions]),j.anchoredAtom&&j.changeSites&&(M.changeSites=[...M.changeSites??[],...j.changeSites]),M.end=j.end;continue}if(j.inlineDrawing){ze(j.start);let ve=tr(j.inlineDrawing.projection),Ne=ve.totalWidth,jt=false;if(ge()&&M.width+Ne>Ze()){let $n=M.width;jt=Xe()&&M.width+Ne<=Ze()+.001,M.width=$n,jt||Je();}sn.setMetrics({height:ve.lineContribution,baseline:ve.lineContribution},Ne);let En=M;if(jt||Yt(Ne,ve.lineContribution),!yt(Ne)||jt&&M!==En&&(Yt(Ne,ve.lineContribution),!yt(Ne)))continue;let{extentTopY:Qt}=Sr(j.style,ve),It=he()+M.width;M.drawings.push(CM({input:j.inlineDrawing,paragraphId:t,start:j.start,slotX:It,y:Qt,baseline:M.baseline,contentLeft:re,contentRight:re+V,...j.revisions?{revisions:j.revisions}:{},...j.style.shaping?{bidiLevel:j.style.shaping.level}:{},layoutTextboxStory:u?.layoutTextboxStory})),j.changeSites&&(M.changeSites=[...M.changeSites??[],...j.changeSites]),M.width+=Ne,M.end=j.end,tt=-1,Ln="";continue}if(j.text===chunkFIJZIQXA_cjs.mb){let ve=o.lineMetrics(j.style);if(M.spans.push({range:{paragraphId:t,start:j.start,end:j.end},text:chunkFIJZIQXA_cjs.mb,props:j.props,style:j.style,box:{x:he()+M.width,y:0,width:0,height:ve.height},...j.link?{link:j.link}:{},...mi(j)}),M.end=j.end,p)continue;Ia(M,ve);let Ne=Ke;Je();let jt=Z[Z.length-1];jt.pageBreakAfter=true,Ke=S&&Ne&&Ma(jt),Pr=false;continue}if(j.text===`
21
- `){j.breakKind==="line"&&(M.manualBreakAfter=true);let ve=o.lineMetrics(j.style);M.spans.push({range:{paragraphId:t,start:j.start,end:j.end},text:`
22
- `,props:j.props,style:j.style,box:{x:he()+M.width,y:0,width:0,height:ve.height},...j.link?{link:j.link}:{},...mi(j)}),Ia(M,ve),M.end=j.end;let Ne=j.breakClear?Ft(j.breakClear):void 0;Je(),Ne&&bn(Ne),Pr=true;continue}Pr=false,Ge(j.start),Re.length>0&&j.start>=Math.min(...Re)&&On(j.start);let me=Be(j.style,j.fontSlot),ye=Gu(j),lt=aM(j),nt=ye?null:B,st=0;for(let ve of B?.boundaries(j)??eo(j.text,!ye)){let Ne=j.text.slice(st,ve);if(Ne.length===0)continue;let jt=o.lineMetrics(me,Br(j,Vt(Ne,me)));sn.setMetrics(Bd(jt,me));let En=ye?{paragraphId:t,start:j.start,end:j.end}:{paragraphId:t,start:j.start+st,end:j.start+ve};if(Ne===" "){let vt=hF(A,x,!!j.positionalTab,_e().length,s,he()+M.width,V);ge()&&(M.width>=Ze()||vt)&&N[Y][ve]===1&&Je();let xn=he()+M.width,un=x?fe:0,en=x?un+ae()+M.width:xn,Rr=x?un+r:V,ys=bM(F,Y,ve,o,p),bs=j.positionalTab?xM(j.positionalTab,n,V,u?.marginExtent):null,tm=_e().length===0?Math.max(Rr,u?.marginExtent?.right??Rr):Rr,wr=yF(s,en,Rr,tm,xn,V,bs);wr.alignment!=="left"&&!x&&(ce=Math.max(ce,Math.min(wr.positionPt,tm)));let H=kv(wr.alignment,bs===null?en:xn,wr.positionPt,ys.width,x&&bs===null?ys.rtlDecimalOffset:ys.decimalOffset);M.spans.push({range:En,text:" ",props:j.props,style:j.style,box:{x:xn,y:0,width:H,height:jt.height},...wr.leader?{tabLeader:wr.leader,tabLeaderAdvancePt:o.measure(bv.get(wr.leader)??".",j.style)}:{},...j.link?{link:j.link}:{},...wr.leader?{tabLeader:wr.leader}:{},...ye&&!j.positionalTab?{projected:true}:{},...j.noteNav?{noteNav:j.noteNav}:{},...mi(j)}),M.width+=H,Od(M,jt," ",me),M.end=ye?j.end:j.start+ve,Ln=" ",st=ve;continue}let Qt=j.measureText??Ne,It=j.noteSeparator?Math.min(j.noteSeparator==="separator"?144:Ze(),Ze()):j.fieldAtom?.formControl?.kind==="checkbox"?me.fontSizePt:o.measure(Vt(Qt,me),me);sn.setWidth(It);let $n=j.noteSeparator||M.spans.at(-1)?.noteSeparator?"opens":B?.decision(j,st)??Xs(Ln,Ne,st>0),cn=$n==="opens";cn&&(tt=M.spans.length,dn=M.width,Bn=M.end,Gr={height:M.height,baseline:M.baseline}),On(j.start+st),kt(Ne,me);let Ui=_&&Re.length===0&&ve===j.text.length&&F[Y+1]!==void 0&&B?.decision(F[Y+1],0)==="forbidden",Yi=!ye&&j.measureText===void 0&&!Ui,Xi=It,An=vt=>o.measure(Vt(vt,me),me),Oo=()=>Yi?Eg(Ne,Xi,Ze()-M.width,An,Md):void 0,qo=Oo();It=qo?.width??It;let ps=C.overflowPunctuation&&Fd(Ne,j,Ze()-M.width,It,o),Jo=E&&Re.length===0?()=>{let vt=D(M,Y,Ne,En,It,he()+M.width,Ze(),!zn(Ne)||cn&&N[Y][ve]===1);return vt&&(It=vt.width,tt>=0&&vt.spanStarts&&(tt=vt.spanStarts[tt],dn=tt<M.spans.length?M.spans[tt].box.x-he():M.width)),vt}:void 0,Ec=M,Co=Jo?.(),Ac=!Ui&&zn(Ne)&&(N[Y][ve]!==1&&!(p&&st===0&&NI(F,Y,Ne,Ln))||!ye&&ge()&&M.width+It>Ze()+Md);Ac&&(It=Math.min(It,Math.max(0,Ze()-M.width)));let gs=Co?It:k.get(j)??It,Qo=!ps&&!(Ac&&u?.justifySpaceShrink)&&M.width+gs>Ze()+Md,em=Qo&&u?.justifySpaceShrink?Lc(Y,ve):void 0,Nc=Qo&&u?.justifySpaceShrink===true&&(cn||$n==="continues"&&tt>0)&&!u.paragraphRtl&&!u.pageExclusionZones?.length&&Re.length===0&&M.drawings.length===0&&(N[Y][ve]===1||L(Y,ve))&&OF(M.spans,Ne,me,o,M.width,Ze(),cn?M.spans.length:tt,cn?M.width:dn,em!==void 0||L(Y,ve)||(ve<j.text.length?!ye&&j.text[ve]===" ":IF(F[Y+1])),em??0),Dc=Qo&&lt&&!x&&ce===0&&!u?.pageExclusionZones?.length&&Re.length===0&&SF(M,tt);if(!cn&&Qf()||Qo&&!Nc&&ge()&&!Dc){let vt=Yi&&!Co?DI(Ne,An):void 0,xn=vt??gs;if(!($n==="forbidden"&&(tt<0||Mc())))if(cn||tt<0){if(!(Xe()&&M.width+xn<=Ze()+.001)){if(Je(),!yt(xn))continue;tt=0,dn=0,Bn=M.end,Gr={height:M.height,baseline:M.baseline};}}else {let un=gM(ms,{span:tt,width:dn,end:Bn,...Gr},xn,Qo,Md);tt=un.span,dn=un.width,Bn=un.end,Gr={height:un.height,baseline:un.baseline};}vt!==void 0&&(qo=Oo(),It=qo?.width??Xi);}else if(!ge()&&gs>Ot()+.001){if(!yt(gs))continue}else Nc&&L(Y,ve)&&(M.spaceShrink=true);kt(Ne,me),!Co&&M!==Ec&&(Co=Jo?.());let ea=st===0&&M.spans.length===0&&!qo?Dg(j.style,"before"):null;ea&&(It=_g(Ne,ea,j.fontSlot,o));let qa=Ne,Zi=j.start+st,sr=It,hs=ea??j.style;if(lt&&!ps&&(!ge()||!cn&&Mc()||Dc)&&It>Ot()+Md){let vt=ea,xn=()=>vt?Be(vt,j.fontSlot):me,un=lM(Ne,Zi,It,{remainingLineWidth:Ot,lineHasText:ge,measureText:en=>o.measure(Vt(en,xn()),xn()),appendPrefix:en=>{let Rr=o.lineMetrics(me,Vt(en.text,me));M.spans.push({range:ye?En:{paragraphId:t,start:en.modelStart,end:en.modelStart+en.text.length},text:en.text,props:j.props,style:vt??j.style,box:{x:he()+M.width,y:0,width:en.width,height:Rr.height},...j.link?{link:j.link}:{},...ye?{projected:true}:{},...j.noteNav?{noteNav:j.noteNav}:{},...j.fontSlot?{fontSlot:j.fontSlot}:{},...j.glyphOffsetPt!==void 0?{glyphOffsetPt:j.glyphOffsetPt}:{},...mi(j)}),M.width+=en.width,Od(M,Rr,en.text,me),M.end=ye?j.end:en.modelStart+en.text.length,vt=null;},closeLine:Je,closeCutLine:()=>{Je(),oe=true;},overflowTolerancePt:Md,keepWithPrevious:$n==="forbidden",cutAllowedAt:nt?(en,Rr)=>nt.cutAllowed(j,st,Rr):Iv});qa=un.text,Zi=un.modelStart,sr=un.width,hs=vt??j.style,un.brokeLine&&(tt=0,dn=0,Bn=M.end,Gr={height:M.height,baseline:M.baseline});}if(qa.length>0){let vt=o.lineMetrics(me,Br(j,Vt(qa,me))),xn={range:ye?En:{paragraphId:t,start:Zi,end:j.start+ve},text:qa,props:j.props,style:hs,box:{x:he()+M.width,y:0,width:sr,height:vt.height},...j.link?{link:j.link}:{},...ye&&!j.positionalTab?{projected:true}:{},...j.noteNav?{noteNav:j.noteNav}:{},...j.fontSlot?{fontSlot:j.fontSlot}:{},...j.glyphOffsetPt!==void 0?{glyphOffsetPt:j.glyphOffsetPt}:{},...Ac?{lineEndWhitespace:true}:{},...mi(j)};Co?nM(M.spans,xn,Co):_I(M.spans,xn,qo),M.width+=sr,Od(M,vt,qa,me),M.end=ye?j.end:j.start+ve;}Ln=Ne,st=ve;}}return (M.spans.length>0||M.drawings.length>0||Z.length===0||Pr)&&Je(),!f&&UI(Z)?WS(e,t,n,r,o,a,i,l,s,d,c,u,true):(Jt(Z),i!==null&&a&&a.set(i,a.retainAcrossPasses===false?Z:Z.map(Hg)),Z)}function IM(e){return e!==void 0&&ro(e)&&e.children.some(t=>ro(t)&&t.localName==="numPr")}function zS(e,t){if(IM(t))return e.length;for(let n=e.length-1;n>=0;n-=1)if(IM(e[n].paragraphPropertiesNode))return n;return 0}function DC(e,t,n){let r=t?Sa(e,t,"paragraph"):[],o=zS(r,n);return {below:[...e.docDefaultsParagraph,...r.slice(0,o).flatMap(a=>a.paragraphProperties)],above:[...r.slice(o).flatMap(a=>a.paragraphProperties),...$e(n)]}}var MM="http://schemas.microsoft.com/office/word",pU={adjustLineHeightInTable:["not-off","last"],doNotBreakWrappedTables:["on-or-missing","first"],doNotExpandShiftReturn:["on-or-missing","last"],doNotUseHTMLParagraphAutoSpacing:["on-or-missing","first"],doNotUseIndentAsNumberingTabStop:["on-or-missing","first"],noExtraLineSpacing:["on-or-missing","last"]},gU={enableOpenTypeFeatures:["explicit-on","refuse"],overrideTableStyleFontSizeAndJustification:["explicit-on","last"]},hU=new Map(Object.entries(pU)),yU=new Map(Object.entries(gU));function Wl(e,t){return e.attributes.find(n=>n.namespaceUri===chunkFIJZIQXA_cjs.la&&n.localName===t)?.value}function BM(e,t){return t==="not-off"?e===void 0||!["0","false","off"].includes(e):e===void 0?t==="on-or-missing":e==="1"||e==="true"||e==="on"}function VS(e){let t=e?.namespaceUri===chunkFIJZIQXA_cjs.la&&e.localName==="settings",n={},r={},o=0,a,i=true;for(let d of e?.children??[]){if(d.kind==="textValue"||d.namespaceUri!==chunkFIJZIQXA_cjs.la||d.localName!=="compat")continue;let c=new Set;for(let u of d.children){if(u.kind==="textValue"||u.namespaceUri!==chunkFIJZIQXA_cjs.la)continue;if(u.localName==="compatSetting"){let g=Wl(u,"name");if(g===void 0||Wl(u,"uri")!==MM)continue;let p=Wl(u,"val");if(g==="compatibilityMode"){if(!t)continue;o++;let b=p!==void 0&&/^\d{1,4}$/.test(p)?Number(p):void 0;a=b!==void 0&&b>=11?b:void 0;continue}let h=yU.get(g);if(!h||!t&&g!=="overrideTableStyleFontSizeAndJustification")continue;let y=g;r[y]=h[1]==="refuse"&&Object.hasOwn(r,y)?"ambiguous":BM(p,h[0]);continue}let f=t?hU.get(u.localName):void 0;if(!f)continue;let m=u.localName;if(f[1]==="first"){if(!i||c.has(m))continue;c.add(m);}n[m]=BM(Wl(u,"val"),f[0]);}i=false;}o>1&&(a=void 0);let l=o>0&&a===void 0;if(t&&a===void 0&&o<=1){let d=[];for(let c of e.children){if(c.kind==="textValue"||c.namespaceUri!==chunkFIJZIQXA_cjs.la||c.localName!=="compatSetting"||Wl(c,"name")!=="compatibilityMode"||Wl(c,"uri")!==MM)continue;let u=Wl(c,"val"),f=u!==void 0&&/^\d{1,4}$/.test(u)?Number(u):void 0;f!==void 0&&f>=11&&d.push(f);}d.length===1&&(a=d[0],l=false);}let s={modeValue:a,modeClass:ux(a),modeRefused:l,legacy:n,settings:r,has:d=>Object.hasOwn(Lp,d)?Lp[d].mode===s.modeClass:Nv[d].applies(s)};return s}function LM(e){return VS(e).modeValue}var bU=["preserveExactLineBaseline","adjustLineHeightInTable","ignoreIndentAsNumberingTabStop","doNotBreakWrappedTables","fixedParagraphSpacing","unstretchedManualBreakLines","pageBreakLinesStretch"];function EM(e){let t={};for(let n of bU)e.has(n)&&(t[n]=true);return t}function AM(e,t){return !t?.ignoreIndentAsNumberingTabStop||e.ignoreIndentAsNumberingTabStop?e:{...e,ignoreIndentAsNumberingTabStop:true}}function NM(e,t){let n=new Map;for(let o of e)n.set(o.localName,o.attributes?.val);let r=new Set;for(let o of ["sz","szCs"]){let a=Number(n.get(o));(a===22||a===24)&&t.some(i=>i.localName===o&&Number(i.attributes?.val)>0)&&r.add(o);}return n.get("jc")==="left"&&r.add("jc"),r.size?e.filter(o=>!r.has(o.localName)):e}function zg(e,t){return t?.fixedParagraphSpacing?0:e}var xU=4096;function Ld(e){return e.map(t=>t.attributes?{n:t.localName,a:t.attributes}:{n:t.localName})}function Vg(e){return e?chunkJGNVNT2A_cjs.y(chunkFIJZIQXA_cjs.Ca(e)):""}function SU(e){return [...e.conditionalTableFormats].map(([t,n])=>[t,Vg(n)])}var Gg=Object.freeze({tablePropertyNodes:Object.freeze([]),tableRowPropertyNodes:Object.freeze([]),tableCellPropertyNodes:Object.freeze([]),paragraphPropertyNodes:Object.freeze([]),paragraphProperties:Object.freeze([]),runProperties:Object.freeze([]),conditional:new Map});function jM(e,t){let n=t&&ba(t)?t:null,r=n?_M(e,n):null;if(r)return r;let o=e.defaultTableStyleId;return !o||o===n?Gg:_M(e,o)??Gg}var DM=new WeakMap;function _M(e,t){let n=DM.get(e);n||(n=new Map,DM.set(e,n));let r=n.get(t);if(r)return r;let o=PU(e,t);return o?(n.set(t,o),o):null}function PU(e,t){let n=Sa(e,t,"table");if(n.length===0)return null;let r=[],o=[],a=[],i=[],l=[],s=[],d=new Map,c=new Map;for(let u of n){u.tablePropertiesNode&&r.push(u.tablePropertiesNode),u.tableRowPropertiesNode&&o.push(u.tableRowPropertiesNode),u.tableCellPropertiesNode&&a.push(u.tableCellPropertiesNode),u.paragraphPropertiesNode&&i.push(u.paragraphPropertiesNode),l.push(...u.paragraphProperties),s.push(...u.runProperties);for(let[f,m]of u.conditionalTableFormats)d.set(f,m),c.set(f,Object.freeze([...c.get(f)??[],m]));}return Object.freeze({tablePropertyNodes:Object.freeze(r),tableRowPropertyNodes:Object.freeze(o),tableCellPropertyNodes:Object.freeze(a),paragraphPropertyNodes:Object.freeze(i),paragraphProperties:Object.freeze(l),runProperties:Object.freeze(s),conditional:HM(d),conditionalStyleLayers:HM(c)})}function HM(e){let t=Object.freeze({get:n=>e.get(n),has:n=>e.has(n),forEach:(n,r)=>{for(let[o,a]of e)n.call(r,a,o,t);},keys:()=>e.keys(),values:()=>e.values(),entries:()=>e.entries(),[Symbol.iterator]:()=>e[Symbol.iterator](),[Symbol.toStringTag]:"Map",get size(){return e.size}});return t}function WM(e){return e.paragraphPropertyNodes.length>0||e.paragraphProperties.length>0||e.runProperties.length>0||e.conditional.size>0}var GS=Object.freeze({paragraphProperties:Object.freeze([]),paragraphPropertyNodes:Object.freeze([]),runProperties:Object.freeze([])});function zM(e,t){let n=[...e.paragraphPropertyNodes],r=[...e.paragraphProperties],o=[...e.runProperties];for(let a of t){let i=e.conditional.get(a);if(!i)continue;let l=xa(i);l&&(n.push(l),r.push(...Fl($e(l))));let s=td(i);s&&o.push(...Fl($e(s)));}return n.length===0&&r.length===0&&o.length===0?GS:{paragraphProperties:r,paragraphPropertyNodes:n,runProperties:o}}function RU(e){return {major:e.major??null,minor:e.minor??null,majorEastAsia:e.majorEastAsia??null,minorEastAsia:e.minorEastAsia??null,majorBidi:e.majorBidi??null,minorBidi:e.minorBidi??null,majorSupplemental:e.majorSupplemental??null,minorSupplemental:e.minorSupplemental??null,chineseFontTableFaces:e.chineseFontTableFaces??null}}function VM(e,t=vT,n=null){let r=BI(n),o=VS(n),a=o.has("optionalLigatures"),i=a?{}:{disableOptionalLigatures:true},l=o.has("strictTableStyleHierarchy"),s=EM(o),d=new Map,c=RU(t);if(!e){let b=Wb(null,a),x=wx(null);return {cacheToken:chunkJGNVNT2A_cjs.y({empty:true,dR:Ld(b),dP:Ld(x),...i,theme:c,typography:r,strictTableHierarchy:l,...s}),...s,...i,strictTableStyleHierarchy:l,typography:r,docDefaultsRun:b,docDefaultsParagraph:x,docDefaultsParagraphNode:void 0,defaultParagraphStyleId:null,defaultCharacterStyleId:null,defaultTableStyleId:null,themeFonts:t,styles:d}}let u=kF(e),f={...u,run:[...Wb(e,a),...u.run],paragraph:[...wx(e),...u.paragraph]},m=null,g=null,p=null,h=0;for(let b of e.children){if(!ro(b)||b.localName!=="style")continue;if(h>=xU)break;h+=1;let x=TF(b);if(!x)continue;let{isDefault:R,...P}=x;d.set(P.styleId,P),P.type==="paragraph"?R?m=P.styleId:m===P.styleId&&(m=null):P.type==="character"?R?g=P.styleId:g===P.styleId&&(g=null):P.type==="table"&&(R?p=P.styleId:p===P.styleId&&(p=null));}return {cacheToken:chunkJGNVNT2A_cjs.y({...s,...i,strictTableHierarchy:l,typography:r,dR:Ld(f.run),dP:Ld(f.paragraph),defP:m,defC:g,defT:p,theme:c,styles:[...d.values()].map(b=>({id:b.styleId,type:b.type,basedOn:b.basedOn,outlineLevel:b.outlineLevel,p:Ld(b.paragraphProperties),r:Ld(b.runProperties),tPr:Vg(b.tablePropertiesNode),trPr:Vg(b.tableRowPropertiesNode),tcPr:Vg(b.tableCellPropertiesNode),tblStylePr:SU(b)}))}),...s,...i,strictTableStyleHierarchy:l,typography:r,docDefaultsRun:f.run,docDefaultsParagraph:f.paragraph,docDefaultsParagraphNode:f.paragraphNode,defaultParagraphStyleId:m,defaultCharacterStyleId:g,defaultTableStyleId:p,themeFonts:t,styles:d}}function nr(e,t,n){return GM(e,t,n)}function GM(e,t,n,r){let o=$e(t),a=fi(o,"pStyle")??e.defaultParagraphStyleId,i=a?Sa(e,a,"paragraph"):[],l=r?zS(i,t):i.length,s=(y,b)=>n&&!e.strictTableStyleHierarchy&&y.styleId===e.defaultParagraphStyleId?NM(b,n.runProperties):b,d=i.map(y=>s(y,y.paragraphProperties)),c=[...e.docDefaultsParagraph,...n?.paragraphProperties??[],...d.slice(0,l).flat(),...$e(r),...d.slice(l).flat()],u=[...c,...o],f=[];e.docDefaultsParagraphNode&&f.push(e.docDefaultsParagraphNode),n&&f.push(...n.paragraphPropertyNodes),i.forEach((y,b)=>{b===l&&r&&f.push(r),y.paragraphPropertiesNode&&f.push(y.paragraphPropertiesNode);}),l===i.length&&r&&f.push(r),t&&f.push(t);let m=td(t&&ro(t)?t:void 0),g=$e(m),p=ii([{properties:e.docDefaultsRun,role:"defaults",emit:true},{properties:n?.runProperties??[],role:"xor",emit:true},{properties:i.flatMap(y=>s(y,y.runProperties)),role:"xor",emit:true}]),h=FF(e,p,g,y=>tp(y,e.disableOptionalLigatures));return {paragraphProperties:u,inheritedParagraphProperties:c,paragraphPropertyNodes:f,runProperties:tp(p,e.disableOptionalLigatures),markRunProperties:h,styleId:a??null}}function wU(e){let t;for(let n of e){if(!n||n.kind==="textValue")continue;let r=false;for(let o of n.children)if(ro(o)&&o.localName==="pBdr"){r=true;break}r&&(t=Qm(n).bottom);}return t}function rr(e,t,n){let r=i=>tp(i,n?.disableOptionalLigatures),o=[];if(n){let l=fi(t,"rStyle")??n.defaultCharacterStyleId;l&&(o=Sa(n,l,"character").flatMap(s=>s.runProperties));}if(e.length===0&&o.length===0)return r(t);if(o.length===0&&t.length===0)return r(e);let a=o.length===0?e:ii([...e.length>0?[{properties:n?.docDefaultsRun??[],role:"defaults",emit:false}]:[],{properties:e,role:"carried",emit:true},{properties:o,role:"xor",emit:true}]);return t.length===0?r(a):r([...a,...t])}function Vn(e,t,n,r,o,a=false,i){let l=xa(e),s=Su(r),d=n?GM(n,l,o,s):null,c=d?.paragraphPropertyNodes??[s,l].filter(O=>O!==void 0),u=d?[...d.paragraphProperties]:[...$e(s),...$e(l)],f=$e(td(l&&ro(l)?l:void 0)),m=d?d.runProperties:[],g=d?d.markRunProperties:f,p=hd(u),h=0,y=0;if(r)h=r.indent.hanging,y=r.indent.firstLine;else for(let O of u){if(O.localName!=="ind")continue;let T=Cd(O.attributes?.hanging),C=Cd(O.attributes?.firstLine);(O.attributes?.hanging!==void 0||O.attributes?.firstLine!==void 0)&&(h=T!==null?Math.max(0,chunkFIJZIQXA_cjs.ld(T)):0,y=C!==null?chunkFIJZIQXA_cjs.ld(C):0);}let b=r?{left:r.indent.left,right:r.indent.right,hanging:h,firstLine:y}:{left:p.left,right:p.right,hanging:h,firstLine:y},R=er(e)?.at(-1)?.paragraph,P=R?Vn(R,t,n,void 0,o,a,i):void 0,S=AM(Rv(c),n),w=d?d.styleId:fi(u,"pStyle")??null,I=null,v=false;for(let O of u){if(O.localName!=="outlineLvl")continue;v=true;let T=O.attributes?.val;I=T!==void 0&&/^[0-8]$/.test(T)?Number(T):null;}if(!v&&n&&w){let O=Sa(n,w,"paragraph");for(let T=O.length-1;T>=0;T-=1){let C=O[T].outlineLevel;if(C!==null){I=C;break}}}if(!v&&I===null&&w){let O=/^heading\s*([1-9])$/i.exec(w.trim());O&&(I=Number(O[1])-1);}return {props:u,indent:b,available:Math.max(1,t-b.left-b.right),alignment:chunkFIJZIQXA_cjs.$e(e)??ju(u),spacing:{...oi(u,{inList:r!==void 0,lineUnitPt:i,fixedAutoSpacing:n?.fixedParagraphSpacing===true}),...P?{after:P.spacing.after}:{}},lineSpacing:Db({...sT(u),...n?.preserveExactLineBaseline?{preserveExactBaseline:true}:{}},u,i,a,n?.adjustLineHeightInTable===true),contextualSpacing:dT(u),styleId:w,outlineLevel:I,bottomBorder:wU(c),borders:uT(c),shading:tT(u),inheritedRunProperties:m,markRunProperties:P?.markRunProperties??g,tabStops:S,tabStopsCacheToken:Ip(S),...r?{listItem:r}:{}}}var KM=new WeakMap;function $M(e,t){let n=KM.get(e);if(n&&n.styles===t)return n.visible;let r=e.children.find(d=>d.kind==="paragraphProperties"),o=t?nr(t,r).runProperties:[],a=0,i=false,l=(d,c)=>{if(++a>1e4||c>64)return i=true,false;if(d.kind==="textValue")return false;if(d.kind==="run"){let u=$e(d.children.find(f=>f.kind==="runProperties"));return je(rr(o,u,t)).hidden?false:d.children.some(f=>f.namespaceUri===chunkFIJZIQXA_cjs.la&&f.localName==="t"&&f.children.some(m=>m.kind==="textValue"&&/\S/u.test(m.value)))}if(d!==e&&!["hyperlink","fldSimple","smartTag","customXml"].includes(d.localName))return false;for(let u of d.children)if(l(u,c+1))return true;return false},s=l(e,0)&&!i;return KM.set(e,{styles:t,visible:s}),s}function UM(e,t,n){let r=new Map;function o(a,i){if(!a||!i)return null;if(a.last<0)return i;if(i.last<0)return a;let l=a.advance+(n?i.before:Math.max(i.before,a.after)-a.after);return {before:a.before,after:i.after,advance:l+i.advance,maxWhole:Math.max(a.maxWhole,l+i.maxWhole),maxSplit:Math.max(a.maxSplit,l+i.maxSplit),last:i.last}}return {walk(a,i,l,s){function d(c,u,f){if(f<=a||u>i)return true;if(u>=a&&f-1<=i){let p=r.get(c);if(p){let h=l(p);if(h==="stop")return false;if(h)return true}}if(f-u===1){let p=s(u);return r.has(c)||r.set(c,t(u)),p}let m=u+Math.floor((f-u)/2),g=d(c*2,u,m)&&d(c*2+1,m,f);return r.has(c*2)&&r.has(c*2+1)&&r.set(c,o(r.get(c*2),r.get(c*2+1))),g}e>0&&d(1,0,e);}}}var Uu=8,$g=8,$u=2,kU=Object.freeze({keepNext:false,keepLines:false,widowControl:true});function KS(e){let t=e?.val;return t!=="0"&&t!=="false"&&t!=="off"}function ht(e){let t=false,n=false,r=true;for(let o of e)switch(o.localName){case "keepNext":t=KS(o.attributes);break;case "keepLines":n=KS(o.attributes);break;case "widowControl":r=KS(o.attributes);break;}return !t&&!n&&r?kU:{keepNext:t,keepLines:n,widowControl:r}}function ki(e,t,n,r,o){if(e<=t)return e;if(r.keepLines&&!o)return t;if(!r.widowControl||n<$u)return e;let a=e;return n-a<$u&&(a-=1),a-t===1&&(a-=1),a<t&&(a=t),a===t&&o?e:a}function Kg(e,t=Number.POSITIVE_INFINITY){let{blocks:n,start:r}=e,o=0,a=e.carry,i=-1,l=true,s=null,d=u=>(s=u,false),c=u=>{let f=n[u];if(f&&e.skipBlock?.(u))return true;if(f?.kind==="table"&&u>r){let x=e.tableOpening?.(u)??null;if(x===null)return false;if(x.breaksPage)return d({height:o-a,lastWhole:i});let R=x.throughHeight,P=R===void 0||e.throughTables===false?void 0:XM(e,u+1,t-o-R),S=typeof P=="number"?R+P:x.height;return d({height:o+S,lastWhole:i})}if(!f||f.kind!=="paragraph"||!f.spacing||!f.keeps)return false;if(u>r&&e.breaksBefore?.(u))return d({height:o-a,lastWhole:i});u===r&&e.headLead!==void 0?o+=e.headLead:e.sumAdjacentSpacing?o+=f.spacing.before:o+=Math.max(f.spacing.before,a)-a;let m=e.linesFor(u),g=m.findIndex(x=>x.pageBreakAfter||x.columnBreakAfter),p=g<0?m.length:g+1,h=US(m.length,p,f.keeps),y=o+$S(m,h);if(!f.keeps.keepNext||u+1>=n.length)return d({height:y,lastWhole:i});let b=$S(m,p);if(g<0&&h<m.length&&o+b>t)return d({height:y,lastWhole:i});if(g>=0)return d({height:o+b,lastWhole:i});l&&o+b<=t?i=u:l=false;for(let x=0;x<p;x+=1)o+=m[x].height;return o+=f.spacing.after,a=f.spacing.after,o-a>(e.maxHeight??1/0)?d({height:1/0,lastWhole:i}):true};if(e.rangeIndex)e.rangeIndex.walk(r,e.chainEnd?.(r)??n.length-1,u=>{if(u.last<0)return true;if(i<0&&l&&o===0)return false;let f=e.sumAdjacentSpacing?u.before:Math.max(u.before,a)-a,m=o+f;return m+(l?u.maxWhole:u.maxSplit)>t?false:(l&&(i=u.last),o=m+u.advance,a=u.after,o-a>(e.maxHeight??1/0)?(d({height:1/0,lastWhole:i}),"stop"):true)},c);else for(let u=r;u<n.length&&c(u);u+=1);return s}function $S(e,t){let n=0;for(let o=0;o<t;o+=1)n+=e[o]?.height??0;let r=e[t-1];return r?n-Math.min(r.height,Math.max(0,r.trailingSpacing??0)):n}function TU(e,t){let n=t.contentHeight-t.cursorY-t.lead-t.topExtent,r=Math.max(n+t.pricedLead,t.contentHeight-t.freshLead-t.topExtent+t.pricedLead),o=s=>Kg({...e,maxHeight:r},s+t.pricedLead),a=o(n);if(a===null)return null;let i=a.height-t.pricedLead+t.lead+t.topExtent;if(t.cursorY+i<=t.contentHeight)return i;let l=o(t.contentHeight-t.freshLead-t.topExtent);return l===null||l.height-t.pricedLead+t.freshLead+t.topExtent>t.contentHeight?null:!Le(t.compatibilityMode,"keepNextGivesTailLines")||a.lastWhole<0?i:ZM(e,a.lastWhole)>0?null:i}function vU(e,t,n,r){if(!Le(r,"keepNextGivesTailLines"))return 0;e={...e,maxHeight:Math.max(t,n)};let o=Kg(e,t);if(o===null||o.height<=t||o.lastWhole!==e.start)return 0;let a=Kg(e,n);return a===null||a.height>n?0:ZM(e,e.start)}function FU(e,t){let n={before:0,after:0,advance:0,maxWhole:-1/0,maxSplit:-1/0,last:-1},r=UM(e.blocks.length,o=>{if(e.dynamicBlock?.(o))return null;if(e.skipBlock?.(o))return n;let a=e.blocks[o];if(a.kind!=="paragraph"||!a.keeps?.keepNext||!a.spacing||e.breaksBefore?.(o)||o+1===e.blocks.length)return null;let i=e.linesFor(o);if(i.some(d=>d.pageBreakAfter||d.columnBreakAfter))return null;let l=$S(i,i.length),s=i.reduce((d,c)=>d+c.height,0)+a.spacing.after;return {before:a.spacing.before,after:a.spacing.after,advance:s,maxWhole:l,maxSplit:US(i.length,i.length,a.keeps)<i.length?l:-1/0,last:o}},e.sumAdjacentSpacing===true);return {...e,rangeIndex:r,chainEnd:o=>t[o]}}function YM(e,t){let n=new Array(e.blocks.length);for(let i=e.blocks.length-1;i>=0;i-=1){let l=e.blocks[i];n[i]=i+1<n.length&&(e.skipBlock?.(i)||l.kind==="paragraph"&&l.keeps?.keepNext)?n[i+1]:i;}let r,o,a=()=>{let i=e.contextKey?.()??"";return (!o||i!==r)&&(r=i,o=FU(e,n)),o};return {need:(i,l,s)=>TU({...a(),start:i,carry:l},{...s,compatibilityMode:t}),tailBreak:(i,l,s,d)=>{if(!e.blocks[i]?.keeps?.keepNext||e.skipBlock?.(i))return l;let c={...a(),start:i,carry:0,headLead:0},u=d-s;return l-vU(c,u,d,t)},opening:(i,l)=>XM(a(),i,l)}}function XM(e,t,n){if(t>=e.blocks.length)return;if(e.breaksBefore?.(t))return 0;let r={...e,start:t,carry:0,headLead:void 0,throughTables:false};return Kg(r,n)?.height??null}function ZM(e,t){let n=e.blocks[t]?.keeps;if(!n)return 0;let r=e.linesFor(t);return r.some(o=>o.pageBreakAfter||o.columnBreakAfter)||US(r.length,r.length,n)>=r.length?0:n.widowControl?$u:1}function US(e,t,n){return n.keepLines?t:n.widowControl?e<$u*2?t:Math.min($u,t):Math.min(1,t)}function OU(e,t){let n=e;for(let r=0;r<e.length;r+=1){let o=t(r);o!==void 0&&(n===e&&(n=[...e]),n[r]=`${n[r]}~mk~${o}`);}return n}function CU(e,t,n,r=(o,a)=>o+a>=0&&o+a<e.length?n(o+a):null){let o=e;for(let a=0;a<e.length;a+=1){if(!t(a))continue;let i=n(a);if(i===null)continue;let l=r(a,-1)===i,s=r(a,1)===i;o===e&&(o=[...e]),o[a]=`${o[a]}~cs~${l?1:0}${s?1:0}`;}return o}function IU(e,t){let n=e;for(let r=0;r<e.length;r+=1){let o=t(r);if(o==="")continue;let a=r>0&&t(r-1)===o,i=r+1<e.length&&t(r+1)===o;n===e&&(n=[...e]),n[r]=`${n[r]}~bg~${a?1:0}${i?1:0}`;}return n}function MU(e,t){let n=e;for(let r=0;r<e.length;r+=1){let o=t(r);o!==""&&(n===e&&(n=[...e]),n[r]=`${n[r]}~toc~${o}`);}return n}function BU(e,t){let n=e.length-1;if(!t||n<1)return e;let r=[...e];return r[n-1]=`${e[n-1]}~sm~${e[n]}`,r}function qM(e,t){if(!t||e.length===0)return e;let n=[...e];for(let r=Math.max(0,n.length-2);r<n.length;r+=1)n[r]=`${n[r]}~mjb`;return n}function LU(e,t,n,r){let o=new Uint8Array(e.length+1),a=new Uint8Array(e.length),i=[];for(let f=0;f<e.length;f+=1){let m=t(f);if(!m&&!o[f])continue;let g=n?.(f)===true,p=r?.(f)===true;a[f]=(m?1:0)|(p?2:0)|(g?4:0),f+1!==e.length&&(g?o[f+1]|=o[f]:m&&(i.push(f),o[f+1]|=p?1:2,p||(o[f+1]|=o[f])));}if(i.length===0)return e;let l=new TextEncoder,s=f=>f.length<=256?f:`\0h${chunkFIJZIQXA_cjs.f(l.encode(f))}`,d=new Array(e.length+1),c=new Array(e.length+1);d[e.length]=c[e.length]=".";for(let f=e.length-1;f>=0;f-=1){if(!o[f])continue;let m=(a[f]&4)!==0,g=(a[f]&2)!==0,p=(a[f]&1)!==0,h=f+1===e.length?".":"",y=m?"-":`${e[f].length}:${e[f]}`,b=y+(m||p&&!g?d[f+1]:h),x=y+(m?c[f+1]:p?g?`>${d[f+1]}`:c[f+1]:h);o[f]&1&&(d[f]=s(b)),o[f]&2&&(c[f]=o[f]&1&&b===x?d[f]:s(x));}let u=[...e];for(let f of i)u[f]=`${e[f]}~kn~${a[f]&2?d[f+1]:c[f+1]}`;return u}function JM(e,t){let n=t.terminalTableGroup,r=n?e.map((a,i)=>i>=n.start&&i<=n.anchorIndex?de([a,n.token]):a):e,o=CU(r,t.contextualSpacingAt,t.styleIdAt,t.neighbourStyleAt);return o=IU(o,t.borderGroupKeyAt),t.tocVerdicts.length>0&&(o=MU(o,a=>t.tocVerdicts[a])),o=OU(o,t.markerTextAt),o=BU(o,t.endsWithSectionMark===true),o=LU(o,t.keepsNextAt,t.skipKeepNextAt,t.tableAt),o}var QM=64,EU=1e4,YS=new chunkFIJZIQXA_cjs.mf,eB=new WeakMap,tB=new WeakMap,AU=new WeakMap;function NU(e){return e.children.find(t=>t.kind==="paragraphProperties")}function oB(e,t){let n=NU(e);if(t)return nr(t,n);let r=n?.kind!=="textValue"?n?.children.find(o=>o.kind==="runProperties"):void 0;return {runProperties:[],markRunProperties:$e(r)}}function XS(e,t,n=true){let r=t?tB.get(t):AU;r||tB.set(t,r=new WeakMap);let o=r.get(e);if(o)return o.hidden&&(!n||o.special);let a=false,i=false;for(let l of oB(e,t).markRunProperties)l.localName==="vanish"&&(i=!["0","false","off"].includes(l.attributes?.val??"true")),l.localName==="specVanish"&&(a=!["0","false","off"].includes(l.attributes?.val??"true"));return r.set(e,{hidden:i,special:a}),i&&(!n||a)}function DU(e){let t=eB.get(e);if(t!==void 0)return t;let n=0,r=(a,i)=>{if(++n>EU||i>64)return true;if(a.kind==="textValue")return false;if(a.namespaceUri===chunkFIJZIQXA_cjs.la&&["sectPr","framePr","pageBreakBefore","ins","del","moveFrom","moveTo","pPrChange","rPrChange"].includes(a.localName)||a.kind==="hardBreak"&&a.attributes.some(l=>l.localName==="type"&&["page","column"].includes(l.value)))return true;for(let l of a.children)if(r(l,i+1))return true;return false},o=r(e,0);return eB.set(e,o),o}function nB(e){let t=ht(e.props),n=new Map,r=new Set(["snapToGrid","textDirection","suppressAutoHyphens","textAlignment","adjustRightInd","mirrorIndents","suppressOverlap"]);for(let o of e.props)r.has(o.localName)&&n.set(o.localName,o.attributes?.val??"true");return JSON.stringify({direction:at(e.props),typography:Td(e.props),flow:[...n].sort(([o],[a])=>o.localeCompare(a)),keeps:t,left:e.indent.left,right:e.indent.right,alignment:e.alignment,lineSpacing:e.lineSpacing,tabs:{...e.tabStops,stops:e.tabStops.stops.filter(o=>!o.numberingOnly)},contextualSpacing:e.contextualSpacing,borders:e.borders,shading:e.shading})}function rB(e,t,n,r,o,a,i,l){if(!e.some(m=>m.block.kind==="paragraph"&&l(m.block)))return e;let s=Au(e.map(m=>m.block),n??hg,t),d=[],c=[],u=false,f=m=>{if(m&&c.length>1&&c.length<=QM){let g=nB(Vn(c[0].block,1e3,t,s.get(c[0].block.id)));m=c.slice(1).every(p=>!s.has(p.block.id))&&c.every(p=>{let h=Vn(p.block,1e3,t,s.get(p.block.id));return !h.props.some(b=>b.localName==="framePr"||b.localName==="pageBreakBefore"&&!["0","false","off"].includes(b.attributes?.val??"true"))&&!h.contextualSpacing&&nB(h)===g});}else m=false;if(m){let g=c[0],p=c.map(S=>S.block),h=YS.get(g.block)?.find(S=>S.styles===t&&S.numberingIndex===n&&S.members.length===p.length&&p.every((w,I)=>w===S.members[I]));if(h){i(h.merged,p),d.push({block:h.merged,parentKey:g.parentKey}),c=[];return}let y=[],b=0;for(let S of p)y.push({paragraph:S,base:b,runProperties:oB(S,t).runProperties}),b+=chunkFIJZIQXA_cjs.jg(S).length;let x=[...g.block.children.filter(S=>S.kind==="paragraphProperties")];for(let S of p)for(let w of S.children)w.kind!=="paragraphProperties"&&x.push(w);let R={...g.block,children:x};i(R,p),uF(R,y);let P=YS.get(g.block)??[];P.length>=4&&P.shift(),P.push({styles:t,numberingIndex:n,members:p,merged:R}),YS.set(g.block,P),d.push({block:R,parentKey:g.parentKey});}else for(let g of c)d.push(g);c=[];};for(let m of e){c.length&&c[0].parentKey!==m.parentKey&&f(false);let g=m.block;if(g.kind!=="paragraph"||a(g)){f(false),d.push(m);continue}let p=l(g);if(u){d.push(m),u=p;continue}if(c.length===QM){f(false),d.push(m),u=p;continue}if((p||c.length)&&(r?.has(g.id)||DU(g)||!o(g))){f(false),d.push(m),u=p;continue}p||c.length?(c.push(m),p||f(true)):d.push(m);}return f(false),d}function aB(e,t,n,r,o,a,i){if(!e.some(({block:g})=>g.kind==="paragraph"&&XS(g,t,false)))return e;let l=typeof r=="function"?r():r,s=g=>XS(g,t),d=rB(e,t,n,l,o,a,i,s),c=new Set;for(let{block:g}of e)g.kind==="paragraph"&&!s(g)&&XS(g,t,false)&&$M(g,t)&&c.add(g);if(!c.size)return d;let u=rB(e,t,n,l,o,a,i,g=>s(g)||c.has(g)),f=new Map;for(let g of d){let p=er(g.block);p&&f.set(p[0].paragraph,g);}let m=[];for(let g=0;g<u.length;g++){let p=u[g],h=f.get(p.block),y=h&&er(h.block);h&&y&&y.every((b,x)=>u[g+x]?.block===b.paragraph)?(m.push(h),g+=y.length-1):m.push(p);}return m}function _U(e){let t=e.root;if(t.localName==="hdr"||t.localName==="ftr")return t;let n=r=>{if(r.kind!=="textValue"){if(r.kind==="body")return r;for(let o of r.children){let a=n(o);if(a)return a}}};return n(t)}function HU(e,t,n){return !(e.kind==="paragraph"&&lC(e,t,n))}var Yu=new WeakMap;function Ti(e){return Yu.get(e)??null}function cB(e,t){let n=t.children.filter(a=>iB(a)),r=e.flatMap(a=>a.children.filter(i=>!iB(i))),o={...t,children:[...n,...r]};return Yu.set(o,{merged:o,members:e}),o}function iB(e){return e.kind!=="textValue"&&(e.kind==="paragraphProperties"||e.localName==="pPr")}function jU(e,t,n){if(t==="all-markup"&&!n)return e;let r=[],o=[],a=null,i=()=>{let l=a??"";for(let s of WU(o))r.push({block:s,parentKey:l});o=[],a=null;};for(let l of e){let{block:s,parentKey:d}=l;if(o.length>0&&d!==a&&i(),s.kind!=="paragraph"){i(),r.push(l);continue}let c=eS(s,t,n);if((c||o.length>0)&&!fB(s,t,n)){i(),r.push(l);continue}if(c){o.push(s),a=d;continue}if(o.length===0){r.push(l);continue}let u=[...o,s];o=[],a=null,r.push({block:cB(u,s),parentKey:d});}return i(),r}function WU(e){if(e.length<2)return e;let t=e[e.length-1];return [cB(e,t)]}function zl(e,t,n,r,o=false,a,i){let l=VU(e).map(c=>({...c,block:SS(c.block,t,n)})),s=jU(l,t,n).filter(c=>HU(c.block,t,n)),d=o?aB(s,r,a,i,c=>fB(c,t,n),c=>Yu.has(c),(c,u)=>Yu.set(c,{merged:c,members:u})):s;return fC(d,t,n,c=>!Yu.has(c))}var zU=new Set(["pPr","bookmarkStart","bookmarkEnd","proofErr","permStart","permEnd"]);function uB(e){for(let t of e.children){if(t.kind==="textValue"){if(t.value.length>0)return false;continue}if(t.namespaceUri!==chunkFIJZIQXA_cjs.la||!zU.has(t.localName))return false}return true}function VU(e){let t=[],n=(r,o,a)=>{for(let i of r){if(i.kind==="textValue")continue;if(i.kind==="paragraph"||i.kind==="table"){t.push({block:i,parentKey:a});continue}let l=chunkFIJZIQXA_cjs.Nc(i);l!==null&&o<chunkFIJZIQXA_cjs.Tc&&n(l,o+1,i.id);}};return n(e,0,""),t}var lB=new WeakMap;function fB(e,t,n){let r=`${t}|${n?.cacheKey??""}|${chunkFIJZIQXA_cjs.jf()}`,o=lB.get(e),a=o?.get(r);if(a!==void 0)return a;let i=GU(e,t,n);return o?Si(o,r,i):lB.set(e,new Map([[r,i]])),i}function GU(e,t,n){if(!KU(e))return false;let r=ud(e,[],void 0,void 0,void 0,void 0,t,void 0,void 0,void 0,void 0,void 0,void 0,void 0,n),o=0;for(let a of r)o=Math.max(o,a.end);return o<=chunkFIJZIQXA_cjs.jg(e).length}function KU(e){let t=0,n=false,r=o=>{if(o.kind!=="textValue"){if(o.namespaceUri===chunkFIJZIQXA_cjs.la&&o.localName==="fldChar"){let a=o.attributes.find(i=>i.localName==="fldCharType")?.value;a==="begin"?t+=1:a==="end"&&(t-=1,t<0&&(n=true));}for(let a of o.children)r(a);}};return r(e),t===0&&!n}var sB=chunkFIJZIQXA_cjs.ub(16),dB=new WeakMap,$U=1;function UU(e){if(!e)return 0;let t=dB.get(e);return t||(t=$U++,dB.set(e,t)),t}function Nr(e,t="all-markup",n,r,o){let a=`${t}|${n?.cacheKey??""}|${r?.cacheToken??""}|${UU(o)}`,i=sB.get(e),l=i?.get(a);if(l)return l;let s=_U(e),d=s?zl(s.children,t,n,r,s.kind==="body",o,()=>new Set([...Kp(e).keys(),...vp(e),...Fp(e)])):[];return i?Si(i,a,d):sB.set(e,new Map([[a,d]])),d}function Sd(e,t="all-markup",n){return e.kind!=="note"?[]:zl(e.children,t,n)}function ZS(e,t="all-markup",n){return e.kind==="textValue"?[]:zl(e.children,t,n)}function Ed(e,t,n){let r=[],o=0,a=e.members.length-1;return e.members.forEach((i,l)=>{let s=chunkFIJZIQXA_cjs.jg(i).length,d=l<a&&t?Rd(i,t,n):[];r.push({paragraphId:i.id,base:o,length:s,...d.length>0?{markChangeSites:d}:{}}),o+=s;}),{members:r,total:o}}function qS(e,t){let n;for(let r of e.members){if(r.base>t)break;(n===void 0||r.length>0||r.base>n.base)&&(n=r);}return n??e.members[e.members.length-1]}function mB(e,t){let n=qS(t,e.start);if(!n)return e;let r=e.end-n.base;return {paragraphId:n.paragraphId,start:e.start-n.base,end:Math.min(r,n.length)}}function YU(e,t){return {...e,range:mB(e.range,t)}}function Ug(e,t){let n=t.members.filter(r=>r.markChangeSites!==void 0).map(r=>({offset:r.base+r.length,sites:r.markChangeSites}));return e.map(r=>{let o=n.filter(g=>g.offset>=r.range.start&&(g.offset<r.range.end||g.offset===r.range.end&&g.offset===t.total)).flatMap(g=>g.sites),a=o.length>0?[...r.changeSites??[],...o]:r.changeSites,i=r.spans.map(g=>YU(g,t)),l=i[0],s=r.drawings?.map(g=>{let p=qS(t,g.start);return p?{...g,paragraphId:p.paragraphId,start:g.start-p.base}:g}),d=l?i.filter(g=>g.range.paragraphId===l.range.paragraphId):[],c=l?(s??[]).filter(g=>g.paragraphId===l.range.paragraphId):[],u=l?{paragraphId:l.range.paragraphId,start:Math.min(l.range.start,...c.map(g=>g.start)),end:Math.max(d[d.length-1].range.end,...c.map(g=>g.start+1))}:mB(r.range,t),f=s,m=r.deletedRanges?.map(g=>({deleted:g,member:qS(t,g.start)})).filter(({member:g})=>g?.paragraphId===u.paragraphId).map(({deleted:g,member:p})=>({start:g.start-(p?.base??0),end:g.end-(p?.base??0)}));return {...r,range:u,spans:i,...f?{drawings:f}:{},...m?{deletedRanges:m}:{},...a?{changeSites:a}:{}}})}function pB(e,t){let n=e.map(o=>{if(o.projected||o.inlineDrawing||o.anchoredAtom||o.equation||o.positionalTab||o.breakKind||o.measureText!==void 0||o.fieldAtom||o.end-o.start!==o.text.length||/[\t\r\n]/u.test(o.text))return null;let{text:a,start:i,end:l,style:s,...d}=o;return JSON.stringify(d)}),r=[];for(let o=0;o<e.length;){let a=o+1;for(;a<e.length&&n[o]!==null&&n[a]===n[o]&&e[a-1].end===e[a].start&&!t?.has(e[a].start)&&np(e[o].style,e[a].style);)a++;let i=e[o];r.push(a===o+1?i:{...i,text:e.slice(o,a).map(l=>l.text).join(""),end:e[a-1].end}),o=a;}return r}function jg(e){let t="children"in e?Ti(e):null;return t?new Set(Ed(t).members.map(n=>n.base)):void 0}var Yg="\uFFFC";function Xg(e,t,n,r,o){if(t.length===0){let S=r(e);return {spans:S,offset:o(S),drawings:t}}let a=e.find(S=>S.style.shaping),i=a!==void 0||t.some(S=>S.bidiLevel!==void 0),l=a?.style.shaping?.baseLevel??(n?1:0),s=a?.style.shaping?.runDirection!==void 0,{shaping:d,...c}=a?.style??e[0]?.style??Zn,u=t.map(S=>{let w=S.bidiLevel??l,I=w%2?"rtl":"ltr",v={script:"Zyyy",direction:I,level:w,baseLevel:l,...s?{runDirection:I}:{}};return {range:{paragraphId:S.paragraphId,start:S.start,end:S.start+1},text:Yg,props:[],style:i?{...c,shaping:v}:c,box:{x:S.advanceStart,y:S.y,width:Math.max(0,S.advanceEnd-S.advanceStart),height:0}}}),f=[...e,...u].sort((S,w)=>S.range.start-w.range.start),m=new Set(u),g=f.map((S,w)=>{let I=f[w-1];if(!m.has(S)||!I)return S;let v=S.box.x-(I.box.x+I.box.width);return v>.001?{...S,wrapAdvanceBefore:v}:S}),p=r(g),h=(S,w)=>`${S}:${w}`,y=new Set(t.map(S=>h(S.paragraphId,S.start))),b=S=>S.text===Yg&&S.range.end-S.range.start===1&&y.has(h(S.range.paragraphId,S.range.start)),x=new Map;for(let S of p)b(S)&&x.set(h(S.range.paragraphId,S.range.start),S.box.x);let R=p.filter(S=>!b(S)),P=t.map(S=>ar(S,(x.get(h(S.paragraphId,S.start))??S.advanceStart)-S.advanceStart,0));return {spans:R,drawings:P,offset:o(R)}}function at(e){let t=false;for(let n of e)if(n.localName==="bidi"){let r=n.attributes?.val;t=r===void 0||r==="1"||r==="true"||r==="on";}return t}function Nd(e){let t=false;for(let n of e){if(n.localName!=="rtl")continue;let r=n.attributes?.val;t=r===void 0||r==="1"||r==="true"||r==="on";}return t}var yB=/[\u061c\u200e\u200f\u202a-\u202e\u2066-\u2069]/u;function XU(e,t,n){let r=Tl.getEmbeddingLevels(t,n?"rtl":"ltr");if(yB.test(t))return r;let o=0;for(let a=0;a<e.length;){let i=Nd(e[a].props),l=a,s=0;for(;l<e.length&&Nd(e[l].props)===i;)s+=e[l].text.length,l++;let d=Tl.getEmbeddingLevels(t.slice(o,o+s),i?"rtl":"ltr");r.levels.set(d.levels,o),o+=s,a=l;}return r}function Wg(e,t,n,r=false){let o=new Map,a=u=>u?.inlineDrawing!==void 0&&u.text===Yg,i=e.map(u=>u.text).join("");if(!t&&!/[\u0590-\u08ff\ufb1d-\ufdff\ufe70-\ufeff]/u.test(i)&&!e.some(u=>!a(u)&&Nd(u.props)))return e;let l=e.map((u,f)=>{if(u.end-u.start===1&&(u.noteNav||u.fieldAtom&&!u.fieldAtom.formControl)&&/^[0-9]+$/u.test(u.text)){o.set(u.start,u);let{projected:P,measureText:S,...w}=u;return {...w,text:u.text[0]}}if(!a(u))return u;o.set(u.start,u);let{projected:m,inlineDrawing:g,...p}=u,h=P=>{let S=f+P;for(;e[S]&&(a(e[S])||!qU.test(e[S].text));)S+=P;return e[S]?Nd(e[S].props):void 0},y=h(-1),b=h(1),x=b===void 0?y??t:y===void 0?t:y===b?y:t,R=u.props.filter(P=>P.localName!=="rtl");return {...p,props:x?[...R,{localName:"rtl"}]:R}});if(l.some(u=>!Xu(u)&&u.projected||u.inlineDrawing||u.equation||u.positionalTab||!Xu(u)&&u.measureText!==void 0||u.end-u.start!==u.text.length))return e;let s=r&&l.some(JS),d=u=>s&&JS(u)||Xu(u),c=l.some(d)?JU(l,t,n,d):bB(l,t,n);return c?ZU(QU(c,s),o):e}function ZU(e,t){if(t.size===0)return e;let n=[...t.keys()].sort((o,a)=>o-a),r=[];for(let o of e){let a=o.start,i=d=>{if(d<=a)return;let c=o.text.slice(a-o.start,d-o.start);r.push({...o,text:c,start:a,end:d});},l=0,s=n.length;for(;l<s;){let d=l+s>>1;n[d]<o.start?l=d+1:s=d;}for(let d=l;d<n.length&&n[d]<o.end;d++){let c=n[d],u=t.get(c);i(c),r.push({...u,style:{...u.style,shaping:o.style.shaping}}),a=c+1;}i(o.end);}return r}var JS=e=>e?.text===chunkFIJZIQXA_cjs.mb,Xu=e=>e?.text==="\xAD"&&e.measureText===""&&e.end-e.start===1,qU=/[\p{L}\p{N}]/u;function JU(e,t,n,r){let o=[],a=[];for(let m of e){let g=o.length;r(m)?o.push({piece:m,at:m.start-g}):a.push(g?{...m,start:m.start-g,end:m.end-g}:m);}let i=m=>{let g=0,p=o.length;for(;g<p;){let h=g+p>>1;o[h].piece.start<m?g=h+1:p=h;}return g},l=n?new Set([...n].map(m=>m-i(m))):void 0,s=bB(a,t,l);if(!s)return null;let d=[],c=0,u=m=>{for(;c<o.length&&o[c].at<=m;c++)d.push(o[c].piece);};for(let m of s){u(m.start);let g=m.start,p=h=>{d.push({...m,text:m.text.slice(g-m.start,h-m.start),start:g+c,end:h+c}),g=h;};for(;c<o.length&&o[c].at<m.end;)p(o[c].at),u(g);p(m.end);}u(1/0);let f;for(let m of d)r(m)||(f=m);for(let m=d.length-1;m>=0;m--){let g=d[m];if(!r(g)){f=g;continue}let p=f?.style.shaping,h=p?.level??(t?1:0),y=f?p?.runDirection:Nd(g.props)?"rtl":"ltr";d[m]={...g,style:{...g.style,shaping:{script:"Zyyy",direction:h%2?"rtl":"ltr",level:h,baseLevel:t?1:0,...y?{runDirection:y}:{}}}};}return d}function bB(e,t,n){let r=e.map(s=>s.text).join(""),o=XU(e,r,t),a=!yB.test(r),i=[],l=0;for(let s of pB(e,n)){let d;try{d=sp(s.text,l,o);}catch{return null}for(let c of d){let u=/^\t+$/u.test(s.text.slice(c.from,c.to)),f=u?t?1:0:c.bidiLevel,m={...s.style,shaping:{script:c.script,direction:u?t?"rtl":"ltr":c.direction,level:f,baseLevel:t?1:0,...a?{runDirection:Nd(s.props)?"rtl":"ltr"}:{}}};i.push({...s,text:s.text.slice(c.from,c.to),start:s.start+c.from,end:s.start+c.to,style:m});}l+=s.text.length;}return i}var gB=new Set(["Adlm","Arab","Mand","Mong","Nkoo","Phag","Rohg","Syrc"]);function QU(e,t){if(!e.some(i=>gB.has(i.style.shaping?.script??"")))return e;let n=i=>i?.style.shaping?.level,r="",o=(i,l)=>{let s=i+l,d=l<0?e[i].start:e[i].end;for(r="";t&&JS(e[s])||Xu(e[s]);s+=l){let u=e[s];if((l<0?u.end:u.start)!==d)return;d=l<0?u.start:u.end,Xu(u)&&(r+=u.text);}let c=e[s];return c&&(l<0?c.end:c.start)===d?c:void 0},a=[];return e.forEach((i,l)=>{let s=i.style.shaping;if(!s||!gB.has(s.script)){a.push(i);return}let d=o(l,-1),c=r,u=o(l,1),f=r,m=d&&n(d)===s.level&&!Ad.test(d.text.slice(-1))&&!Ad.test(i.text.slice(0,1))?(d.text+c).slice(-Qc):"",g=u&&n(u)===s.level&&!Ad.test(i.text.slice(-1))&&!Ad.test(u.text.slice(0,1))?(f+u.text).slice(0,Qc):"";if(!m&&!g){a.push(i);return}let p=i.text,h=(P,S,w)=>{S<=P||a.push({...i,text:p.slice(P,S),start:i.start+P,end:i.start+S,style:w?{...i.style,shaping:{...s,context:w}}:i.style});},y=p.search(Ad);if(y===-1){h(0,p.length,{before:m,after:g});return}let b=p.length-1;for(;!Ad.test(p[b]);)b--;let x=m?y:0,R=g?b+1:p.length;m&&h(0,x,{before:m,after:p.slice(x,x+Qc)}),h(x,R),g&&h(R,p.length,{before:p.slice(Math.max(0,R-Qc),R),after:g});}),a}var Ad=/\s/u;function xB(e,t,n,r){let o=n;for(;o>t&&Array.from(e[o-1].text).every(i=>["WS","B","S"].includes(Tl.getBidiCharTypeName(i)));)o--;if(!r||o===t)return o;let a=o;for(;a<n&&e[a].text===chunkFIJZIQXA_cjs.mb;)a++;return a===n?a:o}function hB(e,t,n,r,o,a,i=false){for(let l=xB(e,n,r,a);l<r;l++)i&&zn(e[l].text)||(t[l]=i&&l>n&&SB(e,l)?t[l-1]:o?1:0);return QS(t,n,r)}function SB(e,t){let n=t;for(;n>0&&e[n].box.width===0&&(e[n].text===`
23
- `||e[n].text===chunkFIJZIQXA_cjs.mb);)n--;return n<t&&zn(e[n].text)}function QS(e,t=0,n=e.length){let r=Array.from({length:n-t},(i,l)=>t+l),o=0,a=1/0;for(let i=t;i<n;i++)o=Math.max(o,e[i]),e[i]%2&&(a=Math.min(a,e[i]));for(let i=o;i>=a;i--)for(let l=0;l<r.length;){if(e[r[l]]<i){l++;continue}let s=l+1;for(;s<r.length&&e[r[s]]>=i;)s++;for(let d=l,c=s-1;d<c;d++,c--)[r[d],r[c]]=[r[c],r[d]];l=s;}return r}function vd(e,t=e.some(r=>r.style.shaping?.baseLevel===1),n=false){if(!t&&Gp(e)||!e.some(s=>s.style.shaping))return e;if(e.some((s,d)=>d>0&&(s.wrapAdvanceBefore??0)>0)){let s=[],d=0;for(let c=1;c<=e.length;c++)if(!(c<e.length&&!(e[c].wrapAdvanceBefore>0))){for(let u of vd(e.slice(d,c),t,n))s.push(u);d=c;}return s}let r=e.map(s=>s.style.shaping?.level??0),o=[];if(e.every(s=>s.style.shaping?.runDirection!==void 0)){let s=xB(e,0,e.length,n),d=u=>u>=s&&SB(e,u)?d(u-1):u>=s&&!zn(e[u].text)&&!(n&&e[u].text===chunkFIJZIQXA_cjs.mb)?t:e[u].style.shaping?.runDirection==="rtl",c=[];for(let u=0;u<e.length;){let f=d(u),m=u+1;for(;m<e.length&&d(m)===f;)m++;c.push({start:u,end:m,rtl:f}),u=m;}t&&c.reverse();for(let u of c)for(let f of hB(e,r,u.start,u.end,u.rtl,n,true))o.push(f);}else for(let s of hB(e,r,0,e.length,t,n))o.push(s);let a=[...e],i=e.reduce((s,d)=>Math.min(s,d.box.x),1/0),l=e.map((s,d)=>s.box.width+Math.max(0,(e[d+1]?.box.x??s.box.x+s.box.width)-s.box.x-s.box.width));for(let s of o){let d=e[s],c=r[s]%2?"rtl":"ltr",u=l[s]-d.box.width,f=d.text.split(" ").length-1,m=f>0?u/f:0;a[s]={...d,style:d.style.shaping?{...d.style,shaping:{...d.style.shaping,direction:c,...m>0?{wordSpacingPt:(d.style.shaping.wordSpacingPt??0)+m}:{}}}:d.style,box:{...d.box,x:i,width:l[s]}},i+=l[s];}return a}function eP(e,t){if(!e.some(o=>o.style.shaping!==void 0))return null;let n=null,r=1/0;for(let o of e){let a=Math.max(o.box.x-t,t-o.box.x-o.box.width,0);a<r&&(n=o,r=a);}return n}function $I(e,t){if(!e.some(n=>n.style.shaping))return e;for(let n=e.length-1;n>=0;n--){let r=e[n],o=r.text.length;for(;o>0&&["WS","B","S"].includes(Tl.getBidiCharTypeName(r.text[o-1]));)o--;if(o===0)continue;if(o===r.text.length)return e;let a=r.text.slice(o),i=Math.min(r.box.width,rt(a,Be(r.style,r.fontSlot),t)),l={...r,text:r.text.slice(0,o),range:{...r.range,end:r.range.start+o},box:{...r.box,width:r.box.width-i}},s={...r,text:a,range:{...r.range,start:r.range.start+o},box:{...r.box,x:r.box.x+r.box.width-i,width:i}};return [...e.slice(0,n),l,s,...e.slice(n+1)]}return e}function Zg(e,t,n,r){if(e.length===0)return;let o;try{o=sp(e,0,Tl.getEmbeddingLevels(e,"rtl"));}catch{return}if(o.length===0||o.length===1&&o[0].bidiLevel%2===0)return;let a=[];for(let l of QS(o.map(s=>s.bidiLevel))){let s=o[l],d=e.slice(s.from,s.to),c={...t,shaping:{script:s.script,direction:s.direction,level:s.bidiLevel,baseLevel:1}},u=r.measure(d,c);a.push({text:d,style:c,box:{...n,width:u}});}let i=n.x+n.width-a.reduce((l,s)=>l+s.box.width,0);return a.map(l=>{let s={...l,box:{...l.box,x:i}};return i+=l.box.width,s})}var tP=new WeakMap,Zu=new WeakMap;function Ju(e){let t=tP.get(e);if(t)return t;let n=new Map;for(let o of e.pages){for(let[a,i]of kB(o)){let l=n.get(a);l?l.push(...i):n.set(a,[...i]);}}let r=qu.get(e);if(r){for(let[o,a]of r)a.length>0&&n.set(o,a);qu.delete(e);}return tP.set(e,n),n}var qu=new WeakMap,nP=new WeakMap;function Jg(e,t){if(e===t||e.pages.length!==t.pages.length)return;let n=new Map(nP.get(e));for(let[r,o]of qu.get(e)??[])o.length&&n.set(r,new Set(o.map(a=>a.pageIndex)));for(;n.size>rP;)n.delete(n.keys().next().value);n.size&&nP.set(t,n);}var rP=32;function hn(e,t){let n=tP.get(e);if(n)return n.get(t)??[];let r=qu.get(e);r||qu.set(e,r=new Map);let o=r.get(t);if(o)return o;if(r.size>=rP)return Ju(e).get(t)??[];let a=[],i=nP.get(e)?.get(t);for(let l of e.pages){if(i&&!i.has(l.index))continue;let s=tY(l,t);if(s)for(let d of s)a.push(d);}return r.set(t,a),a}var Dd=new WeakMap;function wB(e,t){let n=Zu.get(e);n&&Zu.set(t,n);let r=Dd.get(e);r&&Dd.set(t,new Map(r));let o=qg.get(e);o&&qg.set(t,o);}var qg=new WeakMap;function eY(e){let t=qg.get(e);if(t)return t;let n=new Set;for(let r of ga(e))for(let o of r.lines){n.add(o.range.paragraphId);for(let a of o.spans)n.add(a.range.paragraphId);for(let a of o.drawings??[])n.add(a.paragraphId);}return qg.set(e,n),n}function tY(e,t){let n=Zu.get(e);if(n)return n.get(t);let r=Dd.get(e);if(r?.has(t))return r.get(t);if(r&&r.size>=rP)return kB(e).get(t);let o;if(!eY(e).has(t))return r||Dd.set(e,r=new Map),r.set(t,o),o;for(let a of ga(e))for(let i of a.lines)i.range.paragraphId!==t&&!i.spans.some(l=>l.range.paragraphId===t)&&!i.drawings?.some(l=>l.paragraphId===t)||et(i).some(l=>l.paragraphId===t)&&(o??=[]).push({line:i,pageIndex:e.index,...a.clipToBox?{clipBox:a.box}:{}});return r||Dd.set(e,r=new Map),r.set(t,o),o}function kB(e){let t=Zu.get(e);if(t)return t;let n=new Map,r=(a,i,l)=>{for(let s of et(a)){let d={line:a,pageIndex:i,...l?{clipBox:l}:{}},c=n.get(s.paragraphId);c?c.push(d):n.set(s.paragraphId,[d]);}},o=(a,i)=>{let l=s=>{for(let d of s){if(d.kind==="paragraph"){for(let c of d.lines)r(c,i,d.clipToBox?d.box:void 0);continue}for(let c of d.rows)if(!c.isHeaderRepeat)for(let u of c.cells)l(u.blocks);}};l(a);};for(let a of Gt(e))for(let i of a.lines)r(i,e.index,a.clipToBox?a.box:void 0);e.header&&o(e.header.fragments,e.index),e.footer&&o(e.footer.fragments,e.index);for(let a of [e.footnotes,e.endnotes])if(a)for(let i of a.notes)o(i.fragments,e.index);return Dd.delete(e),Zu.set(e,n),n}function zse(e,t,n){let r=hn(e,t);if(r&&r.length>0){let o=fp(e,t,n,r.map(a=>a.line));if(o)return o}return fp(e,t,n)}var PB=new WeakMap;function oP(e,t){let n=PB.get(e);n||(n=new Map,PB.set(e,n));let r=n.get(t);if(r)return r;let o=[];for(let{line:i}of hn(e,t)??[])if(i.range.paragraphId===t)for(let l of i.deletedRanges??[])o.push({start:l.start,end:l.end});o.sort((i,l)=>i.start-l.start);let a=[];for(let i of o){let l=a[a.length-1];l&&i.start<=l.end?l.end=Math.max(l.end,i.end):a.push(i);}return n.set(t,a),a}function TB(e,t){for(let n of e)if(t>n.start&&t<n.end)return true;return false}function nY(e,t){for(let n of oP(e,t.paragraphId))if(t.offset>n.start&&t.offset<n.end)return {paragraphId:t.paragraphId,offset:n.end};return t}var vB=new WeakMap;function aP(e){let t=vB.get(e);if(t)return t;let n=[],r=a=>{a.textboxStory&&!a.accessibility.hidden&&n.push(a);};for(let a of e.anchoredDrawings??[])r(a);for(let a of an(e.fragments,true))for(let i of a.lines)for(let l of i.drawings??[])r(l);let o=Object.freeze(n);return vB.set(e,o),o}function Kse(e,t){return aP(e).find(n=>n.drawingNodeId===t)}var eh=65536;function Zse(e,t){if(e.length>eh)return;let n=new Array(e.length+1).fill(0),r=bt(e),o=Math.max(0,t);for(let[a,i]of r.entries()){let l=o*a/r.length;for(let s=i.utf16From;s<i.utf16To;s++)n[s]=l;n[i.utf16To]=o*(a+1)/r.length;}return n}function qse(e,t,n,r,o){if(e.length>eh||t.text!==e)return;let a=new Array(e.length+1).fill(0),i=[...t.clusters].sort((c,u)=>c.textStart-u.textStart);if(i.length===0&&e.length>0)return;let l=0,s=0,d=Math.max(0,t.glyphs.reduce((c,u)=>c+u.advanceX*n,0)+e.length*r+Qg(e)*o);for(let c of i){if(c.textStart!==s||c.textEnd<=s||c.textEnd>e.length||!Number.isInteger(c.textEnd))return;for(let f=c.textStart;f<c.textEnd;f++)a[f]=l;let u=(c.textEnd-c.textStart)*r+Qg(e.slice(c.textStart,c.textEnd))*o;l=Math.max(l,Math.min(d,l+c.advance*n+u)),a[c.textEnd]=l,s=c.textEnd;}if(s===e.length)return a[e.length]=d,a}function Qg(e){let t=0;for(let n=0;n<e.length;n++)e[n]===" "&&t++;return t}var FB=new WeakMap;function OB(e,t,n){let r=FB.get(n);r||(r=new WeakMap,FB.set(n,r));let o=r.get(e),a=Be(e.style,e.fontSlot),i=Vt(e.text,a),l=Math.max(0,e.box.width);if(o===void 0){o=null;try{let f=n.caretAdvances?.(i,a);if(f&&f.length===i.length+1){let m=0;o=f.map((g,p)=>p===0?0:(m=Math.max(m,Math.min(l,Number.isFinite(g)?g:m)),p===i.length?l:m));}}catch{}r.set(e,o);}let s=Math.max(0,Math.min(t,e.text.length));if(s===0)return 0;if(s===e.text.length)return l;let d=Vt(e.text.slice(0,s),a);if(o)return o[d.length]??l;let c=a.shaping?.wordSpacingPt??0,u=Math.max(0,l-Qg(i)*c);return Math.max(0,Math.min(l,u*d.length/Math.max(1,i.length)+Qg(d)*c))}function th(e,t,n){let r=n?.drawings??e.drawings??[];if(r.length===0)return null;let o=r.find(s=>s.start===t);if(o)return o;let a=n?.spans??e.spans,i=r.find(s=>s.start+1===t);return i?a.some(s=>s.range.paragraphId===i.paragraphId&&s.range.start===t&&s.range.end>t)?null:i:null}function Vl(e,t){return t!==_d(e)?e.advanceEnd:e.advanceStart}function _d(e){return (e.bidiLevel??0)%2===1}function iP(e,t,n,r,o,a,i){if(r>t&&r<n)return null;let l=r>=n,s=l!==a;if(!s){let m=l?i.right:i.left;if(!m)return null;let g=l!==_d(m)?m.start+1:m.start,p=e.spans.filter(x=>x.range.paragraphId===m.paragraphId),h=(e.drawings??[]).filter(x=>x.paragraphId===m.paragraphId),y=Math.min(...p.map(x=>x.range.start),...h.map(x=>x.start)),b=Math.max(...p.map(x=>x.range.end),...h.map(x=>x.start+1));if(g>y&&g<b){let x=et(e).find(R=>R.paragraphId===m.paragraphId);return {offset:g,x:uo(e,g,o.measurer,x).x,withinSpan:false}}s=g>=b;}let d=et(e),c=s?d.at(-1):d[0],u=hp(e,c),f=s?nh(o.layout,u):u.range.start;return {offset:f,x:uo(e,f,o.measurer,c).x,withinSpan:false}}function lP(e,t,n,r){let o=t.map(u=>({from:u.box.x,to:u.box.x+u.box.width,start:u.range.start,end:u.range.end,paragraphId:u.range.paragraphId,text:true,rtl:u.style.shaping?.direction==="rtl"}));for(let u of e.drawings??[])o.push({from:u.advanceStart,to:u.advanceEnd,start:u.start,end:u.start+1,paragraphId:u.paragraphId,text:false,rtl:_d(u)});let a,i;for(let u of o)u.to<=n&&(!a||u.to>a.to)&&(a=u),u.from>n&&(!i||u.from<i.from)&&(i=u);if(a?.text&&i?.text)return n-a.to<=i.from-n?{offset:a.end,x:a.to,withinSpan:false}:{offset:i.start,x:i.from,withinSpan:false};let l=a&&i&&a.paragraphId===i.paragraphId?[a.start,a.end].find(u=>u===i.start||u===i.end):void 0,s=a?{offset:l??(a.rtl?a.start:a.end),piece:a}:i&&{offset:i.rtl?i.end:i.start,piece:i};if(!s)return {offset:e.range.start,x:e.contentX,withinSpan:false};let d=et(e).find(u=>u.paragraphId===s.piece.paragraphId),c=uo(e,s.offset,r.measurer,d).x;return {offset:s.offset,x:c,withinSpan:false}}function ir(e,t){if(!t)return e;let n=Math.max(e.x,t.x),r=Math.max(e.y,t.y),o=Math.min(e.x+e.width,t.x+t.width),a=Math.min(e.y+e.height,t.y+t.height);return a<=r||(e.width===0?o<n:o<=n)?null:{...e,x:n,y:r,width:o-n,height:a-r}}function Hd(e){if(e.clipToBox)return e.box;let t=e.box.x,n=t+e.box.width,r=o=>{t=Math.min(t,o.x),n=Math.max(n,o.x+o.width);};e.marker&&r(e.marker.box);for(let o of e.lines){for(let a of o.spans)r(a.box);for(let a of o.drawings??[])r(a);}return t===e.box.x&&n===e.box.x+e.box.width?e.box:{...e.box,x:t,width:n-t}}function rh(e,t,n){let r=Math.max(e.x-t.x,0,t.x-(e.x+e.width)),o=Math.max(e.y-t.y,0,t.y-(e.y+e.height));return r+o*n}function CB(e,t,n){return e.kind!=="table"?rh(Hd(e),t,n):Math.max(e.box.y-t.y,0,t.y-(e.box.y+e.box.height))>0?rh(e.box,t,n):0}function sP(e){return e.kind==="paragraph"&&e.outOfFlow===true&&!e.positionedFrame}var rY={state:"none"},IB=(e,t)=>t.state==="omitted"?e:t;function zo(e,t,n={}){return e.state==="omitted"?t:e.state==="none"?rY:e}function dP(e,t){let n=IB;return {top:n(e.top,t.top),left:n(e.left,t.left),bottom:n(e.bottom,t.bottom),right:n(e.right,t.right),insideH:n(e.insideH,t.insideH),insideV:n(e.insideV,t.insideV)}}function cP(e,t){let n=IB;return {top:n(e.top,t.top),left:n(e.left,t.left),bottom:n(e.bottom,t.bottom),right:n(e.right,t.right)}}function _r(e=1048576){let t=e|0;return {intervalsRemaining:t>0?t:0}}function oh(e,t,n,r){let o=Math.max(0,Math.min(t|0,1024)),a=new Array(e.length);for(let i=0;i<e.length;i+=1){if(r&&r.intervalsRemaining<=0){a[i]=[];continue}a[i]=iY(e[i],o,n,r);}return a}function oY(e,t){let n=0;for(let r of e){let o=Math.max(0,r.gridColumn|0),a=Math.min(t,o+Math.max(0,r.gridSpan|0));if(!(o>=a)){if(o<n)return false;n=a;}}return true}function aY(e,t,n,r){let o=[];for(let a=0;a<e.length&&(!r||r.intervalsRemaining>0);a+=1){let i=e[a],l=Math.max(0,i.gridColumn|0),s=Math.min(t,l+Math.max(0,i.gridSpan|0));l>=s||(o.push({start:l,end:s,cell:i,cellIndex:a}),n&&(n.ownershipSlotsWritten+=1),r&&(r.intervalsRemaining-=1));}return o}function iY(e,t,n,r){if(oY(e,t))return aY(e,t,n,r);let o=[];for(let c=0;c<e.length;c+=1){let u=e[c],f=Math.max(0,u.gridColumn|0),m=Math.min(t,f+Math.max(0,u.gridSpan|0));f>=m||(o.push({x:f,kind:1,cellIndex:c,cell:u}),o.push({x:m,kind:0,cellIndex:c,cell:u}));}if(o.length===0)return [];o.sort((c,u)=>c.x!==u.x?c.x-u.x:c.kind!==u.kind?c.kind-u.kind:c.cellIndex-u.cellIndex);let a=new Map,i,l=o[0].x,s=[],d=()=>{i=void 0;for(let c of a.values())(!i||c.cellIndex<i.cellIndex)&&(i=c);};for(let c of o){if(c.x>l&&i&&(!r||r.intervalsRemaining>0)){let u=s[s.length-1];u&&u.end===l&&u.cellIndex===i.cellIndex&&u.cell===i.cell?s[s.length-1]={start:u.start,end:c.x,cell:u.cell,cellIndex:u.cellIndex}:(s.push({start:l,end:c.x,cell:i.cell,cellIndex:i.cellIndex}),n&&(n.ownershipSlotsWritten+=1),r&&(r.intervalsRemaining-=1));}c.kind===1?a.set(c.cellIndex,{cell:c.cell,cellIndex:c.cellIndex}):a.delete(c.cellIndex),d(),l=c.x;}return s}function lY(e,t){let n=0,r=e.length;for(;n<r;){let o=n+r>>1;e[o].start<=t?n=o+1:r=o;}return n}function vi(e,t,n,r){r&&(r.columnLookups+=1);let o=e[t];if(!o||n<0)return;let a=lY(o,n)-1;if(a<0)return;let i=o[a];if(!(n>=i.end))return {cell:i.cell,cellIndex:i.cellIndex}}var dY=256,yn={state:"omitted"},AB={state:"none"},pP={top:yn,left:yn,bottom:yn,right:yn,insideH:yn,insideV:yn},NB={top:yn,left:yn,bottom:yn,right:yn},fP={single:1,thick:2,double:3,dotted:4,dashed:5,triple:10},cY=new Map([["single","single"],["thick","thick"],["double","double"],["dotted","dotted"],["dashed","dashed"],["dashSmallGap","dashed"],["dotDash","dashed"],["dotDotDash","dashed"],["triple","triple"],["wave","single"],["hairline","single"],["inset","single"],["outset","single"]]);function Gl(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function uP(e,t){return e.attributes.find(n=>n.localName===t)?.value}function uY(e){return e===void 0||!/^\d{1,9}$/.test(e)?null:Number(e)}function fY(e){if(e===null)return .5;let t=e/8;return !Number.isFinite(t)||t<=0?.5:t>Jm?Jm:t}function mP(e){if(!e)return yn;let t=uP(e,"val");if(!t)return yn;if(t==="nil"||t==="none")return AB;let n=cY.get(t)??"single",r=uP(e,"color"),o=r===void 0||r==="auto"?null:Nb(r)??null;return {state:"edge",style:n,color:o,widthPt:fY(uY(uP(e,"sz")))}}function DB(e,t){if(!e)return NB;let n={top:yn,left:yn,bottom:yn,right:yn};for(let r of t){let o=r==="left"?"start":r==="right"?"end":void 0,a=Gl(e,r)??(o?Gl(e,o):void 0);n[r]=mP(a);}return n}function dh(e){let t=e&&Gl(e,"tblBorders");return t?{...DB(t,["top","left","bottom","right"]),insideH:mP(Gl(t,"insideH")),insideV:mP(Gl(t,"insideV"))}:pP}function _B(e,t){let n=Gl(e,"tblPrEx");if(!n)return;let r=dh(n);if(r===pP)return;let o=(a,i)=>i.state==="omitted"?a:i;return {top:o(t.top,r.top),left:o(t.left,r.left),bottom:o(t.bottom,r.bottom),right:o(t.right,r.right),insideH:o(t.insideH,r.insideH),insideV:o(t.insideV,r.insideV)}}function gP(e){return DB(e&&Gl(e,"tcBorders"),["top","left","bottom","right"])}function MB(e){return e.state!=="edge"?0:e.style==="dotted"||e.style==="dashed"?1:Math.max(1,Math.round(e.widthPt*8))*fP[e.style]}function BB(e){if(!e)return [0,0,0];let t=Number.parseInt(e.slice(0,2),16),n=Number.parseInt(e.slice(2,4),16),r=Number.parseInt(e.slice(4,6),16);return [t+r+2*n,r+2*n,n]}function LB(e,t,n=true){if(e.state==="omitted")return t.state==="omitted"?yn:t;if(t.state==="omitted")return e;if(e.state==="none")return t.state==="none"?AB:t;if(t.state==="none")return e;let r=MB(e),o=MB(t);if(r>o)return e;if(o>r)return t;let a=fP[e.style],i=fP[t.style];if(a!==i)return a>i?e:t;let l=BB(e.color),s=BB(t.color);for(let d=0;d<l.length;d++){if(l[d]<s[d])return e;if(s[d]<l[d])return t}return n?e:t}function ah(e){if(e.state==="edge")return {style:e.style,color:e.color,widthPt:e.widthPt}}function mY(e,t,n){return n?t==="top"||t==="bottom"?e.insideH:e.insideV:e[t]}function pY(e,t){return e===void 0&&t===void 0?true:!e||!t?false:e.style===t.style&&e.color===t.color&&e.widthPt===t.widthPt}function ih(e){if(e.length===0)return [];let t=[],n={...e[0]};for(let r=1;r<e.length;r+=1){let o=e[r];n.gridEnd===o.gridStart&&pY(n.edge,o.edge)?n={...n,gridEnd:o.gridEnd}:(t.push(n),n={...o});}return t.push(n),t}function lh(e,t,n){let r=e.filter(a=>a.edge!==void 0);if(r.length!==1)return;let o=r[0];if(!(o.gridStart!==t||o.gridEnd!==n))return o.edge}function EB(e,t,n){let r=0,o=Math.min(n,e.length);for(let a=Math.max(0,t);a<o;a+=1)r+=e[a];return r}function gY(e){if(!(!e||e.style!=="double"))return As(e.widthPt)}function hY(e){return e==="dashed"?"dashed":e==="dotted"?"dotted":"solid"}function yY(e,t){return t?e==="outer"?t.insetPt:t.insetPt+t.strokePt+t.gapPt:0}function bY(e,t,n){return n?e==="outer"?t-n.insetPt:t-n.insetPt-n.strokePt-n.gapPt:t}function xY(e,t){return t?e==="outer"?t.insetPt+t.strokePt:t.insetPt+t.extentPt:0}function SY(e,t,n){return n?e==="outer"?t-n.insetPt-n.strokePt:t-n.insetPt-n.extentPt:t}function Qu(e,t){e.length>=dY||!(t.width>0)||!(t.height>0)||e.push(t);}function PY(e,t,n,r,o,a,i,l,s,d,c){let u=As(n.widthPt),{strokePt:f,gapPt:m,extentPt:g,insetPt:p}=u,h=Math.abs(r)<1e-6,y=Math.abs(o-a)<1e-6,b=Math.abs(r)<1e-6,x=Math.abs(o-i)<1e-6;if(t==="top"||t==="bottom"){let S=t==="top"?p:i-p-f,w=t==="top"?p+f+m:i-p-g;for(let I of ["outer","inner"]){let v=r,O=o;h&&(v=yY(I,l)),y&&(O=bY(I,a,s)),Qu(e,{side:t,role:I,color:n.color,cssStyle:"solid",x:v,y:I==="outer"?S:w,width:O-v,height:f});}return}let R=t==="left"?p:a-p-f,P=t==="left"?p+f+m:a-p-g;for(let S of ["outer","inner"]){let w=r,I=o;b&&(w=xY(S,d)),x&&(I=SY(S,i,c)),Qu(e,{side:t,role:S,color:n.color,cssStyle:"solid",x:S==="outer"?R:P,y:w,width:f,height:I-w});}}function RY(e,t,n,r,o,a,i){let l=Math.max(.25,n.widthPt),s=Math.max(.25,l),d=l*3+s*2;if(t==="top"||t==="bottom"){let u=t==="top"?0:i-d;for(let f=0;f<3;f+=1)Qu(e,{side:t,role:f===0?"outer":f===1?"middle":"inner",color:n.color,cssStyle:"solid",x:r,y:u+f*(l+s),width:o-r,height:l});return}let c=t==="left"?0:a-d;for(let u=0;u<3;u+=1)Qu(e,{side:t,role:u===0?"outer":u===1?"middle":"inner",color:n.color,cssStyle:"solid",x:c+u*(l+s),y:r,width:l,height:o-r});}function wY(e,t,n,r,o,a,i,l){let s=t==="top"||t==="bottom",d=n.widthPt,c=s?r:l?t==="right"?a-d/2:-d/2:t==="right"?a:0;Qu(e,{side:t,role:"edge",color:n.color,cssStyle:hY(n.style),x:c,y:s?t==="bottom"?i-(l?0:d):0:r,width:s?o-r:d,height:s?d:o-r});}function sh(e,t){if(e.length===0)return;let n=e[0];return gY(n.edge)}function kY(e,t,n,r,o,a,i,l,s,d,c=false,u=false,f=false){let m=(_,E,N)=>{let A=[];for(let L of E){if(!L.edge)continue;let B,D;N?(B=EB(i,l,L.gridStart),D=EB(i,l,L.gridEnd)):(B=s[L.gridStart-d]??0,D=s[L.gridEnd-d]??a),A.push({side:_,gridStart:L.gridStart,gridEnd:L.gridEnd,startPt:B,endPt:D,edge:L.edge});}return A},g=m("top",e,true),p=m("left",t,false),h=m("bottom",n,true),y=m("right",r,false),b=[...g,...y,...h,...p],x=sh(t),R=sh(r),P=sh(e),S=sh(n),w=(_,E)=>_.length===1&&Math.abs(_[0].startPt)<1e-6&&Math.abs(_[0].endPt-E)<1e-6,I=w(g,o),v=w(p,a),O=w(h,o),T=w(y,a),C=[],F=(_,E,N)=>{for(let A of E){let{edge:L,startPt:B,endPt:D}=A;L.style==="double"?PY(C,_,L,B,D,o,a,_==="top"||_==="bottom"?x:void 0,_==="top"||_==="bottom"?R:void 0,_==="left"||_==="right"?P:void 0,_==="left"||_==="right"?S:void 0):L.style==="triple"?RY(C,_,L,B,D,o,a):(!N||c&&(_==="top"||_==="bottom")||_==="right"||f&&_==="left")&&wY(C,_,L,B,D,o,a,_==="left"||_==="right"?f:c&&_!=="top"&&!(_==="bottom"&&u));}};F("top",g,I),F("left",p,v),F("bottom",h,O),F("right",y,T);let k={};return I&&g[0]&&(k.top=g[0].edge),v&&p[0]&&(k.left=p[0].edge),O&&h[0]&&(k.bottom=h[0].edge),T&&y[0]&&(k.right=y[0].edge),b.length>0&&(k.edgeSegments=b),C.length>0&&(k.strokes=C),k}function jd(e,t,n,r,o,a){let i=e.length,l=e.map(c=>c.map(()=>({})));o&&(o.ownershipSlotsWritten=0,o.columnLookups=0);let s=oh(e,n,o,a),d=(c,u,f)=>zo(c.borders[u],mY(c.rowTableBorders??t,u,f),{});for(let c=0;c<i;c+=1){let u=e[c];for(let f=0;f<u.length;f+=1){let m=u[f];if(m.vMergeContinue){l[c][f]={};continue}let g=m.mergeRowSpan??1,p=c+g-1,h=c===0,y=p===i-1,b=m.gridColumn===0,x=m.gridColumn+m.gridSpan-1,R=x>=n-1,P=[];if(h)for(let E=m.gridColumn;E<=x;E+=1)P.push({gridStart:E,gridEnd:E+1,edge:ah(d(m,"top",false))});let S=[];if(b)for(let E=c;E<=p;E+=1)S.push({gridStart:E,gridEnd:E+1,edge:ah(d(m,"left",false))});let w=[];for(let E=m.gridColumn;E<=x;E+=1){let N;if(y)N=d(m,"bottom",false);else {let A=vi(s,p+1,E,o);A?.cell.vMergeContinue?N=yn:N=LB(d(m,"bottom",true),A?d(A.cell,"top",true):(m.rowTableBorders??t).insideH);}w.push({gridStart:E,gridEnd:E+1,edge:ah(N)});}let I=[];for(let E=c;E<=p;E+=1){let N;if(R)N=d(m,"right",false);else {let A=vi(s,E,x+1,o);N=LB(d(m,"right",true),A?d(A.cell,"left",true):(m.rowTableBorders??t).insideV);}I.push({gridStart:E,gridEnd:E+1,edge:ah(N)});}let v=ih(P),O=ih(S),T=ih(w),C=ih(I);if(!r){let E={},N=lh(v,m.gridColumn,x+1),A=lh(O,c,p+1),L=lh(T,m.gridColumn,x+1),B=lh(C,c,p+1);N&&(E.top=N),A&&(E.left=A),L&&(E.bottom=L),B&&(E.right=B);let D=[],$=(X,W)=>{for(let z of W)z.edge&&D.push({side:X,gridStart:z.gridStart,gridEnd:z.gridEnd,startPt:z.gridStart,endPt:z.gridEnd,edge:z.edge});};$("top",v),$("left",O),$("bottom",T),$("right",C),D.length>0&&(E.edgeSegments=D),l[c][f]=E;continue}let F=r.cellBoxes[c][f],k=[0],_=0;for(let E=c;E<=p;E+=1){let N=r.rowBands[E];_+=N.height,k.push(_);}k.length>1&&(k[k.length-1]=F.height),l[c][f]=kY(v,O,T,C,F.width,F.height,r.columnWidthsPt,m.gridColumn,k,c,r.collapsedHorizontal,y&&F.outerBottomInsetReserved!==false,F.centeredSidePaint??F.centeredSideRules);}}return l}function ef(e){if(!e||"state"in e&&e.state!=="edge")return 0;if(e.style==="double"){let t=As(e.widthPt);return t.insetPt+t.extentPt}if(e.style==="triple"){let t=Math.max(.25,e.widthPt);return t*3+Math.max(.25,t)*2}return e.widthPt}var hP=pP,yP=NB;function Gn(e,t,n=false,r=false,o=false){if(t.state!=="edge")return e;let a=Math.floor(t.widthPt*20+1e-8)/20,i=n&&t.style!=="double"&&t.style!=="triple",l=n||r&&(t.style==="single"||t.style==="thick"),s=n&&o&&t.style==="double"?ef(t)-t.widthPt:ef(t);return Math.max(e+a*(l?.5:1),s*(i?.5:1))}function HB(e){return e.state!=="edge"||e.style!=="double"&&e.style!=="triple"}function Fi(e){if(!e||"state"in e&&e.state!=="edge")return 0;let{style:t,widthPt:n}=e;return t==="double"||t==="triple"?0:Math.floor(n*20+1e-8)/20}function Zt(e,t){return tf(e.margins,e.contentBorders??e.borders,e.legacyContentAlignment===true&&t,t,e.contentBottomIsOuter,e.centeredSideRules,e.topBandClearancePt)}function ch(e,t,n,r=0,o=false){return o?0:e.state==="edge"?Fi(e):t.state==="none"?0:Math.max(Fi(zo(e,n)),r)}function tf(e,t,n=false,r=true,o=false,a=false,i){let l=ef(t.left),s=ef(t.right),d=[t.left,t.right].every(p=>p.state!=="edge"||p.style==="single"||p.style==="thick"),c=n&&d&&(e.left>=l&&e.right>=s||[t.left,t.right].every(p=>p.state!=="edge"||p.style==="single")),u=a&&r||c,f=r&&i!==void 0,m=f&&HB(t.top),g=f&&!o&&HB(t.bottom);return {top:m?e.top+i:Gn(e.top,t.top,r,false,true),right:u?Math.max(e.right,s/2):Gn(e.right,t.right,false,r),bottom:g?e.bottom:Gn(e.bottom,t.bottom,r&&!o),left:u?Math.max(e.left,l/2):Gn(e.left,t.left,false,r)}}function Oi(e,t){let n=0,r=(o,a,i)=>{if(n+=1,n>chunkFIJZIQXA_cjs.Hd||i>chunkFIJZIQXA_cjs.$)return false;if(o===a)return true;if(o.kind==="textValue"||a.kind==="textValue"||o.id!==a.id||o.kind!==a.kind||o.namespaceUri!==chunkFIJZIQXA_cjs.la||a.namespaceUri!==o.namespaceUri||o.localName!==a.localName||o.prefix!==a.prefix||o.attributes!==a.attributes||o.namespaceBindings!==a.namespaceBindings||o.children.length!==a.children.length||["drawing","pict","object"].includes(o.localName))return false;for(let l=0;l<o.children.length;l+=1){let s=o.children[l],d=a.children[l];if(o.localName==="t"&&s.kind==="textValue"&&d.kind==="textValue"&&s.id===d.id){if(n+=1,n>chunkFIJZIQXA_cjs.Hd)return false;continue}if(!r(s,d,i+1))return false}return true};return r(e,t,0)}function uh(e,t){return e.contentWidthPt===t.contentWidthPt&&e.depth===t.depth&&e.styleCascade===t.styleCascade&&e.displayMode===t.displayMode&&e.authorFilter===t.authorFilter&&e.compatibilityMode===t.compatibilityMode&&e.textBox===t.textBox}function TY(){let e=new WeakMap,t=new WeakMap,n=(r,o)=>{let a=t.get(r)??[],i=a.findIndex(l=>uh(l,o));i>=0?a[i]=o:(a.length===4&&a.shift(),a.push(o)),t.set(r,a);};return function(o,a,i){let l=o.kind==="table"?o.children.find(m=>m.localName==="tblPr"):void 0,s=l?void 0:e.get(o)??[],d=(l?t.get(l):s)?.find(m=>m.table===o&&uh(m,a));if(d)return d.structure;let c=l?t.get(l)?.find(m=>uh(m,a)):void 0,u;if(c?.structure&&uh(c,a)&&Oi(c.table,o)){let m=new Map,g=(p,h)=>{if(!(p===h||p.kind==="textValue"||h.kind==="textValue")){if(h.kind==="tableCell"){m.set(h.id,h);return}for(let y=0;y<p.children.length;y++)g(p.children[y],h.children[y]);}};g(c.table,o),u={...c.structure,rows:c.structure.rows.map(p=>p.cells.some(h=>m.has(h.id))?{...p,cells:p.cells.map(h=>{let y=m.get(h.id);return y&&y.kind!=="textValue"?{...h,blocks:zl(y.children,a.displayMode,a.authorFilter)}:h})}:p)};}u??=i();let f={...a,table:o,structure:u};return l?n(l,f):s&&(s.length===4&&s.shift(),s.push(f),e.set(o,s)),u}}var jB=TY();function vY(e,t,n){if(t!=="all-markup"||!e)return;let r=WB(e);if(!r)return;let o=a=>r.attributes.find(i=>i.localName===a&&i.namespaceUri===chunkFIJZIQXA_cjs.la)?.value;if(!(n&&!Us(n,r.id,o("author")??"")))return r.localName==="cellIns"?"inserted":r.localName==="cellDel"?"deleted":o("vMergeOrig")==="cont"&&o("vMerge")!=="cont"?"split":"merged"}function WB(e){let t=e.children.find(n=>n.kind!=="textValue"&&n.namespaceUri===chunkFIJZIQXA_cjs.la&&["cellIns","cellDel","cellMerge"].includes(n.localName));return t?.kind!=="textValue"?t:void 0}function zB(e,t,n,r){let o=vY(e,t,n),a=o??(t==="all-markup"&&r?r.localName==="ins"?"inserted":"deleted":void 0);if(!a)return {};let l=(o&&e?WB(e):r)?.attributes.find(s=>s.localName==="author"&&s.namespaceUri===chunkFIJZIQXA_cjs.la)?.value??"";return {revisionShading:a,revisionShadingAuthor:l}}function fh(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.namespaceUri===chunkFIJZIQXA_cjs.la&&n.localName===t)return n}function Ci(e,t){return e.attributes.find(n=>n.namespaceUri===chunkFIJZIQXA_cjs.la&&n.localName===t)?.value}function bP(e){let t=e?.children.find(r=>r.kind!=="textValue"&&r.localName==="jc");if(!t||t.kind==="textValue")return;let n=t.attributes.find(r=>r.localName==="val")?.value;if(n==="center")return "center";if(n==="right"||n==="end")return "right";if(n==="left"||n==="start")return "left"}var xP=new WeakMap;function Ba(e){let t=xP.get(e);return t||(t={eligible:void 0,listFree:0,ordinary:void 0,keepsWithNext:void 0,breaksPageBefore:void 0},xP.set(e,t)),t}function SP(e,t){return xP.set(t,Ba(e)),t}var mh=new WeakMap;function GB(e,t){let n=mh.get(e);if(n?.columns===t)return n.value;let o=(()=>{let a,i=false;for(let l of e){let s=0;for(let d of l.cells){if(d.gridColumn!==s)return false;if(s+=d.gridSpan,d.vMergeContinue)continue;let c=d.contentBorders??d.borders;for(let u of [c.left,c.right]){if(u.state!=="edge"){i=true;continue}if(u.style!=="single"&&u.style!=="thick"||u.widthPt<=0||a!==void 0&&u.widthPt!==a)return false;a=u.widthPt;}}if(s!==t)return false}return i&&a!==void 0})();return mh.set(e,{columns:t,value:o}),o}function KB(e,t){let n=mh.get(e);n&&mh.set(t,n);}var UB=new WeakMap,YB=new WeakMap,XB=new WeakMap,ZB=new WeakMap;function qB(e,t){let n=t?XB:ZB,r=n.get(e);return r||(r=tf(e.margins,e.contentBorders??e.borders,false,t,e.contentBottomIsOuter,false,e.topBandClearancePt),n.set(e,r)),r}function JB(e,t){if(t.centeredSideRules||t.legacyContentAlignment||e.margins!==t.margins||e.borders!==t.borders||e.contentBorders!==t.contentBorders||e.contentBottomIsOuter!==t.contentBottomIsOuter||e.topBandClearancePt!==t.topBandClearancePt)return;let n=XB.get(e),r=ZB.get(e);n&&UB.set(t,n),r&&YB.set(t,r);}var $B=new WeakMap;function QB(e,t){let n=$B.get(e);if(n?.tableBottom===t)return n.value;let r=Gn(e.margins.bottom,zo(e.borders.bottom,t));return $B.set(e,{tableBottom:t,value:r}),r}function fo(e,t){let n=t?UB:YB,r=n.get(e);return r||n.set(e,r=Zt(e,t)),r}var ph=["single","thick"];function eL(e){return e.state==="edge"&&!ph.includes(e.style)}function tL(e){return e.state==="edge"&&ph.includes(e.style)&&e.widthPt>0?e.widthPt:void 0}var nL=["dxa","auto"];function FY(e,t=false){let{left:n,right:r}=e.contentBorders??e.borders;if(t&&(eL(n)||eL(r)))return false;let o=n.state==="edge"&&ph.includes(n.style),a=r.state==="edge"&&ph.includes(r.style);return !(!o&&!a||o&&a&&n.widthPt!==r.widthPt)}function rL(e,t,n=false){let r=e.map(o=>SP(o,oL(o,{...o,cells:o.cells.map(a=>FY(a,n)?t(a):a)})));return aL(e,r)}function OY(e,t=false){return rL(e,n=>({...n,centeredSidePaint:true}),t)}function wP(e,t=false){return rL(e,n=>({...n,centeredSideRules:true}),t)}var gh=new WeakMap,nf=new WeakMap;function oL(e,t){let n=gh.get(e);return n&&gh.set(t,n),t}function aL(e,t){KB(e,t);let n=nf.get(e);return n&&nf.set(t,n),t}function CY(e,t){let n=gh.get(e);if(n?.columns===t)return n.value;let o=(()=>{let a=e.cells[0],i=e.cells.at(-1);if(!a||!i||a.gridColumn!==0||i.gridColumn+i.gridSpan!==t)return null;let l;for(let s of e.cells){if(s.vMergeContinue)continue;let{left:d,right:c}=s.contentBorders??s.borders,u=tL(d);if(u===void 0||l!==void 0&&u!==l||tL(c)!==u)return null;l=u;}return l})();return gh.set(e,{columns:t,value:o}),o}function iL(e,t){let n=nf.get(e);if(n?.columns===t)return n.value;let r;for(let o of e){let a=CY(o,t);if(a===null||a!==void 0&&r!==void 0&&a!==r){nf.set(e,{columns:t,value:void 0});return}a!==void 0&&(r=a);}return nf.set(e,{columns:t,value:r}),r}function IY(e,t){if(!Le(t.compatibilityMode,"modernGridLineSideRules")||!nL.includes(t.widthType)||t.alignment==="center")return;let n=iL(e,t.columnWidthsPt.length);if(n===void 0)return;let r=0;for(let i of t.columnWidthsPt)r+=i;let o=t.alignment==="left";if(!(!((o?t.indentPt:0)+r+n<=t.containerWidthPt+1e-6)&&!(o&&t.layoutFixed)))return o?n/2:-n/2}function PP(e,t){let{compatibilityMode:n}=t;if(t.depth!==0||t.bidiVisual||t.floating||t.cellSpacingPt!==0)return null;let r=Le(n,"legacySharedGridLineSideRules"),o=Le(n,"modernGridLineSideRules")&&nL.includes(t.widthType),a=o&&t.alignment==="center",i=r?void 0:IY(e,t),l=o&&!a&&i===void 0&&iL(e,t.columnWidthsPt.length)===void 0&&GB(e,t.columnWidthsPt.length);return !r&&!a&&!l&&i===void 0?null:{legacyMode:r,modernGridWidth:o,outerRuleOffsetPt:i}}var RP=new WeakMap;function lL(e){let t=RP.get(e);if(t)return t;let n=false,r=e.cells.map(a=>{if(!a.centeredSideRules&&!a.centeredSidePaint)return a;n=true;let{centeredSideRules:i,centeredSidePaint:l,...s}=a;return JB(a,s),s}),o=n?SP(e,oL(e,{...e,cells:r})):e;return RP.set(e,o),o}function sL(e,t,n){let r=RP.get(e);if(r)return r;if(e.cells.every(o=>!o.legacyContentAlignment&&!o.vMergeContinue&&o.gridColumn>=0&&o.gridColumn<t&&o.textDirection==="horizontal"&&(o.gridSpan===1||n)))return lL(e)}function dL(e,t,n){let r=PP(e,t),o={...t,columnWidthsPt:n},a=PP(e,o);return r===a||r&&a&&r.legacyMode===a.legacyMode&&r.modernGridWidth===a.modernGridWidth&&r.outerRuleOffsetPt===a.outerRuleOffsetPt?{rows:e,...a?.outerRuleOffsetPt===void 0?{}:{outerRuleOffsetPt:a.outerRuleOffsetPt}}:kP(aL(e,e.map(lL)),o)}function kP(e,t){let n=PP(e,t);if(!n)return {rows:e};let{legacyMode:r,modernGridWidth:o,outerRuleOffsetPt:a}=n,i=OY(e,!r),l=t.widthType==="dxa"||o?wP(i,!r):i;return a===void 0?{rows:l}:{rows:l,outerRuleOffsetPt:a}}var uL=31680/20,mo=Object.freeze({type:"auto",value:0}),MY=100,fL=32767;function hh(e){let t=e%65536;return t>0&&t<=fL?t:void 0}var BY=1/50,mL=/^[+-]?\d{0,9}(?:\.\d{0,32})?$/;function LY(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function rf(e,t){return e.attributes.find(n=>n.localName===t)?.value}function pL(e){let t=/^(\d{1,7}(?:\.\d{1,4})?)%$/.exec(e);if(t){let r=Number(t[1]);return Number.isFinite(r)?{kind:"percent",percent:r}:null}let n=chunkFIJZIQXA_cjs.nd(e);return n!==null&&n>=0?{kind:"length",pt:n/20}:null}function Wd(e,t=false){if(!e)return mo;let n=rf(e,"type");if(n!==void 0&&n!=="pct"&&n!=="dxa")return n==="nil"?{type:"nil",value:0}:mo;let r=rf(e,"w");if(r===void 0)return mo;let o=pL(r);if(!o)return mo;let a=mL.test(r);if(o.kind==="percent"||a&&n==="pct"){let i=o.kind==="percent"?o.percent:o.pt*20/50;if(!Number.isFinite(i)||i<=0)return mo;if(!t)return {type:"pct",value:Math.min(i,MY)};if(o.kind==="percent")return {type:"pct",value:i*50<=fL+1e-6?i:BY};let l=hh(i*50);return l===void 0?mo:{type:"pct",value:l/50}}return !Number.isFinite(o.pt)||o.pt<=0?mo:{type:"dxa",value:Math.min(o.pt,uL)}}function vP(e){return Wd(e,true)}function FP(e,t){if(!e)return;let n=Wd(e);if(n.type==="dxa")return Math.min(n.value,t)}function of(e,t){if(!e)return;let n=rf(e,"type");if(n!==void 0&&n!=="dxa"&&n!=="pct")return;let r=rf(e,"w");if(r===void 0||n==="pct"&&mL.test(r))return;let o=chunkFIJZIQXA_cjs.nd(r);if(o===null)return;let a=o/20;return Math.max(-t,Math.min(a,t))+0}function gL(e){let t=LY(e,"tblGrid");if(!t)return [];let n=[];for(let r of t.children)if(r.kind!=="textValue"&&r.localName==="gridCol"&&(n.push(r),n.length>=1024))break;return n}function EY(e){let t=[];for(let n of e){let r=rf(n,"w"),o=r===void 0?null:pL(r);if(!o||o.kind!=="length"||!Number.isFinite(o.pt)||o.pt<=0){t.push(void 0);continue}t.push(o.pt>uL?void 0:o.pt);}return t}function AY(e,t){if(t.length===0||t.some(r=>r.span!==1||r.preferred.type!=="dxa"||!Number.isFinite(r.preferred.value)||r.preferred.value<=0))return e;let n=e.map(()=>{});for(let r of t)r.start<0||r.start>=e.length||(n[r.start]=Math.max(n[r.start]??0,r.preferred.value));return e.map((r,o)=>n[o]??r)}var TP=1,cL=.001;function NY(e,t,n,r){let o=r>0,a=[];for(let l=0;l<n;l+=1)a.push(e[l]);let i=t.filter(l=>l.start<n&&(l.preferred.type==="dxa"||l.preferred.type==="pct"&&r>0)).sort((l,s)=>l.span-s.span);for(let l of i){let s=Math.min(l.start+l.span,n);if(s<=l.start)continue;let d=l.preferred.type==="pct"?r*l.preferred.value/100:l.preferred.value;if(!Number.isFinite(d)||d<=0)continue;if(s-l.start===1){if(o&&l.preferred.type==="dxa"&&e[l.start]!==void 0)continue;let m=a[l.start];a[l.start]=m===void 0?d:Math.max(m,d);continue}let c=[],u=d;for(let m=l.start;m<s;m+=1){let g=a[m];g===void 0?c.push(m):u-=g;}if(c.length===0||u<=0)continue;let f=u/c.length;for(let m of c)a[m]=f;}return a}function hL(e){let{columnCount:t,tableWidth:n}=e,r=Number.isFinite(e.contentWidthPt)&&e.contentWidthPt>0,o=r?e.contentWidthPt:TP,a=n.type==="dxa"?n.value:n.type==="pct"?o*n.value/100:0,i=EY(e.gridCols),l=e.layoutFixed&&!e.hasOmittedRows&&a<=0?AY(i,e.claims):i,s=NY(l,e.claims,t,a),d=0,c=0;for(let b of s)b===void 0?c+=1:d+=b;let u=[];if(c>0){let b=d>0?d/Math.max(t-c,1):o/t,x=Math.max(o-d,0)/c,R=Math.max(Math.min(x,b),TP);for(let P of s)u.push(P??R);}else for(let b of s)u.push(b);let f=u.reduce((b,x)=>b+x,0);if(!Number.isFinite(f)||f<=0)return new Array(t).fill(o/t);let m=t*TP,g=e.layoutFixed||!r?Number.POSITIVE_INFINITY:o,p=Math.max(a>0?a:Math.min(f,g),m),h=n.type==="pct"&&a>0;if(f<=p+cL&&!h||Math.abs(f-p)<=cL)return u;let y=p/f;return u.map(b=>b*y)}function Vd(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function zd(e,t){return e.attributes.find(n=>n.localName===t)?.value}function yL(e){let t=e&&Vd(e,"gridSpan"),n=t&&zd(t,"val");if(!n||!/^\d{1,7}$/.test(n))return 1;let r=Number(n);return Number.isInteger(r)&&r>1?Math.min(r,1024):1}function OP(e,t){let n=e&&Vd(e,t),r=n&&zd(n,"val");if(!r||!/^\d{1,7}$/.test(r))return 0;let o=Number(r);return Number.isInteger(o)&&o>0?Math.min(o,1024):0}function bL(e){let t=e&&Vd(e,"vMerge");return t?zd(t,"val")==="restart"?"restart":"continue":"none"}function CP(e){return eT(e&&Vd(e,"shd"))}function bh(e,t){let n=e&&Vd(e,t);if(!n)return false;let r=zd(n,"val");return r===void 0||r!=="0"&&r!=="false"&&r!=="off"}var yh=Object.freeze({rule:"auto"});function xL(e){let t=e&&Vd(e,"trHeight");if(!t)return yh;let n=zd(t,"hRule"),r=n==="auto"||n==="exact"||n==="atLeast"?n:void 0;if(r==="auto")return yh;let o=zd(t,"val"),a=chunkFIJZIQXA_cjs.nd(o);if(a===null||a<=0)return yh;let i=Math.min(a/20,SL);return i>0?{rule:r==="exact"?"exact":"atLeast",valuePt:i}:yh}function DY(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function po(e,t){return e.attributes.find(n=>n.localName===t)?.value}var PL=31680/20;function RL(e){if(e==="page")return "page";if(e==="margin")return "margin";if(e==="text")return "text"}function Gd(e,t=false){let n=chunkFIJZIQXA_cjs.nd(e);if(n===null)return;let r=(n-(t?1:0))/20;return Math.max(-PL,Math.min(PL,r))}function Kl(e){let t=e&&DY(e,"tblpPr");if(!t)return;let n=po(t,"tblpXSpec"),r=n==="left"||n==="center"||n==="right"||n==="inside"||n==="outside"?n:void 0,o=po(t,"tblpYSpec"),a=o==="inline"||o==="top"||o==="center"||o==="bottom"||o==="inside"||o==="outside"?o:void 0;return {horzAnchor:RL(po(t,"horzAnchor"))??"text",vertAnchor:RL(po(t,"vertAnchor"))??"text",...r?{xSpec:r}:{},xPt:Gd(po(t,"tblpX"),true)??0,...a?{ySpec:a}:{},yPt:Gd(po(t,"tblpY"),true)??0,...["topFromText","rightFromText","bottomFromText","leftFromText"].some(i=>po(t,i)!==void 0)?{distances:{top:Math.max(0,Gd(po(t,"topFromText"))??0),right:Math.max(0,Gd(po(t,"rightFromText"))??0),bottom:Math.max(0,Gd(po(t,"bottomFromText"))??0),left:Math.max(0,Gd(po(t,"leftFromText"))??0)}}:{}}}function Kd(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function _Y(e,t){return e.attributes.find(n=>n.localName===t)?.value}var HY=3,wL=108/20,af=31680/20,jY={top:0,right:wL,bottom:0,left:wL};function xh(e){if(!e)return;let t=_Y(e,"w"),n=chunkFIJZIQXA_cjs.nd(t);if(n===null||n<0)return;let r=n/20;return r>af?af:r}function Sh(e){if(!e)return {};let t=xh(Kd(e,"top")),n=xh(Kd(e,"left")??Kd(e,"start")),r=xh(Kd(e,"bottom")),o=xh(Kd(e,"right")??Kd(e,"end"));return {...t===void 0?{}:{top:t},...n===void 0?{}:{left:n},...r===void 0?{}:{bottom:r},...o===void 0?{}:{right:o}}}function Ph(e,t){return {top:t.top??e.top,right:t.right??e.right,bottom:t.bottom??e.bottom,left:t.left??e.left}}function kL(e){let t;for(let r of e?.children??[])if(r.kind!=="textValue"&&r.localName==="vAlign"){t=r;break}let n=t?.attributes.find(r=>r.localName==="val")?.value;return n==="center"?"center":n==="bottom"?"bottom":"top"}function TL(e,t){if(e){for(let n of e.children)if(n.kind!=="textValue"&&n.namespaceUri===chunkFIJZIQXA_cjs.la&&n.localName===t)return n}}function IP(e){let t=TL(e,"tblHeader");if(!t)return;let n=t.attributes.find(r=>r.namespaceUri===chunkFIJZIQXA_cjs.la&&r.localName==="val")?.value;return n===void 0||n!=="0"&&n!=="false"&&n!=="off"}function vL(e,t,n){let r=false;for(let o of e.tableRowPropertyNodes)r=IP(o)??r;for(let o of t)r=IP(TL(e.conditional.get(o),"trPr"))??r;return IP(n)??r}function MP(e,t){if(e){for(let n of e.children)if(n.kind!=="textValue"&&n.namespaceUri===chunkFIJZIQXA_cjs.la&&n.localName===t)return n}}function Rh(e){if(e?.namespaceUri!==chunkFIJZIQXA_cjs.la)return;let t=MP(e,"hideMark");if(!t)return;let n=t.attributes.find(r=>r.namespaceUri===chunkFIJZIQXA_cjs.la&&r.localName==="val")?.value;return n===void 0||!["0","false","off"].includes(n)}function FL(e,t,n){let r=false;for(let o of e.tableCellPropertyNodes??[])r=Rh(o)??r;for(let o of t){let a=e.conditionalStyleLayers?.get(o);if(a)for(let i of a)r=Rh(MP(i,"tcPr"))??r;else r=Rh(MP(e.conditional.get(o),"tcPr"))??r;}return Rh(n)??r}function WY(e){if(e.namespaceUri!==chunkFIJZIQXA_cjs.la)return false;let t=new Set;for(let n of e.children){if(n.kind==="textValue")continue;let r=n.localName==="start"?"left":n.localName==="end"?"right":n.localName;if(n.namespaceUri!==chunkFIJZIQXA_cjs.la||!["top","left","bottom","right"].includes(r)||t.has(r))return false;t.add(r);let o=n.attributes.filter(l=>l.localName==="w"),a=n.attributes.filter(l=>l.localName==="type"),i=o.length===1?chunkFIJZIQXA_cjs.nd(o[0].value):null;if(i===null||o[0].namespaceUri!==chunkFIJZIQXA_cjs.la||i<0||i>31680||a.length>1||a.length===1&&(a[0].namespaceUri!==chunkFIJZIQXA_cjs.la||a[0].value!=="dxa"))return false}return true}function wh(e,t){let n=[e,...t];for(;n.length>0;){let r=n.pop();for(let o of r.children)if(!(o.kind==="textValue"||o.kind==="paragraph"||o.kind==="table"))if(o.localName==="tblCellMar"||o.localName==="tcMar"){if(!WY(o))return false}else n.push(o);}return true}function BP(e){let t=[...e.children],n=0;for(;t.length>0;){if(++n>1e5)return true;let r=t.pop();if(!(r.kind==="textValue"||r.kind==="paragraph"||r.kind==="table")){if(r.localName==="tblPrEx"&&r.children.some(o=>o.kind!=="textValue"&&["tblW","jc","tblCellSpacing","tblInd","tblBorders","tblLayout","tblCellMar"].includes(o.localName)))return true;if(r.localName==="gridBefore"||r.localName==="gridAfter"){let o=r.attributes.find(a=>a.localName==="val");if(r.namespaceUri!==chunkFIJZIQXA_cjs.la||o?.namespaceUri!==chunkFIJZIQXA_cjs.la||o.value!=="0")return true}for(let o of r.children)t.push(o);}}return false}function OL(e,t,n,r){if(!Le(r.compatibilityMode,"fixedTableContentEdgeOrigin")||r.depth!==0||r.bidiVisual||r.floating||r.cellSpacingPt!==0||!r.layoutFixed||r.alignment!=="left"||!["auto","dxa"].includes(r.widthType)||!wh(e,t)||BP(e))return;let o=e.children.find(i=>i.kind!=="textValue"&&i.localName==="tblPr");for(let i of o&&o.kind!=="textValue"?[...t,o]:t)for(let l of i.children){if(l.kind==="textValue"||l.localName!=="tblInd")continue;let s=l.attributes.filter(c=>c.localName==="type"),d=l.attributes.filter(c=>c.localName==="w");if(l.namespaceUri!==chunkFIJZIQXA_cjs.la||s.length>1||d.length!==1||d[0].namespaceUri!==chunkFIJZIQXA_cjs.la||s[0]&&(s[0].namespaceUri!==chunkFIJZIQXA_cjs.la||s[0].value!=="dxa")||of(l,31680/20)===void 0)return}let a=n[0]?.cells[0]?.margins.left;if(!(a===void 0||!Number.isFinite(a)||a<0)){for(let i of n){let l=i.cells[0],s=i.cells.at(-1);if(!l||!s||l.gridColumn!==0||l.margins.left!==a||s.gridColumn+s.gridSpan!==r.columnWidthsPt.length)return;for(let d of i.cells){if(d.vMergeContinue)continue;let c=d.contentBorders??d.borders;if(c.left.state==="edge"&&c.right.state==="edge"&&c.left.widthPt!==c.right.widthPt)return;for(let u of ["left","right"]){let f=c[u],m=d.margins[u];if(!Number.isFinite(m)||m<0||f.state==="edge"&&(!["single","thick"].includes(f.style)||m<f.widthPt/2))return}}}return -a}}var kh=31680/20,CL=.001;function IL(e,t,n){let r=n/1e4+.025;return e.map(o=>{if(o.span!==1||o.preferred.type!=="pct")return o;let a=o.preferred.value*50;if(Math.abs(a-Math.round(a))>1e-8)return o;let i=chunkFIJZIQXA_cjs.nd(La(t[o.start],"w"));if(i===null||i<0)return o;let l=i/20,s=n*o.preferred.value/100-l;return s>0&&s<=r+CL?{...o,preferred:{type:"dxa",value:l}}:o})}function Ea(e,t){let n;for(let r of e.children)if(!(r.kind==="textValue"||r.localName!==t)){if(n||r.namespaceUri!==chunkFIJZIQXA_cjs.la)return;n=r;}return n}function La(e,t){let n=e?.attributes.filter(r=>r.localName===t);return n?.length===1&&n[0].namespaceUri===chunkFIJZIQXA_cjs.la?n[0].value:void 0}var zY=.75;function ML(e,t){return t.type==="pct"?{widthPt:e.widthPt+zY,gridConfirmed:false,trailingOuterEdge:true}:{...e,trailingOuterEdge:true}}function BL(e){let{compatibilityMode:t,contentWidthPt:n,table:r,rows:o,columnCount:a}=e;if(!Le(t,"legacyPercentTableContentWidth")||e.depth!==0||e.floating||e.cellSpacingPt!==0||e.tableWidth.type!=="auto"&&(e.tableWidth.type!=="pct"||e.tableWidth.value<=0)||!Number.isFinite(n)||n<=0||n>kh||a<1||a>1024)return;let i=Ea(r,"tblPr");if(!i)return;let l=Ea(i,"tblW"),s=La(l,"w");if(!(e.tableWidth.type==="auto"&&(!l||La(l,"type")==="auto"||La(l,"type")==="pct"&&/^\d{1,9}$/.test(s??"")&&hh(Number(s))===void 0))&&(La(l,"type")!=="pct"||s===void 0||(!/^\d{1,9}$/.test(s)||hh(Number(s))===void 0)&&!/^\d{1,7}(?:\.\d{1,4})?%$/.test(s)))return;for(let y of [...e.propertyNodes,i])for(let b of y.children)if(b.kind!=="textValue"&&(["jc","tblCellSpacing"].includes(b.localName)&&b.namespaceUri!==chunkFIJZIQXA_cjs.la||b.localName==="tblpPr"||b.localName==="jc"&&!["left","start","center","right","end"].includes(La(b,"val")??"")||b.localName==="tblCellSpacing"&&(La(b,"type")!=="dxa"||La(b,"w")!=="0")))return;let c=o[0]?.cells[0],u=o[0]?.cells.at(-1);if(!c||!u||!wh(r,e.propertyNodes)||BP(r)||!LL([i,...e.propertyNodes]))return;let f=c.margins.left,m=u.margins.right,g=Math.max(f,(e.outerRulesPt?.left??0)/2),p=Math.max(m,(e.outerRulesPt?.right??0)/2),h=n+g+p;if(!(!Number.isFinite(h)||f<0||m<0||g+p<=0||h>kh)){for(let y of o){let b=y.cells[0],x=y.cells.at(-1);if(!b||!x||b.gridColumn!==0||x.gridColumn+x.gridSpan!==a||b.margins.left!==f||x.margins.right!==m)return}return {widthPt:h,gridConfirmed:VY(r,a,h,e)}}}function LL(e){let t=false,n=false;for(let r of e){let o=Ea(r,"tblCellMar");o&&(t||=!!(Ea(o,"left")??Ea(o,"start")),n||=!!(Ea(o,"right")??Ea(o,"end")));}return t&&n}function VY(e,t,n,r){let o=Ea(e,"tblGrid");if(!o)return false;let a=0,i=0;for(let l of o.children){if(l.kind==="textValue")continue;if(l.localName!=="gridCol"||l.namespaceUri!==chunkFIJZIQXA_cjs.la)return false;let s=chunkFIJZIQXA_cjs.nd(La(l,"w"));if(s===null||s<0)return false;let d=s/20;if(d<1||d>kh||++a>1024)return false;i+=d;}return a===t&&Math.abs(i-n*r.tableWidth.value/100)<=.025+CL}function EL(e){let{contentWidthPt:t,rows:n}=e;if(!Le(e.compatibilityMode,"legacyPercentTableContentWidth")||e.depth===0||e.layoutFixed||e.tableWidth.type!=="auto"||e.cellSpacingPt!==0||!Number.isFinite(t)||t<=0)return;let r=Ea(e.table,"tblPr");if(!r||!LL([r,...e.propertyNodes]))return;let o=n[0]?.cells[0]?.margins.left??0,a=n[0]?.cells.at(-1)?.margins.right??0,i=t+o+a;return o>=0&&a>=0&&Number.isFinite(i)&&i<=kh?i:void 0}function AL(e){return e.state!=="edge"||e.style!=="single"&&e.style!=="thick"?0:Number.isFinite(e.widthPt)&&e.widthPt>0?e.widthPt:0}function LP(e,t,n){let r=t[0]?.cells??[],o=n?r.at(-1)?.borders.right:r[0]?.borders.left,a=n?r[0]?.borders.left:r.at(-1)?.borders.right,i=n?e.right:e.left,l=n?e.left:e.right,s=!o||o.state==="omitted"?i:o,d=!a||a.state==="omitted"?l:a;return {left:AL(s),right:AL(d)}}function GY(e,t,n,r,o=false){if(e.type!=="pct"||e.value===100||!(t>0))return e;let a=LP(n,r,o),i=(a.left+a.right)/2;return !(i>0)||i>=t?e:{type:"pct",value:(e.value/100*(t-i)+i)/t*100}}function NL(e){let{depth:t,tableWidth:n,contentWidthPt:r,rows:o}=e,a=BL({...e,...e.bidiVisual?{}:{outerRulesPt:LP(e.tableBorders,o,false)}}),i=a&&e.textBox&&!e.bidiVisual?ML(a,n):a,l=i===void 0&&(t>0||!Le(e.compatibilityMode,"legacyPercentTableContentWidth"))?GY(n,r,e.tableBorders,o,e.bidiVisual):n,s=e.alignment==="left"&&!e.bidiVisual,d=i&&s&&!e.indentStated&&e.propertyNodes.length===0?o[0]?.cells[0]?.margins.left??0:e.indentPt,c=n.type==="auto"&&!e.layoutFixed&&t===0&&!e.floating&&e.alignment==="left"?Math.max(0,d):0,u=i?void 0:EL(e),f=e.bidiVisual&&t===0&&!e.textBox&&!e.floating&&e.cellSpacingPt===0&&Le(e.compatibilityMode,"modernBidiTableRuleShift")?LP(e.tableBorders,o,true):void 0,m=f?-(f.left+f.right)/4:0;return {...m<0?{bidiRuleShiftPt:m}:{},legacy:i,tableWidth:l,contentWidthPt:u??(i?.widthPt??r)-c,claims:i?.gridConfirmed?IL(e.claims,e.gridCols,i.widthPt*n.value/100):e.claims,indentPt:d}}function HL(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function AP(e,t){return e.attributes.find(n=>n.localName===t)?.value}var KY=Object.freeze({firstRow:false,lastRow:false,firstColumn:false,lastColumn:false,rowBanding:true,columnBanding:true});function Aa(e,t){let n=AP(e,t);if(n!==void 0)return n!=="0"&&n!=="false"&&n!=="off"}function jL(e){let t=e&&HL(e,"tblLook");if(!t)return KY;let n=AP(t,"val"),r=n&&/^[0-9A-Fa-f]{1,4}$/.test(n)?Number.parseInt(n,16):0;return {firstRow:Aa(t,"firstRow")??(r&32)!==0,lastRow:Aa(t,"lastRow")??(r&64)!==0,firstColumn:Aa(t,"firstColumn")??(r&128)!==0,lastColumn:Aa(t,"lastColumn")??(r&256)!==0,rowBanding:Aa(t,"noHBand")===void 0?(r&512)===0:!Aa(t,"noHBand"),columnBanding:Aa(t,"noVBand")===void 0?(r&1024)===0:!Aa(t,"noVBand")}}var EP=["firstRow","lastRow","firstCol","lastCol","band1Vert","band2Vert","band1Horz","band2Horz","nwCell","neCell","swCell","seCell"],DL=["firstRow","lastRow","firstColumn","lastColumn","oddVBand","evenVBand","oddHBand","evenHBand","firstRowFirstColumn","firstRowLastColumn","lastRowFirstColumn","lastRowLastColumn"];function _L(e,t){let n=e&&HL(e,"cnfStyle");if(!n)return;let r=AP(n,"val");if(r&&/^[01]{1,12}$/.test(r))for(let o=0;o<r.length&&o<EP.length;o+=1)r[o]==="1"&&t.add(EP[o]);for(let o=0;o<DL.length;o+=1)Aa(n,DL[o])===true&&t.add(EP[o]);}var $Y=["band1Vert","band2Vert","band1Horz","band2Horz","firstCol","lastCol","firstRow","lastRow","nwCell","neCell","swCell","seCell"];function NP(e){let t=new Set;_L(e.rowProperties,t),_L(e.cellProperties,t);let{look:n,rowIndex:r,rowCount:o,gridColumn:a,gridSpan:i,columnCount:l}=e,s=t.has("firstRow")||n.firstRow&&r===0,d=t.has("lastRow")||n.lastRow&&r===o-1,c=t.has("firstCol")||n.firstColumn&&a===0,u=t.has("lastCol")||n.lastColumn&&a+i>=l;if(!(t.has("band1Vert")||t.has("band2Vert"))&&n.columnBanding&&!c&&!u){let p=a-(n.firstColumn?1:0);t.add(p%2===0?"band1Vert":"band2Vert");}if(!(t.has("band1Horz")||t.has("band2Horz"))&&n.rowBanding&&!s&&!d){let p=r-(n.firstRow?1:0);t.add(p%2===0?"band1Horz":"band2Horz");}c&&t.add("firstCol"),u&&t.add("lastCol"),s&&t.add("firstRow"),d&&t.add("lastRow"),s&&c&&t.add("nwCell"),s&&u&&t.add("neCell"),d&&c&&t.add("swCell"),d&&u&&t.add("seCell");let g=[];for(let p of $Y)t.has(p)&&g.push(p);return g}var DP=new WeakMap,WL=new WeakMap;function zL(e,t,n,r,o,a=false){let i=e?DP.get(e):void 0,l=_P(e,n||a,r,o),s=l?i.scope:{};return DP.set(t,{measurer:r.measurer,passToken:r.passToken,fieldToken:o,scope:s}),WL.set(r,s),n&&l}function lf(e){return WL.get(e)}function _P(e,t,n,r){let o=e?DP.get(e):void 0;return !!(t&&o&&o.measurer===n.measurer&&o.passToken===n.passToken&&o.fieldToken===r)}function UY(e,t){let n=t.paragraphToken,r="";for(let o of e.blocks)r+=n?`${n(o)}\0`:`${$d(t.listItems?.get(o.id))}\0`;return r}var VL=new WeakMap;function GL(e,t,n,r,o){let a=lf(n);if(!a||e.blocks.some(c=>c.kind==="table"))return o();let i=VL.get(e),l=r.authorFilter?.cacheKey??"",s=UY(e,n);if(i?.scope===a&&i.lists===s&&i.cascade===r.styleCascade&&i.mode===r.displayMode&&i.authors===l&&i.collapsed===t)return i.value;let d=o();return VL.set(e,{scope:a,cascade:r.styleCascade,mode:r.displayMode,authors:l,collapsed:t,lists:s,value:d}),d}function KL(e,t,n,r){if(!e.centeredSideRules&&!e.legacyContentAlignment)return n;let o=r&&!r.legacyContentAlignment&&!r.centeredSideRules?fo(r,t):qB(e,t);return {left:Math.max(n.left,o.left),right:Math.max(n.right,o.right)}}function sf(e){return Number.isFinite(e)&&e>0?2*e:0}function $L(e,t){if(!Number.isFinite(t)||t<=0||e.length===0)return null;let n=sf(t),r=[0];for(let i of e)r.push(r.at(-1)+i);let o=Th(e,t),a=i=>r[Math.max(0,Math.min(i,e.length))];return {gapPt:n,cellLeft:i=>n*(i+1)+a(i)*o,cellWidth:(i,l)=>(a(i+l)-a(i))*o+n*Math.max(0,l-1)}}function Th(e,t){if(!Number.isFinite(t)||t<=0||e.length===0)return 1;let n=0;for(let r of e)n+=r;return n<=0?1:Math.max(0,n-(e.length+1)*sf(t))/n}function vh(e){return (e.columnWidthsPt.length+1)*sf(e.cellSpacingPt)}function df(e){let t=Th(e.columnWidthsPt,e.cellSpacingPt);return t===1?e.columnWidthsPt:e.columnWidthsPt.map(n=>n*t)}function HP(e,t){let n=0;for(let o of e)n+=o;if(n<=0)return e.map(()=>t/Math.max(e.length,1));let r=(n+t)/n;return e.map(o=>o*r)}function Ud(e,t,n,r){if(r.length===0)return t;let o=[...t];for(let a of [...r].sort((i,l)=>i.count-l.count)){let i=[];for(let c=a.from;c<a.from+a.count&&c<o.length;c++)i.push(c);if(i.length<2)continue;let l=0;for(let c of i)l+=Math.max(e[c],o[c]);if(a.minimum<=l+.01)continue;let s=c=>Math.max(e[c],o[c])+Math.max(n[c],o[c]),d=new Set;for(;;){let c=a.minimum,u=0;for(let g of i)d.has(g)?c-=o[g]:u+=s(g);let f=g=>u>0?c*s(g)/u:c/(i.length-d.size),m=i.filter(g=>!d.has(g)&&f(g)<o[g]-.01);if(m.length>0&&d.size+m.length<i.length){for(let g of m)d.add(g);continue}for(let g of i)d.has(g)||(o[g]=Math.max(o[g],f(g)));break}}return o}function jP(e,t,n,r,o,a,i=0){let l=e.length,s=new Array(l),d=0,c=0,u=0,f=0;for(let R=0;R<l;R++){let P=Math.max(n[R],1);t[R]?(u+=Math.max(r[R],P),f+=P):(d+=Math.max(e[R],P),c+=P);}let m=o??Math.min(d+u,a);if(d+u<=m+.01){let R=m-d-u;for(let P=0;P<l;P++){let S=Math.max(n[P],1);if(!t[P]){s[P]=Math.max(e[P],S);continue}let w=Math.max(r[P],S);s[P]=u>0?w+R*w/u:w;}return s}if(c+u<=m+.01){let R=d+u-m,P=0;for(let S=0;S<l;S++){if(t[S])continue;let w=Math.max(n[S],1);P+=Math.max(e[S],w)-w;}for(let S=0;S<l;S++){let w=Math.max(n[S],1);if(t[S]){s[S]=Math.max(r[S],w);continue}let I=Math.max(e[S],w);s[S]=P>0?I-R*(I-w)/P:I;}return s}let g=m-c;if(g>=f-.01){let R=u>f?(g-f)/(u-f):0;for(let P=0;P<l;P++){let S=Math.max(n[P],1);s[P]=t[P]?S+(Math.max(r[P],S)-S)*R:S;}return s}let p=n.map(R=>Math.max(R,1)),h=p.reduce((R,P)=>R+P,0),y=Math.max(m,a,i);if(!Number.isFinite(y)||h<=y)return p;let b=l*1,x=Math.max(0,y-b)/Math.max(h-b,.01);return p.map(R=>1+(R-1)*x)}function WP(e,t,n,r,o){let a=t.map(p=>Math.max(p,1)),i=e.map((p,h)=>Math.max(p,a[h])),l=i.reduce((p,h)=>p+h,0);if(!Number.isFinite(l)||!Number.isFinite(n)||n<0)return i;if(l<n-.01)return o?i.map(p=>p*n/l):i;let s=l-n;if(s<=.01)return i;let d=i.map((p,h)=>p-a[h]),c=d.reduce((p,h)=>p+h,0);if(s<=c)return i.map((p,h)=>p-s*d[h]/c);let u=a.reduce((p,h)=>p+h,0),f=Math.max(n,r);if(!Number.isFinite(f)||u<=f)return a;let m=a.length*1,g=Math.max(0,f-m)/Math.max(u-m,.01);return a.map(p=>1+(p-1)*g)}var YY=(e,t)=>t instanceof Map?[...t]:t,UL=new WeakMap,XY=new TextEncoder;function Vo(e){if(!e)return "";let t=UL.get(e);return t===void 0&&(t=chunkFIJZIQXA_cjs.f(XY.encode(JSON.stringify(e,YY))),UL.set(e,t)),t}var YL=new WeakMap;function zP(e){if(!e)return "";let t=YL.get(e);return t===void 0&&(t=JSON.stringify([e.paragraphProperties,e.runProperties]),YL.set(e,t)),t}function go(e,t,n){let r=e.float;if(!r)return t.text.left+Na(e,t.text.width);let o=e.columnWidthsPt.reduce((s,d)=>s+d,0),a=Fh(r,o,t),i=e.rows[0]?.cells[0];if(!Le(n,"floatingTableContentOrigin")||e.bidiVisual||e.cellSpacingPt!==0)return a;if(r.xSpec==="right"||r.xSpec==="outside")return a-(r.distances?.left??0)<=t.text.left?a:a+e.defaultMargins.right;if(!i||i.gridColumn!==0||r.horzAnchor!=="text"||r.vertAnchor!=="text"||r.xSpec!==void 0)return a;let l=tf(i.margins,i.contentBorders??i.borders).left;return Math.max(t.page.left,a-l)}function XL(e){return e?.state!=="edge"||e.style!=="single"&&e.style!=="thick"?0:Number.isFinite(e.widthPt)&&e.widthPt>0?e.widthPt:0}function VP(e){let t=e.rows[0]?.cells[0],n=t?.margins.left??0;return e.bidiVisual?n:Math.max(n,XL((t?.contentBorders??t?.borders)?.left)/2)}function ZL(e){let t=e.rows[0]?.cells.at(-1),n=t?.margins.right??0;return e.bidiVisual?n:Math.max(n,XL((t?.contentBorders??t?.borders)?.right)/2)}function Na(e,t){let n=e.columnWidthsPt.reduce((a,i)=>a+i,0),r=t-n;if(!Number.isFinite(r))return 0;if(e.legacyContentAlignment&&e.alignment!=="center"){let a=e.rows[0]?.cells.at(-1)?.margins.right??0,i=VP(e);return e.alignment==="left"?e.bidiVisual?-i:e.indentPt-i:e.bidiVisual?r+a-e.indentPt:e.legacyTrailingOuterEdge?r:r+a}if(e.alignment==="center")return r/2+(e.bidiVisual?e.outerRuleOffsetPt??0:0);let o=e.outerRuleOffsetPt??0;return e.alignment==="right"?e.bidiVisual?r-e.indentPt+o:r+o:e.bidiVisual?o:e.indentPt+o}function Fh(e,t,n){let r=n[e.horzAnchor],o=r.width-t,a;if(e.xSpec==="center"?a=r.left+o/2:e.xSpec==="right"||e.xSpec==="outside"?a=r.left+o:e.xSpec?a=r.left:a=r.left+e.xPt,!Number.isFinite(a))return r.left;let i=n.page.left+n.page.width;return Math.max(n.page.left,Math.min(a,i))}var ZY=1/20;function qY(e){let t=e.bidiVisual?"right":"left";return e.alignment===t?Math.max(0,e.indentPt):0}function qL(e,t,n,r,o){let{tableWidth:a,columnWidthsPt:i}=e,{preferredWidths:l}=t,s=i.length;if(o>0||e.layoutFixed||e.cellSpacingPt!==0||e.float||t.spans.length>0||t.verticalHolds.length>0||a.type!=="pct"&&a.type!=="auto"||s===0||l.length!==s||n.length!==s)return;let d=[];for(let y=0;y<s;y++){let b=l[y];if(b===void 0||!Number.isFinite(b)||b<=0)return;d.push(b);}let c=0,u=0;for(let y=0;y<s;y++)c+=i[y],u+=d[y];let f=c/u;if(!(f>0)||!Number.isFinite(f))return;let m=ZY*Math.max(1,f);for(let y=0;y<s;y++)if(Math.abs(i[y]-d[y]*f)>m)return;if(a.type==="auto"&&f>1)for(let y=0;y<s;y++)d[y]=i[y];let g=e.legacyContentAlignment?VP(e)+ZL(e):0,p=Math.max(0,r+g-qY(e)),h=Math.max(p,c);return a.type==="auto"?WP(d,n,p,h,false):a.value>0?WP(d,n,c,h,true):void 0}var JL=new WeakMap;function In(e){let t=JL.get(e);if(t)return t;let n={...e.pageContext?{pageContext:e.pageContext}:{},...e.noteMarks?{noteMarks:e.noteMarks}:{},...e.documentProperties?{documentProperties:e.documentProperties}:{},...e.bodyPageFields?{bodyPageFields:e.bodyPageFields}:{},...e.refFields?{refFields:e.refFields}:{},...e.showFieldCodes?{showFieldCodes:true}:{},...e.fieldCodeRanges?{fieldCodeRanges:e.fieldCodeRanges}:{},...e.tocLinkStyleRanges?{tocLinkStyleRanges:e.tocLinkStyleRanges}:{}},r=[e.producer??"",e.bodyPageFields?`body:${e.bodyPageFields.format??""}`:"",Vo(e.pageContext),Vo(e.documentProperties),e.showFieldCodes===true?"codes":"",e.drawingLayoutToken??"",e.inlineDrawingLayout?"drawings":"",`tab:${e.defaultTabStopPt??""}`,`fields:${chunkFIJZIQXA_cjs.jf()}`].join("\0"),o={measurer:e.measurer,...e.listItems?{listItems:e.listItems}:{},...e.inlineDrawingLayout?{inlineDrawingLayout:e.inlineDrawingLayout}:{},fields:n,...e.defaultTabStopPt!==void 0?{defaultTabStopPt:e.defaultTabStopPt}:{},passToken:r,paragraphToken:a=>[e.projectionTokenForParagraph?.(a)??"",e.drawingTokenForParagraph?.(a)??"",e.refFields?.tokenForParagraph(a.id)??"",$d(e.listItems?.get(a.id))].join("\0")};return JL.set(e,o),o}function GP(e,t,n,r,o=false){let a=In(r);return zL(e,t,n,a,[Vo(r.fieldCodeRanges),Vo(r.tocLinkStyleRanges),Vo(r.noteMarks)].join("\0"),o)}var Ul=.01,QL=new WeakMap;function JY(e,t){let{context:n,view:r}=t;return !n.paragraphToken||n.passToken===void 0?null:{styleCascade:r.styleCascade,displayMode:r.displayMode,authorFilter:r.authorFilter?.cacheKey??"",cellStyle:zP(t.tableCellStyle),passToken:n.passToken,paragraphToken:n.paragraphToken(e)}}function QY(e,t){return e.styleCascade===t.styleCascade&&e.displayMode===t.displayMode&&e.authorFilter===t.authorFilter&&e.cellStyle===t.cellStyle&&e.passToken===t.passToken&&e.paragraphToken===t.paragraphToken}function eX(e,t){let{context:n,view:r}=t,{measurer:o}=n,{styleCascade:a,displayMode:i}=r,l=lf(n),s=QL.get(o);s||QL.set(o,s=new WeakMap);let d=s.get(e);if(l&&d?.scope===l&&d.key.styleCascade===r.styleCascade&&d.key.displayMode===r.displayMode&&d.key.authorFilter===(r.authorFilter?.cacheKey??"")&&d.key.cellStyle===zP(t.tableCellStyle))return d.widths;let c=JY(e,t);if(c&&d&&QY(d.key,c))return d.scope=l,d.widths;let u=Vn(e,Number.MAX_SAFE_INTEGER,a,n.listItems?.get(e.id),t.tableCellStyle,true),f=n.fields,m=Fa(e,u.inheritedRunProperties,f?.pageContext,a?(W,z)=>rr(W,z,a):void 0,void 0,f?.noteMarks,i,void 0,n.inlineDrawingLayout,a?.themeFonts,void 0,f?.documentProperties,f?.bodyPageFields??false,f?.refFields,r.authorFilter,f?.showFieldCodes,f?.fieldCodeRanges?.get(e.id),f?.tocLinkStyleRanges?.get(e.id)),g=Wg(m,at(u.props),jg(e),true),{left:p,right:h,firstLine:y,hanging:b}=u.indent,x=Cp(u.tabStops,n.defaultTabStopPt),R=Math.max(0,at(u.props)?h:p),P=W=>{for(let ee of x.stops)if(!ee.numberingOnly&&ee.positionPt>W+1e-6)return ee.positionPt;let z=x.defaultIntervalPt;return (Math.floor(W/z+1e-6)+1)*z},w=n.listItems?.get(e.id)?Math.max(0,y):b>0?-b:y,I=0,v=0,O=true,T=0,C=0,F=0,k=true,_=()=>{let W=T-C+Math.max(0,p+h+(k?w:0));T>0&&W>F&&(F=W),T=0,C=0,k=false;},E=(W,z=0)=>{T+=W,C=z<W?z:C+z;},N=()=>{if(v>0){let W=v+Math.max(0,p+h+(O?w:0));W>I&&(I=W),O=false;}v=0;},A=true,L=0,B,D=false;for(let W of g){if(W.style.hidden||W.projected&&!W.inlineDrawing&&!W.equation&&W.text==="\uFFFC"||(D&&!Sl.has(W.text[0]??"")&&N(),D=false,W.text===chunkFIJZIQXA_cjs.mb))continue;if(W.text===`
24
- `){_(),N(),O=false,A=true,L=0;continue}let z=W.inlineDrawing?tr(W.inlineDrawing.projection).totalWidth:W.equation?(B??=Mg(o))(W.equation,W.style).geometry.box.width:void 0;if(z!==void 0){E(z),N(),v=(A?L:0)+z,N(),A=false,L=0;continue}ox.test(W.text)&&N();let ee=Be(W.style,W.fontSlot),K=q=>rt(q,ee,o);if(W.measureText!==void 0){E(K(W.measureText)),v+=L+K(W.measureText),A=false,L=0;continue}let U=0;for(let q of eo(W.text,false)){let V=W.text.slice(U,q);if(U=q,V.length===0)continue;if(V===" "){let re=T+R+(k?w:0);E(Math.max(0,P(re)-re)),N(),O=false,A=false,L=0;continue}let ne=or(V),G=K(V);if(E(G,ne.length===V.length?0:G-(ne?K(ne):0)),A&&ne.length===0){L+=K(V);continue}A&&ne.length>0&&(v+=L,A=false,L=0),ne.length===V.length?v+=K(V):ne.length>0&&(v+=K(V)-K(V.slice(ne.length))),ne.length<V.length||q<W.text.length||rx.test(V)?N():D=Sl.has(V.at(-1));}}N(),_();let $=I>0?I:Math.max(0,p+h+w),X={min:$,max:Math.max($,F)};return c&&s.set(e,{key:c,widths:X,scope:l}),X}function tX(e,t,n){let r=(n.depth??0)+1,o=n.readNested(e,r);if(!o)return 0;let a={...n,depth:r},i=vh(o);if(o.layoutFixed){for(let u of rE(o,t,a))i+=u;return i+Oh(o)}let l=0;for(let u of o.columnWidthsPt)l+=u;let s=[],d=KP();$P(o,t,a,s,d);let c=Ud(df(o),s,d.maximums,d.spans);for(let u of c)i+=Math.max(u,1);return Math.max(l,i)+Oh(o)}function KP(){return {maximums:[],sizedByContent:[],preferredWidths:[],spans:[],measured:[],verticalHolds:[]}}function rE(e,t,n){let r=[],o=KP();$P(e,t,n,r,o);let a=r.map((l,s)=>Math.max(o.measured[s]?l:0,1)),i=[...o.spans];for(let l of o.verticalHolds)l.count>1?i.push(l):a[l.from]=Math.max(a[l.from],l.minimum);return Ud(a,a,a,i)}function nX(e,t,n){let r=e.columnWidthsPt,o=0;for(let c of r)o+=c;if(!(t>0)||o<=t+Ul)return r;let a=n(),i=vh(e),l=Math.max(0,t-i),s=r.map(()=>false),d=jP(df(e),s,a,a,l,l,l);return i>0?HP(d,i):d}var rX=3;function Oh(e){let t=e.bidiVisual?"right":"left";return e.float?0:e.alignment===t?e.indentPt:0}var oX=1,eE=new WeakMap;function oE(e,t,n,r,o){return (a,i)=>{let l=`${i}|${n}|${r?.cacheKey??""}|${o??""}`,s=eE.get(a);if(s&&s.key===l&&s.styleCascade===t)return s.structure;let d=e(a,oX,i,t,n,r,o);return eE.set(a,{key:l,styleCascade:t,structure:d}),d}}function $P(e,t,n,r,o){let a=e.columnWidthsPt.length,i=new Array(a).fill(-1),l=new Array(a).fill(-1),s=new Array(a).fill(-1),d=new Array(a).fill(false),c=e.cellSpacingPt===0,u=sf(e.cellSpacingPt),f=df(e);for(let m of e.rows){let g=e.outerRuleOffsetPt!==void 0&&!e.legacyContentAlignment?sL(m,a,o!==void 0):void 0;for(let p=0;p<m.cells.length;p+=1){let h=m.cells[p];if(h.vMergeContinue||h.gridColumn<0||h.gridColumn>=a)continue;if(h.gridSpan===1&&h.preferredWidth.value>0){let S=h.preferredWidth;if((S.type==="dxa"||S.type==="pct")&&(d[h.gridColumn]=true),o&&S.type==="dxa"){let w=S.value,I=o.preferredWidths[h.gridColumn];(I===void 0||w>I)&&(o.preferredWidths[h.gridColumn]=w);}}if(h.textDirection!=="horizontal"){let S=Math.min(h.gridColumn+h.gridSpan,a),w=0;for(let v=h.gridColumn;v<S;v++)w+=f[v];let I=S-h.gridColumn;o?.verticalHolds.push({from:h.gridColumn,count:I,minimum:w});continue}if(h.gridSpan!==1&&!o)continue;let y=GL(h,c,t,n,()=>{let S=-1,w=-1,I=Zt(h,c);for(let O of h.blocks){if(O.kind==="table"){let C=tX(O,t,n);S=Math.max(S,C),w=Math.max(w,C);}if(O.kind!=="paragraph")continue;let T=eX(O,{context:t,view:n,tableCellStyle:h.styleFormatting});S=Math.max(S,T.min),w=Math.max(w,T.max);}let v=KL(h,c,I,g?.cells[p]);return {least:S,most:w,left:I.left,right:I.right,wideLeft:v.left,wideRight:v.right}}),{least:b,most:x}=y;if(b<0)continue;let R=y.wideLeft+y.wideRight;if(h.gridSpan!==1){let S=(h.gridSpan-1)*u;o?.spans.push({from:h.gridColumn,count:h.gridSpan,minimum:Math.max(0,b+R-S),current:Math.max(0,b+y.left+y.right-S)});continue}let P=b+y.left+y.right;P>i[h.gridColumn]&&(i[h.gridColumn]=P),b+R>l[h.gridColumn]&&(l[h.gridColumn]=b+R),x+R>s[h.gridColumn]&&(s[h.gridColumn]=x+R);}}for(let[m,g]of i.entries())o&&(o.measured[m]=g>=0),g<0&&(i[m]=f[m]),r&&(r[m]=l[m]<0?i[m]:l[m]),o&&(o.maximums[m]=s[m]<0?i[m]:s[m],o.sizedByContent[m]=!d[m]&&s[m]>=0);return i}function aX(e,t,n,r){let o=0;for(let[g,p]of e.entries())o+=Math.max(0,t[g]-p);if(o<=Ul)return e;let a=e.map((g,p)=>Math.max(g,t[p])),i=a.reduce((g,p)=>g+p,0)-n;if(i<=Ul)return a;let l=e.map((g,p)=>Math.max(0,g-Math.max(t[p],1))),s=l.reduce((g,p)=>g+p,0);if(i<=s)return a.map((g,p)=>g-i*l[p]/s);let d=t.map(g=>Math.max(g,1)),c=d.reduce((g,p)=>g+p,0),u=Math.max(r,e.reduce((g,p)=>g+p,0));if(!Number.isFinite(u)||c<=u)return d;let f=d.length*1,m=Math.max(0,u-f)/Math.max(c-f,Ul);return d.map(g=>1+(g-1)*m)}function iX(e,t,n,r=false,o=n){return r||e.type==="dxa"&&e.value>0?t:e.type==="pct"&&e.value>0?Math.max(t,Math.min(n,o*e.value/100)):n}var tE=new WeakMap;function aE(e,t,n,r){let o=lf(n)??n,a=tE.get(o);a||tE.set(o,a=new WeakMap);let i=a.get(e);if(i&&i.contentWidthPt===t)return i.widths;if(e.layoutFixed){let{tableWidth:C}=e,F=C.type==="pct"&&C.value>100?t*C.value/100:0,k=Math.max(0,t-Math.max(0,Oh(e)),F),_=nX(e,k,()=>rE(e,n,r));return a.set(e,{contentWidthPt:t,widths:_}),_}let l=[],s=KP(),d=$P(e,n,r,l,s),c=df(e),u=Th(e.columnWidthsPt,e.cellSpacingPt),f=vh(e),m=c.map((C,F)=>s.preferredWidths[F]===void 0?C:s.preferredWidths[F]*u),g=Ud(c,d,s.maximums,s.spans.map(C=>({...C,minimum:C.current??C.minimum}))),p=s.sizedByContent.some(Boolean),h=g.some((C,F)=>C>c[F]+Ul),y=p?void 0:qL(e,s,h&&!e.legacyContentAlignment?l:d,t,r.depth??0);if(y||!h&&!p){let C=y?nE(e,y):e.columnWidthsPt;return a.set(e,{contentWidthPt:t,widths:C}),C}let b=Ud(m,l,s.maximums,s.spans),x=e.columnWidthsPt.reduce((C,F)=>C+F,0),R=e.legacyContentAlignment===true,P=R?Math.max(x,t):Math.max(0,t-Oh(e)),S=iX(e.tableWidth,x,P,R,t)-f,w=Math.max(0,P-f),I=e.tableWidth.value>0&&e.tableWidth.type!=="auto",v=()=>p?jP(m,s.sizedByContent,b,s.maximums,I?S:void 0,w,c.reduce((C,F)=>C+F,0)):aX(c,b,S,w),O=v();for(let C=0;C<rX;C++){let F=s.spans.filter(_=>{let E=0;for(let N=_.from;N<_.from+_.count;N++)E+=O[N]??0;return E<_.minimum-Ul});if(F.length===0)break;let k=Ud(O,b,s.maximums,F);if(k.every((_,E)=>_===b[E]))break;b=k,O=v();}let T=nE(e,f>0?HP(O,f):O);return a.set(e,{contentWidthPt:t,widths:T}),T}function nE(e,t){return t.every((n,r)=>Math.abs(n-e.columnWidthsPt[r])<=Ul)?e.columnWidthsPt:t}var YP=16,SL=31680/20,iE=1023,lX=256,lE=new WeakMap,sE=31680/20;function Lt(e,t){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}function UP(e,t){return e.attributes.find(n=>n.localName===t)?.value}var dE=new WeakMap,sX=4;function qt(e,t,n,r,o="all-markup",a,i,l,s=false){let d=jB(e,{contentWidthPt:t,depth:n,styleCascade:r,displayMode:o,authorFilter:a,compatibilityMode:i,textBox:s},()=>dX(e,t,n,r,o,a,i,s));if(!l||!d||d.layoutFixed&&n===0)return d;let c=aE(d,t,l,{styleCascade:r,displayMode:o,authorFilter:a,depth:n,readNested:oE(qt,r,o,a,i)});if(c===d.columnWidthsPt)return d;let u=c.join(","),f=dE.get(d),m=f?.get(u);if(m)return m;let g=dL(d.rows,{compatibilityMode:i,depth:n,bidiVisual:d.bidiVisual===true,floating:d.float!==void 0,cellSpacingPt:d.cellSpacingPt,widthType:d.tableWidth.type,alignment:d.alignment,layoutFixed:d.layoutFixed,indentPt:d.indentPt,columnWidthsPt:d.columnWidthsPt,containerWidthPt:t},c),{outerRuleOffsetPt:p,...h}=d,y={...h,columnWidthsPt:c,rows:g.rows,...g.outerRuleOffsetPt===void 0?{}:{outerRuleOffsetPt:g.outerRuleOffsetPt}};return y&&(f||dE.set(d,f=new Map),f.size>=sX&&f.delete(f.keys().next().value),f.set(u,y)),y}function dX(e,t,n,r,o,a,i,l=false){if(n>=YP||e.kind!=="table")return null;let s=Lt(e,"tblPr"),d=s&&Lt(s,"tblStyle")?UP(Lt(s,"tblStyle"),"val"):void 0,c=r?jM(r,d):Gg,u=jL(s),f=false;for(let M of c.tablePropertyNodes)Lt(M,"bidiVisual")&&(f=bh(M,"bidiVisual"));s&&Lt(s,"bidiVisual")&&(f=bh(s,"bidiVisual"));let m={top:0,right:.5,bottom:0,left:.5},g=hP;for(let M of c.tablePropertyNodes)m=Ph(m,Sh(Lt(M,"tblCellMar"))),g=dP(g,dh(M));let p=Ph(m,Sh(s&&Lt(s,"tblCellMar"))),h=dP(g,s?dh(s):hP),y=lE.get(c);y||lE.set(c,y=new Map);let b=WM(c),x=M=>{if(!b)return GS;let ie=M.join("|"),ue=y.get(ie);if(ue)return ue;let pe=zM(c,M);return y.size<lX&&y.set(ie,pe),pe},R=[],P=[],S=false,w=1;for(let M of chunkFIJZIQXA_cjs.Ub(e.children)){if(M.kind!=="tableRow")continue;let ie=fh(M,"trPr"),ue=ie?fh(ie,"ins")??fh(ie,"del"):void 0,pe=ue?.localName,Te=ue?Ci(ue,"author")??"":void 0,Re=ue&&Te!==void 0&&a?iv(a,ue.id,Te,o):o;if(Re==="proposed"&&pe==="del"||Re==="original"&&pe==="ins"){S=true;continue}let Fe=Re==="all-markup"?ue:void 0,ke=ue&&Re!=="all-markup"&&Te!==void 0&&(!a||Us(a,ue.id,Te))?[{kind:pe==="ins"?"insert":"delete",id:Ci(ue,"id")??"",author:Te,...Ci(ue,"date")===void 0?{}:{date:Ci(ue,"date")},nodeId:ue.id}]:void 0,_e=[],Ke=[],le=[],ge=Math.min(OP(ie,"gridBefore"),iE);ge>0&&P.push({start:0,span:ge,preferred:Wd(ie&&Lt(ie,"wBefore"))});let ae=ge,he=chunkFIJZIQXA_cjs.Ub(M.children);for(let De of he){if(De.kind!=="tableCell")continue;let gt=Lt(De,"tcPr"),ze=Math.min(ae,iE),ft=Math.min(yL(gt),1024-ze),xt=Wd(gt&&Lt(gt,"tcW"));_e.push(ze),Ke.push(ft),le.push(xt),P.push({start:ze,span:ft,preferred:xt}),ae=ze+ft;}let Ae=OP(ie,"gridAfter"),We=Math.min(ae+Ae,1024);Ae>0&&ae<1024&&P.push({start:ae,span:Math.min(Ae,1024-ae),preferred:Wd(ie&&Lt(ie,"wAfter"))}),We>w&&(w=We),R.push({node:M,revision:Fe,changeSites:ke,cells:he,properties:ie,starts:_e,spans:Ke,preferred:le,gridColumns:We});}let I=gL(e),v=I.length>0?I.length:w,O=R.length,T=[],C=new Set;for(let M=0;M<R.length;M+=1){let ie=R[M],ue=ie.node,pe=ie.properties,Te=NP({look:u,rowIndex:M,rowCount:O,gridColumn:0,gridSpan:Math.max(1,v),columnCount:Math.max(1,v),rowProperties:pe,cellProperties:void 0}),Re=vL(c,Te,pe),Fe=_B(ue,h),ke=0,_e=[],Ke=new Set;for(let We of ie.cells){if(We.kind!=="tableCell")continue;let De=Lt(We,"tcPr"),gt=ie.starts[ke],ze=ie.spans[ke],ft=ie.preferred[ke]??mo,xt=NP({look:u,rowIndex:M,rowCount:O,gridColumn:gt,gridSpan:ze,columnCount:v,rowProperties:pe,cellProperties:De});ke+=1;let kt,Yt=yP;for(let Et of xt){let Ve=c.conditional.get(Et);if(!Ve)continue;let Tt=Lt(Ve,"tcPr");kt=CP(Tt)??kt,Yt=cP(Yt,gP(Tt));}let He=CP(De)??kt,br=Ph(p,Sh(De&&Lt(De,"tcMar"))),ln=zl(We.children,o,a),Kn=De?gP(De):yP,bn=bL(De);bn!=="none"&&Ke.add(gt),_e.push({id:We.id,...zB(De,o,a,ie.revision),gridSpan:ze,gridColumn:gt,...I[gt]?.id?{gridColumnId:I[gt].id}:{},vMergeContinue:bn==="continue"&&C.has(gt),hideEndMark:FL(c,xt,De),vAlign:kL(De),textDirection:fE(De),margins:br,borders:cP(Yt,Kn),...Fe?{rowTableBorders:Fe}:{},...Kn.top.state==="none"?{suppressesTopBand:true}:{},...He===void 0?{}:{shading:He},preferredWidth:ft,styleFormatting:x(xt),blocks:ln});}C=Ke;let le=ie.revision,ge=le?le.localName==="ins"?"insert":"delete":void 0,ae=le&&Ci(le,"id"),he=le&&Ci(le,"author"),Ae=le&&Ci(le,"date");T.push({id:ue.id,...ge?{revisionKind:ge}:{},...ae!==void 0?{revisionId:ae}:{},...he!==void 0?{revisionAuthor:he}:{},...Ae!==void 0?{revisionDate:Ae}:{},...ie.changeSites?{changeSites:ie.changeSites}:{},isHeader:Re,cantSplit:bh(pe,"cantSplit"),height:xL(pe),cells:_e});}let F=mo,k,_,E,N,A;for(let M of c.tablePropertyNodes){let ie=Lt(M,"tblW");ie&&(F=vP(ie));let ue=Lt(M,"tblLayout");ue&&(k=UP(ue,"type")==="fixed"),_=of(Lt(M,"tblInd"),sE)??_,E=bP(M)??E,N=FP(Lt(M,"tblCellSpacing"),af)??N,A=Kl(M)??A;}let L=s&&Lt(s,"tblW"),B=L?vP(L):F,D=s&&Lt(s,"tblLayout"),$=D?UP(D,"type")==="fixed":k??false,X=of(s&&Lt(s,"tblInd"),sE)??_??0,W=n===0?X:Math.max(0,X),z=bP(s)??E??"left",ee=n===0?Kl(s)??A:void 0,K=FP(s&&Lt(s,"tblCellSpacing"),af)??N??0,U=NL({table:e,propertyNodes:c.tablePropertyNodes,rows:T,columnCount:v,contentWidthPt:t,compatibilityMode:i,depth:n,tableWidth:B,cellSpacingPt:K,floating:ee!==void 0,layoutFixed:$,alignment:z,bidiVisual:f,indentPt:W,indentStated:!!(s&&Lt(s,"tblInd"))||_!==void 0,tableBorders:h,claims:P,gridCols:I,textBox:l}),{legacy:q,indentPt:V}=U,ne=q?.widthPt,G=hL({gridCols:I,claims:U.claims,columnCount:v,contentWidthPt:U.contentWidthPt,tableWidth:U.tableWidth,layoutFixed:$,hasOmittedRows:S}),re=cE(T,G.length,f),fe=Ch(re,f?{...h,left:h.right,right:h.left}:h,G.length,K===0);fe=uE(fe,re,f?{...h,left:h.right,right:h.left}:h,G.length,K===0);let te={compatibilityMode:i,depth:n,bidiVisual:f,floating:ee!==void 0,cellSpacingPt:K,widthType:B.type,alignment:z,layoutFixed:$,indentPt:V,columnWidthsPt:G,containerWidthPt:t},Z=kP(fe,te),oe=OL(e,c.tablePropertyNodes,fe,te);fe=oe!==void 0&&B.type==="auto"?wP(Z.rows):Z.rows;let ce=oe??Z.outerRuleOffsetPt??U.bidiRuleShiftPt;return {...f?{bidiVisual:true}:{},columnWidthsPt:f?[...G].reverse():G,rows:ne===void 0?fe:fe.map(M=>({...M,cells:M.cells.map(ie=>({...ie,legacyContentAlignment:true}))})),...ne===void 0?{}:{legacyContentAlignment:true},...q?.trailingOuterEdge?{legacyTrailingOuterEdge:true}:{},...ce===void 0?{}:{outerRuleOffsetPt:ce},tableWidth:B,layoutFixed:$,indentPt:V,alignment:f?z==="left"?"right":z==="right"?"left":z:z,...ee?{float:ee}:{},cellSpacingPt:K,tableBorders:f?{...h,left:h.right,right:h.left}:h,defaultMargins:f?{...p,left:p.right,right:p.left}:p}}var mE=1048576;function ho(e=mE){let t=e|0;return {cellsRemaining:t>0?t:0}}function Yd(e,t,n,r){let o=new Map,a=new Map,i=r?.pageFragment===true,l=i?new Set:null,s=i,c=m=>{let g=a.get(m);g&&(o.set(g.id,g.span),a.delete(m));},u=()=>n!==void 0&&n.cellsRemaining<=0,f=()=>{for(let m of [...a.keys()])c(m);};for(let m of e){if(u()){f();break}s&&m.isHeaderRepeat!==true&&(s=false,f(),l?.clear());let g=new Set,p=false;for(let h of m.cells){if(n){if(n.cellsRemaining<=0){p=true;break}n.cellsRemaining-=1;}let y=Math.max(0,Math.min(h.gridColumn|0,1023));if(g.add(y),h.vMergeContinue){let b=a.get(y);b?b.span+=1:l&&!l.has(y)&&(a.set(y,{id:h.id,span:1}));}else c(y),a.set(y,{id:h.id,span:1});l?.add(y);}if(p){f();break}for(let h of [...a.keys()])g.has(h)||c(h);}return f(),o}var cX={state:"omitted"};function cE(e,t,n){return n?e.map(r=>({...r,cells:r.cells.map(o=>({...o,margins:{...o.margins,left:o.margins.right,right:o.margins.left},borders:{...o.borders,left:o.borders.right,right:o.borders.left},...o.rowTableBorders?{rowTableBorders:{...o.rowTableBorders,left:o.rowTableBorders.right,right:o.rowTableBorders.left}}:{},logicalGridColumn:o.gridColumn,gridColumn:Math.max(0,t-o.gridColumn-o.gridSpan)}))})):e}function uX(e,t,n,r,o,a){let i=e.map(()=>new Float64Array(a));for(let l=0;l<e.length;l+=1)for(let s=0;s<e[l].cells.length;s+=1){let d=e[l].cells[s];if(d.vMergeContinue)continue;let c=l+(r.get(d.id)??1),u=i[c];if(u)for(let f of n[l][s].edgeSegments??[]){if(f.side!=="bottom")continue;let m=Fi(f.edge),g=Math.min(f.gridEnd,a);for(let p=Math.max(0,f.gridStart);p<g;p+=1)u[p]=Math.max(u[p],m);}}return e.map((l,s)=>{let d=0;for(let c of l.cells){let u=s===0?t.top:t.insideH,f=Math.min(c.gridColumn+c.gridSpan,a);for(let m=c.gridColumn;m<f;m+=1){let g=s===0?void 0:vi(o,s-1,m),p=g?e[s-1]?.cells[g.cellIndex]:void 0;d=Math.max(d,ch(c.borders.top,p?.borders.bottom??cX,u,i[s]?.[m]??0,c.suppressesTopBand));}}return d})}function Ch(e,t,n,r=true){let o=Yd(e);if(!r)return fX(e,t,n,o);let a=e.map(f=>f.cells.map(m=>({...m,mergeRowSpan:o.get(m.id)??1}))),i=oh(a,n),l=jd(a,t,n),s=new Map;for(let f=0;f<e.length;f++)for(let m of e[f].cells){if(m.vMergeContinue)continue;s.set(m.id,m);let g=f+(o.get(m.id)??1);for(let p=f+1;p<g;p++){let h=vi(i,p,m.gridColumn),y=h&&e[p]?.cells[h.cellIndex];y?.vMergeContinue&&s.set(y.id,m);}}let d=new Map;for(let f of e)for(let m of f.cells){let g=p=>p.state==="none"?p:{state:"omitted"};d.set(m.id,{top:g(m.borders.top),bottom:g(m.borders.bottom),left:g(m.borders.left),right:g(m.borders.right)});}let c=(f,m,g)=>{let p=s.get(f.id)??f,h=d.get(p.id),y={state:"edge",...g},b=m==="top"||m==="bottom";(h[m].state!=="edge"||Gn(p.margins[m],y,b,!b,m==="top")>Gn(p.margins[m],h[m],b,!b,m==="top"))&&d.set(p.id,{...h,[m]:y});};for(let f=0;f<e.length;f++)for(let m=0;m<e[f].cells.length;m++){let g=e[f].cells[m];for(let p of l[f][m].edgeSegments??[])if(c(g,p.side,p.edge),p.side==="right"){let h=g.gridColumn+g.gridSpan;for(let y=p.gridStart;y<p.gridEnd;y++){let b=vi(i,y,h),x=b&&e[y]?.cells[b.cellIndex];x&&c(x,"left",p.edge);}}else if(p.side==="bottom"){let h=f+(o.get(g.id)??1);for(let y=p.gridStart;y<p.gridEnd;y++){let b=vi(i,h,y),x=b&&e[h]?.cells[b.cellIndex];x&&c(x,"top",p.edge);}}}let u=uX(e,t,l,o,i,n);return e.map((f,m)=>({...f,cells:f.cells.map(g=>{let p=u[m];return g.vMergeContinue?{...g,topBandClearancePt:p}:{...g,topBandClearancePt:p,contentBorders:d.get(g.id),contentBottomIsOuter:m+(o.get(g.id)??1)===e.length}})}))}function fX(e,t,n,r){let o=(a,i)=>a.state==="omitted"&&i.state==="edge"?i:a;return e.map((a,i)=>({...a,cells:a.cells.map(l=>{let s=l.rowTableBorders??t;return {...l,contentBorders:{top:o(l.borders.top,i===0?s.top:s.insideH),bottom:o(l.borders.bottom,i+(r.get(l.id)??1)===e.length?s.bottom:s.insideH),left:o(l.borders.left,l.gridColumn===0?s.left:s.insideV),right:o(l.borders.right,l.gridColumn+l.gridSpan===n?s.right:s.insideV)}}})}))}function uE(e,t,n,r,o){if(!t.some(i=>i.height.rule==="atLeast")||!t.some(i=>i.cells.some(l=>l.vMergeContinue)))return e;let a=Ch(t.map(i=>({...i,cells:i.cells.map(l=>({...l,vMergeContinue:false}))})),n,r,o);return e.map((i,l)=>i.height.rule!=="atLeast"?i:{...i,cells:i.cells.map((s,d)=>{let c=a[l].cells[d],u=Zt(c,o);return {...s,minimumContentInsets:{top:u.top,bottom:u.bottom}}})})}function Mi(e,t,n){let r=0,o=0;for(let a of t){let i=n?.get(a.cell.id)??a.cell.minimumContentInsets??a.insets;r=Math.max(r,i.top),o=Math.max(o,i.bottom);}return e+r+o}function ZP(e){return e.textDirection==="btLr"&&!e.vMergeContinue}function Ih(e,t,n,r,o,a){return e?{flowLeft:t+a.bottom,flowRight:t+Math.max(0,o-r)-a.top,contentTop:r+a.left,contentMaxBottom:r+n-a.right}:{flowLeft:t+a.left,flowRight:t+n-a.right,contentTop:r+a.top,contentMaxBottom:o-a.bottom}}function hE(e,t){let n=false;for(let[r,o]of e.entries()){if(!o.flowTo)continue;let a=o.flowTo(o.x+t-o.insets.top);n||=a.fitted,e[r]={...o,blocks:a.blocks,contentBottom:a.bottom,fitted:a.fitted,nextCursor:mX(o.cell)};}return n}var yE=new WeakMap;function bE(e,t){e.forEach((n,r)=>{let o=n.flowTo,a=t[r];!o||!a||yE.set(a.blocks,i=>o(n.x+i-n.insets.top,true).blocks);});}function xE(e,t){return yE.get(e)?.(t)}function mX(e){return {blockIndex:e.blocks.length,lineIndex:0,previousSpaceAfter:0,paragraphFragmentIndex:0,precededByEmittedTable:false}}function SE(e,t,n,r){if(e.height.rule==="exact"||!e.cells.some(a=>ZP(a)))return false;if(e.cells.every(a=>a.vMergeContinue||a.textDirection==="btLr"))return true;if(e.height.rule!=="atLeast")return false;let o=e.cells.map(a=>({cell:a,insets:n(a)}));return Mi(e.height.valuePt,o,r)>t+.001}function fE(e){let t=e?.children.find(r=>r.kind!=="textValue"&&r.localName==="textDirection");return !t||t.kind==="textValue"?"horizontal":t?.attributes.find(r=>r.localName==="val")?.value==="btLr"?"btLr":"horizontal"}function PE(e,t){return {x:t.x+t.height-(e.y-t.y),y:t.y+(e.x-t.x)}}var pE=new WeakMap,RE=new WeakSet,gE=new WeakMap,XP=new WeakSet;function wE(e){XP.add(e);}function pX(e){let t=gE.get(e);if(t)return t;let n=[],r=o=>{let a=false;for(let i of o){if(i.kind!=="table")continue;if(XP.has(i)&&true){continue}let l=false;for(let s of i.rows)for(let d of s.cells)if(d.textDirection==="btLr"){l=true;for(let c of an(d.blocks))n.push({paragraphId:c.paragraphId,cell:d});}else r(d.blocks)&&(l=true);l?a=true:XP.add(i);}return a};r(e.fragments),e.header&&r(e.header.fragments),e.footer&&r(e.footer.fragments);for(let o of [e.footnotes,e.endnotes])if(o){o.separator&&r(o.separator.fragments),o.continuationNotice&&r(o.continuationNotice.fragments);for(let a of o.notes)r(a.fragments);}return gE.set(e,n),n}function gX(e){let t=pE.get(e);if(t)return t;let n=new Map;for(let r of e.pages)for(let{paragraphId:o,cell:a}of pX(r)){let i=n.get(o);i||n.set(o,i=[]),i.push({pageIndex:r.index,cell:a});}return pE.set(e,n),n}function kE(e,t,n){let r=gX(e).get(n)??[];return r.find(o=>o.pageIndex===t)??r[0]}function Bi(e,t){let n=kE(e,t.pageIndex,t.position.paragraphId);if(!n)return t;let r=hX(t,n.cell.box),o={...t,...r};return RE.add(o),o}function Jue(e){return RE.has(e)}function uf(e,t,n){let r=kE(e,n.pageIndex,t);if(!r)return n;let o=r.cell.box;return {...n,x:o.x+(n.y-o.y),y:o.y+o.height-(n.x-o.x)-n.width,width:n.height,height:n.width}}function hX(e,t){return {x:t.x+(e.y-t.y),y:t.y+t.height-(e.x-t.x)}}var TE=new WeakMap;function ff(e){let t=TE.get(e);if(t)return t;let n=[],r=new Map,o=new Map,a=new Map,i=new Map,l=new Map,s=new Map,d=[],c=(f,m)=>{for(let g of f){if(g.kind==="paragraph"){if(!m)for(let p of g.lines)o.set(p.range.paragraphId,p.id);continue}for(let p of g.rows){if(!p.isHeaderRepeat&&!r.has(p.id)){let h=a.get(g.tableId)??0;r.set(p.id,h),a.set(g.tableId,h+1);}for(let h of p.cells){if(!p.isHeaderRepeat&&!m){let y=`${g.tableId}|${h.gridColumn}`;if(h.blocks.length===0){let b=l.get(y);b&&i.set(h,b),h.vMergeContinue||d.push(h);}else l.set(y,{row:p,cell:h}),s.has(h.id)||s.set(h.id,{row:p,cell:h});}c(h.blocks,m||p.isHeaderRepeat);}}}};for(let f of e.pages)n.push(f.box.y),c(f.fragments,false);for(let f of d){let m=s.get(f.id);m&&i.set(f,m);}let u={pageTops:n,rowIndexById:r,lastLineIdOfParagraph:o,mergeOriginOf:i};return TE.set(e,u),u}var EE=8;function Mh(e,t){return t?{...t,caret:Bi(e,t.caret)}:null}function Bh(e,t){let n=ff(e).pageTops;if(n.length===0)return -1;let r=0,o=n.length-1,a=0;for(;r<=o;){let i=r+o>>1;n[i]<=t?(a=i,r=i+1):o=i-1;}return a}function xfe(e,t){let n=e.pages[Bh(e,t.y)];if(!n)return false;for(let r of [n.header,n.footer])if(r&&Xd(r.box,t))return true;return false}function QP(e,t,n,r=false){if(!e||e.length===0)return null;let o=[...e].sort((a,i)=>a.behindDocument!==i.behindDocument?a.behindDocument?-1:1:i.relativeHeight-a.relativeHeight);for(let a of o){if(r&&a.behindDocument||!nR(a,t))continue;let i={paragraphId:a.anchorParagraphId,offset:a.start};return {position:i,caret:{position:i,x:a.x,y:a.y,height:a.height,lineId:"",pageIndex:n},pageIndex:n,lineId:"",cell:null,contentControlId:null,onGlyphs:true,drawing:Object.freeze({drawingNodeId:a.drawingNodeId,paragraphId:a.anchorParagraphId,start:a.start})}}return null}function eR(e,t,n,r={}){let o=e.pages[t];if(!o)return null;let a={layout:e,pageIndex:o.index,verticalWeight:r.verticalWeight??EE,measurer:r.measurer},i=vE(e,o.index,n),l=(o.anchoredDrawings??[]).filter(f=>!f.behindDocument),s=(o.anchoredDrawings??[]).filter(f=>f.behindDocument),d=QP(l,n,a.pageIndex);if(d)return {...d,contentControlId:i};let c=Mh(e,Yl(o.fragments,n,a,null));if(c?.onGlyphs)return {...c,contentControlId:i};let u=QP(s,n,a.pageIndex);if(u)return {...u,contentControlId:i};if(c)return {...c,contentControlId:i};if(o.parityBlank){let f=n.y+o.contentBox.y-o.box.y<o.box.height/2?-1:1;for(let m=t+f;e.pages[m];m+=f){let g=e.pages[m],{width:p,height:h}=f<0?g.contentBox:{width:0,height:0},y={...a,pageIndex:g.index},b=Yl(g.fragments,{x:p,y:h},y,null),x=Mh(e,b);if(x)return {...x,contentControlId:null}}}for(let f=1;f<e.pages.length;f+=1)for(let m of [t-f,t+f]){let g=e.pages[m];if(!g)continue;let p=Mh(e,Yl(g.fragments,n,{...a,pageIndex:g.index},null));if(p)return {...p,contentControlId:vE(e,g.index,n)}}return null}function Sfe(e,t,n,r,o={}){let a=e.pages[t];if(!a)return null;let i={layout:e,pageIndex:a.index,verticalWeight:o.verticalWeight??EE,measurer:o.measurer};return Mh(e,Yl(n,r,i,null))}function Pfe(e,t,n={}){let r=e.pages[Bh(e,t.y)];if(!r)return null;for(let o of [r.header,r.footer]){if(!o?.anchoredDrawings||o.anchoredDrawings.length===0)continue;let a=Object.freeze({x:t.x-o.box.x,y:t.y-o.box.y}),i=QP(o.anchoredDrawings,a,r.index);if(i)return i}return eR(e,r.index,{x:t.x-r.contentBox.x,y:t.y-r.contentBox.y},n)}function Xd(e,t){return t.x>=e.x&&t.x<e.x+e.width&&t.y>=e.y&&t.y<e.y+e.height}function tR(e,t,n){let r=e.contentControls??[],o=null;for(let a of r)for(let i of a.fragments)i.pageIndex===t&&Xd(i.box,n)&&(!o||a.nestingDepth>o.nestingDepth)&&(o=a);return o}function vE(e,t,n){return tR(e,t,n)?.id??null}function Yl(e,t,n,r){if(e.length===0)return null;let o=e.filter(sP);if(o.length>0&&o.length<e.length){let l=e.filter(s=>!sP(s));return Yl(l,t,n,r)??Yl(o,t,n,r)}if(e.some(l=>l.kind==="paragraph"&&l.outOfFlow&&Xd(l.box,t)))for(let l=e.length-1;l>=0;l-=1){let s=e[l];if(!Xd(s.box,t))continue;let d=qP(s,t,n,r);if(d)return d}let a=null;for(let l of e){if(!Xd(l.box,t))continue;a=l;let s=qP(l,t,n,r);if(s)return s;break}let i=e.filter(l=>l!==a).map(l=>({block:l,score:CB(l,t,n.verticalWeight)})).sort((l,s)=>l.score-s.score);for(let{block:l}of i){let s=qP(l,t,n,r);if(s)return s}return null}function qP(e,t,n,r){if(e.kind!=="paragraph")return kX(e,t,n);let o=Xd(Hd(e),t);return yX(e,t,n,r,o)}function yX(e,t,n,r,o){if(e.clipToBox&&!o)return null;let a=bX(e.lines,t.y);if(!a)return null;let i=PX(a,t.x,t.y,n,at(e.props)),l=SX(a,t.x),s=Math.min(Math.max(i.offset,l.start),l.end),d={paragraphId:l.paragraphId,offset:s},c=uo(a,s,n.measurer,l),u=ir({...c,x:a.drawings?.length?c.x:i.x,width:0},e.clipToBox?e.box:void 0);return u?{position:d,caret:{position:d,x:u.x,y:u.y,height:u.height,lineId:a.id,pageIndex:n.pageIndex},pageIndex:n.pageIndex,lineId:a.id,cell:r,onGlyphs:o&&i.withinSpan&&t.y>=a.box.y&&t.y<a.box.y+a.box.height,contentControlId:null,drawing:i.drawing&&i.withinSpan?xX(i.drawing):null}:null}function bX(e,t){if(e.length===0)return null;for(let o of e)if(t>=o.box.y&&t<o.box.y+o.box.height)return o;let n=e[0],r=Number.POSITIVE_INFINITY;for(let o of e){let a=t<o.box.y?o.box.y-t:t-(o.box.y+o.box.height);a<r&&(r=a,n=o);}return n}function xX(e){return Object.freeze({drawingNodeId:e.drawingNodeId,paragraphId:e.paragraphId,start:e.start})}function SX(e,t){let n=et(e),r=eP(e.spans,t);if(r){let a=n.find(i=>i.paragraphId===r.range.paragraphId);if(a)return a}let o=n[0];for(let a of n){let i=a.spans[0];if(i===void 0)continue;let l=a.spans[a.spans.length-1];if(t>=i.box.x&&(o=a),t<l.box.x+l.box.width)break}return o}function JP(e,t,n){let r=t>=e.x+e.width/2!==_d(e);return {offset:r?e.start+1:e.start,x:Vl(e,r),withinSpan:nR(e,{x:t,y:n}),drawing:e}}function nR(e,t){if(e.accessibility.hidden)return false;let n=e.hitBounds;return t.x<n.x||t.x>=n.x+n.width||t.y<n.y||t.y>=n.y+n.height?false:gx(t.x,t.y,e.geometry)}function PX(e,t,n,r,o=false){let a=e.spans;for(let s of e.drawings??[])if(nR(s,{x:t,y:n}))return {offset:s.start,x:Vl(s,false),withinSpan:true,drawing:s};if(a.length===0&&(e.drawings?.length??0)>0){let s=e.drawings[0],d=s;for(let u of e.drawings)if(u.advanceStart<s.advanceStart&&(s=u),u.advanceEnd>d.advanceEnd&&(d=u),t>=u.advanceStart&&t<u.advanceEnd)return JP(u,t,n);return iP(e,s.advanceStart,d.advanceEnd,t,r,o,{left:s,right:d})??lP(e,a,t,r)}if(a.length===0)return {offset:e.range.start,x:e.contentX,withinSpan:false};let i=eP(a,t);if(i){for(let u of e.drawings??[])if(t>=u.advanceStart&&t<u.advanceEnd)return JP(u,t,n);let s=Zd(a,e.drawings??[]),d=u=>e.drawings?.find(f=>Math.abs(f.advanceStart-u)<.001||Math.abs(f.advanceEnd-u)<.001),c=iP(e,s.left,s.right,t,r,o,{left:d(s.left),right:d(s.right)});if(c)return c}if(i){let s=ME(i,Math.max(i.box.x,Math.min(t,i.box.x+i.box.width)),r),d=et(e).find(f=>f.paragraphId===i.range.paragraphId),c=hp(e,d),u=Math.min(s.offset,nh(r.layout,c));return u===s.offset?s:{...s,offset:u,x:uo(e,u,r.measurer,d).x}}if(t<=e.contentX)return {offset:e.range.start,x:e.contentX,withinSpan:false};let l=Zd(a,e.drawings??[]).right;if(t>=l)return RX(e,l,r);for(let s of a)if(t>=s.box.x&&t<s.box.x+s.box.width)return ME(s,t,r);for(let s of e.drawings??[])if(t>=s.advanceStart&&t<s.advanceEnd)return JP(s,t,n);return lP(e,a,t,r)}function RX(e,t,n){let r=nh(n.layout,e);if(r===e.range.end)return {offset:r,x:t,withinSpan:false};for(let o=e.spans.length-1;o>=0;o-=1){let a=e.spans[o];if(r<a.range.start)continue;let i=r-a.range.start,l=n.measurer?mf(a,i,n.measurer):a.box.width*(a.range.end>a.range.start?i/(a.range.end-a.range.start):0);return {offset:r,x:a.box.x+l,withinSpan:false}}return {offset:r,x:t,withinSpan:false}}function nh(e,t){let n=t.range.end;return n>t.range.start&&FE(t,n-1)===chunkFIJZIQXA_cjs.mb?n-1:ff(e).lastLineIdOfParagraph.get(t.range.paragraphId)===t.id?n:n>t.range.start&&FE(t,n-1)===`
25
- `?n-1:n}function FE(e,t){for(let n of e.spans)if(!(t<n.range.start||t>=n.range.end))return n.text.length!==n.range.end-n.range.start?null:n.text[t-n.range.start]??null;return null}var OE=new WeakMap,CE=new WeakMap;function IE(e){let t=ap(),n=OE.get(e);if(n&&n.epoch===t)return n.boundaries;let r=[0];for(let o of bt(e.text))r.push(o.utf16To);return r[r.length-1]!==e.text.length&&r.push(e.text.length),OE.set(e,{epoch:t,boundaries:r}),r}function mf(e,t,n){let r=e.caretEdges;if(r&&t>=0&&t<r.length)return r[t];if(e.style.shaping)return OB(e,t,n);let o=CE.get(n);o||(o=new WeakMap,CE.set(n,o));let a=o.get(e);a||(a=new Map,o.set(e,a));let i=a.get(t);if(i!==void 0)return i;let l=t<=0?0:rt(e.text.slice(0,t),Be(e.style,e.fontSlot),n),s=e.lineEndWhitespace?Math.min(l,e.box.width):l;return a.set(t,s),s}function rR(e){return e.text===" "||e.projected?true:e.text.length!==e.range.end-e.range.start}function yo(e,t,n){let r=e.range.end-e.range.start;if(r<=0)return e.box.x;let o=Math.max(0,Math.min(t-e.range.start,r)),a=l=>e.box.x+(e.style.shaping?.direction==="rtl"?e.box.width-l:l),i=e.caretEdges;return i&&o<i.length?e.box.x+i[o]:!n||rR(e)?a(e.box.width*(o/r)):a(mf(e,o,n))}function uo(e,t,n,r){let o=th(e,t,r);if(o)return {x:Vl(o,t>o.start),y:o.y,height:o.height};let a=r?r.spans:e.spans;if(a.length===0){let d=e.leading??0,c=Math.max(0,e.box.height-d-(e.trailingSpacing??0));if(c<=0&&e.box.height<=0){let u=Math.max(0,e.baseline);return {x:e.contentX,y:e.box.y-u,height:u}}return {x:e.contentX,y:e.box.y+d,height:c}}let i=a[0];for(let d=0;d<a.length;d+=1){let c=a[d];if(t>c.range.start&&t<c.range.end){i=c;break}if(t===c.range.end){let u=a[d+1];if(u?.range.start===t&&c.style.shaping&&u.style.shaping){i=u;break}let f=c.text===chunkFIJZIQXA_cjs.mb&&c.box.width===0;if(u&&u.range.start===t&&(rR(c)||f)){i=u;break}if(u&&u.range.start===t){let m=Bt(Qr(c.text)??0)||Bt(u.text.codePointAt(0)??0),g=u.box.x-(c.box.x+c.box.width)-(u.wrapAdvanceBefore??0);if(c.text.endsWith(" ")&&g>.25||m&&g>.001){i=u;break}}i=c;}else if(t>c.range.end)i=c;else if(t===c.range.start&&!a.some(u=>u.range.paragraphId===c.range.paragraphId&&u.range.end===t&&u.range.start<t)){i=c;break}}let l=yo(i,t,n),s=n?.lineMetrics(Be(i.style,i.fontSlot));return !s||s.height<=0?{x:l,y:e.box.y,height:e.box.height}:{x:l,y:e.box.y+e.baseline-s.baseline-li(i.style),height:s.height}}function ME(e,t,n){let r=e.style.shaping?.direction==="rtl",o=r?e.box.x+e.box.width-t:t-e.box.x,a=p=>e.box.x+(r?e.box.width-p:p),i=e.range.end-e.range.start;if(i<=0||rR(e)){let p=o>e.box.width/2;return {offset:p?e.range.end:e.range.start,x:a(p?e.box.width:0),withinSpan:true}}if(!n.measurer){let p=Math.max(0,Math.min(1,o/Math.max(e.box.width,Number.EPSILON))),h=Math.round(p*i),y=IE(e),b=y[0],x=Number.POSITIVE_INFINITY;for(let R of y){let P=Math.abs(R-h);P<x&&(x=P,b=R);}return {offset:e.range.start+b,x:a(e.box.width*(b/i)),withinSpan:true}}let l=IE(e),s=1,d=l.length-1;for(;s<d;){let p=s+d>>1;mf(e,l[p],n.measurer)<o?s=p+1:d=p;}let c=l[s],u=l[s-1],f=mf(e,c,n.measurer),m=mf(e,u,n.measurer),g=o-m<=f-o;return {offset:e.range.start+(g?u:c),x:a(g?m:f),withinSpan:true}}function BE(e,t,n,r){if(e.length===0)return null;for(let i of e){let l=n(i);if(t>=l&&t<l+r(i))return i}let o=e[0],a=Number.POSITIVE_INFINITY;for(let i of e){let l=n(i),s=t<l?l-t:t-(l+r(i));s<a&&(a=s,o=i);}return o}function wX(e,t,n,r){return {tableId:t.tableId,rowId:n.id,cellId:r.id,rowIndex:ff(e).rowIndexById.get(n.id)??0,gridColumn:r.gridColumn,gridSpan:r.gridSpan}}function kX(e,t,n,r){let o=e.rows.filter(d=>!d.isHeaderRepeat),a=o.length>0?o:e.rows,i=[],l=BE(a,t.y,d=>d.box.y,d=>d.box.height);if(l){let d=BE(l.cells,t.x,c=>c.box.x,c=>c.box.width);d&&i.push(TX(n,l,d));}let s=[];for(let d of a)for(let c of d.cells)c.blocks.length!==0&&(i.some(u=>u.cell===c)||s.push({entry:{row:d,cell:c},score:rh(c.box,t,n.verticalWeight)}));s.sort((d,c)=>d.score-c.score);for(let{row:d,cell:c}of [...i,...s.map(u=>u.entry)]){let u=wX(n.layout,e,d,c),f=c.textDirection==="btLr"?PE(t,c.box):t,m=Yl(c.blocks,f,n,u);if(m)return m}return null}function TX(e,t,n){return n.blocks.length>0?{row:t,cell:n}:ff(e.layout).mergeOriginOf.get(n)??{row:t,cell:n}}function AE(e,t){let n=t.paintBounds;return n.width<=0||n.height<=0||t.accessibility.hidden?null:Object.freeze({pageIndex:e,x:n.x,y:n.y,width:n.width,height:n.height,record:t})}function vX(e,t,n){for(let r of t.lines)for(let o of r.drawings??[])if(o.drawingNodeId===n)return AE(e,o);return null}function NE(e,t,n){if(t.kind==="paragraph")return vX(e,t,n);for(let r of t.rows)for(let o of r.cells)for(let a of o.blocks){let i=NE(e,a,n);if(i)return i}return null}function LE(e,t,n){for(let r of t){let o=NE(e,r,n);if(o)return o}return null}function Rfe(e,t){for(let n of e.pages){for(let o of n.anchoredDrawings??[])if(o.drawingNodeId===t)return AE(n.index,o);let r=LE(n.index,n.fragments,t);if(r)return r;for(let o of [n.header,n.footer]){if(!o)continue;for(let i of o.anchoredDrawings??[]){if(i.drawingNodeId!==t)continue;let l=i.paintBounds;return l.width<=0||l.height<=0||i.accessibility.hidden?null:Object.freeze({pageIndex:n.index,x:o.box.x+l.x-n.contentBox.x,y:o.box.y+l.y-n.contentBox.y,width:l.width,height:l.height,record:i})}let a=LE(n.index,o.fragments,t);if(a){let i=a.record.paintBounds;return Object.freeze({pageIndex:n.index,x:n.header?.box.x===o.box.x||n.footer?.box.x===o.box.x?o.box.x+i.x-n.contentBox.x:a.x,y:o.box.y+i.y-n.contentBox.y,width:a.width,height:a.height,record:a.record})}}}return null}function qd(e,t,n,r,o=false){let a=r?r.spans:e.spans,i=o?IX(e,a,t,n,r):null;if(i!==null)return i;let l=th(e,t,r);if(l)return Vl(l,t>l.start);let s=r?r.spans[0]?.box.x??e.contentX:e.contentX;for(let d of a){if(t<=d.range.start)return d.style.shaping?yo(d,d.range.start,n):d.box.x;if(t>=d.range.end){s=d.style.shaping?yo(d,d.range.end,n):d.box.x+d.box.width;continue}return yo(d,t,n)}return s}function oR(e){e.sort((n,r)=>n.x-r.x);let t=[];for(let n of e){let r=t.at(-1);r&&n.x<=r.x+r.width+.001?t[t.length-1]={x:r.x,width:Math.max(r.x+r.width,n.x+n.width)-r.x}:t.push(n);}return t}var DE=new WeakMap,FX=/^[\p{Control}\p{Default_Ignorable_Code_Point}]+$/u,OX=/[\p{Letter}\p{Number}\p{Punctuation}\p{Symbol}]/u;function CX(e,t,n,r){if(FX.test(e.text.slice(t-e.range.start,n-e.range.start)))return null;if(e.style.shaping&&r&&e.text.length<=eh&&e.text.length===e.range.end-e.range.start){let o=DE.get(e);o||(o=bt(e.text),DE.set(e,o));let a=s=>{let d=0,c=o.length;for(;d<c;){let u=Math.floor((d+c)/2);o[u].utf16To<=s?d=u+1:c=u;}return o[d]},i=a(t-e.range.start),l=a(n-e.range.start-1);if(i&&l){t=e.range.start+i.utf16From,n=e.range.start+l.utf16To;let s=yo(e,e.range.start+l.utf16From,r);if(OX.test(l.text)&&yo(e,n,r)===s){let d=n+1,c=e.range.end;for(;d<c;){let u=Math.floor((d+c)/2);yo(e,u,r)===s?d=u+1:c=u;}n=Math.min(d,e.range.end);}}}return [yo(e,t,r),yo(e,n,r)]}function IX(e,t,n,r,o){let a=(o?.drawings??e.drawings??[]).find(s=>s.start+1===n);if(a)return Vl(a,true);let i=t.find(s=>s.range.end===n&&s.range.start<n);if(!i)return null;let l=t.find(s=>s.range.start===n&&s.range.end>n);return l&&!((l.wrapAdvanceBefore??0)>0)?null:i.style.shaping?yo(i,n,r):i.box.x+i.box.width}function Jd(e,t,n,r,o){let a=o?.spans??e.spans;if(!a.some(l=>l.style.shaping!==void 0)){let l=qd(e,t,r,o),s=qd(e,n,r,o,n>t);return [{x:Math.min(l,s),width:Math.abs(s-l)}]}let i=[];for(let l of o?.drawings??e.drawings??[])l.start<t||l.start>=n||i.push({x:l.advanceStart,width:l.advanceEnd-l.advanceStart});for(let l of a){let s=Math.max(t,l.range.start),d=Math.min(n,l.range.end);if(s>=d)continue;let c=CX(l,s,d,r);if(!c)continue;let[u,f]=c;i.push({x:Math.min(u,f),width:Math.abs(f-u)});}return oR(i)}function _E(e,t,n,r){if(r.preferredLineId===void 0)return null;for(let{line:o,pageIndex:a,clipBox:i}of n){if(o.id!==r.preferredLineId||r.preferredPageIndex!==void 0&&a!==r.preferredPageIndex)continue;let l=Dn(o,t.paragraphId);if(!l||t.offset<l.start||t.offset>l.end)continue;let s={...l,spans:l.spans.filter(c=>c.text!==`
26
- `&&c.text!==chunkFIJZIQXA_cjs.mb||c.box.width!==0)},d=ir({...uo(o,t.offset,r.measurer,s),width:0},i);if(d)return Bi(e,{position:t,x:d.x,y:d.y,height:d.height,lineId:o.id,pageIndex:a})}return null}function jE(e,t,n){let r=hn(e,t.range.paragraphId)??[],o=false;for(let a of r){if(a.line===t){o=true;continue}if(o&&a.line.range.start===n)return true}return false}function aR(e,t,n){let r=hn(e,t.range.paragraphId),o=r.findIndex(i=>i.line===t),a=r[o+1]?.line;return o>=0&&a!==void 0&&a!==t&&a.range.start===n}function iR(e,t,n,r){for(let{projected:o,range:a}of e.spans)if(!(!o||a.paragraphId!==t||a.start>=a.end)&&(r==="end"?a.end:a.start)===n)return a;return null}var HE=new WeakMap;function MX(e,t){let n=HE.get(e);if(!n){n=new Map;for(let[r,o]of e.entries())n.has(o.line)||n.set(o.line,r);HE.set(e,n);}return n.get(t)??-1}function WE(e,t,n,r,o,a){let i=hn(e,n)??[],l=MX(i,t);if(l<0&&a!==void 0&&(i=dR(e,a,n),l=i.findIndex(d=>d.line===t)),l<0)return false;let s=i[0].line.id;for(let d=l+o;d>=0&&d<i.length;d+=o){let c=i[d].line;if(o===1&&c.id===s)return false;let u=Dn(c,n);if(u){if(o===1?u.start>=r.end:u.end<=r.start)return false;if(iR(c,n,r.end,"end")?.start===r.start)return true}if(c.id===s)return false}return false}function lR(e,t,n,r,o){let a=iR(t,n,r,"end");return a!==null&&WE(e,t,n,a,1,o)}function sR(e,t,n,r,o){let a=iR(t,n,r,"start");return a!==null&&WE(e,t,n,a,-1,o)}function zE(e,t,n){for(let{line:r}of hn(e,t)??[])if(r.range.start===n&&r.drawings?.some(o=>o.start===n))return r;return null}function VE(e,t,n){for(let r of n?n.spans:e.spans)if(!(t<=r.range.start||t>=r.range.end)&&(r.projected||r.text.length!==r.range.end-r.range.start))return true;return false}function BX(e){let t=e.spans[e.spans.length-1]?.text;return t===`
27
- `||t===chunkFIJZIQXA_cjs.mb}function pf(e,t){let n=e.spans[e.spans.length-1];return !n||!BX(e)?false:n.range.start<t&&n.range.end===t}function GE(e,t){if(t.end-t.start!==1||!e.drawings?.some(n=>n.start===t.start))return false;for(let n of t.spans)if(n.range.end>n.range.start)return false;return true}function dR(e,t,n){let r=e.pages[t];if(!r)return [];let o=[];for(let a of Gt(r,true))if(a.paragraphId===n)for(let i of a.lines)o.push({line:i,pageIndex:t,...a.clipToBox?{clipBox:a.box}:{}});return o}function LX(e,t,n){for(let{line:r}of Ju(e).get(t)??[])if(r.id===n)return r;return null}function cR(e,t,n,r,o){let a=o.locate(t,r);if(!a)return null;let i=LX(e,t.paragraphId,a.lineId);if(!i||et(i).length!==1)return null;let l=Dn(i,t.paragraphId);if(!l||(n<0?l.spans[0]:l.spans.at(-1))?.projected)return null;let d=n<0?l.start:l.end;n>0&&d>l.start&&pf(i,d)&&(d-=1);let c={paragraphId:t.paragraphId,offset:d};if(!o.hasStop(c))return null;let u=o.locate(c,i.id);return !u||u.lineId!==i.id||o.locate(c)?.lineId!==i.id&&!(n>0&&d===l.end)?null:{position:c,lineId:i.id}}function KE(e,t,n){if(t===void 0)return null;let r=n.locate(e),o=n.locate(e,t);if(!r||!o||o.lineId!==t||r.lineId===t||e.offset===0)return null;let a={paragraphId:e.paragraphId,offset:e.offset-1},i=n.locate(a,t);return i&&i.lineId===t?{position:a,x:o.x}:null}function $E(e,t,n,r){let o=r.locate(t);if(!o)return null;let a=cR(e,t,1,o.lineId,r);if(!a||a.position.offset<=t.offset||a.lineId!==o.lineId)return null;let i=r.locate(a.position);if(!i||i.lineId===a.lineId)return null;let l=r.locate(a.position,a.lineId);return l&&Math.abs(l.x-n)<Math.abs(o.x-n)?a:null}function UE(e,t,n){let r;for(let{pageIndex:o}of e)(o-t)*n<=0||(r===void 0||(o-r)*n<0)&&(r=o);return r}var YE=new WeakMap;function uR(e,t){let n=YE.get(e);if(n||YE.set(e,n=new Map),n.has(t))return n.get(t);let r=new Set([t]),o=new Map,a=new Map,i=new Map;for(let c of r){let u;for(let f of hn(e,c)){let m=f.line.id;o.set(m,f),i.has(m)||i.set(m,0);for(let g of et(f.line))r.add(g.paragraphId);if(u&&u!==m){let g=a.get(u);g||a.set(u,g=new Set),g.has(m)||(g.add(m),i.set(m,i.get(m)+1));}u=m;}}if(r.size===1)return n.set(t,null),null;let l=[...o.keys()].filter(c=>i.get(c)===0),s=[];for(let c=0;c<l.length;c++){let u=l[c];s.push(o.get(u));for(let f of a.get(u)??[])i.set(f,i.get(f)-1),i.get(f)===0&&l.push(f);}let d={members:[...r],lines:s};for(let c of r)n.set(c,d);return d}var EX=/[\p{L}\p{N}_'\u2019]/u;function gf(e,t,n,r=AX){let o=i=>{let l=e[i];return l!==void 0&&EX.test(l)},a=Math.max(0,Math.min(t,e.length));if(n===-1){for(;a>0&&!o(a-1);)if(a-=1,r.has(a))return a;for(;a>0&&o(a-1);)if(a-=1,r.has(a))return a;return a}for(;a<e.length&&!o(a);)if(a+=1,r.has(a))return a;for(;a<e.length&&o(a);)if(a+=1,r.has(a))return a;return a}var AX=new Set;var XE=new WeakMap;function hf(e,t){let n=XE.get(e);if(n||XE.set(e,n=new Map),!n.get(t.lineId)?.has(t.position.paragraphId)){let r=hn(e,t.position.paragraphId)??[],o=r.flatMap(({line:a})=>a.spans).find(a=>a.range.paragraphId===t.position.paragraphId&&a.style.shaping)?.style.shaping?.baseLevel;if(o===void 0&&r.every(({line:a})=>a.spans.length===0&&!a.drawings?.length)){let a=e.pages[r[0]?.pageIndex??-1],i=a&&ga(a).find(l=>l.range.paragraphId===t.position.paragraphId);i&&at(i.props)&&(o=1);}for(let{line:a}of r){let i=a.spans.find(s=>s.range.paragraphId===t.position.paragraphId&&s.style.shaping)?.style.shaping?.baseLevel??o,l=n.get(a.id);l||n.set(a.id,l=new Map),l.set(t.position.paragraphId,i===void 0?void 0:i%2?-1:1);}}return n.get(t.lineId)?.get(t.position.paragraphId)}var ZE=new WeakMap;function mR(e){let t=ZE.get(e);if(t)return t;let n=new Map;for(let o of e){let a=n.get(o.lineId);a||n.set(o.lineId,a=[]),a.push(o);}let r=[...n.keys()];return t={indexes:new Map(e.map((o,a)=>[o,a])),lines:r,lineIndexes:new Map(r.map((o,a)=>[o,a])),groups:new Map([...n].map(([o,a])=>[o,{logical:a,paragraphIds:new Set(a.map(i=>i.position.paragraphId))}]))},ZE.set(e,t),t}function fR(e){return e.visual||(e.visual=[...e.logical].sort((t,n)=>t.x-n.x),e.indexes=new Map(e.visual.map((t,n)=>[t,n]))),e.visual}function Xl(e,t,n,r){let o=e[t],a=r(o);if(a===void 0)return {target:e[t+n],logicalDirection:n};let i=mR(e),l=i.groups.get(o.lineId),d=fR(l)[l.indexes.get(o)+n],c=n*a;if(d)return {target:d,logicalDirection:c};let u=i.lines[i.lineIndexes.get(o.lineId)+c];if(!u)return {logicalDirection:c};let f=i.groups.get(u),m=[...l.paragraphIds].some(h=>f.paragraphIds.has(h)),g=m?fR(f):f.logical;return {target:(m?n:c)===1?g[0]:g.at(-1),logicalDirection:c}}function yf(e,t,n,r){let o=mR(e).groups.get(t.lineId),a=r(t),i=a===void 0?o.logical:fR(o);return n*(a??1)===-1?i[0]:i.at(-1)}function pR(e,t,n,r,o,a){let i=t[n];if(o(i)===void 0)return gf(e,i.position.offset,r,a);let l=mR(t).indexes,s=i,d=false;for(let c=0;c<t.length;c++){let u=Xl(t,l.get(s),r,o).target;if(!u||u.position.paragraphId!==i.position.paragraphId)break;if(Math.abs(l.get(u)-l.get(s))===1){let m=/[\p{L}\p{N}\p{M}_'\u2019]/u.test(e.slice(Math.min(s.position.offset,u.position.offset),Math.max(s.position.offset,u.position.offset)));if(d&&!m)break;d||=m;}else if(d)break;if(s=u,a.has(s.position.offset))break}return s.position.offset}function Qd(e,t,n,r){let o,a;for(let l of e)l.position.paragraphId===t.paragraphId&&(l.position.offset<t.offset&&(!o||l.position.offset>o.position.offset)&&(o=l),l.position.offset>t.offset&&(!a||l.position.offset<a.position.offset)&&(a=l));if(o&&a&&o.lineId===a.lineId&&o.x!==a.x)return n*(a.x<o.x?-1:1);let i=o??a;return n*(i?r(i)??1:1)}function gR(e){let t=new Map;for(let n=0;n<e.length;n+=1){let r=e[n].position,o=t.get(r.paragraphId);o||(o=new Map,t.set(r.paragraphId,o)),o.has(r.offset)||o.set(r.offset,n);}return {stops:e,index:t}}var bf=class{#e=new WeakMap;#t=new WeakMap;get(t,n,r,o){let a;if(!r)a=this.#e.get(t)??new Map,this.#e.has(t)||this.#e.set(t,a);else {let s=this.#t.get(t);s||(s=new WeakMap,this.#t.set(t,s)),a=s.get(r)??new Map,s.has(r)||s.set(r,a);}let i=a.get(n);if(i)return i;let l=o();return a.set(n,l),l}};function QE(e,t){for(let n=e.length-1;n>=0;n--)if(e[n].position.paragraphId===t)return e[n]}function qE(e){let t=[],n=new Set;for(let r of e)n.has(r.lineId)||(n.add(r.lineId),t.push(r.lineId));return t}function JE(e,t,n){let r=null;for(let o of e)o.lineId===t&&(!r||Math.abs(o.x-n)<Math.abs(r.x-n))&&(r=o);return r}function xf(e,t){let n=null;for(let r of e)r.position.paragraphId===t.paragraphId&&(!n||Math.abs(r.position.offset-t.offset)<Math.abs(n.position.offset-t.offset))&&(n=r);return n}function hR(e,t,n){let r=null;for(let o of e){if(o.position.paragraphId!==t.paragraphId)continue;let a=o.position.offset;n===1?a>t.offset&&(!r||a<r.position.offset)&&(r=o):a<t.offset&&(!r||a>r.position.offset)&&(r=o);}return r}function eA(e,t,n,r=()=>{}){let o=n.index.get(e.paragraphId)?.get(e.offset),a=o===void 0?xf(n.stops,e):n.stops[o];return a?yf(n.stops,a,t,r).position:null}function tA(e,t,n,r,o,a=()=>{}){let i=o(e.paragraphId),l=i.index.get(e.paragraphId)?.get(e.offset),s=t;if(l===void 0){s=Qd(i.stops,e,t,a);let f=hR(i.stops,e,s);if(f)return {position:f.position,desiredX:null}}else {let f=Xl(i.stops,l,t,a);if(s=f.logicalDirection,f.target)return {position:f.target.position,desiredX:null}}let d=n[r+s];if(!d)return {position:e,desiredX:null};let c=o(d).stops,u=s===-1?c[c.length-1]:c[0];return u?{position:u.position,desiredX:null}:null}function nA(e,t,n){let r=e===-1?t[0]:t[t.length-1];if(!r)return null;let o=n(r).stops;return (e===-1?o[0]:o[o.length-1])?.position??null}function rA(e,t,n,r,o,a){let i=a(e.paragraphId),l=i.index.get(e.paragraphId)?.get(e.offset),s=l===void 0?xf(i.stops,e):i.stops[l];if(!s)return null;let d=n??s.x,c=qE(i.stops),u=c.indexOf(s.lineId),f=c[u+t];if(f){let g=JE(i.stops,f,d);return g?{position:g.position,desiredX:d}:null}for(let g=o+t;g>=0&&g<r.length;g+=t){let p=a(r[g]),h=qE(p.stops),y=t===-1?h[h.length-1]:h[0];if(!y)continue;let b=JE(p.stops,y,d);if(b)return {position:b.position,desiredX:d}}let m=t===-1?i.stops[0]:i.stops[i.stops.length-1];return m?{position:m.position,desiredX:d}:null}function NX(e,t){let n=t.pageIndex!==void 0&&e.pages[t.pageIndex]?t.pageIndex:0;return eR(e,n,t)?.caret??null}function DX(e,t){let n=t.pageIndex!==void 0&&e.pages[t.pageIndex]?t.pageIndex:0;return tR(e,n,t)}function Eh(e,t,n,r,o,a,i){for(let l of et(n))a!==void 0&&l.paragraphId!==a||_X(e,t,n,l,r,o,i);}function _X(e,t,n,r,o,a,i){let l=et(n).length>1,s=oP(t,r.paragraphId),d=u=>r.spans.some(f=>f.range.start<=u&&u<=f.range.end),c=r.start>0||sR(t,n,r.paragraphId,r.start);for(let u=r.start;u<=r.end;u+=1){if(u===r.end&&u>r.start&&(!l&&(pf(n,u)&&jE(t,n,u)||aR(t,n,u))||lR(t,n,r.paragraphId,u))||u===r.start&&c&&e.length>0&&QE(e,r.paragraphId)?.position.offset===u||VE(n,u,r)||TB(s,u)&&!d(u))continue;let f=ir({x:qd(n,u,a,r),y:n.box.y,width:0,height:n.box.height},i);f&&e.push(Bi(t,{position:{paragraphId:r.paragraphId,offset:u},x:f.x,y:f.y,height:f.height,lineId:n.id,pageIndex:o}));}}function dA(e,t,n,r,o){for(let a of t){if(a.kind==="paragraph"){for(let i of a.lines)Eh(r,e,i,n,o,void 0,a.clipToBox?a.box:void 0);continue}for(let i of a.rows)if(!i.isHeaderRepeat)for(let l of i.cells)dA(e,l.blocks,n,r,o);}}var HX=new bf;function jX(e,t){let n=[];for(let r of e.pages)for(let o of Gt(r))for(let a of o.lines)Eh(n,e,a,r.index,t,void 0,o.clipToBox?o.box:void 0);return n}var WX=new bf;function yR(e,t,n){let r=uR(e,t);return r?WX.get(e,r.members[0],n,()=>{let o=[];for(let{line:a,pageIndex:i,clipBox:l}of r.lines)Eh(o,e,a,i,n,void 0,l);return gR(o)}):Sf(e,t,n)}function Sf(e,t,n){return HX.get(e,t,n,()=>{let r=[];for(let{line:o,pageIndex:a,clipBox:i}of hn(e,t)??[])Eh(r,e,o,a,n,t,i);return gR(r)})}function wme(e,t,n,r){if(!e.pages[t])return [];let o=[];return dA(e,n,t,o,r),o}function zX(e){return e?typeof e.measure=="function"?{measurer:e}:e:{}}function cA(e,t,n){let r=zX(n),o=hn(e,t.paragraphId)??[],a=r.preferredPageIndex,i=a===void 0?[]:dR(e,a,t.paragraphId),l=new Set(o.map(m=>m.line.id)),s=i.filter(m=>!l.has(m.line.id)),d=s.length>0?[...o,...s]:o,c=_E(e,t,d,r);if(c)return c;let u=a===void 0?d:[...d].sort((m,g)=>{let p=m.pageIndex===a?0:1,h=g.pageIndex===a?0:1;return p-h}),f=null;for(let{line:m,pageIndex:g,clipBox:p}of u){let h=Dn(m,t.paragraphId);if(!h||t.offset<h.start||t.offset>h.end)continue;if(t.offset===h.end&&et(m).length===1&&(pf(m,t.offset)||t.offset>h.start&&(GE(m,h)||aR(e,m,t.offset)))){f??={line:m,pageIndex:g,clipBox:p};continue}if(t.offset===h.end&&t.offset>h.start&&(zE(e,t.paragraphId,t.offset)||lR(e,m,t.paragraphId,t.offset,g))||t.offset===h.start&&sR(e,m,t.paragraphId,t.offset,g))continue;let y=ir({...uo(m,t.offset,r.measurer,h),width:0},p);if(y)return Bi(e,{position:t,x:y.x,y:y.y,height:y.height,lineId:m.id,pageIndex:g})}if(f){let m=ir({...uo(f.line,t.offset,r.measurer,Dn(f.line,t.paragraphId)),width:0},f.clipBox);return m?Bi(e,{position:t,x:m.x,y:m.y,height:m.height,lineId:f.line.id,pageIndex:f.pageIndex}):null}return null}function kme(e){return Xb(e)}var oA=new WeakMap;function uA(e){let t=oA.get(e);return t||(t=new Map,e.forEach((n,r)=>{t.has(n)||t.set(n,r);}),oA.set(e,t)),t}function Lh(e,t){return uA(e).get(t)??-1}function Ah(e,t){if(e.anchor.paragraphId===e.head.paragraphId)return e.anchor.offset<=e.head.offset?{from:e.anchor,to:e.head}:{from:e.head,to:e.anchor};let n=Lh(t,e.anchor.paragraphId),r=Lh(t,e.head.paragraphId);return n===-1||r===-1?null:n<r||n===r&&e.anchor.offset<=e.head.offset?{from:e.anchor,to:e.head}:{from:e.head,to:e.anchor}}function aA(e,t){let n=[],r=new Set;for(let{line:a}of hn(e,t)??[]){let i=Dn(a,t);if(i){for(let l of i.spans){if(l.range.end===l.range.start)continue;let s=`${l.range.start}:${l.range.end}`;if(r.has(s))continue;r.add(s);let d=l.range.end-l.range.start,c=l.text.length===d?l.text:l.text.slice(0,d).padEnd(d," ");n.push({start:l.range.start,text:c});}for(let l of i.drawings){let s=l.start,d=s+1,c=`${s}:${d}`;r.has(c)||(r.add(c),n.push({start:s,text:"\uFFFC"}));}}}n.sort((a,i)=>a.start-i.start);let o="";for(let a of n)a.start>o.length&&(o+=" ".repeat(a.start-o.length)),o=o.slice(0,a.start)+a.text;return o}function iA(e,t){let n=new Set;for(let{line:r}of hn(e,t)??[]){let o=Dn(r,t);if(o)for(let a of o.spans)a.range.end!==a.range.start&&a.revisions?.some(i=>i.kind==="delete"||i.kind==="moveFrom")&&(n.add(a.range.start),n.add(a.range.end));}return n}function lA(e,t,n){return {locate:(r,o)=>cA(e,r,{...t?{measurer:t}:{},...o!==void 0?{preferredLineId:o}:{}}),hasStop:({paragraphId:r,offset:o})=>n?n.some(a=>a.position.paragraphId===r&&a.position.offset===o):Sf(e,r,t).index.get(r)?.has(o)??false}}function sA(e,t,n,r){let o=Ks(e),a=gl(e),i=a.get(t.paragraphId);if(i===void 0)return null;let l=uR(e,t.paragraphId),s=yR(e,t.paragraphId,r),d=c=>hf(e,c);if(l){let c=s.index.get(t.paragraphId)?.get(t.offset),u=c===void 0?Qd(s.stops,t,n,d):Xl(s.stops,c,n,d).logicalDirection,f=l.members.map(m=>a.get(m)).filter(m=>m!==void 0);i=u===-1?Math.min(...f):Math.max(...f);}return tA(t,n,o,i,c=>c===t.paragraphId?s:Sf(e,c,r),d)}function Tme(e,t,n,r=null,o={}){let a=d=>hf(e,d);if(!o.stops&&(n==="left"||n==="right"))return sA(e,t,n==="left"?-1:1,o.measurer);if(!o.stops&&(n==="wordLeft"||n==="wordRight")){let d=n==="wordLeft"?-1:1,c=yR(e,t.paragraphId,o.measurer),u=c.index.get(t.paragraphId)?.get(t.offset),f=aA(e,t.paragraphId),m=iA(e,t.paragraphId),g=u===void 0?gf(f,t.offset,Qd(c.stops,t,d,a),m):pR(f,c.stops,u,d,a,m);return g===t.offset?sA(e,t,d,o.measurer):{position:{paragraphId:t.paragraphId,offset:g},desiredX:null}}if(n==="lineStart"||n==="lineEnd"){let d=lA(e,o.measurer,o.stops),u=cR(e,t,n==="lineStart"?-1:1,o.lineId,d);if(u)return {...u,desiredX:null}}if(!o.stops&&(n==="lineStart"||n==="lineEnd")){let d=eA(t,n==="lineStart"?-1:1,yR(e,t.paragraphId,o.measurer),a);return d?{position:d,desiredX:null}:null}if(!o.stops&&(n==="documentStart"||n==="documentEnd")){let d=nA(n==="documentStart"?-1:1,Ks(e),c=>Sf(e,c,o.measurer));return d?{position:d,desiredX:null}:null}if(!o.stops&&(n==="up"||n==="down")){let d=gl(e).get(t.paragraphId);if(d===void 0)return null;let c=lA(e,o.measurer),u=KE(t,o.lineId,c),f=rA(u?.position??t,n==="up"?-1:1,r??u?.x??null,Ks(e),d,g=>Sf(e,g,o.measurer)),m=f&&$E(e,f.position,f.desiredX,c);return m?{...m,desiredX:f.desiredX}:f}let i=o.stops??jX(e,o.measurer);if(i.length===0)return null;let l=i.findIndex(d=>d.position.paragraphId===t.paragraphId&&d.position.offset===t.offset);if(l===-1){if(n==="left"||n==="right"){let c=hR(i,t,Qd(i,t,n==="left"?-1:1,a))??xf(i,t);return c?{position:c.position,desiredX:null}:null}let d=xf(i,t);if(!d)return null;l=i.indexOf(d);}let s=i[l];switch(n){case "left":case "right":return {position:(Xl(i,l,n==="left"?-1:1,c=>hf(e,c)).target??s).position,desiredX:null};case "lineStart":return {position:yf(i,s,-1,a).position,desiredX:null};case "lineEnd":return {position:yf(i,s,1,a).position,desiredX:null};case "wordLeft":case "wordRight":{let d=aA(e,t.paragraphId),c=pR(d,i,l,n==="wordLeft"?-1:1,a,iA(e,t.paragraphId));return c===t.offset?{position:(Xl(i,l,n==="wordLeft"?-1:1,f=>hf(e,f)).target??s).position,desiredX:null}:{position:{paragraphId:t.paragraphId,offset:c},desiredX:null}}case "documentStart":return {position:i[0].position,desiredX:null};case "documentEnd":return {position:i[i.length-1].position,desiredX:null};case "pageUp":case "pageDown":{let d=r??s.x,c=n==="pageUp"?-1:1,u=UE(i,s.pageIndex,c),f=i.filter(p=>p.pageIndex===u);if(f.length===0)return {position:(n==="pageUp"?i[0]:i[i.length-1]).position,desiredX:d};let m=f[0],g=Number.POSITIVE_INFINITY;for(let p of f){let h=Math.abs(p.y-s.y)*1e3+Math.abs(p.x-d);h<g&&(g=h,m=p);}return {position:m.position,desiredX:d}}case "up":case "down":{let d=r??s.x,c=[],u=new Set;for(let h of i)u.has(h.lineId)||(u.add(h.lineId),c.push(h.lineId));let f=c.indexOf(s.lineId),m=n==="up"?f-1:f+1;if(m<0||m>=c.length)return {position:(n==="up"?i[0]:i[i.length-1]).position,desiredX:d};let g=i.filter(h=>h.lineId===c[m]),p=g[0];for(let h of g)Math.abs(h.x-d)<Math.abs(p.x-d)&&(p=h);return {position:p.position,desiredX:d}}default:return null}}function vme(e,t,n){return cA(e,t,n)}function Fme(e,t,n){let r=Ah(t,n);if(!r)return [];if(r.from.paragraphId===r.to.paragraphId&&r.from.offset===r.to.offset)return VX(e,r.from);let o=[];if(r.from.paragraphId===r.to.paragraphId){for(let{line:s}of hn(e,r.from.paragraphId)??[]){let d=Dn(s,r.from.paragraphId);if(!d)continue;let c=hl(e,d,r.from,r.to);if(c)for(let u of d.spans)u.range.end>c.start&&u.range.start<c.end&&o.push(u);}return o}let a=Ju(e),i=Lh(n,r.from.paragraphId),l=Lh(n,r.to.paragraphId);if(i===-1||l===-1)return [];for(let s=i;s<=l;s+=1)for(let{line:d}of a.get(n[s])??[]){let c=Dn(d,n[s]);if(!c)continue;let u=hl(e,c,r.from,r.to,uA(n));if(u)for(let f of c.spans)f.range.end>u.start&&f.range.start<u.end&&o.push(f);}return o}function VX(e,t){let n=null,r=null,o=null;for(let{line:i}of hn(e,t.paragraphId)??[])for(let l of Dn(i,t.paragraphId)?.spans??[]){let{start:s,end:d}=l.range;s<t.offset&&t.offset<=d?n??=l:s===t.offset&&d===s&&l.projected?o??=l:s===t.offset&&(r??=l);}let a=tv(n,r)??n??r??o;return a?[a]:[]}function GX(e,t,n,r){return gA(e,t,n,true,r)}function Vme(e,t,n,r){return gA(e,t,n,false,r)}var fA=new WeakMap,mA=new WeakMap;function $X(e){let t=fA.get(e);if(t)return t;let n=new Map;for(let r of e.pages)for(let o of Gt(r))for(let a of o.lines)for(let i of et(a)){let l=n.get(i.paragraphId);if(!l||i.end>l.end||i.end===l.end&&i.start>=l.start){let{end:s,start:d}=i;n.set(i.paragraphId,{end:s,start:d,lineId:a.id});}}return fA.set(e,n),n}function pA(e){let t=mA.get(e);if(t)return t;let n=new Map(e.map((r,o)=>[r,o]));return mA.set(e,n),n}function UX(e){return Math.max(3,Math.min(8,e*.25))}function gA(e,t,n,r,o){if(t.anchor.paragraphId===t.head.paragraphId&&t.anchor.offset===t.head.offset)return [];let a=Ah(t,n);if(!a)return [];let i=pA(n),l=i.get(a.from.paragraphId),s=i.get(a.to.paragraphId),d=$X(e),c=[];for(let u of e.pages)for(let f of Gt(u))for(let m of f.lines){let g=Gs(m);for(let[p,h]of g.entries()){let y=hl(e,h,a.from,a.to),b=i.get(h.paragraphId),x=d.get(h.paragraphId),R=l!==void 0&&s!==void 0&&b!==void 0&&b>=l&&b<s&&x?.lineId===m.id&&x.end===h.end&&p===g.length-1;if((!r||!y)&&!R)continue;let P=r&&y?Jd(m,y.start,y.end,o,h):[];if(R){let S=UX(Math.max(0,m.box.height-m.leading-(m.trailingSpacing??0))),w=h.spans[0]?.style.shaping?.baseLevel,I=w===void 0?at(f.props):w%2===1,v=qd(m,h.end,o,h),O=Zd(h.spans,h.drawings);O&&h.spans.some(T=>T.style.shaping!==void 0)&&(v=I?O.left:O.right),P.push({x:I?v-S:v,width:S});}for(let S of oR(P)){let w=ir({pageIndex:u.index,...S,y:m.box.y,height:m.box.height},f.clipToBox?f.box:void 0);w&&c.push(uf(e,h.paragraphId,w));}}}return c}function KX(e,t,n,r){let o=new Map;if(t.length===0)return o;for(let a of e.pages)if(!(n&&!n.has(a.index)))for(let i of Gt(a))for(let l of i.lines)for(let s of et(l))for(let d of t){let c=hl(e,s,d.from,d.to);if(!c)continue;let u=o.get(d.key)??[];for(let f of Jd(l,c.start,c.end,r,s)){let m=ir({pageIndex:a.index,...f,y:l.box.y,height:l.box.height},i.clipToBox?i.box:void 0);m&&(u.push(uf(e,s.paragraphId,m)),o.set(d.key,u));}}return o}function Gme(e){return {x:e.contentBox.x,y:e.contentBox.y}}function Li(e,t){return {x:t.x-e.contentBox.x,y:t.y-e.contentBox.y}}function Kme(e,t,n){if(gl(e).has(t))return {x:0,y:0};let r=e.pages[n];if(!r)return {x:0,y:0};let o=a=>an(a).some(i=>i.paragraphId===t);if(r.header&&o(r.header.fragments))return Li(r,r.header.box);if(r.footer&&o(r.footer.fragments))return Li(r,r.footer.box);for(let a of [r.footnotes,r.endnotes])if(a){for(let i of a.notes)if(o(i.fragments))return Li(r,i.box)}return {x:0,y:0}}function $me(e,t,n,r,o){let a=new Map,i=[];for(let d of t){let c=Ah({anchor:d.from,head:d.to},n);c&&i.push({key:d.key,from:c.from,to:c.to});}if(i.length===0)return a;let l=pA(n),s=(d,c,u,f)=>{for(let m of an(d))for(let g of m.lines){for(let p of et(g))for(let h of i){let y=hl(e,p,h.from,h.to,l);if(!y)continue;let b=a.get(h.key)??[];for(let x of Jd(g,y.start,y.end,o,p)){let R=ir({pageIndex:c,...x,y:g.box.y,height:g.box.height},m.clipToBox?m.box:void 0);R&&(b.push({...R,x:R.x+u,y:R.y+f}),a.set(h.key,b));}}}};for(let d of e.pages)if(!(r&&!r.has(d.index))){s(d.fragments,d.index,0,0);for(let c of [d.header,d.footer]){if(!c)continue;let u=Li(d,c.box);s(c.fragments,d.index,u.x,u.y);}for(let c of [d.footnotes,d.endnotes])if(c)for(let u of c.notes){let f=Li(d,u.box);s(u.fragments,d.index,f.x,f.y);}}return a}function ZX(e){let t=Math.max(0,e.leading),n=e.box.height-t-Math.max(0,e.trailingSpacing??0);return n>0?{y:e.box.y+t,height:n}:{y:e.box.y,height:e.box.height}}function yA(e,t){t(e.fragments,null);for(let n of [e.header,e.footer])n&&t(n.fragments,Li(e,n.box));for(let n of [e.footnotes,e.endnotes])for(let r of n?.notes??[])t(r.fragments,Li(e,r.box));}function tpe(e,t,n,r){let o=[];if(t.size===0)return o;let a=(i,l,s)=>{for(let d of an(i))for(let c of d.lines)for(let u of et(c)){let f=t.get(u.paragraphId);if(f)for(let m of f){let g=Math.max(u.start,m.start),p=Math.min(u.end,m.end);if(!(p<=g))for(let h of Jd(c,g,p,r,u)){let y=ir({pageIndex:l,...h,...ZX(c)},d.clipToBox?d.box:void 0);if(!y)continue;let b=s?{...y,x:y.x+s.x,y:y.y+s.y}:uf(e,u.paragraphId,y);o.push({...b,key:m.key});}}}};for(let i of e.pages)n&&!n.has(i.index)||yA(i,(l,s)=>a(l,i.index,s));return o}var Nh=new WeakMap;function bA(e,t){let n=Nh.get(e);n&&Nh.set(t,n);}function qX(e){let t=Nh.get(e);if(t)return t;let n=new Set,r=a=>{for(let i of an(a))for(let l of i.lines)for(let s of et(l))n.add(s.paragraphId);};yA(e,a=>r(a));for(let a of aP(e))r(a.textboxStory.fragments);for(let a of [e.header,e.footer]){if(!a)continue;let i=[...a.anchoredDrawings??[],...an(a.fragments).flatMap(l=>l.lines.flatMap(s=>s.drawings??[]))];for(let l of i)l.textboxStory&&!l.accessibility.hidden&&r(l.textboxStory.fragments);}let o=[...n];return Nh.set(e,o),o}var hA=new WeakMap;function npe(e){let t=hA.get(e);if(t)return t;let n=new Set;for(let r of e.pages)for(let o of qX(r))n.add(o);return hA.set(e,n),n}var Dh=new WeakMap;function SA(e,t){let n=Dh.get(e);n&&Dh.set(t,n);}var _h=new WeakMap,Hh=new WeakMap;function Pf(e,t){let n=Hh.get(e);n&&Hh.set(t,new Map(n));let r=_h.get(e);r&&_h.set(t,r);}function xA(e){let t=Dh.get(e);if(t)return t;let n={paragraphs:new Map,tables:new Map},r=(o,a)=>{for(let i of o){if(i.kind==="paragraph"){if(a)for(let s of ha(i)){let d=n.paragraphs.get(s);(!d||d.tableId.length<a.tableId.length)&&n.paragraphs.set(s,a);}continue}let l=n.tables.get(i.tableId);l||(l={rows:new Set,columns:0},n.tables.set(i.tableId,l)),l.columns=Math.max(l.columns,(i.columnEdges?.length??1)-1);for(let s of i.rows){l.rows.add(s.id);for(let d of s.cells)l.columns=Math.max(l.columns,d.gridColumn+Math.max(1,d.gridSpan)),r(d.blocks,s.isHeaderRepeat?void 0:{tableId:i.tableId,rowId:s.id,columnIndex:d.logicalGridColumn??d.gridColumn});}}};r(e.fragments);for(let o of [e.header,e.footer])o&&r(o.fragments);for(let o of [e.footnotes,e.endnotes])if(o)for(let a of o.notes)r(a.fragments);return Dh.set(e,n),n}function ape(e,t){let n=Hh.get(e);if(n||Hh.set(e,n=new Map),n.has(t))return n.get(t);let r=JX(e,t);return n.size>=32&&n.delete(n.keys().next().value),n.set(t,r),r}function JX(e,t){let n=_h.get(e);if(!n){n=new Map;for(let a of e.pages)for(let[i,l]of xA(a).tables){let s=n.get(i);s||(s={rows:new Map,columns:0},n.set(i,s)),s.columns=Math.max(s.columns,l.columns);for(let d of l.rows)s.rows.has(d)||s.rows.set(d,s.rows.size);}_h.set(e,n);}let r;for(let a of e.pages){let i=xA(a).paragraphs.get(t);i&&(!r||r.tableId.length<i.tableId.length)&&(r=i);}if(!r)return null;let o=n.get(r.tableId);return {tableId:r.tableId,rows:o.rows.size,columns:o.columns,rowIndex:o.rows.get(r.rowId),columnIndex:r.columnIndex}}var RA=new WeakMap;function _C(e,t){RA.set(e,t);}var bR=new WeakMap;function HC(e,t){if(!(!e||!t))for(let n of e.values()){if(n.picBullet||bR.get(n)?.measurer===t)continue;let r=RA.get(n);if(r===void 0)continue;let o=n.markerText.length>0&&!n.markerStyle.hidden?t.lineMetrics(n.markerStyle,n.markerText).baseline:0,a=pd(n,t);bR.set(n,{measurer:t,token:de(["geometry",r,String(a),String(o)])});}}function ec(e){return bR.get(e)?.token??e.cacheToken}function xR(e){return e&&ec(e)}function $d(e){return e?ec(e):""}function QX(e,t,n){if(e.picture||e.text===t.markerText&&e.ordinal===t.ordinal)return e;let{ordinal:r,pieces:o,...a}=e,i=o?Zg(t.markerText,t.markerStyle,e.box,n):void 0;return {...a,text:t.markerText,...t.ordinal===void 0?{}:{ordinal:t.ordinal},...i?{pieces:i}:{}}}function wA(e,t,n){let r=null;for(let o=0;o<e.length;o+=1){let a=e[o],i=a;if(a.kind==="paragraph"){let l=a.marker?t.get(a.paragraphId):void 0,s=l&&a.marker?QX(a.marker,l,n):null;s&&s!==a.marker&&(i={...a,marker:s});}else {let l=null;for(let s=0;s<a.rows.length;s+=1){let d=a.rows[s],c=null;for(let u=0;u<d.cells.length;u+=1){let f=d.cells[u],m=wA(f.blocks,t,n);m!==f.blocks&&(c??=[...d.cells],c[u]={...f,blocks:m});}c&&(l??=[...a.rows],l[s]={...d,cells:c});}l&&(i={...a,rows:l});}i!==a&&(r??=[...e],r[o]=i);}return r??e}var PA=new WeakMap;function jh(e,t,n){if(!t||t.size===0||!n)return e;let r=PA.get(t);r||PA.set(t,r=new WeakMap);let o=null;for(let a=0;a<e.pages.length;a+=1){let i=e.pages[a],l=r.get(i);if(l===void 0){let s=wA(i.fragments,t,n);l=s===i.fragments?i:{...i,fragments:s},r.set(i,l),l!==i&&(r.set(l,l),wB(i,l),KT(i,l),bA(i,l),SA(i,l));}l!==i&&(o??=[...e.pages],o[a]=l);}return o?{...e,pages:o}:e}var SR=1<<18,kA=new WeakMap,eZ=1;function tZ(e){if(e===void 0)return 0;let t=kA.get(e);return t===void 0&&kA.set(e,t=eZ++),t}var TA=new WeakMap;function vA(e){let t=TA.get(e);return t||TA.set(e,t=new WeakMap),t}function nZ(e,t){if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1)if(e[n]!==t[n])return false;return true}function Rf(){return new WeakMap}function Da(e,t,n){if(!n){let d=[],c=false;for(let u of PR(e)){let f=t(u);f&&(c=true),d.push(f);}return c?de(d):""}let r=[],o=false,a,i=[e];for(;i.length>0;){let d=i.pop();if(d!==e&&d.kind==="tableRow"){a??=d;let c=rZ(d,t,n);c.any&&(o=true),r.push(c.framed);continue}if(d.kind==="paragraph"){let c=t(d);c&&(o=true),r.push(de([c]));continue}if("children"in d)for(let c=d.children.length-1;c>=0;c-=1)i.push(d.children[c]);}if(!o)return "";let l=a&&vA(n.rows).get(a);if(l&&nZ(l.pieces,r))return l.token;let s=r.join("");return a&&s.length<=SR&&vA(n.rows).set(a,{pieces:r,token:s}),s}function rZ(e,t,n){let r=tZ(n.scope),o=n.rows.get(e);if(o&&o.scope===r&&o.epoch===n.epoch)return o;let a=[],i=false;for(let s of PR(e)){let d=t(s);d&&(i=true),a.push(d);}let l={scope:r,epoch:n.epoch,framed:de(a),any:i};return l.framed.length<=SR&&n.rows.set(e,l),l}var FA=new WeakMap;function PR(e){let t=FA.get(e);if(t)return t;let n=[],r=[e];for(;r.length>0;){let o=r.pop();if(o!==e&&o.kind==="tableRow"){for(let a of PR(o))n.push(a);continue}if(o.kind==="paragraph"){n.push(o);continue}if("children"in o)for(let a=o.children.length-1;a>=0;a-=1)r.push(o.children[a]);}return (e.kind!=="tableRow"||n.length<=256)&&FA.set(e,n),n}var OA=new WeakMap,oZ=Rf();function RR(e,t,n){if(!t||t.size===0||n!==void 0&&e.kind!=="textValue"&&!AC(e,n))return "";let r=OA.get(e),o=r?.get(t);if(o!==void 0)return o;let a=Da(e,i=>{let l=t.get(i.id);return l?ec(l):""},{rows:oZ,scope:t,epoch:""});return a.length<=SR&&(r||(r=new WeakMap,OA.set(e,r)),r.set(t,a)),a}function MA(e){let t=[];for(let n=0;n<e.length;n+=1){let r=e[n];if(n>0&&t.push("\0;"),t.push(r.localName,"(\0"),r.attributes){let o="";for(let a of Object.keys(r.attributes).sort())t.push(o,a,"=",r.attributes[a]),o="\0,";}t.push("\0)");}return t.join("")}var BA=new WeakMap;function LA(e){BA.set(e,tc(MA(e)));}var aZ=new TextEncoder;function zh(e){return chunkFIJZIQXA_cjs.f(aZ.encode(e))}var iZ=2048,CA=2*1024*1024,wf=new Map,wR=0,lZ;function tc(e){if(e.length===0)return lZ??=zh(e);let t=wf.get(e);if(t)return t.digest;let n=zh(e),r=e.length*2;if(r<=CA){wf.set(e,{digest:n,bytes:r}),wR+=r;for(let[o,a]of wf){if(wf.size<=iZ&&wR<=CA)break;wf.delete(o),wR-=a.bytes;}}return n}function kf(e,t){return `${e}|${t?"drawing":""}`}var sZ=new WeakMap;function kR(e){return e?{nodeDigests:sZ,paragraphKeys:new WeakMap}:{nodeDigests:new Map,paragraphKeys:new Map}}var TR=kR(true);function vR(e,t){if(e.kind==="textValue")return zh(Vh(e));let n=t.nodeDigests.get(e);if(n!==void 0)return n;let r=zh(Vh(e,t));return t.nodeDigests.set(e,r),r}function Ipe(e){for(let t of e)t.kind!=="textValue"&&vR(t,TR);}function dZ(e){for(let t of e.children)if(t.kind!=="textValue")return false;return true}function cZ(e){return dZ(e)||!chunkFIJZIQXA_cjs.rb(e)}var uZ=new Map([chunkFIJZIQXA_cjs.la,chunkFIJZIQXA_cjs.ma,chunkFIJZIQXA_cjs.na,chunkFIJZIQXA_cjs.oa,chunkFIJZIQXA_cjs.pa,chunkFIJZIQXA_cjs.qa,chunkFIJZIQXA_cjs.ra,chunkFIJZIQXA_cjs.sa,chunkFIJZIQXA_cjs.ta,chunkFIJZIQXA_cjs.ua].map((e,t)=>[e,`k${t}`]));function fZ(e){return e===void 0?"":uZ.get(e)??`u${e}`}function Vh(e,t=TR){if(e.kind==="textValue")return de(["text",e.value]);let n=[];for(let o of e.attributes)n.push(de([fZ(o.namespaceUri),o.localName,o.value]));n.sort();let r=[];for(let o of e.children)r.push(o.kind==="textValue"?Vh(o):cZ(o)?de(["child-inline",Vh(o,t)]):de(["child-digest",vR(o,t)]));return de(["element",e.kind,e.localName,e.id,de(n),de(r)])}var mZ=2;function Gh(e){return EA(e,TR)}function EA(e,t){let n=Math.round(e.width*1e3),r=e.drawingToken??"",o=e.projectionToken??"",a=e.exclusionToken??"",i=BA.get(e.properties)??tc(MA(e.properties)),l=vR(e.paragraph,t),s=tc(e.producer),d=tc(r),c=tc(o),u=tc(a),f=t.paragraphKeys.get(e.paragraph),m=f?.entries.findIndex(h=>h.producerIdentity===s&&h.width===n&&h.drawingIdentity===d&&h.projectionIdentity===c&&h.exclusionIdentity===u&&h.propertiesToken===i);if(f&&m!==void 0&&m>=0){let h=f.entries[m];return m!==f.entries.length-1&&(f.entries.splice(m,1),f.entries.push(h)),h.key}let g=`plk:${l}:${s}:${n}:${d}:${c}:${u}:${i}`;f||(f={entries:[]},t.paragraphKeys.set(e.paragraph,f));let p=f.entries.find(h=>h.propertiesToken===i)?.propertiesToken??i;return f.entries.push({producerIdentity:s,width:n,drawingIdentity:d,projectionIdentity:c,exclusionIdentity:u,propertiesToken:p,key:g}),f.entries.length>mZ&&f.entries.shift(),g}function AA(e,t,n,r){if(!e)return;let o=t??new Set;for(let a of n)o.add(a);for(let a of r)for(let i of sF(a)??[])for(let l of i)o.add(l);t||e.retain(o);}var pZ=8,gZ=8,hZ=Object.freeze({softBytes:16*1024*1024,hardBytes:128*1024*1024});function Mpe(e={}){return yZ(e,hZ)}function yZ(e,t){let n=e.maxEntries===void 0?Number.POSITIVE_INFINITY:Math.max(1,e.maxEntries),r=n*8,o=Math.max(0,t.softBytes),a=Math.max(o,t.hardBytes),i=e.retainAcrossPasses??true,l=new Wp,s=kR(i),d=0,c=0,u=0,f=0,m=0,g=0,p=0,h=0,y=0,b=0,x=0,R=0,P=0,S=0,w=()=>l.bytes>o||l.size>n,I=()=>l.bytes>a||l.size>r,v=C=>{l.delete(C),p+=1;},O=(C,F,k)=>{let _=tF(C,F);if(_>a){l.delete(C)&&(p+=1),R+=1;return}for(l.set(C,F,_,d),k&&(u+=_);w();){let E=l.oldest();if(E.key===C)break;let N=I();if(Math.max(E.touched,E.named)>=d&&!N)break;N?y+=1:h+=1,v(E.key);}},T={retainAcrossPasses:i,keyFor(C){return EA(C,s)},get(C){let F=l.entry(C,true);if(F===void 0){g+=1;return}return m+=1,F.touched=d,F.value},set(C,F){O(C,F,true);},release(C){!i&&l.delete(C)&&(P+=1);},retentionPassDue(){return c+=1,c%pZ===0?true:i&&u>Math.max(o,f/2)},retain(C){let F=d;d+=1;let k=0;for(let _ of C){let E=l.entry(_);!E||E.named===d||(E.named=d,k+=E.bytes);}f=k,u=0;for(let _ of l.fromOldest())d-Math.max(_.touched,_.named)>gZ?(v(_.key),b+=1):_.named===F&&_.touched<F&&w()&&(v(_.key),x+=1);},clear(){S+=l.size,l.clear(),u=0,f=0,s=kR(i);},get stats(){return {hits:m,misses:g,evictions:p,size:l.size}}};return i&&qv(T,(C,F,k)=>{let _=s.paragraphKeys.get(C),E=_?.entries.find(N=>N.key===F);if(E)for(let N of _.entries){if(N===E||N.producerIdentity!==E.producerIdentity||N.drawingIdentity!==E.drawingIdentity||N.projectionIdentity!==E.projectionIdentity||N.exclusionIdentity!==E.exclusionIdentity||N.propertiesToken!==E.propertiesToken)continue;let A=l.get(N.key);if(!(!A||!k(A)))return l.delete(N.key),O(F,A,false),A}}),oF(T,C=>l.get(C)),aF(T,{snapshot(){let C=0;for(let F of l.keys())C+=F.length*2;return {hits:m,misses:g,evictions:p,size:l.size,softLimit:n,hardLimit:r,estimatedBytes:l.bytes,namedBytes:f,softLimitBytes:o,hardLimitBytes:a,keyTextBytes:C,softLimitEvictions:h,hardLimitEvictions:y,staleEvictions:b,supersededEvictions:x,oversizedRefusals:R,releasedEntries:P,clearedEntries:S}},visit(C){for(let F of l.values())C(F);}}),T}var NA=new WeakMap,bZ=0;function Kh(e){let t=NA.get(e.content);return t===void 0&&(t=++bZ,NA.set(e.content,t)),de([String(t),e.contentNodeId,String(e.insetsEmu.top),String(e.insetsEmu.right),String(e.insetsEmu.bottom),String(e.insetsEmu.left),e.verticalAnchor,e.autofit,e.fillHex??"",e.strokeHex??"",String(e.strokeWidthEmu),...e.noWrap?["nowrap"]:[]])}var $h=12700;function xZ(e,t){return Object.freeze({...e,drawingNodeId:t.memberNodeId,extentEmu:Object.freeze({cx:t.frameEmu.cx,cy:t.frameEmu.cy}),textboxStory:t.story,groupTextboxes:void 0,wrap:"inFront"})}function SZ(e,t){let n=e.groupTextboxes;if(!n||!t||chunkFIJZIQXA_cjs.Md(e).hidden)return;let r=[];for(let o of n){let a=t(xZ(e,o));a&&r.push(Object.freeze({memberNodeId:o.memberNodeId,box:Object.freeze({x:o.frameEmu.x/$h,y:o.frameEmu.y/$h,width:o.frameEmu.cx/$h,height:o.frameEmu.cy/$h}),story:a,rotationDegrees:o.rotationDegrees}));}return r.length>0?Object.freeze(r):void 0}function FR(e,t,n){let r=SZ(t,n);if(!r)return e;let o={...e,groupTextboxStories:r};return Object.freeze(o),o}function DA(e){return e?de(e.map(t=>de([t.memberNodeId,String(t.frameEmu.x),String(t.frameEmu.y),String(t.frameEmu.cx),String(t.frameEmu.cy),String(t.rotationDegrees),Kh(t.story)]))):""}function HA(e,t){let n=(r,o)=>{if(!(o>=chunkFIJZIQXA_cjs.wa)){if(r.kind==="run"){for(let a of r.children)t(a);return}if(chunkFIJZIQXA_cjs.ya(r)){for(let a of r.children)n(a,o+1);return}if(chunkFIJZIQXA_cjs.Uc(r))for(let a of chunkFIJZIQXA_cjs.Xc(r))n(a,o+1);}};for(let r of e.children)n(r,0);}var _A=new WeakSet;function Uh(e,t){if(_A.has(e))return;let n=false,r=[],o=(a,i)=>{if(!(i>=chunkFIJZIQXA_cjs.wa)){if(a.kind==="run"){for(let l of a.children)(l.kind==="drawing"||chunkFIJZIQXA_cjs.Jd(l)||chunkFIJZIQXA_cjs.od(l))&&(n=true,t(l,r,a));return}if(chunkFIJZIQXA_cjs.ya(a)){r.push(a);for(let l of a.children)o(l,i+1);r.pop();return}if(chunkFIJZIQXA_cjs.Uc(a)){r.push(a);for(let l of chunkFIJZIQXA_cjs.Xc(a))o(l,i+1);r.pop();}}};for(let a of e.children)o(a,0);n||_A.add(e);}var jA=new WeakMap;function PZ(e){if(e.kind!=="run")return false;let t=jA.get(e);return t===void 0&&(t=je(ya(e,[])).hidden,jA.set(e,t)),t}function ot(e,t){if(e.kind!=="paragraph")return [];let n=[];return Uh(e,(r,o,a)=>{let i=Cr;for(let l of o){let s=Cn(l)?_n(l):null;s&&(i=Jn(i,s));}if(r.kind==="drawing"){let l=t.projectionForAtom?.(r.id)??t.project(r);l?.kind==="anchored"&&n.push({atomId:r.id,projection:l,revisions:i});return}if(chunkFIJZIQXA_cjs.Jd(r)||chunkFIJZIQXA_cjs.od(r)){if(chunkFIJZIQXA_cjs.od(r)&&PZ(a))return;let l=t.projectionForAtom?.(r.id)??null;l?.kind==="anchored"&&n.push({atomId:r.id,projection:l,revisions:i});}}),Object.freeze(n)}function kn(e){let t=new Map;if(e.kind!=="paragraph")return t;let n;return HA(e,r=>{if(r.kind!=="drawing"&&!chunkFIJZIQXA_cjs.Jd(r)&&!chunkFIJZIQXA_cjs.od(r))return;let o=(n??=chunkFIJZIQXA_cjs.jg(e)).spanOf(r);o&&t.set(r.id,o.start);}),t}var RZ=new Map([["http://schemas.openxmlformats.org/drawingml/2006/chart","chart"],["http://schemas.openxmlformats.org/drawingml/2006/diagram","diagram"],["http://schemas.microsoft.com/office/word/2010/wordprocessingGroup","group"],["http://schemas.microsoft.com/office/word/2010/wordprocessingShape","textbox"],["http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas","canvas"]]),wZ=Object.freeze({rotationDegrees:0,flipHorizontal:false,flipVertical:false,offsetEmu:Object.freeze({x:0,y:0}),extentEmu:Object.freeze({cx:0,cy:0})}),kZ=Object.freeze({left:0,top:0,right:0,bottom:0});function VA(e){let t=e.picture,n=null;if(!t){for(let r of e.diagnostics){if(r.code!=="unsupported-graphic")continue;let o=r.detail??"";n=RZ.get(o)??"graphic";break}n===null&&(n="graphic");}return Object.freeze({hyperlinkHref:e.hyperlinkHref,effects:e.effects,crop:t?.crop??e.groupPicture?.crop??kZ,transform:t?.transform??wZ,placeholderGraphicKind:t||e.legacyGraphic?null:n,vectorShape:e.vectorShape,...e.groupPicture?{groupPicture:Object.freeze({alternateContent:e.groupPicture.alternateContent})}:{}})}var No=12700;function lr(e){return e/No}function Ir(e){if(!Number.isFinite(e)||Math.abs(e)>1e4*No*72)return null;let t=e/No;return Number.isFinite(t)?t:null}function tr(e){let a=lr(e.effectExtentEmu.left),i=lr(e.effectExtentEmu.right),l=lr(e.effectExtentEmu.top),s=lr(e.effectExtentEmu.bottom),d=lr(e.extentEmu.cx),c=lr(e.extentEmu.cy);return Object.freeze({distL:0,distR:0,distT:0,distB:0,effectL:a,effectR:i,effectT:l,effectB:s,width:d,height:c,totalWidth:0+a+d+i+0,lineContribution:0+l+c+s+0})}function OM(e,t,n){let r=Math.max(n.distT+n.effectT,e-n.height),o=Math.max(t,r-n.effectT+n.height+n.effectB+n.distB),a=r+n.height+n.effectB;return Object.freeze({extentTopY:r,lineHeight:o,baseline:Math.max(e,a)})}function Yh(e,t,n){if(Math.abs(t)<1e-4&&Math.abs(n)<1e-4)return e;let r=a=>Object.freeze({...a,x:a.x+t,y:a.y+n}),o=a=>Object.freeze({x:a.x+t,y:a.y+n});return Object.freeze({...e,contentBounds:r(e.contentBounds),paintBounds:r(e.paintBounds),hitBounds:r(e.hitBounds),transformedCorners:Object.freeze(e.transformedCorners.map(o)),...e.imageTransformCorners?{imageTransformCorners:Object.freeze(e.imageTransformCorners.map(o))}:{},clipPolygon:e.clipPolygon?Object.freeze(e.clipPolygon.map(o)):null})}function ar(e,t,n){return Math.abs(t)<1e-4&&Math.abs(n)<1e-4?e:Object.freeze({...e,x:e.x+t,y:e.y+n,advanceStart:e.advanceStart+t,advanceEnd:e.advanceEnd+t,paintBounds:Object.freeze({...e.paintBounds,x:e.paintBounds.x+t,y:e.paintBounds.y+n}),hitBounds:Object.freeze({...e.hitBounds,x:e.hitBounds.x+t,y:e.hitBounds.y+n}),geometry:Yh(e.geometry,t,n)})}function _S(e,t){return e.length===0?e:e.map(n=>{let r=n.geometry.effectInsets.bottom,o=t-n.height-r,a=o-n.y;return Math.abs(a)<1e-4&&n.baselineOffset===t?n:Object.freeze({...n,y:o,baselineOffset:t,geometry:Yh(n.geometry,0,a),paintBounds:Object.freeze({...n.paintBounds,y:n.paintBounds.y+a}),hitBounds:Object.freeze({...n.hitBounds,y:n.hitBounds.y+a})})})}function GA(e,t,n){return Zl(e,Object.freeze({x:e.x,y:t,width:e.width,height:Math.max(0,n-t)}))}function Zl(e,t){let n=Pl(e.paintBounds,t),r=n.width>0&&n.height>0?n:Object.freeze({...n}),o=e.x-e.geometry.contentBounds.x,a=e.y-e.geometry.contentBounds.y,i=Yh(e.geometry,o,a);return Object.freeze({...e,paintBounds:n,hitBounds:r,geometry:_p(i,t)})}var WA=new Set(["character","column","insideMargin","leftMargin","margin","outsideMargin","page","rightMargin"]),zA=new Set(["bottomMargin","insideMargin","line","margin","outsideMargin","page","paragraph","topMargin"]);function Go(e){return e.onPageParityRead?.(),e.pageNumber%2===1}function KA(e,t){return !(!t.layoutInCell||t.cellBox===null||!Number.isFinite(t.cellBox.height)||t.cellBox.height<=0||!Number.isFinite(t.cellBox.width)||t.cellBox.width<=0)}function $A(e,t){if(KA(e,t)){let s=t.cellBox;if(!s)return null;let{x:d,width:c}=s;switch(e){case "column":{let u=t.cellContentBox??s;return {left:u.x,right:u.x+u.width,center:u.x+u.width/2}}case "page":case "margin":case "leftMargin":return {left:d,right:d+c,center:d+c/2};case "rightMargin":return {left:d,right:d+c,center:d+c/2};case "character":return {left:t.anchorCharacterX,right:t.anchorCharacterX,center:t.anchorCharacterX};case "insideMargin":return Go(t)?{left:d,right:d+c,center:d+c/2}:{left:d+c,right:d+c,center:d+c};case "outsideMargin":return Go(t)?{left:d+c,right:d+c,center:d+c}:{left:d,right:d+c,center:d+c/2};default:return null}}let n=-t.marginLeft,r=t.contentWidth+t.marginRight,o=0,a=t.contentWidth,i=t.columnBox.x,l=t.columnBox.x+t.columnBox.width;switch(e){case "page":return {left:n,right:r,center:(n+r)/2};case "margin":return {left:o,right:a,center:o+t.contentWidth/2};case "column":return {left:i,right:l,center:i+t.columnBox.width/2};case "character":return {left:t.anchorCharacterX,right:t.anchorCharacterX,center:t.anchorCharacterX};case "leftMargin":return {left:n,right:n,center:n};case "rightMargin":return {left:r,right:r,center:r};case "insideMargin":return Go(t)?{left:o,right:o,center:o}:{left:a,right:a,center:a};case "outsideMargin":return Go(t)?{left:r,right:r,center:r}:{left:n,right:n,center:n};default:return null}}function UA(e,t){if(KA(e,t)){let c=t.cellBox;if(!c)return null;let{y:u,height:f}=c;switch(e){case "page":case "margin":case "topMargin":case "bottomMargin":return {top:u,bottom:u+f,center:u+f/2};case "paragraph":return {top:t.paragraphBox.y,bottom:t.paragraphBox.y+t.paragraphBox.height,center:t.paragraphBox.y+t.paragraphBox.height/2};case "line":return {top:t.anchorLineBox.y,bottom:t.anchorLineBox.y+t.anchorLineBox.height,center:t.anchorLineBox.y+t.anchorLineBox.height/2};case "insideMargin":return Go(t)?{top:u,bottom:u+f,center:u+f/2}:{top:u+f,bottom:u+f,center:u+f};case "outsideMargin":return Go(t)?{top:u+f,bottom:u+f,center:u+f}:{top:u,bottom:u+f,center:u+f/2};default:return null}}let n=-t.contentInsetTop,r=t.contentBandHeight,o=n+t.pageHeight-t.marginBottom,a=r+t.contentInsetBottom,i=0,l=t.contentHeight,s=t.verticalMarginFrame?.top??i,d=s+(t.verticalMarginFrame?.height??t.contentHeight);switch(e){case "page":return {top:n,bottom:a,center:(n+a)/2};case "margin":return {top:s,bottom:d,center:(s+d)/2};case "paragraph":return {top:t.paragraphBox.y,bottom:t.paragraphBox.y+t.paragraphBox.height,center:t.paragraphBox.y+t.paragraphBox.height/2};case "line":return {top:t.anchorLineBox.y,bottom:t.anchorLineBox.y+t.anchorLineBox.height,center:t.anchorLineBox.y+t.anchorLineBox.height/2};case "topMargin":return {top:n,bottom:n,center:n};case "bottomMargin":return {top:o,bottom:o,center:o};case "insideMargin":return Go(t)?{top:i,bottom:i,center:i}:{top:l,bottom:l,center:l};case "outsideMargin":return Go(t)?{top:a,bottom:a,center:a}:{top:n,bottom:n,center:n};default:return null}}function YA(e){return e===null?0:Ir(e)}function TZ(e,t,n){let r=Go(n);if(n.layoutInCell&&n.cellBox&&Number.isFinite(n.cellBox.width)&&n.cellBox.width>0){let{x:o,width:a}=n.cellBox;return e==="inside"?r?o:o+a-t:e==="outside"?r?o+a-t:o:null}return e==="inside"?r?0:n.contentWidth-t:e==="outside"?r?n.contentWidth-t:0:null}function vZ(e,t,n){let r=Go(n),o=n.contentBandHeight;if(n.layoutInCell&&n.cellBox&&Number.isFinite(n.cellBox.height)&&n.cellBox.height>0){let{y:a,height:i}=n.cellBox;return e==="inside"?r?a:a+i-t:e==="outside"?r?a+i-t:a:null}return e==="inside"?r?0:o-t:e==="outside"?r?o-t:0:null}function FZ(e,t,n,r,o){let a=$A(e,o);if(!a)return null;let i=YA(n);if(i===null)return null;if(t==="left")return a.left+i;if(t==="center")return a.center-r/2+i;if(t==="right")return a.right-r+i;if(t==="inside"||t==="outside"){let l=TZ(t,r,o);if(l!==null)return l+i}return a.left+i}function OZ(e,t,n,r,o){let a=UA(e,o);if(!a)return null;let i=YA(n);if(i===null)return null;if(t==="top")return a.top+i;if(t==="center")return a.center-r/2+i;if(t==="bottom")return a.bottom-r+i;if(t==="inside"||t==="outside"){let l=vZ(t,r,o);if(l!==null)return l+i}return a.top+i}function Ru(e,t){let n=tr(e),r=e.position,o=e.anchor,a="page",i="page";if(!r||!o)return Object.freeze({x:0,y:0,horizontalFrame:a,verticalFrame:i,horizontalFrameOrigin:0,verticalFrameOrigin:0,layoutFallback:"unresolvable-frame"});if(o.simplePos){let p=Ir(r.simplePosition.xEmu),h=Ir(r.simplePosition.yEmu);return Object.freeze(p===null||h===null?{x:0,y:0,horizontalFrame:r.horizontal.relativeFrom,verticalFrame:r.vertical.relativeFrom,horizontalFrameOrigin:0,verticalFrameOrigin:0,layoutFallback:"unresolvable-frame"}:{x:p-t.marginLeft,y:h-t.contentInsetTop,horizontalFrame:r.horizontal.relativeFrom,verticalFrame:r.vertical.relativeFrom,horizontalFrameOrigin:0,verticalFrameOrigin:0})}let l=r.horizontal.relativeFrom,s=r.vertical.relativeFrom,d=$A(l,t),c=UA(s,t),u=d?.left??0,f=c?.top??0;if(!WA.has(l)||!zA.has(s))return Object.freeze({x:0,y:0,horizontalFrame:WA.has(l)?l:a,verticalFrame:zA.has(s)?s:i,horizontalFrameOrigin:u,verticalFrameOrigin:f,layoutFallback:"unresolvable-frame"});let m=FZ(l,r.horizontal.align,r.horizontal.offsetEmu,n.width,t),g=OZ(s,r.vertical.align,r.vertical.offsetEmu,n.height,t);return Object.freeze(m===null||g===null?{x:0,y:0,horizontalFrame:l,verticalFrame:s,horizontalFrameOrigin:u,verticalFrameOrigin:f,layoutFallback:"unresolvable-frame"}:{x:m,y:g,horizontalFrame:l,verticalFrame:s,horizontalFrameOrigin:u,verticalFrameOrigin:f})}function CZ(e){let t=e.input.projection,n=t.anchor,r=tr(t),o=ci({projection:t,anchorX:e.resolved.x,anchorY:e.resolved.y,extentWidth:r.width,extentHeight:r.height}),a=e.clipRegion?Pl(o.paintBounds,e.clipRegion):o.paintBounds,i=a.width>0&&a.height>0?a:Object.freeze({...a});return Object.freeze({kind:"anchoredDrawing",drawingNodeId:e.input.drawingNodeId,paragraphId:e.anchorParagraphId,anchorParagraphId:e.anchorParagraphId,ownerPartName:e.input.ownerPartName,start:e.start,x:e.resolved.x,y:e.resolved.y,width:r.width,height:r.height,horizontalFrame:e.resolved.horizontalFrame,verticalFrame:e.resolved.verticalFrame,horizontalFrameOrigin:e.resolved.horizontalFrameOrigin,verticalFrameOrigin:e.resolved.verticalFrameOrigin,behindDocument:n?.behindDocument??false,allowOverlap:n?.allowOverlap??true,layoutInCell:e.layoutInCell,relativeHeight:n?.relativeHeight??0,wrap:t.wrap==="inline"?"inFront":t.wrap,...e.sourceOrder!==void 0?{sourceOrder:e.sourceOrder}:{},...e.resolved.layoutFallback?{layoutFallback:e.resolved.layoutFallback}:{},...e.textboxStory?{textboxStory:e.textboxStory}:{},...e.revisions&&e.revisions.length>0?{revisions:e.revisions}:{},paintBounds:a,hitBounds:i,geometry:e.clipRegion?_p(o,e.clipRegion):o,resource:e.input.resource,accessibility:chunkFIJZIQXA_cjs.Md(t),...VA(t)})}function IZ(e,t,n){let r=(a,i,l)=>rt(a,Be(i,l),n);for(let a of e.spans){if(t<a.range.start)break;if(t<a.range.end){if(n&&a.text!==void 0&&a.style!==void 0){let s=t-a.range.start;return a.box.x+r(a.text.slice(0,s),a.style,a.fontSlot)}let i=a.range.end-a.range.start;if(i<=0)return a.box.x;let l=t-a.range.start;return a.box.x+a.box.width*l/i}if(t===a.range.end)return n&&a.text!==void 0&&a.style!==void 0?a.box.x+r(a.text,a.style,a.fontSlot):a.box.x+a.box.width}let o;for(let a of e.spans)a.range.end<=t&&(o=a);return o?n&&o.text!==void 0&&o.style!==void 0?o.box.x+r(o.text,o.style,o.fontSlot):o.box.x+o.box.width:e.box.x}function MZ(e,t){let n=e.range.start;for(let r of e.spans)r.range.end<=t&&(n=r.range.end);return n}function OR(e,t,n){if(!(Math.abs(n)<=.001))for(let r=0;r<e.length;r+=1){let o=e[r];o.anchorParagraphId===t&&(!o.layoutInCell&&!["paragraph","line"].includes(o.verticalFrame)||(e[r]=Object.freeze({...o,y:o.y+n,geometry:Yh(o.geometry,0,n),paintBounds:Object.freeze({...o.paintBounds,y:o.paintBounds.y+n}),hitBounds:Object.freeze({...o.hitBounds,y:o.hitBounds.y+n})})));}}function ql(e){let t=ot(e.paragraph,e.drawingLayout);if(t.length===0)return [];let n=kn(e.paragraph),r=e.displayMode??Ue,o=[];for(let a of t){let i=a.projection;if(i.hidden||Ao(a.revisions,r,e.revisionAuthorFilter))continue;let l=Qb(a.revisions,r,e.revisionAuthorFilter);if(l===null)continue;let s=n.get(a.atomId);if(s===void 0||e.fragmentRange&&(s<e.fragmentRange.start||s>=e.fragmentRange.end))continue;let d=e.lines.find(P=>s>=P.range.start&&s<P.range.end);if(!d)continue;let c=e.cellBox===null?i.anchor?.layoutInCell??true:gu(i,e.cellAnchorScope),f=i.position?.horizontal.relativeFrom==="character"?MZ(d,s):s,m=Object.freeze({...e.frameBase,paragraphBox:e.paragraphBox,anchorLineBox:d.box,anchorCharacterX:IZ(d,f,e.measurer),columnBox:e.columnBox,cellBox:e.cellBox,cellContentBox:e.cellContentBox,layoutInCell:c}),g=i.textboxStory&&e.layoutTextboxStory?e.layoutTextboxStory(i):void 0,p=Hp(i,g),h=Ru(p,m),y=i.wrap!=="inFront"&&i.wrap!=="behind"&&c&&e.cellBox!==null&&Number.isFinite(e.cellBox.height)&&e.cellBox.height>0&&Number.isFinite(e.cellBox.width)&&e.cellBox.width>0,b=i.position?.vertical.relativeFrom==="margin"?e.pageClip:wl(e.frameBase),x=y?e.cellBox:b,R=CZ({input:Object.freeze({drawingNodeId:a.atomId,ownerPartName:e.drawingLayout.ownerPartName,projection:p,resource:e.drawingLayout.resourceOf(i)}),anchorParagraphId:e.paragraphId,start:f,resolved:h,layoutInCell:c,clipRegion:x,revisions:l,...e.sourceOrderOf?{sourceOrder:e.sourceOrderOf(i.drawingNodeId)}:{},...g!==void 0?{textboxStory:g}:{}});o.push(FR(R,i,e.layoutTextboxStory));}return Object.freeze(o)}function CM(e){let t=e.input.projection.textboxStory&&!chunkFIJZIQXA_cjs.Md(e.input.projection).hidden?e.layoutTextboxStory?.(e.input.projection):void 0,n=tr(e.input.projection),r=e.slotX+n.distL+n.effectL,o=ci({projection:e.input.projection,anchorX:r,anchorY:e.y,extentWidth:n.width,extentHeight:n.height}),a=e.contentTop!==void 0&&e.contentBottom!==void 0?Object.freeze({x:e.contentLeft,y:e.contentTop,width:Math.max(0,e.contentRight-e.contentLeft),height:Math.max(0,e.contentBottom-e.contentTop)}):Object.freeze({x:e.contentLeft,y:o.paintBounds.y,width:Math.max(0,e.contentRight-e.contentLeft),height:o.paintBounds.height}),i=Pl(o.paintBounds,a),l=i.width>0&&i.height>0?i:Object.freeze({...i}),s=Object.freeze({kind:"inlineDrawing",drawingNodeId:e.input.drawingNodeId,paragraphId:e.paragraphId,ownerPartName:e.input.ownerPartName,start:e.start,x:r,y:e.y,width:n.width,height:n.height,distL:n.distL,distR:n.distR,distT:n.distT,distB:n.distB,advanceStart:e.slotX,advanceEnd:e.slotX+n.totalWidth,baselineOffset:e.baseline,paintBounds:i,hitBounds:l,geometry:_p(o,a),resource:e.input.resource,accessibility:chunkFIJZIQXA_cjs.Md(e.input.projection),...VA(e.input.projection),...e.revisions&&e.revisions.length>0?{revisions:e.revisions}:{},...e.bidiLevel!==void 0?{bidiLevel:e.bidiLevel}:{},...t?{textboxStory:t}:{}});return FR(s,e.input.projection,e.layoutTextboxStory)}function Ia(e,t){let n=Math.max(e.height-e.baseline,t.height-t.baseline);e.baseline=Math.max(e.baseline,t.baseline),e.height=e.baseline+n;}function BZ(e,t){for(let n of e)if(t>=n.start&&t<n.start+n.text.length)return n.text[t-n.start]}var LZ=/^[\u200b-\u200f\u2060\ufeff]$/u;function SM(e,t,n){let r=BZ(e,t);return r!==void 0&&LZ.test(r)?true:n}function PM(e,t){let n=false;for(let r of e)if(!(r.start>=t)){if(r.text!==chunkFIJZIQXA_cjs.mb)return false;n=true;}return n}function RM(e,t){return e.drawings.length>0||e.spans.length>0&&!t?true:e.spans.some(n=>n.text!==chunkFIJZIQXA_cjs.mb)}function wM(e,t){if(!t||e.spans[0]?.text!==chunkFIJZIQXA_cjs.mb)return;let n=e.spans.find(a=>a.text!==chunkFIJZIQXA_cjs.mb),r=n?.range.start??1/0,o=n?.box.x;for(let a of e.drawings)a.start<r&&([r,o]=[a.start,a.advanceStart]);if(o!==void 0)for(let a=0;e.spans[a]?.text===chunkFIJZIQXA_cjs.mb;a+=1){let i=e.spans[a];i.range.start<r&&(e.spans[a]={...i,box:{...i.box,x:o}});}}function Ma(e){return e.pageBreakAfter===true&&e.drawings.length===0&&e.spans.every(t=>t.text===""||t.text===chunkFIJZIQXA_cjs.mb)}function Pu(e){return e.length>0&&/^[ \t]+$/.test(e)}function Bd(e,t){let n=t?.baselineShiftPt?li(t):0;return n?{height:e.height,baseline:e.baseline+n}:e}function Od(e,t,n,r){Pu(n)||Ia(e,Bd(t,r));}function Br(e,t){return e.noteSeparator||e.fieldAtom?.formControl?.kind==="checkbox"?void 0:t}var EZ={props:true,style:true,fontSlot:true,glyphOffsetPt:true,borderBaselinePt:true,caretEdges:true,tabLeader:true,tabLeaderAdvancePt:true,link:true,wrapAdvanceBefore:true,revisions:true,changeSites:true,fieldAtom:true,projected:true,equation:true,noteNav:true,noteSeparator:true,lineEndWhitespace:true,optionalHyphenBreak:true},AZ=Object.keys(EZ);function NZ(e,t){for(let n of AZ)if(e[n]!==t[n])return false;return true}function DZ(e,t){if(e.glyphOffsetPt||t.glyphOffsetPt||e.caretEdges!==void 0||t.caretEdges!==void 0)return false;let n=Qr(e.text),r=t.text.codePointAt(0);return n===void 0||r===void 0||!xl(n)||!xl(r)||e.range.paragraphId!==t.range.paragraphId||e.range.end!==t.range.start||Math.abs(e.box.x+e.box.width-t.box.x)>.01||e.box.height!==t.box.height?false:NZ(e,t)}function kM(e){if(e.spans.length<2)return;let t=[];for(let n=0;n<e.spans.length;){let r=n;for(;r+1<e.spans.length&&DZ(e.spans[r],e.spans[r+1]);)r+=1;let o=e.spans[n];if(r===n){t.push(o),n+=1;continue}let a=[],i=0;for(let l=n;l<=r;l+=1)a.push(e.spans[l].text),i+=e.spans[l].box.width;t.push({...o,range:{...o.range,end:e.spans[r].range.end},text:a.join(""),box:{...o.box,width:i}}),n=r+1;}if(t.length!==e.spans.length){e.spans.length=0;for(let n of t)e.spans.push(n);}}function Tf(e,t,n){return Math.max(oo(t,e.height,n),e.exclusionSkipBefore??0)}function HS(e,t,n,r=0){let o=Tf(t,e,n);return (t.anchorClearanceBefore??o)+Math.max(0,t.height-t.trailingSpacing)+r}function Hg(e){return Object.freeze({spans:e.spans.map(t=>Object.freeze({...t,box:Object.freeze({...t.box})})),drawings:e.drawings.map(t=>Object.freeze({...t,paintBounds:Object.freeze({...t.paintBounds}),hitBounds:Object.freeze({...t.hitBounds})})),start:e.start,end:e.end,width:e.width,height:e.height,baseline:e.baseline,leading:e.leading,trailingSpacing:e.trailingSpacing,...e.pageBreakAfter?{pageBreakAfter:true}:{},...e.columnBreakAfter?{columnBreakAfter:true}:{},...e.manualBreakAfter?{manualBreakAfter:true}:{},...e.spaceShrink?{spaceShrink:true}:{},...e.deletedRanges?{deletedRanges:Object.freeze(e.deletedRanges)}:{},...e.exclusionSkipBefore?{exclusionSkipBefore:e.exclusionSkipBefore}:{},...e.breakClearance?{breakClearance:true}:{},...e.anchorClearanceBefore!==void 0?{anchorClearanceBefore:e.anchorClearanceBefore}:{},...e.firstLineOffset?{firstLineOffset:e.firstLineOffset}:{},...e.wrapSegment?{wrapSegment:Object.freeze({...e.wrapSegment})}:{},...e.anchorRevisions?{anchorRevisions:Object.freeze(e.anchorRevisions)}:{},...e.changeSites?{changeSites:Object.freeze(e.changeSites)}:{}})}function wi(e,t,n){return Zd(e,t)?.left??n}function Zd(e,t){if(e.length===0&&t.length===0)return null;let n=1/0,r=-1/0;for(let o of e)n=Math.min(n,o.box.x),r=Math.max(r,o.box.x+o.box.width);for(let o of t)n=Math.min(n,o.advanceStart),r=Math.max(r,o.advanceEnd);return {left:n,right:r}}function TM(e){let t=e.drawings.length>1?[...e.drawings].sort((r,o)=>r.start-o.start):e.drawings,n=0;for(let r=0;r<e.spans.length;r+=1){let o=e.spans[r-1],a=e.spans[r],i=o?o.box.x+o.box.width:-1/0;for(;n<t.length&&t[n].start<a.range.start;n+=1)i=Math.max(i,t[n].advanceEnd);if(!Number.isFinite(i))continue;let l=a.box.x-i;l<=.001||(e.spans[r]={...a,wrapAdvanceBefore:l});}}function DS(e){for(let t of e.drawings)e.height=Math.max(e.height,t.y+t.height+t.distB);}function vM(e){for(let t=0;t<e.drawings.length;t+=1){let n=e.drawings[t],r=n.paintBounds;r.y>=-1e-3||(e.drawings[t]=GA(n,0,r.y+r.height));}}function _Z(e,t){return e.val===t.val&&e.color===t.color&&e.widthPt===t.widthPt&&e.spacePt===t.spacePt&&e.shadow===t.shadow}function Oge(e){if(!e.spans.some(o=>o.style.border))return [];let t=[],n,r=()=>{if(!n)return;let{box:o,edge:a}=n,i=ul(a.val,a.widthPt),l=o.x-a.spacePt-i,s=o.y-a.spacePt-i,d=o.width+2*(a.spacePt+i),c=o.height+2*(a.spacePt+i);t.push({side:"top",edge:a,box:{x:l,y:s,width:d,height:i}},{side:"bottom",edge:a,box:{x:l,y:s+c-i,width:d,height:i}},{side:"left",edge:a,box:{x:l,y:s,width:i,height:c}},{side:"right",edge:a,box:{x:l+d-i,y:s,width:i,height:c}}),n=void 0;};for(let o of [...e.spans].sort((a,i)=>a.box.x-i.box.x)){let a=o.style.border;if(!a||o.style.hidden||!o.text||/^[\r\n\f]+$/.test(o.text)){r();continue}let i=o.borderBaselinePt===void 0?o.box.y+(e.leading??0):e.box.y+e.baseline-o.borderBaselinePt,l={...o.box,y:i-li(o.style)};if(n&&_Z(n.edge,a)&&n.paragraphId===o.range.paragraphId&&(n.end===o.range.start||n.start===o.range.end)&&(n.end===o.range.start?o.wrapAdvanceBefore??0:n.wrapBefore)<=.001){let s=Math.max(n.box.y+n.box.height,l.y+l.height);n.box={x:n.box.x,y:Math.min(n.box.y,l.y),width:l.x+l.width-n.box.x,height:s-Math.min(n.box.y,l.y)},o.range.start<n.start&&(n.wrapBefore=o.wrapAdvanceBefore??0),n.start=Math.min(n.start,o.range.start),n.end=Math.max(n.end,o.range.end);}else r(),n={box:l,edge:a,paragraphId:o.range.paragraphId,start:o.range.start,end:o.range.end,wrapBefore:o.wrapAdvanceBefore??0};}return r(),t}function jS(e,t){for(let n=0;n<e.spans.length;n++){let r=e.spans[n],o=r.style.border;if(!o||r.style.hidden||!r.text||/^[\r\n\f]+$/.test(r.text))continue;let a=t.lineMetrics(Be(r.style,r.fontSlot),Br(r,r.text));r.borderBaselinePt!==a.baseline&&(e.spans[n]={...r,borderBaselinePt:a.baseline});let i=o.spacePt+ul(o.val,o.widthPt);Ia(e,{height:a.height+2*i,baseline:Bd(a,r.style).baseline+i});}}function FM(e,t,n,r=false){let o={height:0,baseline:0,spans:e};for(let a of e)r&&a.text===chunkFIJZIQXA_cjs.mb||Ia(o,Bd(t.lineMetrics(Be(a.style,a.fontSlot),Br(a,a.text)),a.style));return jS(o,t),o.height>0?o.height:n}function Ege(e){let t,n,r,o,a,i,l,s,d,c,u,f,m,g,p,h,y;return {styleCascade(){let b=e.stylesRoot(),x=e.documentThemeFonts(),R=e.settingsRoot();return (f===void 0||b!==r||R!==m||x.major!==o||x.minor!==a||x.majorEastAsia!==i||x.minorEastAsia!==l||x.majorBidi!==s||x.minorBidi!==d||x.majorSupplemental!==c||x.minorSupplemental!==u)&&(r=b,o=x.major,a=x.minor,i=x.majorEastAsia,l=x.minorEastAsia,s=x.majorBidi,d=x.minorBidi,c=x.majorSupplemental,u=x.minorSupplemental,m=R,f=VM(b,x,R)),f},defaultTabStopPt(){let b=e.settingsRoot();return (p===void 0||b!==g)&&(g=b,p=wv(b)),p},compatibilityMode(){let b=e.settingsRoot();return b!==h&&(h=b,y=LM(b)),y},numberingIndex(){let b=e.numberingRoot();return (n===void 0||b!==t)&&(t=b,n=YO(b)),n}}}function Xh(e,t,n){let r=Cp(e.tabStops,t),{hanging:o,firstLine:a}=e.indent,i=at(e.props)?e.indent.right:e.indent.left;(o>0||a<0)&&i>0&&!r.stops.some(s=>s.positionPt===i&&!s.numberingOnly)&&(r={...r,stops:[...r.stops,{positionPt:i,alignment:"left",implied:true}].sort((s,d)=>s.positionPt-d.positionPt)});let l=r===e.tabStops?e.tabStopsCacheToken:Ip(r);return {tabStops:r,properties:[...e.props,...e.inheritedRunProperties,...e.markRunProperties,{localName:"tabStops",attributes:{token:l}},...e.lineSpacing.gridPitch!==void 0?[{localName:"lineGrid",attributes:{pitch:String(e.lineSpacing.gridPitch)}}]:[],...n.listToken!==void 0?[{localName:"list",attributes:{token:n.listToken}}]:[],...n.hostedListToken?[{localName:"txbxList",attributes:{token:n.hostedListToken}}]:[],...n.refToken?[{localName:"refFields",attributes:{token:n.refToken}}]:[]]}}function CR(e,t){return e?`${t.toFixed(3)}|${e}`:""}function XA(e,t){let n=CR(t.exclusionToken,t.paragraphStartY),r=e;n&&(r+=`\0excl:${t.columnIndex}|${n}`);let o=t.paragraphSpaceBefore??0;return (n||t.anchorsTopAndBottom)&&o>0&&(r+=`\0before:${o.toFixed(3)}`),t.anchorsTopAndBottom&&t.regionBottomY!==void 0&&(r+=`\0region:${(t.regionBottomY-t.paragraphStartY).toFixed(3)}`),t.ownBandPageFramed&&(r+=`\0at:${t.paragraphStartY.toFixed(3)}`),t.ownBandPageFramedHorizontally&&(r+=`\0x:${(t.frameMarginLeft??0).toFixed(3)}|${(t.pageNumber??1)%2}`),t.anchorParagraphStartY!==void 0&&t.anchorParagraphStartY!==t.paragraphStartY&&(r+=`\0anchor:${t.anchorParagraphStartY}`),t.startOffset>0&&(r+=`\0from:${t.startOffset}`),r}function Zh(e,t,n,r){let o=e&&t!==null?e.get(t):void 0;if(o)return o;let a=r?.();if(a)return a;let i=IR({...n(),cache:void 0,cacheKey:null});return e&&t!==null&&e.set(t,e.retainAcrossPasses===false?i:i.map(Hg)),i}function IR(e){let{formatting:t,styleCascade:n}=e;return WS(e.paragraph,e.paragraphId,e.indentLeft,e.available,e.measurer,e.cache,e.cacheKey,t.inheritedRunProperties,e.tabStops,e.pageContext,n?(r,o)=>rr(r,o,n):void 0,{...e.flow,paragraphRtl:at(t.props),justifySpaceShrink:Le(e.compatibilityMode,"justifiedSpaceShrink")&&ju(t.props)==="both",lineSpacing:t.lineSpacing,typography:Td(t.props,n?.typography),equationCacheToken:e.producer,...n?{themeFonts:n.themeFonts}:{},markRunProperties:t.markRunProperties})}function ZA(e){let t=new Map;return {rememberBreakKey:(o,a)=>{let i=t.get(o);i||(i=new Set,t.set(o,i)),i.add(a);},releasePlacedBreaks:o=>{let a=t.get(o);if(!(!a||!e)){for(let i of a)e.release?.(i);t.delete(o);}}}}var vf=new WeakMap;function nc(e,t,n,r,o,a){let i=vf.get(e);if(i&&i.cascade===n&&i.list===r&&i.cell===o&&i.lineUnit===a)return i.width!==t&&(i.width=t,i.inputs={...i.inputs,available:MR(i.inputs,t)}),i.inputs;let l=Vn(e,t,n,r,o,true,a);return vf.set(e,{cascade:n,list:r,cell:o,lineUnit:a,width:t,inputs:l}),l}function MR(e,t){return Math.max(1,t-e.indent.left-e.indent.right)}function qA(e,t,n,r,o){let a=vf.get(e);return a&&a.cascade===t&&a.list===n&&a.cell===r&&a.lineUnit===o?a.inputs:void 0}function JA(e,t,n,r,o,a){let i=vf.get(e),l=i?.prepared;return i?.inputs===t&&l&&l.interval===n&&l.dependencies.listToken===r&&l.dependencies.hostedListToken===o&&l.dependencies.refToken===a?l.value:void 0}function qh(e,t,n,r){let o=vf.get(e),a=o?.prepared;if(o?.inputs===t&&a&&a.interval===n&&a.dependencies.listToken===r.listToken&&a.dependencies.hostedListToken===r.hostedListToken&&a.dependencies.refToken===r.refToken)return a.value;let i=Xh(t,n,r);return LA(i.properties),o?.inputs===t&&(o.prepared={interval:n,dependencies:r,value:i}),i}function it(e,t,n){if(e.cellSpacingPt>0)return n;let r=new Map(n.cellContentInsets),o=new Map(n.cellMinimumContentInsets);for(let a of t.cells){let i=Gn(a.margins.top,zo(a.borders.top,(a.rowTableBorders??e.tableBorders).top));r.set(a.id,{...r.get(a.id)??Zt(a,true),top:i});let l=o.get(a.id)??a.minimumContentInsets;l&&o.set(a.id,{...l,top:i});}return {...n,cellContentInsets:r,...o.size?{cellMinimumContentInsets:o}:{}}}function rc(e,t,n){if(e.cellSpacingPt>0)return n;let r=new Map(n.cellContentInsets),o=new Map(n.cellMinimumContentInsets),a=false;for(let i of t.cells){let l=r.get(i.id)??Zt(i,true),s=Gn(i.margins.bottom,zo(i.borders.bottom,(i.rowTableBorders??e.tableBorders).bottom));l.bottom!==s&&(a=true),r.set(i.id,{...l,bottom:s});let d=o.get(i.id)??i.minimumContentInsets;d&&(d.bottom!==s&&(a=true),o.set(i.id,{...d,bottom:s}));}return a?{...n,cellContentInsets:r,...o.size?{cellMinimumContentInsets:o}:{}}:n}function BR(e,t,n,r,o){return t?{before:r!==void 0&&r===n?0:e.before,after:o!==void 0&&o===n?0:e.after}:e}function Jh(e,t,n){if(e?.kind!=="paragraph")return;let r=e.children.find(o=>o.kind==="paragraphProperties");return t?nr(t,r,n).styleId:$e(r).find(o=>o.localName==="pStyle")?.attributes?.val??null}function QA(e,t,n,r,o,a){return t?BR(e,true,n,Jh(r?.previous,o,a),Jh(r?.next,o,a)):e}function Jl(e,t,n,r){let o=tS(e),a=t<0?o?.before:o?.after;if(a)return Jh(a,r);let i=n?.paragraph?er(n.paragraph):void 0,l=t<0?i?.at(-1):i?.[0];return l?Jh(l.paragraph,r):n?.kind==="paragraph"?n.styleId:void 0}function HZ(e,t,n,r){let o=e[t]?.paragraph;if(!o)return null;let a=Jl(o,n,e[t+n],r);return a===void 0?null:a??""}function eN(e,t){let n=tS(e);return n?{...t,previous:n.before??t?.previous,next:n.after??t?.next}:t}function tN(e,t){let n=e.map(o=>o.kind==="paragraph"&&!!o.contextualSpacing),r=e.map(o=>o.kind==="paragraph"?o.styleId??"":null);return {contextualSpacingAt:o=>n[o],styleIdAt:o=>r[o]??null,neighbourStyleAt:(o,a)=>HZ(e,o,a,t)}}function Tn(e){return {...e,measuringOnly:true,collectAnchoredDrawings:void 0,publishAnchoredDrawings:void 0,deferAnchoredDrawings:void 0,onAnchorRepublish:void 0,onAnchorShift:void 0,anchorDeferOnly:true}}function Ko(e,t){let n=0;return {...Tn(e),...t?{}:{pageExclusionZones:void 0},nextLineId:()=>`probe-${n++}`}}function Qh(e){return {...e,collectAnchoredDrawings:void 0,publishAnchoredDrawings:void 0,deferAnchoredDrawings:void 0,onAnchorRepublish:void 0,onAnchorShift:void 0}}function nN(e){return e.publishAnchoredDrawings??e.collectAnchoredDrawings}function LR(e,t,n,r,o){let a=nN(o);if(!(e.length===0||!a||!o.inlineDrawingLayout||!o.anchorFrameBase||!o.pageContentClip))for(let i of e){let l=null,s=null,d=i.lines;for(let u of t){for(let f of u.blocks)if(f.kind==="paragraph"&&f.paragraphId===i.paragraphId){l=f.box,d=f.lines,s=u.box;break}if(l)break}if(!l)continue;let c=s??Object.freeze({x:i.cellOriginX,y:n,width:i.cellContentWidth,height:r});a(ql({paragraph:i.paragraph,paragraphId:i.paragraphId,paragraphBox:l,lines:d,drawingLayout:o.inlineDrawingLayout,frameBase:o.anchorFrameBase(),columnBox:o.columnBoxForParagraph?.(l)??l,cellBox:c,cellContentBox:{...c,x:i.cellOriginX,width:i.cellContentWidth},pageClip:o.pageContentClip(),cellAnchorScope:Rl(true,o),measurer:o.measurer,...o.hostedStory?{layoutTextboxStory:o.hostedStory.layoutTextboxStoryFor}:{},...o.displayMode?{displayMode:o.displayMode}:{},...o.revisionAuthorFilter?{revisionAuthorFilter:o.revisionAuthorFilter}:{}}));}}function rN(e,t,n,r,o){if(!(!r.onAnchorRepublish||!r.inlineDrawingLayout||!r.anchorFrameBase||!r.pageContentClip))for(let a of e){if(a.kind!=="paragraph")continue;let i=t.find(s=>s.kind==="paragraph"&&s.id===a.paragraphId);!i||i.kind!=="paragraph"||ot(i,r.inlineDrawingLayout).length===0||r.onAnchorRepublish(a.paragraphId,ql({paragraph:i,paragraphId:a.paragraphId,paragraphBox:a.box,lines:a.lines,drawingLayout:r.inlineDrawingLayout,frameBase:r.anchorFrameBase(),columnBox:r.columnBoxForParagraph?.(a.box)??a.box,cellBox:n,cellContentBox:o,pageClip:r.pageContentClip(),cellAnchorScope:Rl(true,r),measurer:r.measurer,...r.hostedStory?{layoutTextboxStory:r.hostedStory.layoutTextboxStoryFor}:{},...r.displayMode?{displayMode:r.displayMode}:{},...r.revisionAuthorFilter?{revisionAuthorFilter:r.revisionAuthorFilter}:{}}));}}function oN(e,t){let n=nN(e),r=e.deferAnchoredDrawings;return !n&&!r?{rowDeps:e,flushDeferred:()=>{}}:{rowDeps:{...e,publishAnchoredDrawings:n,collectAnchoredDrawings:void 0,deferAnchoredDrawings:i=>{t.push(i);}},flushDeferred:(i,l,s)=>{if(t.length!==0){if(n&&!e.anchorDeferOnly)LR(t,i,l,s,e);else if(r)for(let d of t)r(d);t.length=0;}}}}var oc=.001,jZ=64;function WZ(e,t){return {...e,height:{rule:"auto"},cells:[t]}}function zZ(e){let t=Yd(e),n=[],r=new Map;for(let o=0;o<e.length;o+=1)for(let a of e[o].cells){let i=t.get(a.id);if(i===void 0||i<2)continue;let l=Math.min(o+i-1,e.length-1);if(l<=o)continue;n.push({span:{headRow:o,endRow:l,headCellId:a.id},cell:a});let s=r.get(o);s?s.add(a.id):r.set(o,new Set([a.id]));}return {heads:n,headIdsByRow:r}}function VZ(e,t,n){if(e.length===0||!e.some(L=>L.cells.some(B=>B.vMergeContinue)))return null;let{heads:r,headIdsByRow:o}=zZ(e);if(r.length===0)return null;let a=new Map(r.map(L=>[L.span,L])),i=new Map;for(let L of r){let B=i.get(L.span.headRow);B?B.push(L.span):i.set(L.span.headRow,[L.span]);}for(let L of i.values())L.sort((B,D)=>D.endRow-B.endRow);let l=new Map;for(let L of i.values())for(let B=0;B<L.length;){let D=B+1;for(;D<L.length&&L[D].endRow===L[B].endRow;)D+=1;let $=L.slice(B,D);for(let X of $)l.set(X,$);B=D;}let s=new Map,d=new Map,c=new Map,u=new Map,f=new Set,m=new Set,g=new Set,p=new Set,h=new Map,y=new Map,b=new Set,x=new Map,R=(L,B,D)=>{let $=new Set;for(let K of o.get(L)??[])(g.has(K)||B?.has(K)===true)&&$.add(K);let X=D===void 0?"":`@${D.toFixed(2)}`,W=`${L}${X}\0${n?.(e[L])??""}\0${[...$].sort().join("\0")}`,z=s.get(W);if(z!==void 0)return z;let ee=t(e[L],$,D);return s.set(W,ee),ee},P=(L,B)=>{let D=n?.(e[L.headRow]),$=B===void 0&&D===void 0?L:`${L.headCellId}@${B?.toFixed(2)??""}:${D??""}`,X=d.get($);if(X!==void 0)return X;let W=a.get(L),z=t(WZ(e[L.headRow],W.cell),void 0,B);return d.set($,z),z},S=(L,B,D)=>R(L,B,D)+(c.get(L)??0),w=L=>{for(let B=L.endRow;B>=L.headRow;B-=1)if(e[B].height.rule!=="exact")return B},I=L=>w(L)===void 0?[L]:l.get(L)??[L],v=L=>new Set(I(L).map(B=>B.headCellId)),O=(L,B)=>{let D=0;for(let $ of I(L))D=Math.max(D,P($,B));return D},T=new Map,C=L=>{let B=T.get(L);if(B!==void 0)return B;let D=[],$=D,X=[L.endRow];for(let W=L.headRow+1;W<=L.endRow;W+=1){let z=i.get(W);if(z===void 0)continue;let ee=z[0].endRow;for(;X.length>1&&X[X.length-1]<W;)X.pop();if(z.some(K=>K.endRow!==ee)||ee>X[X.length-1]||w(z[0])===void 0||X.length>=jZ){$=null;break}X.push(ee),D.push(z);}return T.set(L,$),$},F=(L,B)=>w(L)===void 0||B.some(D=>p.has(D[0].headRow)),k=(L,B,D)=>{let $=new Map(B.map(q=>[q[0].headRow,q])),X=l.get(L)??[L],W=new Set;for(let q of [X,...B])for(let V of q)W.add(V.headCellId);let z=new Map,ee=[],K=(q,V)=>{let ne=q[0],G=0;for(let Z=ne.headRow;Z<=ne.endRow;){let oe=V===void 0?void 0:V+G,ce=Z===ne.headRow?void 0:$.get(Z);if(ce!==void 0){G+=K(ce,oe),Z=ce[0].endRow+1;continue}let M=S(Z,W,oe);z.set(Z,M),G+=M,Z+=1;}let re=0;for(let Z of q)re=Math.max(re,P(Z,V));let fe=w(ne),te=re-G>oc?re-G:0;return te>0&&z.set(fe,z.get(fe)+te),ee.push({spans:q,atYPt:V,growable:fe,surplusPt:te}),G+te},U=K(X,D);return {groups:ee,floors:z,heightPt:U}},_=(L,B,D)=>{let{groups:$,floors:X}=k(L,B,D),W=[];for(let ee of $){for(let K of ee.spans)W.push(K),m.add(K),g.add(K.headCellId),h.set(K,ee.atYPt),y.set(K,ee.surplusPt>0?ee.growable:void 0);p.add(ee.spans[0].headRow),ee.surplusPt>0&&c.set(ee.growable,(c.get(ee.growable)??0)+ee.surplusPt);}let z={headRow:L.headRow,members:W};for(let ee of W)x.set(ee,z);for(let[ee,K]of X)f.add(ee),u.set(ee,Math.max(u.get(ee)??0,K)),ee>L.headRow&&b.add(ee);},E=(L,B)=>{let D=v(L),$=0;for(let X=L.headRow;X<=L.endRow;X+=1)$+=S(X,D,B===void 0?void 0:B+$);return $},N=(L,B)=>{let D=v(L),$=new Map,X=0;for(let W=L.headRow;W<=L.endRow;W+=1){let z=S(W,D,B===void 0?void 0:B+X);$.set(W,z),X+=z;}return $},A=(L,B)=>{if(!m.has(L)){let $=C(L);if($===null||p.has(L.headRow))return Number.POSITIVE_INFINITY;if($.length>0)return F(L,$)?Number.POSITIVE_INFINITY:k(L,$,B).heightPt}let D=E(L,B);return w(L)===void 0?D:Math.max(D,O(L,B))};return {spansAt:L=>i.get(L)??[],heightOf:A,accept:(L,B)=>{if(m.has(L))return;let D=C(L);if(D===null||p.has(L.headRow))return;if(D.length>0){F(L,D)||_(L,D,B);return}let $=N(L,B),X=0;for(let U of $.values())X+=U;let W=w(L),z=O(L,B);if(W===void 0&&z>X+oc)return;let ee=W===void 0?0:z-X,K=W===void 0?(l.get(L)??[L]).filter(U=>U===L||!m.has(U)&&P(U,B)<=X+oc):I(L);for(let U of K)m.add(U),g.add(U.headCellId);p.add(L.headRow),ee>oc&&(c.set(W,(c.get(W)??0)+ee),$.set(W,($.get(W)??0)+ee));for(let[U,q]of $)f.add(U),u.set(U,Math.max(u.get(U)??0,q)),U>L.headRow&&b.add(U);for(let U of K)h.set(U,B),y.set(U,ee>oc?W:void 0);},withdrawAt:L=>{let B=D=>{m.delete(D),g.delete(D.headCellId),p.delete(D.headRow),h.delete(D),y.delete(D),x.delete(D);};for(let D of i.get(L)??[]){if(!m.has(D))continue;let $=x.get(D)?.members;if($!==void 0&&x.get(D).headRow!==L){B(D);continue}let X=y.get(D);X!==void 0&&c.delete(X);for(let W of $??[D])B(W);for(let W=D.headRow;W<=D.endRow;W+=1)$!==void 0&&c.delete(W),f.delete(W),u.delete(W),b.delete(W);}},rowOptions:L=>{if(!f.has(L))return;let B;for(let D of i.get(L)??[])m.has(D)&&(B??=new Map,B.set(D.headCellId,A(D,h.get(D))));return {...B?{detachedSpanHeightPtByCellId:B}:{},heightFloorPt:u.get(L)??S(L),...b.has(L)?{coveredFromAbove:true}:{}}}}}function aN(e,t,n,r){for(let o of e?.spansAt(t)??[])n+e.heightOf(o,n)>r+oc||e.accept(o,n);return e?.rowOptions(t)}function iN(e,t,n,r,o,a){return VZ(e.rows,(i,l,s)=>o(i,e.columnWidthsPt,typeof t=="function"?t():t,n,r,e.cellSpacingPt,l?{detachedSpanHeightPtByCellId:new Map([...l].map(d=>[d,Number.POSITIVE_INFINITY]))}:void 0,s),a)}function lN(e,t,n){for(let r of e?.spansAt(t)??[])e.accept(r,n);return e?.rowOptions(t)}function sN(e,t,n,r,o){return {producer:t.producer,drawing:t.drawingTokenForParagraph?.(e)||t.drawingLayoutToken||"",drawingContext:t.inlineDrawingLayout!==void 0,projection:t.projectionTokenForParagraph?.(e)??"",inTableCell:n,cellEndMark:r,rowsClearOutOfCellFloats:o}}function dN(e,t,n,r,o,a){return a.producer===t.producer&&a.drawing===(t.drawingTokenForParagraph?.(e)||t.drawingLayoutToken||"")&&a.drawingContext===(t.inlineDrawingLayout!==void 0)&&a.projection===(t.projectionTokenForParagraph?.(e)??"")&&a.inTableCell===n&&a.cellEndMark===r&&a.rowsClearOutOfCellFloats===o}function cN(e,t,n,r,o){return {paragraph:e,properties:t,width:n,producer:r.producer,drawingToken:kf(r.drawing,r.drawingContext),projectionToken:`${r.projection}|inTableCell:${r.inTableCell}|cellEndMark:${r.cellEndMark}|from:${o}|rowsClear:${r.rowsClearOutOfCellFloats}`}}function ey(e,t,n,r,o,a,i,l,s){let{alignment:d}=s,c=e.spans.map(u=>({...u,range:u.range.paragraphId===t?u.range:{...u.range,paragraphId:t},box:{...u.box,x:u.box.x+n,y:r}}));return Xg(c,o,s.rtl,u=>Wu(u,s.measurer,a,i,d,KI(s.props,e,l,s.styleCascade),d==="center"||d==="right"?e.width:void 0,s.rtl,s.inTableCell,e.spaceShrink===true),u=>Ag(c,u,d,i,e.width))}function uN(e,t){return t?{...e,indent:{...e.indent,left:e.indent.right,right:e.indent.left}}:e}function Ff(e,t,n,r,o,a){return rS(e&&uN(e,a),a&&e?{...t,left:t.right}:t,n,r,o)}function ER(e,t){if(!e)return {};if(e.picBullet)return {firstLineMinimumBaseline:e.picBullet.height};if(e.markerText.length===0||e.markerStyle.hidden)return {};let{baseline:n}=t.lineMetrics(e.markerStyle,e.markerText);return n>0?{firstLineMarkerAscent:n}:{}}function fN(e,t){return n=>{let r=e?.get(n.paragraph.id)??n.listItem;return {firstLineOffset:Ff(r,n.indent,t,n.tabStops,n.available,at(n.props)),...ER(r,t),...r?{firstLineAfterLeadingBreaks:true}:{}}}}function mN(e){if(!(e.length<2||!Ma(e[0])))return e.find(t=>!Ma(t))?.start}function ty(e,t,n,r=0,o,a){if(!e||!n||!e.markerText&&!e.picBullet)return;let i=pd(e,t),l=nS(uN(e,o!==void 0),i,n.box.y,n.box.height);if(!l)return;let s=r+(o===void 0?l.x:o-l.x-l.width),d=e.picBullet,c=d&&a?a(d.relationshipId):null,u=d&&c?{picture:{ownerPartName:c.ownerPartName,relationshipId:d.relationshipId,box:{x:s,y:n.box.y+n.baseline-d.height,width:d.width,height:d.height},resource:c.resource}}:{},f={x:s,y:l.y,width:l.width,height:l.height},m=o!==void 0&&!("picture"in u)?Zg(e.markerText,e.markerStyle,f,t):void 0;return {text:e.markerText,style:e.markerStyle,box:f,level:e.ilvl,numId:e.numId,numFmt:e.numFmt,...e.ordinal===void 0?{}:{ordinal:e.ordinal},...u,...m?{pieces:m}:{}}}var pN=new WeakMap;function GZ(e,t){let n=Yp(e.markRunProperties);if(n.length===0)return Zn;let r=t.styleCascade?.themeFonts,o=pN.get(n);if(o&&o.theme===r)return o.style;let a=je(n,r);return pN.set(n,{theme:r,style:a}),a}function gN(e,t,n){if(e.hideEndMark)return null;let r=e.blocks.at(-1);if(r?.kind!=="paragraph")return null;let o=nc(r,t,n.styleCascade,n.listItems?.get(r.id),e.styleFormatting,n.paragraphLineUnitPt),a=GZ(o,n);if(a.hidden||n.measurer.hasResolvedFont?.(a)===false)return null;let i=n.measurer.lineMetrics(a);return {linePt:ma(o.lineSpacing,i.height,i.baseline).height,spacing:o.spacing}}function KZ(e,t,n){return gN(e,t,n)?.linePt??0}function $Z(e,t,n){let r=gN(e,t,n);return r===null?0:Math.max(0,r.spacing.before)+r.linePt+Math.max(0,r.spacing.after)}function ny(e,t,n,r){return !e.vMergeContinue&&!r.vertical?{markFloor:KZ(e,t,n),continuation:0}:{markFloor:0,continuation:r.markSizedRow?$Z(e,t,n):0}}function ry(e,t,n){return e+t+n}function oy(e,t,n,r){return e-t-n-r}function ay(e,t){return e==="center"?t/2:t}var hN=new WeakMap,UZ=1;function _a(e){if(e===void 0)return 0;let t=hN.get(e);return t===void 0&&hN.set(e,t=UZ++),t}var bN=new WeakMap,YZ=new Set(["kind","id","paragraphEnd","paragraphId","fragmentIndex","range","props","styleId","outlineLevel","alignment","spacing","indent","tabStops","lines","emptyParagraphStyle","paragraphMarkSizePt","box"]);function XZ(e,t){return e.spans.length>0?xx(e,t):!jp(e)&&e.width+Math.max(0,e.firstLineOffset??0)<=t+bx}function xN(e,t,n,r,o,a,i,l,s){let d=n[0],c=e.lines[0];l===void 0||!i.cache||n.length!==1||!d||!c||e.lines.length!==1||!SN(c,d)||AR(e)&&(Ei.add(e),bN.set(e.range,{key:l,paragraph:t,inputs:r,properties:o,parts:a,measurer:_a(i.measurer),styleCascade:_a(i.styleCascade),compatibilityMode:i.compatibilityMode,displayMode:i.displayMode,revisionAuthorFilter:_a(i.revisionAuthorFilter),vertical:s}));}function SN(e,t){return e.range.start===t.start&&e.range.end===t.end&&e.box.height===t.height&&!jp(t)}function ZZ(e,t){if(e===t)return true;if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1){let r=e[n],o=t[n];if(r===o)continue;if(r.localName!==o.localName)return false;let a=r.attributes,i=o.attributes;if(a===i)continue;if(!a||!i)return false;let l=Object.keys(a);if(l.length!==Object.keys(i).length)return false;for(let s of l)if(a[s]!==i[s])return false}return true}function qZ(e,t){if(e===t)return true;let n=0;for(let r in e)if(n+=1,r!=="available"&&e[r]!==t[r])return false;for(let r in t)n-=1;return n===0}function AR(e){if(Ei.has(e))return true;for(let t in e)if(!YZ.has(t))return false;return true}var Ei=new WeakSet;function PN(e,t){return Ei.has(e)&&AR(t)&&Ei.add(t),t}function ac(e,t){let n={...e,lines:t};return Ei.has(e)&&Ei.add(n),n}var yN=new WeakMap;function RN(e){let t=yN.get(e);return t||(t={lefts:e.map((n,r)=>$o(e,0,r)),widths:e.map((n,r)=>$o(e,r,r+1)),total:$o(e,0,e.length)},yN.set(e,t)),t}var JZ=[];function QZ(e,t,n){let r=wN(e,t,n,void 0);return r&&{...t,blocks:[r.block],box:{...t.box,x:r.x,width:r.width}}}function wN(e,t,n,r){let{deps:o,cache:a,cols:i,geometry:l}=n,s=e.blocks[0],d=t.blocks[0];if(e.blocks.length!==1||t.blocks.length!==1||s?.kind!=="paragraph"||d?.kind!=="paragraph"||d.paragraphId!==s.id||o.listItems?.has(s.id)||(!AR(d)))return null;let c=bN.get(d.range);if(!c||c.paragraph!==s||c.measurer!==n.measurer||c.styleCascade!==n.styleCascade||c.compatibilityMode!==o.compatibilityMode||c.displayMode!==o.displayMode||c.revisionAuthorFilter!==n.revisionAuthorFilter)return null;let{gridColumn:u,gridSpan:f}=e,m=f===1&&u<i.length,g=n.left+(m?l.lefts[u]:$o(i,0,u)),p=Math.max((m?l.widths[u]:$o(i,u,Math.min(u+f,i.length)))||l.total,NR),h=o.cellContentInsets?.get(e.id)??fo(e,true),y=Ih(false,g,p,r??0,Number.POSITIVE_INFINITY,h),{flowLeft:b,flowRight:x}=y,R=Math.max(1,x-b),P=qA(s,o.styleCascade,void 0,e.styleFormatting,o.paragraphLineUnitPt)??nc(s,R,o.styleCascade,void 0,e.styleFormatting,o.paragraphLineUnitPt);if(!qZ(P,c.inputs))return null;let{indent:S}=P,w=MR(P,R),I=o.hostedStory?.hostedListTokenForParagraph?.(s)??"",v=o.refFields?.tokenForParagraph(s.id)??"",{tabStops:O,properties:T}=JA(s,P,o.defaultTabStopPt,void 0,I,v)??qh(s,P,o.defaultTabStopPt,{listToken:void 0,hostedListToken:I,refToken:v});if(!dN(s,o,c.parts.inTableCell,c.parts.cellEndMark,fx(o,s.id),c.parts)||!ZZ(T,c.properties))return null;let C=a.get(c.key),F=d.lines[0],k=C?.length===1?C[0]:void 0;if(!k||!SN(F,k)||!XZ(k,w))return null;let _=Ff(void 0,S,o.measurer,O,w,false),E=b+S.left+_,N=Math.max(1,w-_),A=F.box.y;if(r!==void 0){let{appliedBefore:z,topExtent:ee}=c.vertical,K=ry(y.contentTop,z,ee);A=K+Tf(k,K,JZ);}let L=ey(k,s.id,b,A,[],E,N,true,{measurer:o.measurer,styleCascade:o.styleCascade,props:P.props,alignment:P.alignment,rtl:false,inTableCell:c.parts.inTableCell}),B=L.spans;if(B.length!==F.spans.length)return null;for(let z=0;z<B.length;z+=1)if(B[z].box.y!==(r===void 0?F.spans[z].box.y:A))return null;let D={...F,spans:B,contentX:wi(B,[],E+L.offset),box:r===void 0?{...F.box,x:b+S.left,width:w}:{...F.box,x:b+S.left,y:A,width:w}},X=A+k.height+c.vertical.appliedAfter,W={...d,lines:[D],box:r===void 0?{...d.box,x:b+S.left,width:w}:{...d.box,x:b+S.left,y:y.contentTop,width:w,height:X-y.contentTop}};return Ei.add(W),o.onCellBreakKey?.(c.key),{block:W,x:g,width:p,insets:h,flowWidth:x-b,contentTop:r===void 0?Number.NaN:y.contentTop,contentBottom:r===void 0?Number.NaN:X}}function sy(e,t,n,r,o){if(e.isHeader||t.isHeaderRepeat||t.isContinuation||t.hasContinuation||e.cells.length!==t.cells.length||!o.cache)return null;let a=RN(n),i={deps:o,cache:o.cache,measurer:_a(o.measurer),styleCascade:_a(o.styleCascade),revisionAuthorFilter:_a(o.revisionAuthorFilter),cols:n,geometry:a,left:r},l=[];for(let s=0;s<e.cells.length;s+=1){let d=e.cells[s],c=t.cells[s];if(d.id!==c.id||d.vMergeContinue||d.textDirection!=="horizontal"||c.rowSpan!==1||c.paintInert)return null;let u=QZ(d,c,i);if(!u)return null;l.push(u);}return {...t,cells:l,box:{...t.box,x:r,width:a.total}}}function Ql(e){return null}function kN(e,t,n,r,o,a){if(e.isHeader||t.isHeaderRepeat||t.isContinuation||t.hasContinuation||e.cells.length===0||e.cells.length!==t.cells.length||!a.cache)return Ql();if(e.height.rule==="exact")return Ql();let i=RN(n),l={deps:a,cache:a.cache,measurer:_a(a.measurer),styleCascade:_a(a.styleCascade),revisionAuthorFilter:_a(a.revisionAuthorFilter),cols:n,geometry:i,left:r},s=[],d=[],c=o;for(let p=0;p<e.cells.length;p+=1){let h=e.cells[p],y=t.cells[p];if(h.id!==y.id||h.vMergeContinue||h.textDirection!=="horizontal"||y.rowSpan!==1||y.paintInert)return Ql();let b=wN(h,y,l,o);if(!b)return Ql();let{markFloor:x}=ny(h,b.flowWidth,a,{vertical:false,markSizedRow:false}),R=b.block.box.height>0?x:0,P=Math.min(Number.POSITIVE_INFINITY,Math.max(o+R,b.contentBottom+b.insets.bottom));P>c&&(c=P),s.push({cell:h,moved:b}),d.push(P);}c=Math.min(Number.POSITIVE_INFINITY,Math.max(c,o));for(let p of d)p>c&&p<=Number.POSITIVE_INFINITY+.001&&(c=p);if(c<=o+.001)return Ql();c=Math.min(Number.POSITIVE_INFINITY,c);let u=e.height.rule==="atLeast"?Mi(e.height.valuePt,s.map(p=>({cell:p.cell,insets:p.moved.insets})),a.cellMinimumContentInsets):0,f=o+Math.max(u,0);f>c&&f<=Number.POSITIVE_INFINITY+.001&&(c=f),c=Math.min(Number.POSITIVE_INFINITY,c);let m=Math.max(0,c-o),g=s.map(({cell:p,moved:h},y)=>{let b=[h.block];if(p.vAlign!=="top"){let P=h.contentBottom-h.contentTop,S=oy(m,h.insets.top,h.insets.bottom,P);S>0&&(b=es(b,ay(p.vAlign,S)));}let{borders:x,...R}=t.cells[y];return {...R,blocks:b,box:{x:h.x,y:o,width:h.width,height:m}}});return {record:{...t,cells:g,box:{x:r,y:o,width:i.total,height:m}},bottom:c}}function TN(e,t,n){let r=es([e],t)[0];if(Math.abs(t)<=.001)return r;let o=a=>{for(let i of a)if(i.kind==="paragraph")n(i.paragraphId,t);else for(let l of i.rows)for(let s of l.cells)o(s.blocks);};for(let a of e.rows)for(let i of a.cells)o(i.blocks);return r}function es(e,t){return t===0?[...e]:e.map(n=>n.kind==="table"?{...n,box:{...n.box,y:n.box.y+t},rows:n.rows.map(r=>({...r,box:{...r.box,y:r.box.y+t},cells:r.cells.map(o=>({...o,box:{...o.box,y:o.box.y+t},blocks:es(o.blocks,t)}))}))}:PN(n,{...n,box:{...n.box,y:n.box.y+t},...n.shadingBox?{shadingBox:{...n.shadingBox,y:n.shadingBox.y+t}}:{},...n.bottomBorder?{bottomBorder:{...n.bottomBorder,box:{...n.bottomBorder.box,y:n.bottomBorder.box.y+t}}}:{},...n.borders?{borders:n.borders.map(r=>({...r,box:{...r.box,y:r.box.y+t}}))}:{},...n.marker?{marker:{...n.marker,box:{...n.marker.box,y:n.marker.box.y+t},...n.marker.picture?{picture:{...n.marker.picture,box:{...n.marker.picture.box,y:n.marker.picture.box.y+t}}}:{}}}:{},lines:n.lines.map(r=>({...r,box:{...r.box,y:r.box.y+t},spans:r.spans.map(o=>({...o,box:{...o.box,y:o.box.y+t}})),...r.drawings?{drawings:r.drawings.map(o=>ar(o,0,t))}:{}}))}))}function Hr(e,t,n,r,o,a,i,l,s,d){if(e.length===0)return [];let c=new Map;for(let x of n)for(let R of x.cells)c.set(R.id,R);let u=Yd(e,a,o,{pageFragment:true}),f=x=>d?.has(x)===true&&x.cells.every(R=>!R.vMergeContinue&&R.rowSpan===1&&(u.get(R.id)??1)===1),m=e.map((x,R)=>f(x)?x:{...x,cells:x.cells.map(P=>{let S=u.get(P.id);if(P.vMergeContinue&&S===void 0)return {...P,paintInert:true,rowSpan:1,borders:{},blocks:[]};let w=P.vMergeContinue,I=S??1,v=P.box.height;if(I>1){let F=e[R+I-1];v=F.box.y+F.box.height-P.box.y;}let O=c.get(P.id),T=I>1&&xE(P.blocks,v)||P.blocks;if(O&&O.vAlign!=="top"&&T.length>0){let F=s?.get(x)?.get(P.id)??fo(O,t.cellSpacingPt===0),k=Number.POSITIVE_INFINITY,_=Number.NEGATIVE_INFINITY;for(let E of T)k=Math.min(k,E.box.y),_=Math.max(_,E.box.y+E.box.height);if(Number.isFinite(k)&&Number.isFinite(_)){let E=O.textDirection==="btLr",N=(E?P.box.width-F.left-F.right:v-F.top-F.bottom)-(_-k),L=P.box.y+(E?F.left:F.top)+(N>0?O.vAlign==="center"?N/2:N:0)-k;if(Math.abs(L)>.001){T=es(T,L);for(let B of T)B.kind==="paragraph"&&i?.(B.paragraphId,L);}}}let C=Object.freeze({x:P.box.x,y:P.box.y,width:P.box.width,height:v});if(O&&l&&(I>1||O.vAlign!=="top"&&T.length>0)){let F=s?.get(x)?.get(P.id)??fo(O,t.cellSpacingPt===0),k={...C,x:C.x+F.left,width:Math.max(1,C.width-F.left-F.right)};rN(T,O.blocks,C,l,k);}return {...P,...w?{vMergeContinue:false,paintInert:false}:{},rowSpan:I,blocks:T,box:{...P.box,height:v}}})}),g=m.map(x=>x.cells.map(R=>{let P=c.get(R.id);return {gridColumn:R.gridColumn,gridSpan:R.gridSpan,vMergeContinue:R.vMergeContinue,borders:P?.borders??{top:{state:"omitted"},left:{state:"omitted"},bottom:{state:"omitted"},right:{state:"omitted"}},mergeRowSpan:R.rowSpan??1,...P?.rowTableBorders?{rowTableBorders:P.rowTableBorders}:{}}})),p=t.columnWidthsPt.length,h=t.tableBorders,y={collapsedHorizontal:t.cellSpacingPt===0,columnWidthsPt:t.columnWidthsPt,rowBands:m.map(x=>({y:x.box.y,height:x.box.height})),cellBoxes:m.map((x,R)=>x.cells.map(P=>{let S=c.get(P.id),w=S&&(s?.get(e[R])?.get(P.id)??fo(S,t.cellSpacingPt===0)),I=S&&w?w.bottom>=QB(S,(S.rowTableBorders??t.tableBorders).bottom)-.001:false;return {width:P.box.width,height:P.box.height,outerBottomInsetReserved:I,centeredSideRules:S?.centeredSideRules===true&&t.cellSpacingPt===0,centeredSidePaint:S?.centeredSidePaint===true&&t.cellSpacingPt===0}}))},b=jd(g,h,p,y,void 0,r);return m.map((x,R)=>({...x,cells:x.cells.map((P,S)=>{let w=b[R][S];return P.paintInert||P.vMergeContinue?{...P,borders:{},paintInert:true}:{...P,borders:w}})}))}function Ai(e){return e.isContinuation===true&&e.box.height<=0}function vN(e,t){if(!e||!Ai(e))return t;let n=e.cells.filter(r=>r.blocks.length>0);return n.length===0?t:{...t,cells:t.cells.map(r=>{if(!r.vMergeContinue)return r;let o=n.find(a=>a.gridColumn===r.gridColumn);return o?{...o,rowSpan:1,box:r.box}:r})}}function e6(e){let t=[0],n=0;for(let r of e)n+=r,t.push(n);return t}function t6(e,t){let n=t.get(e.id);return n===void 0&&(e.isHeaderRepeat?n=0:(n=t.size,t.set(e.id,n))),{...e,rowIndex:n}}function Ha(e,t,n,r){return {...e,nestingDepth:n,columnEdges:e.columnEdges??e6(t),rows:e.rows.map(o=>t6(o,r))}}var FN=new WeakMap,ON=new WeakMap;function n6(e){let t=ON.get(e);if(t)return t;let n=new Set;for(let r of e.occurrences)r.row.cells.some(o=>o.gridSpan>1&&o.logicalGridColumn!==void 0||o.vMergeContinue||(o.rowSpan??1)>1)&&n.add(r.table.tableId);return ON.set(e,n),n}var ic=4,DR=6,CN=14,r6={rowDivider:4,columnDivider:4,rightEdge:4,insertRow:3,insertColumn:3,tableBody:0};function _R(e,t,n,r,o){for(let a of e){if(a.kind!=="table")continue;let i=a.nestingDepth??r;for(let l of a.rows){o({pageIndex:t,table:a,row:l,rowOrdinal:l.rowIndex,nestingDepth:i,editable:!l.isHeaderRepeat,pageContentBox:n});for(let s of l.cells)_R(s.blocks,t,n,i+1,o);}}}function Zhe(e){let t=FN.get(e);if(t)return t;let n=[];for(let o=0;o<e.pages.length;o+=1){let a=e.pages[o],i=l=>{Ai(l.row)||n.push(l);};_R(a.fragments,o,a.contentBox,0,i);for(let l of [a.header,a.footer])l&&_R(l.fragments,o,l.box,0,i);}let r=Object.freeze({sourceRevision:e.revision,occurrences:Object.freeze(n)});return FN.set(e,r),r}function qhe(e){let t=e.sourceRevision;switch(e.kind){case "rowDivider":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.edgeY}`;case "columnDivider":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.leftGridColumnId}:${e.rightGridColumnId}:${e.edgeX}`;case "rightEdge":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.gridColumnId}:${e.edgeX}`;case "insertRow":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}`;case "insertColumn":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.gridColumnId}:${e.isHeaderRepeat}`;case "tableBody":return `${t}:${e.kind}:${e.pageIndex}:${e.tableId}:${e.nestingDepth}:${e.editable}`}}function Jhe(e){switch(e.kind){case "rowDivider":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.edgeY}`;case "columnDivider":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.leftGridColumnId}:${e.rightGridColumnId}:${e.edgeX}`;case "rightEdge":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}:${e.gridColumnId}:${e.edgeX}`;case "insertRow":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.isHeaderRepeat}`;case "insertColumn":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.rowId}:${e.gridColumnId}:${e.isHeaderRepeat}`;case "tableBody":return `${e.kind}:${e.pageIndex}:${e.tableId}:${e.nestingDepth}:${e.editable}`}}function Qhe(e,t){if(t.kind==="insertRow"){for(let n of e.occurrences)if(n.pageIndex===t.pageIndex&&n.table.tableId===t.tableId&&n.row.id===t.rowId&&n.row.isHeaderRepeat===t.isHeaderRepeat)return n.editable?{kind:"insertRow",pageIndex:n.pageIndex,sourceRevision:e.sourceRevision,tableId:n.table.tableId,rowId:n.row.id,isHeaderRepeat:n.row.isHeaderRepeat,nestingDepth:n.nestingDepth}:null;return null}for(let n of e.occurrences)if(n.pageIndex===t.pageIndex&&n.table.tableId===t.tableId&&n.row.id===t.rowId&&n.row.isHeaderRepeat===t.isHeaderRepeat&&n.editable)for(let r=0;r<n.table.columnEdges.length-1;r+=1){let o=Of(n.row,r);if(o===t.gridColumnId)return {kind:"insertColumn",pageIndex:n.pageIndex,sourceRevision:e.sourceRevision,tableId:n.table.tableId,rowId:n.row.id,gridColumnId:o,isHeaderRepeat:n.row.isHeaderRepeat,nestingDepth:n.nestingDepth}}return null}function Of(e,t){for(let n of e.cells)if(n.gridColumn===t)return n.gridColumnId??null;return null}function o6(e,t,n,r,o){if(!e.pages[t.pageIndex])return null;let i=t.pageContentBox,l=n-i.x-o,s=r-i.y,d=t.table,c=l-d.box.x,u=s-d.box.y;return c<-ic||u<-CN||c>d.box.width+ic||u>d.box.height+DR?null:{x:c,y:u}}function a6(e,t,n,r){if(t.row.isHeaderRepeat)return null;let o=t.table,a=t.row.box.y-o.box.y+t.row.box.height;if(!o.columnEdges.slice(1).some(s=>Math.abs(n-s)<=ic)&&n>=0&&n<=o.box.width&&Math.abs(r-a)<=ic)return {kind:"rowDivider",pageIndex:t.pageIndex,sourceRevision:e.sourceRevision,tableId:o.tableId,rowId:t.row.id,isHeaderRepeat:t.row.isHeaderRepeat,nestingDepth:t.nestingDepth,edgeY:a};if(r<t.row.box.y-t.table.box.y||r>t.row.box.y-t.table.box.y+t.row.box.height||n6(e).has(o.tableId))return null;for(let s=1;s<o.columnEdges.length-1;s+=1){let d=o.columnEdges[s];if(Math.abs(n-d)>ic)continue;let c=Of(t.row,s-1),u=Of(t.row,s);if(!(!c||!u))return {kind:"columnDivider",pageIndex:t.pageIndex,sourceRevision:e.sourceRevision,tableId:o.tableId,rowId:t.row.id,leftGridColumnId:c,rightGridColumnId:u,isHeaderRepeat:t.row.isHeaderRepeat,nestingDepth:t.nestingDepth,edgeX:d,sheetY:t.pageContentBox.y+o.box.y+r}}let l=o.columnEdges.at(-1);if(Math.abs(n-l)<=ic){let s=o.columnEdges.length-2,d=Of(t.row,s);return !d||t.row.cells.some(c=>c.logicalGridColumn!==void 0)?null:{kind:"rightEdge",pageIndex:t.pageIndex,sourceRevision:e.sourceRevision,tableId:o.tableId,rowId:t.row.id,gridColumnId:d,isHeaderRepeat:t.row.isHeaderRepeat,nestingDepth:t.nestingDepth,edgeX:l,sheetY:t.pageContentBox.y+o.box.y+r}}return null}function eye(e,t,n,r,o=0,a){let i=a??Bh(r,n),l=i>=0?o:0,s=null,d=-1,c=-1,u=f=>{if(!f)return;let m=r6[f.kind];f.nestingDepth<d||f.nestingDepth===d&&m<=c||(d=f.nestingDepth,c=m,s=f);};for(let f of e.occurrences){if(i>=0&&f.pageIndex!==i)continue;let m=o6(r,f,t,n,l);if(!m||(u(a6(e,f,m.x,m.y)??{kind:"tableBody",pageIndex:f.pageIndex,sourceRevision:e.sourceRevision,tableId:f.table.tableId,nestingDepth:f.nestingDepth,editable:f.editable}),!f.editable))continue;let g=f.row.box.y-f.table.box.y;m.x<=DR&&Math.abs(m.y-(g+f.row.box.height/2))<=f.row.box.height/2+DR&&u({kind:"insertRow",pageIndex:f.pageIndex,sourceRevision:e.sourceRevision,tableId:f.table.tableId,rowId:f.row.id,isHeaderRepeat:f.row.isHeaderRepeat,nestingDepth:f.nestingDepth});for(let p=0;p<f.table.columnEdges.length-1;p+=1){let h=f.table.columnEdges[p],y=f.table.columnEdges[p+1],b=(h+y)/2;if(Math.abs(m.x-b)>(y-h)/2+2||m.y>CN)continue;let x=Of(f.row,p);if(x){u({kind:"insertColumn",pageIndex:f.pageIndex,sourceRevision:e.sourceRevision,tableId:f.table.tableId,rowId:f.row.id,gridColumnId:x,isHeaderRepeat:f.row.isHeaderRepeat,nestingDepth:f.nestingDepth});break}}}return s}function IN(e,t,n,r,o,a,i=Number.POSITIVE_INFINITY,l){if(o>=YP)return null;let s=Math.max(1,n-t),d=qt(e,s,o-(a.tableNestingOffset??0),a.styleCascade,a.displayMode,a.revisionAuthorFilter,a.compatibilityMode,In(a),a.textBoxStory===true&&o===(a.tableNestingOffset??0));if(!d||d.rows.length===0)return null;let c=l?.nextRowIndex??0,u=l?.fragmentIndex??0,f=Number.isFinite(i),m=d.rows.some(T=>T.isHeader||T.cells.some(C=>C.vMergeContinue)),g=0,p={...Tn(a),cache:void 0,borderOwnershipBudget:void 0,vMergeResolveBudget:void 0,onCellBreakKey:void 0,nextLineId:()=>`probe-nested-${g++}`},h=[],y={...a,publishAnchoredDrawings:void 0,collectAnchoredDrawings:void 0,anchorDeferOnly:true,deferAnchoredDrawings:T=>{h.push(T);}},b=t+Na(d,s),x=Ni(d,b,o,y,void 0,T=>T.id===d.rows[c]?.id),R=[],P=new Map,S=r,w=c;for(let T=c;T<d.rows.length;T++){let C=d.rows[T],F=T===c?it(d,C,y):y,k=T===c?it(d,C,p):p;if(f&&!m){let N=jr(C,d.columnWidthsPt,b,o,k,d.cellSpacingPt,void 0,S);if(S+N>i+.001)break}let _=h.length,E=MN(C,d,b,S,o,F,false,lN(x,T,S),()=>(h.length=_,x?.withdrawAt(T),x?.rowOptions(T)));R.push(E.record),F.cellContentInsets&&P.set(E.record,F.cellContentInsets),S=E.bottom,w=T+1;}if(R.length===0||S>i+.001)return {fragment:null,bottom:r};let I=Hr(R,d,d.rows.slice(c,w),a.borderOwnershipBudget,a.vMergeResolveBudget,void 0,void 0,void 0,P);for(let T of h)for(let C of I)if(C.cells.some(k=>k.blocks.some(_=>_.kind==="paragraph"&&_.paragraphId===T.paragraphId))){LR([T],C.cells,C.box.y,C.box.height,a);break}let v=d.columnWidthsPt.reduce((T,C)=>T+C,0),O=new Map(d.rows.map((T,C)=>[T.id,C]));return {...w<d.rows.length?{remainder:{nextRowIndex:w,fragmentIndex:u+1}}:{},fragment:Ha({kind:"table",id:`${e.id}#f${u}`,tableId:e.id,fragmentIndex:u,rows:I,box:{x:b,y:r,width:v,height:S-r}},d.columnWidthsPt,o,O),bottom:S}}function dy(e,t,n,r=false){let o=!e.some(i=>i.spans.length>0);if(!o&&!r)return {};let a=HR(t,n);return {...o?{emptyParagraphStyle:a}:{},...r?{paragraphMarkSizePt:a.fontSizePt}:{}}}var BN=new WeakMap;function HR(e,t){if(e.length===0)return Zn;let n=BN.get(e);if(n&&n.themeFonts===t)return n.style;let r=je(e,t);return BN.set(e,{themeFonts:t,style:r}),r}var LN=new WeakMap;function jR(e,t){if(!t)return false;let n=LN.get(t);n||(n=new WeakMap,LN.set(t,n));let r=n.get(e);if(r===void 0){let o=ot(e,t);r=o.some(a=>a.projection.wrap==="topAndBottom")||o.length>0&&JF(e),n.set(e,r);}return r}var i6=Object.freeze({anchorsTopAndBottom:false,ownBandPageFramed:false,ownBandPageFramedHorizontally:false}),l6=new Set(["column","character"]),EN=new WeakMap;function NN(e,t){if(!t||!jR(e,t))return i6;let n=EN.get(t);n||(n=new WeakMap,EN.set(t,n));let r=n.get(e);if(r===void 0){let o=ot(e,t),a=o.some(l=>{if(l.projection.anchor?.simplePos)return true;let s=l.projection.position?.vertical;return !!s&&Qp(s.relativeFrom)}),i=o.some(l=>{if(l.projection.anchor?.simplePos)return true;let s=l.projection.position?.horizontal;return !!s&&!l6.has(s.relativeFrom)});r=Object.freeze({anchorsTopAndBottom:true,ownBandPageFramed:a,ownBandPageFramedHorizontally:i}),n.set(e,r);}return r}var AN=new WeakMap;function DN(e,t){if(!t)return false;let n=AN.get(t);n||(n=new WeakMap,AN.set(t,n));let r=n.get(e);return r===void 0&&(r=ot(e,t).length>0,n.set(e,r)),r}function _N(e,t,n){if(!t||n.breakClearance)return false;let r=kn(e),o=ot(e,t),a=o.map(l=>r.get(l.atomId)).filter(l=>l!==void 0);if(a.length===0)return false;let i=a.reduce((l,s)=>Math.min(l,s),1/0);return n.end<=i?true:a.some(l=>l>=n.start&&l<n.end)&&n.end<=i+1&&!o.some(l=>{let s=r.get(l.atomId);return l.projection.wrap==="topAndBottom"&&s!==void 0&&s>=n.start&&s<n.end})}function HN(e){let{pageZones:t,brokenLines:n,lineIndex:r,fragmentFirstLine:o,appliedSkipByLineIndex:a}=e;if(r<=o)return t;let i=kn(e.paragraph),l=new Map,s=0;for(let d=o;d<r;d++){let c=n[d];for(let u of i.values())u>=c.start&&u<c.end&&l.set(u,s);s+=(a.get(d)??c.exclusionSkipBefore??0)+c.height;}return l.size===0?t:Object.freeze([...t,...tg({...e,anchorLineTopByModelStart:l})])}function jN(e,t){if(e.length===0)return e;let n=t.paragraphOrderIndex,o=(n?XF(e,n(t.paragraphId)??Number.MAX_SAFE_INTEGER,n):e).filter(a=>a.anchorParagraphId===t.paragraphId||a.verticalBand.y+a.verticalBand.height>t.top+.001&&Ng(a,t.originX+t.linesLeft,t.originX+t.linesRight));return pi(o,t.originX,0,{left:0,right:t.width})}function WN(e){let t=()=>e.zones.length===0&&!DN(e.paragraph,e.inlineDrawingLayout),{held:n,continuedAfter:r}=e;if(n&&r!==void 0&&n.key===e.heldKey()&&t()){let i=r-n.base;if(i>0&&n.lines[i]?.start===e.startOffset)return {lines:n.lines,lineStart:i,priorLineCount:n.base,carry:()=>n}}let o=e.breakRemainder(),a=r??0;return {lines:o,lineStart:r!==void 0?0:e.legacyLineStart,priorLineCount:a,carry:()=>t()?{key:e.heldKey(),lines:o,base:a}:void 0}}function vn(e){return e.cells.map(WR)}function WR(){return {blockIndex:0,lineIndex:0,previousSpaceAfter:0,paragraphFragmentIndex:0,precededByEmittedTable:false}}function zN(e,t,n,r){return {blockIndex:e,lineIndex:t.nextLineIndex,startOffset:t.nextStartOffset,...t.heldBreak?{heldBreak:t.heldBreak}:{},previousSpaceAfter:0,paragraphFragmentIndex:n+1,precededByEmittedTable:r}}function VN(e,t,n){return e.heldBreak&&t===e.blockIndex&&n!==void 0?{heldBreak:e.heldBreak}:{}}function GN(e,t,n,r){if(!n&&!r)return e;let o=lT(t),a=n&&o.before,i=r&&o.after;return !a&&!i?e:{before:a?0:e.before,after:i?0:e.after}}var KN=new WeakMap;function Cf(e){let t=fT(e.borders);if(t==="")return "";let n=Id(e.indent,at(e.props)),{left:r,right:o}=e.indent;return `${t}@${r-n.left},${o-n.right}`}function $N(e,t,n){KN.set(e,{styleCascade:t.styleCascade,tableCellStyle:t.tableCellStyle,listItem:t.listItems?.get(e.id),key:n});}function s6(e,t){let n=t.listItems?.get(e.id),r=KN.get(e);if(r&&r.styleCascade===t.styleCascade&&r.tableCellStyle===t.tableCellStyle&&r.listItem===n)return r.key;let o=Cf(Vn(e,1,t.styleCascade,n,t.tableCellStyle,true));return $N(e,t,o),o}function d6(e,t){return e&&e.kind==="paragraph"?s6(e,t):""}function UN(e,t,n,r){$N(e,n,t);let o=a=>t!==""&&d6(a,n)===t;return {continuesAbove:o(r?.previous),continuesBelow:o(r?.next)}}var c6=Object.freeze({});function cy(e,t){return e?t?{inlineDrawingLayout:e,layoutTextboxStory:t.layoutTextboxStoryFor}:{inlineDrawingLayout:e}:c6}var YN=chunkFIJZIQXA_cjs.tb();function zR(e,t,n,r,o,a){let i=[t,n?.cacheToken??"",r,o?.cacheKey??"",a??""].join("|"),l=(u,f)=>{let m=qt(u,t,0,n,r,o,a);if(m)for(let g of m.rows)for(let p of g.cells)for(let h of p.blocks)h.localName==="p"?f.push(h.id):h.localName==="tbl"&&l(h,f);},s=new Map,d=0,c=u=>{let f=YN.get(u);if(f?.key!==i){let m=[];l(u,m),YN.set(u,f={key:i,ids:m},m.length);}for(let m of f.ids)s.set(m,d++);};for(let u of e)u.kind==="paragraph"&&u.paragraph?s.set(u.paragraph.id,d++):u.kind==="table"&&u.table&&c(u.table);return s}var VR=4096,NR=1,Wr=class extends Error{code;constructor(t,n){super(n),this.name="TablePaginationError",this.code=t;}};function $o(e,t,n){let r=0;for(let o=t;o<n&&o<e.length;o+=1)r+=e[o];return r}function u6(e,t,n,r,o,a,i){let l=e.id,s=o.cache?.keyFor?.bind(o.cache)??Gh,d=o.listItems?.get(l),c=oT(nc(e,n,o.styleCascade,d,i?.tableCellStyle,o.paragraphLineUnitPt),o.snapsStoryLines&&i?.inTableCell===false?o.paragraphLineUnitPt:void 0),{props:u,indent:f,available:m,alignment:g,styleId:p,outlineLevel:h,spacing:y,bottomBorder:b,borders:x,shading:R}=c,P=GN(y,u,i?.firstInCell===true,i?.lastInCell===true),S=QA(P,c.contextualSpacing,p,eN(e,i?.borderNeighbours),o.styleCascade,i?.tableCellStyle),w=at(u),{continuesAbove:I,continuesBelow:v}=UN(e,Cf(c),{styleCascade:o.styleCascade,tableCellStyle:i?.tableCellStyle,listItems:o.listItems},i?.borderNeighbours),O=I?void 0:x.top,T=v?x.between:b,{tabStops:C,properties:F}=qh(e,c,o.defaultTabStopPt,{listToken:d&&ec(d),hostedListToken:o.hostedStory?.hostedListTokenForParagraph?.(e)??"",refToken:o.refFields?.tokenForParagraph(l)??""}),k=i?.startOffset??0,_=k===0&&(i?.lineStart??0)===0,E=k===0?Ff(d,f,o.measurer,C,m,w):0,N=Rl(i?.inTableCell,o,l),A=N.anchorsWrapText&&o.pageExclusionZones?.()||[],L=f.left+m+f.right,B=jN(A,{paragraphOrderIndex:o.paragraphOrderIndex,originX:t,width:L,paragraphId:l,top:r,linesLeft:f.left+Math.min(0,E),linesRight:L-f.right}),D=Lr(B),$=CR(D,r),X=sN(e,o,i?.inTableCell===true,i?.cellEndMark===true,N.rowsClearOutOfCellFloats),W=(Ge,Se=true)=>s({...cN(e,F,m,X,Ge),...Se&&$?{exclusionToken:$}:{}}),z,ee=()=>{let Ge=z=W(k);return o.cache&&o.onCellBreakKey?.(Ge),Zh(o.cache,o.cache?Ge:null,()=>({compatibilityMode:o.compatibilityMode,paragraph:e,paragraphId:l,indentLeft:f.left,available:m,measurer:o.measurer,formatting:c,producer:o.producer,styleCascade:o.styleCascade,tabStops:C,...o.pageContext?{pageContext:o.pageContext}:{},flow:{firstLineOffset:E,...k===0?ER(d,o.measurer):{},startOffset:k,marginExtent:{left:0,right:L},...o.projectLink?{projectLink:o.projectLink}:{},...o.projectFieldLink?{projectFieldLink:o.projectFieldLink}:{},showFieldCodes:o.showFieldCodes,fieldCodeRanges:o.fieldCodeRanges?.get(l),tocLinkStyleRanges:o.tocLinkStyleRanges?.get(l),suppressEmptyPlaceholderLine:o.fieldCodeRanges?.get(l)?.some(Se=>Se.suppressParagraph),...o.documentProperties?{documentProperties:o.documentProperties}:{},...o.bodyPageFields?{bodyPageFields:o.bodyPageFields}:{},...o.refFields?{refFields:o.refFields}:{},displayMode:o.displayMode,...o.revisionAuthorFilter?{revisionAuthorFilter:o.revisionAuthorFilter}:{},...o.noteMarks?{noteMarks:o.noteMarks}:{},...cy(o.inlineDrawingLayout,o.hostedStory),contentLeft:0,contentRight:L,paragraphStartY:r,...Dv(L,m,N),...B.length>0?{pageExclusionZones:B}:{}}}),()=>o.cache&&!w&&k===0&&B.length===0&&!d?Jv(o.cache,e,Ge,m):void 0)},K=WN({paragraph:e,startOffset:k,continuedAfter:i?.startOffset!==void 0?i?.lineStart??0:void 0,legacyLineStart:i?.lineStart??0,held:i?.heldBreak,zones:B,inlineDrawingLayout:o.inlineDrawingLayout,heldKey:()=>W(0,false),breakRemainder:ee}),{lines:U,lineStart:q,priorLineCount:V}=K,ne=i?.fragmentIndex??0,G=i?.maxBottom??Number.POSITIVE_INFINITY,re=i?.includeAfter??true,fe=i?.includeBottomBorder??true,te=()=>d!==void 0||o.displayMode==="all-markup"&&lv(e,"all-markup",o.revisionAuthorFilter),Z=U,oe=(i?.collapseHeight??false)&&!te(),ce=_&&!oe?ai(S.before,a):0,M=t+f.left,ie=_&&!oe?pa(O):0,ue=[],pe=ry(r,ce,ie),Te=q,Re=false,Fe=[],ke=pe;for(let Ge=q;Ge<Z.length;Ge+=1){let Se=Z[Ge],yt=Ge===Z.length-1,xr=yt&&fe&&T&&!oe?pa(T):0,Rt=yt&&re&&!oe?S.after:0,Jt=oe?0:Tf(Se,ke,B),tt=oe?ke:ke+Jt+Se.height+xr+Rt;if((yt&&!oe?Math.max(tt,i?.cellEndMarkMinBottom??tt):tt)>G+.001)break;Fe.push(ke+Jt),oe||(ke+=Jt+Se.height);}let _e=q+Fe.length;_e<Z.length&&Le(o.compatibilityMode,"tableParagraphWidowControl")&&i?.applyWidowControl!==false&&(_e=ki(_e,q,Z.length,{...ht(u),keepLines:!!o.keepLinesOpening&&ht(u).keepLines},i?.aloneOnPage??true));let Ke={measurer:o.measurer,styleCascade:o.styleCascade,props:u,alignment:g,rtl:w,inTableCell:i?.inTableCell===true};for(let Ge=q;Ge<_e;Ge+=1){let Se=Z[Ge],yt=Ge===Z.length-1;pe=Fe[Ge-q];let xr=t+f.left+(Ge===0&&!w?E:0),Rt=Math.max(1,m-(Ge===0?E:0)),Jt=t-(w&&Ge===0?E:0),tt=Object.freeze({x:t,y:r,width:n,height:Math.max(0,G-r)}),dn=Se.drawings.map(Sr=>Object.freeze({...ar(Sr,Jt,pe),paragraphId:l})),Bn=ey(Se,l,Jt,pe,dn,xr,Rt,yt,Ke),{spans:Gr,offset:Ln}=Bn,be=Bn.drawings.map(Sr=>Zl(Sr,tt));ue.push({id:o.nextLineId(l,Se.start,V+Ge),range:{paragraphId:l,start:Se.start,end:Se.end},spans:Gr,...be.length>0?{drawings:be}:{},box:{x:t+f.left,y:pe,width:m,height:oe?0:Se.height},contentX:wi(Gr,be,xr+Ln),baseline:oe?Math.max(0,Math.min(Se.baseline,i?.collapseBandAbove??0)):Se.baseline,leading:oe?0:Se.leading,trailingSpacing:oe?0:Se.trailingSpacing,...Se.manualBreakAfter?{manualBreakAfter:true}:{},...Se.deletedRanges?{deletedRanges:Se.deletedRanges}:{},...Se.anchorRevisions?{anchorRevisions:Se.anchorRevisions}:{},...Se.changeSites?{changeSites:Se.changeSites}:{}}),oe||(pe+=Se.height),Te=Ge+1,Re=true;}if(!Re)return {fragment:null,bottom:r,spaceAfter:a,nextLineIndex:V+q,nextStartOffset:k,complete:false,fitted:false};let le=Te>=Z.length,ge=ue[0].box.y,ae=pe,he=[],Ae,We=ge,De=ae,gt=x.left?mr(x.left):0,ze=x.right?mr(x.right):0,ft=Id(f,w),xt=M-ft.left,kt=M+m+ft.right,Yt=x.left?xt-x.left.spacePt-gt:xt,He=x.right?kt+x.right.spacePt+ze:kt,br=Math.max(He-Yt,0);if(ie>0&&O){let Ge=mr(O),Se=ge-O.spacePt-Ge;he.push({side:"top",edge:O,box:{x:Yt,y:Se,width:br,height:Ge}}),We=Se;}if(le&&fe&&T&&!oe){let Ge=mr(T),Se=ae+T.spacePt,yt={x:Yt,y:Se,width:br,height:Ge};v||(Ae={edge:T,box:yt}),he.push({side:v?"between":"bottom",edge:T,box:yt}),De=Se+Ge;}let ln=le&&re&&!oe?S.after:0,Kn=I&&_?r:We,bn=v&&le?De+ln:De,Et=Math.max(bn-Kn,0);if(x.left&&he.push({side:"left",edge:x.left,box:{x:Yt,y:Kn,width:gt,height:Et}}),x.right&&he.push({side:"right",edge:x.right,box:{x:kt+x.right.spacePt,y:Kn,width:ze,height:Et}}),x.bar){let Ge=mr(x.bar);he.push({side:"bar",edge:x.bar,box:{x:M-x.bar.spacePt-Ge,y:ge,width:Ge,height:Math.max(ae-ge,0)}});}let Ve=De+ln,Tt=R===void 0?void 0:x.left||x.right?{x:Yt,y:We,width:br,height:Math.max(De-We,0)}:Ym(ue,M,m),sn=le&&o.displayMode==="all-markup"?kp(e,"all-markup",o.revisionAuthorFilter):null,Mn=sn?.revisions??[],Vr=sn?.formatRevision??null,Ht=o.displayMode??"proposed",Ze=le?Rd(e,Ht,o.revisionAuthorFilter):[],Ot=_?ty(d,o.measurer,ue[0],t,w?f.left+m+f.right:void 0,o.inlineDrawingLayout?.pictureBulletResource):void 0,qe=Ti(e),Xe=qe?Ug(ue,Ed(qe,Ht,o.revisionAuthorFilter)):ue,On={kind:"paragraph",id:`${l}#f${ne}`,...le?{paragraphEnd:true}:{},paragraphId:l,fragmentIndex:ne,range:{paragraphId:l,start:Xe[0].range.start,end:Xe[Xe.length-1].range.end},props:u,styleId:p,outlineLevel:h,alignment:g,spacing:{before:ce,after:ln},indent:f,tabStops:C,...Ae?{bottomBorder:Ae}:{},...he.length>0?{borders:he}:{},...R===void 0?{}:{shading:R},...Tt===void 0?{}:{shadingBox:Tt},...Ot?{marker:Ot}:{},...Tp(Mn,Vr),...Ze.length>0?{markChangeSites:Ze}:{},lines:Xe,...dy(Xe,c.markRunProperties,o.styleCascade?.themeFonts,le),box:{x:M,y:r,width:m,height:Ve-r}};if(o.inlineDrawingLayout&&o.anchorFrameBase&&o.pageContentClip){let Ge=Object.freeze({x:t,y:r,width:n,height:Math.max(0,G-r)}),Se=On.box,yt={paragraph:e,paragraphId:l,paragraphBox:Se,lines:Xe};o.deferAnchoredDrawings?o.deferAnchoredDrawings({...yt,cellOriginX:t,cellContentWidth:n}):o.collectAnchoredDrawings&&o.collectAnchoredDrawings(ql({paragraph:e,paragraphId:l,paragraphBox:Se,lines:Xe,drawingLayout:o.inlineDrawingLayout,frameBase:o.anchorFrameBase(),columnBox:o.columnBoxForParagraph?.(Se)??Se,cellBox:Ge,cellContentBox:Ge,pageClip:o.pageContentClip(),cellAnchorScope:N,measurer:o.measurer,...o.hostedStory?{layoutTextboxStory:o.hostedStory.layoutTextboxStoryFor}:{},...o.displayMode?{displayMode:o.displayMode}:{},...o.revisionAuthorFilter?{revisionAuthorFilter:o.revisionAuthorFilter}:{}}));}return le&&_&&!oe&&!B.length&&!w&&!d&&xN(On,e,Z,c,F,X,o,z,{appliedBefore:ce,topExtent:ie,appliedAfter:ln}),{fragment:On,bottom:Ve,spaceAfter:o.styleCascade?.fixedParagraphSpacing?0:ln,nextLineIndex:V+Te,nextStartOffset:Z[Te]?.start??Z.at(-1).end,...le?{}:{heldBreak:K.carry()},complete:le,fitted:true}}function ja(e,t,n,r,o,a){let i=XN(e,t,n,r,Number.POSITIVE_INFINITY,o,a,{blockIndex:0,lineIndex:0,previousSpaceAfter:0,paragraphFragmentIndex:0,precededByEmittedTable:false});return {blocks:i.blocks,bottom:i.bottom}}function XN(e,t,n,r,o,a,i,l,s,d=false,c,u=false,f=true){let m=[],g=r,p=l.previousSpaceAfter,h=l.blockIndex,y=l.lineIndex,b=l.startOffset,x=l.heldBreak,R=l.nestedTable,P=l.paragraphFragmentIndex,S=false,w=false,I=l.precededByEmittedTable;for(;h<e.length;){let v=e[h];if(v.kind==="table"){y!==0&&(y=0),p=0;let C=IN(v,t,n,g,a+1,i,o,R);if(!C){I=false,h+=1;continue}if(!C.fragment){w=!S;break}if(m.push(C.fragment),g=C.bottom,S=true,I=true,R=C.remainder,R)break;h+=1,y=0,b=void 0;continue}if(v.kind!=="paragraph"){I=false,h+=1,y=0,b=void 0;continue}let O=d&&h===e.length-1&&I&&uB(v),T=u6(v,t,Math.max(1,n-t),g,i,p,{inTableCell:d,lineStart:y,startOffset:b,heldBreak:h===l.blockIndex?x:void 0,applyWidowControl:f,aloneOnPage:!S&&i.rowAtPageStart!==false,fragmentIndex:P,maxBottom:o,includeAfter:true,includeBottomBorder:true,firstInCell:h===0,lastInCell:h===e.length-1,cellEndMark:(u||c!==void 0)&&h===e.length-1,hideEndMark:u&&h===e.length-1,cellEndMarkMinBottom:h===e.length-1?c:void 0,collapseHeight:O,collapseBandAbove:g-r,...s?{tableCellStyle:s}:{},borderNeighbours:{previous:h>0?e[h-1]:void 0,next:e[h+1]}});if(!T.fitted||!T.fragment)break;if(m.push(T.fragment),g=T.bottom,S=true,T.complete)p=T.spaceAfter,I=false,h+=1,y=0,b=void 0,P=0;else return {blocks:m,bottom:g,cursor:zN(h,T,P,I),complete:false,fitted:true,nestedSplitBlocked:false}}return {blocks:m,bottom:g,cursor:{blockIndex:h,lineIndex:y,startOffset:b,...VN(l,h,b),...R?{nestedTable:R}:{},previousSpaceAfter:p,paragraphFragmentIndex:P,precededByEmittedTable:I},complete:h>=e.length,fitted:S,nestedSplitBlocked:w}}function Ut(e,t,n,r,o,a,i,l=0,s,d=Number.POSITIVE_INFINITY){return bo(e,t,n,r,Number.POSITIVE_INFINITY,o,false,a,i,vn(e),l,s,d)}function bo(e,t,n,r,o,a,i,l,s,d,c=0,u,f=o){let m=u?.detachedSpanHeightPtByCellId,g=$o(t,0,t.length),p=$L(t,c),h=s.measurer.lineMetrics(Zn).height,y=e.height,b=y.rule==="exact"?y.valuePt:void 0,x=y.rule==="atLeast"?y.valuePt:void 0,R=[],{rowDeps:P,flushDeferred:S}=oN(s,R),w=a&&s.pageOccurrenceKey?{...P,nextLineId:(B,D,$)=>P.nextLineId(B,D,$,s.pageOccurrenceKey())}:P,I=b===void 0?o:Math.min(o,r+Math.max(0,b)),v=[],O=false,T=false,C=ZP,F=e.cells.length>0&&e.cells.every(B=>B.vMergeContinue||C(B)),k=r;for(let B=0;B<e.cells.length;B+=1){let D=e.cells[B],$=d[B]??WR(),{gridSpan:X,gridColumn:W}=D,z=n+$o(t,0,W),ee=$o(t,W,Math.min(W+X,t.length))||g,K=p&&W<t.length?p:null,U=K?n+K.cellLeft(W):z,q=Math.max(K?K.cellWidth(W,X):ee,NR),V=s.cellContentInsets?.get(D.id)??Zt(D,c===0),ne=V.top,G=m?.get(D.id),re=G!==void 0,fe=re?Math.min(f,r+G):I,te=D.textDirection==="btLr",Z=Ih(te,U,q,r,fe,V),{flowLeft:oe,flowRight:ce,contentTop:M,contentMaxBottom:ie}=Z,{markFloor:ue,continuation:pe}=ny(D,ce-oe,w,{vertical:te,markSizedRow:F}),Te=[],Re=M,Fe=$,ke=true,_e=false,Ke=false,le=(Ae,We=false)=>XN(D.blocks,oe,Ae,M,ie,l,We?Qh(w):w,$,D.styleFormatting,true,te?void 0:r+Math.min(ue,b??1/0)-V.bottom,D.hideEndMark,!te&&(re||b===void 0));if(!D.vMergeContinue&&!C(D))if(ie<M-.001)ke=$.blockIndex>=D.blocks.length;else {let Ae=le(ce);Te=Ae.blocks,Re=Ae.bottom,Fe=Ae.cursor,ke=Ae.complete,_e=Ae.fitted,Ke=Ae.nestedSplitBlocked,_e&&(O=true),Ke&&(T=true);}let ge=Te.at(-1),ae=ke&&ge?.kind==="paragraph"&&ge.box.height>0?ue:0,he=Math.min(fe,Math.max(r+ae,D.vMergeContinue||C(D)?pe>0?r+ne+pe+V.bottom:r:_e?Re+V.bottom:r+ne+h+V.bottom));he>k&&!re&&(k=he),v.push({cell:D,x:U,width:q,gridColumn:W,blocks:Te,contentTop:M,contentBottom:Re,physicalBottom:he,insets:{...V,top:ne},nextCursor:Fe,complete:D.vMergeContinue?true:ke,fitted:_e,nestedSplitBlocked:Ke,...C(D)?{flowTo:le}:{}});}k=Math.min(I,Math.max(k,r));for(let B of v){if(m?.has(B.cell.id)===true)continue;let D=B.physicalBottom;D>k&&D<=I+.001&&(k=D);}if(k<=r+.001&&v.some(B=>!B.cell.vMergeContinue&&!B.cell.hideEndMark)){let B=r;for(let D of v){if(D.cell.hideEndMark)continue;let $=r+D.insets.top+h+D.insets.bottom;$>B&&(B=$);}k=Math.min(I,B);}k=Math.min(I,k);let _=false;if(b!==void 0){let B=r+b;B<=o+.001?(k=B,_=true):k=Math.min(o,k);}else {let B=i||x===void 0?0:Mi(x,v,s.cellMinimumContentInsets),D=i?0:u?.heightFloorPt??0,$=r+Math.max(B,D);$>k&&$<=o+.001&&v.every(W=>W.complete)&&(k=$);}k=Math.min(o,k);let E=Math.max(0,k-r);hE(v,E)&&F&&(O=true);let N=v.map(B=>{let D=B.blocks,$=_?true:B.complete;if(!B.cell.vMergeContinue&&$&&B.cell.vAlign!=="top"&&D.length>0){let X=B.contentBottom-B.contentTop,W=B.cell.textDirection==="btLr"?B.width-B.insets.left-B.insets.right-X:oy(E,B.insets.top,B.insets.bottom,X);W>0&&(D=es(D,ay(B.cell.vAlign,W)));}return {id:B.cell.id,...B.cell.revisionShading?{revisionShading:B.cell.revisionShading,revisionShadingAuthor:B.cell.revisionShadingAuthor}:{},gridColumn:B.gridColumn,...B.cell.logicalGridColumn===void 0?{}:{logicalGridColumn:B.cell.logicalGridColumn},...B.cell.gridColumnId?{gridColumnId:B.cell.gridColumnId}:{},gridSpan:B.cell.gridSpan,vMergeContinue:B.cell.vMergeContinue,...B.cell.vMergeContinue?{paintInert:true}:{},rowSpan:1,...B.cell.shading===void 0?{}:{shading:B.cell.shading},...B.cell.textDirection==="btLr"?{textDirection:"btLr"}:{},blocks:D,box:{x:B.x,y:r,width:B.width,height:E}}}),A=_||v.every(B=>B.complete)?null:v.map(B=>B.nextCursor),L=_||v.every(B=>B.complete);return bE(v,N),S(N,r,E),{record:{id:e.id,...e.revisionKind?{revisionKind:e.revisionKind}:{},...e.revisionId!==void 0?{revisionId:e.revisionId}:{},...e.revisionAuthor!==void 0?{revisionAuthor:e.revisionAuthor}:{},...e.revisionDate!==void 0?{revisionDate:e.revisionDate}:{},...e.changeSites?{changeSites:e.changeSites}:{},rowIndex:0,isHeaderRow:e.isHeader,isHeaderRepeat:a,...i?{isContinuation:true}:{},...e.cantSplit||e.height.rule==="exact"?{placesWhole:true}:{},cells:N,box:{x:n,y:r,width:g,height:E}},bottom:k,remainder:L?null:A,fitted:O||e.cells.every(B=>B.vMergeContinue)||_,nestedSplitBlocked:T}}function jr(e,t,n,r,o,a=0,i,l){let s=Ko(o,l!==void 0);return Ut(e,t,n,l??0,false,r,s,a,i).record.box.height}function MN(e,t,n,r,o,a,i,l,s){let d=u=>Ut(e,t.columnWidthsPt,n,r,i,o,a,t.cellSpacingPt,u),c=d(l);return c.remainder===null||l===void 0?c:d(s())}var Ni=(e,t,n,r,o,a)=>r.measuringOnly===true?null:iN(o?{...e,rows:o}:e,t,n,r,(i,l,s,d,c,u,f,m)=>jr(i,l,s,d,a?.(i)?it(e,i,c):c,u,f,m),a?i=>a(i)?"outer-top":"shared-top":void 0);function Wa(e,t,n,r,o,a,i,l=()=>false){let s=[],d=new Map,c=n;for(let[g,p]of e.rows.entries()){let h=g===0?it(e,p,i):i,y=Ut(p,e.columnWidthsPt,t,c,l(p),a,h,e.cellSpacingPt);s.push(y.record),h.cellContentInsets&&d.set(y.record,h.cellContentInsets),c=y.bottom;}let u=Hr(s,e,e.rows,i.borderOwnershipBudget,i.vMergeResolveBudget,void 0,void 0,void 0,d),f=$o(e.columnWidthsPt,0,e.columnWidthsPt.length),m=new Map;return {fragment:Ha({kind:"table",id:`${o}#f${r}`,tableId:o,fragmentIndex:r,rows:u,box:{x:t,y:n,width:f,height:c-n}},e.columnWidthsPt,a,m),bottom:c}}var f6=1584,ZN=1e4,m6="http://schemas.openxmlformats.org/wordprocessingml/2006/main";function ts(e){let t=chunkFIJZIQXA_cjs.nd(e);if(t===null||Math.abs(t)>99999999)return null;let n=t/20;return Math.abs(n)<=f6?n:null}function GR(e,t){let n=[e],r=0;for(;n.length;){let o=n.pop();if(++r>ZN||o.localName==="object")return false;if(o.kind==="drawing"||chunkFIJZIQXA_cjs.od(o)||chunkFIJZIQXA_cjs.Jd(o)){let a=t?.projectionForAtom?.(o.id)??(o.kind==="drawing"?t?.project(o):void 0);if(a?.kind!=="inline"||a.textboxStory||t?.resourceOf(a).kind!=="ready")return false;continue}if(o.namespaceUri!==m6||["drawing","pict","object","sectPr","footnoteReference","endnoteReference","pageBreakBefore","ins","del","moveFrom","moveTo","pPrChange","rPrChange"].includes(o.localName)||o.localName==="br"&&o.attributes.some(a=>a.localName==="type"&&a.value!=="textWrapping")||r+n.length+o.children.length>ZN)return false;for(let a of o.children)a.kind!=="textValue"&&n.push(a);}return true}function KR(e){let t;for(let n of e)n.localName==="framePr"&&(t={...t,...n.attributes});return t}function $R(e){let t=KR(e);if(!t||!["w","h","x","y","xAlign","yAlign","hAnchor","vAnchor"].some(R=>t[R]!==void 0))return null;let n=new Set(["x","y","w","h","hRule","hAnchor","vAnchor","wrap","anchorLock","hSpace","vSpace","dropCap","lines","xAlign","yAlign"]);if(Object.keys(t).some(R=>!n.has(R)))return null;let r=t.wrap??"around";if(!["auto","around","tight","through","none","notBeside"].includes(r))return null;let o=ts(t.hSpace??"0"),a=ts(t.vSpace??"0");if(o===null||a===null||o<0||a<0)return null;let i=t.anchorLock;if(i!==void 0&&!["0","1","true","false","on","off"].includes(i))return null;let l=t.xAlign;if(l!==void 0&&!["left","center","right","inside","outside"].includes(l))return null;let s=t.yAlign;if(s!==void 0&&!["inline","top","center","bottom","inside","outside"].includes(s))return null;let d=t.dropCap;if(d!==void 0&&!["none","drop","margin"].includes(d)||d==="drop"||d==="margin")return null;let c=t.hAnchor??"text",u=t.vAnchor??"text";if(!["page","margin","text"].includes(c)||!["page","margin","text"].includes(u))return null;let f=l?0:ts(t.x??"0"),m=u==="text"?void 0:s,g=m?0:ts(t.y??"0"),p=t.w===void 0?0:ts(t.w);if(f===null||g===null||p===null||p<0||u==="text"&&g<0)return null;let h=t.w===void 0;if(!h&&p<=0)return null;let y=t.hRule??(t.h!==void 0&&ts(t.h)!==0?"atLeast":"auto");if(!["auto","atLeast","exact"].includes(y))return null;let b;if(y!=="auto"){let R=ts(t.h??"0");if(R===null||R<0||y==="exact"&&R===0)return null;b=R;}let x=de(Object.keys(t).sort().map(R=>de([R,t[R]])));return {x:f,y:g,width:p,autoWidth:h,...b===void 0?{}:{height:b},heightRule:y,...l?{xAlign:l}:{},...m?{yAlign:m}:{},anchorLocked:["1","true","on"].includes(i??""),wrap:s==="inline"?"notBeside":r,hSpace:r==="around"||r==="auto"?o:0,vSpace:a,horizontalAnchor:c,verticalAnchor:u,token:x}}function qN(e,t,n,r){let o={...r,height:Math.max(0,r.height)};return {pageNumber:e,page:{x:-t.margin.left,y:-n,width:t.width,height:t.height},margin:{x:0,y:Math.abs(t.margin.top)-n,width:t.width-t.margin.left-t.margin.right,height:t.height-t.margin.top-t.margin.bottom},text:o}}function UR(e,t,n){if(e.dropCap==="margin")return {x:e.dropCapRtl?t.text.x+t.text.width+e.hSpace:t.text.x-n.width-e.hSpace,y:t.text.y};let r=t[e.horizontalAnchor],o=r.width-n.width,a;e.xAlign==="center"?a=r.x+o/2:e.xAlign==="right"?a=r.x+o:e.xAlign==="inside"?a=t.pageNumber%2===1?r.x:r.x+o:e.xAlign==="outside"?a=t.pageNumber%2===1?r.x+o:r.x:a=r.x+e.x;let i=t[e.verticalAnchor],l=i.height-n.height,s;return e.verticalAnchor==="text"||!e.yAlign?s=i.y+e.y:e.yAlign==="center"?s=i.y+l/2:e.yAlign==="bottom"||e.yAlign==="outside"?s=i.y+l:e.yAlign==="inline"?s=t.text.y:s=i.y,{x:a,y:s}}function JN(e,t,n,r){let{x:o,y:a}=UR(t,n,r);return {...If(e,o,a),outOfFlow:true}}function If(e,t,n){let r=o=>({...o,x:o.x+t,y:o.y+n});return {...e,box:r(e.box),...e.shadingBox?{shadingBox:r(e.shadingBox)}:{},...e.bottomBorder?{bottomBorder:{...e.bottomBorder,box:r(e.bottomBorder.box)}}:{},...e.borders?{borders:e.borders.map(o=>({...o,box:r(o.box)}))}:{},...e.marker?{marker:{...e.marker,box:r(e.marker.box),...e.marker.picture?{picture:{...e.marker.picture,box:r(e.marker.picture.box)}}:{}}}:{},lines:e.lines.map(o=>({...o,box:r(o.box),contentX:o.contentX+t,spans:o.spans.map(a=>({...a,box:r(a.box)})),...o.drawings?{drawings:o.drawings.map(a=>ar(a,t,n))}:{}}))}}function QN(e,t){let n=0;for(let r of e){if(r.kind!=="paragraph"||!r.positionedFrame)continue;let{box:o,vSpace:a}=r.positionedFrame;o.y-a>=t||o.y+o.height+a<=0||(n=Math.max(n,o.y+o.height+a));}return n}var e1=4096,p6=24,g6=16,h6=128,y6=1584,b6=new Set(["x","y","w","h","hRule","hAnchor","vAnchor","wrap","hSpace","vSpace","anchorLock"]),x6=new Set(["framePr","pStyle","jc","rPr","pBdr","shd","spacing","ind","contextualSpacing","keepNext","keepLines","widowControl"]),Di=(e,t)=>e.kind!=="textValue"&&e.namespaceUri===chunkFIJZIQXA_cjs.la&&e.localName===t;function sc(e){let t=[];for(let n of e.children)n.kind!=="textValue"&&t.push(n);return t}function S6(e){let t=[{node:e.root,depth:0}],n=0,r=0;for(;t.length;){let{node:o,depth:a}=t.pop();if(++n>e1||a>p6)return null;if(o.kind!=="textValue"){if(o.namespaceUri===chunkFIJZIQXA_cjs.la&&["ins","del","moveFrom","moveTo","pPrChange","rPrChange"].includes(o.localName)||o.namespaceUri===chunkFIJZIQXA_cjs.la&&["fldSimple","fldChar","instrText","delInstrText"].includes(o.localName)||(Di(o,"framePr")&&r++,n+t.length+o.children.length>e1))return null;for(let i of o.children)t.push({node:i,depth:a+1});}}return r}function lc(e,t){if(e===void 0)return t??null;let n=chunkFIJZIQXA_cjs.nd(e);if(n===null||n<0||n>99999)return null;let r=n/20;return r<=y6?r:null}function P6(e){let t=sc(e).filter(g=>Di(g,"pPr"));if(t.length!==1)return null;let n=sc(t[0]);if(n.some(g=>g.namespaceUri!==chunkFIJZIQXA_cjs.la||!x6.has(g.localName)))return null;let r=n.filter(g=>Di(g,"framePr"));if(r.length!==1)return null;let o=r[0],a=new Map;for(let g of o.attributes){if(g.namespaceUri!==chunkFIJZIQXA_cjs.la||!b6.has(g.localName)||a.has(g.localName))return null;a.set(g.localName,g.value);}if(o.children.length||a.get("hAnchor")!=="page"||a.get("vAnchor")!=="page"||(a.get("wrap")??"around")!=="around"||a.has("anchorLock")&&!["0","1","true","false","on","off"].includes(a.get("anchorLock")))return null;let i=lc(a.get("x"),0),l=lc(a.get("y"),0),s=lc(a.get("w")),d=lc(a.get("h"),0),c=lc(a.get("hSpace"),0),u=lc(a.get("vSpace"),0),f=a.get("hRule")??"atLeast";if(i===null||l===null||s===null||s<1||d===null||c===null||u===null||!["auto","atLeast"].includes(f))return null;for(let g of sc(e))if(!Di(g,"pPr")){if(!Di(g,"r"))return null;for(let p of sc(g))if(Di(p,"rPr")){if(sc(p).some(h=>h.localName.endsWith("Change")))return null}else if(!Di(p,"t")||p.children.some(h=>h.kind!=="textValue"))return null}let m=de([...a.keys()].sort().map(g=>de([g,a.get(g)])));return {x:i,y:l,width:s,height:d,heightRule:f,hSpace:c,vSpace:u,token:m}}function t1(e){if(!Di(e.root,"hdr"))return null;let t=S6(e);if(t===null||t===0||t>h6)return null;let n=[],r,o=0;for(let a of sc(e.root)){let i=a.kind==="paragraph"?P6(a):null;if(!i){r=void 0;continue}if(o++,r?.token===i.token)r={...r,paragraphs:[...r.paragraphs,a]},n[n.length-1]=r;else {if(n.length>=g6)return null;r={...i,paragraphs:[a]},n.push(r);}}return o===t?n:null}var ns=(e,t)=>e.x<t.x+t.width&&t.x<e.x+e.width&&e.y<t.y+t.height&&t.y<e.y+e.height;function R6(e,t){for(let n of t){if(n.kind!=="paragraph"){if(ns(e,n.box))return true;continue}if(n.props.some(r=>r.localName==="framePr")||n.marker&&ns(e,n.marker.box))return true;for(let r of n.borders??[])if(ns(e,r.box))return true;if(n.shadingBox&&ns(e,n.shadingBox))return true;for(let r of n.lines){for(let o of r.spans)if(o.text.trim()&&ns(e,o.box))return true;for(let o of r.drawings??[])if(ns(e,o.paintBounds))return true}}return false}function w6(e,t){let n=t+e.spacing.after;return n<=0?e:{...e,box:{...e.box,height:e.box.height+t},...e.shadingBox?{shadingBox:{...e.shadingBox,height:e.shadingBox.height+n}}:{},...e.bottomBorder?{bottomBorder:{...e.bottomBorder,box:{...e.bottomBorder.box,y:e.bottomBorder.box.y+n}}}:{},...e.borders?{borders:e.borders.map(r=>({...r,box:r.side==="bottom"?{...r.box,y:r.box.y+n}:r.side==="left"||r.side==="right"?{...r.box,height:r.box.height+n}:r.box}))}:{}}}function n1(e,t,n,r,o,a){if(![o.pageWidth,o.pageHeight,o.marginLeft,a].every(Number.isFinite)||o.pageWidth<=0||o.pageHeight<=0)return null;let i=new Map(t.map((u,f)=>[u.id,f])),l=[],s=[];for(let u of e){if(u.paragraphs.some(S=>!i.has(S.id)))return null;let f=r(u.paragraphs,u.width);if(f.blocks.length!==u.paragraphs.length||!Number.isFinite(f.bottom))return null;let m=u.heightRule==="auto"?f.bottom:Math.max(f.bottom,u.height);if(m<0||u.x+u.width>o.pageWidth||u.y+m>o.pageHeight)return null;let g={x:u.x-o.marginLeft,y:u.y-a,width:u.width,height:m},p=l.length;for(let S=0;S<f.blocks.length;S++){let w=f.blocks[S];if(w.kind!=="paragraph"||w.paragraphId!==u.paragraphs[S].id||w.marker||w.props.filter(E=>E.localName==="framePr").length!==1)return null;let v=w.props.find(E=>E.localName==="framePr").attributes??{};if(de(Object.keys(v).sort().map(E=>de([E,v[E]])))!==u.token)return null;let O=S===f.blocks.length-1?w6(w,m-f.bottom):w,T=1.5,C=O.borders?.some(E=>E.side==="left")??false,F=O.borders?.some(E=>E.side==="right")??false,k=E=>({...E,x:E.x-(C?T:0),width:E.width+(C?T:0)+(F?T:0)}),_={...O,...O.bottomBorder?{bottomBorder:{...O.bottomBorder,box:k(O.bottomBorder.box)}}:{},...O.shadingBox?{shadingBox:k(O.shadingBox)}:{},...O.borders?{borders:O.borders.map(E=>({...E,box:E.side==="left"?{...E.box,x:E.box.x-T}:E.side==="right"?{...E.box,x:E.box.x+T}:E.side==="top"||E.side==="bottom"||E.side==="between"?k(E.box):E.box}))}:{}};l.push({...If(_,g.x,g.y),outOfFlow:true});}let h=g.x,y=g.y,b=g.x+g.width,x=g.y+g.height,R=S=>{h=Math.min(h,S.x),y=Math.min(y,S.y),b=Math.max(b,S.x+S.width),x=Math.max(x,S.y+S.height);};for(let S=p;S<l.length;S++){let w=l[S];R(w.box);for(let I of w.borders??[])R(I.box);w.shadingBox&&R(w.shadingBox);for(let I of w.lines)for(let v of I.spans)R(v.box);}if(![h,y,b,x].every(Number.isFinite)||h+o.marginLeft<0||b+o.marginLeft>o.pageWidth||y+a<0||x+a>o.pageHeight)return null;let P={x:h-u.hSpace,y:y-u.vSpace,width:b-h+2*u.hSpace,height:x-y+2*u.vSpace};if(R6(P,n.blocks)||s.some(S=>ns(S,P)))return null;s.push(P);}let d=n.blocks.concat(l),c=u=>u.kind==="paragraph"?u.paragraphId:u.tableId;return d.some(u=>!i.has(c(u)))?null:(d.sort((u,f)=>i.get(c(u))-i.get(c(f))),{blocks:d,bottom:n.bottom})}function _i(e){return chunkFIJZIQXA_cjs.jf()==="editable"?`${e}|field-results`:e}var r1=new WeakMap;function uy(e,t=new Map){let n=r1.get(e);if(n!==void 0)return n;let r=[];for(let[a,i]of e){let l=t.get(i);l===void 0&&(l=chunkJGNVNT2A_cjs.y(i),t.set(i,l)),r.push([a,l]);}let o=chunkJGNVNT2A_cjs.y(JSON.stringify(r));return r1.set(e,o),o}var fy=new WeakMap;function o1(e,t){fy.set(e,t);}function dc(e){return fy.get(e)?.token??""}function my(e,t,n){return e&&(fy.get(e)?.resolve(t,n)??e.headers.get(t))}function a1(e,t){return e?fy.get(e)?.reserveHeight(t)??0:0}function py(e,t){if(e===t)return true;if(e.size!==t.size)return false;for(let[n,r]of e)if(t.get(n)!==r)return false;return true}function i1(e,t){return py(e.partBytes,t.partBytes)&&py(e.relationships,t.relationships)&&(e.contentTypes===t.contentTypes||py(e.contentTypes.defaults,t.contentTypes.defaults)&&py(e.contentTypes.overrides,t.contentTypes.overrides))}var k6=new Set(["adjustRightInd","bCs","cnfStyle","p","pPr","r","rPr","t","tab","br","b","i","u","sz","szCs","rFonts","color","lang","spacing","jc","ind","keepNext","keepLines","widowControl","contextualSpacing","pStyle","rStyle","noProof","proofErr","kern","position","vertAlign","caps","smallCaps","strike","dstrike","shd","highlight"]),T6=new WeakMap,v6=new WeakMap,F6=new Set(["numPr","numId","ilvl"]);function l1(e,t){let n=t?v6:T6,r=n.get(e);if(r!==void 0)return r;let o=0,a=(l,s)=>++o>chunkFIJZIQXA_cjs.Hd||s>chunkFIJZIQXA_cjs.$?false:l.kind==="textValue"?true:l.namespaceUri!==chunkFIJZIQXA_cjs.la?false:l.localName==="lastRenderedPageBreak"?l.children.length===0:!k6.has(l.localName)&&!(t&&F6.has(l.localName))?false:l.children.every(d=>a(d,s+1)),i=a(e,0);return n.set(e,i),i}function Hi(e){return l1(e,false)}function s1(e){return l1(e,true)}var O6=new Set(["drawing","pict","object"]),d1=new WeakMap;function C6(e){let t=d1.get(e);if(t!==void 0)return t;let n=0,r=(a,i)=>++n>chunkFIJZIQXA_cjs.Hd||i>chunkFIJZIQXA_cjs.$?false:a.kind==="textValue"?true:a.namespaceUri!==chunkFIJZIQXA_cjs.la||O6.has(a.localName)?false:a.children.every(l=>r(l,i+1)),o=r(e,0);return d1.set(e,o),o}function YR(e,t){let n=0,r=a=>a.kind==="paragraph"&&(s1(a)||C6(a)),o=(a,i,l)=>{if(++n>chunkFIJZIQXA_cjs.Hd||l>chunkFIJZIQXA_cjs.$)return false;if(a===i)return true;if(a.kind==="textValue"||i.kind==="textValue"||a.id!==i.id||a.kind!==i.kind||a.namespaceUri!==chunkFIJZIQXA_cjs.la||i.namespaceUri!==a.namespaceUri||a.localName!==i.localName||a.prefix!==i.prefix)return false;if(r(a)&&r(i))return true;if(a.attributes!==i.attributes||a.namespaceBindings!==i.namespaceBindings||["drawing","pict","object"].includes(a.localName))return false;let s=0,d=0;for(;s<a.children.length||d<i.children.length;){let c=a.children[s],u=i.children[d];if(c&&u&&c.id===u.id){if(!(a.localName==="t"&&c.kind==="textValue"&&u.kind==="textValue")&&!o(c,u,l+1))return false;s+=1,d+=1;}else if(c&&r(c))s+=1;else if(u&&r(u))d+=1;else return false}return true};return o(e,t,0)}var XR=new Float64Array(1),gy=new Uint32Array(XR.buffer);function c1(e){xo[0]=2166136261,xo[1]=268435859;let t=[];for(let n of e.components){t.push(n.fillHex??"",String(n.fillAlpha),n.strokeHex??"",String(n.strokeAlpha),String(n.strokeWidthEmu),n.strokeInset===true?"in":"",String(n.subpathsEmu.length));let r=n.subpathsEmu;for(let a=0;a<r.length;a+=1){let i=r[a];t.push(String(i.length),n.subpathsClosed?.[a]===false?"0":"1"),ZR(i,xo);}let o=n.arrowheadsEmu;if(t.push(String(o?.length??0)),o)for(let a of o)t.push(String(a.length)),ZR(a,xo);}return [String(e.extentEmu.cx),String(e.extentEmu.cy),String(e.components.length),t.join(","),xo[0].toString(36),xo[1].toString(36)].join(";")}var xo=new Uint32Array(2);function u1(e){return xo[0]=2166136261,xo[1]=268435859,ZR(e,xo),`${xo[0].toString(36)}:${xo[1].toString(36)}`}function ZR(e,t){let n=t[0],r=t[1];for(let o of e)XR[0]=o.x,n=Math.imul(n^gy[0],16777619),r=Math.imul(r^gy[1],16777651),XR[0]=o.y,n=Math.imul(n^gy[1],16777619),r=Math.imul(r^gy[0],16777651);t[0]=n,t[1]=r;}var I6="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",f1="/word/numbering.xml",M6=64;function m1(e){let t=0,n=0,r,o=new Map,a=new Set,i=()=>{if(r!==void 0)return r;let d=e.currentPackage(),c=null;for(let u of d.relationships.get(d.mainDocumentPart)??[]){if(u.type!==I6)continue;let f=chunkFIJZIQXA_cjs.J(u);if(f.mode!=="Internal"||!f.target.ok)break;d.parts.has(f.target.partName)&&(c=f.target.partName);break}return c===null&&d.parts.has(f1)&&(c=f1),r=c,c},l=(d,c)=>{o.set(d,c),c.kind==="ready"&&e.rememberReadyHandle(c.validatedHandle),a.delete(d),t+=1,e.onResourcesChanged();},s=(d,c)=>{if(a.has(c))return;a.add(c);let u=n;e.lookup().resolveEmbedded(d,c).then(f=>{u===n&&l(c,f);}).catch(()=>{u===n&&l(c,Object.freeze({kind:"unrenderable",partName:null,mime:"unknown",reason:"decode-failed"}));});};return Object.freeze({resolve(d){let c=i();if(c===null)return null;let u=o.get(d);if(u)return {ownerPartName:c,resource:u};if(o.size>=M6)return null;let f=Object.freeze({kind:"pending",resourceKey:`picbullet:${c}:${d}`});return o.set(d,f),s(c,d),{ownerPartName:c,resource:f}},epoch:()=>t,pendingCount:()=>a.size,reset(){n+=1,t+=1,r=void 0,o.clear(),a.clear();}})}var B6=Object.freeze({kind:"unrenderable",partName:null,mime:"unknown",reason:"non-picture-graphic"});function qR(e){let t=e.picture??e.groupPicture;return t?.embeddedRelationshipId?`embed:${e.ownerPartName}:${t.embeddedRelationshipId}`:t?.linkedRelationshipId?`link:${e.ownerPartName}:${t.linkedRelationshipId}`:`nonpicture:${e.drawingNodeId}`}var p1=new WeakMap,JR=new Map,L6=16,E6=32;function y1(e,t){let n=p1.get(e);if(n)return n;let r;if(e.kind==="drawing"||chunkFIJZIQXA_cjs.Jd(e)||chunkFIJZIQXA_cjs.od(e))r={atoms:new Map([[e.id,e]]),visited:1,deepest:0};else if(!("children"in e)||e.children.length===0)r={atoms:JR,visited:1,deepest:0};else if((t<2||e.children.length>=L6)&&t<E6){let o=null,a=1,i=0;for(let l of e.children){let s=y1(l,t+1);if(a+=s.visited,s.deepest+1>i&&(i=s.deepest+1),s.atoms.size>0){o||(o=new Map);for(let[d,c]of s.atoms)o.set(d,c);}}r={atoms:o??JR,visited:a,deepest:i};}else {let o=new Map,a=0,i=0,l=[{node:e,depth:0}];for(;l.length>0;){let s=l.pop();if(a+=1,a>chunkFIJZIQXA_cjs.Hd)break;s.depth>i&&(i=s.depth);let d=s.node;if(d.kind==="drawing"||chunkFIJZIQXA_cjs.Jd(d)||chunkFIJZIQXA_cjs.od(d)){o.set(d.id,d);continue}if("children"in d)for(let c=d.children.length-1;c>=0;c-=1)l.push({node:d.children[c],depth:s.depth+1});}r={atoms:o.size>0?o:JR,visited:a,deepest:i};}return p1.set(e,r),r}function ew(e){let t=y1(e.root,0);return t.visited>chunkFIJZIQXA_cjs.Hd||t.deepest>chunkFIJZIQXA_cjs.Fd.maxDrawingDepth?null:t.atoms}var QR=new WeakMap,hy=new WeakMap;function b1(e,t){let n=QR.get(e.root),r=n?.get(t);if(r)return hy.set(t,{part:e,order:r}),r;let o=hy.get(t);if(o&&YR(o.part.root,e.root))return n||QR.set(e.root,n=new WeakMap),n.set(t,o.order),hy.set(t,{part:e,order:o.order}),o.order;let a=ew(e),i=new Map,l=0;if(a)for(let s of a.keys()){let d=t.projectionForAtom?.(s)?.drawingNodeId??s;i.set(d,l),l+=1;}else for(let s of chunkFIJZIQXA_cjs.Od(e))i.set(s.drawingNodeId,l),l+=1;return n||(n=new WeakMap,QR.set(e.root,n)),n.set(t,i),hy.set(t,{part:e,order:i}),i}function tw(e){let t=e.position,n=e.anchor,r=e.picture,o=e.wrapGeometry,a=e.vectorShape,i=e.groupPicture,l={drawingNodeId:e.drawingNodeId,ownerPartName:e.ownerPartName,kind:e.kind,diagnostics:de(e.diagnostics.map(s=>de([s.code,s.nodeId,s.detail??""]))),relationshipId:e.relationshipId??"",docPrId:String(e.docPrId??""),name:e.name,title:e.title,description:e.description,hyperlinkHref:e.hyperlinkHref??"",hidden:String(e.hidden),extentEmu:de([String(e.extentEmu.cx),String(e.extentEmu.cy)]),effectExtentEmu:de([String(e.effectExtentEmu.top),String(e.effectExtentEmu.right),String(e.effectExtentEmu.bottom),String(e.effectExtentEmu.left)]),inlineDistancesEmu:de([String(e.inlineDistancesEmu.top),String(e.inlineDistancesEmu.right),String(e.inlineDistancesEmu.bottom),String(e.inlineDistancesEmu.left)]),wrap:e.wrap,textboxStory:e.textboxStory?Kh(e.textboxStory):"",groupTextboxes:DA(e.groupTextboxes),compatibilityBranchNodeId:e.compatibilityBranchNodeId??"",footprintOnly:e.footprintOnly?"footprint":"",anchor:n?de([String(n.simplePos),String(n.relativeHeight),String(n.layoutInCell),String(n.allowOverlap),String(n.behindDocument)]):"",locks:de([String(e.locks.select),String(e.locks.move),String(e.locks.resize),String(e.locks.changeAspect)]),effects:de([String(e.effects.grayscale),String(e.effects.brightness),String(e.effects.contrast),String(e.effects.bilevel??"")]),picture:r?de([String(r.crop.left),String(r.crop.top),String(r.crop.right),String(r.crop.bottom),String(r.transform.rotationDegrees),String(r.transform.flipHorizontal),String(r.transform.flipVertical),String(r.transform.offsetEmu.x),String(r.transform.offsetEmu.y),String(r.transform.extentEmu.cx),String(r.transform.extentEmu.cy),r.embeddedRelationshipId??"",r.linkedRelationshipId??"",r.presetGeometry??"",r.fillMode]):"",groupPicture:i?de([String(i.crop.left),String(i.crop.top),String(i.crop.right),String(i.crop.bottom),String(i.frameEmu.x),String(i.frameEmu.y),String(i.frameEmu.cx),String(i.frameEmu.cy),i.embeddedRelationshipId??"",i.linkedRelationshipId??"",i.memberNodeId,i.alternateContent?"mc":""]):"",legacyGraphic:e.legacyGraphic?JSON.stringify(e.legacyGraphic):"",vectorShape:a?c1(a):"",wrapGeometry:o?de([o.element,o.textSide,String(o.distancesEmu.top),String(o.distancesEmu.right),String(o.distancesEmu.bottom),String(o.distancesEmu.left),String(o.polygon.length),u1(o.polygon)]):"",position:t?de([t.horizontal.relativeFrom,t.horizontal.align??"",String(t.horizontal.offsetEmu??""),t.vertical.relativeFrom,t.vertical.align??"",String(t.vertical.offsetEmu??""),String(t.simplePosition.xEmu),String(t.simplePosition.yEmu)]):""};return de(Object.values(l))}function Mf(e){switch(e.kind){case "ready":return de(["ready",e.resourceKey,e.contentId,`${e.pixelWidth}x${e.pixelHeight}`]);case "pending":return de(["pending",e.resourceKey]);case "external":return de(["external",e.relationshipId,e.sinkSafe?"1":"0"]);case "missing":return "missing";case "unrenderable":return `unrenderable:${e.reason}`;default:return e.kind}}var A6=1;function x1(e,t){if(e.kind==="paragraph"){for(let n of S1(e))t.push(n);return}if("children"in e)for(let n of e.children)x1(n,t);}function S1(e){if(e.kind!=="paragraph")return [];let t=[];return Uh(e,n=>t.push(n.id)),Object.freeze(t)}function N6(e){let{ownerPartName:t,part:n,pkg:r,lookup:o,onResourceSettled:a,rememberReadyHandle:i,forgetReadyHandle:l}=e,s=false,d=0,c=new Map,u=new Set,f=new Map,m=new WeakMap,g=new WeakMap,p=0,h=n,y=chunkFIJZIQXA_cjs.Id(r,t),b=chunkFIJZIQXA_cjs.Dd(r),x=chunkFIJZIQXA_cjs.bd(r),R=chunkFIJZIQXA_cjs.Pd(n,{stylesPart:x,resolveRelationship:y,resolveSchemeColor:b.resolveSchemeColor,resolveStyleMatrixReference:b.resolveStyleMatrixReference}),P=ew(n),S=P?Array.from(P.values()).some(F=>F.kind!=="textValue"&&F.localName==="object"):true,w=(F,k)=>{if(s||u.has(k))return;u.add(k);let _=d;o.resolveForProjection(F).then(E=>{s||_!==d||(c.set(k,E),E.kind==="ready"&&i(E.validatedHandle),p+=1,f.set(k,p),u.delete(k),a(t));}).catch(()=>{s||_!==d||(c.set(k,Object.freeze({kind:"unrenderable",partName:null,mime:"unknown",reason:"decode-failed"})),p+=1,f.set(k,p),u.delete(k),a(t));});},I=F=>{if(F.footprintOnly)return B6;let k=qR(F),_=c.get(k);if(_)return _;let E=(F.picture??F.groupPicture)?.linkedRelationshipId;if(E){let A=o.resolveLinked(t,E);return c.set(k,A),p+=1,f.set(k,p),A}let N=Object.freeze({kind:"pending",resourceKey:k});return c.set(k,N),p+=1,f.set(k,p),w(F,k),N},v=F=>{let k=R.get(F)??null;if(!k?.groupPicture?.alternateContent)return k;let _=k.groupPicture.linkedRelationshipId?I(k):c.get(qR(k));return _&&_.kind!=="ready"&&_.kind!=="pending"?chunkFIJZIQXA_cjs.vd(k):k},O=Object.freeze({ownerPartName:t,projectionForAtom:v,project:F=>v(F.id),resourceOf:I,pictureBulletResource:e.pictureBulletResource}),T=F=>{let k=g.get(F);if(k)return k;let _=S1(F),E=null,N=(L,B)=>{if(!(B>=A6))for(let D of L){let $=R.get(D);if(!$)continue;let X=[...$.textboxStory?[$.textboxStory.content]:[],...($.groupTextboxes??[]).map(z=>z.story.content)],W=[];for(let z of X)x1(z,W);if(W.length!==0){E||(E=[..._]);for(let z of W)E.push(z);N(W,B+1);}}};N(_,0);let A=E??_;return g.set(F,A),A};return {context:O,cacheTokenForPart:()=>`${t}|${p}|${d}|${R.size}`,drawingTokenForParagraph:F=>{let k=m.get(F);if(k?.resourceEpoch===p)return k.token;let _=T(F);if(_.length===0)return m.set(F,{resourceEpoch:p,token:""}),"";let E=_.map(A=>D6(R.get(A)??null,A,I,L=>f.get(qR(L))??0)).sort(),N=de(E);return m.set(F,{resourceEpoch:p,token:N}),N},pendingResourceCount:()=>u.size,isCompatibleWith:(F,k)=>{let _=chunkFIJZIQXA_cjs.Dd(k);if(_.cacheToken!==b.cacheToken)return false;if(F===n&&chunkFIJZIQXA_cjs.bd(k)===x||chunkFIJZIQXA_cjs.bd(k)===x&&YR(h.root,F.root))return h=F,true;let E=ew(F);if(!S&&P&&E&&P.size===E.size){let A=true;for(let[L,B]of P)if(E.get(L)!==B){A=false;break}if(A)return h=F,true}let N=chunkFIJZIQXA_cjs.Pd(F,{stylesPart:chunkFIJZIQXA_cjs.bd(k),resolveRelationship:chunkFIJZIQXA_cjs.Id(k,t),resolveSchemeColor:_.resolveSchemeColor,resolveStyleMatrixReference:_.resolveStyleMatrixReference});if(N.size!==R.size)return false;for(let[A,L]of R){let B=N.get(A);if(!B||tw(B)!==tw(L))return false}return h=F,true},dispose:()=>{s=true,d+=1;for(let F of c.values())F.kind==="ready"&&l(F.validatedHandle);c.clear(),u.clear(),f.clear();}}}var g1=0;function wxe(e){let t=e.session.packageRevision(),n=e.session.currentPackage(),r=e.resourceLookup??chunkFIJZIQXA_cjs.le(n,{decodePort:e.decodePort}),o=new Map,a=new Map,i=new WeakMap,l=new Map,s=new Map,d=p=>{l.set(p.resourceKey,p);let h=chunkFIJZIQXA_cjs.$d(p);h&&s.set(p.resourceKey,h);},c=p=>{l.delete(p.resourceKey);let h=s.get(p.resourceKey);h&&(chunkFIJZIQXA_cjs.ae(h),s.delete(p.resourceKey));},u=m1({currentPackage:()=>n,lookup:()=>r,rememberReadyHandle:d,onResourcesChanged:()=>e.onResourcesChanged()}),f=(p,h)=>{let b=h.currentPackage().parts.get(p)??a.get(p);if(b)return b;if(p===h.part().name)return h.part();throw new Error(`Missing inline drawing part ${p}`)},m=(p,h)=>{let y=o.get(p);if(y)return y;let b=f(p,h);a.set(p,b);let x=N6({ownerPartName:p,part:b,pkg:h.currentPackage(),lookup:r,onResourceSettled:()=>e.onResourcesChanged(),rememberReadyHandle:d,forgetReadyHandle:c,pictureBulletResource:u.resolve});return o.set(p,x),g1+=1,i.set(x,g1),x},g=p=>{let h=p.currentPackage();if(i1(h,n)){for(let[b,x]of o){let R=h.parts.get(b)??(b===p.part().name?p.part():void 0);if(R&&x.isCompatibleWith(R,h)){a.set(b,R);continue}x.dispose(),o.delete(b),a.delete(b);}t=p.packageRevision(),n=h;return}for(let b of o.values())b.dispose();o.clear(),a.clear();for(let b of s.values())chunkFIJZIQXA_cjs.ae(b);s.clear(),l.clear(),u.reset(),e.resourceLookup||r.dispose(),t=p.packageRevision(),n=h,r=e.resourceLookup??chunkFIJZIQXA_cjs.le(h,{decodePort:e.decodePort});};return Object.freeze({get bodyContext(){return m(e.session.part().name,e.session).context},contextForPart(p){return m(p,e.session).context},cacheTokenForPart(p){let h=m(p,e.session);return `${u.epoch()}|${i.get(h)??0}|${h.cacheTokenForPart()}`},drawingTokenForParagraph(p,h){let y=m(h,e.session);return `${u.epoch()}|${i.get(y)??0}|${y.drawingTokenForParagraph(p)}`},pendingResourceCount(){let p=u.pendingCount();for(let h of o.values())p+=h.pendingResourceCount();return p},mintValidatedBytes(p,h){return l.get(p.resourceKey)!==p?null:chunkFIJZIQXA_cjs._d(p,h)},sync(p){p.packageRevision()===t&&p.currentPackage()===n||g(p);},dispose(){u.reset();for(let p of o.values())p.dispose();o.clear(),a.clear();for(let p of s.values())chunkFIJZIQXA_cjs.ae(p);s.clear(),l.clear(),e.resourceLookup||r.dispose();}})}function D6(e,t,n,r){if(!e)return de([t,"refused"]);let o=[t,tw(e),Mf(n(e))];return r&&o.push(String(r(e))),de(o)}function P1(e,t,n){if(t===void 0)return H6(e,n);let r=h1.get(e);if(r&&r.epoch===t)return r.token;let a=Da(e,n,{rows:_6,scope:void 0,epoch:t});return h1.set(e,{epoch:t,token:a},a.length>>6),a}var h1=chunkFIJZIQXA_cjs.tb(),_6=Rf();function H6(e,t){return Da(e,t)}var j6=4,C1=1584,nw=256;function W6(e){return `txbx-${e}`}var R1=1,w1=new WeakMap;function zr(e){if(e===void 0)return 0;let t=w1.get(e);return t===void 0&&(t=R1,R1+=1,w1.set(e,t)),t}var k1=new WeakMap;function I1(e,t,n,r="all-markup",o){if(!t||t.nums.size===0)return;let a=k1.get(e);if(a&&a.rawIndex===zr(t)&&a.styleCascade===zr(n)&&a.displayMode===r&&a.authorFilter===zr(o))return a.listItems;let i=Sg(t,n),l=ZS(e,r,o),s=Au(l,i,n),d=s.size>0?s:void 0;return k1.set(e,{rawIndex:zr(t),styleCascade:zr(n),displayMode:r,authorFilter:zr(o),listItems:d}),d}var M1=2e4,rw=Object.freeze({contents:Object.freeze([]),truncated:false}),Bf=new WeakMap;function z6(e){let t=[],n=0,r=false,o=[e];for(;o.length>0;){let a=o.pop();if(n+=1,n>M1){r=true;break}if(a.kind!=="textValue"&&a.localName==="txbxContent"){t.push(a);continue}if("children"in a)for(let i=a.children.length-1;i>=0;i-=1)o.push(a.children[i]);}return t.length>0||r?Object.freeze({contents:Object.freeze(t),truncated:r}):rw}function V6(e){let t=Bf.get(e);if(t)return t;if(e.kind!=="table"){let l=z6(e);return Bf.set(e,l),l}let n=[],r=0,o=false,a=[{phase:"enter",node:e,paragraphOwners:[]}];for(;a.length>0;){let l=a.pop();if(l.phase==="exit-paragraph"){Bf.has(l.scan.paragraph)||Bf.set(l.scan.paragraph,l.scan.contents.length>0?Object.freeze({contents:Object.freeze(l.scan.contents),truncated:false}):rw);continue}let s=l.node;if(r+=1,r>M1){o=true;break}if(s.kind!=="textValue"&&s.localName==="txbxContent"){n.push(s);for(let c of l.paragraphOwners)c.contents.push(s);continue}if(!("children"in s))continue;let d=l.paragraphOwners;if(s.kind==="paragraph"){let c={paragraph:s,contents:[]};d=Object.freeze([...d,c]),a.push({phase:"exit-paragraph",scan:c});}for(let c=s.children.length-1;c>=0;c-=1)a.push({phase:"enter",node:s.children[c],paragraphOwners:d});}let i=n.length>0||o?Object.freeze({contents:Object.freeze(n),truncated:o}):rw;return Bf.set(e,i),i}var T1=1,v1=new WeakMap;function G6(e){let t=v1.get(e);return t===void 0&&(t=T1,T1+=1,v1.set(e,t)),t}var F1=new WeakMap;function K6(e,t,n,r="all-markup",o){if(t.nums.size===0)return "";let a=V6(e);if(a.contents.length===0&&!a.truncated)return "";let i=F1.get(e);if(i&&i.rawIndex===zr(t)&&i.styleCascade===zr(n)&&i.displayMode===r&&i.authorFilter===zr(o))return i.token;let l=[];for(let d of a.contents){let c=I1(d,t,n,r,o);if(c)for(let[u,f]of c)l.push(de([u,f.cacheToken]));}a.truncated&&l.push(`truncated:${G6(t)}`);let s=l.length===0?"":`|txbxlist:${de(l)}`;return F1.set(e,{rawIndex:zr(t),styleCascade:zr(n),displayMode:r,authorFilter:zr(o),token:s}),s}function yy(e,t,n,r,o){return Object.freeze({layoutTextboxStoryFor:e,hostedListTokenForParagraph:!t||t.nums.size===0?null:a=>K6(a,t,n,r,o)})}function by(e,t){let n=e.textboxStory;if(!n)return null;let r=lr(e.extentEmu.cx),o=lr(e.extentEmu.cy),a=lr(n.strokeWidthEmu),i=n.strokeHex!==null?a/2:0,l=lr(n.insetsEmu.left)+i,s=lr(n.insetsEmu.right)+i,d=lr(n.insetsEmu.top)+i,c=lr(n.insetsEmu.bottom)+i,u=Math.max(1,r-l-s),f=Math.max(0,o-d-c),m={fillHex:n.fillHex,strokeHex:n.strokeHex,strokeWidthPt:a,contentWidth:u,contentHeight:f};if((t.depth??0)>=j6)return {fragments:[],flowHeight:0,contentOffset:{x:l,y:d},...m,fallbackReason:"textbox-nesting-limit"};let p=ZS(n.content,t.displayMode,t.revisionAuthorFilter),h=I1(n.content,t.numberingIndex,t.styleCascade,t.displayMode,t.revisionAuthorFilter),y=W6(e.drawingNodeId),b=0,x=k=>(b=0,ja(p,0,k,0,0,{measurer:t.measurer,cache:t.cache,producer:`${_i(t.producer)}${t.showFieldCodes?"|field-codes":""}|txbx:${e.drawingNodeId}`,nextLineId:()=>`${y}-line-${b++}`,styleCascade:t.styleCascade,...h?{listItems:h}:{},...t.pageContext?{pageContext:t.pageContext}:{},...t.documentProperties?{documentProperties:t.documentProperties}:{},...t.projectLink?{projectLink:t.projectLink}:{},...t.projectFieldLink?{projectFieldLink:t.projectFieldLink}:{},showFieldCodes:t.showFieldCodes,compatibilityMode:t.compatibilityMode,tableNestingOffset:1,textBoxStory:true,...t.defaultTabStopPt!==void 0?{defaultTabStopPt:t.defaultTabStopPt}:{},...t.displayMode?{displayMode:t.displayMode}:{},...t.revisionAuthorFilter?{revisionAuthorFilter:t.revisionAuthorFilter}:{},...t.inlineDrawingLayout?{inlineDrawingLayout:t.inlineDrawingLayout}:{},...t.drawingTokenForParagraph?{drawingTokenForParagraph:t.drawingTokenForParagraph}:{},...t.projectionTokenForParagraph?{projectionTokenForParagraph:t.projectionTokenForParagraph}:{},...t.projectionTokenForTable?{projectionTokenForTable:t.projectionTokenForTable}:{}})),R=n.noWrap===true&&e.wrap!=="inline",P=u,S=x(R?C1:P),w=R?$6(S.blocks):0;w>0?(P=w,S=x(P)):R&&(S=x(P));let I=S.blocks,v=S.bottom,O,T=[];if(I.length>nw){O1(I.slice(nw),T),I=I.slice(0,nw);let k=I[I.length-1];v=k?k.box.y+k.box.height:0,O="textbox-fragment-limit";}if(v>f+.001){let k=I.filter(_=>_.box.y<f-.001);k.length<I.length&&(O1(I.filter(_=>_.box.y>=f-.001),T),I=k,O=O??"textbox-height-clip");}let C=Math.max(0,f-v),F=n.verticalAnchor==="center"?C/2:n.verticalAnchor==="bottom"?C:0;return {fragments:I,flowHeight:v,contentOffset:{x:l,y:d+F},...m,contentWidth:P,...w>0?{extentWidth:w+l+s}:{},...O?{fallbackReason:O}:{},...T.length>0?{clippedResourceToken:de(T)}:{}}}function $6(e){let t=0;for(let n of e){if(n.kind!=="paragraph")continue;let{left:r,right:o,firstLine:a,hanging:i}=n.indent,l=i>0?-i:a;n.lines.forEach((s,d)=>{let c=Number.NEGATIVE_INFINITY;for(let p of s.spans)c=Math.max(c,p.box.x+p.box.width);for(let p of s.drawings??[])c=Math.max(c,p.x+p.width);if(!Number.isFinite(c)||c<=s.contentX)return;let u=d===0&&n.fragmentIndex===0,f=r+(u?l:0),m=u?n.marker?.box.x:void 0,g=m===void 0?s.contentX:Math.min(s.contentX,m);t=Math.max(t,f+c-g+o);});}return t>0?Math.min(C1,t+.01):0}function O1(e,t){Vs({fragments:e},n=>{t.push(Mf(n.resource));});}function B1(e,t,n,r){let o=Le(r,"noteTableCellKeeps");if(e.placesWhole===true&&e.isContinuation!==true)return null;let a=n,i=0;for(let l of e.cells){if(l.textDirection)return null;if(l.vMergeContinue||(l.rowSpan??1)>1)continue;let s=U6(l,o);if(s.length===0)continue;i=Math.max(i,s[s.length-1]);let d=l===t?s.find(c=>c>=n-.001):s[0];if(d===void 0)return null;a=Math.max(a,d);}return i>a+.001?a:null}function U6(e,t){let n=[];return e.blocks.forEach((r,o)=>{if(r.kind!=="paragraph"||r.lines.length===0){n.push(r.box.y+r.box.height);return}let a=ht(r.props),i={...a,widowControl:a.widowControl&&t,keepLines:a.keepLines&&t},l=r.lines.length,s=o<e.blocks.length-1;for(let d=1;d<=l;d+=1){if(d<l&&ki(d,0,l,i,false)!==d||d===l&&s&&i.keepNext)continue;let c=r.lines[d-1];n.push(c.box.y+c.box.height);}}),n}function Sy(e,t,n,r){if(t.floatingWrap||wt(t)||t.nestingDepth!==0)return ow([t],n)?"table":null;let o=0,a=true,i,l;for(let s of t.rows){if(a&&=s.isHeaderRepeat||s.isHeaderRow,a&&(o+=s.box.height),s.isHeaderRepeat)continue;let d=A1(s,n);if(!d){Ai(s)?l=s:[i,l]=[s,void 0];continue}if(s.isHeaderRow||(d.rowSpan??1)>1||xy(s))return "table";let c=X6(d,s,n);if(c===null)return "table";let u=s.box.y,f=s.isContinuation!==true&&i!==void 0&&!i.isHeaderRow&&!xy(i)&&Py(e),g=(c===void 0?null:s.hasContinuation===true?c:B1(vN(l,s),d,c,r))??u+s.box.height,p=Y6(e,t,s);return {top:u,bottom:g,blockTop:u-o,evictable:f,endsPage:p,row:s}}return null}function L1(e,t){return A1(e,t)!==null}function Py(e){let t=Number.NEGATIVE_INFINITY;for(let n of e.fragments)if(!wt(n)&&!(n.kind==="paragraph"&&n.positionedFrame)){if(n.box.y<t-.001)return false;t=n.box.y+n.box.height;}return true}function Y6(e,t,n){if(t.rows[t.rows.length-1]!==n)return false;let r=e.fragments.indexOf(t);for(let o=r+1;o<e.fragments.length;o+=1){let a=e.fragments[o];if(!wt(a)&&!(a.kind==="paragraph"&&a.positionedFrame))return false}return true}function E1(e,t){let n=Ry(e);return n===null||n===t}function Ry(e){if(!e)return null;for(let t of e.fragments){if(wt(t)||t.kind==="paragraph"&&t.positionedFrame)continue;if(t.kind!=="table")return "";let n=t.rows.find(r=>!r.isHeaderRepeat&&!Ai(r));return n?.isContinuation===true?n.id:""}return ""}function A1(e,t){for(let n of e.cells)if(ow(n.blocks,t))return n;return null}function ow(e,t){for(let n of e){if(n.kind==="paragraph"){if(qn(n,t.paragraphId,t.atomOffset))return true;continue}for(let r of n.rows)if(!r.isHeaderRepeat){for(let o of r.cells)if(ow(o.blocks,t))return true}}return false}function xy(e){for(let t of e.cells){let n=t.blocks[0];if(n?.kind==="paragraph"&&ht(n.props).keepNext)return true}return false}function X6(e,t,n){if(!e.textDirection){for(let r of e.blocks)if(r.kind==="paragraph"&&qn(r,n.paragraphId,n.atomOffset)){for(let o of r.lines)for(let a of et(o)){if(!gp(a,n.paragraphId,n.atomOffset))continue;let i=o.box.y+o.box.height;return o.box.y>=t.box.y-.001&&i<=t.box.y+t.box.height+.001?i:null}return null}}}function gr(e,t){return t===0?e:{...e,box:{...e.box,y:e.box.y+t},...e.shadingBox?{shadingBox:{...e.shadingBox,y:e.shadingBox.y+t}}:{},...e.bottomBorder?{bottomBorder:{...e.bottomBorder,box:{...e.bottomBorder.box,y:e.bottomBorder.box.y+t}}}:{},...e.borders?{borders:e.borders.map(n=>({...n,box:{...n.box,y:n.box.y+t}}))}:{},...e.marker?{marker:{...e.marker,box:{...e.marker.box,y:e.marker.box.y+t},...e.marker.picture?{picture:{...e.marker.picture,box:{...e.marker.picture.box,y:e.marker.picture.box.y+t}}}:{}}}:{},lines:e.lines.map(n=>({...n,box:{...n.box,y:n.box.y+t},spans:n.spans.map(r=>({...r,box:{...r.box,y:r.box.y+t}}))}))}}function aw(e,t){return t===0?[...e]:e.map(n=>n.kind==="paragraph"?gr(n,t):{...n,box:{...n.box,y:n.box.y+t}})}function za(e){let t=0;for(let n of e)wt(n)||(t=Math.max(t,n.box.y+n.box.height));return t}function iw(e){let t=0;for(let n of e.fragments)t=Math.max(t,Z6(n));return t}function wy(e){let t=0;for(let n of e.fragments)t=Math.max(t,Lf(n));return t}function Lf(e){if(wt(e))return 0;let t=e.kind==="paragraph"?e.spacing.after:0;return e.box.y+e.box.height-t}function Z6(e){let t=Lf(e);if(e.kind!=="paragraph")return t;let n=e.lines[e.lines.length-1];return t-(n?Math.min(n.trailingSpacing??0,n.box.height):0)}function cc(e){let t=Number.POSITIVE_INFINITY;for(let n of e.fragments){if(wt(n))continue;let r=n.kind==="paragraph"?n.lines[0]?.box.y??n.box.y:n.box.y;t=Math.min(t,r);}return Number.isFinite(t)?t:0}var q6=[false,true].map(()=>new WeakMap);function Uo(e,t,n){let r=q6[Le(n,"noteTableCellKeeps")?1:0],o=r.get(e.fragments);o||(o=new WeakMap,r.set(e.fragments,o));let a=o.get(t);if(a)return a;let i=J6(e,t,n);return o.set(t,i),i}function N1(e,t,n){for(let r of t)if(Uo(e,r,n).preserveOrphanLine===true)return true;return false}function J6(e,t,n){let r=0,o=0,a=0,i=false,l=false,s=false,d;for(let m of e.fragments){if(m.kind==="paragraph"){if(!qn(m,t.paragraphId,t.atomOffset))continue;let h=Q6(m,t),y=h?.top??m.box.y,b=h?.bottom??m.box.y+m.box.height;if(b>o){r=y,o=b,a=m.box.y,i=h!==null&&!wt(m);let x=ht(m.props);s=false,d=void 0,l=i&&h?.index===1&&m.fragmentIndex===0&&(m.lines.length>=4||!m.paragraphEnd)&&x.widowControl&&!x.keepLines;}continue}let g=Sy(e,m,t,n);if(g===null)continue;let p=g==="table"?{top:m.box.y,bottom:m.box.y+m.box.height,blockTop:a,evictable:false}:g;p.bottom>o&&(r=p.top,o=p.bottom,a=p.blockTop,i=p.evictable,l=false,s=g!=="table",d=g!=="table"&&g.endsPage?g.row.id:void 0);}let c=m=>Math.min(Math.max(0,m),e.contentBox.height),u=c(r),f=c(o);return {top:u,bottom:f,blockTop:c(a),evictable:i&&f>u,...l?{preserveOrphanLine:true}:{},...s?{tableRow:true}:{},...d!==void 0?{endsPageRowId:d}:{}}}function Q6(e,t){for(let[n,r]of e.lines.entries())for(let o of et(r))if(gp(o,t.paragraphId,t.atomOffset))return {top:r.box.y,bottom:r.box.y+r.box.height,index:n};return null}function lw(e){if(e.footnotes===void 0&&e.endnotes===void 0&&e.noteStream===void 0)return e;let{footnotes:t,endnotes:n,noteStream:r,...o}=e;return o}var Ty=e=>e.kind!=="textValue",hr=(e,t)=>Ty(e)&&e.namespaceUri===chunkFIJZIQXA_cjs.la&&e.localName===t,ky=e=>e.children.filter(Ty),sw=(e,t)=>{let n=e.attributes.filter(r=>r.localName===t);return n.length===1&&n[0].namespaceUri===chunkFIJZIQXA_cjs.la?n[0].value:void 0};function So(e,{leadingTab:t=false,allowDecoration:n=false}={}){let r=0,o="",a="",i="",l=0;for(let s of ky(e))if(!hr(s,"pPr")){if(n==="text"&&hr(s,"fldSimple")&&r===0){if(Ra(sw(s,"instr")??"")!=="PAGE"||ky(s).some(d=>!hr(d,"r")||ky(d).some(c=>!hr(c,"rPr")&&(!hr(c,"t")||c.children.some(Ty)||c.children.some(u=>u.kind==="textValue"&&!/^\d*$/.test(u.value))))))return;o=sw(s,"instr"),r=3;continue}if(!hr(s,"r"))return;for(let d of ky(s)){if(hr(d,"rPr"))continue;if(hr(d,"tab")&&r===0&&!a&&!l&&t&&!d.children.length){l++;continue}if(hr(d,"fldChar")&&!d.children.length){let u=sw(d,"fldCharType");if(r===0&&u==="begin")r=1;else if(r===1&&u==="separate"&&Ra(o)==="PAGE")r=2;else if(r===2&&u==="end")r=3;else return;continue}if(d.children.some(Ty))return;let c=d.children.map(u=>u.kind==="textValue"?u.value:"").join("");if(hr(d,"instrText")&&r===1)o+=c;else if(n&&hr(d,"t")&&r===0)a+=c;else if(n&&hr(d,"t")&&r===3)i+=c;else if(!(hr(d,"t")&&r===2&&/^\d*$/.test(c)))return}}return r===3&&Ra(o)==="PAGE"&&l===Number(t)&&(n==="text"||!a&&!i||a==="- "&&i===" -")?a+i:void 0}var cw=31680/20,j1=e=>e.kind!=="textValue",rs=(e,t)=>j1(e)&&e.namespaceUri===chunkFIJZIQXA_cjs.la&&e.localName===t,fc=e=>e.children.filter(j1),uc=(e,t)=>{let n=e.attributes.filter(r=>r.localName===t);return n.length===1&&n[0].namespaceUri===chunkFIJZIQXA_cjs.la?n[0].value:void 0};function dw(e,t){let n=fc(e).filter(r=>r.localName===t);return n.length===1&&rs(n[0],t)?n[0]:void 0}function D1(e){let t=chunkFIJZIQXA_cjs.nd(e);if(t===null||t<0||t>99999)return;let n=t/20;return n<=cw?n:void 0}function _1(e){return e.kind==="paragraph"&&e.lines.length===1&&!e.marker&&!e.borders?.length&&!e.shading&&!e.lines[0].drawings?.length&&e.spacing.before===0&&e.spacing.after===0&&e.indent.left===0&&e.indent.firstLine===0&&e.indent.hanging===0}function eq(e,t){return t.lines[0].spans.length===0&&fc(e).every(n=>rs(n,"pPr")||rs(n,"r")&&fc(n).every(r=>rs(r,"rPr")))}function H1(e,t){let n=new Set(["pStyle","tabs","jc","rPr","ind","spacing","widowControl","contextualSpacing","snapToGrid",...t?["framePr"]:[]]);return e.props.length<=64&&e.props.every(r=>n.has(r.localName))&&e.props.filter(r=>r.localName==="framePr").length===Number(t)}function W1(e,t,n){if(!n||!rs(e.root,"ftr")||t.blocks.length!==2||!Number.isFinite(n.pageWidth)||n.pageWidth<=0||n.pageWidth>cw||!Number.isFinite(n.marginLeft)||n.marginLeft<0||n.marginLeft>n.pageWidth)return t;let r=fc(e.root),[o,a]=t.blocks;if(r.length!==2||r.some(P=>P.kind!=="paragraph")||!o||!a||!_1(o)||!_1(a)||!H1(o,true)||!H1(a,false)||o.paragraphId!==r[0].id||a.paragraphId!==r[1].id||o.alignment!=="left"||o.indent.right!==0||a.indent.right<0||a.indent.right>cw)return t;let i=dw(r[0],"pPr"),l=dw(r[1],"pPr");if(!i||!l||fc(i).some(P=>!["framePr","pStyle","tabs","jc","rPr"].some(S=>rs(P,S)))||fc(l).some(P=>!["pStyle","jc","ind","rPr"].some(S=>rs(P,S)))||So(r[0],{leadingTab:true,allowDecoration:true})===void 0||So(r[1],{allowDecoration:true})===void 0&&!eq(r[1],a))return t;let d=dw(i,"framePr"),c=new Set(["w","wrap","vAnchor","hAnchor","x","yAlign"]);if(!d||d.children.length||d.attributes.some(P=>P.namespaceUri!==chunkFIJZIQXA_cjs.la||!c.has(P.localName))||uc(d,"wrap")!=="around"||uc(d,"vAnchor")!=="text"||uc(d,"hAnchor")!=="page"||uc(d,"yAlign")!=="center")return t;let u=D1(uc(d,"w")),f=D1(uc(d,"x"));if(u===void 0||u<=0||f===void 0||f+u>n.pageWidth)return t;let m=o.lines[0],g=1/0,p=-1/0;for(let P of m.spans)P.box.width<=0||P.text===" "||P.text.trim()===""||(g=Math.min(g,P.box.x-o.box.x),p=Math.max(p,P.box.x+P.box.width-o.box.x));if(!Number.isFinite(g)||!Number.isFinite(p)||g<0||!(p<=u||g>=u))return t;let h=gr(a,-a.box.y),y=(a.box.height-o.box.height)/2;if(y<0)return t;let b=gr(o,y-o.box.y),x=f-n.marginLeft-o.box.x,R={...b,clipToBox:true,box:{...b.box,x:o.box.x+x,width:u},lines:b.lines.map(P=>({...P,box:{...P.box,x:P.box.x+x},contentX:P.contentX+x,spans:P.spans.map(S=>({...S,box:{...S.box,x:S.box.x+x}}))}))};return {...t,blocks:[R,h],bottom:h.box.height}}var V1=e=>e.kind!=="textValue",os=(e,t)=>V1(e)&&e.namespaceUri===chunkFIJZIQXA_cjs.la&&e.localName===t,mc=e=>e.children.filter(V1),ji=(e,t)=>{let n=e.attributes.filter(r=>r.localName===t);return n.length===1&&n[0].namespaceUri===chunkFIJZIQXA_cjs.la?n[0].value:void 0},Ef=(e,t)=>{let n=mc(e).filter(r=>r.localName===t);return n.length===1&&os(n[0],t)?n[0]:void 0};function tq(e){let t=mc(e.root);if(t.length!==2||t.some(u=>u.kind!=="paragraph"))return null;let[n,r]=t,o=Ef(n,"pPr"),a=Ef(r,"pPr");if(!o||!a||mc(o).some(u=>!["pStyle","framePr","rPr","spacing"].some(f=>os(u,f)))||mc(a).some(u=>!["pStyle","ind","rPr","spacing"].some(f=>os(u,f))))return null;let i=Ef(o,"pStyle"),l=Ef(a,"pStyle");if(!i||!l||!ji(i,"val")||ji(i,"val")!==ji(l,"val")||mc(r).some(u=>!os(u,"pPr")&&(!os(u,"r")||mc(u).some(f=>!os(f,"rPr")))))return null;let s=Ef(o,"framePr"),d=new Set(["wrap","vAnchor","hAnchor","xAlign","y"]);if(!s||s.children.length||s.attributes.some(u=>u.namespaceUri!==chunkFIJZIQXA_cjs.la||!d.has(u.localName))||ji(s,"wrap")!=="around"||ji(s,"vAnchor")!=="text"||ji(s,"hAnchor")!=="margin"||ji(s,"xAlign")!=="right")return null;let c=ji(s,"y")??"0";return !["0","1"].includes(c)||So(n,{allowDecoration:"text"})===void 0?null:{framed:n.id,anchor:r.id,y:Number(c)/20}}function z1(e){return e.kind==="paragraph"&&e.props.length<=64&&e.props.every(t=>["pStyle","framePr","rPr","spacing","ind","jc","tabs","widowControl","snapToGrid"].includes(t.localName))&&e.props.every(t=>t.localName!=="spacing"||Object.keys(t.attributes??{}).every(n=>["before","after","line","lineRule"].includes(n)))&&e.lines.length===1&&!e.marker&&!e.borders?.length&&!e.shading&&!e.lines[0].drawings?.length&&e.indent.left===0&&e.indent.firstLine===0&&e.indent.hanging===0}function G1(e,t,n,r=false){if(!os(e.root,"ftr")||t.blocks.length!==2||!(n>0))return t;let o=tq(e),[a,i]=t.blocks;if(!o||!a||!i||!z1(a)||!z1(i)||a.paragraphId!==o.framed||i.paragraphId!==o.anchor||a.indent.right!==0||i.indent.right<0||i.lines[0].spans.length||i.props.some(x=>x.localName==="framePr"))return t;let s=a.lines[0].spans.filter(x=>x.box.width>0&&x.text.trim()!=="");if(!s.length)return t;let d=1/0,c=-1/0;for(let x of s)d=Math.min(d,x.box.x),c=Math.max(c,x.box.x+x.box.width);if(!Number.isFinite(d)||!Number.isFinite(c)||c-d>n)return t;let u=oi(i.props).before,f=gr(i,u-i.lines[0].box.y),m={...f,spacing:{...f.spacing,before:u},box:{...f.box,y:0,height:f.box.y+f.box.height}},g=r?a.spacing.before:0,p=gr(a,u+o.y-a.box.y-g),h=n-c,y=p.lines[0],b={...p,box:{...p.box,x:d+h,width:c-d},lines:[{...y,box:{...y.box,x:d+h,width:c-d},contentX:y.contentX+h,spans:y.spans.map(x=>({...x,box:{...x.box,x:x.box.x+h}}))}]};return {...t,blocks:[b,m],bottom:m.box.height}}var uw=e=>e.kind!=="textValue",yr=(e,t)=>uw(e)&&e.namespaceUri===chunkFIJZIQXA_cjs.la&&e.localName===t,Yo=e=>e.children.filter(uw),as=(e,t)=>{let n=e.attributes.filter(r=>r.localName===t);return n.length===1&&n[0].namespaceUri===chunkFIJZIQXA_cjs.la?n[0].value:void 0},K1=(e,t)=>Yo(e).every(n=>t.some(r=>yr(n,r))),vy=(e,t)=>Yo(e).filter(n=>yr(n,t)).length,nq=new Set(["wrap","vAnchor","hAnchor","xAlign","y"]);function rq(e){let t=false;for(let n of Yo(e))if(!yr(n,"pPr")){if(!yr(n,"r"))return false;for(let r of Yo(n))if(!yr(r,"rPr")&&!(yr(r,"tab")&&r.children.length===0)){if(!yr(r,"t")||r.children.some(uw))return false;t||=r.children.some(o=>o.kind==="textValue"&&o.value.trim());}}return t}function oq(e){let t=Yo(e.root);if(t.length!==2||t.some(u=>u.kind!=="paragraph"))return null;let[n,r]=t,o=Yo(n).filter(u=>yr(u,"pPr")),a=Yo(r).filter(u=>yr(u,"pPr"));if(o.length!==1||a.length!==1)return null;let[i,l]=[o[0],a[0]];if(!K1(i,["pStyle","framePr","rPr"])||!K1(l,["pStyle","ind","rPr"])||vy(i,"pStyle")!==1||vy(i,"framePr")!==1||vy(l,"pStyle")!==1||vy(l,"ind")>1)return null;let s=as(Yo(i).find(u=>yr(u,"pStyle")),"val");if(!s||s!==as(Yo(l).find(u=>yr(u,"pStyle")),"val"))return null;let d=Yo(i).find(u=>yr(u,"framePr"));if(d.children.length||d.attributes.some(u=>u.namespaceUri!==chunkFIJZIQXA_cjs.la||!nq.has(u.localName))||as(d,"wrap")!=="none"||as(d,"vAnchor")!=="text"||as(d,"hAnchor")!=="margin"||as(d,"xAlign")!=="right")return null;let c=as(d,"y")??"0";return !["0","1"].includes(c)||So(n)!==""||!rq(r)?null:{framed:n.id,anchor:r.id,y:Number(c)/20}}function $1(e){return e.kind==="paragraph"&&e.lines.length===1&&!e.marker&&!e.borders?.length&&!e.shading&&!e.lines[0].drawings?.length&&e.indent.left===0&&e.indent.firstLine===0&&e.indent.hanging===0}function U1(e){let t=1/0,n=-1/0;for(let r of e.lines[0].spans)r.box.width<=0||r.text.trim()===""||(t=Math.min(t,r.box.x),n=Math.max(n,r.box.x+r.box.width));return Number.isFinite(t)&&Number.isFinite(n)?{left:t,right:n}:null}function Y1(e,t,n){if(!yr(e.root,"ftr")||t.blocks.length!==2||!(n>0))return t;let r=oq(e),[o,a]=t.blocks;if(!r||!o||!a||!$1(o)||!$1(a)||o.paragraphId!==r.framed||a.paragraphId!==r.anchor||o.indent.right!==0||a.indent.right<0)return t;let i=U1(o),l=U1(a);if(!i||!l)return t;let s=n-i.right;if(i.left+s<0||l.right>i.left+s)return t;let d=o.lines[0],c=a.lines[0],u=d.box.y-o.box.y,f=gr(a,u-c.box.y),m={...f,spacing:{...f.spacing,before:o.spacing.before},box:{...f.box,y:0,height:f.box.y+f.box.height}},g=gr(o,r.y-o.box.y),p=g.lines[0],h=i.right-i.left,y={...g,box:{...g.box,x:i.left+s,width:h},lines:[{...p,box:{...p.box,x:i.left+s,width:h},contentX:p.contentX+s,spans:p.spans.map(b=>({...b,box:{...b.box,x:b.box.x+s}}))}]};return {...t,blocks:[y,m],bottom:Math.max(y.box.y+y.box.height,m.box.y+m.box.height)}}var Z1=e=>e.kind!=="textValue",Fn=(e,t)=>Z1(e)&&e.namespaceUri===chunkFIJZIQXA_cjs.la&&e.localName===t,Va=(e,t)=>e.attributes.find(n=>n.namespaceUri===chunkFIJZIQXA_cjs.la&&n.localName===t)?.value;function is(e){return e.children.filter(Z1)}function aq(e){let t=[{node:e.root,depth:0}],n=0;for(;t.length;){let{node:r,depth:o}=t.pop();if(++n>512||o>16)return false;if(r.kind==="textValue"){if(r.value.length>256)return false}else {if(n+t.length+r.children.length>512||r.attributes.length>32||r.attributes.some(a=>a.value.length>1024))return false;for(let a of r.children){if(a.kind==="textValue"&&a.value.trim()&&!Fn(r,"t")&&!Fn(r,"instrText"))return false;t.push({node:a,depth:o+1});}}}return true}function iq(e){let t="";for(let n of e.children){if(n.kind!=="textValue")return null;t+=n.value;}return t}function lq(e){let t=is(e.root);if(t.length!==2||t.some(g=>g.kind!=="paragraph"))return null;let[n,r]=t,o=is(n).find(g=>Fn(g,"pPr")),a=is(r).find(g=>Fn(g,"pPr"));if(!o||!a)return null;let i=is(o),l=is(a);if(i.filter(g=>Fn(g,"framePr")).length!==1||i.filter(g=>Fn(g,"pStyle")).length>1||l.filter(g=>Fn(g,"pStyle")).length>1||i.some(g=>!["pStyle","framePr","jc","rPr","spacing","ind","tabs"].some(p=>Fn(g,p)))||l.some(g=>!["pStyle","jc","rPr","spacing","ind","tabs"].some(p=>Fn(g,p))))return null;let s=i.find(g=>Fn(g,"pStyle")),d=l.find(g=>Fn(g,"pStyle")),c=i.find(g=>Fn(g,"framePr"));if(s&&!Va(s,"val")||d&&!Va(d,"val")||(s?Va(s,"val"):void 0)!==(d?Va(d,"val"):void 0))return null;let u="";for(let g of is(r))if(!Fn(g,"pPr")){if(!Fn(g,"r"))return null;for(let p of is(g)){if(Fn(p,"rPr"))continue;if(!Fn(p,"t"))return null;let h=iq(p);if(h===null)return null;u+=h;}}if(u&&!/^· {1,15}·$/.test(u))return null;let f=new Set(["wrap","vAnchor","hAnchor","xAlign","y"]);if(c.children.length||c.attributes.some(g=>g.namespaceUri!==chunkFIJZIQXA_cjs.la||!f.has(g.localName))||!["around","auto"].includes(Va(c,"wrap")??"")||Va(c,"vAnchor")!=="text"||Va(c,"hAnchor")!=="margin"||Va(c,"xAlign")!=="center")return null;let m=Va(c,"y")??"0";return !["0","1"].includes(m)||So(n)!==""?null:{first:n.id,empty:r.id,y:Number(m)/20,decoration:u}}function X1(e){return e.kind==="paragraph"&&e.lines.length===1&&!e.marker&&!e.borders?.length&&!e.shading&&!e.lines[0].drawings?.length&&e.spacing.before===0&&e.spacing.after===0&&e.indent.left===0&&e.indent.right===0&&e.indent.hanging===0&&Number.isFinite(e.indent.firstLine)&&e.indent.firstLine>=0}function q1(e,t,n,r,o=false){if(!Fn(e.root,"ftr")||!aq(e))return t;let a=lq(e);if(!a){let h=W1(e,t,r);if(h!==t)return h;let y=Y1(e,t,n);return y===t?G1(e,t,n,o):y}if(t.blocks.length!==2)return t;let[i,l]=t.blocks;if(!i||!l||!X1(i)||!X1(l)||i.paragraphId!==a.first||l.paragraphId!==a.empty||(a.decoration?l.alignment!=="center"||l.lines[0].spans.map(h=>h.text).join("")!==a.decoration:l.lines[0].spans.length>0))return t;let s=gr(i,a.y-i.box.y),d=gr(l,-l.box.y),c=s.lines[0],u=c.spans[0]?.box.x??c.contentX,f=c.spans.at(-1),m=f?f.box.x+f.box.width:u;if(i.indent.firstLine+m-u>n)return t;let g=(n-(m-u)+i.indent.firstLine)/2-u,p={...s,alignment:"center",box:{...s.box,x:u+g,width:m-u},lines:[{...c,box:{...c.box,x:u+g,width:m-u},contentX:c.contentX+g,spans:c.spans.map(h=>({...h,box:{...h.box,x:h.box.x+g}}))}]};return {...t,blocks:[p,d],bottom:Math.max(p.box.y+p.box.height,d.box.y+d.box.height)}}var J1=new WeakMap;function pc(e){let t=J1.get(e);if(t)return t;let n=new Map;for(let r of e){let o=n.get(r.anchorId)??[];o.push(r),n.set(r.anchorId,o);}return J1.set(e,n),n}function Q1(e,t,n,r,o,a){let i=[],l;for(let s=e.length-1;s>=0;s-=1){let d=e[s];if(d.kind==="paragraph"&&!d.props.some(u=>u.localName==="framePr")){l=d.paragraph.id;continue}if(d.kind!=="table")continue;let c=qt(d.table,t,0,n,r,o,a)?.float;!c||c.ySpec==="inline"||l&&i.push({table:d.table,sourceIndex:s,anchorId:l,float:c});}return i.reverse()}function sq(e,t){let n=e??[];return n.length===t.length&&n.every((r,o)=>r.anchorId===t[o].anchorId&&r.column===t[o].column&&r.fragmentIndex===t[o].fragmentIndex&&r.anchorY===t[o].anchorY)}function fw(e,t){let n=t.pendingPositionedTableTokens,r=e.pendingPositionedTableTokens;return (n===r||n?.length===r?.length&&n?.signature===r?.signature)&&sq(e.positionedTableAnchorSignals,t.positionedTableAnchorSignals??[])}function eD(e,t){let n=new Map,r=new Map,o=new Set;for(let s of e){let d=JSON.stringify([s.table.id,t[s.sourceIndex]]);n.set(s.table.id,d),r.set(d,s.table.id),o.add(s.anchorId);}let a,i=s=>{a={token:s,previous:a,length:(a?.length??0)+1,signature:chunkFIJZIQXA_cjs.f(new TextEncoder().encode(de([a?.signature??"",s])))};},l=s=>{if((a?.length??0)!==s.size){a=void 0;for(let d of s){let c=n.get(d);c&&i(c);}}};return {add(s,d){if(l(s),s.has(d))return;let c=n.get(d);c&&(s.add(d),i(c));},note(s,d,c,u,f){o.has(d)&&s.push({anchorId:d,column:c,fragmentIndex:u,anchorY:f});},checkpoint(s,d){return l(s),{pendingPositionedTableTokens:a,positionedTableAnchorSignals:[...d]}},restore(s,d,c){d.clear();let u=[];for(let f=s.pendingPositionedTableTokens;f;f=f.previous)u.push(f.token);for(let f=u.length-1;f>=0;f--){let m=r.get(u[f]);m&&d.add(m);}a=s.pendingPositionedTableTokens,l(d),c.splice(0,c.length,...s.positionedTableAnchorSignals??[]);},same(s,d,c,u){return l(c),fw({pendingPositionedTableTokens:s,positionedTableAnchorSignals:d},{pendingPositionedTableTokens:a,positionedTableAnchorSignals:u})}}}function tD(e,t,n,r,o){let a=pc(e),i=0;for(let l of r){let s=a.get(l.anchorId);if(!s)continue;let d=l.fragmentIndex+i,c=n.length;for(let f of s){if(!t.has(f.table.id))continue;let m=n.length;o(f.table,l.column,l.anchorY,d);for(let g=m;g<n.length;g++){let p=n[g];p.kind==="table"&&(n[g]={...p,floatingWrap:{anchorId:l.anchorId,columnIndex:l.column,float:f.float,sourceOrder:f.sourceIndex}});}t.delete(f.table.id);}let u=n.splice(c);n.splice(d,0,...u),i+=u.length;}r.length=0;}function Fy(e){return e.kind==="table"&&e.outOfFlow===true}function nD(e,t,n){let r=so(n);return {text:{top:t,height:Math.max(0,e.contentHeight-t)},margin:{top:r-e.contentInsetTop,height:Math.max(0,e.pageHeight-r-e.marginBottom)},page:{top:-e.contentInsetTop,height:e.pageHeight}}}function rD(e,t){for(let n=t;n<e.length;n+=1){let r=e[n];if(!wt(r))return true}return false}function Po(e,t,n){let r=n[e.vertAnchor],o=r.height-t,a;if(e.ySpec==="center"?a=r.top+o/2:e.ySpec==="bottom"||e.ySpec==="outside"?a=r.top+o:e.ySpec?a=r.top:a=r.top+e.yPt,!Number.isFinite(a))return r.top;let i=n.page.top+n.page.height;return Math.max(n.page.top,Math.min(a,i))}var gc=.001,cq=64,uq=64;function hc(e){let t=e.children.find(n=>n.kind==="tableProperties");return !t||t.kind==="textValue"?false:t.children.some(n=>n.kind!=="textValue"&&n.localName==="tblOverlap"&&n.attributes.some(r=>r.namespaceUri===chunkFIJZIQXA_cjs.la&&r.localName==="val"&&r.value==="never"))}var oD=(e,t)=>e.left<t.right-gc&&e.right>t.left+gc&&e.top<t.bottom-gc&&e.bottom>t.top+gc;function aD(e,t,n){let{distances:r}=e;return {left:t-r.left,top:n-r.top,right:t+e.width+r.right,bottom:n+e.height+r.bottom}}function lD(e,t,n,r){let o=t.filter(c=>e.refusesOverlap||c.refusesOverlap);if(o.length===0||o.length>uq)return {dx:0,dy:0};let{width:a,distances:i}=e,l=e.left,s=e.top,d=c=>c>=n.left-gc&&c+a<=n.right+gc&&!o.some(u=>oD(aD(e,c,s),u));for(let c=0;c<cq;c+=1){let u=aD(e,l,s),f=o.find(p=>oD(u,p));if(!f)break;let m=f.right+i.left;if(d(m)){l=m;break}let g=f.left-i.right-a;if(r&&d(g)){l=g;break}s=f.bottom+i.top;}return {dx:l-e.left,dy:s-e.top}}function yc(e){let t=e.pageExclusionZones;if(!t)return e;let n=iD.get(e);if(n)return n;let r,o=[],a={...e,pageExclusionZones:()=>{let i=t();return i!==r&&(r=i,o=i.some(l=>l.sourceKind==="table")?i.filter(l=>l.sourceKind!=="table"):i),o}};return iD.set(e,a),a}var iD=new WeakMap;var Ga=.001;function cD(e,t){let n=new Set(e.filter(({table:r})=>hc(r)).map(({table:r})=>r.id));return {floatRefusesOverlap:r=>n.has(r),pinnedBreakAllowed:r=>t.get(r)!==false}}var sD=new WeakMap;function fq(e,t,n,r){let o;if(!r.inlineDrawingLayout){let i=sD.get(r);i||sD.set(r,i=new WeakMap),o=i.get(e),o||i.set(e,o=new Map);let l=o.get(n);if(l)return l}let{fragment:a}=Wa(t,0,0,0,e.id,0,{...Ko(r,false),onCellBreakKey:void 0,borderOwnershipBudget:_r(),vMergeResolveBudget:ho()});return o?.set(n,a),a}function uD(e,t){for(let n of e.cells)for(let r of n.blocks){if(r.kind==="table"){for(let o of r.rows)t.push(o.box.y+o.box.height);continue}for(let o of r.lines)t.push(o.box.y+o.box.height);}return t}function mq(e){let t=0,n=0;for(;n<e.rows.length&&e.rows[n].isHeaderRow;n++){let l=e.rows[n];t=l.box.y+l.box.height;}let r=e.rows[n];if(!r)return t;let o=r.box.y+r.box.height,a=r.box.y,i=r.box.y;for(let l of r.cells){let s=uD({...r,cells:[l]},[]);s.length!==0&&(a=Math.max(a,s.reduce((d,c)=>Math.min(d,c),1/0)),i=Math.max(i,s.reduce((d,c)=>Math.max(d,c),r.box.y)));}return a<=r.box.y?o:Math.min(o,a+Math.max(0,o-i))}function pq(e,t,n){if(e.rows.some(o=>o.height.rule==="atLeast"&&o.height.valuePt>n))return false;let r=(o,a)=>o.every(i=>(!a||i.box.height<=n+Ga)&&i.cells.every(l=>l.blocks.every(s=>s.kind==="table"?r(s.rows,true):s.lines.every(d=>d.box.height<=n+Ga))));return r(t.rows,false)}function gq(e,t){let n=0;for(let s of e.rows){let d=s.box.y+s.box.height;if(d>t+Ga)break;n=d;}if(n>0)return n;let r=e.rows[0];if(!r)return 0;let o=uD(r,[]),a=o.reduce((s,d)=>Math.max(s,d),r.box.y),i=r.box.y+r.box.height-a,l=0;for(let s of o)s+i<=t+Ga&&(l=Math.max(l,s+i));return l}function Oy(e,t,n,r){let o=t.float;if(!o||o.vertAnchor==="text"||o.ySpec==="inline"||r.frames.text.width<r.frames.margin.width-.5||n.styleCascade?.doNotBreakWrappedTables||n.pinnedBreakAllowed?.(e.id)===false||t.rows.length===0||t.rows.some(P=>P.height.rule==="exact"))return;let a=o.distances??{right:0,left:0},i=go(t,r.frames,n.compatibilityMode),l=t.columnWidthsPt.reduce((P,S)=>P+S,0),s=r.frames.text;if(i+l+a.right<=s.left+Ga||i-a.left>=s.left+s.width-Ga)return;let d=fq(e,t,r.width,n),c=d.box.height,u=Po(o,c,r.verticalFrames),f=r.verticalFrames.margin,m=Math.max(r.bottom,f.top+f.height),g=r.verticalFrames.page.top+r.verticalFrames.page.height,p=Le(n.compatibilityMode,"positionedTableBreaksAtMargin"),h=p?m:Math.max(m,g);if(u>=m-Ga||u+c<=h+Ga||!pq(t,d,r.bottom))return;let y=gq(d,r.bottom-r.top),b=mq(d),x=p||r.bottom<m?r.bottom:g,R=Math.min(Po(o,y,r.verticalFrames),g-y,b<=r.bottom?x-b:1/0);return {top:R,firstBottom:Math.min(x,R+r.bottom-r.top)}}function fD(e,t,n){let r=()=>({top:n.cursorY,bottom:n.contentHeight(),frames:n.anchorFrames(),verticalFrames:n.verticalAnchorFrames(),width:n.columnWidth()}),o=Oy(e,t,n.deps,r());return !o||o.top>=n.cursorY-Ga||!n.pageHoldsContent(n.cursorY)?o:(n.advancePage(),Oy(e,t,n.deps,r())??o)}var dD=new WeakMap;function mD(e){if(!e.rows.some(n=>n.cantSplit))return e;let t=dD.get(e);return t||(t={...e,rows:e.rows.map(n=>n.cantSplit?{...n,cantSplit:false}:n)},dD.set(e,t)),t}function Af(e,t,n){let r=a=>qt(e,t,0,n.styleCascade,n.displayMode,n.revisionAuthorFilter,n.compatibilityMode,a),o=r();return o?.float?r(In(n)):o}function hD(e,t,n,r,o,a){return e.some(i=>{if(i.kind!=="table")return false;let l=qt(i,t,0,n,r,o,a)?.float;return l!==void 0&&l.ySpec!=="inline"})}function hq(e){let t=Math.max(0,e.columnEdges.length-1),n=0,r=0;for(let o of e.rows)for(let a of o.cells){let i=a.borders;if(!i)continue;let l=a.gridColumn<=0,s=a.gridColumn+a.gridSpan>=t;l&&(n=Math.max(n,i.left?.widthPt??0)),s&&(r=Math.max(r,i.right?.widthPt??0));for(let d of i.edgeSegments??[])l&&d.side==="left"&&(n=Math.max(n,d.edge.widthPt)),s&&d.side==="right"&&(r=Math.max(r,d.edge.widthPt));}return {left:n,right:r}}function Ka(e,t,n){let r;for(let[o,a]of e.entries()){let i;for(let l of a.fragments){if(l.kind!=="table")continue;let s=l.floatingWrap;if(!s)continue;let d=l.box,c=s.float.distances??{top:0,right:0,bottom:0,left:0},u=hq(l),f=c.left>0?u.left:0,m=c.right>0?u.right:0,g={x:d.x-f,y:d.y,width:d.width+f+m,height:d.height},p=s.columnIndex,h=n.columnLefts?.[p]??0,y=n.columnWidths?.[p]??n.contentWidth,b={sourceKind:"table",drawingNodeId:`table:${l.tableId}`,anchorParagraphId:s.anchorId,anchorModelStart:0,sourceOrder:s.sourceOrder,paintLayer:"inFront",relativeHeight:0,allowOverlap:true,columnIndex:p,y:g.y,verticalBand:{x:g.x-c.left,y:g.y-c.top,width:g.width+c.left+c.right,height:g.height+c.top+c.bottom},input:{mode:g.x-c.left<=h&&g.x+g.width+c.right>=h+y?"topAndBottom":"square",contentBounds:g,polygon:null,clipPolygon:null,wrapDistances:c,effectInsets:{top:0,right:0,bottom:0,left:0},textSide:"bothSides",contentLeft:h,contentRight:h+y}};i||(r??=new Map(t),i=[...t.get(o)??[]],r.set(o,i)),i.push(b);}}return r??t}var Cy=Object.freeze({top:0,right:0,bottom:0,left:0}),mw=Object.freeze({dx:0,dy:0}),pD=new WeakMap;function Iy(e,t,n){let r;if(!n.inlineDrawingLayout){let i=pD.get(n);i||pD.set(n,i=new WeakMap),r=i.get(e),r||i.set(e,r=new Map);let l=r.get(t);if(l!==void 0)return l}let o=Af(e,t,n);if(!o?.float||o.float.vertAnchor!=="text")return 0;if(o.float.ySpec)return 1/0;let a=Math.max(0,o.float.yPt)+SD(o,e.id,n)+(o.float.distances?.bottom??0);return r?.set(t,a),a}function yq(e,t){let n=new Map(e.map(({table:o})=>[o.id,false]));if(!e.length)return n;let r=pc(e);for(let o of t){if(o.kind!=="paragraph")continue;let a=r.get(o.paragraph.id);a?.length!==1||Ds(o.props)||o.spacing.before>0||bq(o.paragraph)||n.set(a[0].table.id,true);}return n}function bq(e){let t=[e];for(;t.length;){let n=t.pop();if(n.kind==="hardBreak"&&["page","column"].includes(chunkFIJZIQXA_cjs.nb(n)))return true;if("children"in n)for(let r of n.children)t.push(r);}return false}function yD(e,t,n,r,o,a){let i=Q1(e,t,n,r,o,a),l=yq(i,e);return {positionedTables:i,positionedTablePolicy:l}}function bD(e,t){if(!t.positionedTables.length)return e;let n=[...e];for(let r of t.positionedTables)n[r.sourceIndex]=de([e[r.sourceIndex],r.anchorId,t.positionedTablePolicy.get(r.table.id)?"split":"whole"]);return n}var hw=e=>e.verticalFrames.text.top;function xD(e,t,n){if(Rq(e,n.zones,t,n.page)||xq(e,t,n))return false;let r=Iy(e,n.width,t);return r>n.bottom?false:t.styleCascade?.doNotBreakWrappedTables?true:r<=n.bottom-hw(n)||!n.allowBreak||!Sq(e,t,n)}function xq(e,t,n){let r=qt(e,n.width,0,t.styleCascade,t.displayMode,t.revisionAuthorFilter,t.compatibilityMode);return !!r&&Oy(e,r,t,{top:hw(n),bottom:n.bottom,frames:n.frames,verticalFrames:n.verticalFrames,width:n.width})!==void 0}function Sq(e,t,n){let r=Af(e,n.width,t),o=r?.float;if(!r||o?.vertAnchor!=="text"||o.ySpec||o.yPt<0)return false;let a=o.distances??Cy;if(a.top>0||a.bottom>0)return false;let i=go(r,n.frames,t.compatibilityMode),l=r.columnWidthsPt.reduce((c,u)=>c+u,0),s=n.frames.text;if(i-a.left>s.left||i+l+a.right<s.left+s.width)return false;let d=hw(n)+o.yPt;for(let[c,u]of r.rows.entries()){if(d+=jr(u,r.columnWidthsPt,i,0,c===0?it(r,u,t):t,r.cellSpacingPt),d>n.bottom+.001)return false;if(!u.isHeader)return true}return false}function SD(e,t,n){let r=0;return Wa(e,0,0,0,t,0,{...Tn(yc(n)),onCellBreakKey:void 0,borderOwnershipBudget:_r(),vMergeResolveBudget:ho(),nextLineId:()=>`floating-table-probe-${r++}`}).bottom}function Pq(e,t,n,r){let o=r.frames.text;if(e.float.vertAnchor==="text"||o.left>r.frames.margin.left+.5||o.width<r.frames.margin.width-.5)return 0;let a=r.earlier.flatMap(x=>wt(x)||x.kind==="table"&&x.floatingWrap?[]:x.kind==="table"?[x.box]:x.lines.map(R=>R.box));if(a.length===0)return 0;let i=Af(e.table,t,n),l=i?.float;if(!i||!l||l.vertAnchor==="text"||l.ySpec==="inline")return 0;let s=l.distances??Cy,d=go(i,r.frames,n.compatibilityMode),c=i.columnWidthsPt.reduce((x,R)=>x+R,0),u=d-s.left,f=d+c+s.right;if(u>o.left||f<o.left+o.width)return 0;let m=a.reduce((x,R)=>Math.max(x,R.y+R.height),0);if(!l.ySpec&&m<=Po(l,0,r.verticalFrames)-s.top)return 0;let g=SD(i,e.table.id,n),p=Po(l,g,r.verticalFrames),h=p-s.top,y=p+g+s.bottom,b=1/0;for(let x of a)x.y<y&&x.y+x.height>h&&x.x<f&&x.x+x.width>u&&(b=Math.min(b,x.y));return b>r.anchorY?0:y-b+r.anchorExtent}function PD(e,t,n,r,o,a){if(t.size===0)return 0;let i=0,l=pc(e),s=h=>(l.get(h)??[]).filter(y=>t.has(y.table.id)),d=s(n),c=a.frames.text.width>=a.frames.margin.width-.5,f=(d.length>0&&c?a.signals??[]:[]).flatMap(h=>s(h.anchorId).map(y=>({anchor:y,signal:h}))),m=d.length>0?wD(a.earlier,o):[],g=[...d,...f.map(h=>h.anchor)].some(h=>o.floatRefusesOverlap?.(h.table.id)??hc(h.table))||m.some(h=>h.refusesOverlap),p=[];if(g)for(let{anchor:h,signal:y}of f){let b=gw(h.table,y.anchorY,r,a.frames,a.earlier.slice(0,y.fragmentIndex),o),x=pw(h.table,b,r,a.frames,o,[...m,...p]);x.band&&p.push(x.band);}for(let h of d){let y=gw(h.table,a.anchorY,r,a.frames,a.earlier,o),b=g?pw(h.table,y,r,a.frames,o,[...m,...p]):mw;b.band&&p.push(b.band);let x=Iy(h.table,r,o)+y+b.dy-a.anchorY+Math.min(0,h.float.yPt);i=Math.max(i,x,Pq(h,r,o,a));}return i}function RD(e,t,n,r,o,a,i,l){let s=o.slice(0,a),d=gw(e,t,n,r,s,i),c=m=>m.kind==="table"&&!!m.floatingWrap&&(i.floatRefusesOverlap?.(m.tableId)??false);if(!hc(e)&&!o.some(c))return {anchorY:d,dx:0};let u=wD(o,i),f=pw(e,d,n,r,i,u);return f.dy>0&&(f.band?.bottom??0)>l+.001?{anchorY:d,dx:0}:{anchorY:d+f.dy,dx:f.dx}}function wD(e,t){let n=Object.freeze({columnCount:1,columnGapPt:0,contentWidth:1/0});return [...(t.pageExclusionZones?.()??[]).filter(o=>o.earlierSection&&o.sourceKind==="table"),...Ka([{fragments:e}],new Map,n).get(0)??[]].map(o=>({left:o.verticalBand.x,top:o.verticalBand.y,right:o.verticalBand.x+o.verticalBand.width,bottom:o.verticalBand.y+o.verticalBand.height,refusesOverlap:!o.earlierSection&&(t.floatRefusesOverlap?.(o.drawingNodeId.slice(6))??false)}))}function pw(e,t,n,r,o,a){let i=Af(e,n,o),l=i?.float;if(!i||!l||l.vertAnchor!=="text"||l.ySpec)return mw;let s=Iy(e,n,o);if(!Number.isFinite(s))return mw;let d=l.distances??Cy,c=hc(e),u={left:go(i,r,o.compatibilityMode),top:t+l.yPt,width:i.columnWidthsPt.reduce((p,h)=>p+h,0),height:s-Math.max(0,l.yPt)-d.bottom,distances:d,refusesOverlap:c},f=lD(u,a,{left:r.margin.left,right:r.margin.left+r.margin.width},Le(o.compatibilityMode,"floatingTableOverlapMovesLeft")),m=u.left+f.dx,g=u.top+f.dy;return {...f,band:{left:m-d.left,top:g-d.top,right:m+u.width+d.right,bottom:g+u.height+d.bottom,refusesOverlap:c}}}function gw(e,t,n,r,o,a){let i=Af(e,n,a),l=i?.float;if(!i||!l||l.vertAnchor!=="text"||l.ySpec)return t;let s=i.columnWidthsPt.reduce((g,p)=>g+p,0),d=l.distances??Cy,c=go(i,r,a.compatibilityMode)-d.left,u=Iy(e,n,a)-Math.max(0,l.yPt)+d.top,f=t+l.yPt-d.top,m=o.flatMap(g=>g.kind==="table"?g.floatingWrap?[]:[g.box]:g.lines.flatMap(p=>[...p.spans.filter(h=>h.text.trim()).map(h=>h.box),...(p.drawings??[]).map(h=>h.paintBounds)])).sort((g,p)=>g.y-p.y);for(let g of m)c<g.x+g.width&&c+s+d.left+d.right>g.x&&f<g.y+g.height&&f+u>g.y&&(f=g.y+g.height);return f+d.top-l.yPt}var gD=new WeakMap;function Rq(e,t,n,r=0){if(!n.pageExclusionZones||!t?.size)return false;let o=gD.get(n);if(o?.zones!==t){let c=[];for(let[u,f]of t){let m=1/0;for(let g of f)g.sourceKind!=="table"&&(m=Math.min(m,n.paragraphOrderIndex?.(g.anchorParagraphId)??g.sourceOrder));c.push([u,m]);}c.sort((u,f)=>u[0]-f[0]);for(let u=c.length-2;u>=0;u--)c[u][1]=Math.min(c[u][1],c[u+1][1]);o={zones:t,remainingOrders:c},gD.set(n,o);}let a=0,i=o.remainingOrders.length;for(;a<i;){let c=a+i>>>1;o.remainingOrders[c][0]<r?a=c+1:i=c;}let l=o.remainingOrders[a]?.[1];if(l===void 0||l===1/0)return false;let s=[e],d=0;for(;s.length;){let c=s.pop();if(++d>1e4)return true;if(c.kind==="paragraph"){if(l<=(n.paragraphOrderIndex?.(c.id)??Number.MAX_SAFE_INTEGER))return true;continue}if(d+s.length+c.children.length>1e4)return true;for(let u of c.children)u.kind!=="textValue"&&s.push(u);}return false}function wq(e){for(let t of e.children)if(t.kind!=="textValue"&&t.localName==="tblPr")return t}function vD(e){let t=o=>o.kind==="table"?Kl(wq(o)):void 0,n=[],r=[];return e.forEach((o,a)=>{let i=t(o);if(!i){r.push(o);return}let l=e.slice(a+1).find(s=>!t(s));n.push({table:o,float:i,nextBlockId:l?.id??null});}),n.length===0?{flowBlocks:e,floating:n}:{flowBlocks:r,floating:n}}function kq(e){if(e.kind==="table")return e.tableId;if(e.kind==="paragraph")return e.paragraphId}function TD(e,t,n,r,o){let a=`table:${e.tableId}`,i=Ka([{fragments:[{...e,floatingWrap:{anchorId:a,columnIndex:0,float:t.float,sourceOrder:n}}]}],new Map,{contentWidth:o}).get(0)?.[0];if(!i||i.verticalBand.y>=r)return i;let l=i.verticalBand.y+i.verticalBand.height,s=i.input.contentBounds;if(l<=r)return;let d=Math.max(s.y,r);return {...i,y:Math.max(i.y,r),verticalBand:{...i.verticalBand,y:r,height:l-r},input:{...i.input,contentBounds:{...s,y:d,height:Math.max(0,s.y+s.height-d)},wrapDistances:{...i.input.wrapDistances,top:0}}}}function FD(e,t,n,r,o,a){let i=[],l=[],s=[],d=false,c={text:{left:0,width:r.contentWidth},margin:{left:0,width:r.contentWidth},page:{left:-r.marginLeft,width:r.pageWidth}};for(let[u,f]of n.entries()){let m=a(f.table,0,0,false).find(R=>R.kind==="table");if(!m)continue;let g=e.find(R=>kq(R)===f.nextBlockId),p=g?g.box.y:t,h={text:{top:p,height:Math.max(0,r.pageHeight-r.storyTop-p)},margin:{top:r.marginTop-r.storyTop,height:Math.max(0,r.pageHeight-r.marginTop-r.marginBottom)},page:{top:-r.storyTop,height:r.pageHeight}},y=Fh(f.float,m.box.width,c),b=f.float.vertAnchor!=="text";d||=b;let x=Math.min(Po(f.float,m.box.height,h),b?r.pageHeight-r.storyTop-m.box.height:Number.POSITIVE_INFINITY);for(let R of a(f.table,y-m.box.x,x,true)){if(i.push({...R,outOfFlow:true}),!o||R.kind!=="table"||R.tableId!==f.table.id)continue;let P=TD(R,f,u,p,r.contentWidth);P&&l.push(P);let S=b?TD(R,f,u,Number.NEGATIVE_INFINITY,r.contentWidth):void 0;S&&s.push(S);}}return {tables:i,zones:l,pageFramed:d,pageFramedZones:s}}function OD(e,t,n){let r=0,o=n===Number.NEGATIVE_INFINITY;for(let a of e.pageFramedZones){if(!o&&a.input.mode!=="topAndBottom")continue;let i=a.verticalBand.y,l=i+a.verticalBand.height;i>=t||l<=0||(l>t||l+t-Math.max(0,i)>n)&&(r=Math.max(r,t-i));}return r}var CD=4096,Tq=24,vq=1440,Fq=new Set(["wrap","vAnchor","hAnchor","xAlign","y","anchorLock"]),ID=["pStyle","framePr","jc","rPr"],Oq=["left","center","right","inside","outside"],yw=e=>e.kind!=="textValue",Xo=(e,t)=>yw(e)&&e.namespaceUri===chunkFIJZIQXA_cjs.la&&e.localName===t,Df=e=>e.children.filter(yw);function Nf(e,t){let n=e.attributes.filter(r=>r.localName===t);return n.length===1&&n[0].namespaceUri===chunkFIJZIQXA_cjs.la?n[0].value:void 0}function Cq(e){let t=[{node:e.root,depth:0}],n=0,r=0;for(;t.length;){let{node:o,depth:a}=t.pop();if(++n>CD||a>Tq)return null;if(o.kind!=="textValue"){if(Xo(o,"framePr")&&r++,n+t.length+o.children.length>CD)return null;for(let i of o.children)t.push({node:i,depth:a+1});}}return r}function Iq(e){if(So(e)==="")return true;let t=false;for(let n of Df(e))if(!Xo(n,"pPr")){if(!Xo(n,"r"))return false;for(let r of Df(n))if(!Xo(r,"rPr")){if(!Xo(r,"t")||r.children.some(yw))return false;t||=r.children.some(o=>o.kind==="textValue"&&o.value.trim());}}return t}function Mq(e){if(e.children.length||e.attributes.some(o=>o.namespaceUri!==chunkFIJZIQXA_cjs.la||!Fq.has(o.localName))||new Set(e.attributes.map(o=>o.localName)).size!==e.attributes.length)return null;let t=Nf(e,"wrap"),n=Nf(e,"xAlign"),r=chunkFIJZIQXA_cjs.nd(Nf(e,"y")??"0");return t!=="around"&&t!=="none"||Nf(e,"vAnchor")!=="text"||Nf(e,"hAnchor")!=="margin"||!n||!Oq.includes(n)||r===null||r<0||r>vq?null:{align:n,y:r/20}}function LD(e){if(!Xo(e.root,"hdr")||Cq(e)!==1)return null;let[t,n]=Df(e.root);if(t?.kind!=="paragraph"||n?.kind!=="paragraph")return null;let r=Df(t).filter(l=>Xo(l,"pPr"));if(r.length!==1)return null;let o=Df(r[0]);if(!o.every(l=>ID.some(s=>Xo(l,s)))||ID.some(l=>o.filter(s=>Xo(s,l)).length>1))return null;let a=o.find(l=>Xo(l,"framePr")),i=a?Mq(a):null;return !i||!Iq(t)?null:{frameId:t.id,anchorId:n.id,...i,parity:i.align==="inside"||i.align==="outside"}}function ED(e){let t=1/0,n=-1/0;for(let r of e.spans)!(r.box.width>0)||r.text.trim()===""||(t=Math.min(t,r.box.x),n=Math.max(n,r.box.x+r.box.width));return Number.isFinite(t)&&Number.isFinite(n)?{left:t,right:n}:null}var MD=e=>e.kind==="paragraph"?e.props.filter(t=>t.localName==="framePr").length:0,bc=(e,t,n,r)=>e<r&&n<t;function Bq(e,t,n){let r=t.y,o=t.y+t.height,a=t.x,i=t.x+t.width,l=s=>bc(s.y,s.y+s.height,r,o)&&bc(s.x,s.x+s.width,a,i);for(let s of e){if(!bc(s.box.y,s.box.y+s.box.height,r,o))continue;if(s.kind!=="paragraph"||s.borders?.length||s.bottomBorder||s.shading)return true;let d=s.paragraphId===n;if(d&&s.marker&&l(s.marker.box))return true;for(let c of s.lines){if(!bc(c.box.y,c.box.y+c.box.height,r,o))continue;let u=ED(c);if(d&&u&&bc(u.left,u.right,a,i))return true;for(let f of c.drawings??[])if(l(f.paintBounds)||bc(f.x,f.x+f.width,a,i))return true}}return false}function BD(e,t){let n=Math.abs(t%2)===1;return e==="inside"?n?"left":"right":e==="outside"?n?"right":"left":e}function AD(e,t,n,r,o,a){let[i]=t.blocks,l=n.blocks[0];if(t.blocks.length!==1||i?.kind!=="paragraph"||i.paragraphId!==e.frameId||l?.kind!=="paragraph"||l.paragraphId!==e.anchorId||i.lines.length!==1||i.marker||i.borders?.length||i.bottomBorder||i.shading||i.lines[0].drawings?.length||Object.values(i.indent).some(y=>y!==0)||!(r>0)||MD(i)!==1||n.blocks.some(y=>MD(y)>0))return null;let s=i.lines[0],d=ED(s)??{left:s.contentX,right:s.contentX},c=d.right-d.left;if(c>r)return null;let u=y=>({x:y==="left"?0:y==="right"?r-c:(r-c)/2,y:l.box.y+e.y,width:c,height:i.box.height}),f=u(BD(e.align,o)),m=l.lines[0];if(!m||f.y>=m.box.y+m.box.height||a&&(e.parity?["left","right"]:[BD(e.align,o)]).some(b=>Bq(n.blocks,u(b),l.paragraphId)))return null;let g=If(i,f.x-d.left,f.y-i.box.y),p=g.lines[0],h={...g,box:f,lines:[{...p,box:{...p.box,x:f.x,width:c}}]};return {...n,blocks:[h,...n.blocks],bottom:Math.max(n.bottom,f.y+f.height)}}var Lq=3,Eq=128,Aq=3,Nq=4096,ND=new WeakMap;function Dq(e){let t=ND.get(e);if(t!==void 0)return t;let n=chunkJGNVNT2A_cjs.y(chunkFIJZIQXA_cjs.Ca(e));return ND.set(e,n),n}function _q(e){let t=Math.max(1,Math.floor(e)),n=new Map;return {growTo(r){Number.isFinite(r)&&r>t&&(t=Math.floor(r));},get(r){let o=n.get(r);if(o!==void 0)return n.delete(r),n.set(r,o),o},set(r,o){for(n.has(r)&&n.delete(r),n.set(r,o);n.size>t;){let a=n.keys().next();if(a.done)break;n.delete(a.value);}},get size(){return n.size}}}function HD(e,t,n,r,o,a,i,l,s,d=Ue,c,u,f,m,g,p){p?.showFieldCodes&&(r+="|field-codes"),r=_i(r);let h=p?.revisionAuthorFilter,y=LD(e),b=t1(e),x=zx(e.root),R=y?.parity?{...x,hasPageParity:true}:x,P=_q(l??Eq),S=Nr(e,d,h),w=vD(S),I=yd({numberingIndex:p?.numberingIndex,styleCascade:a,measurer:n},S).listItems,v=Dq(e),O,T,C=F=>{let k=va(R)||b||c||F?.characterStyleValues?F:void 0,_=k?.pageNumber??m?.pageNumber??1,E=c&&k?.contentInsetTop!==void 0&&k.contentInsetBottom!==void 0&&k.storyTop!==void 0?`|hf:${k.contentInsetTop},${k.contentInsetBottom},${k.storyTop}`:"",N=(b?`|frames:${k?.storyTop??m?.storyDistance??""}`:"")+Xx(k,R)+(c?`|pn:${_}`:"")+E+(k?.characterStyleValues?`|cs:${uy(k.characterStyleValues)}`:"");if(N===""){if(O)return O}else {let oe=P.get(N);if(oe)return oe;l===void 0&&va(R)&&P.growTo(Math.min(Nq,_*Aq));}let A=0,L=[],B=()=>{let oe=k?.pageNumber??m?.pageNumber??1,ce=m?.pageWidth??t,M=m?.pageHeight??Math.max(1,t),ie=m?.marginLeft??0,ue=m?.marginRight??0,pe=m?.marginTop??0,Te=m?.marginBottom??0,Re=Math.max(1,M-pe-Te),Fe=k?.contentInsetTop!==void 0&&k.contentInsetBottom!==void 0&&k.storyTop!==void 0?Object.freeze({top:k.contentInsetTop-k.storyTop,height:Math.max(1,M-k.contentInsetTop-k.contentInsetBottom)}):void 0;return Object.freeze({pageNumber:oe,pageWidth:ce,pageHeight:M,marginLeft:ie,marginRight:ue,marginBottom:Te,contentInsetTop:pe,contentInsetBottom:Te,contentWidth:t,...Fe?{verticalMarginFrame:Fe}:{},contentHeight:Re,contentBandHeight:Re,ownerPartName:e.name,storyKind:e.root.localName==="ftr"?"footer":"header"})},$=c?yy(oe=>by(oe,{measurer:n,producer:r+N+(d===Ue?"":`|rev:${d}`)+(h?`|reviewers:${h.cacheKey}`:""),cache:o,styleCascade:a,...k?{pageContext:k}:{},...s!==void 0?{defaultTabStopPt:s}:{},compatibilityMode:p?.compatibilityMode,displayMode:d,...h?{revisionAuthorFilter:h}:{},...g?{documentProperties:g}:{},...p?.projectLink?{projectLink:p.projectLink}:{},...p?.projectFieldLink?{projectFieldLink:p.projectFieldLink}:{},showFieldCodes:p?.showFieldCodes,inlineDrawingLayout:c,...u?{drawingTokenForParagraph:u}:{},...p?.projectionTokenForParagraph?{projectionTokenForParagraph:p.projectionTokenForParagraph}:{},...p?.projectionTokenForTable?{projectionTokenForTable:p.projectionTokenForTable}:{},...p?.numberingIndex?{numberingIndex:p.numberingIndex}:{}}),p?.numberingIndex,a,d,h):void 0,X=Object.freeze([]),W=Object.freeze([]),z,ee=w.floating.length>0&&m&&(k?.storyTop!==void 0||m.storyDistance!==void 0)?m:void 0,K=ee?w.flowBlocks:S,U=()=>({measurer:n,cache:o,producer:r+N+(d===Ue?"":`|rev:${d}`)+(h?`|reviewers:${h.cacheKey}`:""),nextLineId:()=>`hf-${e.name}-line-${A++}`,styleCascade:a,...I?{listItems:I}:{},pageContext:k,...s!==void 0?{defaultTabStopPt:s}:{},compatibilityMode:p?.compatibilityMode,tableNestingOffset:1,displayMode:d,...h?{revisionAuthorFilter:h}:{},...g?{documentProperties:g}:{},...p?.projectLink?{projectLink:p.projectLink}:{},...p?.projectFieldLink?{projectFieldLink:p.projectFieldLink}:{},showFieldCodes:p?.showFieldCodes,...p?.projectionTokenForParagraph?{projectionTokenForParagraph:p.projectionTokenForParagraph}:{},...p?.projectionTokenForTable?{projectionTokenForTable:p.projectionTokenForTable}:{},...W.length>0?{pageExclusionZones:()=>X}:{}}),q=Le(p?.compatibilityMode,"headerFooterAnchorsWrapText"),V=oe=>{L.push(...oe);},ne=oe=>({...U(),hostedStory:$,anchorsWrapText:q,inlineDrawingLayout:c,anchorFrameBase:B,pageContentClip:()=>{let ce=B();return k?.storyTop!==void 0?Object.freeze({x:-ce.marginLeft,y:-k.storyTop,width:ce.pageWidth,height:ce.pageHeight}):wl(ce)},collectAnchoredDrawings:oe,columnBoxForParagraph:ce=>Object.freeze({x:0,y:ce.y,width:t,height:ce.height}),pageExclusionZones:()=>X,...u?{drawingTokenForParagraph:u}:f?{drawingLayoutToken:f}:{}}),G=(oe,ce)=>{if(X=W,c){let M=false;for(let ie=0;ie<Ol;ie+=1){L.splice(0,L.length),A=ce,z=ja(oe,0,Math.max(1,t),0,0,ne(V));let ue=Ou(L,c,0,t),pe=W.length?[...W,...ue]:ue;if(ue.length===0){M=true,X=pe;break}if(ie>0&&Lr(X)===Lr(pe)){M=true,X=pe;break}X=pe;}if(!M)throw new Do(`header/footer exclusion reflow did not converge within ${Ol} passes`)}else A=ce,z=ja(oe,0,Math.max(1,t),0,0,U());},re=w.floating.length===0&&y&&K[0]?.id===y.frameId&&K[1]?.id===y.anchorId?K[0]:void 0,fe=null,te=k===void 0;if(re&&!te&&T===void 0&&C(void 0),y&&re&&(te||T)){G([re],0);let oe=z;G(K.slice(1),A),fe=L.length===0?AD(y,oe,z,t,k?.sheetNumber??_,te):null,te&&(T=fe!==null);}if(fe)z=fe;else if(b&&m?.storyDistance!==void 0&&!w.floating.length){let oe=new Set(b.flatMap(M=>M.paragraphs.map(ie=>ie.id))),ce=K.filter(M=>!oe.has(M.id));ce.some(M=>M.kind==="paragraph")&&(G(ce,0),L.length===0&&(fe=n1(b,K,z,(M,ie)=>ja(M,0,ie,0,0,U()),m,k?.storyTop??m.storyDistance))),fe?z=fe:G(K,0);}else G(K,0);if(ee){let oe=z,ce=e.root.localName==="ftr"&&ee.storyDistance!==void 0?ee.pageHeight-ee.storyDistance:void 0,M=ce!==void 0?k?.storyTop??ce-oe.bottom:k?.storyTop??ee.storyDistance,ie=()=>FD(oe.blocks,oe.bottom,w.floating,{...ee,contentWidth:t,storyTop:M},q,(ke,_e,Ke,le)=>ja([ke],_e,_e+Math.max(1,t),Ke,0,yc(c?ne(le?V:()=>{}):U())).blocks),ue=ie(),pe=ce!==void 0&&ue.pageFramed,Te=ke=>{let _e=OD(ue,oe.bottom,ke);return _e<=0?false:(M-=_e,ue=ie(),true)};pe&&Te(ee.pageHeight-M);let Re=()=>{W=ue.zones,G(K,0),ue=ie();};ue.zones.length&&Re();let Fe=()=>M+z.bottom>ee.pageHeight+.01;for(let ke=0;pe&&ke<Lq&&Fe();ke++)M=Math.min(M,ce-z.bottom),ue=ie(),Re();pe&&Fe()&&Te(Number.NEGATIVE_INFINITY)&&Re(),z={blocks:[...z.blocks,...ue.tables],bottom:pe?ce-M:z.bottom};}z=q1(e,z,t,m,a?.fixedParagraphSpacing);let Z={partName:e.name,part:e,contentKey:v,...p?.projectionEpoch?{projectionEpoch:p.projectionEpoch}:{},fragments:z.blocks,flowHeight:z.bottom,pageFieldNeeds:R,...L.length>0?{anchoredDrawings:Object.freeze([...L])}:{},withPageContext:oe=>!va(R)&&!b&&!Z.anchoredDrawings?.length&&!oe.characterStyleValues&&!k?.characterStyleValues?O??Z:C({...oe,characterStyleValues:oe.characterStyleValues??k?.characterStyleValues})};return N===""?O=Z:P.set(N,Z),Z};return C(i)}function ls(e,t,n){let r=n-e.box.y,o=u=>({...u,y:u.y+r}),a=u=>{if(!u)return;let f={...u,box:o(u.box),...u.anchoredDrawings?{anchoredDrawings:u.anchoredDrawings}:{}};if(!u.pageFieldProjector)return Jx(u,f,r),f;let m=u.pageFieldProjector;return {...f,pageFieldProjector:g=>{let p=m(g);return {...p,box:o(p.box)}}}},i=u=>{if(u)return {...u,box:o(u.box),...u.separator?{separator:{...u.separator,box:o(u.separator.box)}}:{},...u.continuationNotice?{continuationNotice:{...u.continuationNotice,box:o(u.continuationNotice.box)}}:{},notes:u.notes.map(f=>({...f,box:o(f.box)}))}},l=a(e.header),s=a(e.footer),d=i(e.footnotes),c=i(e.endnotes);return {...e,id:`page-${t}`,index:t,box:o(e.box),contentBox:o(e.contentBox),...l?{header:l}:{},...s?{footer:s}:{},...d?{footnotes:d}:{},...c?{endnotes:c}:{}}}var DD=new WeakMap;function Hq(e){let t=DD.get(e);if(t!==void 0)return t;let n=[];Yb(e,o=>{let a=o.marker;a&&n.push(de([o.paragraphId,a.text,a.numFmt,String(a.level)]));});let r=n.length===0?"":`|list:${de(n)}`;return DD.set(e,r),r}var _D=new WeakMap;function jq(e){let t=_D.get(e);if(t!==void 0)return t;let n=[];Vs(e,o=>{n.push(Mf(o.resource));for(let a of zs(o)){let i=a.story.clippedResourceToken;i&&n.push(`clip:${i}`);}});let r=n.length===0?"":`!${de(n)}`;return _D.set(e,r),r}function bw(e,t){return de([e,String(t.flowHeight),t.contentKey,t.projectionEpoch??"",jq(t),Hq(t)])}function jD(e,t,n){if(!e)return "";let r=(o,a)=>de([...a].map(([i,l])=>bw(`${o}${i}`,l)).sort());return `|hf:${t},${n},${e.titlePage?1:0}${e.evenAndOddHeaders?1:0};`+de([r("h",e.headers),r("f",e.footers),dc(e)])}function WD(e){return e.root.children.some(t=>t.kind!=="textValue"&&t.namespaceUri===chunkFIJZIQXA_cjs.la&&t.localName==="background")}function ss(e,t,n=[]){return {id:e,kind:t==="p"?"paragraph":t==="pPr"?"paragraphProperties":"generic",namespaceUri:chunkFIJZIQXA_cjs.la,localName:t,prefix:"w",namespaceBindings:[],attributes:[],children:n}}function Wq(e,t){for(let n of e?.children??[]){if(n.kind==="textValue"||n.localName!=="style"||to(n,"type")!=="paragraph")continue;let r=no(n,"name");if(r&&to(r,"val")?.toLowerCase()===t)return to(n,"styleId")??t}return t==="header"?"Header":"Footer"}function zD(e){let t=new WeakMap,n=new WeakMap,r=new WeakMap,o=new Map,a,i=(s,d,c)=>{if(s&&d==="footer")return s;let u=s&&t.get(s);if(u)return u;let f=e();a!==f&&(o.clear(),a=f);let m=`${d}-${c}`;if(!s&&o.has(m))return o.get(m);let g=s?.name??`/__layout/background-${m}.xml`,p=`${s?.id??g}:background-reserve`,h=new Set,y=[];if(!s){let R={...ss(`${p}:style`,"pStyle"),kind:"generic",attributes:[{kind:"wmlVal",namespaceUri:chunkFIJZIQXA_cjs.la,localName:"val",prefix:"w",value:Wq(f,d)}]},P=ss(`${p}:initial`,"p",[ss(`${p}:pPr`,"pPr",[R])]);y.push(P),h.add(P.id);}if(d==="header"){let R=ss(`${p}:terminal`,"p");h.add(R.id),y.push(ss(`${p}:container`,"sdt",[ss(`${p}:content`,"sdtContent",[R])]));}let b=s?.root??ss(`${p}:root`,d==="header"?"hdr":"ftr"),x={id:s?.id??g,name:g,contentType:s?.contentType??`application/vnd.openxmlformats-officedocument.wordprocessingml.${d}+xml`,root:{...b,children:[...b.children,...y]}};return n.set(x,{original:s,reserveIds:h}),s?t.set(s,x):o.set(m,x),x},l=s=>{let d=s.part&&n.get(s.part);if(!d)return s;let c=r.get(s);if(c)return c;let u={...s,part:d.original,fragments:s.fragments.filter(f=>f.kind!=="paragraph"||!d.reserveIds.has(f.paragraphId)),withPageContext:f=>l(s.withPageContext(f))};return r.set(s,u),u};return {variantPart:i,authoredStory:l,isImplicitPart:s=>n.has(s)&&!n.get(s).original}}var zq="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",Vq="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer";function Gq(e){let t=new Map;for(let n of e.relationships.get(e.mainDocumentPart)??[]){if(n.type!==zq&&n.type!==Vq)continue;let r=chunkFIJZIQXA_cjs.J(n);r.mode!=="Internal"||!r.target.ok||t.has(r.target.partName)||t.set(r.target.partName,n.id);}return t}function Kq(e){return e.relationships.get(e.mainDocumentPart)??e.relationships}var $q=8;function xw(e,t){return e.root.localName==="ftr"?t.footerDistance:t.headerDistance}function EPe(e){let{view:t,measurer:n,producer:r,cache:o,styleCascade:a,numberingIndex:i,defaultTabStopPt:l,compatibilityMode:s,displayMode:d,revisionAuthorFilter:c,inlineDrawingLayoutForPart:u,drawingLayoutTokenForPart:f,drawingTokenForParagraphForPart:m,linkProjectors:g,projectFieldLink:p,showFieldCodes:h}=e,y=zD(()=>t.stylesRoot()),b=new WeakMap,x=new WeakMap,R=(T,C,F)=>{if(C.rId===F)return C;let k=x.get(T);k||(k=new WeakMap,x.set(T,k));let _=k.get(C),E=_?.get(F);if(E)return E;let N={...C,rId:F,withPageContext:A=>R(T,C.withPageContext(A),F)};return _||(_=new Map,k.set(C,_)),_.set(F,N),N},P=new Map,S=null,w=(T,C,F)=>(S!==C&&(S=C,P=Gq(T)),P.get(F)),I=(T,C,F)=>{let k=g.epochForPart(T.name),_=c?.cacheKey??"",E=l?.(),N=s?.(),A=!y.isImplicitPart(T),L=A?f?.(T.name)??"":"",B=xd(F),D=i?.(),$=a?.(),X=g.projectLinkForPart(T.name),W=b.get(T),z=W?.find(q=>q.width===C&&q.pageHeight===F.height&&q.marginTop===B.top&&q.marginBottom===B.bottom&&q.marginLeft===F.margin.left&&q.marginRight===F.margin.right&&q.storyDistance===xw(T,F));if(z&&z.producer===r&&z.projectionEpoch===k&&z.revisionAuthorFilterKey===_&&z.defaultTabStopPt===E&&z.compatibilityMode===N&&z.drawingLayoutToken===L&&z.numberingIndex===D&&z.styleCascade===$)return z.story;let ee=HD(T,C,n,r,o,$,void 0,void 0,E,d,A?u?.(T.name):void 0,A&&m?q=>m(T.name,q):void 0,void 0,{pageNumber:1,pageWidth:F.width,pageHeight:F.height,marginLeft:F.margin.left,marginRight:F.margin.right,marginTop:B.top,marginBottom:B.bottom,storyDistance:xw(T,F)},t.documentProperties(),{compatibilityMode:N,...D?{numberingIndex:D}:{},projectLink:X,...p?{projectFieldLink:p}:{},showFieldCodes:h,projectionEpoch:k,projectionTokenForParagraph:q=>g.tokenForParagraphForPart(T.name,q),projectionTokenForTable:q=>g.tokenForTableForPart(T.name,q),...c?{revisionAuthorFilter:c}:{}}),K={width:C,pageHeight:F.height,marginTop:B.top,marginBottom:B.bottom,marginLeft:F.margin.left,marginRight:F.margin.right,storyDistance:xw(T,F),producer:r,projectionEpoch:k,revisionAuthorFilterKey:_,defaultTabStopPt:E,compatibilityMode:N,drawingLayoutToken:L,numberingIndex:D,styleCascade:$,story:ee},U=[];for(let q of W??[])q!==z&&U.push(q);return U.push(K),U.length>$q&&U.shift(),b.set(T,U),ee},v=(T,C,F,k,_)=>{let E=WD(t.part());if(!F||!E&&F.headers.size===0&&F.footers.size===0)return;let N=_.width-_.margin.left-_.margin.right,A=(L,B,D)=>{let $=new Map,X=E?["default","first","even"]:[...L.keys()];for(let W of X){let z=L.get(W),ee=E?y.variantPart(z,D,W):z,K=B?.get(W),U=K?.partName===ee.name?K.rId:w(T,C,ee.name),q=y.authoredStory(I(ee,N,_));$.set(W,U?R(C,q,U):q);}return $};return {titlePage:F.titlePage,evenAndOddHeaders:F.evenAndOddHeaders,headers:A(F.headers,k?.headers,"header"),footers:A(F.footers,k?.footers,"footer")}},O=()=>{let T=t.currentPackage(),C=Kq(T),F=mS(t.part(),d,c),k=$C(t.part(),d,c),_=t.headerFooterPartsBySection(),E=t.headerFooterResolutionBySection?.()??chunkFIJZIQXA_cjs.ef(T);return F.map((N,A)=>{let L=k[A]??A;return v(T,C,_[L],E[L],xi(N.properties))})};return {sectionFurniture:O,furniture(){let T=O();return T[T.length-1]}}}function Uq(e,t,n,r,o){let a=Nr(e,r,o);if(!n)return t.map(l=>{if(l.blockStart===l.blockEndExclusive)return;let s=a[l.blockEndExclusive-1];return s?.kind==="paragraph"?Wn(s):void 0});let i=[];for(let l of a){if(l.kind!=="paragraph")continue;let s=Wn(l);s&&i.push(s);}for(;i.length<t.length;)i.push(void 0);return i}function zPe(e){let t=e.view.currentPackage(),n=chunkFIJZIQXA_cjs.ch(t,"footnote"),r=chunkFIJZIQXA_cjs.ch(t,"endnote");if(!n&&!r)return;let o=e.view.part();if(chunkFIJZIQXA_cjs.dh(o).length===0)return;let a=chunkFIJZIQXA_cjs.Tg(t),i=chunkFIJZIQXA_cjs.Ug(a),l=chunkFIJZIQXA_cjs.Vg(a),s=chunkFIJZIQXA_cjs.Wg(void 0,i),d=chunkFIJZIQXA_cjs.Xg(void 0,l),c=pS(o,e.displayMode,e.revisionAuthorFilter),u=Uq(o,c.sections,c.truncated,e.displayMode,e.revisionAuthorFilter),f=c.sections.map((h,y)=>chunkFIJZIQXA_cjs.Wg(chunkFIJZIQXA_cjs.Rg(u[y]),i)),m=c.sections.map((h,y)=>chunkFIJZIQXA_cjs.Xg(chunkFIJZIQXA_cjs.Sg(u[y]),l)),g=e.inlineDrawingLayoutForPart?h=>{let y=e.inlineDrawingLayoutForPart(h);if(y)return {inlineDrawingLayout:y,...e.drawingTokenForParagraphForPart?{drawingTokenForParagraph:b=>e.drawingTokenForParagraphForPart(h,b)}:{}}}:void 0,p=[n,r];return {footnotesPart:n,endnotesPart:r,footnotePropsBySection:f.length>0?f:[s],endnotePropsBySection:m.length>0?m:[d],documentFootnoteProps:s,documentEndnoteProps:d,measurer:e.measurer,producer:e.producer,cache:e.cache,styleCascade:e.styleCascade?.(),numberingIndex:e.numberingIndex?.(),lineGridPitchBySection:c.sections.map(h=>Hl(h.properties)),defaultTabStopPt:e.defaultTabStopPt,compatibilityMode:e.compatibilityMode,displayMode:e.displayMode,revisionAuthorFilter:e.revisionAuthorFilter,projectLinkForPart:e.linkProjectors.projectLinkForPart,linkRelsEpoch:p.map(h=>h?e.linkProjectors.epochForPart(h.name):"").join("\0"),...e.projectFieldLink?{projectFieldLink:e.projectFieldLink}:{},showFieldCodes:e.showFieldCodes,projectionTokenForParagraphForPart:e.linkProjectors.tokenForParagraphForPart,projectionTokenForTableForPart:e.linkProjectors.tokenForTableForPart,projectionEpoch:p.map(h=>h?e.linkProjectors.epochForPart(h.name):"").join("\0"),...g?{drawingsForPart:g}:{},...g&&e.drawingLayoutEpochForPart?{drawingLayoutEpoch:p.map(h=>h?e.drawingLayoutEpochForPart(h.name):"").join("\0")}:{}}}function VPe(e,t,n){return chunkFIJZIQXA_cjs.Ig(e.currentPackage(),t,n)}var Yq=new TextEncoder,Xq=512,Wi=Object.freeze({title:"field-projected",creator:"field-projected",subject:"field-projected",keywords:"field-projected",lastModifiedBy:"field-projected",description:"field-projected",company:"reserved",manager:"reserved"}),Zq=Object.freeze({title:Wi.title,creator:Wi.creator,subject:Wi.subject,keywords:Wi.keywords,lastModifiedBy:Wi.lastModifiedBy,description:Wi.description}),Sw=Object.freeze(Object.keys(Zq)),VD=Object.freeze({title:"doc-property:title",creator:"doc-property:creator",subject:"doc-property:subject",keywords:"doc-property:keywords",lastModifiedBy:"doc-property:lastModifiedBy",description:"doc-property:description"}),GD=new WeakMap;function qq(e){let t=GD.get(e);if(t)return t;let n=[],r=[e],o=[e];for(;o.length>0;){let s=o.pop();if(s!==e&&s.kind==="paragraph"&&r.push(s),s.kind==="hyperlink"&&n.push(s),s.kind!=="textValue")for(let d=s.children.length-1;d>=0;d-=1)o.push(s.children[d]);}let a=new Set;for(let s of r){let d=ud(s,[],void 0,void 0,void 0,void 0,"all-markup",void 0,void 0,void 0,void 0,VD),c=new Set(d.map(u=>u.text));for(let u of Sw)c.has(VD[u])&&a.add(u);}let i=Sw.filter(s=>a.has(s)),l=Object.freeze({links:Object.freeze(n),documentProperties:Object.freeze(i)});return GD.set(e,l),l}function KD(e){return chunkFIJZIQXA_cjs.f(Yq.encode(de(e)))}var $D=new WeakMap;function UD(e,t){let n=new WeakMap,r=new WeakMap,o=Rf(),a=s=>{let d=e.packageRevision(),c=e.currentPackage(),u=$D.get(e);(!u||u.revision!==d||u.pkg!==c)&&(u={revision:d,pkg:c,epochs:new Map},$D.set(e,u));let f=u.epochs.get(s);if(f!==void 0)return f;let m=["story-projection-part:v1",s];m.push(de(Object.keys(Wi).map(h=>`${h}:${Wi[h]}`)));for(let h of c.relationships.get(s)??[])m.push(de([h.id,h.type,h.rawTarget,h.targetMode,String(h.order)]));for(let h of c.externalTargets)h.ownerPart===s&&m.push(de([h.id,h.type,h.rawTarget,h.sinkSafe?"1":"0"]));let g=e.documentProperties();for(let h of Sw)m.push(de([h,g[h]??""]));let p=`story-projection-part:${KD(m)}`;return u.epochs.size<Xq&&u.epochs.set(s,p),p},i=(s,d)=>{let c=qq(d);if(c.links.length===0&&c.documentProperties.length===0)return "";let u=t(s),f=a(s),m=n.get(d),g=m?.get(u);if(g?.epoch===f)return g.token;let p=e.documentProperties(),h=["story-projection:v1"];for(let x of c.links){let R=u(x);h.push(R?de([R.id,R.kind,R.href??"",R.anchor??"",R.tooltip??""]):"no-link");}for(let x of c.documentProperties)h.push(de([x,p[x]??""]));let y=`story-projection:${KD(h)}`,b=m??new WeakMap;return b.set(u,{epoch:f,token:y}),m||n.set(d,b),y};return Object.freeze({tokenForParagraphForPart:i,tokenForTableForPart:(s,d)=>{let c=t(s),u=a(s),f=r.get(d),m=f?.get(c);if(m?.epoch===u)return m.token;let g=Da(d,h=>i(s,h),{rows:o,scope:c,epoch:u}),p=f??new WeakMap;return p.set(c,{epoch:u,token:g}),f||r.set(d,p),g},epochForPart:a})}var Jq=512;function YD(e){return t=>{if(t.kind==="textValue")return null;let n=chunkFIJZIQXA_cjs.Bd(t,e);return {id:t.id,kind:n.kind,href:n.href,...n.anchor!==void 0?{anchor:n.anchor}:{},...n.tooltip!==void 0?{tooltip:n.tooltip}:{}}}}function JPe(e){let t=YD(o=>e.relationshipTarget(o)),n=new Map,r=o=>{let a=n.get(o);if(a)return a;let i=YD(l=>chunkFIJZIQXA_cjs.Ig(e.currentPackage(),o,l));return n.size<Jq&&n.set(o,i),i};return Object.freeze({projectLink:t,projectLinkForPart:r,...UD(e,r)})}var Qq=4096;function e3(e){let t=e.tooltip!==null?{tooltip:chunkFIJZIQXA_cjs.v(e.tooltip)}:{};if(e.target!==null){let o=chunkFIJZIQXA_cjs.Q(e.target);if(o.ok&&o.href.length>0&&chunkFIJZIQXA_cjs.C(o.href).ok){let i=e.anchor!==null&&!o.href.includes("#")?chunkFIJZIQXA_cjs.Q(chunkFIJZIQXA_cjs.v(e.anchor)):null;return {kind:"external",href:i&&i.ok&&i.href.length>0?`${o.href}#${i.href}`:o.href,authored:e.target,...e.anchor!==null?{anchor:chunkFIJZIQXA_cjs.v(e.anchor)}:{},...t}}if(e.anchor===null)return null}if(e.anchor===null)return null;let n=chunkFIJZIQXA_cjs.v(e.anchor),r=chunkFIJZIQXA_cjs.Q(n);return {kind:"internal",href:r.ok&&r.href.length>0?`#${r.href}`:null,authored:e.anchor,anchor:n,...t}}function nRe(){let e=new Map,t=new Map,n=0;return {project(r){let o=e3(r);if(!o)return null;let a=`${r.target??""}\0${r.anchor??""}\0${r.tooltip??""}`,i=e.get(a);if(i===void 0){if(e.size>=Qq)return null;i=`field-hyperlink:${++n}`,e.set(a,i),t.set(i,Object.freeze({id:i,paragraphId:"",start:0,end:0,text:"",kind:o.kind,href:o.href,authored:o.authored,...o.anchor!==void 0?{anchor:o.anchor}:{},...o.tooltip!==void 0?{tooltip:o.tooltip}:{}}));}return {id:i,kind:o.kind,href:o.href,...o.anchor!==void 0?{anchor:o.anchor}:{},...o.tooltip!==void 0?{tooltip:o.tooltip}:{}}},linkById:r=>t.get(r)??null,clear(){e.clear(),t.clear();}}}var _f=new WeakMap,$a=null;function t3(e){let t=_f.get(e);if(t)return t;let n=new Set,r=new Set,o=0,a=s=>{for(let d of s.rows)if(!d.isHeaderRepeat)for(let c of d.cells)i(c.blocks);},i=s=>{for(let d of s){if(d.kind==="paragraph"){n.add(d.paragraphId),o+=d.lines.length;continue}r.add(d.tableId),a(d);}};a(e);let l={paragraphIds:n,nestedTableIds:r,lineCount:o};return _f.set(e,l),l}function XD(e,t){if(e===t)return;let n=_f.get(e);n&&(_f.set(t,n),$a);let r=My.get(e);r&&!r.drawsOthers&&My.set(t,r);}var My=new WeakMap;function n3(e){let t=e.paragraphId;for(let n of e.lines??[]){if(n.range.paragraphId!==t)return true;for(let r of n.spans)if(r.range.paragraphId!==t)return true;for(let r of n.drawings??[])if(r.paragraphId!==t)return true}return false}function aRe(e){let t=My.get(e);if(t)return t.ids;let n=new Set,r=null,o=l=>{for(let s of l.rows)if(!s.isHeaderRepeat)for(let d of s.cells)a(d.blocks);},a=l=>{for(let s of l){if(s.kind!=="paragraph"){o(s);continue}if(n.add(s.paragraphId),!!n3(s)){r??=new Set;for(let d of ha(s))r.add(d);}}};o(e);let i;if(r){for(let l of n)r.add(l);i=r;}else i=_f.get(e)?.paragraphIds??n;return My.set(e,{ids:i,drawsOthers:r!==null}),i}function Pw(e,t){let[n,r]=e.size<=t.size?[e,t]:[t,e];for(let o of n)if(r.has(o))return true;return false}function ZD(e,t,n){let r=t3(e);return Pw(r.paragraphIds,t)||Pw(r.paragraphIds,n)||Pw(r.nestedTableIds,t)?null:(r.lineCount)}var r3="http://schemas.openxmlformats.org/wordprocessingml/2006/main",o3="http://schemas.microsoft.com/office/word/2010/wordml",a3="http://schemas.microsoft.com/office/word/2012/wordml";function i3(e){if(e.kind!=="textValue"){for(let t of e.attributes)if(t.localName==="val"&&t.namespaceUri===r3)return t.value}}function xc(e){for(let t of e.children)if(t.kind!=="textValue"&&(t.kind==="contentControlProperties"||t.localName==="sdtPr"))return t}function ds(e,t){if(e){for(let n of e.children)if(n.kind!=="textValue"&&n.localName===t)return n}}function Ua(e,t){let n=ds(e,t);return n?i3(n):void 0}function Hf(e){return e==="sdtLocked"||e==="contentLocked"||e==="sdtContentLocked"?e:"unlocked"}function By(e){if(!e)return "richText";for(let t of e.children){if(t.kind==="textValue")continue;let n=t.kind,r=t.localName,o=t.namespaceUri;if(n==="contentControlDropDownList"||r==="dropDownList")return "dropdown";if(n==="contentControlComboBox"||r==="comboBox")return "comboBox";if(n==="contentControlDate"||r==="date")return "date";if(r==="picture")return "picture";if(r==="docPartList")return "buildingBlockGallery";if(n==="contentControlText"||r==="text")return "plainText";if(r==="richText")return "richText";if(n==="contentControlCheckbox"||r==="checkbox"&&o===o3)return "checkbox";if(r==="repeatingSection"&&o===a3)return "repeatingSection"}return "richText"}function qD(e){let t=(n,r)=>{for(let o of n)if(o.kind!=="textValue"){if(o.kind==="tableRow")return "row";if(o.kind==="tableCell")return "cell";if(o.kind==="paragraph"||o.kind==="table")return "block";if(chunkFIJZIQXA_cjs.Uc(o)&&r<chunkFIJZIQXA_cjs.Tc){let a=t(chunkFIJZIQXA_cjs.Xc(o),r+1);if(a)return a}}return null};return t(chunkFIJZIQXA_cjs.Xc(e),0)??"inline"}function Sc(e){let t=JD.get(e);if(t!==void 0)return t;let n=jf(e.root,0);return Ly!==null&&Ly===n?n=Ly:Ly=n,JD.set(e,n),n}var Ly=null,JD=new WeakMap,QD=new WeakMap;function jf(e,t){if(e.kind==="textValue")return "";let n=e.kind==="paragraph"||e.kind==="table"||e.kind==="tableRow"||chunkFIJZIQXA_cjs.Uc(e);if(n){let o=QD.get(e);if(o!==void 0&&o.depth===t)return o.token}let r;if(chunkFIJZIQXA_cjs.Uc(e)){if(t>=chunkFIJZIQXA_cjs.Tc)return "";let o=xc(e),a=[e.id,Ua(o,"alias")??"",Ua(o,"tag")??"",Hf(Ua(o,"lock")),By(o),ds(o,"showingPlcHdr")?"1":"0",ds(o,"dataBinding")?"1":"0"].join(":"),i=chunkFIJZIQXA_cjs.Xc(e).map(l=>jf(l,t+1)).filter(l=>l.length>0);r=[a,...i].join("|");}else r=e.children.map(o=>jf(o,t)).filter(o=>o.length>0).join("|");return n&&QD.set(e,{depth:t,token:r}),r}function t_(e,t){let n=[t],r=new Set([t]);for(let o of e.pages)for(let a of [o.header,o.footer])!a?.part||r.has(a.part)||(r.add(a.part),n.push(a.part));return n}var Rw=new WeakMap,e_=new WeakMap;function n_(e){if(e.length===1)return Wf(e[0]);let t=Rw.get(e[0]);if(t&&Ey(t.parts,e))return t.index;let n=e.map(d=>Wf(d)),r=e_.get(n[0]);if(r&&Ey(r.indexes,n))return Rw.set(e[0],{parts:e,index:r.index}),r.index;let o=[],a=new Set,i=new Set;for(let d of n){for(let c of d.controls)o.push(c);for(let c of d.neededBlockIds)a.add(c);for(let c of d.neededParagraphIds)i.add(c);}let l=`${[...a].sort().join(",")};${[...i].sort().join(",")}`,s={controls:o,neededBlockIds:a,neededParagraphIds:i,neededToken:l};return e_.set(n[0],{indexes:n,index:s}),Rw.set(e[0],{parts:e,index:s}),s}var ww=new chunkFIJZIQXA_cjs.mf;function Ey(e,t){if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1)if(e[n]!==t[n])return false;return true}var r_=new chunkFIJZIQXA_cjs.mf;function l3(e){for(let t of chunkFIJZIQXA_cjs.Oc(e))if(t.root.kind!=="textValue"){for(let n of t.root.children)if(n.kind!=="textValue")return n}return null}function Wf(e){let t=ww.get(e);if(t!==void 0)return t;let n=d3(e),r=l3(e),o=r?r_.get(r):void 0;if(o&&Ey(o.lists,n))return ww.set(e,o.index),o.index;let a=[];for(let d of n)for(let c of d)a.push(c);let i=new Set,l=new Set;for(let d of a){for(let c of d.blockIds)i.add(c);d.paragraphId!==void 0&&l.add(d.paragraphId);}let s={controls:a,neededBlockIds:i,neededParagraphIds:l,neededToken:`${[...i].sort().join(",")};${[...l].sort().join(",")}`};return r&&r_.set(r,{lists:n,index:s}),ww.set(e,s),s}var s3=Object.freeze([]);function d3(e){let t=[],n=(i,l,s=0)=>{for(let d of i){if(d.kind==="paragraph"||d.kind==="table"){l.push(d.id);continue}let c=chunkFIJZIQXA_cjs.Nc(d);if(c!==null&&s<chunkFIJZIQXA_cjs.Tc){n(c,l,s+1);continue}(d.kind==="tableRow"||d.kind==="tableCell")&&n(d.children,l,s);}},r=(i,l,s,d,c)=>{if(!(d>=chunkFIJZIQXA_cjs.wa)){for(let u of i)if(!(u.kind==="textValue"||u.kind==="paragraphProperties")){if(chunkFIJZIQXA_cjs.Uc(u)){let f=chunkFIJZIQXA_cjs.jg(l).spanOf(u);if(!f)continue;let m=xc(u),g=Hf(Ua(m,"lock")),p=[...c,g];r(chunkFIJZIQXA_cjs.Xc(u),l,s+1,d+1,p),t.push({control:u,nestingDepth:s,lockStack:p,level:"inline",paragraphId:l.id,range:f,blockIds:[]});continue}chunkFIJZIQXA_cjs.ya(u)&&r(u.children,l,s,d+1,c);}}},o=(i,l,s,d=0)=>{for(let c of i){if(c.kind==="textValue")continue;if(c.kind==="paragraph"){r(c.children,c,l,0,s);continue}if(c.kind==="table"){if(jf(c,l)==="")continue;for(let y of c.children)y.kind==="tableRow"&&o([y],l,s,d);continue}if(c.kind==="tableRow"){for(let y of c.children)y.kind==="tableCell"?o(y.children,l,s,d):chunkFIJZIQXA_cjs.Uc(y)&&o([y],l,s,d);continue}if(!chunkFIJZIQXA_cjs.Uc(c)){let y=chunkFIJZIQXA_cjs.Nc(c);y!==null&&d<chunkFIJZIQXA_cjs.Tc&&o(y,l,s,d+1);continue}if(l>=chunkFIJZIQXA_cjs.Tc)continue;let u=xc(c),f=Hf(Ua(u,"lock")),m=[...s,f],g=qD(c),p=chunkFIJZIQXA_cjs.Nc(c)??[];if(g==="inline"){o(p,l+1,m,d+1);continue}let h=[];n(p,h),t.push({control:c,nestingDepth:l,lockStack:m,level:g,blockIds:h}),o(p,l+1,m,d+1);}},a=[];for(let i of chunkFIJZIQXA_cjs.Oc(e))if(i.root.kind!=="textValue")for(let l of i.root.children){if(l.kind==="textValue")continue;let s=o_.get(l);if(s!==void 0){a.push(s);continue}let d=t.length;o([l],0,[]);let c=t.length===d?s3:Object.freeze(t.slice(d));o_.set(l,c),a.push(c);}return a}var o_=new chunkFIJZIQXA_cjs.mf,zf=1<<20,Ay=new WeakMap,a_=null,i_=0;function c3(e){return e!==a_&&(a_=e,i_+=1),i_}function u3(e,t,n,r){let o=Ay.get(e);if(o!==void 0&&o.neededStamp===n)return o;let a=[],i=[],l=e.index*zf,s=0,d=0,c=m=>s===0&&d===0?m:{x:m.x+s,y:m.y+d,width:m.width,height:m.height},u=(m,g)=>{if(g.kind==="paragraph"){t.neededBlockIds.has(g.paragraphId)&&(a.push({pageIndex:m,blockId:g.paragraphId,box:c(Hd(g))}));let h=t.neededParagraphIds.has(g.paragraphId);for(let y of g.lines){let b=l;if(l=Math.min(l+1,e.index*zf+zf-1),!h)continue;let x=Math.max(0,y.box.height-y.leading-(y.trailingSpacing??0)),R=[];for(let P of y.spans)R.push({pageIndex:m,paragraphId:P.range.paragraphId,start:P.range.start,end:P.range.end,line:b,box:{x:P.box.x+s,y:P.box.y+y.leading+d,width:P.box.width,height:x}});for(let P of y.drawings??[])R.push({pageIndex:m,paragraphId:P.paragraphId,start:P.start,end:P.start+1,line:b,box:c(P.paintBounds)});y.drawings?.length&&R.sort((P,S)=>P.start-S.start||P.end-S.end);for(let P of R)i.push(P);}return}t.neededBlockIds.has(g.tableId)&&(a.push({pageIndex:m,blockId:g.tableId,box:c(g.box)}));let p=ZD(g,t.neededBlockIds,t.neededParagraphIds);if(p!==null){let h=e.index*zf+zf-1;l=Math.min(l+p,h);return}for(let h of g.rows)if(!h.isHeaderRepeat)for(let y of h.cells)for(let b of y.blocks)u(m,b);};for(let m of e.fragments)u(e.index,m);for(let m of [e.header,e.footer])if(m){s=m.box.x-e.contentBox.x,d=m.box.y-e.contentBox.y;for(let g of m.fragments)u(e.index,g);}s=0,d=0;let f={neededStamp:n,blocks:a,spans:i};return Ay.set(e,f),f}function f3(e,t,n){let r=c3(t.neededToken),o=new Map,a=new Map,i=new Set;for(let l of e.pages){let s=u3(l,t,r);for(let d of s.blocks){let c=o.get(d.blockId);c?c.push(d):o.set(d.blockId,[d]);}for(let d of s.spans){let c=a.get(d.paragraphId);c?(d.start<c[c.length-1].start&&i.add(d.paragraphId),c.push(d)):a.set(d.paragraphId,[d]);}}return {blocksById:o,spansByParagraph:a,repeatedParagraphs:i}}function m3(e,t,n){let r=new Map,o=new Set;for(let a of e)if(!o.has(a)){o.add(a);for(let i of t.blocksById.get(a)??[]){let l=r.get(i.pageIndex);l?l.push(i.box):r.set(i.pageIndex,[i.box]);}}return [...r.entries()].sort(([a],[i])=>a-i).flatMap(([a,i])=>{let l=mp(i);return l?[{pageIndex:a,box:l}]:[]})}function p3(e,t,n,r){let o=n.spansByParagraph.get(e)??[],a=new Map,i=n.repeatedParagraphs.has(e),l=0,s=o.length;for(;!i&&l<s;){let d=l+(s-l>>1);(t.start===t.end?o[d].end<t.start:o[d].end<=t.start)?l=d+1:s=d;}i&&(l=0);for(let d=l;d<o.length;d+=1){let c=o[d];if(c.end<=t.start)continue;if(c.start>=t.end){if(i)continue;break}let u=a.get(c.line);u?u.boxes.push(c.box):a.set(c.line,{pageIndex:c.pageIndex,boxes:[c.box]});}if(a.size===0&&t.start===t.end){let d=[],c=new Set;for(let u=l;u<o.length;u+=1){let f=o[u];if(f.start>t.start){if(i)continue;break}if(t.start>f.end||c.has(f.pageIndex))continue;if(c.add(f.pageIndex),f.start===f.end&&f.start===t.start&&f.box.width>0){if(d.push({pageIndex:f.pageIndex,box:f.box}),!i)break;continue}let m=f.start===f.end?f.box.x:f.box.x+f.box.width*(t.start-f.start)/Math.max(1,f.end-f.start);if(d.push({pageIndex:f.pageIndex,box:{x:m,y:f.box.y,width:0,height:f.box.height}}),!i)break}if(d.length>0)return d}return [...a.entries()].sort(([d],[c])=>d-c).flatMap(([,d])=>{let c=mp(d.boxes);return c?[{pageIndex:d.pageIndex,box:c}]:[]})}var l_=new WeakMap;function g3(e){let t=l_.get(e);if(t!==void 0)return t;let n=xc(e),r=Ua(n,"alias"),o=Ua(n,"tag"),a={...r!==void 0?{alias:r}:{},...o!==void 0?{tag:o}:{},controlType:By(n),placeholder:ds(n,"showingPlcHdr")!==void 0,bound:ds(n,"dataBinding")!==void 0};return l_.set(e,a),a}function h3(e,t,n){let r=e.level==="inline"&&e.paragraphId&&e.range?p3(e.paragraphId,e.range,t):m3(e.blockIds,t);return {...Tw(e),fragments:r}}function y3(e,t){if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1){let r=e[n],o=t[n];if(r!==o&&(r.pageIndex!==o.pageIndex||r.box.x!==o.box.x||r.box.y!==o.box.y||r.box.width!==o.box.width||r.box.height!==o.box.height))return false}return true}function b3(e,t){return e.id===t.id&&e.alias===t.alias&&e.tag===t.tag&&e.controlType===t.controlType&&e.lock===t.lock&&e.effectiveLock===t.effectiveLock&&e.placeholder===t.placeholder&&e.bound===t.bound&&e.nestingDepth===t.nestingDepth&&e.level===t.level&&y3(e.fragments,t.fragments)}function Pc(e,t){if(!e)return t.length===0;if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1)if(!b3(e[n],t[n]))return false;return true}function Vf(e,t){return {...t,revision:e.revision,pages:e.pages}}var s_=new WeakMap;function kw(e,t,n=Sc(t),r){let o=t_(e,t);if(o.length>1){let f=o.map(m=>Sc(m));n=f.some(m=>m!=="")?f.join("|"):"";}if(n===""){let f=e.pages.some(g=>g.contentControls!==void 0&&g.contentControls.length>0);if(!f&&e.controlContextToken===n&&Pc(e.contentControls,[]))return e;let m=f?e.pages.map(g=>g.contentControls!==void 0&&g.contentControls.length>0?{...g,contentControls:[]}:g):e.pages;return {...e,pages:m,contentControls:[],controlContextToken:n}}let a=n_(o),i=f3(e,a),l=a.controls.map(f=>h3(f,i)),s=new Map;for(let f of l)for(let m of f.fragments){let g=s.get(m.pageIndex),p={...f,fragments:[m]};g?g.push(p):s.set(m.pageIndex,[p]);}if(e.controlContextToken===n&&Pc(e.contentControls,l)&&e.pages.every(f=>Pc(f.contentControls,s.get(f.index)??[])))return e;let d=false,c=e.pages.map(f=>{let m=s.get(f.index)??[];if(Pc(f.contentControls,m)||m.length===0&&!f.contentControls)return f;d=true;let g=s_.get(f);if(g&&Pc(g.controls,m))return g.wrapped;let p={...f,contentControls:m},h=Ay.get(f);return h&&Ay.set(p,h),s_.set(f,{controls:m,wrapped:p}),p}),u=d?c:e.pages;return u===e.pages&&e.controlContextToken===n&&Pc(e.contentControls,l)?e:{...e,pages:u,contentControls:l,controlContextToken:n}}function TRe(e,t){return Wf(e).controls.filter(r=>t?r.paragraphId!==void 0?t.has(r.paragraphId):d_(r.control).some(o=>t.has(o)):true).map(Tw)}function d_(e){let t=[],n=r=>{for(let o of r)if(o.kind!=="textValue"){if(o.kind==="paragraph"){t.push(o.id);continue}if(chunkFIJZIQXA_cjs.Uc(o)){n(chunkFIJZIQXA_cjs.Xc(o));continue}n(o.children);}};return n(chunkFIJZIQXA_cjs.Xc(e)),t}function vRe(e,t){let n=null;for(let r of Wf(e).controls)(r.paragraphId===t||r.blockIds.includes(t)||d_(r.control).includes(t))&&(!n||r.nestingDepth>=n.nestingDepth)&&(n=r);return n?Tw(n):null}function Tw(e){let t=g3(e.control);return {id:e.control.id,...t.alias!==void 0?{alias:t.alias}:{},...t.tag!==void 0?{tag:t.tag}:{},controlType:t.controlType,lock:e.lockStack[e.lockStack.length-1]??"unlocked",effectiveLock:Zb(e.lockStack),placeholder:t.placeholder,bound:t.bound,nestingDepth:e.nestingDepth,level:e.level,fragments:[]}}function Gf(e){return e?ul(e.val,e.widthPt):0}function Ny(e,t,n){return e==="page"?t?.spacePt??0:Math.max(0,n-(t?.spacePt??0)-Gf(t))}function Dy(e,t,n){if(!e||e.display==="firstPage"&&!n||e.display==="notFirstPage"&&n)return;let r=Gf(e.top),o=Gf(e.left),a=Gf(e.bottom),i=Gf(e.right),l=xd(t),s=Ny(e.offsetFrom,e.top,l.top),d=Ny(e.offsetFrom,e.left,t.margin.left),c=t.height-Ny(e.offsetFrom,e.bottom,l.bottom),u=t.width-Ny(e.offsetFrom,e.right,t.margin.right),f=u-d,m=c-s;if(f<=0||m<=0)return;let g=[];if(e.top&&g.push({side:"top",edge:e.top,box:{x:d,y:s,width:f,height:r}}),e.bottom&&g.push({side:"bottom",edge:e.bottom,box:{x:d,y:c-a,width:f,height:a}}),e.left&&g.push({side:"left",edge:e.left,box:{x:d,y:s,width:o,height:m}}),e.right&&g.push({side:"right",edge:e.right,box:{x:u-i,y:s,width:i,height:m}}),g.length!==0)return {zOrder:e.zOrder,display:e.display,strokes:g}}var x3=.25,S3=.5;function c_(e,t,n){let r=n?n.offsetPt:e.style.fontSizePt*x3,o=n?n.thicknessPt:S3;return {x:e.box.x,y:Math.max(t.box.y,t.box.y+t.baseline-li(e.style)-r),width:e.box.width,height:o}}var Kf=chunkFIJZIQXA_cjs.Hc,_y=512,u_=6;function P3(e,t){return `note-${e}-${t}`}function zRe(e){if(!e)return [];let t=[];for(let n of chunkFIJZIQXA_cjs.Jc(e.root)){if(t.length>=Kf)break;chunkFIJZIQXA_cjs.Ac(n)&&t.push(n);}return t}function R3(e,t){if(e){for(let n of chunkFIJZIQXA_cjs.Jc(e.root))if(chunkFIJZIQXA_cjs.zc(n)===t)return n}}function m_(e,t,n){let r=chunkFIJZIQXA_cjs.xc(e),o=chunkFIJZIQXA_cjs.yc(e);if(!r||o===null)return null;let a=chunkFIJZIQXA_cjs.oc(r,o),i=n.displayMode??Ue,l=Sd(e,i,n.revisionAuthorFilter),s=P3(r,o),d=0,c=Math.max(1,t),u=n.maxFlowHeightPt??Number.POSITIVE_INFINITY,f=chunkFIJZIQXA_cjs.zc(e)==="separator"||chunkFIJZIQXA_cjs.zc(e)==="continuationSeparator",m={...n.noteMarks??{marks:new Map},activeNoteKey:a,...f?{measureSeparatorMarkers:true}:{}},g=n.ownerPartName?n.drawingsForPart?.(n.ownerPartName):void 0,p=(n.ownerPartName?n.projectLinkForPart?.(n.ownerPartName):void 0)??n.projectLink,h=yd({numberingIndex:n.numberingIndex,styleCascade:n.styleCascade,measurer:n.measurer},l).listItems,y=ja(l,0,c,0,0,{measurer:n.measurer,cache:n.cache,producer:_i(n.producer)+(f?"|separator-metrics":"")+(n.showFieldCodes?"|field-codes":"")+(i===Ue?"":`|rev:${i}`)+(n.revisionAuthorFilter?`|reviewers:${n.revisionAuthorFilter.cacheKey}`:"")+`|${a}`+/* arbi patch: the mark is part of the key */`=${m.marks.get(a)??""}|${m.reservedMarkText??""}`,nextLineId:()=>`${s}-line-${d++}`,styleCascade:n.styleCascade,...h?{listItems:h}:{},noteMarks:m,...p?{projectLink:p}:{},...n.projectFieldLink?{projectFieldLink:n.projectFieldLink}:{},showFieldCodes:n.showFieldCodes,...n.documentProperties?{documentProperties:n.documentProperties}:{},...n.ownerPartName&&n.projectionTokenForParagraphForPart?{projectionTokenForParagraph:P=>n.projectionTokenForParagraphForPart(n.ownerPartName,P)}:{},...n.ownerPartName&&n.projectionTokenForTableForPart?{projectionTokenForTable:P=>n.projectionTokenForTableForPart(n.ownerPartName,P)}:{},...n.refFields?{refFields:n.refFields}:{},displayMode:i,compatibilityMode:n.compatibilityMode,...n.lineGridPitchPt!==void 0?{paragraphLineUnitPt:n.lineGridPitchPt,snapsStoryLines:true}:{},tableNestingOffset:1,...n.defaultTabStopPt!==void 0?{defaultTabStopPt:n.defaultTabStopPt}:{},...g?{inlineDrawingLayout:g.inlineDrawingLayout,...g.drawingTokenForParagraph?{drawingTokenForParagraph:g.drawingTokenForParagraph}:{}}:{},...n.revisionAuthorFilter?{revisionAuthorFilter:n.revisionAuthorFilter}:{}}),b=y.blocks,x=y.bottom,R;if(b.length>_y){b=b.slice(0,_y);let P=b[b.length-1];x=P?P.box.y+P.box.height:0,R="note-fragment-limit";}if(x>u){let P=[],S=0;for(let w of b){let I=w.box.y+w.box.height;if(I>u+.001&&P.length>0)break;P.push(w),S=I;}b=P,x=S,R=R??"note-height-cap";}return {noteKind:r,noteId:o,scopeId:a,noteType:chunkFIJZIQXA_cjs.zc(e),fragments:b,flowHeight:x,...R?{fallbackReason:R}:{}}}function f_(e,t,n,r){if(!e)return null;let o=chunkFIJZIQXA_cjs.Lc(e.root,t);return o?m_(o,n,{...r,ownerPartName:e.name}):null}function Ro(e,t,n,r,o){if(!o)return f_(e,t,n,r);let a=`${e?.name??"none"}\0${t}\0${n}\0${r.lineGridPitchPt??""}`,i=o.get(a);if(i!==void 0)return i;let l=f_(e,t,n,r);return o.set(a,l),l}function w3(e,t){return "single"}function k3(e,t,n){let r=Sd(e,t,n);if(r.length===0)return true;for(let o of r){if(o.kind!=="paragraph")return false;let a=o.children.find(i=>i.kind==="paragraphProperties");if(Object.keys(Qm(a)).length>0||!T3(o))return false}return true}function T3(e){for(let t of e.children)if(t.kind!=="textValue"&&t.kind!=="paragraphProperties"){if(t.kind==="run"){if(!v3(t))return false;continue}return false}return true}function v3(e){for(let t of e.children)if(t.kind!=="textValue"&&t.kind!=="runProperties"&&!(chunkFIJZIQXA_cjs.vc(t)||chunkFIJZIQXA_cjs.wc(t)||chunkFIJZIQXA_cjs.uc(t))){if(t.kind==="text"){if(t.children.map(r=>r.value).join("").trim().length>0)return false;continue}return false}return true}function vw(e,t,n,r,o,a){let i=w3(),l=R3(e,t);if(l){let s=m_(l,n,{...r,lineGridPitchPt:void 0,...e?{ownerPartName:e.name}:{}});if(s){let d=k3(l,r.displayMode,r.revisionAuthorFilter),c=s.flowHeight,u,f,m=false;if(d){let p=s.fragments.filter(w=>w.kind==="paragraph"),h=p.flatMap(w=>w.lines.flatMap(I=>I.spans.filter(v=>v.noteSeparator).map(v=>({line:I,span:v}))));m=h.length===1;let y=p.at(-1),x=Sd(l,r.displayMode,r.revisionAuthorFilter).at(-1),R=x?.kind==="paragraph"?x.children.find(w=>w.kind==="paragraphProperties"):void 0,P=R?.kind==="paragraphProperties"&&R.children.some(w=>w.localName==="pStyle"||w.localName==="spacing"&&w.attributes.some(I=>I.localName==="after"));c-=P?0:y?.spacing.after??0;let S=h[0];S&&(f=S.span.style.color,u=c_(S.span,S.line,r.measurer.strikeoutMetrics?.(S.span.style)));}let g=a??Number.POSITIVE_INFINITY;return c>g+.001?{kind:t,fragments:[],flowHeight:u_,synthetic:true,ruleStyle:i,fallbackReason:"note-separator-height-cap"}:{kind:t,fragments:d&&m?[]:s.fragments,flowHeight:c,synthetic:false,...d&&m?{ruleStyle:i,...u?{ruleBox:u}:{},...f!==void 0?{ruleColor:f}:{}}:{}}}}return {kind:t,fragments:[],flowHeight:u_,synthetic:true,ruleStyle:i}}function F3(e,t,n="separator"){let r=Math.max(1,Math.min(e,n==="continuationSeparator"?e:144));return {x:0,y:Math.max(0,(t-.5)/2),width:r,height:.5}}function Fw(e,t,n,r){if(e.ruleStyle!==void 0||e.synthetic){let o=e.ruleBox??F3(n,e.flowHeight,e.kind),a=e.ruleStyle==="double"?2.25:e.ruleBox?0:.5;return {x:t+o.x,y:r+o.y,width:o.width,height:Math.max(o.height,a)}}return {x:t,y:r,width:n,height:e.flowHeight}}function Hy(e,t,n){return {lineGridPitchPt:e.lineGridPitchBySection?.[n],measurer:e.measurer,producer:e.producer,displayMode:e.displayMode,cache:e.cache,styleCascade:e.styleCascade,numberingIndex:e.numberingIndex,defaultTabStopPt:e.defaultTabStopPt,compatibilityMode:e.compatibilityMode,revisionAuthorFilter:e.revisionAuthorFilter,projectLink:e.projectLink,projectLinkForPart:e.projectLinkForPart,projectFieldLink:e.projectFieldLink,showFieldCodes:e.showFieldCodes,documentProperties:e.documentProperties,refFields:e.refFields,noteMarks:t,drawingsForPart:e.drawingsForPart,projectionTokenForParagraphForPart:e.projectionTokenForParagraphForPart,projectionTokenForTableForPart:e.projectionTokenForTableForPart}}function Ow(){let e=new Map;return {get(t,n,r,o,a,i,l){let d=`${t?.name??"none"}\0${o}\0${n}\0${r}\0${a}`,c=e.get(d);if(c)return c;let u=vw(t,n,r,i,o,a);return e.set(d,u),u.fallbackReason&&l.push(u.fallbackReason),u}}}function Cw(e,t,n,r,o,a,i,l){if(e)return e.get(t,n,r,o,a,i,l);let s=vw(t,n,r,i,o,a);return s.fallbackReason&&l.push(s.fallbackReason),s}var p_=new WeakMap;function Iw(e){let t=p_.get(e);return t||(t=new Map,p_.set(e,t)),t}function $f(e,t,n){if(n.tableRow||!n.evictable)return n.bottom;let r=e.fragments.findIndex(l=>l.kind==="paragraph"&&qn(l,t.paragraphId,t.atomOffset)),o=e.fragments[r];if(o?.kind!=="paragraph")return n.bottom;let a=n.bottom,i;for(let l=r;l<e.fragments.length&&l<=r+$g;l++){let s=e.fragments[l];if(s?.kind!=="paragraph"||s.positionedFrame||s.outOfFlow||i&&!ht(i.props).keepNext)break;let d=s.lines;if(!d.length)break;let c=ht(s.props),u=l===r?d.findIndex(g=>g.box.y+g.box.height>=n.bottom-.001)+1:1;if(u<=0)break;c.keepLines&&s.fragmentIndex===0&&s.paragraphEnd?u=d.length:c.widowControl&&(u=Math.min(d.length,Math.max(2,u)),s.paragraphEnd&&d.length-u===1&&(u=d.length));let f=d[u-1],m=f.box.y+f.box.height;if(m-o.box.y>=e.contentBox.height||(a=Math.max(a,m),u<d.length||!s.paragraphEnd))break;i=s;}return a}function Uf(e){let t=Number.NEGATIVE_INFINITY;for(let n of e.fragments)if(!(n.kind==="paragraph"&&(n.outOfFlow||n.positionedFrame))){if(n.box.y<t-.001||n.kind==="paragraph"&&n.box.width<e.contentBox.width-.001)return false;t=n.box.y+n.box.height;}return true}function Vi(e,t){return Math.max(0,e-14-t)}var cs=.5,g_=2*cs;function jy(e,t,n){if(!e)return "";let r=[];for(let[o,a]of e){let i=o-t;i>=0&&i<n&&r.push([i,a]);}return r.length===0?"":(r.sort((o,a)=>o[0]-a[0]),`|nr:${r.map(([o,a])=>`${o}=${a}`).join(",")}`)}function h_(e,t,n){n<=0||e.set(t,Math.max(e.get(t)??0,n));}function zi(e){let t=new Map;for(let[n,r]of e)r>0&&t.set(n,r);return t}function Yf(e,t){let n=zi(e),r=zi(t);if(n.size!==r.size)return false;for(let[o,a]of n)if((r.get(o)??0)!==a)return false;return true}function Wy(e,t){let n=zi(e);for(let[r,o]of t)o<=0||n.set(r,Math.max(n.get(r)??0,o));return n}function Gi(e){return [...zi(e)].map(([t,n])=>`${t}=${n}`).sort().join(",")}function zy(e,t,n,r,o,a){if(!e)return;let i=chunkFIJZIQXA_cjs.Jc(e.root).find(d=>chunkFIJZIQXA_cjs.zc(d)==="continuationNotice"),l=i?chunkFIJZIQXA_cjs.yc(i):null;if(l===null)return;let s=Ro(e,l,t,r,o);if(!(!s||s.flowHeight<=0)){if(s.fallbackReason||s.flowHeight>=n-14){a?.push("note-continuation-notice-height-cap");return}return s}}function y_(e,t){return e.some(n=>t.has(n.scopeId))}function b_(e,t,n,r){return e?{continuationNotice:{kind:"continuationNotice",box:{x:t,y:n,width:r,height:e.flowHeight},fragments:e.fragments,synthetic:false}}:{}}var x_=new WeakMap,S_=new WeakMap;function O3(e,t,n){let r=e.map(o=>`${o.blockStart}-${o.blockEndExclusive}`).join(",");return `${t};${n?.cacheKey??""};${r}`}function Mw(e){let t=Ti(e);return t?t.members.map(n=>n.id):[e.id]}function Bw(e){let t=S_.get(e);if(t)return t;let n=[],r=(o,a)=>{if(!(a>32||o.kind==="textValue")){if(o.kind==="paragraph"){n.push(o.id);return}for(let i of o.children)r(i,a+1);}};return r(e,0),S_.set(e,n),n}function C3(e,t){if(e.kind!==t.kind)return false;let n=e.kind==="paragraph"?Mw(e):Bw(e),r=t.kind==="paragraph"?Mw(t):Bw(t);return n.length===r.length&&n.every((o,a)=>o===r[a])}function P_(e,t,n,r,o,a,i){let l=Nr(e,n,r,a,i),s=O3(t,n,r),d=o?x_.get(o):void 0;if(d?.boundsFingerprint===s&&d.blocks.length===l.length&&l.every((u,f)=>u===d.blocks[f]||C3(u,d.blocks[f])))return d.blocks=l,d.map;let c=new Map;for(let u=0;u<t.length;u+=1){let f=t[u];for(let m=f.blockStart;m<f.blockEndExclusive;m+=1){let g=l[m];if(!g)continue;let p=g.kind==="paragraph"?Mw(g):Bw(g);for(let h of p)c.set(h,u);}}return o&&x_.set(o,{blocks:l,boundsFingerprint:s,map:c}),c}var R_=new WeakMap;function w_(e){e&&(e.settledReserves=null,e.reflowSpent=null,e.orphanPolicyPart=void 0);}function Lw(e,t,n){if(!e)return false;let r=R_.get(e),o=t.pages.map(({box:a,contentBox:i})=>[a.width,a.height,i.x-a.x,i.y-a.y,i.width,i.height].join(","));return R_.set(e,{part:n,pages:o}),r?.part!==n?false:o.some((a,i)=>r.pages[i]!==void 0&&r.pages[i]!==a)}function I3(e,t,n){if(e.lines.length===0)return e.box.y+e.box.height<=t+.001?{head:e,tail:null}:{head:null,tail:e};let r=0;for(;r<e.lines.length;r+=1){let h=e.lines[r];if(h.box.y+h.box.height>t+.001)break}if(r>=e.lines.length)return {head:e,tail:null};if(n&&(r=ki(r,0,e.lines.length,ht(e.props),false)),r===0)return {head:null,tail:e};let o=e.lines.slice(0,r),a=e.lines.slice(r),i=o[o.length-1],l=e.box.y,s=i.box.y+i.box.height,d=e.borders?.filter(h=>h.side!=="bottom"),c={...e,range:{paragraphId:e.paragraphId,start:o[0].range.start,end:i.range.end},spacing:{before:e.spacing.before,after:0},lines:o,box:{...e.box,height:Math.max(0,s-l)},...d&&d.length>0?{borders:d}:{borders:void 0},bottomBorder:void 0,...e.shadingBox?{shadingBox:{...e.shadingBox,height:Math.max(0,s-e.shadingBox.y)}}:{}},u=a[a.length-1],f=a[0].box.y,m=u.box.y+u.box.height,g=e.borders?.filter(h=>h.side!=="top"),p={...e,id:`${e.paragraphId}#f${e.fragmentIndex+1}`,fragmentIndex:e.fragmentIndex+1,range:{paragraphId:e.paragraphId,start:a[0].range.start,end:a[a.length-1].range.end},spacing:{before:0,after:e.spacing.after},lines:a,box:{x:e.box.x,y:f,width:e.box.width,height:Math.max(0,m-f)},marker:void 0,...g&&g.length>0?{borders:g}:{borders:void 0},...e.bottomBorder?{bottomBorder:e.bottomBorder}:{},...e.shadingBox?{shadingBox:{x:e.shadingBox.x,y:f,width:e.shadingBox.width,height:Math.max(0,m-f)}}:{}};return {head:c,tail:p}}function Ya(e,t,n){if(e.flowHeight<=t+.001)return {head:e.fragments,headHeight:e.flowHeight,tail:[],tailHeight:0};if(t<=.001)return {head:[],headHeight:0,tail:e.fragments,tailHeight:e.flowHeight};let r=[],o=0,a=0,i=null;for(let u=0;u<e.fragments.length&&u<_y;u+=1){let f=e.fragments[u],m=f.box.y+f.box.height;if(m<=t+.001){r.push(f),o=m,a=u+1;continue}if(f.kind==="paragraph"){let g=I3(f,t,(n?.fullContentHeight??t)>t+.001);if(g.head)r.push(g.head),o=g.head.box.y+g.head.box.height,i=g.tail,a=u+1;else {let p=n?.fullContentHeight??t,y=f.lines[0]?.box.height??f.box.height;if(r.length===0&&t>=p-.001&&y>p+.001){n?.reasons?.push("note-line-exceeds-page"),a=u+1,i=null;let b=e.fragments.slice(a),x=b[0]?.box.y??0;return {head:[],headHeight:0,tail:aw(b,-x),tailHeight:Math.max(0,e.flowHeight-x)}}a=u,i=null;}break}a=u;break}let l=[...i?[i]:[],...e.fragments.slice(a)];if(l.length===0)return {head:r,headHeight:o,tail:[],tailHeight:0};let s=l[0]?.box.y??0,d=aw(l,-s),c=za(d);return {head:r,headHeight:o,tail:d,tailHeight:c}}var Ew=2;function k_(e,t,n,r){return e.evictable&&r.evictionAllowed!==false&&!(r.allowOrphanDeferral&&e.preserveOrphanLine)&&t.flowHeight>n+.001&&t.flowHeight<=r.keepWholeBudget-(e.bottom-e.blockTop)+.001&&e.top>r.firstContentTop+.001&&e.top>=14&&!(e.endsPageRowId!==void 0&&E1(r.nextPage,e.endsPageRowId))&&!(e.tableRow===true?M3(t,n,r.fullNoteColumn):r.paragraphSplitAllowed!==false&&Aw(t,n,r.fullNoteColumn))}function M3(e,t,n){return Rc(e,t,n).lines>=Ew}function Rc(e,t,n){let r=Ya(e,Math.max(0,t),{fullContentHeight:n}),o=0;for(let a of r.head)o+=a.kind==="paragraph"?a.lines.length:1;return {lines:o,height:r.headHeight}}function Aw(e,t,n){return e.fragments.some(r=>r.kind!=="paragraph"||ht(r.props).keepNext)?false:Rc(e,t,n).lines>0}function T_(e,t,n,r,o){if(r.fragmentIndex===0||!Py(t)||!Py(n))return 0;let a=B3(t);if(a?.kind!=="table"||a.tableId!==r.tableId)return 0;let i=a.rows[a.rows.length-1];if(!i||i.isHeaderRepeat||i.isHeaderRow||xy(i))return 0;let l=r.rows.find(b=>!b.isHeaderRepeat);if(!l||l.isContinuation)return 0;let s=[];for(let b of o){if(!L1(l,b))continue;let x=Sy(n,r,b,e.opts.compatibilityMode);if(x===null||x==="table"||x.row!==l)return 0;s.push({ref:b,band:x});}if(s.length===0)return 0;let d=t.contentBox.height,c=wy(t),u=d-c,f=Number.POSITIVE_INFINITY;for(let{band:b}of s)f=Math.min(f,b.bottom-l.box.y);if(u-e.existingAreaHeight<f-.001)return 0;let m=Vi(d,e.plainSeparatorHeight),g=Math.max(0,d-e.plainSeparatorHeight),p=e.existingAreaHeight>0?e.existingAreaHeight:e.plainSeparatorHeight,h=0,y=false;for(let{ref:b,band:x}of s){let R=Ro(e.footnotesPart,b.noteId,t.contentBox.width,e.opts,e.noteLayoutCache);if(!R||R.flowHeight>m-(x.bottom-x.blockTop)+.001)continue;let P=Math.max(0,d-(c+x.bottom-l.box.y)-p-h);if(R.flowHeight<=P+.001){h+=R.flowHeight;continue}let S=Rc(R,P,g);if(S.lines<Ew){y=true;break}h+=S.height;}return y?Math.max(0,u-cs):0}function B3(e){for(let t=e.fragments.length-1;t>=0;t-=1){let n=e.fragments[t];if(!wt(n)&&!(n.kind==="paragraph"&&n.positionedFrame))return n}}var v_=$g+1;function F_(e){let{bodyPage:t,nextPage:n}=e;if(!n||D3(t)||n.contentBox.width!==t.contentBox.width||n.contentBox.height!==t.contentBox.height)return 0;let r=n,o=e.pageBottomRefsOf(r);if(o.length===0)return 0;let a=r.fragments[0];if(a?.kind==="table")return T_(e,t,r,a,o);let i,l;for(let U of o){let q=Uo(r,U,e.opts.compatibilityMode);q.bottom<=q.top||(!i||q.bottom<i.bottom-.001)&&(i=q,l=U);}if(!i||!l)return 0;let s=i.bottom-i.top,d=wy(t),c=t.contentBox.height;if(c-d<s-.001)return 0;let u,f=0;for(let[U,q]of r.fragments.entries()){if(q.kind!=="paragraph"||U>=v_)return 0;if(qn(q,l.paragraphId,l.atomOffset)){u=q,f=U;break}}if(!u)return 0;let m=E3(r.fragments,f),g=Uo(r,l,e.opts.compatibilityMode).preserveOrphanLine,p=e.ownReservePt??e.existingAreaHeight,h=za(t.fragments),y=m&&g===true&&A3(e,u,r,l,h,p);if(m&&!y&&Vy(t)&&Vy(r)){let U=N3(r.fragments,f);if(U!==null&&h+U+p<=c+.001)return 0}if(e.allowOrphanDeferral&&g&&!y&&za(t.fragments)+i.bottom-cc(r)+e.existingAreaHeight<=c+.001)return 0;let b=L3(r.fragments,f,u,i.bottom),x=o.filter(U=>b.blocks.some(({block:q,bottom:V})=>qn(q,U.paragraphId,U.atomOffset)&&(q===u||Uo(r,U,e.opts.compatibilityMode).bottom<=V+.001)));if(x.length===0)return 0;let R=cc(r),P=u,S=x.some(U=>!qn(P,U.paragraphId,U.atomOffset)),w=Math.max(0,(S?b.lineBottom:i.bottom)-R),I=Math.max(0,(S?b.blockBottom:Lf(u))-R),v=t.contentBox.width,O=Vi(c,e.plainSeparatorHeight),T=t.fragments.at(-1),C=f===0&&Vy(t)&&Vy(r)&&T?.kind==="paragraph"&&T.paragraphId===u.paragraphId&&T.range.end===u.range.start&&T.box.x===u.box.x&&!T.paragraphEnd?Math.max(0,d-T.box.y):0,F=Uf(t)&&Uf(r),k=ht(u.props);if(C>0&&F&&!k.keepLines&&!k.keepNext){let U=$f(r,l,i),q=e.existingAreaHeight>0?e.existingAreaHeight:e.plainSeparatorHeight,V=true,ne=0;for(let G of x){let re=Uo(r,G,e.opts.compatibilityMode);if(re.bottom>U+.001)continue;let fe=re.bottom-re.blockTop+C,te=Ro(e.footnotesPart,G.noteId,v,e.opts,e.noteLayoutCache);if(!re.evictable||!te||fe>=O||te.flowHeight>O-fe+.001){V=false;break}q+=te.flowHeight,ne++;}if(V&&ne>0&&Math.max(d,za(t.fragments))+U-R+q<=c+.001)return 0}let _=0,E=false,N=w,A=e.existingAreaHeight>0?e.existingAreaHeight:e.plainSeparatorHeight;for(let U of x){let q=Ro(e.footnotesPart,U.noteId,v,e.opts,e.noteLayoutCache);if(!q)continue;let V=Uo(r,U,e.opts.compatibilityMode),ne=V.bottom-V.blockTop,G=ne+(U.paragraphId===u.paragraphId?C:0),re=V.evictable?G<O?G:ne:0;if(q.flowHeight>O-re+.001)continue;let fe=Math.max(w,$f(r,U,V)-R),te=c-d-fe-A-_,Z=E||(e.existingNoticeHeight??0)>0?0:zy(e.footnotesPart,v,c,e.opts,e.noteLayoutCache)?.flowHeight??0,oe=te-Z;F&&V.evictable&&V.tableRow!==true&&G<O&&q.flowHeight>te+.001&&Aw(q,oe,O-Z)?(_+=Rc(q,oe,O-Z).height+Z,E=true,N=Math.max(N,fe)):_+=q.flowHeight;}if(_<=0)return 0;let L=A+_,B=E?0:s,D=Math.max(0,c-d-cs);if(!(d+N+B+L<=c+.001))return D;if(d+I+B+L<=c+.001)return 0;let{usedReservePt:W}=e;if(W===void 0)return 0;let z=Math.max(0,c-W-d),ee=w+s>z+.001,K=Math.abs(W-D)<=g_;return ee&&!K?0:D}function L3(e,t,n,r){let o=[{block:n,bottom:Lf(n)}],a=r,i=o[0].bottom,l=n,s=n.lines.at(-1),d=ht(n.props),c=n.fragmentIndex===0&&n.paragraphEnd===true,u=n.paragraphEnd===true&&(c&&d.keepLines||c&&d.widowControl&&n.lines.length<4||s!==void 0&&r>=s.box.y+(d.widowControl?0:s.box.height)-.001);for(let f=t+1;f<e.length&&f-t<v_&&!(!u||!ht(l.props).keepNext);f++){let m=e[f];if(m.kind!=="paragraph"||m.positionedFrame||m.outOfFlow)break;let g=m.lines.length;if(g===0)break;let p=ht(m.props),h=m.fragmentIndex===0&&m.paragraphEnd===true,y=p.keepLines&&h?g:p.widowControl&&m.fragmentIndex===0?h&&g<4?g:Math.min(2,g):p.widowControl&&m.paragraphEnd&&g<3?g:1,b=m.lines[y-1],x=b.box.y+b.box.height;o.push({block:m,bottom:x}),a=Math.max(a,x),i=Math.max(i,x),l=m,u=y===g&&m.paragraphEnd===true;}return {blocks:o,lineBottom:a,blockBottom:i}}function E3(e,t){for(let n=t-1;n>=0;n-=1){let r=e[n];if(!(r.kind!=="paragraph"||r.positionedFrame||r.outOfFlow)&&!ht(r.props).keepNext)return true}return false}function A3(e,t,n,r,o,a){let i=t.lines[1];if(!i)return false;let l=e.bodyPage.contentBox.height,s=o-cc(n),d=i.box.y+i.box.height-Math.min(i.trailingSpacing??0,i.box.height);if(s+d+a>l+.001)return false;let c=Ro(e.footnotesPart,r.noteId,e.bodyPage.contentBox.width,e.opts,e.noteLayoutCache);if(!c)return false;let u=Math.max(e.existingAreaHeight,e.plainSeparatorHeight),f=l-(s+i.box.y+i.box.height)-u;return Ya(c,Math.max(0,f)).head.length===0}function N3(e,t){let n;for(let r=0;r<t;r+=1){let o=e[r];if(o.kind!=="paragraph"||o.positionedFrame||o.outOfFlow)continue;let a=o.lines;if(a.length===0)continue;n??=a[0].box.y-(o.fragmentIndex===0?o.spacing.before:0);let i=ht(o.props),l=a.length,s=1,d=o.fragmentIndex===0&&o.paragraphEnd===true;i.keepLines&&d?s=l:i.widowControl&&o.fragmentIndex===0?s=d&&l<4?l:Math.min(2,l):i.widowControl&&o.paragraphEnd&&l<3&&(s=l);let c=a[s-1];if(s<l||!o.paragraphEnd||!i.keepNext)return c.box.y+c.box.height-Math.min(c.trailingSpacing??0,c.box.height)-n}return null}function Vy(e){let t=Number.NEGATIVE_INFINITY;for(let n of e.fragments)if(!wt(n)&&!(n.kind==="paragraph"&&n.positionedFrame)){if(n.box.y<t-.001)return false;t=n.box.y+n.box.height;}return true}function D3(e){for(let t=e.fragments.length-1;t>=0;t-=1){let n=e.fragments[t];if(n.kind!=="paragraph")return false;let o=n.lines[n.lines.length-1]?.spans.some(a=>a.text===chunkFIJZIQXA_cjs.mb)??false;if(!(!o&&(n.positionedFrame||n.outOfFlow)))return o}return false}var O_=Object.freeze({footnotesPart:"identity-check",endnotesPart:"identity-check",footnotePropsBySection:"content-fingerprint",endnotePropsBySection:"content-fingerprint",documentFootnoteProps:"content-fingerprint",documentEndnoteProps:"content-fingerprint",measurer:"identity-check",producer:"content-fingerprint",displayMode:"content-fingerprint",revisionAuthorFilter:"content-fingerprint",cache:"identity-check",styleCascade:"identity-check",numberingIndex:"identity-check",lineGridPitchBySection:"content-fingerprint",defaultTabStopPt:"content-fingerprint",compatibilityMode:"content-fingerprint",projectLink:"pass-projector",projectLinkForPart:"relationship-epoch-guarded",linkRelsEpoch:"content-fingerprint",projectionTokenForParagraphForPart:"projection-epoch-guarded",projectionTokenForTableForPart:"projection-epoch-guarded",projectionEpoch:"content-fingerprint",showFieldCodes:"content-fingerprint",projectFieldLink:"pass-projector",documentProperties:"content-fingerprint",refFields:"content-fingerprint",drawingsForPart:"drawing-epoch-guarded",drawingLayoutEpoch:"content-fingerprint"});function Nw(e,t){for(let n of Object.keys(O_))if(O_[n]===t&&e[n]!==void 0)return true;return false}function Gy(e){return `${e.pos},${e.numFmt},${e.numStart},${e.numRestart}`}function C_(e){return Nw(e,"drawing-epoch-guarded")&&e.drawingLayoutEpoch===void 0||Nw(e,"relationship-epoch-guarded")&&e.linkRelsEpoch===void 0||Nw(e,"projection-epoch-guarded")&&e.projectionEpoch===void 0?null:[e.producer,e.displayMode??Ue,e.revisionAuthorFilter?.cacheKey??"",e.showFieldCodes??false,e.defaultTabStopPt??"",e.compatibilityMode??"",(e.lineGridPitchBySection??[]).join(","),e.drawingLayoutEpoch??"",e.linkRelsEpoch??"",e.projectionEpoch??"",e.refFields?.valuesToken??"",e.documentProperties?JSON.stringify(e.documentProperties):"",Gy(e.documentFootnoteProps),Gy(e.documentEndnoteProps),e.footnotePropsBySection.map(Gy).join(";"),e.endnotePropsBySection.map(Gy).join(";")].join("\0")}var _3=.4;function Dw(e,t,n){return e&&chunkFIJZIQXA_cjs.bf(e,"first")&&n===0?"first":e&&chunkFIJZIQXA_cjs.bf(e,"even")&&(t+n+1)%2===0?"even":"default"}function I_(e){let{furniture:t,pageHeight:n,marginTop:r,marginBottom:o}=e,a=n*_3,i=new Map,l=(s,d,c,u=0)=>Math.min(a,dS(c)?so(c):Math.max(c,d?s+Math.max(d.flowHeight,u):0));return s=>{if(s===0&&e.continuedPageInsets)return e.continuedPageInsets;let d=Dw(t,e.pageIndexStart,s),c=t&&dc(t)?`${d}:${s}`:d,u=i.get(c);if(u)return u;let f=my(t,d,e.pageIndexStart+s),m=l(e.headerDistance,f,r,f&&!dS(r)?a1(t,e.pageIndexStart+s):0),g=l(e.footerDistance,t?.footers.get(d),o),p=Object.freeze({top:m,bottom:g,height:n-m-g});return i.set(c,p),p}}var _w=new WeakMap;function Hwe(e){_w.delete(e);}function Zf(e,t){_w.set(e,t);}function Hw(e,t,n,r){return _w.get(e)?.(t,n,r)}function M_(e,t){let{kind:n,box:r,geometry:o}=e,a=n==="header"?r.y+e.headerDistance:r.y+o.height-e.footerDistance-t.flowHeight;return {kind:n,variant:e.variant,partName:t.partName,...t.part?{part:t.part}:{},...t.rId?{rId:t.rId}:{},box:{x:r.x+o.margin.left,y:a,width:e.contentWidth,height:t.flowHeight},fragments:t.fragments,...t.anchoredDrawings?{anchoredDrawings:t.anchoredDrawings}:{}}}function B_(e,t){let{story:n,geometry:r}=e,o=n;for(let a=0;a<8;a+=1){let i=e.kind==="header"?e.headerDistance:r.height-e.footerDistance-o.flowHeight,l={...t,contentInsetTop:e.insets.top,contentInsetBottom:e.insets.bottom,storyTop:i},s=n.withPageContext(l);if(Math.abs(s.flowHeight-o.flowHeight)<=.001)return s;o=s;}throw new Error("header/footer attached-page anchor layout did not converge")}function H3(e){return t=>M_(e,B_(e,t))}var Ki=24;function L_(e){let{furniture:t,geometry:n,headerDistance:r,footerDistance:o,pageIndexStart:a}=e,i=c=>({x:0,y:c*(n.height+Ki),width:n.width,height:n.height}),l=c=>Dw(t,a,c),s=(c,u,f)=>{if(!t)return;let m=l(u),g=c==="header"?my(t,m,a+u):t.footers.get(m);if(!g)return;let p=a+u+1,h={pageNumber:p,pageCount:Math.max(p,e.pageCount()+1),sectionPageCount:u+1,sheetNumber:p},y={kind:c,variant:m,story:g,box:f,geometry:n,headerDistance:r,footerDistance:o,contentWidth:e.contentWidth,insets:e.insetsFor(u)},b=g.pageFieldNeeds,R=va(b)||(g.anchoredDrawings?.length??0)>0?B_(y,h):g,P=M_(y,R);return va(b)?{...P,pageFieldProjector:H3(y)}:P};return {pageBox:i,variantFor:l,furnitureFor:s,overflowShellAt:(c,u)=>{let f=c-a,m=s("header",f,u),g=s("footer",f,u),p=Dy(e.pageBorders,n,f===0);return {insets:e.insetsFor(f),...m?{header:m}:{},...g?{footer:g}:{},...p?{pageBorders:p}:{}}}}}function E_(e){let t=0;return e.map((n,r)=>{let o=`page-${r}`,i=n.index===r&&n.id===o&&n.box.y===t?n:ls(n,r,t);return t+=n.box.height+Ki,i})}function jw(e){return e.breakType==="continuous"||e.sheetIndex===0?false:e.restart!==void 0?e.evenAndOddHeaders&&(e.restart-(e.sheetIndex+1))%2!==0:e.breakType==="oddPage"?e.nextDisplayed%2===0:e.breakType==="evenPage"?e.nextDisplayed%2!==0:false}function Ww(e,t,n,r){let o=xd(n);return r&&r.index===e&&r.box.y===t&&r.box.width===n.width&&r.box.height===n.height&&r.contentBox.x===n.margin.left&&r.contentBox.y===t+o.top&&r.contentBox.width===n.width-n.margin.left-n.margin.right&&r.contentBox.height===n.height-o.top-o.bottom?r:{id:`page-${e}`,index:e,box:{x:0,y:t,width:n.width,height:n.height},contentBox:{x:n.margin.left,y:t+o.top,width:n.width-n.margin.left-n.margin.right,height:n.height-o.top-o.bottom},fragments:[],hasBodyPageFields:false,parityBlank:true}}var A_=new WeakMap;function N_(e,t,n,r){A_.set(e,{evenAndOddHeaders:t,starts:new Map(n.map(o=>[o.pageIndex,o])),runningAfter:new Map(r)});}function D_(e,t){let n=A_.get(t);if(!n)return e;let r=[],o=0,a=1,i=(l,s)=>{let d=l.pageFieldSource;return d&&d.pageNumber!==s?{...l,pageFieldSource:{...d,pageNumber:s}}:l};for(let l of e){if(l.parityBlank)continue;let s=l.pageFieldSource?.pageNumber;if(l.noteStream!==void 0){r.push(i(l,a)),a+=1,o+=1;continue}if(s===void 0){r.push(l),a+=1;continue}let d=n.starts.get(l.index);if(d){let u=d.restart??d.runningBefore+o;jw({breakType:d.breakType,restart:d.restart,nextDisplayed:u,sheetIndex:r.length,evenAndOddHeaders:n.evenAndOddHeaders})&&(r.push(Ww(d.pageIndex,0,d.geometry,void 0)),d.restart===void 0&&(u+=1)),o=d.restart===void 0?u-s:0;}r.push(i(l,s+o));let c=n.runningAfter.get(l.index);c!==void 0?(a=c,o=0):a=s+o+1;}return r}function __(e){if(e.kind!=="tableRow")return null;let t=e.children.find(a=>a.namespaceUri===chunkFIJZIQXA_cjs.la&&a.localName==="trPr");if(!t)return null;let n=null;for(let a of t.children)if(a.kind!=="textValue"&&a.namespaceUri===chunkFIJZIQXA_cjs.la&&!(a.localName!=="ins"&&a.localName!=="del")){n=a;break}if(!n)return null;let r=a=>n.attributes.find(i=>i.namespaceUri===chunkFIJZIQXA_cjs.la&&i.localName===a)?.value,o=r("date");return {kind:n.localName==="ins"?"insert":"delete",id:r("id")??"",author:r("author")??"",...o===void 0?{}:{date:o},nodeId:n.id}}function H_(e,t,n){let r=[];for(let o of e){let a=Cn(o)?_n(o):__(o);if(a){if(r.length>=Rp)return false;r=Jn(r,a);}}return Ye(r,t,n)}function j_(e){let t=[];for(let n of e){let r=Cn(n)?_n(n):__(n);r&&t.push([r.kind,r.nodeId,r.author]);}return JSON.stringify(t)}function Ky(e){return `${e.noteKind}|${e.noteId}|${e.paragraphId}|${e.customMarkFollows?1:0}|${e.sectionIndex}`}function W_(e){return e.map(t=>`${Ky(t)}|${t.atomOffset}`).join(";")}function zw(e){return e.map(Ky).join(";")}function Vw(e,t){if(e===t)return true;if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1){let r=e[n],o=t[n];if(r.atomOffset!==o.atomOffset||Ky(r)!==Ky(o))return false}return true}var J_=64,Q_=8,z_=J_+2*Q_,eH=4096,j3=256,V_=12,G_=new WeakMap;function W3(e,t,n){if(!e)return {memo:null,allHits:t,reused:false};let r=C_(n);if(r===null)return e.notes=null,{memo:null,allHits:t,reused:false};let o=W_(t),a=null,i=e.notes;if(i){let s=G_.get(i),d=i.inputFingerprint===r&&s!==void 0&&s.footnotesPart===n.footnotesPart&&s.endnotesPart===n.endnotesPart&&s.measurer===n.measurer&&s.cache===n.cache&&s.styleCascade===n.styleCascade&&s.numberingIndex===n.numberingIndex;if(d&&i.hitsFingerprint===o)return {memo:i,allHits:i.allHits,reused:true};if(a=d?zw(t):null,a!==null&&i.identityFingerprint===a)return i.hitsFingerprint=o,i.allHits=t,{memo:i,allHits:t,reused:true}}let l={hitsFingerprint:o,identityFingerprint:a??zw(t),inputFingerprint:r,allHits:t,provisionalMarks:uH(t,n),finalMarks:null,settledReserves:null,reflowSpent:null,pageAttach:new WeakMap,pageReserve:new WeakMap};return G_.set(l,{footnotesPart:n.footnotesPart,endnotesPart:n.endnotesPart,measurer:n.measurer,cache:n.cache,styleCascade:n.styleCascade,numberingIndex:n.numberingIndex}),e.notes=l,{memo:l,allHits:t,reused:false}}function M0e(e,t){return t>=e.range.start&&t<e.range.end}var K_=new WeakMap;function tH(e){let t=K_.get(e);if(t)return t;let n=[],r=o=>{for(let a of o){if(a.kind==="paragraph"){n.push(a);continue}for(let i of a.rows)if(!i.isHeaderRepeat)for(let l of i.cells)r(l.blocks);}};return r(e),K_.set(e,n),n}var $_=new WeakMap;function nH(e){let t=$_.get(e);if(t)return t;let n=new Map;for(let r of e){let o=n.get(r.paragraphId);o?o.push(r):n.set(r.paragraphId,[r]);}return $_.set(e,n),n}var U_=new WeakMap;function $y(e,t,n){let r=tH(e.fragments);if(!n)return t.filter(l=>r.some(s=>qn(s,l.paragraphId,l.atomOffset)));let o=U_.get(e.fragments);if(o&&o.refIndex===n)return o.result;let a=[],i=new Set;for(let l of r)for(let s of ha(l)){let d=n.get(s);if(d)for(let c of d)i.has(c)||qn(l,s,c.atomOffset)&&(i.add(c),a.push(c));}return U_.set(e.fragments,{refIndex:n,result:a}),a}function rH(e){return e==="sectEnd"||e==="docEnd"}function z3(e,t){let n=[];for(let r of e){if(n.length>=Kf)break;n.push({...r,sectionIndex:t.get(r.paragraphId)??0});}return n}function us(e,t){return e.footnotePropsBySection[t]??e.footnotePropsBySection[0]??e.documentFootnoteProps}function Gw(e,t){return e.endnotePropsBySection[t]??e.endnotePropsBySection[0]??e.documentEndnoteProps}function V3(e,t){let n="FootnoteReference";if(!t)return {...Zn,verticalAlign:"superscript"};let r=rr([],[{localName:"rStyle",attributes:{val:n}}],t);return je(r,t.themeFonts)}function G3(e,t,n,r){let o=new Set;for(let c of e.values())c&&c.length>0&&o.add(c);let a=Math.max(t.footnotePropsBySection.length,t.endnotePropsBySection.length,1,...n.map(c=>c.sectionIndex+1),...r.map(c=>c.sectionIndex+1)),i=false;for(let c=0;c<a;c+=1){let u=us(t,c);if(u.numRestart==="eachPage"){i=true;for(let m=0;m<V_;m+=1){let g=Ho(u.numFmt,u.numStart+m);g.length>0&&o.add(g);}}let f=Gw(t,c);if(f.numRestart==="eachPage"){i=true;for(let m=0;m<V_;m+=1){let g=Ho(f.numFmt,f.numStart+m);g.length>0&&o.add(g);}}}if(!i||o.size===0)return;let l=V3("footnote",t.styleCascade),s,d=-1;for(let c of o){let u=t.measurer.measure(c,l);(u>d+.001||Math.abs(u-d)<=.001&&c.length>(s?.length??0))&&(s=c,d=u);}return s}function oH(e,t,n){let r=bd("footnote",e,l=>us(n,l)),o=bd("endnote",t,l=>Gw(n,l)),a=new Map;for(let l of r)a.set(Pd("footnote",l.noteId),l.mark);for(let l of o)a.set(Pd("endnote",l.noteId),l.mark);let i=G3(a,n,e,t);return {marks:a,...i?{reservedMarkText:i}:{}}}function K3(e,t){if(t.marks.size===0)return e;let n=false,r=e.pages.map(o=>{if(!$3(o.fragments))return o;let a=aH(o.fragments,t);return a===o.fragments?o:(n=true,{...o,fragments:a})});return n?{...e,pages:r}:e}var Y_=new WeakMap;function $3(e){let t=Y_.get(e);if(t!==void 0)return t;let n=false,r=o=>{for(let a of o){if(n)return;if(a.kind==="paragraph"){for(let i of a.lines)for(let l of i.spans)if(l.projected&&l.noteNav?.direction==="to-note"){n=true;return}continue}for(let i of a.rows)for(let l of i.cells)r(l.blocks);}};return r(e),Y_.set(e,n),n}function aH(e,t){let n=false,r=e.map(o=>{if(o.kind==="paragraph"){let l=U3(o,t);return l!==o&&(n=true),l}let a=false,i=o.rows.map(l=>{let s=false,d=l.cells.map(c=>{let u=aH(c.blocks,t);return u===c.blocks?c:(s=true,{...c,blocks:u})});return s?(a=true,{...l,cells:d}):l});return a?(n=true,{...o,rows:i}):o});return n?r:e}function U3(e,t){let n=false,r=e.lines.map(o=>{let a=Y3(o,t);return a!==o&&(n=true),a});return n?{...e,lines:r}:e}function Y3(e,t){let n=false,r=e.spans.map(o=>{let a=X3(o,t);return a!==o&&(n=true),a});return n?{...e,spans:r}:e}function X3(e,t){if(!e.projected||e.noteNav?.direction!=="to-note")return e;let n=t.marks.get(e.noteNav.scopeId);if(n===void 0)return e;let r=n??"";return e.text===r?e:{...e,text:r}}function Z3(e){return e.footnotes?Math.max(0,Math.min(e.contentBox.height,e.footnotes.box.y-e.contentBox.y)):e.contentBox.height}function iH(e){return !(e.noteStream==="footnote-drain"||e.parityBlank||e.fragments.length===0&&(e.footnotes?.notes.length??0)>0)}function q3(e){for(let t=e.length-1;t>=0;t-=1)if(iH(e[t]))return t;return Math.max(0,e.length-1)}function Uy(e,t,n,r,o,a,i,l){let s=new Map(a),d=t.filter(ee=>ee.noteKind==="footnote"),c=e.contentBox.width,u=Hy(n,r,d[0]?.sectionIndex??0),f=[],m=0,g=eH,p=a.size>0?"continuationSeparator":"separator",h=Math.max(0,e.contentBox.height),y=ee=>Cw(l?.separatorCache,n.footnotesPart,ee,c,"footnote",h,u,i),b=y(p),x=l?.continuationNotice?.flowHeight??0,R=Uf(e),P=iw(e),S=Math.max(0,e.contentBox.height-P-b.flowHeight),w=Vi(e.contentBox.height,b.flowHeight),I=Math.max(0,(l?.reserveColumnBudget?w:S)-x),v=Math.max(0,e.contentBox.height-b.flowHeight-x),O={fullContentHeight:v,reasons:i},T=l?.reserveBandOf?p==="separator"?w:Vi(e.contentBox.height,y("separator").flowHeight):0,C=l?.reserveBandOf?cc(e):0;for(let[ee,K]of a){let U=ee.match(/^(footnote|endnote):(-?\d+)$/);if(!U||U[1]!=="footnote")continue;let q=Number(U[2]),V=Math.max(0,I-m);if(K.height<=V+.001)f.push({noteKind:"footnote",noteId:q,scopeId:ee,mark:null,continuation:true,box:{x:e.contentBox.x,y:0,width:c,height:K.height},fragments:K.fragments}),m+=K.height,s.delete(ee);else {let ne=Ya({fragments:K.fragments,flowHeight:K.height},V,O);ne.head.length>0&&(f.push({noteKind:"footnote",noteId:q,scopeId:ee,mark:null,continuation:true,box:{x:e.contentBox.x,y:0,width:c,height:ne.headHeight},fragments:ne.head}),m+=ne.headHeight),ne.tail.length>0?s.set(ee,{fragments:ne.tail,height:ne.tailHeight,mark:null}):s.delete(ee);}}let F,k=Number.POSITIVE_INFINITY;for(let ee of d){if(f.length>=Kf){i.push("note-count-limit");break}let K=l?.reserveBandOf?.(ee)??Uo(e,ee,n.compatibilityMode);if(F!==void 0&&K&&K.evictable&&K.bottom>F+.001)continue;let U=Ro(n.footnotesPart,ee.noteId,c,u,l?.noteLayoutCache);if(!U){i.push("missing-note-body");continue}let q=r.marks.get(Pd("footnote",ee.noteId))??null,V=K?Math.min(I,Math.max(0,e.contentBox.height-Math.max(14,K.bottom)-b.flowHeight-x)):I,ne=l?.reserveBandOf?V:Math.min(V,k),G=Math.max(0,ne-m),re=R&&K&&U.flowHeight>G+.001&&!K.tableRow?Math.max(0,Math.min(G,e.contentBox.height-$f(e,ee,K)-b.flowHeight-x-m)):G;if(K&&k_(K,U,re,{keepWholeBudget:T,paragraphSplitAllowed:R,firstContentTop:C,fullNoteColumn:v,evictionAllowed:l?.evictionAllowed,allowOrphanDeferral:l?.allowOrphanDeferral,nextPage:l?.nextPage})){F=F===void 0?K.top:Math.min(F,K.top);continue}if(g-=U.fragments.length,g<0){i.push("note-area-fragment-limit");break}if(U.flowHeight<=G+.001)f.push({noteKind:"footnote",noteId:ee.noteId,scopeId:U.scopeId,mark:ee.customMarkFollows?null:q,box:{x:e.contentBox.x,y:0,width:c,height:U.flowHeight},fragments:U.fragments}),m+=U.flowHeight,k=Math.min(k,V);else {let fe=Ya(U,re,O);fe.head.length>0&&(f.push({noteKind:"footnote",noteId:ee.noteId,scopeId:U.scopeId,mark:ee.customMarkFollows?null:q,box:{x:e.contentBox.x,y:0,width:c,height:fe.headHeight},fragments:fe.head}),m+=fe.headHeight,k=Math.min(k,V)),fe.tail.length>0&&s.set(U.scopeId,{fragments:fe.tail,height:fe.tailHeight,mark:null});}}let _=y_(f,s),E=false;if(_&&!l?.continuationNotice){let ee=i.length,K=zy(n.footnotesPart,c,e.contentBox.height,u,l?.noteLayoutCache,i);if(E=i.length>ee&&i.at(-1)==="note-continuation-notice-height-cap",K){let U=Uy(e,t,n,r,o,a,i,{...l,continuationNotice:K});if((U.area?.notes.length??0)>0||U.nextCarry.size===0)return U;i.push("note-continuation-notice-height-cap"),E=true;}}if(f.length===0&&a.size===0)return {area:void 0,nextCarry:s,evictionTopPt:F};let N=b.flowHeight,A=_?l?.continuationNotice:void 0,L=N+m+(A?.flowHeight??0),B=za(e.fragments),D;o==="beneathText"?D=e.contentBox.y+Math.max(P,Math.min(B,e.contentBox.height-L)):(D=e.contentBox.y+e.contentBox.height-L,D=Math.max(D,e.contentBox.y+P));let $=D+N,X=f.map(ee=>{let K={...ee,box:{...ee.box,y:$}};return $+=ee.box.height,K}),W=Fw(b,e.contentBox.x,c,D);return {area:{kind:"footnotes",placement:o==="beneathText"?"beneathText":"pageBottom",box:{x:e.contentBox.x,y:D,width:c,height:L},separator:{kind:p,box:W,fragments:b.fragments,synthetic:b.synthetic,...b.ruleStyle!==void 0?{ruleStyle:b.ruleStyle}:{},...b.ruleColor!==void 0?{ruleColor:b.ruleColor}:{}},notes:X,...b_(A,e.contentBox.x,$,c),...E?{fallbackReason:"note-continuation-notice-height-cap"}:{}},nextCarry:s,evictionTopPt:F}}function lH(e,t){let n=Math.min(Math.max(t,0),e.length-1);for(;n>0&&e[n].noteStream!==void 0;)n-=1;return n}function J3(e){return t=>{let n=Hw(e,t.sectionAnchorIndex,t.landingIndex,t.template.box);return Q3(t.template,t.landingIndex,t.noteStream,n)}}function Q3(e,t,n,r){let o=r?{x:e.contentBox.x,y:e.box.y+r.insets.top,width:e.contentBox.width,height:r.insets.height}:e.contentBox,a=r?r.header:e.header,i=r?r.footer:e.footer,l=r?r.pageBorders:e.pageBorders?.display!=="firstPage"?e.pageBorders:void 0;return {id:`page-${t}`,index:t,box:e.box,contentBox:o,fragments:[],...l?{pageBorders:l}:{},...n?{noteStream:n}:{},...a?{header:a}:{},...i?{footer:i}:{},...e.pageFieldSource?{pageFieldSource:{...e.pageFieldSource,pageNumber:e.pageFieldSource.pageNumber+1}}:{}}}function e4(e,t){let n=null,r=false,o=e.map((a,i)=>{if(a.noteStream===void 0)return n=a.index,a;if(n===null)return a;let l=Hw(t,n,i,a.box);if(!l)return a;let s=a.box.y+l.insets.top;if(s===a.contentBox.y&&l.insets.height===a.contentBox.height&&l.header?.variant===a.header?.variant&&l.footer?.variant===a.footer?.variant)return a;let c={...a.contentBox,y:s,height:l.insets.height},u=s+c.height,f=a.contentBox.y+a.contentBox.height,m=t4(a,s-a.contentBox.y,u-f);if(!m.fits(s,u))return a;r=true;let{header:g,footer:p,...h}=a;return {...h,contentBox:c,...m.footnotes?{footnotes:m.footnotes}:{},...m.endnotes?{endnotes:m.endnotes}:{},...l.header?{header:l.header}:{},...l.footer?{footer:l.footer}:{}}});return r?o:[...e]}function X_(e,t){if(t===0)return e;let n=r=>({...r,y:r.y+t});return {...e,box:n(e.box),...e.separator?{separator:{...e.separator,box:n(e.separator.box)}}:{},...e.continuationNotice?{continuationNotice:{...e.continuationNotice,box:n(e.continuationNotice.box)}}:{},notes:e.notes.map(r=>({...r,box:n(r.box)}))}}function t4(e,t,n){let r=i=>i.placement==="pageBottom"?n:t,o=e.footnotes?X_(e.footnotes,r(e.footnotes)):void 0,a=e.endnotes?X_(e.endnotes,r(e.endnotes)):void 0;return {...o?{footnotes:o}:{},...a?{endnotes:a}:{},fits(i,l){let s=d=>d===void 0||d.box.y>=i-.001&&d.box.y+d.box.height<=l+.001;return s(o)&&s(a)}}}function Kw(e,t){let n=new Set;for(let r of tH(e.fragments))n.add(t.get(r.paragraphId)??0);return [...n].sort((r,o)=>r-o)}function sH(e,t,n){for(let r=e.length-1;r>=0;r-=1)if(Kw(e[r],n).includes(t))return r;return Math.max(0,e.length-1)}function n4(e,t,n){let r=sH(e,t,n);for(let o=r+1;o<e.length;o+=1){let a=e[o];if(a.parityBlank)return o;if(a.noteStream==="footnote-drain"||a.noteStream==="endnote-overflow"||a.fragments.length===0&&(a.footnotes?.notes.length??0)>0)continue;let i=Kw(a,n);if(i.length!==0&&!i.includes(t))return o}return e.length}function r4(e,t){let n=E_(e);return [...jo({revision:t,pages:n}).pages]}function o4(e,t,n,r,o,a,i,l){let s=new Map(a),d=[];if(t.length===0&&a.size===0)return {area:void 0,nextCarry:s,remainingRefs:d};let c=e.contentBox.width,u=Hy(n,r,t[0]?.sectionIndex??Math.max(0,n.endnotePropsBySection.length-1)),f=l?.separatorKind??"separator",m=A=>A==="footnote"?n.footnotesPart:n.endnotesPart,g=n.endnotesPart??n.footnotesPart,p=Math.max(0,e.contentBox.height),h=Cw(l?.separatorCache,g,f,c,"endnote",p,u,i),y=h.flowHeight,b=za(e.fragments),x=e.endnotes?Math.max(b,e.endnotes.box.y-e.contentBox.y+e.endnotes.box.height):b,R=Z3(e),P=Math.max(0,R-x-y),w={fullContentHeight:Math.max(0,R-y),reasons:i},I=[],v=0,O=eH;for(let[A,L]of a){let B=A.match(/^(footnote|endnote):(-?\d+)$/);if(!B)continue;let D=B[1],$=Number(B[2]),X=Math.max(0,P-v);if(L.height<=X+.001)I.push({noteKind:D,noteId:$,scopeId:A,mark:null,continuation:true,box:{x:e.contentBox.x,y:0,width:c,height:L.height},fragments:L.fragments}),v+=L.height,s.delete(A);else {let W=Ya({fragments:L.fragments,flowHeight:L.height},X,w);W.head.length>0&&(I.push({noteKind:D,noteId:$,scopeId:A,mark:null,continuation:true,box:{x:e.contentBox.x,y:0,width:c,height:W.headHeight},fragments:W.head}),v+=W.headHeight),W.tail.length>0?s.set(A,{fragments:W.tail,height:W.tailHeight,mark:null}):s.delete(A);}}for(let A=0;A<t.length;A+=1){let L=t[A];if(I.length>=Kf){i.push("note-count-limit"),d.push(...t.slice(A));break}let B=m(L.noteKind),D=Ro(B,L.noteId,c,u,l?.noteLayoutCache);if(!D){i.push("missing-note-body");continue}let $=r.marks.get(Pd(L.noteKind,L.noteId))??null,X=Math.max(0,P-v);if(O-=D.fragments.length,O<0){i.push("note-area-fragment-limit"),d.push(...t.slice(A));break}if(D.flowHeight<=X+.001)I.push({noteKind:L.noteKind,noteId:L.noteId,scopeId:D.scopeId,mark:L.customMarkFollows?null:$,box:{x:e.contentBox.x,y:0,width:c,height:D.flowHeight},fragments:D.fragments}),v+=D.flowHeight;else {let W=Ya(D,X,w);W.head.length>0&&(I.push({noteKind:L.noteKind,noteId:L.noteId,scopeId:D.scopeId,mark:L.customMarkFollows?null:$,box:{x:e.contentBox.x,y:0,width:c,height:W.headHeight},fragments:W.head}),v+=W.headHeight),W.tail.length>0&&s.set(D.scopeId,{fragments:W.tail,height:W.tailHeight,mark:null}),d.push(...t.slice(A+1));break}}if(I.length===0&&a.size===0)return {area:void 0,nextCarry:s,remainingRefs:d};if(I.length===0)return {area:void 0,nextCarry:s,remainingRefs:d};let T=e.contentBox.y+x,C=T+y,F=I.map(A=>{let L={...A,box:{...A.box,y:C}};return C+=A.box.height,L}),k=Fw(h,e.contentBox.x,c,T),_=y+v,E=Math.max(0,R-x),N=Math.min(_,E);return {area:{kind:"endnotes",placement:o,box:{x:e.contentBox.x,y:T,width:c,height:N},separator:{kind:f,box:k,fragments:h.fragments,synthetic:h.synthetic,...h.ruleStyle!==void 0?{ruleStyle:h.ruleStyle}:{},...h.ruleColor!==void 0?{ruleColor:h.ruleColor}:{}},notes:F},nextCarry:s,remainingRefs:d}}function a4(e,t,n,r,o,a,i,l,s){let d=e,c=t,u=e[lH(e,e.length-1)].index;for(;c.size>0&&a.remaining>0;){let f=d[d.length-1],m=s({template:f,landingIndex:d.length,noteStream:"footnote-drain",sectionAnchorIndex:u}),g=Uy(m,[],n,r,"pageBottom",c,o,{separatorCache:i,noteLayoutCache:l}),p=g.area?.notes.length??0;if(c=g.nextCarry,p===0){o.push("note-overflow-stalled"),g.area&&(d=[...d,{...m,footnotes:g.area}],a.remaining-=1);break}d=[...d,{...m,footnotes:g.area}],a.remaining-=1;}return c.size>0&&!o.includes("note-overflow-stalled")&&o.push("note-overflow-page-limit"),{pages:d,carry:c}}function i4(e,t,n,r,o,a="endnote-overflow"){let i=r({template:n,landingIndex:t,noteStream:a,sectionAnchorIndex:o});return {pages:[...e.slice(0,t),i,...e.slice(t)],pageIndex:t}}function Z_(e,t,n){if(n<=t||t>=e.length)return e;let r=Math.min(n,e.length),o=e[t],a=o.pageFieldSource?.pageNumber??t+1,i=o.pageFieldSource?.format,l=r-t,s=[...e];for(let d=t;d<r;d+=1){let c=s[d],u=c.noteStream===void 0?c.pageFieldSource?.pageNumber:void 0,f=d>t?s[d-1].pageFieldSource?.pageNumber:void 0;s[d]={...c,pageFieldSource:{pageNumber:u??(f!==void 0?f+1:a+(d-t)),sectionPageCount:l,...i?{format:i}:{}}};}return s}function q_(e,t,n,r,o,a,i,l,s){if(n.length===0||e.length===0)return e;let d=e[lH(e,t)].index,c=[...e],u=[...n],f=new Map,m=t,g=0,p="separator",h=s?.stopBeforeIndex??Number.POSITIVE_INFINITY,y=s?.sectionStartIndex??t,b=s?.stopBeforeIndex!==void 0,x=s?.separatorCache;for(;u.length>0||f.size>0;){if(m>=c.length||m>=h){if(l.remaining<=0){i.push("note-overflow-page-limit");break}let w=c[Math.min(Math.max(m,1),c.length)-1]??c[c.length-1],I=Math.min(m,h,c.length),v=i4(c,I,w,s.mint,d,"endnote-overflow");c=v.pages,m=v.pageIndex,b&&(h=I+1),g+=1,l.remaining-=1;}let R=c[m];if(!iH(R)){m+=1;continue}let P=o4(R,u,r,o,a,f,i,{separatorKind:p,...x?{separatorCache:x}:{},...s.noteLayoutCache?{noteLayoutCache:s.noteLayoutCache}:{}});f=P.nextCarry,u=P.remainingRefs;let S=P.area?.notes.length??0;if(P.area){let w=c[m];c[m]={...w,endnotes:w.endnotes?{...P.area,notes:[...w.endnotes.notes,...P.area.notes],box:{...P.area.box,y:w.endnotes.box.y,height:w.endnotes.box.height+P.area.box.height}}:P.area};}else {if(f.size===0&&u.length===0)break;if(!P.area&&f.size===0&&u.length>0){m+=1,p="separator";continue}}if(S===0&&(f.size>0||u.length>0)&&R.fragments.length===0&&R.noteStream==="endnote-overflow"){i.push("note-overflow-stalled");break}if(f.size>0||u.length>0){p="continuationSeparator",m+=1;continue}break}return (u.length>0||f.size>0)&&(i.includes("note-overflow-stalled")||i.push("note-overflow-page-limit")),b?c=Z_(c,y,Math.min(h,c.length)):g>0&&(c=Z_(c,y,c.length)),c}function B0e(e,t,n,r,o,a){return dH(e,t,n,r,o,a,false)}function dH(e,t,n,r,o,a,i){let l=o??null,s=new Map,d=[],c=false,u=new Map,f=nH(t),m=Ow(),g=Iw(r),p=R=>R.noteKind==="footnote"&&!rH(us(n,R.sectionIndex).pos),h=t.some(p),y=R=>$y(R,t,f).filter(p),b=(R,P,S)=>h_(s,R,Math.min(P,S));for(let R=0;R<e.pages.length;R+=1){let P=e.pages[R];if(P.parityBlank)continue;let S=lw(P),I=$y(S,t,f).filter(z=>z.noteKind==="footnote"),v=I.filter(p);c||=N1(S,v,n.compatibilityMode);let O=v[0]?.sectionIndex??0,T=us(n,O),C=Hy(n,r,O),F=e.pages[R+(e.pages[R+1]?.parityBlank?2:1)],k=a?a.get(P.index)??0:void 0,_=Vi(S.contentBox.height,0),E=(z,ee,K=0)=>h?F_({bodyPage:S,nextPage:F,allowOrphanDeferral:i,existingAreaHeight:z,existingNoticeHeight:K,ownReservePt:ee,usedReservePt:k,pageBottomRefsOf:y,footnotesPart:n.footnotesPart,opts:C,plainSeparatorHeight:m.get(n.footnotesPart,"separator",S.contentBox.width,"footnote",Math.max(0,S.contentBox.height),C,d).flowHeight,noteLayoutCache:g}):0;if(v.length===0&&u.size===0){b(P.index,E(0,0),_);continue}if(l&&u.size===0){let z=l.pageReserve.get(P);if(z&&z.marks===r&&z.allowOrphanDeferral===i&&z.nextOpening===Ry(F)&&Vw(I,z.pageRefs)){for(let K of z.reasons)d.push(K);let ee=E(z.areaHeight,z.reserve);b(P.index,Math.max(z.reserve,ee),_);continue}}let N=u.size===0,A=d.length,{area:L,nextCarry:B,evictionTopPt:D}=Uy(S,v,n,r,T.pos,u,d,{reserveColumnBudget:true,allowOrphanDeferral:i,reserveBandOf:z=>Uo(S,z,n.compatibilityMode),separatorCache:m,noteLayoutCache:g,evictionAllowed:!F||F.contentBox.width===S.contentBox.width&&F.contentBox.height===S.contentBox.height,nextPage:F});u=B;let $=D!==void 0?Math.max(0,S.contentBox.height-D-cs):0,X=L?.box.height??0,W=Math.min(Math.max(X,$),_);l&&N&&u.size===0&&l.pageReserve.set(P,{allowOrphanDeferral:i,nextOpening:Ry(F),pageRefs:I,marks:r,reserve:W,areaHeight:X,reasons:d.slice(A)}),b(P.index,Math.max(W,E(X,W,L?.continuationNotice?.box.height)),_);}let x=true;for(let R of e.pages){let P=s.get(R.index)??0;if(P<=0)continue;if(iw(R)+P>R.contentBox.height+.5){x=false;break}}return {reserves:s,stable:x,reasons:d,orphanCandidates:c}}function l4(e,t,n,r){let o=r?.memo??null,a=[...r?.fallbackReasons??[]],i=r?.paragraphSectionIndex??new Map,l={remaining:j3},s=nH(t),d=Ow(),c=J3(e),u=[],f=[];for(let S of e.pages)for(let w of $y(S,t,s)){let I={noteId:w.noteId,sectionIndex:w.sectionIndex,pageIndex:S.index,customMarkFollows:w.customMarkFollows};w.noteKind==="footnote"?u.push(I):f.push(I);}let m=o?[...u,...f].map(S=>`${S.noteId}|${S.sectionIndex}|${S.pageIndex??""}|${S.customMarkFollows?1:0}`).join(";"):"",g;o&&o.finalMarks&&o.finalMarks.sitesFingerprint===m?g=o.finalMarks.marks:(g=oH(u,f,n),o&&(o.finalMarks={sitesFingerprint:m,marks:g}));let p=Iw(g),h=new Map,y=new Map,b=[],x=e.pages.map(S=>{if(S.parityBlank)return S;let w=$y(S,t,s),I=w.filter(A=>A.noteKind==="footnote"),v=w.filter(A=>A.noteKind==="endnote");for(let A of v)if(Gw(n,A.sectionIndex).pos==="sectEnd"){let B=y.get(A.sectionIndex)??[];B.push(A),y.set(A.sectionIndex,B);}else b.push(A);for(let A of I){let L=us(n,A.sectionIndex);if(L.pos==="sectEnd"){let B=y.get(A.sectionIndex)??[];B.push(A),y.set(A.sectionIndex,B);}else L.pos==="docEnd"&&b.push(A);}if(o&&h.size===0){let A=o.pageAttach.get(S);if(A&&A.marks===g&&Vw(I,A.pageRefs)){for(let L of A.reasons)a.push(L);return A.attached}}let O=lw(S),T=I.filter(A=>{let L=us(n,A.sectionIndex).pos;return L==="pageBottom"||L==="beneathText"}),C=T[0]?.sectionIndex??0,F=us(n,C),k,_=h.size===0,E=a.length;if(T.length>0||h.size>0||I.length===0&&!rH(F.pos)){let A=Uy(O,T,n,g,F.pos,h,a,{separatorCache:d,noteLayoutCache:p});k=A.area,h=A.nextCarry;}let N=k?{...O,footnotes:k}:O;if(o&&_&&h.size===0){let A={pageRefs:I,marks:g,attached:N,reserve:0,reasons:a.slice(E)};if(o.pageAttach.set(N,A),N!==S){let L=o.pageReserve.get(S);L&&o.pageReserve.set(N,L);}}return N}),R=x.length;if(h.size>0){let S=a4(x,h,n,g,a,l,d,p,c);x=S.pages,h=S.carry;}if(y.size>0&&x.length>0){let S=[...y.keys()].sort((w,I)=>w-I);for(let w of S){let I=y.get(w),v=sH(x,w,i),O=n4(x,w,i),T=v;for(let C=0;C<=v;C+=1)if(Kw(x[C],i).includes(w)){T=C;break}x=q_(x,v,I,n,g,"sectEnd",a,l,{stopBeforeIndex:O,sectionStartIndex:T,separatorCache:d,noteLayoutCache:p,mint:c});}}return b.length>0&&x.length>0&&(x=q_(x,q3(x),b,n,g,"docEnd",a,l,{separatorCache:d,noteLayoutCache:p,mint:c})),x.length!==R&&(x=[...D_(x,e)],x=e4(x,e),x=r4(x,e.revision)),{layout:K3({...e,pages:x},g),fallbackReasons:a,noteMarks:g}}function s4(e,t,n){return (t==="all-markup"&&n===void 0?chunkFIJZIQXA_cjs.dh(e):chunkFIJZIQXA_cjs.eh(e,{includeReference:(a,i)=>H_(i,t,n),projectionKey:`${t};${n?.cacheKey??""}`,ancestryKey:j_})).map(a=>({noteKind:a.noteKind,noteId:a.noteId,paragraphId:a.paragraphId,atomOffset:a.atomOffset,customMarkFollows:a.customMarkFollows}))}function cH(e,t,n,r,o){let a=n.displayMode??Ue,i=n.revisionAuthorFilter,l=s4(e,a,i);if(l.length===0)return n.session&&(n.session.notes=null,n.session.notePageBottomReserves=null),o({...n,noteMarks:void 0,pageBottomReserves:void 0});let s=P_(e,t,a,i,n.session,n.styleCascade,n.numberingIndex),d=z3(l,s),c=W3(n.session,d,r),u=c.memo,f=c.allHits,m=u?.provisionalMarks??uH(f,r),g=n.session?.notePageBottomReserves,p=g?zi(g):new Map,h=[],y=o({...n,noteMarks:m,pageBottomReserves:p});Lw(n.session,y,e)&&(g=void 0,p=new Map,w_(u),y=o({...n,noteMarks:m,pageBottomReserves:p}));let b=u?.orphanPolicyPart===e,x=Gi(p),R=c.reused&&u?.settledReserves&&u.settledReserves.part===e&&u.settledReserves.fingerprint===x?u.settledReserves:null;if(R)h=[...R.reasons];else {let S=new Set([x]),w=u&&u.reflowSpent&&u.reflowSpent.part===e?u.reflowSpent:{part:e,adopted:0};u&&(u.reflowSpent=w);let I=0,v=g&&p.size>0?Q_:J_,O=null,T=[],C=false,F=null,k=p,_=L=>o({...n,noteMarks:m,pageBottomReserves:L}),E=y.pages.length,N=Math.max(8,Math.ceil(E/16)),A=0;for(let L=0;L<v;L+=1){let B=dH(y,f,r,m,u,p,b);if(h=[...B.reasons],B.stable&&(F=p),B.stable&&Yf(B.reserves,p)){if(!b&&B.orphanCandidates){O=p,T=[...B.reasons],b=true,u&&(u.orphanPolicyPart=e),S.clear(),S.add(Gi(p)),k=p;continue}C=true;break}if(w.adopted>=z_){h.push("note-reflow-exhausted");break}if(A>=N){h.push("note-reflow-exhausted");break}let D=zi(B.reserves);if(Yf(D,p)){h.push("note-reflow-exhausted");break}let $=Gi(D);if(S.has($)){D=Wy(p,B.reserves);let X=W=>Yf(W,p)||S.has(Gi(W));if(!B.stable&&X(D)&&(D=Wy(k,D)),X(D)){h.push("note-reflow-exhausted"),!B.stable&&F&&F!==p&&(p=F,y=_(F));break}}p=D,k=Wy(k,D),S.add(Gi(p)),w.adopted+=1,I+=1,y=_(p),A=y.pages.length>E?A+1:0,E=y.pages.length,L===v-1&&h.push("note-reflow-exhausted");}if(!C&&O){let L=!Yf(O,p);p=O,h=[...T],L&&(y=_(p)),u&&(u.settledReserves={part:e,fingerprint:Gi(p),reasons:[...h]});}u&&(I===0||w.adopted>=z_)&&(u.settledReserves={part:e,fingerprint:Gi(p),reasons:[...h]});}Lw(n.session,y,e);let P=l4(y,f,r,{fallbackReasons:h,paragraphSectionIndex:s,memo:u});return n.session&&(n.session.previous=P.layout,n.session.notePageBottomReserves=zi(p)),P.layout}function uH(e,t){let n=[],r=[];for(let o of e){let a={noteId:o.noteId,sectionIndex:o.sectionIndex,customMarkFollows:o.customMarkFollows};o.noteKind==="footnote"?n.push(a):r.push(a);}return oH(n,r,t)}function fH(e,t){let n=e.projectLink??t.projectLink,r=e.projectFieldLink??t.projectFieldLink,o=e.documentProperties??t.documentProperties,a=e.refFields??t.refFields,i=e.displayMode??t.displayMode,l=e.revisionAuthorFilter??t.revisionAuthorFilter;return {...e,...n?{projectLink:n}:{},...r?{projectFieldLink:r}:{},showFieldCodes:e.showFieldCodes??t.showFieldCodes,...o?{documentProperties:o}:{},...a?{refFields:a}:{},...i?{displayMode:i}:{},...l?{revisionAuthorFilter:l}:{}}}function wo(){return {previous:null,checkpoints:[],keys:[],context:"",producer:"",parityDependent:false,startPageParity:0,prepass:null,startLineCounter:0,endLineCounter:0,endCursorY:0,endSpaceAfter:0,endsOpenPage:true,stats:{placed:0,total:0,reusedPages:0,fullPasses:0},balanceLimit:null,multi:null,notePageBottomReserves:null,notes:null}}function fs(e,t){let n={previous:t.previous,checkpoints:t.checkpoints,keys:t.keys,context:t.context,producer:t.producer,parityDependent:t.parityDependent,startPageParity:t.startPageParity,prepass:t.prepass,notes:t.notes,startLineCounter:t.startLineCounter,endLineCounter:t.endLineCounter,endCursorY:t.endCursorY,endSpaceAfter:t.endSpaceAfter,endsOpenPage:t.endsOpenPage,stats:t.stats,balanceLimit:t.balanceLimit,multi:t.multi,notePageBottomReserves:t.notePageBottomReserves};Object.assign(e,n);}function $w(e,t){return e!=null&&t.drawingEpoch!==null&&t.projectionEpoch!==null&&e.framePolicy===t.framePolicy&&e.drawingEpoch===t.drawingEpoch&&e.projectionEpoch===t.projectionEpoch&&e.producer===t.producer&&e.contentWidth===t.contentWidth&&e.styleCascade===t.styleCascade&&e.numberingIndex===t.numberingIndex&&e.tocToken===t.tocToken&&e.refToken===t.refToken}var Uw=new WeakMap;function d4(e){let t=Uw.get(e);return t||Uw.set(e,t={}),t}function mH(e,t){Uw.set(t,d4(e));}function ko(e,t,n,r){let o=`line:${e}:${n}:${t}`;return r===void 0?o:`${o}:occ:${r}`}var c4="http://schemas.openxmlformats.org/wordprocessingml/2006/main";var pH=new WeakMap;function wc(e){let t=pH.get(e);if(t!==void 0)return t;let n=e.rows.some(r=>r.cells.some(o=>o.vMergeContinue));return pH.set(e,n),n}var u4=new Set(["p","r","t","tab","br","cr","noBreakHyphen","softHyphen","hyperlink","fldSimple","fldChar","instrText","bookmarkStart","bookmarkEnd","proofErr","pPr","rPr"]);function Yy(e){return e.cells[0]?.logicalGridColumn===void 0?e.cells:[...e.cells].reverse()}function Xy(e,t){let n=0;for(let r of e){let o=0;for(let a of Yy(r)){if(a.vMergeContinue||a.textDirection!=="horizontal"||a.gridColumn!==o||(o+=a.gridSpan,o>t))return false;for(let i of a.blocks){if(i.kind!=="paragraph")return false;let l=[{node:i,depth:0,properties:false}];for(;l.length>0;){let{node:s,depth:d,properties:c}=l.pop();if(++n>8192||d>32)return false;if(s.kind==="textValue")continue;if(s.namespaceUri!==c4||!c&&!u4.has(s.localName)||s.localName==="br"&&s.attributes.some(f=>f.localName==="type"&&f.value!=="textWrapping")||["drawing","pict","object","txbxContent","tbl","vMerge","framePr"].includes(s.localName)||n+l.length+s.children.length>8192)return false;let u=c||s.localName==="pPr"||s.localName==="rPr";for(let f of s.children)l.push({node:f,depth:d+1,properties:u});}}}if(o!==t)return false}return true}function gH(e){let t=new Map;return {read(n,r,o,a){let i=o(),l=t.get(n);if(l&&Object.is(l.top,r)&&l.changes===i){for(let c of l.keys)e.onCellBreakKey?.(c),e.cache?.get(c);return l.options}let s=[],d=a(s);return o()===i?t.set(n,{top:r,changes:i,options:d,keys:s}):t.delete(n),d}}}function Zy(e,t,n,r,o,a){return Yw(e,t,n,r,o,a,false)}function hH(e,t,n,r,o,a){let i=o.pageExclusionZones===void 0;return Yw(e,t,()=>n,r,o,a,i)}function yH(e,t,n,r,o,a){return Yw(e,t,n,r,o,a,false,true)}function Yw(e,t,n,r,o,a,i,l=false){let s=t.length,d=t[0],c=true,u=0,f=l?{...o,onCellBreakKey:v=>{c||(u+=1),o.onCellBreakKey?.(v);}}:o,m=(v,O)=>a(t[v],O,v===0?it(e,d,o):o),g=e.rows[s],p=s===0?null:Ni(e,n,0,f,g?[...t,g]:t,v=>v.id===d.id),h=v=>v.endRow<s;if(p===null||!t.some((v,O)=>p.spansAt(O).some(h))){let v=0;for(let O=0;O<s;O+=1)v+=m(O,r+v);return {heightPt:v,planned:false,optionsAt:()=>{},unchanged:()=>true}}let y=it(e,d,o),b=(v,O,T,C)=>{let F=Ko(y,true);return Ut(t[v],e.columnWidthsPt,n(),O,false,0,C?{...F,onCellBreakKey:k=>{C.push(k),F.onCellBreakKey?.(k);}}:F,e.cellSpacingPt,T)},x=0,R=(v,O,T,C)=>{if(T===void 0)return {options:T};let F=b(v,O,T,C);if(F.remainder===null)return {options:T,heightPt:F.record.box.height};x+=1,p.withdrawAt(v);let k=p.rowOptions(v);return k===void 0?{options:void 0}:{options:k,heightPt:b(v,O,k,C).record.box.height}},P=0;for(let v=0;v<s;v+=1){let O=r+P;for(let C of p.spansAt(v))h(C)&&(x+=1,p.accept(C,O));let T=R(v,O,p.rowOptions(v));P+=T.heightPt??m(v,O);}let S=(v,O,T)=>{let C=p.rowOptions(v);return C?.detachedSpanHeightPtByCellId===void 0?C:R(v,O,C,T).options},w=i?gH(y):null,I=x;return c=false,{heightPt:P,planned:true,unchanged:()=>x===I&&u===0,optionsAt:w?(v,O)=>w.read(v,O,()=>x,T=>S(v,O,T)):(v,O)=>S(v,O)}}var bH=new WeakSet;function xH(e){return (e.borderOwnershipBudget?.intervalsRemaining??1)>0&&(e.vMergeResolveBudget?.cellsRemaining??1)>0}function Tc(e,t){return t&&bH.add(e),e}function vc(e){return bH.has(e)}var PH=new WeakMap;function f4(e,t){let n=[];for(let r of e.cells){let o=t.cellContentInsets?.get(r.id)??fo(r,true),a=t.cellMinimumContentInsets?.get(r.id)??r.minimumContentInsets;n.push(o.top,o.bottom,a?.top??Number.NaN,a?.bottom??Number.NaN,r.vAlign);}return n}function SH(e,t){let n=e??Number.NaN;return n===t||Number.isNaN(n)&&Number.isNaN(t)}function m4(e,t,n){if(n.length!==e.cells.length*5)return false;let r=0;for(let o of e.cells){let a=t.cellContentInsets?.get(o.id)??fo(o,true),i=t.cellMinimumContentInsets?.get(o.id)??o.minimumContentInsets;if(n[r++]!==a.top||n[r++]!==a.bottom||!SH(i?.top,n[r++])||!SH(i?.bottom,n[r++])||n[r++]!==o.vAlign)return false}return true}var RH=e=>{let t=e.cells[0]?.blocks[0];return t?.kind==="paragraph"&&e.cells.length>0?t.range:void 0};function wH(e,t,n,r){let o=t.remainder===null?RH(t.record):void 0;o&&PH.set(o,{top:n,bottom:t.bottom,height:t.record.box.height,fitted:t.fitted,vertical:f4(e,r),heightRule:e.height});}var kH=new WeakSet;function TH(e){return kH.has(e)}function vH(e,t,n,r,o,a){let i=RH(t),l=i?PH.get(i):void 0;if(!l||t.box.y!==l.top||t.box.height!==l.height||e.height.rule!==l.heightRule.rule||e.height.rule!=="auto"&&(l.heightRule.rule==="auto"||e.height.valuePt!==l.heightRule.valuePt)||!m4(e,a,l.vertical))return t.box.y===o?null:Ql();if(l.top!==o){let d=kN(e,t,n,r,o,a);return d?{record:d.record,bottom:d.bottom,remainder:null,fitted:l.fitted,nestedSplitBlocked:false}:null}let s=sy(e,t,n,r,a);return s?(kH.add(s),{record:s,bottom:l.bottom,remainder:null,fitted:l.fitted,nestedSplitBlocked:false}):null}var Xw=new WeakMap;function FH(e,t){let n=OH(e,t);n&&Xw.set(e,new WeakRef(n));}function OH(e,t){let n=new Map,r=new Set;for(let o of t)for(let a of o.fragments)if(!(a.kind!=="table"||a.tableId!==e.id)){if(!vc(a))return;for(let i of a.rows){if(i.isHeaderRepeat||i.isContinuation||i.hasContinuation){r.add(i.id);continue}n.has(i.id)?r.add(i.id):n.set(i.id,i);}}for(let o of r)n.delete(o);return n.size>0?n:void 0}var CH=new WeakMap;function IH(e,t,n,r){let o=new Map;for(let i of t.prepared)i.kind==="table"&&o.set(i.table,i.key);let a=new Set;for(let i of n.prepared)i.kind==="table"&&o.get(i.table)===i.key&&a.add(i.table);a.size>0&&CH.set(e,{tables:a,pages:new WeakRef(r)});}function MH(e,t){let n=Xw.get(e)?.deref();if(Xw.delete(e),n)return n;let r=t?CH.get(t):void 0,o=r?.tables.has(e)?r.pages.deref():void 0;return o?OH(e,o):void 0}function BH(e,t,n){return n==="pageExclusionZones"?true:n==="rowAtPageStart"?!!e[n]==!!t[n]:e[n]===t[n]}function p4(e,t){if(e===t)return true;for(let n in e)if(Object.hasOwn(e,n)&&!BH(e,t,n))return false;for(let n in t)if(Object.hasOwn(t,n)&&!Object.hasOwn(e,n)&&!BH(e,t,n))return false;return true}function qy(e,t,n){let r,o=(a,i)=>{let l=Ba(a);return l.ordinary===void 0&&(l.ordinary=!a.isHeader&&a.cells.every(s=>!s.vMergeContinue&&s.textDirection==="horizontal"&&s.blocks.every(d=>d.kind==="paragraph"&&Hi(d)))),l.ordinary&&!a.cells.some(s=>s.blocks.some(d=>i.listItems?.has(d.id)))};return {measure(a,i,l,s){r=void 0;let d=!!s.pageExclusionZones?.().length;if(d||!o(a,s))return jr(a,e,i,0,s,t,void 0,d?l:void 0);let c=t===0?n?.get(a.id):void 0,u=c?vH(a,c,e,i,l,s):null,f=u??Ut(a,e,i,l,false,0,Ko(s,false),t);return t===0&&(!u||c.box.y!==l)&&wH(a,f,l,s),f.remainder===null&&(r={row:a,result:f,deps:s,left:i,top:l}),f.record.box.height},forget(){r=void 0;},take(a,i,l,s){let d=r;if(r=void 0,!d||d.row!==a||d.left!==i||d.top!==l||s.pageExclusionZones?.().length||!p4(s,d.deps))return null;let c;for(let u=0;u<d.result.record.cells.length;u++){let f=d.result.record.cells[u],m;for(let g=0;g<f.blocks.length;g++){let p=f.blocks[g];if(p.kind!=="paragraph")throw new Error("Ordinary row probe contains a table");let h;for(let y=0;y<p.lines.length;y++){let b=p.lines[y],x=s.nextLineId(b.range.paragraphId,b.range.start,y);x!==b.id&&((h??=p.lines.slice())[y]={...b,id:x});}h&&((m??=f.blocks.slice())[g]=ac(p,h));}m&&((c??=d.result.record.cells.slice())[u]={...f,blocks:m});}return c?{...d.result,record:{...d.result.record,cells:c}}:d.result}}}var g4=4,h4=new Set(["detachedSpanHeightPtByCellId","heightFloorPt","coveredFromAbove"]);function y4(e,t){if(e===t)return true;if(!e||!t||e.size!==t.size)return false;let n=t.entries();for(let[r,o]of e){let a=n.next();if(a.done||a.value[0]!==r||!Object.is(a.value[1],o))return false}return true}function Zw(e,t){if(e===t)return true;if(!e||!t)return false;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return false;for(let o=0;o<n.length;o+=1)if(n[o]!==r[o]||!h4.has(n[o]))return false;return Object.is(e.heightFloorPt,t.heightFloorPt)&&e.coveredFromAbove===t.coveredFromAbove&&y4(e.detachedSpanHeightPtByCellId,t.detachedSpanHeightPtByCellId)}function b4(e,t,n){let r=`:occ:${t}`,o=`:occ:${n}`,a=[];for(let i of e.cells){let l=[];for(let s of i.blocks){if(s.kind!=="paragraph")return;let d=[];for(let c of s.lines){if(!c.id.endsWith(r))return;d.push({...c,id:c.id.slice(0,c.id.length-r.length)+o});}l.push(ac(s,d));}a.push({...i,blocks:l});}return {...e,cells:a}}function LH(){let e=new Map;return {take(t){let{source:n,top:r,deps:o,options:a,occurrence:i}=t;for(let l of e.get(t.index)??[]){if(l.source!==n||!Object.is(l.top,r)||l.deps!==o||!Zw(l.options,a))continue;let s=b4(l.record,l.occurrence,i);if(!s)return;for(let d of l.keys)o.onCellBreakKey?.(d),o.cache?.get(d);return s}},remember(t,n,r){if(t.deps.nextLineId!==ko)return;let o=e.get(t.index);o||e.set(t.index,o=[]),o.length===g4&&o.shift(),o.push({...t,record:n,keys:r});}}}function To(e,t,n,r,o,a,i,l,s,d=0,c){let u=0,f={...Tn(l),cache:ui(l.cache),borderOwnershipBudget:void 0,vMergeResolveBudget:void 0,onCellBreakKey:void 0,nextLineId:()=>`probe-progress-${u++}`},m=bo(e,t,n,r,o,false,a,i,f,s,d);return m.fitted&&(!c?.requireEveryCell||m.record.cells.every((g,p)=>g.vMergeContinue||e.cells[p].blocks.length===0||g.blocks.length>0))}function qw(e,t,n,r){if(e.height.rule!=="atLeast"||!(e.height.valuePt>0))return;let o=e.cells.map(i=>({cell:i,insets:t.cellContentInsets?.get(i.id)??Zt(i,n===0)})),a=Mi(e.height.valuePt,o,t.cellMinimumContentInsets);return a<=r+.001?a:void 0}function EH(e,t,n,r){if(r.belowBandOnly||r.top<=r.columnTop+.001)return false;let o=r.band-r.columnTop-r.repeat,a=qw(e,t,n,o);return a!==void 0&&a>r.bottom-r.top+.001}function AH(e,t){if(e.cells.some(i=>i.vMergeContinue))return false;let n=e.cells[0];if(!n)return false;let r=n.blocks[0];if(r?.kind!=="paragraph")return false;let o=xa(r),a=t?nr(t,o,n.styleFormatting).paragraphProperties:$e(o);return Ds(a)}function NH(e,t,n,r,o,a,i){if(a.pageExclusionZones?.().length||t[n].cells.some(p=>p.vMergeContinue)||t[r+1]?.cells.some(p=>p.vMergeContinue))return null;let l=t.slice(n,r+1),s=l[0],d=s===e.rows[0],c=p=>d&&p===s,u={...a,pageExclusionZones:void 0},f=Ni(e,o,0,u,l,c);if(!f)return null;let m=[],g=0;for(let p=0;p<l.length;p+=1){for(let R of f.spansAt(p))f.accept(R,g);let h=l[p],y=c(h)?it(e,h,u):u,b=f.rowOptions(p),x;if(b){let R=()=>Ut(h,e.columnWidthsPt,o,g,false,0,Ko(y,true),e.cellSpacingPt,b),P=R();P.remainder!==null&&(f.withdrawAt(p),b=f.rowOptions(p),P=R()),x=P.record.box.height;}else x=i(n+p);m.push(x),g+=x;}return m}var x4=256;function _H(e,t){let n=Ba(e);return n.breaksPageBefore===void 0&&(n.breaksPageBefore=AH(e,t)),n.breaksPageBefore}function Fc(e,t,n,r){let o=e.rows[t];if(!o||!_H(o,n))return false;let a=t>0?e.rows[t-1]:void 0;return !(a&&Le(r,"rowPageBreakYieldsToKeep")&&Xa(a,n))}function Xa(e,t){let n=Ba(e);return n.keepsWithNext===void 0&&(n.keepsWithNext=S4(e,t)),n.keepsWithNext}function S4(e,t){let n=e.cells[0];if(!n)return false;let r=n.blocks[0];if(r?.kind!=="paragraph")return false;let o=xa(r),a=t?nr(t,o,n.styleFormatting).paragraphProperties:$e(o);return ht(a).keepNext}function Jy(e,t,n=Number.NEGATIVE_INFINITY){let{rows:r}=e;if(!e.keepsAt(t)||t>0&&e.keepsAt(t-1)&&!e.breaksAt(t))return null;let o=t,a=false;for(;o+1<r.length&&e.keepsAt(o+1)&&!e.breaksAt(o+1);){if(o+1-t>=x4){a=true;break}o+=1;}let i=a?o:o+1,l=Math.min(i,r.length-1),s=false;for(let m=t;m<=l;m+=1)r[m].cells.some(g=>g.vMergeContinue)&&(s=true);let d=s?e.mergedHeights?.(t,l):void 0;if(s&&!d)return null;let c=m=>d?.[m-t]??e.heightOf(m),u=0;for(let m=t;m<=o;m+=1)u+=c(m);if(a)return {end:o,kept:u,successor:e.heightOf(o+1),truncated:true};let f;if(i<r.length)f=e.breaksAt(i)?0:d&&r[i].cells.some(m=>m.vMergeContinue)?c(i):HH(e,i,n-u);else if(f=e.following(n-u),f===void 0)return null;return f===null?null:{end:o,kept:u,successor:f}}function HH(e,t,n){let r=e.heightOf(t);return e.placesWhole(t)||r<=n+.001?r:n===Number.NEGATIVE_INFINITY?e.openingOf(t):n>.001&&e.opensWithin(t,n+.001)?n:r}function Jw(e,t,n=Number.NEGATIVE_INFINITY){if(t>=e.rows.length)return;if(e.breaksAt(t))return 0;let r=Jy(e,t,n);return r?r.kept+r.successor:HH(e,t,n)}function P4(e,t){if(!(e>0)||!t(e))return Math.max(0,e);let n=0,r=e;for(let o=0;o<16;o+=1){let a=(n+r)/2;t(a)?r=a:n=a;}return r}function Qw(e){let{structure:t,rows:n,left:r,deps:o,heightOf:a}=e,i=d=>{let c=n[d];return c!==void 0&&Xa(c,o.styleCascade)},l={...o,pageExclusionZones:void 0,rowAtPageStart:false,keepLinesOpening:true},s=(d,c)=>{let u=n[d],f=qw(u,o,t.cellSpacingPt,e.pageHeight);return f!==void 0&&f>c+.001?false:To(u,t.columnWidthsPt,r,0,c,false,0,l,vn(u),t.cellSpacingPt,{requireEveryCell:true})};return {rows:n,keepsAt:i,breaksAt:d=>Fc(t,t.rows.length-n.length+d,o.styleCascade,o.compatibilityMode),heightOf:a,mergedHeights:(d,c)=>NH(t,n,d,c,r,o,a),placesWhole:d=>{let c=n[d];return c.height.rule==="exact"?true:c.cantSplit&&a(d)<=e.pageHeight+.001},openingOf:d=>P4(a(d),c=>s(d,c)),opensWithin:s,following:e.following}}var jH=(e,t,n)=>qt(e,t.width,0,t.styleCascade,t.displayMode,t.authorFilter,t.compatibilityMode,n?In(n):void 0);function R4(e,t){if(e?.kind!=="table"||!e.table)return false;let n=jH(e.table,t),r=n?.rows.at(-1);return !!r&&!n.float&&Xa(r,t.styleCascade)}var DH=new WeakMap;function w4(e,t,n,r){let o=e?.kind==="table"?e.table:void 0;if(!o)return null;let a=!r.pageExclusionZones&&!r.inlineDrawingLayout&&!r.hostedStory,i=a?DH.get(r):void 0,l=i?.get(o);if(l&&l.pageHeight===n&&l.at.width===t.width&&l.at.styleCascade===t.styleCascade&&l.at.displayMode===t.displayMode&&l.at.authorFilter===t.authorFilter&&l.at.compatibilityMode===t.compatibilityMode)return l.value;let s=k4(o,t,n,r);return a&&(i||(i=new WeakMap,DH.set(r,i)),i.set(o,{at:t,pageHeight:n,value:s})),s}function k4(e,t,n,r){let o=jH(e,t,r);if(!o||o.float||o.rows.length===0)return null;if(_H(o.rows[0],t.styleCascade))return {breaksPage:true,height:0};let a=(h,y)=>jr(h,o.columnWidthsPt,0,0,y,o.cellSpacingPt),i=[];for(let h of o.rows){if(!h.isHeader)break;i.push(h);}let l=Zy(o,i,()=>0,0,r,(h,y,b)=>a(h,b)).heightPt;if(l>n+.001)return null;let s=Le(t.compatibilityMode,"headerRowsKeepWithBody");if(i.length>0&&!s)return {height:l};let d=o.rows.slice(i.length),c=new Map,u=h=>{let y=c.get(h);if(y===void 0){let b=i.length===0&&h===0;y=a(d[h],b?it(o,d[0],r):r),c.set(h,y);}return y},f=false,m=Qw({structure:o,rows:d,left:0,deps:r,pageHeight:n,heightOf:u,following:()=>(f=true,null)}),g=l+(Jw(m,0)??0);if(!f)return {height:g};let p=Jy({...m,following:()=>0},0);return p?{height:g,throughHeight:l+p.kept}:{height:g}}function WH(e,t,n){let r={width:t,styleCascade:n,displayMode:e.displayMode??Ue,authorFilter:e.revisionAuthorFilter,compatibilityMode:e.compatibilityMode};return {endsKept:o=>R4(o,r),opening:(o,a,i,l)=>w4(o,{...r,width:a},i,l)}}function zH(e){let t=new Map;for(let[r,o]of e.fragments.entries())o.rows.forEach((a,i)=>{if(!a.isContinuation&&!a.hasContinuation)return;let l=t.get(a.id);l||t.set(a.id,l=[]),l.push({listPosition:r,fragment:o,index:i,old:a});});let n=new Map;return r=>{let o=n.get(r);if(o!==void 0)return o;let a=t.get(r.id)??[],i=a.length>0?v4(e,a):null;for(let l of a)n.set(l.old,i?.get(l.old)??null);return n.get(r)??null}}function T4(e,t){let{pageIndexOf:n,pages:r,pageBand:o,headerCount:a}=e,i=t.length-1;if(i<1||!o)return false;for(let l=0;l<=i;l+=1){let{fragment:s,index:d,old:c}=t[l];if(!!c.isContinuation!=l>0||!!c.hasContinuation!=l<i||c.isHeaderRow||c.isHeaderRepeat)return false;let u=n.get(s);if(u===void 0||r[u]?.index!==u||l<i&&d!==s.rows.length-1)return false;if(l>0){let f=t[l-1].fragment;if(t[l].listPosition!==t[l-1].listPosition+1||u!==n.get(f)+1||d!==a)return false;for(let m=0;m<d;m+=1)if(!s.rows[m].isHeaderRepeat)return false}else {if(d===0&&a>0)return false;if(d>0&&s.rows.slice(0,d).every(f=>f.isHeaderRepeat))return false}}return true}function v4(e,t){let{structure:n,sources:r,ordinals:o,base:a,left:i,headerCount:l}=e,s=r.get(t[0].old.id),d=s&&o.get(s.id);if(!s||d===void 0||s.isHeader||d<=l||s.cantSplit||s.height.rule==="exact"||s.cells.some(p=>p.textDirection!=="horizontal"))return null;let c=a.styleCascade;if(Xa(s,c)||Xa(n.rows[d-1],c)||Fc(n,d,c,a.compatibilityMode)||!T4(e,t))return null;let u=n.columnWidthsPt,f=t.length-1,m=new Map,g=vn(s);for(let p=0;p<=f;p+=1){let{fragment:h,index:y,old:b}=t[p],x=b.box.y,R=e.pageBand(e.pageIndexOf.get(h));if(p>0&&y>0&&!To(s,u,i,x,R,true,0,{...a,rowAtPageStart:false},g,0))return null;let S={...y===0?it(n,s,a):a,rowAtPageStart:x<=.001||y>0&&h.rows.slice(0,y).every(I=>I.isHeaderRepeat)},w=bo(s,u,i,x,R,false,p>0,0,S,g,0);if(!w.fitted||w.remainder!==null!=p<f||w.bottom>R+.001||w.record.box.height!==b.box.height)return null;m.set(b,{record:p<f?{...w.record,hasContinuation:true}:w.record,insets:S.cellContentInsets}),g=w.remainder??[];}return m}function Oc(e,t,n,r,o,a){if(e.cellSpacingPt>0||e.float||wc(e)||e.columnWidthsPt.length>1024||![n,r,o].every(Number.isFinite)||(a.pageExclusionZones?.().length??0)>0)return;let i=rc(e,t,a);if(i===a||!Xy([t],e.columnWidthsPt.length))return;let l=0,s={...Tn(i),cache:ui(i.cache),borderOwnershipBudget:void 0,vMergeResolveBudget:void 0,onCellBreakKey:void 0,nextLineId:()=>`probe-terminal-border-${l++}`},d=Ut(t,e.columnWidthsPt,n,r,false,0,s);if(!(d.remainder!==null||d.bottom>o+.001))return {height:d.record.box.height,deps:i,probe:d.record}}function Qy(e,t){return e.cells.length!==t.cells.length?false:e.cells.every((n,r)=>{let o=t.cells[r];return n.blocks.length===o.blocks.length&&n.blocks.every((a,i)=>{let l=o.blocks[i];return a.kind==="paragraph"&&l.kind==="paragraph"&&a.paragraphId===l.paragraphId&&a.lines.length===l.lines.length&&a.lines.every((s,d)=>s.spans.length===l.lines[d].spans.length&&s.spans.every((c,u)=>c.text===l.lines[d].spans[u].text))})})}function VH(e,t,n,r){return !Number.isFinite(r)||r<=0||e.endnotes||e.noteStream||e.columnSeparators||e.parityBlank||e.fragments[e.fragments.length-1]!==t||!n||n.fragmentIndex!==t.fragmentIndex+1?null:r}function GH(e){let t=e.rows.find(n=>!n.isHeaderRepeat);return t&&!t.isContinuation?t:null}function KH(e,t,n){return !Xa(e,n.styleCascade)&&!Xa(t,n.styleCascade)}function $H(e,t,n,r,o,a,i){if(!(r>0))return false;let l={...a,onCellBreakKey:void 0,rowAtPageStart:false},s=i(t,r,l);return s>o+.001||r+s<=o+.001||Oc(e,t,n,r,o,l)?false:t.cantSplit||t.height.rule==="exact"?true:!To(t,e.columnWidthsPt,n,r,o,false,0,l,vn(t),e.cellSpacingPt,{requireEveryCell:true})}function UH(e,t,n,r,o,a,i){let l=Oc(e,t,o,n.box.y,a,{...i,onCellBreakKey:void 0,cellContentInsets:r??i.cellContentInsets});return !l||!Qy(n,l.probe)?{record:n,insets:r}:{record:{...n,box:{...n.box,height:l.height},cells:n.cells.map(s=>({...s,box:{...s.box,height:l.height}}))},insets:l.deps.cellContentInsets}}function YH(e,t){return e.id!==t.id||e.rowIndex!==t.rowIndex||e.isHeaderRow!==t.isHeaderRow||e.isHeaderRepeat!==t.isHeaderRepeat||!!e.isContinuation!=!!t.isContinuation||!!e.hasContinuation!=!!t.hasContinuation||e.box.y!==t.box.y||e.cells.length!==t.cells.length?false:e.cells.every((n,r)=>{let o=t.cells[r];return n.id===o.id&&n.rowSpan===o.rowSpan&&n.vMergeContinue===o.vMergeContinue&&!!n.paintInert==!!o.paintInert&&n.box.y===o.box.y&&n.blocks.length===o.blocks.length&&n.blocks.every((a,i)=>{let l=o.blocks[i];return a.kind==="paragraph"&&l.kind==="paragraph"&&a.paragraphId===l.paragraphId&&a.fragmentIndex===l.fragmentIndex&&a.lines.every(s=>!s.drawings?.length)&&l.lines.every(s=>!s.drawings?.length)})})}function t0(e){let t=0;for(let n of e.cells)for(let r of n.blocks)r.kind==="paragraph"&&(t+=r.lines.length);return t}var XH=new WeakMap,ZH=new WeakMap,qH=new WeakMap,F4=1;function O4(e){let t=qH.get(e);return t===void 0&&qH.set(e,t=F4++),t}function C4(e){let t=Ba(e);return t.eligible===void 0&&(t.eligible=e.cells.every(n=>n.logicalGridColumn===void 0&&n.textDirection==="horizontal"&&(!n.vMergeContinue||e.isHeader)&&n.blocks.every(r=>r.kind==="paragraph"&&Hi(r)))),t.eligible}function I4(e,t,n){let r=Ba(e);if(r.listFree===n)return true;let o=e.cells.every(a=>a.blocks.every(i=>!t.has(i.id)));return o&&(r.listFree=n),o}function JH(e,t){let n=XH.get(e);n===void 0&&(n=!e.float&&!e.bidiVisual&&e.cellSpacingPt===0&&e.rows.every(C4),XH.set(e,n));let r=t.listItems;if(!n||!r?.size)return n;let o=O4(r);if(ZH.get(e)===o)return true;let a=e.rows.every(i=>I4(i,r,o));return a&&ZH.set(e,o),a}function M4(e,t){if(e.rows.length!==t.rows.length||e.columnWidthsPt.length!==t.columnWidthsPt.length)return false;for(let n=0;n<e.rows.length;n+=1){let r=e.rows[n],o=t.rows[n];if(r.id!==o.id||r.isHeader!==o.isHeader||r.cells.length!==o.cells.length)return false;for(let a=0;a<r.cells.length;a+=1){let i=r.cells[a],l=o.cells[a];if(i.id!==l.id||i.gridColumn!==l.gridColumn||i.gridSpan!==l.gridSpan||i.vMergeContinue!==l.vMergeContinue)return false}}return true}function B4(e){for(let t of e.cells)for(let n of t.blocks)if(n.kind==="paragraph")for(let r of n.lines){let o=r.id.lastIndexOf(":occ:");if(o>=0)return r.id.slice(o+5)}}function L4(e,t){return e.box.y===t.box.y&&e.box.height===t.box.height&&e.baseline===t.baseline&&e.leading===t.leading&&e.trailingSpacing===t.trailingSpacing&&!e.drawings?.length&&!t.drawings?.length}function E4(e,t){if(e.kind!=="paragraph"||t.kind!=="paragraph"||e.paragraphId!==t.paragraphId||e.fragmentIndex!==t.fragmentIndex||e.box.y!==t.box.y||e.box.height!==t.box.height||e.spacing.before!==t.spacing.before||e.spacing.after!==t.spacing.after||e.lines.length!==t.lines.length)return false;for(let n=0;n<e.lines.length;n+=1)if(!L4(e.lines[n],t.lines[n]))return false;return true}function A4(e){if(e.kind!=="paragraph"||e.lines.length!==1)return false;let t=e.lines[0],{box:n,spacing:r}=e;return !t.drawings?.length&&e.fragmentIndex===e.fragmentIndex&&n.y===n.y&&n.height===n.height&&r.before===r.before&&r.after===r.after&&t.box.y===t.box.y&&t.box.height===t.box.height&&t.baseline===t.baseline&&t.leading===t.leading&&t.trailingSpacing===t.trailingSpacing}var QH=[];function eb(e,t){for(;t<e.length;){let n=e[t].side;if(n!=="left"&&n!=="right")break;t+=1;}return t}function N4(e,t){let n=e.borders?.strokes??QH,r=t.borders?.strokes??QH,o=eb(n,0),a=eb(r,0);for(;o<n.length&&a<r.length;){let i=n[o],l=r[a];if(i.side!==l.side||i.role!==l.role||i.y!==l.y||i.height!==l.height)return false;o=eb(n,o+1),a=eb(r,a+1);}return o===n.length&&a===r.length}function tj(e,t,n){return n0(e,t,n);}function n0(e,t,n,r){if(e.id!==t.id||e.rowIndex!==t.rowIndex||e.isHeaderRow!==t.isHeaderRow||e.isHeaderRepeat!==t.isHeaderRepeat||!!e.isContinuation!=!!t.isContinuation||!!e.hasContinuation!=!!t.hasContinuation||e.box.y!==t.box.y||e.box.height!==t.box.height||e.cells.length!==t.cells.length)return false;for(let o=0;o<e.cells.length;o+=1){let a=e.cells[o],i=t.cells[o];if(a.id!==i.id||a.rowSpan!==i.rowSpan||a.vMergeContinue!==i.vMergeContinue||!!a.paintInert!=!!i.paintInert||a.box.y!==i.box.y||a.box.height!==i.box.height||a.blocks.length!==i.blocks.length||!N4(a,i))return false;if(n&&i.blocks===n.cells[o]?.blocks){if(!A4(a.blocks[0]))return false;continue}for(let l=0;l<a.blocks.length;l+=1)if(!E4(a.blocks[l],i.blocks[l]))return false}return true}function D4(e,t){let n=new Set;for(let r=0;r<t.rows.length;r+=1){let o=e.rows[r],a=t.rows[r];if(o===a)continue;a.cells.some((l,s)=>{let d=o.cells[s].blocks;return l.blocks.length!==d.length||l.blocks.some((c,u)=>c!==d[u])})&&n.add(a.id);}return n}var nj=e=>e.moved?e.record:void 0;function rj(e,t,n,r,o,a,i){if(!M4(t,n)||!JH(n,a)||!JH(t,a))return null;let l=Na(t,o),s=Na(n,o);if(!Number.isFinite(s))return null;let d=n.columnWidthsPt,c=d.reduce((N,A)=>N+A,0),u=new Map,f=new Map;for(let[N,A]of n.rows.entries())u.set(A.id,A),f.set(A.id,N);let m=[];for(let N of n.rows){if(!N.isHeader)break;m.push(N);}let g=m.some(N=>N.cells.some(A=>A.vMergeContinue)),p=!wc(n),h=[],y={...Qh(a),pageExclusionZones:void 0,nextLineId:ko,onCellBreakKey:N=>{h.push(N);}},b=qy(d,0),x=(N,A,L)=>b.measure(N,s,A,L),R=new Map,P=m.length>0?it(n,m[0],y):y,S=LH(),w=[],I=new Map;for(let[N,A]of r.entries()){let L=A.fragments.filter(B=>B.kind==="table"&&B.tableId===e.id);if(L.length!==0){if(A.anchoredDrawings?.length||A.fragments.some(B=>B.kind==="table"&&(!!B.floatingWrap||wt(B)))||!L.every(vc))return null;for(let B of L)I.set(B,N);w.push(...L);}}if(w.length===0)return null;let v=zH({fragments:w,pageIndexOf:I,pages:r,pageBand:i,structure:n,sources:u,ordinals:f,headerCount:m.length,left:s,base:y}),O=0,T=N=>{let A=w.indexOf(N),L=I.get(N),B=w[A+1],D=r[L];if(!i||D.index!==L||!B||I.get(B)!==L+1)return null;let $=VH(D,N,B,i(L)),X=$===null?null:GH(B);return $===null||!X?null:{band:$,opening:X}},C=N=>{if(N.nestingDepth!==0||N.box.x!==l)return null;let A=N.rows;if(A.length===0)return null;let L=A.findIndex(K=>!K.isHeaderRow||!u.get(K.id)?.isHeader),B=L<0?A.length:L;if(B!==0&&B!==m.length)return null;let D,$=[],X,W=(K,U)=>{let q=A[K],V=u.get(q.id);if(!V)return null;if(q.isContinuation||q.hasContinuation)return K<B?null:v(q);let ne=K<B,G=ne?null:sy(V,q,d,s,U);if(G)return {record:G,insets:U.cellContentInsets,moved:true};let re=U,fe;if(q.isHeaderRepeat){let ie=B4(q);if(ie===void 0)return null;fe=ie,re={...U,pageOccurrenceKey:()=>ie};}ne&&g&&K===0&&(D=R.get(q.box.y),D||(D=hH(n,m,s,q.box.y,y,x),R.set(q.box.y,D)));let te=ne?D?.optionsAt(K,q.box.y):void 0,Z=ne&&fe!==void 0?{index:K,source:V,top:q.box.y,deps:U,options:te,occurrence:fe}:void 0,oe=Z&&S.take(Z);if(oe)return {record:oe,insets:U.cellContentInsets};let ce=h.length,M=Ut(V,d,s,q.box.y,q.isHeaderRepeat,0,re,0,te);return M.remainder!==null?null:(Z&&S.remember(Z,M.record,h.slice(ce)),{record:M.record,insets:U.cellContentInsets})},z=false;for(let K=0;K<A.length;K+=1){let U=A[K],q=u.get(U.id);if(!q)return null;let V=K<B?P:K===0?it(n,q,y):y,ne=W(K,V);if(!ne)return null;if($.push(ne),K===A.length-1&&p&&!U.isContinuation&&!U.hasContinuation){let G=rc(n,q,V);if(G!==V&&(X=W(K,G)??void 0,!X))return null}if(ne.record.box.height!==U.box.height&&X?.record.box.height!==U.box.height){if(K!==A.length-1||ne.moved)return null;z=true;}}if(z)return F(N,A,$);let ee=X?[[...$.slice(0,-1),X],$]:[$];for(let K of ee){let U=K.map(re=>re.record),q=new Map,V=new Set;for(let re of K)re.insets&&q.set(re.record,re.insets),re.moved&&V.add(re.record);let ne=Hr(U,n,U.map(re=>u.get(re.id)),void 0,void 0,void 0,void 0,void 0,q,V),G=Ha({kind:"table",id:N.id,tableId:N.tableId,fragmentIndex:N.fragmentIndex,rows:ne,box:{x:s,y:N.box.y,width:c,height:N.box.height}},d,0,f);if(G.rows.every((re,fe)=>tj(A[fe],re,nj(K[fe]))))return XD(N,G),G}return null},F=(N,A,L)=>{let B=A.length-1,D=A[B],$=A[B-1],X=u.get(D.id),W=f.get(D.id),z=$&&u.get($.id),ee=n.rows[W+1],K=T(N),U=L[B].record;if(!K||!$||!z||!ee||X.isHeader||$.isHeaderRow||$.isHeaderRepeat||K.opening.id!==ee.id||U.box.height<=D.box.height||U.box.y+U.box.height>K.band+.001||!KH(X,z,a)||!$H(n,ee,s,U.box.y+U.box.height,K.band,y,x))return null;let q=UH(n,X,U,L[B].insets,s,K.band,y),V=[...L.slice(0,B),q],ne=V.map(ce=>ce.record),G=new Map,re=new Set;for(let ce of V)ce.insets&&G.set(ce.record,ce.insets),ce.moved&&re.add(ce.record);let fe=Hr(ne,n,ne.map(ce=>u.get(ce.id)),void 0,void 0,void 0,void 0,void 0,G,re),te=fe[B],Z=Ha({kind:"table",id:N.id,tableId:N.tableId,fragmentIndex:N.fragmentIndex,rows:fe,box:{x:s,y:N.box.y,width:c,height:te.box.y+te.box.height-N.box.y}},d,0,f),oe=Z.rows[B];return !Z.rows.every((ce,M)=>M===B||tj(A[M],ce,nj(V[M])))||!YH(D,oe)||oe.box.y+oe.box.height>K.band+.001?null:(O+=t0(oe)-t0(D),Z)},k=D4(t,n),_=[...w.filter(N=>N.rows.some(A=>k.has(A.id))),...w.filter(N=>!N.rows.some(A=>k.has(A.id)))],E=new Map;for(let N of _){let A=C(N);if(!A)return null;wE(A),E.set(N,Tc(A,true));}return kl(e,h),{paragraphPagesUnchanged:true,lineDelta:O,pages:r.map(N=>N.fragments.some(A=>E.has(A))?{...N,fragments:N.fragments.map(A=>E.get(A)??A)}:N),replacements:E}}function oj(e,t,n,r,o,a){if(!Oi(e,t))return null;let i=x=>qt(x,r,0,o.styleCascade,o.displayMode,o.revisionAuthorFilter,o.compatibilityMode,In(o)),l=i(e),s=i(t);if(!l||!s||s.float||l.rows.length!==s.rows.length)return null;if(JSON.stringify(l.columnWidthsPt)!==JSON.stringify(s.columnWidthsPt)){let x=rj(t,l,s,n,r,o,a);if(x)for(let R=0;R<n.length;R++){let P=n[R].fragments,S=x.pages[R].fragments;P!==S&&mH(P,S);}return x}let d=s.rows.filter((x,R)=>x!==l.rows[R]);if(d.length!==1)return null;let c=d[0];if(c.isHeader||c.cells.some(x=>x.vMergeContinue||x.textDirection!=="horizontal"||x.blocks.some(R=>R.kind!=="paragraph"||!Hi(R)||o.listItems?.has(R.id))))return null;let u=[];for(let x of n)for(let R of x.fragments)if(!(R.kind!=="table"||R.tableId!==t.id))for(let P=0;P<R.rows.length;P++)R.rows[P].id===c.id&&u.push({page:x,fragment:R,index:P});if(u.length===0||u.length>4096)return null;let f=new Set,m=new Set,g=l.rows[s.rows.indexOf(c)],p=new Map,h=vn(g),y=vn(c),b=0;for(let x=0;x<u.length;x++){let{page:R,fragment:P,index:S}=u[x],w=P.rows[S],I=x+1<u.length;if(!!w.isContinuation!=x>0||!!w.hasContinuation!==I||R.anchoredDrawings?.length||!vc(P)||w.cells.some(B=>B.rowSpan!==1||B.vMergeContinue))return null;let v=S===0?it(s,c,o):o,O=S===P.rows.length-1?[rc(s,c,v),v]:[v],T=(B,D,$,X)=>{let W=bo(B,s.columnWidthsPt,P.box.x,w.box.y,w.box.y+w.box.height,false,x>0,0,{...$,pageExclusionZones:void 0,nextLineId:ko,onCellBreakKey:K=>D.add(K)},X,s.cellSpacingPt);if(!!W.remainder!==I||!W.fitted||Math.abs(W.record.box.height-w.box.height)>.001)return null;let z=I?{...W.record,hasContinuation:true}:W.record,ee=Hr([z],s,[B],void 0,void 0,void 0,void 0,void 0,$.cellContentInsets?new Map([[z,$.cellContentInsets]]):void 0)[0];return ee.cells.some((K,U)=>JSON.stringify(K.box)!==JSON.stringify(w.cells[U]?.box))?null:{finalized:ee,remainder:W.remainder}},C;for(let B of O){let D=T(g,f,B,h);if(D?.finalized.cells.every(($,X)=>JSON.stringify($.blocks)===JSON.stringify(w.cells[X].blocks))){C={deps:B,remainder:D.remainder};break}}if(!C)return null;let F=T(c,m,C.deps,y);if(!F)return null;h=C.remainder??[],y=F.remainder??[];let k=F.finalized,_=B=>B.reduce((D,$)=>D+($.kind==="paragraph"?$.lines.length:0),0);b+=k.cells.reduce((B,D,$)=>B+_(D.blocks)-_(w.cells[$].blocks),0);let E=w.cells.map((B,D)=>({...B,blocks:k.cells[D].blocks})),N={...w,cells:E},A=p.get(P),L={...P,rows:(A??P).rows.map((B,D)=>D===S?N:B)};p.set(P,Tc(L,true));}return lF(t,e,f,m),{lineDelta:b,pages:n.map(x=>x.fragments.some(R=>p.has(R))?{...x,fragments:x.fragments.map(R=>p.get(R)??R)}:x),replacements:p}}function aj(e){let t=e.previous;return {layout:t,pages:t.pages,lineCounter:e.endLineCounter,endCursorY:e.endCursorY,endSpaceAfter:e.endSpaceAfter,endsOpenPage:e.endsOpenPage}}function ij(e,t,n){let r=e.previous;return e.previous=Vf({revision:t,pages:r.pages},r),Pf(r,e.previous),e.endLineCounter=n+e.endLineCounter-e.startLineCounter,e.startLineCounter=n,e.stats={placed:0,total:e.keys.length,reusedPages:r.pages.length,fullPasses:e.stats.fullPasses},aj(e)}function lj(e){let{session:t,previous:n,prepass:r,firstChanged:o,deps:a,revision:i,lineCounterStart:l}=e,s=GP(n,r,e.inputsEqual,a,e.rowInputsEqual===true),d=s||e.rowInputsEqual&&_P(n,true,In(a),[Vo(a.fieldCodeRanges),Vo(a.tocLinkStyleRanges),Vo(a.noteMarks)].join("\0"));if(e.eligible&&d&&n&&t?.previous&&IH(a,n,r,t.previous.pages),!e.eligible||!s||!t?.previous||!n||r.prepared.length!==t.keys.length||e.commonSuffix!==r.prepared.length-o-1)return null;let c=n.prepared[o],u=r.prepared[o];if(c?.kind!=="table"||u?.kind!=="table")return null;let f=oj(c.table,u.table,t.previous.pages,r.contentWidth,a,e.pageBand);if(!f)return Oi(c.table,u.table)&&FH(u.table,t.previous.pages),null;let m=f.pages.reduce((p,h,y)=>p+ +(h===t.previous.pages[y]),0),g=t.previous;return t.previous=Vf({...t.previous,revision:i,pages:f.pages},t.previous),Pf(g,t.previous),f.paragraphPagesUnchanged&&Jg(g,t.previous),t.keys=r.flowKeys,t.checkpoints=t.checkpoints.map((p,h)=>{if(h<=o)return p;let y;for(let b=0;b<p.pageFragments.length;b+=1){let x=p.pageFragments[b],R=x.kind==="table"?f.replacements.get(x):void 0;R&&R!==x&&(y??=p.pageFragments.slice(),y[b]=R);}return !y&&f.lineDelta===0?p:{...p,lineCounter:p.lineCounter+f.lineDelta,pageFragments:y??p.pageFragments}}),t.endLineCounter=l+t.endLineCounter-t.startLineCounter+f.lineDelta,t.startLineCounter=l,t.stats={placed:1,total:r.prepared.length,reusedPages:m,fullPasses:t.stats.fullPasses},aj(t)}function r0(e,t){Pf(e,t),Jg(e,t);}function sj(e,t,n,r){let o=fF(t),a=o===t?n:Oa(e,o).sections;return bS(o,r.listItems,r.notes?{footnotesPart:r.notes.footnotesPart,endnotesPart:r.notes.endnotesPart}:void 0,r.notes?JC(r.notes,a):void 0,r.displayMode,r.revisionAuthorFilter)}function dj(e,t){return {...t.projectLink?{projectLink:t.projectLink}:{},...t.projectFieldLink?{projectFieldLink:t.projectFieldLink}:{},showFieldCodes:t.showFieldCodes,fieldCodeRanges:Rx(e,t.fieldCodeRanges),tocLinkStyleRanges:Rx(e,t.tocLinkStyleRanges),...t.documentProperties?{documentProperties:t.documentProperties}:{},...t.noteMarks?{noteMarks:t.noteMarks}:{}}}function cj(e){return {paragraphStartY:e.paragraphStartY,anchorParagraphStartY:e.anchorParagraphStartY,anchorFrameBase:e.anchorFrameBase,regionBottomY:e.regionBottomY,...e.paragraphSpaceBefore>0?{paragraphSpaceBefore:e.paragraphSpaceBefore}:{},...e.pageExclusionZones.length>0?{pageExclusionZones:e.pageExclusionZones}:{},...e.suppressChrome?{suppressEmptyPlaceholderLine:true}:{}}}function uj(e,t,n){return XA(e.key,{...n,...NN(e.paragraph,t)})}var fj=8;function $i(e){for(;;){let t=e.next();if(t.done)return t.value}}function*mj(e,t){if(e===void 0)return yield*t;for(;;){let n=chunkFIJZIQXA_cjs.kf(e,()=>t.next());if(n.done)return n.value;let r=n.value,o=r?.finalize;yield o?{...r,finalize:a=>chunkFIJZIQXA_cjs.kf(e,()=>o(a))}:r;}}var _4=2e5,pj=new WeakMap;function gj(e,t){let n=t.styleCascade;if(!n)return;let r=pj.get(e);if(r?.styles===n&&r.mode===t.displayMode&&r.author===t.revisionAuthorFilter&&r.fieldResults===chunkFIJZIQXA_cjs.jf())return r.index;let o=new Map,a=0,i=(s,d)=>{if(++a>_4||d>Kt)throw new Error("character-style body index exceeds its scan bound");if(s.kind!=="textValue"){if(s.kind==="paragraph"){let c=nr(n,s.children.find(g=>g.kind==="paragraphProperties")).runProperties,u=ud(s,c,void 0,(g,p)=>rr(g,p,n),void 0,void 0,t.displayMode,void 0,void 0,n.themeFonts,void 0,void 0,false,void 0,t.revisionAuthorFilter),f=[],m;for(let g of u){let p=fi(g.props,"rStyle");if(!p||n.styles.get(p)?.type!=="character"||g.projected||g.inlineDrawing||g.equation||!g.text){m=void 0;continue}m?.style===p&&m.end===g.start?(m.text=m.text!==null&&m.text.length+g.text.length<=4096?m.text+g.text:null,m.end=g.end):(m={paragraphId:s.id,start:g.start,end:g.end,text:g.text.length<=4096?g.text:null,style:p},f.push(m));}f.length&&o.set(s.id,f);return}for(let c of s.children)i(c,d+1);}};i(e.root,0);let l={byParagraph:o,styles:n};return pj.set(e,{styles:n,mode:t.displayMode,author:t.revisionAuthorFilter,fieldResults:chunkFIJZIQXA_cjs.jf(),index:l}),l}function hj(e,t,n){let r=new Map;for(let[a,i]of t.pages.entries())for(let l of Gt(i)){if(l.positionedFrame||l.outOfFlow)continue;let s=new Map;for(let d of l.lines)for(let c of et(d)){let u=s.get(c.paragraphId);u?(u.start=Math.min(u.start,c.start),u.end=Math.max(u.end,c.end)):s.set(c.paragraphId,{start:c.start,end:c.end});}for(let[d,c]of s)for(let u of e.byParagraph.get(d)??[]){if(u.end<=c.start||u.start>=c.end)continue;let f=r.get(u);f?f.last=a:r.set(u,{first:a,last:a});}}let o=t.pages.map(()=>new Map);for(let a of n){let i=[...e.styles.styles.values()].find(p=>p.type==="character"&&p.name?.toLowerCase()===a.name);if(!i)continue;let l=[];for(let p of e.byParagraph.values())for(let h of p){let y=r.get(h);y&&h.style===i.styleId&&l.push([h,y]);}let s=l.map((p,h)=>h).sort((p,h)=>l[p][1].first-l[h][1].first||p-h),d=s.slice().sort((p,h)=>l[p][1].last-l[h][1].last||p-h),c=[],u=a.last?(p,h)=>p>h:(p,h)=>p<h,f=0,m=0,g=-1;for(let p=0;p<o.length;p+=1){for(;f<s.length&&l[s[f]][1].first<=p;)H4(c,s[f++],u);for(;m<d.length&&l[d[m]][1].last<p;)g=Math.max(g,d[m++]);for(;c.length&&l[c[0]][1].last<p;)j4(c,u);let h=c[0]??(g>=0?g:s[f]),y=h===void 0?void 0:l[h][0].text;y!=null&&o[p].set(a.key,y);}}return o}function H4(e,t,n){let r=e.length;for(e.push(t);r>0;){let o=Math.floor((r-1)/2);if(!n(t,e[o]))break;e[r]=e[o],r=o;}e[r]=t;}function j4(e,t){let n=e.pop();if(!e.length)return;let r=0;for(;r*2+1<e.length;){let o=r*2+1;if(o+1<e.length&&t(e[o+1],e[o])&&o++,!t(e[o],n))break;e[r]=e[o],r=o;}e[r]=n;}var W4=8,yj=new WeakMap,bj=new WeakMap;function z4(e){let t=bj.get(e);return t||(t=RO(e.root),bj.set(e,t)),t}function o0(e,t,n){let r=xj(e,t);if(!r)return n(t);let{furniture:o,dynamic:a,queries:i,index:l}=r,s=t.session?yj.get(t.session):void 0,d=P=>{let S=new Set([...Object.keys(P),...Object.keys(t)]);for(let w of S){if(w==="session")continue;let I=P[w],v=t[w];if(w==="sectionFurniture"&&Array.isArray(I)&&Array.isArray(v)){if(I.length!==v.length||I.some((O,T)=>O!==v[T]))return false}else if(I!==v)return false}return true},c=s?.index===l&&d(s.options)?s:void 0,u=c?[...c.reserves]:[],f=c?[...c.reserves]:[],m=(P,S,w,I=false)=>{I||(f=[]);let v=new Map;for(let O of o){let T={...O},C=new Map,F=new Map;o1(T,{token:w,reserveHeight:k=>{let _=Math.max(u[k]??0,F.get(k)??0);return u[k]=_,f[k]=_,_},resolve(k,_){let E=O.headers.get(k),N=P[_];if(!E||!a.has(E)||!N?.size)return F.delete(_),E;let A=`${k}:${_}`,L=C.get(A);return L||(L=E.withPageContext({...S[_],characterStyleValues:N}),C.set(A,L)),F.set(_,L.flowHeight),L}}),v.set(O,T);}return {...t,furniture:t.furniture?v.get(t.furniture):void 0,sectionFurniture:t.sectionFurniture?.map(O=>O?v.get(O):void 0)}},g=new Map,p=(P,S,w=true)=>chunkJGNVNT2A_cjs.y(JSON.stringify(P.map((I,v)=>[uy(I,g),S[v],w?u[v]??0:0]))),h=P=>P.pages.map(S=>({pageNumber:S.pageFieldSource?.pageNumber??S.index+1,pageCount:P.pages.length,sectionPageCount:S.pageFieldSource?.sectionPageCount??P.pages.length,format:S.pageFieldSource?.format,sheetNumber:S.index+1})),y=c?.cacheToken??"",b=c?p(c.values,c.contexts,false):"",x=n(c?.index===l?m(c.values,c.contexts,y,true):t),R=new Set;y&&R.add(y);for(let P=0;P<W4;P+=1){let S=hj(l,x,[...i.values()]);if(P===0&&!y&&S.every(T=>T.size===0))return x;let w=h(x),I=p(S,w),v=p(S,w,false),O=x.pages.every((T,C)=>(f[C]??0)===(u[C]??0));if(I===y||v===b&&O)return t.session&&yj.set(t.session,{index:l,cacheToken:y,options:t,reserves:[...u],values:S,contexts:w}),x;if(R.has(I))throw new Error("character-style header layout did not converge");R.add(I),y=I,b=v,x=n(m(S,w,I));}throw new Error("character-style header layout exceeded its pass limit")}function xj(e,t){if(t.showFieldCodes)return null;let n=new Set;t.furniture&&n.add(t.furniture);for(let s of t.sectionFurniture??[])s&&n.add(s);let r=new Map,o=new Set;for(let s of n)for(let d of s.headers.values()){if(!d.part)continue;let c=z4(d.part);c.length&&o.add(d);for(let u of c)r.set(u.key,u);}let a=t.styleCascade;if(!a)return null;let i=new Set;for(let s of a.styles.values())s.type==="character"&&s.name&&i.add(s.name.toLowerCase());for(let[s,d]of r)i.has(d.name)||r.delete(s);if(!r.size)return null;if(r.size>128)throw new Error("character-style header queries exceed their bound");let l=gj(e,t);return l?{furniture:n,dynamic:o,queries:r,index:l}:null}function*Sj(e,t,n){return xj(e,t)?o0(e,t,r=>$i(n(r))):yield*n(t)}function Pj(e,t){if(e===void 0)return true;let n=chunkFIJZIQXA_cjs.nd(e);if(n===null||!t&&n<0)return false;let r=n/20;return Number.isFinite(r)&&Math.abs(r)<=1584}function Rj(e,t,n,r,o){let a=$R(t.props);if(a){if(!GR(e,o))return;if(!a.autoWidth)return a;let m=t.available+t.indent.left+t.indent.right;return m>0&&m<=1584?{...a,width:m}:void 0}let i=KR(t.props);if(!i||!["drop","margin"].includes(i.dropCap??"")||t.lineSpacing.rule!=="exact"||t.lineSpacing.value<=0||t.lineSpacing.value>1584||t.listItem||t.spacing.before!==0||t.spacing.after!==0||t.shading!==void 0||Object.values(t.borders).some(Boolean))return;let l=Number(i.lines??"1");if(!Number.isInteger(l)||l<1||l>100||!GR(e))return;let s=at(t.props);if(i.dropCap==="drop"&&s||Object.keys(i).some(m=>!["dropCap","lines","wrap","hAnchor","vAnchor","hSpace","vSpace","anchorLock","w","h","hRule","x","y","xAlign","yAlign"].includes(m))||i.wrap!==void 0&&!["auto","around","tight","through","none","notBeside"].includes(i.wrap)||i.hAnchor!==void 0&&!["page","margin","text"].includes(i.hAnchor)||i.vAnchor!==void 0&&!["page","margin","text"].includes(i.vAnchor)||i.hRule!==void 0&&!["auto","atLeast","exact"].includes(i.hRule)||i.xAlign!==void 0&&!["left","center","right","inside","outside"].includes(i.xAlign)||i.yAlign!==void 0&&!["inline","top","center","bottom","inside","outside"].includes(i.yAlign)||["x","y"].some(m=>!Pj(i[m],true))||["w","h"].some(m=>!Pj(i[m],false))||i.anchorLock!==void 0&&!["0","1","true","false","on","off"].includes(i.anchorLock))return;let d=[e],c=0;for(;d.length;)for(let m of d.pop().children)if(m.kind==="textValue"?c+=m.value.length:d.push(m),c>32)return;let u=V4(e,t,n,r,"drop-cap-probe");if(u===void 0)return;let f=$R([{localName:"framePr",attributes:{x:"0",y:"0",w:String(Math.ceil(u*20)),hSpace:i.hSpace??"0",vSpace:i.vSpace??"0",wrap:i.wrap??"around",anchorLock:i.anchorLock??"0"}}]);return f?{...f,width:u,dropCap:i.dropCap,dropCapRtl:s,dropCapLines:l,token:`drop-cap:${i.dropCap}:${e.id}:${f.token}`}:void 0}function V4(e,t,n,r,o){let a=IR({paragraph:e,paragraphId:e.id,indentLeft:t.indent.left,available:t.available,measurer:n,cache:void 0,cacheKey:null,formatting:t,producer:o,styleCascade:r,tabStops:t.tabStops,flow:{firstLineOffset:t.indent.firstLine-t.indent.hanging}});if(a.length!==1||a.some(l=>l.spans.some(s=>s.equation||s.projected||s.style.baselineShiftPt!==l.spans[0]?.style.baselineShiftPt)))return;let i=0;for(let l of a)for(let s of l.spans)i=Math.max(i,s.box.x+s.box.width+t.indent.right);if(i===0&&(i=Math.min(t.available,Math.max(.001,t.indent.right))),i=Math.min(i,t.available),!(!(i>0)||i>1584))return Math.min(t.available,i+.001)}function wj(e,t,n,r){let o=e.lines[0],a=n[0];if(!o||!a)return {fragment:e,height:e.box.height};let i=n[Math.min(t,n.length)-1],l=Math.max(0,t-n.length)*i.box.height,s=i.box.y+i.baseline+l-r,d=i.box.y+i.box.height+l-r,c=o.spans[0]?.style.baselineShiftPt??0,u=s+c-o.baseline-o.box.y;return {height:d,fragment:{...e,box:{...e.box,height:d},lines:e.lines.map(f=>({...f,baseline:f.baseline+u,spans:f.spans.map(m=>({...m,box:{...m.box,y:m.box.y+u}}))}))}}}function kj(e,t,n,r,o,a,i,l,s,d,c,u){if(!n||t.kind!=="paragraph"||!Le(s,"anchorOnlyParagraphWrapExclusion"))return e;let f=ot(t,n);if(!f.length||chunkFIJZIQXA_cjs.jg(t).length!==f.length)return e;let m=eg({paragraph:t,paragraphId:t.id,drawingLayout:n,frameBase:r(),contentLeft:a,contentRight:i,paragraphStartY:o,anchorLineTopByModelStart:new Map([...kn(t).values()].map(g=>[g,0])),displayMode:d,revisionAuthorFilter:c,...u?{layoutTextboxStory:u}:{}});return [...e.filter(g=>g.anchorParagraphId!==t.id||g.input.mode==="topAndBottom"),...m.map(g=>({...g,columnIndex:l}))]}function Tj(e){let t=new Map,n=new Map,r=(a,i)=>{if(a.sourceKind||a.input.mode!=="square"&&a.input.mode!=="topAndBottom"||a.anchorModelStart!==0||!e.drawingLayout)return false;let l=e.paragraphAt(i+1);if(!l||l.frame||l.paragraph.id!==a.anchorParagraphId)return false;let s=n.get(l.paragraph.id);return s||(s=new Set(ot(l.paragraph,e.drawingLayout).filter(({projection:d})=>d.position?.vertical.relativeFrom==="paragraph"&&d.position.vertical.align===null&&(d.position.vertical.offsetEmu??0)>=0).map(({projection:d})=>d.drawingNodeId)),n.set(l.paragraph.id,s)),s.has(a.drawingNodeId)},o=a=>a.reduce((i,l)=>i+l.height+(l.exclusionSkipBefore??0),0);return {breakZones(a,i,l,s,d,c,u,f,m){let g=a.frame?[]:kj(s,a.paragraph,e.drawingLayout,d,c,u,f,l,e.compatibilityMode,e.displayMode??"proposed",e.revisionAuthorFilter,e.layoutTextboxStory),p=this.select(a,i,l,g,{omittedAnchor:m});return u===0?p:pi(p,u,0)},select(a,i,l,s,d={}){let{placement:c=false,omittedAnchor:u}=d;return s.filter(f=>{if(f.anchorParagraphId===u)return false;if(f.sourceKind==="furniture"||f.earlierSection)return true;let m=e.paragraphOrder.get(a.paragraph.id),g=e.paragraphOrder.get(f.anchorParagraphId),p=!e.seedForwardOnly&&f.pageFramedBand===true||!c&&r(f,i);if(m!==void 0&&g!==void 0){if(g>m&&!p)return false}else {let h=e.paragraphIndex(f.anchorParagraphId);if(h<0||h>i&&!p)return false}return e.columnCount>1&&f.columnIndex!==l?false:!(c&&!f.sourceKind&&f.anchorParagraphId===a.paragraph.id&&f.input.mode==="topAndBottom")}).map(f=>{if(c||!r(f,i))return f;let m=e.paragraphAt(i+1),g=a.contextualSpacing&&a.styleId!==null&&a.styleId===m?.styleId?0:a.spacing.after,p={...f.input,wrapDistances:{...f.input.wrapDistances,top:f.input.wrapDistances.top+g}};return {...f,input:p,verticalBand:Cl(p)}})},measure(a,i,l,s,d){let c=l.find(u=>r(u,i));c&&t.set(`${a}:${c.anchorParagraphId}`,Math.max(0,o(s)-o(d(c.anchorParagraphId))));},displacement(a,i){return t.get(`${a}:${i}`)??0}}}var vj=new WeakMap;function G4(e,t){let n=vj.get(e);n||(n=new Map,vj.set(e,n));let r=n.get(t);if(r!==void 0)return r;let o=chunkFIJZIQXA_cjs.Ta(e,t),a=null;if(o&&o.kind==="table"){let i=o.children.find(l=>l.localName==="tblPr");a=Kl(i)??null;}return n.set(t,a),a}function Fj(e){return e.filter(t=>t.kind==="table"&&wt(t))}function Oj(e){return Fj(e.fragments).length>0}function Cj(e,t){let n=e.part;if(!n)return [];let r=[];for(let o of Fj(e.fragments)){let a=G4(n,o.tableId);if(!a)continue;let i={...o.box,x:e.box.x+o.box.x-t.x,y:e.box.y+o.box.y-t.y},l={...o,box:i,floatingWrap:{anchorId:o.tableId,columnIndex:0,float:a,sourceOrder:-1}},s=Ka([{fragments:[l]}],new Map,{contentWidth:t.width}).get(0)?.[0];!s||s.verticalBand.y>=t.height||s.verticalBand.y+s.verticalBand.height<=0||r.push(Object.freeze({...s,sourceKind:"furniture",furnitureSource:Object.freeze({partName:e.partName,kind:"table",nodeId:o.tableId}),drawingNodeId:o.tableId,anchorParagraphId:""}));}return r}var Ij=new WeakMap,Bj=e=>!["inline","behind","inFront"].includes(e.wrap);function Lj(e,t){if(!e)return false;for(let n of [e.headers,e.footers])for(let r of n.values())if(r.anchoredDrawings?.some(t))return true;return false}function Ej(e,t=false){if(!e)return false;for(let n of [e.headers,e.footers])for(let r of n.values())if(Oj(r))return true;return Lj(e,n=>Bj(n)&&!(t&&n.accessibility.hidden))}var Mj=e=>e.accessibility.hidden&&Bj(e);function K4(e,t){return Lj(e,Mj)?true:[t?.header,t?.footer].some(r=>r?.anchoredDrawings?.some(Mj)??false)}function Aj(e,t){if(t.drawingExclusionPass!==void 0||t.drawingExclusionConverged||t.yieldHiddenFurnitureZones||!K4(t.furniture,t.continuedPageFurniture))return false;try{return e instanceof Do||e instanceof Wr}catch{return false}}function a0(e,t=false){let n=[];for(let r of [e.header,e.footer]){if(!r?.part||(n.push(...Cj(r,e.contentBox)),!r.anchoredDrawings?.length))continue;let o=Ij.get(r.part);o||(o=chunkFIJZIQXA_cjs.Pd(r.part),Ij.set(r.part,o));for(let a of r.anchoredDrawings){if(t&&a.accessibility.hidden)continue;let i=o.get(a.drawingNodeId);if(!i)continue;let l=vu({drawing:a,projection:i,sourceOrder:-1,contentLeft:0,contentRight:e.contentBox.width});if(!l)continue;let s=dp(a,r.box,e.box),[d]=pi([l],a.x-s.x+e.contentBox.x,a.y-s.y+e.contentBox.y,{left:0,right:e.contentBox.width});!d||d.verticalBand.y>=e.contentBox.height||d.verticalBand.y+d.verticalBand.height<=0||n.push(Object.freeze({...d,sourceKind:"furniture",furnitureSource:Object.freeze({partName:r.partName,kind:"drawing",nodeId:a.drawingNodeId}),drawingNodeId:`${r.partName}:${a.drawingNodeId}`,anchorParagraphId:`${r.partName}:${a.anchorParagraphId}`}));}}return Object.freeze(n)}function Nj(e,t,n,r,o=false){return a0({header:e.header,footer:e.footer,box:e.box,contentBox:{x:e.box.x+n,y:e.box.y+t.top,width:r,height:t.height}},o)}function $4(e,t,n,r){if(!e.contentBox||!e.fragments)return Object.freeze([]);let o=Dj.get(e);if(o&&o.contentLeft===t&&o.contentWidth===n&&o.drawingLayout===r)return o.zones;let a=U4(e,t,n,r);return Dj.set(e,{contentLeft:t,contentWidth:n,drawingLayout:r,zones:a}),a}var Dj=new WeakMap;function U4(e,t,n,r){if(!e.contentBox||!e.fragments)return Object.freeze([]);let o=e.contentBox.width,a=Object.freeze({columnCount:1,columnGapPt:0,contentWidth:o}),i=r&&e.anchoredDrawings?.length?Ou(e.anchoredDrawings,r,0,o,void 0,a):[],l=Ka([{fragments:e.fragments}],new Map([[0,i]]),a).get(0)??[];if(l.length===0)return Object.freeze([]);let s=e.contentBox.x-e.box.x;return Object.freeze(pi(l,t-s,0,{left:0,right:n}).map(d=>Object.freeze({...d,earlierSection:true})))}function Hj(e,t,n,r,o){let a=Nj(e,t,n,r,o.omitHiddenFurniture),i=$4(e,n,r,o.drawingLayout);return i.length?Object.freeze([...a,...i]):a}function jj(e,t){return {furnitureHasWrap:e||(t?.length??0)>0,furnitureHoldsTables:e||(t?.some(n=>!n.earlierSection)??false),admission:n=>Y4(n,t)}}var _j=new WeakMap;function Y4(e,t){let n=t?.filter(i=>i.earlierSection&&!i.sourceKind);if(!t||!n?.length)return e;let r=_j.get(t);if(r&&r.zones===e)return r.merged;let o=new Map(e),a=n.map(i=>Object.freeze({...i,sourceOrder:-1}));return o.set(0,Object.freeze([...e?.get(0)??[],...a])),_j.set(t,{zones:e,merged:o}),o}var Wj=new WeakMap;function i0(e){if(e===void 0||e.size===0)return "";let t=Wj.get(e);if(t!==void 0)return t;let n=[...e].join(",");return Wj.set(e,n),n}function zj(e){let t=i0(e.chrome),n=i0(e.placeholder),r=i0(e.suppressed);return t===""&&n===""&&r===""?"":`${t}|${n}|${r}`}function Vj(e,t){let n=t.chrome?.has(e)??false,r=t.placeholder?.has(e)??false,o=t.suppressed?.has(e)??false;return !n&&!r&&!o?"":`${n?1:0}${r?1:0}${o?1:0}`}function Gj(e,t,n){if(!t)return e.map(n);let r=0;if(e.length!==t.bodies.length)for(;r<Math.min(e.length,t.bodies.length)&&e[e.length-1-r]===t.bodies[t.bodies.length-1-r];)r+=1;return e.map((o,a)=>o===t.bodies[a]?t.prepared[a]:a>=e.length-r?t.prepared[a+t.bodies.length-e.length]:n(o))}function Kj(e,t,n){return e.length===t.length&&e.every((r,o)=>{let a=t[o];return r===a||r.kind==="paragraph"&&a.kind==="paragraph"&&r.id===a.id||r.kind==="table"&&a.kind==="table"&&n?.(r,a)===true})}function $j(e,t){return e!==1?"columns":t?.size?JSON.stringify([...t].sort()):"body"}function Uj(e,t=12,n){return e.map((r,o)=>{if(r.kind!=="paragraph"||!r.listItem&&!r.contextualSpacing)return r;let a=g=>{let p=e[o+g],h=r.paragraph?Jl(r.paragraph,g,p,n):p?.kind==="paragraph"?p.styleId:void 0;return h!==void 0&&h===r.styleId},i=g=>{let p=e[o+g];return !(g<0&&p?.kind==="paragraph"&&p.paragraph!==void 0&&er(p.paragraph)!==void 0)&&p?.kind==="paragraph"&&r.listItem!==void 0&&p.listItem?.numId===r.listItem.numId||r.contextualSpacing&&a(g)},l=n?.fixedParagraphSpacing===true,s=r.paragraph?er(r.paragraph)?.at(-1)?.paragraph:void 0,d=s?Vn(s,1e3,n,void 0,void 0,false,t).props:r.props,c=oi(r.props,{lineUnitPt:t,fixedAutoSpacing:l}),u=oi(r.props,{inList:r.listItem!==void 0,lineUnitPt:t,fixedAutoSpacing:l}),f=r.listItem&&o===0||i(-1)?u.before:c.before,m=s?oi(d,{lineUnitPt:t,fixedAutoSpacing:l}).after:i(1)?u.after:c.after;return r.contextualSpacing&&(a(-1)&&(f=0),a(1)&&(m=0)),f===r.spacing.before&&m===r.spacing.after?r:{...r,spacing:{before:f,after:m}}})}function Yj(e,t){let n=e;return t.forEach((r,o)=>{r.kind!=="paragraph"||r.listItem===void 0||(n===e&&(n=[...e]),n[o]=`${n[o]}~ls~${r.spacing.before},${r.spacing.after}`);}),n}var Z4={kind:"covered",id:"hashed",paragraphId:"covered",fragmentIndex:"covered",clipToBox:"hashed",outOfFlow:"hashed",positionedFrame:"hashed",range:"hashed",props:"hashed",styleId:"hashed",outlineLevel:"hashed",alignment:"hashed",spacing:"hashed",indent:"hashed",bottomBorder:"hashed",borders:"hashed",shading:"hashed",shadingBox:"hashed",paragraphEnd:"hashed",emptyParagraphStyle:"hashed",paragraphMarkSizePt:"hashed",markRevisions:"hashed",markRevision:"covered",markFormatRevision:"hashed",markChangeSites:"hashed",marker:"hashed",tabStops:"hashed",lines:"hashed",box:"hashed"},q4={kind:"covered",floatingWrap:"hashed",id:"hashed",tableId:"hashed",fragmentIndex:"hashed",nestingDepth:"hashed",columnEdges:"hashed",rows:"hashed",box:"hashed"};function Zj(e){return Object.keys(e).filter(t=>e[t]==="hashed")}var J4=Zj(Z4),Q4=Zj(q4),Xj=new WeakMap;function tb(e){let t=Xj.get(e);if(t!==void 0)return t;let n=e.kind==="table"?JSON.stringify([Fy(e),...Q4.map(r=>e[r])]):JSON.stringify(J4.map(r=>e[r]));return Xj.set(e,n),n}function qj(e,t){if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1){let r=e[n],o=t[n];if(r!==o&&tb(r)!==tb(o))return false}return true}function l0(e,t){if(e.length!==t.length)return false;for(let n=0;n<e.length;n+=1)if(e[n]!==t[n])return false;return true}var Jj=Object.freeze([]),Qj=new Map;function eW(e,t){if(e===t)return true;if(e.size!==t.size)return false;for(let[n,r]of e)if(t.get(n)!==r)return false;return true}function e8(e,t,n){let r=o=>({...o,x:o.x+t});return {...e,box:{...e.box,width:n},...e.shadingBox?{shadingBox:{...e.shadingBox,width:Math.max(e.shadingBox.width,n)}}:{},...e.marker?{marker:{...e.marker,box:r(e.marker.box),...e.marker.picture?{picture:{...e.marker.picture,box:r(e.marker.picture.box)}}:{}}}:{},lines:e.lines.map(o=>({...o,box:{...o.box,width:n},contentX:o.contentX+t,spans:o.spans.map(a=>({...a,box:r(a.box)})),...o.drawings?{drawings:o.drawings.map(a=>ar(a,t,0))}:{}}))}}function tW(e,t){let n=e,r=-1;for(let o=0;o<=t.length;o++){let a=t[o];if(a?.frame&&r<0&&(r=o),r<0||a&&(a.frame||a.kind!=="paragraph"))continue;let i=Math.min(o,e.length-1),l=chunkFIJZIQXA_cjs.f(new TextEncoder().encode(de(e.slice(r,i+1))));n===e&&(n=[...e]);for(let s=r;s<=i;s++)n[s]=de([e[s],l]);r=-1;}return n}function s0(e,t){return e===t||e?.length===t?.length&&e?.signature===t?.signature}var nb=class{pending;checkpoint(){return this.pending}restore(t){this.pending=t;}same(t){return s0(this.pending,t)}start(t,n){let r=this.pending?.item;return r&&r.fragment.paragraphId===n&&r.frame.token===t.token?{cursorY:r.fragment.box.y+r.fragment.box.height,previousSpaceAfter:r.fragment.spacing.after,groupId:r.groupId}:{cursorY:0,previousSpaceAfter:0}}add(t,n,r=n.paragraphId,o=0){let a=this.pending?.item,i=a?.groupId===r?a:void 0,l={frame:t,fragment:n,groupId:r,sourceOrder:i?.sourceOrder??o},s=chunkFIJZIQXA_cjs.f(new TextEncoder().encode(de([this.pending?.signature??"",t.token,r,String(l.sourceOrder),tb(n)])));this.pending={item:l,previous:this.pending,length:(this.pending?.length??0)+1,signature:s};}requiredAnchorBand(t){let n=0;for(let o=this.pending;o;o=o.previous)n=Math.max(n,o.item.frame.dropCapLines??0);let r=0;for(let o=0;o<n;o++){let a=t[Math.min(o,t.length-1)];r+=(a?.height??0)+(a?.exclusionSkipBefore??0);}return r}publish(t,n,r,o=[],a){if(!this.pending)return [];let i=new Array(this.pending.length);for(let u=this.pending;u;u=u.previous)i[u.length-1]=u.item;i.some(({frame:u})=>u.xAlign==="inside"||u.xAlign==="outside")&&a?.();let l=i.map(u=>({item:u,fragment:u.frame.dropCapLines?wj(u.fragment,u.frame.dropCapLines,o,t.text.y).fragment:u.fragment})),s=new Map;for(let{item:u,fragment:f}of l){let m=s.get(u.groupId),g=f.box.y+f.box.height;m?(m.width=Math.max(m.width,u.frame.width),m.contentHeight=Math.max(m.contentHeight,g)):s.set(u.groupId,{frame:u.frame,width:u.frame.width,contentHeight:g,height:0});}let d=new Map;for(let[u,f]of s){f.height=f.frame.heightRule==="exact"?f.frame.height:f.frame.heightRule==="atLeast"?Math.max(f.contentHeight,f.frame.height??0):f.contentHeight;let m=UR(f.frame,t,f);d.set(u,{...m,width:f.width,height:f.height});}let c=l.map(({item:u,fragment:f})=>{let m=s.get(u.groupId),g=f;if(u.frame.autoWidth&&m.width>u.frame.width){let h=m.width-u.frame.width,y=g.alignment==="right"?h:g.alignment==="center"?h/2:0;g=e8(g,y,g.box.width+h);}let p=JN(g,u.frame,t,m);return {item:u,fragment:p}});return this.pending=void 0,c.map(({item:u,fragment:f})=>{let m={anchorId:n,columnIndex:r,groupId:u.groupId,sourceOrder:u.sourceOrder,...u.frame.dropCapLines?{dropCapLines:u.frame.dropCapLines}:{},wrap:u.frame.wrap,hSpace:u.frame.hSpace,vSpace:u.frame.vSpace,box:d.get(u.groupId)};return u.frame.heightRule!=="exact"?{...f,positionedFrame:m}:{...f,clipToBox:true,box:m.box,positionedFrame:m,lines:f.lines.map(g=>g.drawings?.length?{...g,drawings:g.drawings.map(p=>Zl(p,m.box))}:g)}})}};function nW(e){let{topEdge:t,closingEdge:n,continuesAbove:r,continuesBelow:o,isLast:a,top:i}=e,{linesTop:l,linesBottom:s,regionX:d,indentLeft:c,available:u,appliedAfter:f}=e,m=e.drawn?e.borders:{},g=[],p,h=l,y=s,b=e.borders,x=b.left?mr(b.left):0,R=b.right?mr(b.right):0,P=d+c-(e.outdent?.left??0),S=d+c+u+(e.outdent?.right??0),w=b.left?P-b.left.spacePt-x:P,I=b.right?S+b.right.spacePt+R:S,v=Math.max(I-w,0);if(e.drawn&&e.topExtent>0&&t){let A=mr(t),L=l-t.spacePt-A;g.push({side:"top",edge:t,box:{x:w,y:L,width:v,height:A}}),h=L;}let O=e.drawn?n:void 0,T=e.inFrame&&O&&!o?f:0;if(a&&O){let A=mr(O),L=s+T+O.spacePt,B={x:w,y:L,width:v,height:A};g.push({side:o?"between":"bottom",edge:O,box:B}),o||(p={edge:O,box:B}),y=L+A;}let C=f-T,F=Math.max(y+C-i,0),k=r&&e.fragmentIndex===0?i:h,_=o&&a?i+F:y,E=Math.max(_-k,0),N=(A,L)=>({x:A,y:k,width:L,height:E});if(m.left&&g.push({side:"left",edge:m.left,box:N(w,x)}),m.right){let A=S+m.right.spacePt;g.push({side:"right",edge:m.right,box:N(A,R)});}if(m.bar){let A=mr(m.bar);g.push({side:"bar",edge:m.bar,box:{x:d+c-m.bar.spacePt-A,y:l,width:A,height:Math.max(s-l,0)}});}return {strokes:g,bottomBorder:p,contentTop:h,contentBottom:y,boxLeft:w,boxWidth:v,bottom:y+C,height:F}}var rW=new WeakMap;function t8(e){let t=rW.get(e);if(t!==void 0)return t;let n=chunkFIJZIQXA_cjs.Wi(e).includes(chunkFIJZIQXA_cjs.mb);return rW.set(e,n),n}var n8="";function oW(e,t){let n=new Map,r=i=>{let{styleCascade:l}=e,s=Fa(i.paragraph,i.inheritedRunProperties,void 0,l?(c,u)=>rr(c,u,l):void 0,void 0,e.noteMarks,e.displayMode??Ue,void 0,e.inlineDrawingLayout,l?.themeFonts,void 0,e.documentProperties,t,e.refFields,e.revisionAuthorFilter,e.showFieldCodes,e.fieldCodeRanges?.get(i.paragraph.id)),d="";for(let c of s)d+=c.inlineDrawing||c.equation?"\uFFFC":c.breakKind==="column"?n8:c.text;return d.startsWith(chunkFIJZIQXA_cjs.mb)&&/[^\n]/.test(d.slice(chunkFIJZIQXA_cjs.mb.length))},o=i=>{if(i.frame||!t8(i.paragraph))return false;let l=n.get(i.paragraph);if(l!==void 0)return l;let s=e.inlineDrawingLayout,d=!(s&&ot(i.paragraph,s).length>0)&&r(i);return n.set(i.paragraph,d),d},a=(i,l)=>l?.kind==="paragraph"&&l.borderGroupKey!==""&&i?.kind==="paragraph"&&i.borderGroupKey===l.borderGroupKey&&!i.frame&&o(l);return {joins:(i,l)=>l?.kind==="paragraph"&&l.borderGroupKey!==""&&i?.kind==="paragraph"&&i.borderGroupKey===l.borderGroupKey&&!a(i,l),admits:(i,l)=>l.borderGroupKey===""||i?.kind!=="paragraph"||i.borderGroupKey!==l.borderGroupKey||a(i,l),flowKeys:(i,l)=>{let s=i;for(let d=0;d+1<l.length;d+=1)a(l[d],l[d+1])&&(s===i&&(s=[...i]),s[d]=`${s[d]}~lbg`);return s}}}function aW(e){let{geometry:t,insets:n}=e;return Object.freeze({pageNumber:e.pageNumber,onPageParityRead:e.onPageParityRead,pageWidth:t.width,pageHeight:t.height,marginLeft:t.margin.left,marginRight:t.margin.right,marginBottom:so(t.margin.bottom),contentInsetTop:n.top,contentInsetBottom:n.bottom,contentWidth:e.contentWidth,contentHeight:e.contentHeight,contentBandHeight:n.height,ownerPartName:e.ownerPartName,storyKind:"body"})}function iW(e,t,n){return e.shading===void 0&&d0(e,t,n)}function d0(e,t,n){if(e.listItem!==void 0)return false;let{top:r,bottom:o,left:a,right:i,between:l,bar:s}=e.borders;return (r??o??a??i??l??s)||n&&ot(e.paragraph,n).length>0?false:t.every(d=>d.drawings.length===0&&!d.pageBreakAfter&&!d.columnBreakAfter&&d.spans.every(c=>c.text.length===0))}var r8=e=>e.drawings.length>0||e.spans.some(t=>/[^\f\n]/.test(t.text)),o8=e=>e.pageBreakAfter===true||e.columnBreakAfter===true||r8(e);function lW(e,t,n){let r=t[0];return r!==void 0&&r.start===0&&Ma(r)&&t.some((o,a)=>a>0&&o8(o))&&!(n&&ot(e.paragraph,n).length>0)}function sW(e,t){if(t===void 0)return e;let n=Math.min(e.height,t.clip.y+t.clip.height-t.y);return {...e,y:t.y,height:Math.max(n,0)}}var a8=64;function dW(e,t,n,r,o,a,i,l,s){if(e.cellSpacingPt>0||e.float||t.length===0||t.length>a8||e.columnWidthsPt.length>1024||![r,o,a,i,l].every(Number.isFinite)||wc(e)||(s.pageExclusionZones?.().length??0)>0||!Xy([...t,n],e.columnWidthsPt.length))return;let d=t.reduce((v,O)=>v+O.cells.length,n.cells.length);if(s.borderOwnershipBudget&&s.borderOwnershipBudget.intervalsRemaining<d||!(n.height.rule==="exact"||n.cantSplit&&l<=a+.001)&&l>a-o-i+.001)return;let u=t[t.length-1],f=Yy(u),m=Yy(n),g=jd([f,m],e.tableBorders,e.columnWidthsPt.length)[0],p=new Map,h=[];for(let v=0;v<f.length;v+=1)for(let O of g[v].edgeSegments??[])O.side==="bottom"&&h.push({start:O.gridStart,end:O.gridEnd,edge:O.edge});for(let[v,O]of f.entries()){let T=O.margins.bottom;for(let C of g[v].edgeSegments??[])C.side!=="bottom"||Fi(C.edge)>0||(T=Math.max(T,Gn(O.margins.bottom,{state:"edge",...C.edge},true)));p.set(O.id,{...Zt(O,true),bottom:T});}let y=0,b=0;for(let v of m)for(let O of f){if(O.gridColumn+O.gridSpan<=v.gridColumn||O.gridColumn>=v.gridColumn+v.gridSpan)continue;let T=0;for(let C of h)C.end<=O.gridColumn||C.start>=O.gridColumn+O.gridSpan||(T=Math.max(T,Fi(C.edge)));b=Math.max(b,ch(v.borders.top,O.borders.bottom,(v.rowTableBorders??e.tableBorders).insideH,T,v.suppressesTopBand));}for(let v of m){let O=v.margins.top+b,T=v.gridColumn+v.gridSpan;for(;y<h.length&&h[y].end<=v.gridColumn;)y++;for(let C=y;C<h.length&&h[C].start<T;C++)Fi(h[C].edge)>0||(O=Math.max(O,Gn(v.margins.top,{state:"edge",...h[C].edge},true,false,true)));p.set(v.id,{...Zt(v,true),top:O});}if([u,n].every(v=>v.cells.every(O=>{let T=Zt(O,true),C=p.get(O.id);return T.top===C.top&&T.bottom===C.bottom})))return;let x=it(e,t[0],{...s,cellContentInsets:p}),R=0,P={...Tn(s),cache:ui(s.cache),borderOwnershipBudget:void 0,vMergeResolveBudget:void 0,onCellBreakKey:void 0,cellContentInsets:x.cellContentInsets,nextLineId:()=>`probe-header-border-${R++}`},S=o;for(let v of t){let O=Ut(v,e.columnWidthsPt,r,S,true,0,P);if(S=O.bottom,O.remainder!==null||S>a+.001)return null}let w=S-o,I=Ut(n,e.columnWidthsPt,r,S,false,0,P);return I.remainder!==null||I.bottom>a+.001?null:{bodyRowId:n.id,headerHeight:w,bodyHeight:I.bottom-S,deps:x}}var i8=4,vo=null;function l8(e,t){return e.length>0&&e.every(n=>n.cells.every(r=>r.textDirection==="horizontal"&&r.blocks.every(o=>o.kind==="paragraph"&&Hi(o)&&!t.listItems?.has(o.id))))}function cW(e){let{structure:t,headerRows:n,deps:r,left:o,rowHeightOf:a,rowProbes:i}=e,l=e.admitted&&t.cellSpacingPt===0&&l8(n,r),s=()=>!r.pageExclusionZones?.().length,d=h=>{for(let y of h)r.onCellBreakKey?.(y),r.cache?.get(y);},c=null,u=l?{...r,onCellBreakKey:h=>{c?.push(h),r.onCellBreakKey?.(h);}}:r,f,m=[],g=new Map,p=(h,y)=>{h.length===i8&&h.shift(),h.push(y);};return {plan(h){let y=o(),b=l&&s()&&true;if(b){for(let S of m)if(Object.is(S.top,h)&&Object.is(S.left,y)&&S.plan.unchanged())return d(S.keys),S.measured&&i.forget(),S.plan}if(!b)return Zy(t,n,o,h,r,a);let x=false;c=[];let R=yH(t,n,o,h,u,(S,w,I)=>(x=true,a(S,w,I))),P=c;return c=null,p(m,{top:h,left:y,plan:R,keys:P,measured:x}),R},headerDeps(){return !l||vo?.disabled?it(t,n[0],r):f??=it(t,n[0],u)},place(h,y,b,x,R,P,S){let w=()=>Ut(x,t.columnWidthsPt,o(),R,h,0,P,t.cellSpacingPt,S),I=h&&!y,v=P.pageOccurrenceKey?.(),O=o(),T=l&&I&&v!==void 0&&P===f&&s()&&true;if(T)for(let k of g.get(b)??[]){if(k.source!==x||!Object.is(k.top,R)||!Object.is(k.left,O)||k.deps!==P||!Zw(k.options,S))continue;let _=d8(k.record,P,v);return d(k.keys),{record:_,bottom:k.bottom,remainder:null,fitted:k.fitted,nestedSplitBlocked:false}}if(!T)return w();c=[];let C=w(),F=c;if(c=null,C.remainder===null&&s8(C.record,v)){let k=g.get(b);k||g.set(b,k=[]),p(k,{source:x,top:R,left:O,deps:P,options:S,record:C.record,bottom:C.bottom,fitted:C.fitted,keys:F});}return C}}}function s8(e,t){for(let n of e.cells)for(let r of n.blocks){if(r.kind!=="paragraph")return false;for(let o=0;o<r.lines.length;o+=1){let a=r.lines[o];if(a.id!==ko(a.range.paragraphId,a.range.start,o,t))return false}}return true}function d8(e,t,n){let r=[];for(let o of e.cells){let a=[];for(let i of o.blocks){if(i.kind!=="paragraph")throw new Error("A kept header row holds only paragraphs");let l=[];for(let s=0;s<i.lines.length;s+=1){let d=i.lines[s];l.push({...d,id:t.nextLineId(d.range.paragraphId,d.range.start,s,n)});}a.push(ac(i,l));}r.push({...o,blocks:a});}return {...e,cells:r}}var rb=.001;function c8(e){let t=0;return {...Tn(e),cache:ui(e.cache),borderOwnershipBudget:void 0,vMergeResolveBudget:void 0,onCellBreakKey:void 0,nextLineId:()=>`probe-deferred-merge-${t++}`}}var u8=(e,t)=>e.vMergeContinue||t===void 0||t.blockIndex>=e.blocks.length;function f8(e,t,n){let r=new Set,o=n.remainder;if(o===null)return r;for(let[a,i]of e.cells.entries()){if(u8(i,o[a]))continue;let l=n.record.cells[a];if(!t.has(i.id)||l===void 0||l.blocks.length>0)return null;r.add(i.id);}return r}function m8(e,t,n){let r=e.cells.filter(d=>n.has(d.id)),o=new Map,a=new Map,i={...e,cells:e.cells.map(d=>n.has(d.id)?{...d,blocks:[]}:d)},l={...t,cells:t.cells.map(d=>{let c=d.vMergeContinue?r.find(f=>f.gridColumn===d.gridColumn):void 0;if(c===void 0)return d;o.set(c.id,d);let u={...c,vAlign:d.vAlign};return a.set(c.id,u),u})},s={...e,cells:e.cells.map(d=>a.get(d.id)??d)};return {headRow:i,nextRow:l,continuations:o,headSource:s}}function uW(e){let{plan:t,rows:n,rowIndex:r,structure:o,left:a,top:i,contentBottom:l}=e;if(!Le(e.compatibilityMode,"vMergeTextMovesPastHeadRow")||t===null||i<=rb)return null;let s=n[r],d=n[r+1],c=t.spansAt(r);if(s===void 0||d===void 0||c.length===0||s.height.rule==="exact"||d.height.rule==="exact"||t.spansAt(r+1).length>0||c.some(S=>S.endRow!==r+1))return null;let u=new Set(c.map(S=>S.headCellId));for(let S of s.cells){if(!u.has(S.id))continue;let w=d.cells.find(I=>I.vMergeContinue&&I.gridColumn===S.gridColumn);if(S.textDirection==="btLr"||w===void 0||w.gridSpan!==S.gridSpan||w.textDirection==="btLr")return null}let f=o.columnWidthsPt,m=o.cellSpacingPt,g=new Map([...u].map(S=>[S,Number.POSITIVE_INFINITY])),p=S=>e.positioned?S:void 0,h=jr(s,f,a,0,e.deps,m,{detachedSpanHeightPtByCellId:g},p(i)),y=i+h;if(h<=rb||y>l+rb)return null;let b=jr(d,f,a,0,e.nextDeps,m,void 0,p(y));if(y+b<=l+rb||!d.cantSplit&&To(d,f,a,y,l,false,0,{...e.nextDeps,rowAtPageStart:false},vn(d),m,{requireEveryCell:true}))return null;let x={detachedSpanHeightPtByCellId:new Map([...u].map(S=>[S,h]))},R=bo(s,f,a,i,Number.POSITIVE_INFINITY,false,false,0,c8(e.deps),vn(s),m,x,l),P=f8(s,u,R);return P===null||P.size===0?null:{...m8(s,d,P),options:x,heightPt:h,nextSource:d}}function p8(e,t){return {id:t.id,gridColumn:e.gridColumn,...e.logicalGridColumn===void 0?{}:{logicalGridColumn:e.logicalGridColumn},...t.gridColumnId?{gridColumnId:t.gridColumnId}:{},gridSpan:e.gridSpan,vMergeContinue:true,paintInert:true,rowSpan:1,...t.shading===void 0?{}:{shading:t.shading},blocks:[],box:e.box}}function g8(e){let t=e.borders;if(e.box.height>0||!t)return e;let{bottom:n,...r}=t;return {...e,borders:{...r,...t.edgeSegments?{edgeSegments:t.edgeSegments.filter(o=>o.side!=="bottom")}:{},...t.strokes?{strokes:t.strokes.filter(o=>o.side!=="bottom")}:{}}}}function h8(e,t,n,r){let o=[],a=[];for(let[i,l]of t.entries()){let s=l.isHeaderRepeat?void 0:e.get(l.id),d=s?l.cells.filter(h=>s.deferred.continuations.has(h.id)):[];if(!s||d.length===0){o.push(l),a.push(n[i]);continue}let{deferred:c,headRecord:u}=s,f=l.box.y,m={...u,isContinuation:true,...l.hasContinuation?{hasContinuation:true}:{},box:{...u.box,y:f,height:0},cells:u.cells.map(h=>d.find(y=>y.id===h.id)??{...h,blocks:[],box:{...h.box,y:f,height:0}})},g={...l,cells:l.cells.map(h=>{let y=c.continuations.get(h.id);return y?p8(h,y):h})},p=r.get(l);p&&(r.set(m,p),r.set(g,p)),o.push(m,g),a.push(c.headSource,c.nextSource);}return {rows:o,sources:a}}function fW(){let e=new Map,t=null;return {rowAt(n,r){let o=t?.index===n?t.row:r;return t=null,o},commit(n,r,o){t={index:n+1,row:r.nextRow},e.set(r.nextRow.id,{deferred:r,headRecord:o});},finish(n){return e.size===0?n:n.map(r=>Ai(r)?{...r,cells:r.cells.map(g8)}:r)},publish(n,r,o){return e.size===0?{rows:n,sources:r}:h8(e,n,r,o)}}}var Za=.001;function mW(e,t,n,r,o){let a=o.inlineDrawingLayout;if(!a||Le(o.compatibilityMode,"anchorsLayOutInCell"))return null;let i=new Set(y8(e,a,o));if(i.size===0)return null;let l=x8(e,t,n,r,a,{...o,outOfCellFloatParagraphs:i});for(let p of [...i])l.some(h=>h.paragraphId===p)||i.delete(p);if(i.size===0)return null;let s=0,d=new Map,c=new Set,u=(p,h)=>{let y=p.anchorRowBottom-p.anchorRowTop,b=p.anchorRowTop+s;return (p.top<=b+y+Za?Math.max(b,p.bottom+p.leadIn):b)+y<=h+Za},f=p=>p.map(h=>{let y=d.get(h.anchorParagraphId);return y===void 0||!["paragraph","line"].includes(h.verticalFrame)?h:ku(h,0,-y)}),m=p=>p&&(h=>p(f(h))),g=o.onAnchorRepublish;return {deps:{...o,publishAnchoredDrawings:m(o.publishAnchoredDrawings),collectAnchoredDrawings:m(o.collectAnchoredDrawings),...g?{onAnchorRepublish:(p,h)=>g(p,f(h))}:{},outOfCellFloatParagraphs:i},clear:(p,h,y,b)=>{for(let R of l)c.has(R.paragraphId)||(R.top>=b||!u(R,b))&&i.delete(R.paragraphId);l=l.filter(R=>i.has(R.paragraphId)&&R.bottom>p+Za&&R.top<b);let x=p;for(let R=0;l.length>0&&R<=l.length;R+=1){let P=x+h(x),S=l.find(w=>w.top<=P+Za&&w.bottom>x+Za);if(!S)break;x=S.bottom;}s+=x-p;for(let R of y)for(let P of R.cells)for(let S of P.blocks)i.has(S.id)&&(c.add(S.id),s>Za&&d.set(S.id,s));return x},end:()=>{l=[],s=0,d.clear(),c.clear(),i.clear();}}}function y8(e,t,n){let r=new Set;if(e.rows.some(a=>a.cells.some(i=>i.vMergeContinue)))return r;let o=Rl(true,n);for(let a of e.rows)if(!a.isHeader){for(let i of a.cells)if(i.vAlign==="top")for(let l of i.blocks)l.kind==="paragraph"&&b8(l,t,o)&&r.add(l.id);}return r}function b8(e,t,n){let r=ot(e,t);return r.length===0?false:r.every(({projection:o})=>o.hidden||!Jp(o.wrap)?false:!gu(o,n))}function x8(e,t,n,r,o,a){let i=a.outOfCellFloatParagraphs,l=[],s=g=>{for(let p of g)l.push(p);},d=a.pageExclusionZones,c=0,u=Wa(e,n,r,0,t,0,{...Tn(a),measuringOnly:a.measuringOnly,anchorDeferOnly:false,publishAnchoredDrawings:s,collectAnchoredDrawings:s,onCellBreakKey:void 0,...d?{pageExclusionZones:()=>d().filter(g=>!i.has(g.anchorParagraphId??""))}:{},borderOwnershipBudget:_r(),vMergeResolveBudget:ho(),nextLineId:()=>`out-of-cell-float-probe-${c++}`}),f=P8(u.fragment),m=[];for(let g of l){if(!i.has(g.anchorParagraphId))continue;let p=o.projectionForAtom?.(g.drawingNodeId),h=p?vu({drawing:g,projection:p,sourceOrder:0,contentLeft:-1e6,contentRight:1e6}):null;if(!h)continue;let y=h.verticalBand.y,b=h.verticalBand.y+h.verticalBand.height,x=f.get(g.anchorParagraphId);x&&(x.contentTop!==void 0&&g.paintBounds.y<=x.contentTop+Za&&(y=Math.min(y,x.top)),b>y+Za&&m.push(Object.freeze({top:y,bottom:b,paragraphId:g.anchorParagraphId,anchorRowTop:x.top,anchorRowBottom:x.bottom,leadIn:Math.max(0,x.top-S8(u.fragment,y))})));}return m}function S8(e,t){let n=e.rows.find(r=>r.box.y+r.box.height>=t-Za);return n?n.box.y:t}function P8(e){let t=new Map;for(let n of e.rows){let r=n.box.y+n.box.height;for(let o of n.cells)for(let[a,i]of o.blocks.entries())i.kind==="paragraph"&&t.set(i.paragraphId,{top:n.box.y,bottom:r,...a===0?{contentTop:i.box.y}:{}});}return t}var Zo=.001,R8=16;function w8(e,t,n,r=()=>0,o=()=>false){return (a,i)=>{if(i<=a+Zo)return true;let l=a+r(a),s=t;if(o()&&(l+=1,s+=1),l>i+Zo)return true;for(;s<e.length;s+=1)if(l+=n(e[s],l),l>i+Zo)return true;return false}}function k8(e){let t=e.input;if(t.mode==="topAndBottom"){let s=e.verticalBand;return {top:s.y,bottom:s.y+s.height,left:-1/0,right:1/0}}if(t.mode==="square"||!t.polygon||t.polygon.length<3){let s=yu(t.contentBounds,t.effectInsets,t.wrapDistances);return {top:s.y,bottom:s.y+s.height,left:s.x,right:s.x+s.width}}let n=1/0,r=-1/0,o=1/0,a=-1/0;for(let s of t.polygon)n=Math.min(n,s.y),r=Math.max(r,s.y),o=Math.min(o,s.x),a=Math.max(a,s.x);let i=t.effectInsets,l=t.wrapDistances;return {top:n-i.top-l.top,bottom:r+i.bottom+l.bottom,left:o-i.left-l.left,right:a+i.right+l.right}}function T8(e,t){let n;for(let r of e.rows){for(let o of r.cells)for(let a of o.blocks){if(a.localName!=="p")continue;let i=t(a.id);i!==void 0&&(n===void 0||i<n)&&(n=i);}if(n!==void 0)return n}return n}function pW(e,t,n,r){let o=n.pageExclusionZones;if(!o)return null;let a=n.paragraphOrderIndex,i=a?T8(e,a):void 0,l=`${t}.`,s=e.columnWidthsPt.reduce((p,h)=>p+h,0),d=(p,h)=>{if(p.sourceKind==="furniture")return true;if(p.sourceKind!==void 0&&p.sourceKind!=="table")return false;if(p.earlierSection)return true;if(i===void 0||!a||h!==void 0&&p.columnIndex!==h||p.anchorParagraphId.startsWith(l))return false;let y=a(p.anchorParagraphId);return y!==void 0&&y<i},c,u,f=[],m=(p,h)=>{let y=o(),b=r.flow.flowColumn?.();(y!==c||b!==u)&&(c=y,u=b,f=y.filter(w=>d(w,b)).map(k8).sort((w,I)=>w.top-I.top));let x=r.left(),R=r.bottom(),P=f.filter(w=>w.bottom<R-Zo&&w.left<x+s-Zo&&w.right>x+Zo),S=p;for(let w=0;w<R8;w+=1){let I=P.find(v=>v.bottom>S+Zo);if(!I||!h.reaches(S,I.top))return S;S=I.bottom;}return S},g={pending:void 0,clear(p){let h=r.flow.cursorY,y=m(h,p);if(y<=h+Zo||y>=r.bottom()-Zo)return false;let b=r.opensRegion();return b&&!p.fitsAt(y)?false:(r.flow.cursorY=y,r.moved(y,b),true)},clearPending(p){let h=g.pending;h&&g.clear({reaches:(y,b)=>b<=y+Zo||h.reaches(y+p,b),fitsAt:y=>h.fitsAt(y+p)});},fragment:(p,h,y,b)=>({reaches:w8(e.rows,p,r.heightOf,y,b),fitsAt:h})};return g}var v8=Number.MAX_SAFE_INTEGER/1024;function*hW(e,t){let{columnWidth:n,columnLeft:r,contentHeight:o,advanceColumn:a,anchorFrames:i,verticalAnchorFrames:l,styleCascade:s,displayMode:d,revisionAuthorFilter:c,deps:u,shiftAnchor:f,publishFragment:m}=t,g=n(),p=qt(e,g,0,s,d,c,t.compatibilityMode,In(u));if(!p||p.rows.length===0)return {outOfFlow:false};let h=t.positionTextTable?void 0:fD(e,p,t),y=h?mD(p):p;h&&(t.cursorY=h.top);let b=h===void 0&&y.float!==void 0&&(y.float.vertAnchor!=="text"||t.positionTextTable===true)&&y.float.ySpec!=="inline",x=y.float===void 0;x&&Fc(y,0,s,t.compatibilityMode)&&t.pageHoldsContent(t.cursorY)&&t.advancePage();let R=t.cursorY,P=b?l():void 0,S=h?.firstBottom,w=b?()=>v8:()=>S??o(),I=()=>y.float?go(y,i(),t.compatibilityMode)+(b?t.positionShiftX??0:0):r()+Na(y,n()),v=I();!b&&y.float&&y.float.vertAnchor==="text"&&!y.float.ySpec?t.cursorY=Math.max(0,Math.min(t.cursorY+y.float.yPt,w())):b&&y.float&&P&&(t.cursorY=Po(y.float,0,P));let O=qy(y.columnWidthsPt,y.cellSpacingPt,MH(e,u)),T=(le,ge=t.cursorY,ae)=>O.measure(le,v,ge,ae??F),C=b||y.float?null:mW(y,e.id,v,t.cursorY,u),F=C?.deps??(b?yc(u):u),k=[];for(let le of y.rows)if(le.isHeader)k.push(le);else break;let _=cW({structure:y,headerRows:k,deps:F,left:()=>v,rowHeightOf:T,rowProbes:O,admitted:!b&&!y.float&&!h}),E=le=>_.plan(le),N=E(t.cursorY),A=N.heightPt,L=N.planned,B=A>(t.unreservedContentHeight?.()??w())+.001,D=!B,$=0,X=t.cursorY,W=0,z=[],ee=new Map,K=[],U=new Map,q=fW(),V=new Set(y.rows),ne=false,G=b||y.float?null:pW(y,e.id,F,{flow:t,left:()=>v,bottom:w,opensRegion:()=>z.every(le=>le.isHeaderRepeat)&&!t.regionHoldsContent(X),moved:(le,ge)=>{z.length>0||(X=le,W=ge?le:0);},heightOf:(le,ge)=>T(le,ge)}),re=()=>{let le=ae=>L?E(ae).heightPt:A,ge=ae=>ae+le(ae)<=w()+.001;G?.clear(G.fragment(k.length,ge,le));},fe=Le(t.compatibilityMode,"headerRowsKeepWithBody"),te,Z,oe=(le,ge)=>{ge.cellContentInsets&&U.set(le,ge.cellContentInsets);},ce=()=>{if(W=0,S=void 0,z.length===0){C?.end();return}let le=z.length-1,ge=z[le],ae=K[le];if(!ge.isContinuation&&V.has(ae)){let gt={...F,cellContentInsets:U.get(ge)??F.cellContentInsets},ze=Oc(y,ae,v,ge.box.y,w(),gt);if(ze&&Qy(ge,ze.probe)){let ft={...ge,box:{...ge.box,height:ze.height},cells:ge.cells.map(xt=>({...xt,box:{...xt.box,height:ze.height}}))};z[le]=ft,U.delete(ge),oe(ft,ze.deps),t.cursorY+=ze.height-ge.box.height;}}({rows:z,sources:K}=q.publish(z,K,U));let he=q.finish(Hr(z,y,K,F.borderOwnershipBudget,F.vMergeResolveBudget,void 0,f,F,U,new Set(z.filter(TH)))),Ae=he[he.length-1],We=Ha({kind:"table",...b?{outOfFlow:true}:{},id:`${e.id}#f${$}`,tableId:e.id,fragmentIndex:$,rows:he,box:{x:v,y:X,width:y.columnWidthsPt.reduce((gt,ze)=>gt+ze,0),height:Ae.box.y+Ae.box.height-X}},y.columnWidthsPt,0,ee),De=b&&y.float&&P?TN(We,Po(y.float,We.box.height,P)-We.box.y,f):We;m(Tc(De,xH(F))),C?.end(),$+=1,z=[],K=[],U=new Map,te=void 0;},M=(le,ge)=>{if(k.length===0)return;let ae=le?Z?.():void 0;if(ae===null)return;let he=()=>L&&!ae?E(t.cursorY):void 0,Ae=he(),We=ae?.headerHeight??Ae?.heightPt??A;if(le&&t.cursorY+We>w()+.001)return;t.cursorY+We>w()+.001&&t.cursorY>0&&(ce(),a(),v=I(),X=t.cursorY,re(),Ae=he(),We=Ae?.heightPt??We);let De=!le&&t.cursorY+We>w()+.001?t.unreservedContentHeight?.()??w():w();if(!le&&t.cursorY+We>De+.001){B=true,D=false;return}if(le&&!ae&&ge&&!ge(t.cursorY+We))return;let gt=ae?it(y,k[0],ae.deps):_.headerDeps();for(let[ze,ft]of k.entries()){let xt=Ae?.optionsAt(ze,t.cursorY),kt=_.place(le,!!ae,ze,ft,t.cursorY,gt,xt);if(kt.bottom>De+.001)throw new Wr("table-row-overheight",`Table header row ${ft.id} overflowed the page content box`);z.push(kt.record),oe(kt.record,gt),K.push(ft),t.cursorY=kt.bottom;}te=ae;},ie=(le,ge=false)=>{ce(),ge?t.advancePage():a(),v=I(),X=t.cursorY,G?.clearPending(D&&k.length>0?A:0),D&&M(true,le);},ue=(le,ge)=>{let ae=new Map(ge?[ge]:[]);return Qw({structure:y,rows:le,left:v,deps:F,pageHeight:Math.max(w(),t.unreservedContentHeight?.()??0),heightOf:he=>{let Ae=ae.get(he);return Ae===void 0&&ae.set(he,Ae=T(le[he])),Ae},following:he=>t.followingKeepOpening?.(he)})};if(fe&&x&&!B&&k.length>0&&t.cursorY>.001){let le=ue(y.rows.slice(k.length)),ge=he=>(Jw(le,0,he)??0)<=he+.001,ae=w()-A;!ge(w()-t.cursorY-A)&&ge(ae)&&(ce(),a(),v=I(),X=t.cursorY);}B||(C&&(t.cursorY=C.clear(t.cursorY,le=>L?E(le).heightPt:A,k,w()),X=t.cursorY),k.length>0&&re(),M(false));let pe=y.rows.slice(B?0:k.length),Te=new Set,Re=Ni(y,()=>v,0,F,pe,le=>Te.has(le.id)),Fe,ke=0,_e=0,Ke=(le,ge)=>{let ae=ge??pe[le];z.length===0?Te.add(ae.id):Te.delete(ae.id),Fe=aN(Re,le,t.cursorY,w()),_e=Fe?.heightFloorPt??T(ae,t.cursorY,z.length===0?it(y,ae,F):F),ke=Fe?.heightFloorPt??(te?.bodyRowId===pe[le]?.id?te.bodyHeight:_e);};for(let[le,ge]of pe.entries()){le>0&&le%fj===0&&(yield);let ae=q.rowAt(le,ge);B&&le>=k.length&&(D=true);let he=ne;if(ne=false,C){let Ve=z.length===0?it(y,ae,F):void 0,Tt=Ft=>T(ae,Ft,Ve);t.cursorY=C.clear(t.cursorY,Tt,[ae],w()),z.length===0&&(X=t.cursorY);}Ke(le,ae);let Ae,We=vn(ae),De=false,gt=0,ze=false,ft=()=>({...Ae??(te?.bodyRowId===ae.id?te.deps:z.length===0?it(y,ae,F):F),rowAtPageStart:ze||t.cursorY<=.001||z.length>0&&z.every(Ve=>Ve.isHeaderRepeat)});Z=()=>De?void 0:dW(y,k,ae,v,t.cursorY,w(),A,_e,F);let xt=()=>ke<=Math.max(w(),t.unreservedContentHeight?.()??0)+.001,kt=Ve=>ae.cantSplit||SE(ae,w()-Ve,Tt=>F.cellContentInsets?.get(Tt.id)??Zt(Tt,y.cellSpacingPt===0),F.cellMinimumContentInsets),Yt=Fe?.coveredFromAbove===true,He=Ve=>{let Tt=w(),Ft=Tt-Ve;return Ft<=.001?false:!De&&ke<=Ft+.001?true:!De&&(ae.height.rule==="exact"||kt(Ve)&&xt())?false:To(ae,y.columnWidthsPt,v,Ve,Tt,De,0,{...F,rowAtPageStart:false},We,y.cellSpacingPt,{requireEveryCell:!De&&ke<=Tt+.001})};if(G){let Ve=y.rows.length-pe.length+le,Tt=()=>De;G.pending=G.fragment(Ve,He,void 0,Tt),z.length===0&&G.clear(G.pending)&&Ke(le,ae);}let br=()=>{if(Ae||De||Yt||ke<=w()-t.cursorY+.001)return;let Ve=Oc(y,ae,v,t.cursorY,w(),ft());Ve&&(Ae=Ve.deps,ke=Ve.height,ne=true);},ln=x&&ae!==y.rows[0]&&Fc(y,y.rows.length-pe.length+le,s,t.compatibilityMode)&&(z.some(Ve=>!Ve.isHeaderRepeat)||t.pageHoldsContent(X)),Kn=x&&!he&&!ln&&!Yt&&t.cursorY>.001&&(z.length===0||z.some(Ve=>!Ve.isHeaderRow)||!fe&&!z.some(Ve=>Ve.isHeaderRepeat))?Jy(ue(pe,[le,ke]),le,w()-t.cursorY):null,bn=!!Kn&&t.cursorY+Kn.kept+Kn.successor>w()+.001,Et=he||ln||bn||Fe!==void 0||ae!==ge?null:uW({plan:Re,rows:pe,rowIndex:le,structure:y,left:v,top:t.cursorY,contentBottom:w(),deps:ft(),nextDeps:F,compatibilityMode:t.compatibilityMode,positioned:(F.pageExclusionZones?.().length??0)>0});for(Et&&(Fe=Et.options,ke=Et.heightPt),!he&&!ln&&!bn&&br(),(ln||he||bn||(x||h!==void 0)&&!Yt&&EH(ae,ft(),y.cellSpacingPt,{top:t.cursorY,columnTop:t.columnTop?.()??0,bottom:w(),band:Math.max(w(),t.unreservedContentHeight?.()??0),repeat:D?A:0,belowBandOnly:W>0&&X<=W+.001&&z.every(Ve=>Ve.isHeaderRepeat)})||!Yt&&ke<=w()+.001&&t.cursorY+ke>w()+.001&&t.cursorY>0&&(kt(t.cursorY)||ae.height.rule==="exact"||!To(ae,y.columnWidthsPt,v,t.cursorY,w(),false,0,ft(),We,y.cellSpacingPt,{requireEveryCell:true})))&&(ie(He,ln),ze=true,Ke(le,ae));;){if(br(),gt+=1,gt>VR)throw new Wr("table-row-fragment-limit",`Table row ${ae.id} exceeded ${VR} page fragments`);let Ve=w()-t.cursorY;if(Ve<=.001&&t.cursorY>0){if(ze)throw new Wr("table-row-overheight",`Table row ${ae.id} cannot fit after repeated header rows`);ie(He),ze=true,Ke(le,ae);continue}if(!De&&ke<=Ve+.001){let Ze=ft(),Ot=(!Fe&&!Et?O.take(ae,v,t.cursorY,Ze):null)??Ut(Et?.headRow??ae,y.columnWidthsPt,v,t.cursorY,false,0,Ze,y.cellSpacingPt,Fe,w());if(Ot.bottom>w()+.001)throw new Wr("table-row-overheight",`Table row ${ae.id} overflowed the page content box after placement`);Et&&(q.commit(le,Et,Ot.record),ne=true);let qe=Ot.remainder!==null,Xe=qe?gW(Ot.record):Ot.record;if(z.push(Xe),oe(Xe,Ze),K.push(qe?{...ae}:ae),t.cursorY=Ot.bottom,!qe)break;We=Ot.remainder,De=true,ze=false,ie(He);continue}if(!De&&(ae.cantSplit||ae.height.rule==="exact")){let Ze=ae.height.rule!=="exact"&&!xt(),Ot=z.length>0&&z.every(Xe=>Xe.isHeaderRow)&&(X<=.001||z.every(Xe=>Xe.isHeaderRepeat));if(t.cursorY>W&&!ze&&!(Ze&&Ot)){ie(He),ze=true,Ke(le,ae);continue}let qe=t.unreservedContentHeight?.()??w();if(qe>w()+.001&&ke<=qe-t.cursorY+.001){let Xe=ft(),On=Ut(ae,y.columnWidthsPt,v,t.cursorY,false,0,Xe,y.cellSpacingPt,Fe,qe);if(On.bottom<=qe+.001&&On.remainder===null){z.push(On.record),oe(On.record,Xe),K.push(ae),t.cursorY=On.bottom;break}}if(!Ze)throw new Wr("table-row-overheight",ae.height.rule==="exact"?`Table row ${ae.id} has w:trHeight hRule=exact taller than the available page content`:`Table row ${ae.id} has w:cantSplit and is taller than the available page content`)}let Tt=ft(),Ft=bo(ae,y.columnWidthsPt,v,t.cursorY,w(),false,De,0,Tt,We,y.cellSpacingPt,Fe);if(!Ft.fitted&&t.cursorY>0&&!ze){ie(He),ze=true,Ke(le,ae);continue}let sn=t.unreservedContentHeight?.()??w();if(!Ft.fitted&&t.cursorY<=.001&&!ze&&sn>w()+.001){ie(He),ze=true,Ke(le,ae);continue}if(!Ft.fitted)throw new Wr(Ft.nestedSplitBlocked?"table-row-split-unsupported":"table-row-overheight",Ft.nestedSplitBlocked?`Table row ${ae.id} contains a nested table taller than the page content box`:`Table row ${ae.id} has content that cannot fit a page content box`);if(Ft.bottom>w()+.001)throw new Wr("table-row-overheight",`Table row ${ae.id} overflowed the page content box`);let Mn=Ft.remainder!==null,Vr=De||Mn?{...ae}:ae,Ht=Mn?gW(Ft.record):Ft.record;if(z.push(Ht),oe(Ht,Tt),K.push(Vr),t.cursorY=Ft.bottom,!Mn)break;We=Ft.remainder,De=true,ze=false,ie(He);}}return ce(),b?t.cursorY=R:h&&(t.cursorY=Math.min(t.cursorY+(y.float?.distances?.bottom??0),t.contentHeight())),{outOfFlow:b}}function gW(e){return {...e,hasContinuation:true}}var Cc="http://schemas.openxmlformats.org/wordprocessingml/2006/main",F8=32,yW=1e4,bW=1e4;function O8(e){if(e.kind!=="paragraph"||e.listItem||e.shading||e.paragraph.children.some(r=>r.kind==="paragraphProperties"?false:r.kind==="textValue"||r.namespaceUri!==Cc?true:["bookmarkStart","bookmarkEnd","proofErr"].includes(r.localName)?r.children.length!==0:r.kind!=="run"||r.children.some(o=>o.kind!=="runProperties"))||e.props.some(r=>["framePr","numPr","pBdr","shd","pageBreakBefore"].includes(r.localName)))return false;let t=[e.paragraph],n=0;for(;t.length;){let r=t.pop();if(++n>bW||r.namespaceUri!==Cc||["ins","del","moveFrom","moveTo","pPrChange","rPrChange","vanish","webHidden"].includes(r.localName)||n+t.length+r.children.length>bW)return false;for(let o of r.children){if(o.kind==="textValue")return false;t.push(o);}}return true}var xW=new WeakMap;function C8(e){let t=xW.get(e);if(t!==void 0)return t;let n=I8(e);return xW.set(e,n),n}function I8(e){let t=[e],n=0;for(;t.length;){let r=t.pop();if(++n>yW||r.namespaceUri!==Cc||r!==e&&r.kind==="table"||["vMerge","hMerge","tblHeader","drawing","pict","object","fldChar","fldSimple","instrText","footnoteReference","endnoteReference","ins","del","moveFrom","moveTo","sdt","altChunk","framePr"].includes(r.localName)||r.localName==="tblOverlap"&&!r.attributes.some(o=>o.namespaceUri===Cc&&o.localName==="val"&&o.value==="overlap")||n+t.length+r.children.length>yW)return false;for(let o of r.children)o.kind!=="textValue"&&t.push(o);}return true}function M8(e){let t;for(let a of e.children)if(a.kind==="tableProperties"){if(t)return false;t=a;}if(!t)return false;let n=t.children.filter(a=>a.kind!=="textValue"&&a.localName==="tblpPr");if(n.length!==1)return false;let r=n[0];if(r.kind==="textValue"||r.namespaceUri!==Cc||r.children.length)return false;let o=new Set;for(let a of r.attributes){if(a.namespaceUri!==Cc||o.has(a.localName))return false;if(o.add(a.localName),a.localName==="vertAnchor"){if(a.value!=="text")return false}else if(a.localName==="horzAnchor"){if(!["text","margin","page"].includes(a.value))return false}else if(a.localName==="tblpXSpec"){if(!["left","center","right","inside","outside"].includes(a.value))return false}else if(a.localName==="tblpX"||a.localName==="tblpY"){let i=chunkFIJZIQXA_cjs.nd(a.value);if(i===null||Math.abs(i)>31680)return false}else if(["leftFromText","rightFromText","topFromText","bottomFromText"].includes(a.localName)){let i=chunkFIJZIQXA_cjs.nd(a.value);if(i===null||i<0||i>31680||(a.localName==="topFromText"||a.localName==="bottomFromText")&&i!==0)return false}else return false}return o.has("vertAnchor")}function SW(e,t,n,r,o,a){let i=e.length-1,l=e[i];if(!l||!O8(l))return;let s=i,d=[],c=[l.key];for(let u=i-1;u>=0;u-=1){let f=e[u];if(f.kind!=="table")break;if(!C8(f.table)||!M8(f.table))return;let g=qt(f.table,t,0,n,r,o,a)?.float;if(!g||g.vertAnchor!=="text"||g.ySpec||d.length>=F8)return;d.push(f.table),c.push(f.key),s=u;}if(d.length)return {start:s,anchorIndex:i,tables:d.reverse(),token:de(c)}}function PW(e,t,n){return e.map(r=>{let o=t.find(a=>a.table.id===r.tableId);return {...r,floatingWrap:{anchorId:o.anchorId,columnIndex:n,float:o.float,sourceOrder:o.sourceIndex}}})}function RW(e,t){let{cursorY:n,anchorHeight:r,contentWidth:o,contentHeight:a}=t;if(!Number.isFinite(r)||r<=0||n+r>a+.001)return;let i=e.tables.map(m=>qt(m,o,0,t.styleCascade,t.displayMode,t.authorFilter,t.deps.compatibilityMode,In(t.deps))),l=[],s=n+r,d=0,c={...Tn(t.deps),onCellBreakKey:void 0,borderOwnershipBudget:_r(),vMergeResolveBudget:ho(),nextLineId:()=>`terminal-table-probe-${d++}`};for(let m=0;m<i.length;m+=1){let g=i[m];if(!g?.float||!g.rows.length)return;let p=g.columnWidthsPt.reduce((x,R)=>x+R,0),h=go(g,t.frames,t.deps.compatibilityMode),y=n+g.float.yPt;if(![h,y,p].every(Number.isFinite)||p<=0||h<0||h+p>o+((g.float.xSpec==="right"||g.float.xSpec==="outside")&&Le(t.deps.compatibilityMode,"floatingTableContentOrigin")?g.defaultMargins.right:0)+.001||y<n||y>a)return;let b=Wa(g,h,y,0,e.tables[m].id,0,c);if(!Number.isFinite(b.bottom)||b.bottom>a+.001||l.some(x=>h<x.right&&h+p>x.left&&y<x.bottom&&b.bottom>x.top))return;s=Math.max(s,b.bottom),l.push({left:h,top:y,right:h+p,bottom:b.bottom});}let u=[];return {fragments:i.map((m,g)=>{let p=[];u.push(p);let{left:h,top:y}=l[g];return {...Wa(m,h,y,0,e.tables[g].id,0,{...t.deps,onCellBreakKey:x=>p.push(x)}).fragment,outOfFlow:true}}),bottom:s,cellBreakKeys:u}}function wW(e,t,n,r){let o=t.startY;return {lines:e.map((i,l)=>{let s={id:`anchor-line-${l}`,range:{paragraphId:r,start:i.start,end:i.end},box:{x:n.left,y:o,width:n.width,height:i.height},contentX:i.spans.length>0?i.spans[0].box.x+t.columnX:n.left,baseline:i.baseline,leading:i.leading,trailingSpacing:i.trailingSpacing,spans:i.spans.map(d=>({...d,box:{...d.box,x:d.box.x+t.columnX,y:o}}))};return o+=i.height+(i.exclusionSkipBefore??0),s}),bottom:o}}function kW(e){if(e.delta===0)return true;let t=e.delta%2===0||!e.evenAndOddHeaders&&!e.parityDependent&&!e.usedPageParity,r=!(e.titlePage||e.continuedInsets||e.firstPageBorders)||e.markPageCount>0&&e.delta+e.markPageCount>0;return t&&r&&!e.hasNoteReserves&&!e.hasExclusionZones}function TW(e){let{geometry:t,columns:n,columnRegionBottom:r,continuedInsets:o}=e,a=`|cols:${n.widths.join(",")};${n.gaps.join(",")};${n.lefts.join(",")};${n.separator?1:0}${r!==void 0?`;bal:${r}`:""}`,i=e.continuedZones??"",l=o?`|cont:${o.top},${o.height};z${i.length}:${i}`:"",s=e.sectionPageBorders?`|pgb:${Rg(e.sectionPageBorders)}`:"",d=`${t.width}x${t.height}|${t.margin.top},${t.margin.right},${t.margin.bottom},${t.margin.left}|fs:${e.flowStartY},${e.spaceBeforeCarry}${l}${e.furnitureContext}`,c=e.sectionMarkCollapses?"|smc":"";return u=>`${d}${u}${a}${s}${c}`}var vW=e=>e.kind==="paragraphProperties"||e.kind==="bookmarkStart"||e.kind==="bookmarkEnd"||e.kind==="run"&&e.children.every(t=>t.kind==="runProperties");function L8(e){return e.children.every(vW)}var E8=new Set(["proofErr","permStart","permEnd","commentRangeStart","commentRangeEnd"]),A8=e=>e.kind!=="textValue"&&e.namespaceUri===chunkFIJZIQXA_cjs.la&&E8.has(e.localName)&&e.children.length===0,N8=e=>e.kind==="runProperties"?true:e.kind==="textValue"||e.namespaceUri!==chunkFIJZIQXA_cjs.la?false:e.localName==="t"?e.children.every(t=>t.kind==="textValue"&&t.value===""):e.localName==="lastRenderedPageBreak"&&e.children.length===0;function D8(e){return e.children.every(t=>vW(t)||A8(t)||t.kind==="run"&&t.children.every(N8))}function _8(e,t){if(t.blockEndExclusive-t.blockStart!==1)return false;let n=e[t.blockStart];return n?.kind==="paragraph"&&Wn(n)!==void 0&&L8(n)}function FW(e,t,n){return t>0&&t===n-1&&e.kind==="paragraph"&&Wn(e)!==void 0&&D8(e)}function OW(e,t,n){let r=new Array(e.length).fill(false);for(let o=e.length-2;o>=0;o-=1){let a=o+1;r[o]=!n(a)||_8(t,e[a])&&r[a];}return r}function CW(e,t,n){let r=Le(t,"pageBreakBeforeKeepsSpace"),o=(a,i)=>Ds(i.props)&&!FW(i.paragraph,a,e);return {breaksBeforeAt:o,keepsBeforeAtPageStart:(a,i)=>n()||(r||a===0)&&o(a,i)}}var c0=.72;function ob(e,t){let n=Math.max(c0,t),r=Math.max(1,Math.min(12,Math.floor(e.count))),o=e.definitions??[],a=e.equalWidth===false&&o.length===r,i,l;if(a)i=o.map(c=>Math.max(0,chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(c.widthTwips)))),l=o.slice(0,-1).map(c=>Math.max(0,chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(c.gapTwips))));else {let c=Math.max(0,chunkFIJZIQXA_cjs.ld(chunkFIJZIQXA_cjs.jd(e.gapTwips)));l=Array.from({length:r-1},()=>c);let u=Math.max(c0,(n-c*(r-1))/r);i=Array.from({length:r},()=>u);}let s=[],d=0;for(let c=0;c<r;c+=1)s.push(d),d+=Math.max(0,i[c])+(l[c]??0);return {count:r,widths:i.map(c=>Math.max(c0,c)),gaps:l,lefts:s,separator:e.separator===true&&r>1}}function IW(e,t,n){return e.gaps.map((r,o)=>({x:e.lefts[o+1]-r/2-.375,y:t,width:.75,height:Math.max(0,n-t)}))}var H8=8,Ic=[],MW=new TextEncoder;function j8(e,t){let n=chunkFIJZIQXA_cjs.f(MW.encode(e===void 0?"undefined":`string:${e}`)),r=chunkFIJZIQXA_cjs.f(MW.encode(t));return `control-producer:v1:${n}:${r}`}function ab(e,t){let n=Ic.findIndex(o=>o.base===e&&o.token===t);if(n>=0){let[o]=Ic.splice(n,1);return Ic.push(o),o.producer}let r=j8(e,t);return Ic.push({base:e,token:t,producer:r}),Ic.length>H8&&Ic.shift(),r}var BW=new WeakMap,LW=null;function W8(e,t,n,r,o,a,i,l){return e!=null&&e.base===t&&e.noteMarks===n&&e.defaultTabStopPt===r&&e.displayMode===o&&e.authorFilter===a&&e.pageNumberFormat===i&&e.compatibilityMode===l}function EW(e,t,n,r,o,a,i,l){let s=t?BW.get(t):LW;if(W8(s,e,n,r,o,a,i,l))return s.producer;let d=(e??"unversioned-measurer")+(t?`|sc:${t.cacheToken}`:"")+(n?`|nm:${kI(n)}`:"")+(r!==void 0?`|dts:${r}`:"")+(o===Ue?"":`|rev:${o}`)+(a?`|reviewers:${a.cacheKey}`:"")+(i!==void 0?`|pnf:${i}`:"")+(l!==void 0?`|compat:${l}`:""),c={base:e,noteMarks:n,defaultTabStopPt:r,displayMode:o,authorFilter:a,pageNumberFormat:i,compatibilityMode:l,producer:d};return t?BW.set(t,c):LW=c,d}var z8={title:true,creator:true,subject:true,keywords:true,lastModifiedBy:true,description:true},AW=Object.keys(z8),NW=new WeakMap;function V8(e,t){if(!t)return e;let n=NW.get(t);if(!n||AW.some((r,o)=>(t[r]??"")!==n.values[o])){let r=AW.map(o=>t[o]??"");n={values:r,token:r.some(Boolean)?`document-properties:${JSON.stringify(r)}`:""},NW.set(t,n);}return n.token===""?e:ab(e,n.token)}function DW(e,t,n){let r=e.showFieldCodes?`${e.producer??""}|field-codes`:e.producer,o=r===void 0?r:_i(r),a=e.projectionEpoch!==void 0&&e.projectionTokenForParagraph?void 0:e.documentProperties;return ab(ab(V8(o,a),t),n)}var HW=new WeakMap;function jW(e,t){t.session&&HW.set(t.session,e.length);let n=t.bodyBlockLimit;return {blocks:n===void 0||n>=e.length?e:e.slice(0,n),all:e}}function dCe(e){return HW.get(e)}var ib=class{constructor(t){this.dependencies=t;}dependencies;capture(t){let{paragraphFrames:n,positionedFlow:r,pendingFloatIds:o,floatSignals:a,anchorPageDeferCounts:i}=this.dependencies;return {pageCount:t.pageCount,pageFragments:[...t.pageFragments],pendingAnchoredDrawings:[...t.pendingAnchoredDrawings],pendingParagraphFrames:n.checkpoint(),deferredAnchoredDrawings:t.deferredAnchoredDrawings.length>0?[...t.deferredAnchoredDrawings]:Jj,anchorPageDeferCounts:i.size>0?new Map(i):Qj,...r.checkpoint(o,a),cursorY:t.cursorY,lineCounter:t.lineCounter,previousSpaceAfter:t.previousSpaceAfter,flowColumnIndex:t.flowColumnIndex}}restore(t){let{paragraphFrames:n,positionedFlow:r,pendingFloatIds:o,floatSignals:a,anchorPageDeferCounts:i}=this.dependencies;n.restore(t.pendingParagraphFrames),i.clear();for(let[l,s]of t.anchorPageDeferCounts)i.set(l,s);return r.restore(t,o,a),{pageCount:t.pageCount,pageFragments:[...t.pageFragments],pendingAnchoredDrawings:[...t.pendingAnchoredDrawings],deferredAnchoredDrawings:[...t.deferredAnchoredDrawings],cursorY:t.cursorY,lineCounter:t.lineCounter,previousSpaceAfter:t.previousSpaceAfter,flowColumnIndex:t.flowColumnIndex}}};function WW(e,t){return e.cursorY===t.cursorY&&e.previousSpaceAfter===t.previousSpaceAfter&&e.flowColumnIndex===t.flowColumnIndex&&qj(e.pageFragments,t.pageFragments)&&s0(e.pendingParagraphFrames,t.pendingParagraphFrames)&&l0(e.pendingAnchoredDrawings,t.pendingAnchoredDrawings)&&l0(e.deferredAnchoredDrawings,t.deferredAnchoredDrawings)&&eW(e.anchorPageDeferCounts,t.anchorPageDeferCounts)&&fw(e,t)}function zW(e,t,n){return de([...e].map(([r,o])=>`${n}${r}=${o.flowHeight}`).sort())}function K8(e){return e?`hf:${e.titlePage?1:0}${e.evenAndOddHeaders?1:0};h:${zW(e.headers,false,"h")};f:${zW(e.footers,false,"f")};cs:${dc(e)}`:""}function Jf(e,t,n){if(e.sectionFurniture)return e.sectionFurniture[t];if(t===n-1)return e.furniture}function $8(e,t){return e.map((n,r)=>{let o=xi(n.properties),a=Jf(t,r,e.length),i=n.properties.pageNumbering,l=i?`pn:${de([i.start??"",i.fmt??"",i.chapStyle??"",i.chapSep??""].map(String))}`:"pn:",s=n.properties.columns,d=`pgb:${Rg(n.properties.pageBorders)}`,c=`cols:${s.count},${s.gapTwips},${s.equalWidth===false?0:1},${s.separator?1:0};${(s.definitions??[]).map(u=>`${u.widthTwips}/${u.gapTwips}`).join(",")}`;return de([n.properties.breakType,o.width,o.height,o.margin.top,o.margin.right,o.margin.bottom,o.margin.left,o.headerDistance??36,o.footerDistance??36,K8(a),l,c,d].map(String))})}function U8(e,t){if(!e)return null;let n=de(t),r=e.multi;if(r&&r.structureKey===n&&r.sections.length===t.length)return r;let o={structureKey:n,sectionKeys:t,sections:t.map((a,i)=>Y8(e,r,a,i)),spans:[],previousRemapped:[],previousFinalized:null,previousPageCount:-1,previousPageRefToken:""};return e.multi=o,o}function Y8(e,t,n,r){if(t){let a=t.sections[r];return a&&t.sectionKeys[r]===n?a:wo()}let o=wo();return r===0&&e.prepass!==null&&(fs(o,e),o.multi=null),o}function X8(e){return e!=="continuous"}function VW(e,t){return e.width===t.width&&e.height===t.height}function Z8(e){let t=e.contentBox.y-e.box.y;return {top:t,bottom:e.box.height-t-e.contentBox.height,height:e.contentBox.height}}function q8(e,t){if(t.fragments.length===0&&!t.columnSeparators?.length&&!t.anchoredDrawings?.length)return e;let n=e.anchoredDrawings||t.anchoredDrawings?Object.freeze([...e.anchoredDrawings??[],...t.anchoredDrawings??[]]):void 0;return {...e,fragments:t.fragments.length>0?[...e.fragments,...t.fragments]:e.fragments,...(e.columnSeparators?.length||t.columnSeparators?.length)&&{columnSeparators:[...e.columnSeparators??[],...t.columnSeparators??[]]},...n?{anchoredDrawings:n}:{}}}function GW(e,t,n){e.previous=t,e.startLineCounter=0,e.endLineCounter=n,e.keys=[],e.checkpoints=[],e.context="",e.producer="";}var KW=new WeakMap;function J8(e,t,n,r,o,a){let i=KW.get(e);if(i&&i.globalIndex===t&&i.sheetY===n&&i.pageNumber===r&&i.sectionPageCount===o&&i.format===a)return i.published;let l=ls(e,t,n),s=yi([l],r,o,a)[0];return KW.set(e,{globalIndex:t,sheetY:n,pageNumber:r,sectionPageCount:o,format:a,published:s}),s}function $W(e,t,n,r,o){let{session:a,...i}=r,l=U8(a,$8(t,r)),s=i.cache&&i.retainKeys!==false?i.retainKeys??(i.cache.retentionPassDue?.()??true?new Set:false):false,d=()=>{s&&!i.retainKeys&&i.cache?.retain(s);},c=[],u=[],f=[],m=0,g=0,p=0,h=0,y=0,b=0,x=0,R=true,P=[],S=null,w=1,I=[],v=new Map,O=r.evenAndOddHeaders??t.some((E,N)=>Jf(r,N,t.length)?.evenAndOddHeaders===true),T=t.map(E=>xi(E.properties)),C=OW(t,e,E=>t[E].properties.breakType==="continuous"&&VW(T[E-1],T[E]));for(let E=0;E<t.length;E+=1){let N=t[E],A=e.slice(N.blockStart,N.blockEndExclusive),L=T[E],B=Jf(r,E,t.length),D=l?.spans[E],$=N.properties.pageNumbering?.start,X=w,W=jw({breakType:N.properties.breakType,restart:$,nextDisplayed:w,sheetIndex:c.length,evenAndOddHeaders:O})?Ww(c.length,m,L,D?.paritySheet):void 0;W&&(c.push(W),u.push(W),m=W.box.y+W.box.height+Ki,$===void 0&&(w+=1));let z=c.length,ee=m;if(A.length===0&&!X8(N.properties.breakType)){f.push({startIndex:z,pageCount:0,sheetY:ee,remappedPages:[],sourcePages:[]});continue}let K=E>0&&N.properties.breakType==="continuous"&&c.length>0&&R&&S!==null&&VW(S,L),U=l?.sections[E],q=t[E+1]?.properties.breakType==="continuous",V=N.properties.columns.count>1&&q,ne=!V&&C[E],G=K?Z8(c[c.length-1]):void 0,re=K?c[c.length-1]:void 0,fe=N.properties.pageNumbering?.fmt,te=o(A,n,{...i,retainKeys:s,geometry:L,furniture:B,sectionColumns:N.properties.columns,paragraphLineUnitPt:Hl(N.properties),...N.properties.pageBorders?{sectionPageBorders:N.properties.pageBorders}:{},...V?{balanceColumns:V}:{},...q?{sectionMarkCollapses:true}:{},...ne?{markJoinsBreakSheet:ne}:{},lineCounterStart:g,pageIndexStart:K?z-1:z,spaceBeforeCarry:x,...K?{flowStartY:b}:{},...G?{continuedPageInsets:G}:{},...re?{continuedPageFurniture:re}:{},...fe!==void 0?{bodyPageNumberFormat:fe}:{},...U?{session:U}:{}});P.push({startIndex:z,at:te.overflowShellAt}),g=te.lineCounter,b=te.endCursorY,x=te.endSpaceAfter,R=te.endsOpenPage,S=L,U?(p+=U.stats.placed,h+=U.stats.total):(p+=A.length,h+=A.length);let Z=U!==void 0&&U.stats.placed===0&&U.stats.reusedPages===te.pages.length&&D!==void 0&&D.pageCount===te.pages.length&&D.sourcePages.length===te.pages.length&&D.sourcePages.every((Fe,ke)=>Fe===te.pages[ke]),oe=D!==void 0&&D.startIndex===z&&D.sheetY===ee&&D.remappedPages.length===te.pages.length,ce=N.properties.pageNumbering,M=ce?.start!==void 0?ce.start:w,ie=ce?.fmt,ue=D?.remappedPages[0],pe=D===void 0||D.remappedPages.length===0||ue?.pageFieldSource!==void 0&&ue.pageFieldSource.pageNumber===M&&ue.pageFieldSource.sectionPageCount===D.remappedPages.length&&ue.pageFieldSource.format===ie,Te;if(K){let Fe=c.length-1,ke=c[Fe],_e=q8(ke,te.pages[0]);if(_e!==ke){c[Fe]=_e;let ae=u.lastIndexOf(ke);ae!==-1&&(u[ae]=_e);}let Ke=[];for(let ae of te.pages.slice(1)){let he=ls(ae,c.length+Ke.length,m);Ke.push(he),m=he.box.y+he.box.height+Ki;}let le=ce?.start??w-1,ge=Ke.length+1;Te=yi(Ke,le+1,ge,ie);for(let ae of Te)c.push(ae),u.push(ae);w=le+ge;}else if(Z&&oe&&pe){Te=D.remappedPages,y+=Te.length;for(let Fe of Te)c.push(Fe),u.push(Fe),m=Fe.box.y+Fe.box.height+Ki;w=M+Te.length;}else {let Fe=[];for(let ke of te.pages){let _e=J8(ke,c.length+Fe.length,m,M+Fe.length,te.pages.length,ie);Fe.push(_e),m=_e.box.y+_e.box.height+Ki;}Te=Fe;for(let ke of Te)c.push(ke),u.push(ke);w=M+Te.length;}f.push({startIndex:z,pageCount:Te.length,sheetY:ee,remappedPages:Te,sourcePages:te.pages,...W?{paritySheet:W}:{}}),Te.length>0&&I.push({pageIndex:z,breakType:N.properties.breakType,restart:$,runningBefore:X,geometry:L});let Re=c[c.length-1]?.pageFieldSource?.pageNumber;Re!==void 0&&Re+1!==w?v.set(c.length-1,w):v.delete(c.length-1);}if(c.length===0){let E=xi(t[0]?.properties??co),N=o([],n,{...i,retainKeys:s,geometry:E,paragraphLineUnitPt:Hl(t[0]?.properties),sectionColumns:t[0]?.properties.columns??co.columns,...t[0]?.properties.pageBorders?{sectionPageBorders:t[0].properties.pageBorders}:{}});d();let A=jo({revision:n,pages:N.pages});return Zf(A,(L,B,D)=>N.overflowShellAt(B,D)),l&&(l.spans=[],l.previousRemapped=N.pages,l.previousFinalized=A,l.previousPageCount=A.pages.length,l.previousPageRefToken=qx(N.pages)),a&&(GW(a,A,g),a.stats={placed:0,total:0,reusedPages:0,fullPasses:a.stats.fullPasses+1}),A}let F=jo({revision:n,pages:c}),k=F,_=qx(c);if(l?.previousFinalized&&l.previousPageCount===F.pages.length&&l.previousRemapped.length===u.length&&l.previousPageRefToken===_){let E=l.previousFinalized.pages,N=l.previousRemapped,A=F.pages.map((L,B)=>u[B]===N[B]&&E[B]?E[B]:L);k={...F,pages:A};}return l&&(l.spans=f,l.previousRemapped=u,l.previousFinalized=k,l.previousPageCount=k.pages.length,l.previousPageRefToken=_),a&&(GW(a,k,g),a.stats={placed:p,total:h||1,reusedPages:y,fullPasses:a.stats.fullPasses+(p===h&&y===0?1:0)}),Zf(k,(E,N,A)=>{let L=P[0];for(let D of P)D.startIndex<=E&&(L=D);return (L??P[P.length-1])?.at(N,A)}),N_(k,O,I,v),d(),k}function UW(e,t,n,r){let o=false,a=false;if(t&&Le(r,"anchorOnlyParagraphSeeding"))for(let l of e){let s=l.kind==="paragraph"?ot(l,t):[],d=l.kind==="paragraph"&&s.length>0&&chunkFIJZIQXA_cjs.jg(l).length===s.length;if(o&&d){a=true;break}o=d;}let i=new Set;return {maxPasses:a?n*2:n,passIndex:l=>(a&&l>=n&&(a=false,i.clear()),a?-l-1:l),remember:l=>{i.add(Ax(l));},advance(l,s,d=false){a&&(d||!Array.from(s.values()).some(m=>m.some(g=>g.pageFramedBand)))&&(a=false,i.clear());let c=ng(l,s),u=Ax(s),f=i.has(u);return a&&(c||f)?(a=false,i.clear(),"continue"):c?"stable":f?"cycle":(i.add(u),"continue")}}}var YW=new WeakMap;function XW(e,t){if(t){let n=YW.get(t);if(n===void 0){n=t.docDefaultsParagraph.some(r=>r.localName==="framePr");for(let r of t.styles.values())if(r.paragraphProperties.some(o=>o.localName==="framePr")){n=true;break}YW.set(t,n);}if(n)return true}return e.some(n=>n.kind==="paragraph"&&n.children.some(r=>r.kind==="paragraphProperties"&&r.children.some(o=>o.localName==="framePr")))}function ZW(e,t,n){let r;for(let[o,a]of e.entries()){let i=new Set,l;for(let s of a.fragments){if(s.kind!=="paragraph")continue;let d=s.positionedFrame;if(!d||i.has(d.groupId))continue;i.add(d.groupId);let c=d.box,u=d.columnIndex,f=n.columnLefts?.[u]??0,m=n.columnWidths?.[u]??n.contentWidth,g={left:d.hSpace,right:d.hSpace,top:d.vSpace,bottom:d.vSpace},p=c.x-d.hSpace<=f&&c.x+c.width+d.hSpace>=f+m,h=d.wrap==="auto"||d.wrap==="around"||d.wrap==="tight"||d.wrap==="through",y=d.wrap==="tight"||d.wrap==="through"?[{x:c.x,y:c.y},{x:c.x+c.width,y:c.y},{x:c.x+c.width,y:c.y+c.height},{x:c.x,y:c.y+c.height}]:null,b={sourceKind:"frame",sourceOrder:d.sourceOrder,drawingNodeId:`frame:${d.groupId}`,anchorParagraphId:d.anchorId,anchorModelStart:0,paintLayer:"inFront",relativeHeight:0,allowOverlap:true,columnIndex:u,y:c.y,verticalBand:{x:c.x-d.hSpace,y:c.y-d.vSpace,width:c.width+2*d.hSpace,height:c.height+2*d.vSpace},input:{mode:!h||p?"topAndBottom":d.wrap==="tight"?"tight":d.wrap==="through"?"through":"square",contentBounds:c,polygon:y,clipPolygon:null,wrapDistances:g,effectInsets:{left:0,right:0,top:0,bottom:0},textSide:"bothSides",contentLeft:f,contentRight:f+m}};l??=[...t.get(o)??[]],l.push(b);}l&&(r??=new Map(t),r.set(o,l));}return r??t}function u0(e,t=false){let n=new Set;for(let r of e){let o=new Set,a=new Map;for(let i of r.fragments){if(i.kind!=="paragraph"||!i.positionedFrame)continue;let l=i.positionedFrame;if(l.dropCapLines!==void 0){let u=a.get(l.anchorId);u&&(o.add(u),o.add(l.groupId)),a.set(l.anchorId,l.groupId);}let s=!["auto","around","tight","through"].includes(l.wrap)||l.box.x-l.hSpace<=0&&l.box.x+l.box.width+l.hSpace>=r.contentBox.width,d=l.box.y-l.vSpace,c=l.box.y+l.box.height+l.vSpace;(t||l.dropCapLines!==void 0&&(!l.anchorId||c>r.contentBox.height+.001)||s&&c>0&&d<r.contentBox.height&&l.box.height+2*l.vSpace>=r.contentBox.height-.001)&&o.add(l.groupId);}for(let i of r.fragments)i.kind==="paragraph"&&i.positionedFrame&&o.has(i.positionedFrame.groupId)&&n.add(i.paragraphId);}return n}var e9=2;function*qW(e,t,n,r,o,a){if(!((n.inlineDrawingLayout||XW(e,n.styleCascade)||hD(e,o,n.styleCascade,n.displayMode??Ue,n.revisionAuthorFilter,n.compatibilityMode))&&n.drawingExclusionPass===void 0&&!n.drawingExclusionConverged))return null;let i=b=>{let x=n.inlineDrawingLayout?.projectionForAtom?.(b)?.drawingNodeId??b;return n.drawingSourceOrder?.get(x)},l=Object.freeze({columnCount:r.count,columnGapPt:r.gaps[0]??0,contentWidth:o,columnLefts:r.lefts,columnWidths:r.widths}),s=(b,x=false)=>{let R=n.inlineDrawingLayout?x?ZF(b,n.inlineDrawingLayout,n.drawingLayoutEpoch,o,n.drawingSourceOrder,l):Ex(b,n.inlineDrawingLayout,o,i,l):new Map;return ZW(b,Ka(b,R,l),l)},d=new Map,c=null,u=false,f=UW(e,n.inlineDrawingLayout,Ol,n.compatibilityMode);function*m(b){return yield*a(e,t,b)}function*g(b){let x=u0(b.pages);if(x.size===0)return null;let R=n.paragraphFrameFallbackRound??0,P=new Set(n.disabledParagraphFrameIds);for(let I of R>=3?u0(b.pages,true):x)P.add(I);let S=n.session?wo():void 0,w=yield*a(e,t,{...n,session:S,disabledParagraphFrameIds:P,paragraphFrameFallbackRound:R+1});return n.session&&S&&fs(n.session,S),w}let p=n.session?.previous?.pages;if(p){d=s(p,true),c=yield*m({...n,drawingExclusionPass:0,drawingExclusionZonesByPage:d});let b=yield*g(c);if(b)return b;if(c.pages===p)return c;let x=s(c.pages,true);if(ng(d,x))return c;d=new Map(x),f.remember(x);}let h=(b,x)=>(n.session&&x&&fs(n.session,x),b);function*y(b){let x=n.session?wo():void 0;return h(yield*m({...n,session:x,drawingExclusionConverged:true,drawingExclusionZonesByPage:b}),x)}for(let b=0;b<f.maxPasses;b+=1){let x=n.session?wo():void 0;c=yield*m({...n,session:x,drawingExclusionPass:f.passIndex(b),drawingExclusionZonesByPage:d});let R=yield*g(c);if(R)return R;let P=s(c.pages);if(P.size===0)return b===0&&d.size===0?h(c,x):yield*y(P);let S=f.advance(d,P);if(S==="stable")return h(c,x);if(d=new Map(P),S==="cycle"){u=true;break}}if(!u)for(let b=0;b<e9&&!u;b+=1){let x=n.session?wo():void 0;c=yield*m({...n,session:x,drawingExclusionPass:f.maxPasses+b,drawingExclusionZonesByPage:d});let R=yield*g(c);if(R)return R;let P=s(c.pages),S=f.advance(d,P,true);if(S==="stable")return h(c,x);if(d=new Map(P),S==="cycle"){u=true;break}}if(!u)throw new Do(`wrap exclusion reflow did not converge within ${f.maxPasses} passes`);return yield*y(d)}function*JW(e,t){let n=r=>jh(jo({revision:t.revision,pages:yi(r,t.numbering?.start??1,r.length,t.numbering?.fmt)}),t.listItems,t.measurer);for(;;){let r=e.next();if(r.done)return r.value;yield r.value?{pages:r.value.pages,finalize:n}:void 0;}}function QW(e,t,n){let r=t.lefts.map(()=>n);for(let o of e.fragments){if(wt(o))continue;let a=0;for(let i=t.count-1;i>=0;i-=1)if(o.box.x+.5>=t.lefts[i]){a=i;break}r[a]=Math.max(r[a],o.box.y+o.box.height);}return r}var t9=.25,n9=20;function*f0(e,t,n,r){let o=ob(n.sectionColumns??co.columns,n.geometry.width-n.geometry.margin.left-n.geometry.margin.right);if(!n.balanceColumns||o.count<2||n.columnRegionBottom!==void 0)return n.session&&(n.session.balanceLimit=null),yield*r(e,t,n);let a=n.session,i=n.flowStartY??0,l={...n,session:void 0},s=h=>{let y=h.pages[0],b=y?Math.max(...QW(y,o,i)):h.endCursorY;return a&&(a.endCursorY=b),{...h,endCursorY:b}};if(a&&a.balanceLimit!==null){let h=a.balanceLimit,y=yield*r(e,t,{...n,columnRegionBottom:h});if(a.stats.placed===0&&a.stats.reusedPages===y.pages.length)return a.balanceLimit=h,s(y)}let d=yield*r(e,t,l);if(d.pages.length!==1||!d.endsOpenPage)return a&&(a.balanceLimit=null),yield*r(e,t,n);let c=QW(d.pages[0],o,i),u=c.reduce((h,y)=>h+Math.max(0,y-i),0);if(u<=0)return a&&(a.balanceLimit=null),yield*r(e,t,n);let f=i+u/o.count,m=Math.max(...c)+.01;function*g(h){try{let y=yield*r(e,t,{...l,columnRegionBottom:h});return y.pages.length===1&&y.endsOpenPage}catch{return false}}for(let h=0;h<n9&&m-f>t9;h+=1){let y=(f+m)/2;(yield*g(y))?m=y:f=y;}let p=yield*r(e,t,{...n,columnRegionBottom:m});return a&&(a.balanceLimit=m),s(p)}function*ez(e,t,n,r){try{return yield*f0(e,t,n,r)}catch(o){if(!Aj(o,n))throw o;let a=n.session?wo():void 0,i=yield*f0(e,t,{...n,session:a,producer:de([n.producer??"","hidden-furniture-yields"]),yieldHiddenFurnitureZones:true},r);return n.session&&a&&fs(n.session,a),i}}var tz=chunkFIJZIQXA_cjs.tb(),m0={get:e=>tz.get(e),set:(e,t)=>tz.set(e,t,e.kind==="table"?chunkFIJZIQXA_cjs.sb:0)};function MMe(e,t,n){return chunkFIJZIQXA_cjs.kf(n.fieldResults,()=>$i(r9(e,t,n)))}function r9(e,t,n){return mj(n.fieldResults,o9(e,t,n))}function*o9(e,t,n){let r=n.displayMode??Ue,o=n.revisionAuthorFilter,{blocks:a,all:i}=jW(Nr(e,r,o,n.styleCascade,n.numberingIndex),n),l=Oa(e,a).sections,s=Sc(e),d=EF(e),c={...n,fieldCodeRanges:n.showFieldCodes?Kp(e):void 0,tocLinkStyleRanges:d,displayMode:r,producer:DW(n,s,NF(d)),tocFieldChromeParagraphIds:n.tocFieldChromeParagraphIds??vp(e),emptyTocPlaceholderParagraphIds:n.emptyTocPlaceholderParagraphIds??yv(e),emptyTocSuppressedResultParagraphIds:n.emptyTocSuppressedResultParagraphIds??Fp(e)},u=n.drawingSourceOrder;!u&&n.inlineDrawingLayout&&(u=b1(e,n.inlineDrawingLayout));let f=u?{...c,drawingSourceOrder:u}:c,m=n.session?EC(f,i,n.session):yd(f,i),g=sj(e,a,l,m),p=g===null?m:{...m,refFields:g},h=R=>$i(y(R));function*y(R){if(l.length>1)return $W(a,l,t,R,i9);let P=l[0],S=R.geometry??(P?xi(P.properties):au),w=Jf(R,0,l.length)??R.furniture,I=P?.properties.pageNumbering,v={revision:t,numbering:I,listItems:m.listItems},O=yield*JW(p0(a,t,{...R,geometry:S,furniture:w,paragraphLineUnitPt:Hl(P?.properties),sectionColumns:P?.properties.columns??co.columns,...P?.properties.pageBorders?{sectionPageBorders:P.properties.pageBorders}:{},...I?.fmt?{bodyPageNumberFormat:I.fmt}:{}}),{...v,measurer:n.measurer}),T=I,C=Vf({revision:O.layout.revision,pages:yi(O.pages,T?.start??1,O.pages.length,T?.fmt)},O.layout),F=jo(C);return r0(O.layout,F),Zf(F,(k,_,E)=>O.overflowShellAt(_,E)),R.session&&(R.session.multi=null,R.session.previous=F),F}let b=R=>{let P=R;if(R.displayMode!==r){let{contentControls:w,controlContextToken:I,...v}=R;P={...v,displayMode:r,...w!==void 0?{contentControls:w}:{},...I!==void 0?{controlContextToken:I}:{}};}n.session&&n.bodyBlockLimit===void 0&&(P=jh(P,m.listItems,n.measurer));let S=kw(P,e,s);return r0(R,S),n.session&&(n.session.previous=S),S};if(!n.notes)return n.session&&(n.session.notes=null,n.session.notePageBottomReserves=null),b(yield*Sj(e,p,y));let x=fH(n.notes,g?{...n,refFields:g}:n);return b(o0(e,p,R=>cH(e,l,R,x,h)))}function*a9(e,t,n){let r=n.geometry,o=n.cache?.keyFor?.bind(n.cache)??Gh,a=r.width-r.margin.left-r.margin.right,i=ob(n.sectionColumns??co.columns,a),l=yield*qW(e,t,n,i,a,p0);if(l)return l;let s=n.measurer,d=n.cache,c=n.styleCascade,u=n.listItems,f=n.refFields,m=n.defaultTabStopPt,g=n.displayMode??Ue,p=n.revisionAuthorFilter,h=g==="all-markup",y=n.tocFieldChromeParagraphIds,b=n.emptyTocPlaceholderParagraphIds,x=n.emptyTocSuppressedResultParagraphIds,R={chrome:y,placeholder:b,suppressed:x},P=zj(R),S=EW(n.disabledParagraphFrameIds?.size?de([n.producer??"",de([...n.disabledParagraphFrameIds].sort())]):n.producer,c,n.noteMarks,m,g,p,n.bodyPageNumberFormat,n.compatibilityMode),w=i.widths[0],I=WH(n,w,c),v=n.furniture,O=r.headerDistance??36,T=r.footerDistance??36,C=n.pageBottomReserves,F=n.session,k=n.lineCounterStart??0,_=jD(v,O,T),E=n.flowStartY??0,N=n.spaceBeforeCarry??0,A=n.pageIndexStart??0,L=I_({...v?{furniture:v}:{},pageHeight:r.height,marginTop:r.margin.top,marginBottom:r.margin.bottom,headerDistance:O,footerDistance:T,pageIndexStart:A,...n.continuedPageInsets?{continuedPageInsets:n.continuedPageInsets}:{}}),B=Object.freeze(n.bodyPageNumberFormat!==void 0?{format:n.bodyPageNumberFormat}:{}),D=oW(n,B),$=F?.previous?F.previous.pages.length+1:1/0,X=n.columnRegionBottom,W=n.continuedPageInsets,z=W&&n.continuedPageFurniture?Hj(n.continuedPageFurniture,W,r.margin.left,a,{omitHiddenFurniture:n.yieldHiddenFurnitureZones,drawingLayout:n.inlineDrawingLayout}):void 0,ee=TW({geometry:r,flowStartY:E,spaceBeforeCarry:N,continuedInsets:W,continuedZones:z?Lr(z):"",furnitureContext:_,columns:i,columnRegionBottom:X,sectionPageBorders:n.sectionPageBorders,sectionMarkCollapses:n.sectionMarkCollapses}),K=ee(jy(C,A,$)),U=A&1,q=false,V=Px(),ne=()=>{q=true;},G=[],re=L_({...v?{furniture:v}:{},geometry:r,headerDistance:O,footerDistance:T,pageIndexStart:A,contentWidth:a,insetsFor:L,pageCount:()=>G.length,...n.sectionPageBorders?{pageBorders:n.sectionPageBorders}:{}}),{pageBox:fe,furnitureFor:te,overflowShellAt:Z}=re,{furnitureHasWrap:oe,furnitureHoldsTables:ce,admission:M}=jj(Ej(v,n.yieldHiddenFurnitureZones),z),ie=-1,ue=Object.freeze([]),pe=()=>{let H=G.length;if(ie===H)return ue;let Q=n.drawingExclusionZonesByPage?.get(H)??Object.freeze([]);ie=H,ue=Q;let se=H===0?z:void 0;if(se)se.length&&(ue=Object.freeze([...Q,...se]));else if(ce){let Oe=fe(H),mt=L(H),dt=a0({box:Oe,contentBox:{x:Oe.x+r.margin.left,y:Oe.y+mt.top,width:a,height:mt.height},header:te("header",H,Oe),footer:te("footer",H,Oe)},n.yieldHiddenFurnitureZones);dt.length&&(ue=Object.freeze([...Q,...dt]));}return ue},Te=(H,Q=G.length)=>{let se=Math.max(1,L(Q).height-H);return X!==void 0&&Q===0?Math.max(1,Math.min(se,X)):se},Re=(H=G.length)=>Te(C?.get(A+H)??0,H),Fe=()=>Te(0),ke=n.inlineDrawingLayout!==void 0,Ke=ke?yy(H=>by(H,{measurer:s,producer:S,cache:d,styleCascade:c,...m!==void 0?{defaultTabStopPt:m}:{},compatibilityMode:n.compatibilityMode,...g?{displayMode:g}:{},...p?{revisionAuthorFilter:p}:{},...n.documentProperties?{documentProperties:n.documentProperties}:{},...n.projectLink?{projectLink:n.projectLink}:{},...n.projectFieldLink?{projectFieldLink:n.projectFieldLink}:{},showFieldCodes:n.showFieldCodes,...n.numberingIndex?{numberingIndex:n.numberingIndex}:{},inlineDrawingLayout:n.inlineDrawingLayout,drawingTokenForParagraph:n.drawingTokenForParagraph,projectionTokenForParagraph:n.projectionTokenForParagraph,projectionTokenForTable:n.projectionTokenForTable}),n.numberingIndex,c,g,p):void 0,le=(H,Q)=>{let se=H.kind==="paragraph"?xu(H,n.drawingTokenForParagraph)||n.drawingLayoutToken||"":H.kind==="table"&&n.drawingTokenForParagraph?P1(H,n.drawingLayoutEpoch,n.drawingTokenForParagraph)||n.drawingLayoutToken||"":n.drawingLayoutToken||"",Oe=`${H.kind==="paragraph"?xu(H,n.projectionTokenForParagraph):H.kind==="table"&&n.projectionTokenForParagraph?n.projectionTokenForTable?.(H)??Da(H,n.projectionTokenForParagraph):""}|${n.paragraphLineUnitPt??"-"}`,mt=xu(H,Ke?.hostedListTokenForParagraph),dt=H.kind==="table"?RR(H,u,c):$d(u?.get(H.id)),pt=dt===""&&mt===""?"":de([dt,mt]),ct=f===void 0?"":H.kind==="table"?fI(H,f):xu(H,tn=>f.tokenForParagraph(tn.id)),Qe=m0.get(H);if(Qe&&Qe.contentWidth===Q&&Qe.frameEnabled===(i.count===1&&!n.disabledParagraphFrameIds?.has(H.id))&&Qe.producer===S&&Qe.drawingToken===se&&Qe.projectionToken===Oe&&Qe.listToken===pt&&Qe.refToken===ct&&Qe.drawingContext===ke)return Qe.entry;let Nn=kf(se,ke),fn;if(H.kind==="table")fn={kind:"table",table:H,key:o({paragraph:H,properties:[...pt?[{localName:"list",attributes:{token:pt}}]:[],...ct?[{localName:"refFields",attributes:{token:ct}}]:[]],width:Q,producer:S,drawingToken:Nn,projectionToken:Oe})};else {let tn=u?.get(H.id),Ce=Vn(H,Q,c,tn,void 0,false,n.paragraphLineUnitPt),kr=i.count===1&&!n.disabledParagraphFrameIds?.has(H.id)?Rj(H,Ce,s,c,n.inlineDrawingLayout):void 0;kr&&(Ce=Vn(H,kr.width,c,tn,void 0,false,n.paragraphLineUnitPt));let{props:Io,indent:dr,available:mn,alignment:ta,spacing:xs,lineSpacing:_c,contextualSpacing:nn,styleId:nm,outlineLevel:rm,shading:om,inheritedRunProperties:am,markRunProperties:Ja}=Ce,Hc=Ce.borders,{tabStops:ut,properties:im}=Xh(Ce,m,{listToken:xR(tn),hostedListToken:mt,refToken:ct});fn={kind:"paragraph",...kr?{frame:kr}:{},paragraph:H,props:Io,indent:dr,available:mn,alignment:ta,spacing:xs,lineSpacing:_c,contextualSpacing:nn,styleId:nm,outlineLevel:rm,borders:Hc,borderGroupKey:Cf({borders:Hc,indent:dr,props:Io}),shading:om,inheritedRunProperties:am,markRunProperties:Ja,tabStops:ut,keeps:ht(Io),...tn?{listItem:tn}:{},key:o({paragraph:H,properties:im,width:mn,producer:S,drawingToken:Nn,projectionToken:Oe})};}return m0.set(H,{contentWidth:Q,frameEnabled:i.count===1&&!n.disabledParagraphFrameIds?.has(H.id),producer:S,drawingToken:se,projectionToken:Oe,listToken:pt,refToken:ct,drawingContext:ke,entry:fn}),fn},ge=(n.drawingTokenForParagraph!==void 0||n.drawingLayoutToken!==void 0)&&n.drawingLayoutEpoch===void 0?null:kf(n.drawingLayoutEpoch??"",ke),ae=n.projectionTokenForParagraph!==void 0&&n.projectionEpoch===void 0?null:n.projectionEpoch??"",he=$j(i.count,n.disabledParagraphFrameIds)+`|${n.paragraphLineUnitPt??"-"}`,Ae=F?.prepass,We={framePolicy:he,drawingEpoch:ge,projectionEpoch:ae,producer:S,contentWidth:w,styleCascade:c,numberingIndex:n.numberingIndex,tocToken:P,refToken:f?.valuesToken??""},De=$w(Ae,We),gt=Ae?.numberingIndex,ze=De||$w(Ae,{...We,numberingIndex:gt}),ft=De&&Ae.listItems===u,xt=ft&&Ae.bodies.length===e.length&&Ae.bodies.every((H,Q)=>H===e[Q]),kt=xt?Ae:Yt();function Yt(){let H=ft&&i.count===1&&!n.disabledParagraphFrameIds?Ae:null,Q=H??(ze?Ae:null),se=Uj(Gj(e,H,Ce=>le(Ce,w)),n.paragraphLineUnitPt,c),Oe=se.map(Ce=>Ce.key),mt=yD(se,w,c,g,p,n.compatibilityMode),dt=SW(se,w,c,g,p,n.compatibilityMode),pt=se.map(Ce=>Ce.kind==="paragraph"&&Ce.keeps.keepNext),ct=se.map(Ce=>Ce.kind==="paragraph"?xR(u?.get(Ce.paragraph.id)):void 0),Qe=se.map(Ce=>Ce.kind==="paragraph"?Ce.borderGroupKey:""),Nn=P===""?[]:se.map(Ce=>Ce.kind==="paragraph"?Vj(Ce.paragraph.id,R):""),fn=se.at(-1),tn=JM(D.flowKeys(Yj(tW(bD(Oe,mt),se),se),se),{terminalTableGroup:dt,...tN(se,c),borderGroupKeyAt:Ce=>Qe[Ce],tocVerdicts:Nn,markerTextAt:Ce=>ct[Ce],keepsNextAt:Ce=>pt[Ce]||I.endsKept(se[Ce]),tableAt:Ce=>se[Ce]?.kind==="table",endsWithSectionMark:fn?.kind==="paragraph"&&!!Wn(fn.paragraph),skipKeepNextAt:Ce=>se[Ce]?.kind==="paragraph"&&!!se[Ce].frame});return {framePolicy:he,positioned:mt,bodies:e,producer:S,contentWidth:w,styleCascade:c,listItems:u,numberingIndex:n.numberingIndex,drawingEpoch:ge??"",projectionEpoch:ae??"",prepared:se,keys:Oe,paragraphDocumentOrder:Q&&Kj(Q.bodies,e,Oi)?Q.paragraphDocumentOrder:zR(se,w,c,g,p,n.compatibilityMode),keepsNext:pt,markerTexts:ct,tocToken:P,refToken:f?.valuesToken??"",flowKeys:tn,terminalTextTables:dt}}F&&ge!==null&&ae!==null&&!xt&&(F.prepass=kt);let{prepared:He,keys:br,paragraphDocumentOrder:ln,keepsNext:Kn,terminalTextTables:bn}=kt,Et=qM(kt.flowKeys,n.markJoinsBreakSheet===true),{positionedTables:Ve,positionedTablePolicy:Tt}=kt.positioned,Ft=()=>{n.retainKeys!==false&&(n.retainKeys===void 0&&d&&!(d.retentionPassDue?.()??true)||AA(d,n.retainKeys,br,He.flatMap(H=>H.kind==="table"?[H.table]:[])));},sn=F?.previous??null,Mn=sn!==null&&F!==void 0&&F.context===K&&F.producer===S&&(!F.parityDependent||F.startPageParity===U),Vr=i.count===1&&Mn,Ht=0;if(Mn){let H=Math.min(Et.length,F.keys.length);for(;Ht<H&&Et[Ht]===F.keys[Ht];)Ht+=1;}let Ze=0;if(Vr){let H=Math.min(Et.length,F.keys.length)-Ht;for(;Ze<H&&Et[Et.length-1-Ze]===F.keys[F.keys.length-1-Ze];)Ze+=1;}if(Mn&&Ht===He.length&&He.length===F.keys.length){let H=ij(F,t,k);return F.startPageParity=U,Ft(),{...H,overflowShellAt:Z}}let Ot=eD(Ve,Et),qe=[],Xe=0,On=0,Ge=()=>i.lefts[Xe],Se=()=>i.widths[Xe],yt=()=>({text:{left:Ge(),width:Se()},margin:{left:0,width:a},page:{left:-r.margin.left,width:r.width}}),xr=()=>rD(qe,On),Rt=[],Jt=[],tt=new Map,dn=new Set,Bn=[],Gr=new Set,Ln=new nb,be=E,Sr=E,At=0,Fo=k,Je=N,Pr=[],Mc=new ib({paragraphFrames:Ln,positionedFlow:Ot,pendingFloatIds:dn,floatSignals:Bn,anchorPageDeferCounts:tt}),Qf=()=>Mc.capture({pageCount:G.length,pageFragments:qe,pendingAnchoredDrawings:Rt,deferredAnchoredDrawings:Jt,cursorY:be,lineCounter:Fo,previousSpaceAfter:Je,flowColumnIndex:At}),ms=0,Bc=0,Lc=0,Y=E===0;if(Vr&&Ht>0&&Ht<F.checkpoints.length){let H=F.checkpoints[Ht];G.push(...sn.pages.slice(0,H.pageCount)),{pageFragments:qe,pendingAnchoredDrawings:Rt,deferredAnchoredDrawings:Jt,cursorY:be,flowColumnIndex:At,lineCounter:Fo,previousSpaceAfter:Je}=Mc.restore(H),Xe=At,ms=Ht,Y=false,Lc=G.length,Pr.push(...F.checkpoints.slice(0,Ht));}let j=(H,Q,se=[])=>{let Oe=L(G.length).top;for(let mt of Ln.publish(qN(A+G.length+1,r,Oe,{x:Ge(),y:Q,width:Se(),height:Re()-Q}),H,At,se,ne))qe.push(mt);},me=i.count,ye=Ge,lt=H=>Object.freeze({x:i.lefts[At]??0,y:H.y,width:i.widths[At]??w,height:H.height}),nt=()=>aW({pageNumber:A+G.length+1,onPageParityRead:ne,geometry:r,insets:L(G.length),contentWidth:w,contentHeight:Re(),ownerPartName:n.inlineDrawingLayout?.ownerPartName??chunkFIJZIQXA_cjs.x}),st=()=>wl(nt()),ve=H=>{let Q=n.inlineDrawingLayout?.projectionForAtom?.(H)?.drawingNodeId??H;return n.drawingSourceOrder?.get(Q)},Ne=H=>{if(H.length===0)return;for(let se of H)Rt.some(Oe=>Oe.drawingNodeId===se.drawingNodeId)||Rt.push(se.sourceOrder===void 0&&ve(se.drawingNodeId)!==void 0?Object.freeze({...se,sourceOrder:ve(se.drawingNodeId)}):se);if(!n.inlineDrawingLayout)return;let Q=jF(Rt,nt());if(Rt.splice(0,Rt.length,...Q.drawings),Q.deferred.length>0)for(let se of Q.deferred){let Oe=(tt.get(se.drawingNodeId)??0)+1;tt.set(se.drawingNodeId,Oe),Oe>=Bx?Rt.push(Lx(se,"page-defer-exhausted")):Jt.push(se);}},jt=()=>{if(Jt.length===0)return;let H=Jt.map(Q=>Ox(Q,be-Q.y));Jt=[],Ne(H);},En=()=>{},Qt=()=>{En();let H=G.length,Q=fe(H),se=te("header",H,Q),Oe=te("footer",H,Q),{usedBottom:mt,hasBodyPageFields:dt}=Zx(qe,Sr),pt=L(H),ct=Dy(n.sectionPageBorders,r,H===0);G.push({id:`page-${H}`,index:H,box:Q,contentBox:{x:Q.x+r.margin.left,y:Q.y+pt.top,width:a,height:pt.height},fragments:qe,hasBodyPageFields:dt,...i.separator?{columnSeparators:IW(i,Sr,mt)}:{},...ct?{pageBorders:ct}:{},...Rt.length>0?{anchoredDrawings:UF(Rt)}:{},...se?{header:se}:{},...Oe?{footer:Oe}:{}}),qe=[],Rt=[],be=0,Xe=0,At=0,Sr=0,On=0;},It=(H,Q)=>H.kind==="paragraph"&&iW(H,Q,n.inlineDrawingLayout),$n=()=>{if(Xe+1<i.count){Xe+=1,At=Xe,be=Sr,Je=0,On=qe.length;return}Qt(),jt();},cn={paragraphLineUnitPt:n.paragraphLineUnitPt,...cD(Ve,Tt),measurer:s,cache:d,producer:S,onCellBreakKey:V.add,nextLineId:(H,Q,se,Oe)=>(Fo+=1,ko(H,Q,se,Oe)),pageOccurrenceKey:()=>String(G.length),styleCascade:c,listItems:u,...m!==void 0?{defaultTabStopPt:m}:{},compatibilityMode:n.compatibilityMode,...n.projectLink?{projectLink:n.projectLink}:{},...n.projectFieldLink?{projectFieldLink:n.projectFieldLink}:{},showFieldCodes:n.showFieldCodes,fieldCodeRanges:n.fieldCodeRanges,tocLinkStyleRanges:n.tocLinkStyleRanges,...n.documentProperties?{documentProperties:n.documentProperties}:{},bodyPageFields:B,...f?{refFields:f}:{},...n.noteMarks?{noteMarks:n.noteMarks}:{},...n.inlineDrawingLayout!==void 0?{inlineDrawingLayout:n.inlineDrawingLayout}:{},...n.drawingTokenForParagraph?{drawingTokenForParagraph:n.drawingTokenForParagraph}:n.drawingLayoutToken?{drawingLayoutToken:n.drawingLayoutToken}:{},...n.projectionTokenForParagraph?{projectionTokenForParagraph:n.projectionTokenForParagraph}:{},...n.inlineDrawingLayout?{anchorFrameBase:nt,pageContentClip:st,hostedStory:Ke,publishAnchoredDrawings:Ne,collectAnchoredDrawings:Ne,columnBoxForParagraph:lt,onAnchorShift:(H,Q)=>OR(Rt,H,Q),onAnchorRepublish:(H,Q)=>{for(let se=Rt.length-1;se>=0;se-=1)Rt[se].anchorParagraphId===H&&Rt.splice(se,1);Rt.push(...Q);}}:{},...n.inlineDrawingLayout||oe?{pageExclusionZones:pe,paragraphOrderIndex:H=>ln.get(H)}:{},borderOwnershipBudget:_r(),vMergeResolveBudget:ho(),displayMode:g,...p?{revisionAuthorFilter:p}:{}},Ui=lj({session:F,previous:Ae,prepass:kt,inputsEqual:ft,rowInputsEqual:ze,eligible:Vr&&!oe&&!n.drawingExclusionZonesByPage?.size,firstChanged:Ht,commonSuffix:Ze,deps:cn,pageBand:Re,revision:t,lineCounterStart:k});if(Ui)return Ft(),{...Ui,overflowShellAt:Z};let Yi=fN(u,s),{rememberBreakKey:Xi,releasePlacedBreaks:An}=ZA(d),Oo=Tj({compatibilityMode:n.compatibilityMode,displayMode:g,revisionAuthorFilter:p,seedForwardOnly:(n.drawingExclusionPass??0)<0,drawingLayout:n.inlineDrawingLayout,...Ke?{layoutTextboxStory:Ke.layoutTextboxStoryFor}:{},paragraphAt:H=>{let Q=He[H];return Q?.kind==="paragraph"?Q:void 0},paragraphOrder:ln,paragraphIndex:H=>He.findIndex(Q=>Q.kind==="paragraph"&&Q.paragraph.id===H),columnCount:me}),{breaksBeforeAt:qo,keepsBeforeAtPageStart:ps}=CW(He.length,n.compatibilityMode,()=>Y),Jo=(H,Q,se=0,Oe,mt)=>{let dt=H.paragraph.id,pt=b?.has(dt)??false,ct=n.fieldCodeRanges?.get(dt)?.some(mn=>mn.suppressParagraph)||!pt&&((y?.has(dt)??false)||(x?.has(dt)??false)),Qe=H.available,Nn=ye(),fn=Oe??be,tn=0;if(Oe===void 0&&se===0&&!H.frame){let mn=He[Q-1],ta=H.styleId!==null&&Jl(H.paragraph,-1,mn,c)===H.styleId,xs=H.contextualSpacing&&ta?0:H.spacing.before,_c=D.joins(mn,H);tn=jb(xs,Je,be===0&&!xr(),ps(Q,H)),fn+=tn+pa(_c?void 0:H.borders.top);}let Ce=Oo.breakZones(H,Q,At,pe(),nt,fn,Nn,Nn+Se(),mt),kr=Lr(Ce,Re()),Io=fn-Oo.displacement(G.length,dt),dr=d&&!ct?uj(H,n.inlineDrawingLayout,{exclusionToken:kr,paragraphStartY:fn,anchorParagraphStartY:Io,paragraphSpaceBefore:tn,regionBottomY:Re(),columnIndex:At,startOffset:se,frameMarginLeft:r.margin.left,pageNumber:A+G.length+1}):null;return dr!==null&&Xi(dt,dr),Zh(d,dr,()=>({compatibilityMode:n.compatibilityMode,paragraph:H.paragraph,paragraphId:dt,indentLeft:H.indent.left,available:Qe,measurer:s,formatting:H,producer:S,styleCascade:c,tabStops:H.tabStops,flow:{...Yi(H),startOffset:se,marginExtent:{left:0,right:H.indent.left+Qe+H.indent.right},...dj(H.paragraph,n),bodyPageFields:B,...f?{refFields:f}:{},displayMode:g,...p?{revisionAuthorFilter:p}:{},...cy(n.inlineDrawingLayout,Ke),contentLeft:0,contentRight:me>1?Se():H.indent.left+Qe+H.indent.right,...cj({paragraphStartY:fn,anchorParagraphStartY:Io,anchorFrameBase:nt(),regionBottomY:Re(),paragraphSpaceBefore:tn,pageExclusionZones:Ce,suppressChrome:ct})}}))},Ec=(H,Q)=>Oo.select(H,Q,At,pe(),{placement:true}),Co=(H,Q,se,Oe,mt,dt,pt)=>{let ct=Ec(H,Q);return n.inlineDrawingLayout?HN({paragraph:H.paragraph,paragraphId:H.paragraph.id,drawingLayout:n.inlineDrawingLayout,contentLeft:me>1?ye():0,contentRight:me>1?ye()+Se():H.indent.left+H.available+H.indent.right,paragraphStartY:dt-Oo.displacement(G.length,H.paragraph.id),columnIndex:At,displayMode:g,...p?{revisionAuthorFilter:p}:{},frameBase:nt(),pageZones:ct,brokenLines:se,lineIndex:Oe,fragmentFirstLine:mt,appliedSkipByLineIndex:pt}):ct},Ac=(H,Q,se,Oe,mt,dt,pt,ct,Qe)=>{if(_N(H.paragraph,n.inlineDrawingLayout,pt))return 0;let Nn=Co(H,Q,se,Oe,mt,dt-Qe,ct),fn=Oe===mt?Qe:0,tn=Nn.length>0?oo(be,pt.height,Nn,fn):0,Ce=pt.exclusionSkipBefore??0;return Math.max(tn,Ce)},gs=(H,Q,se,Oe,mt,dt)=>Ix(be,se[Oe].height,dt,{inherited:Ec(H,Q),withOwn:Co(H,Q,se,Oe+1,Oe,mt-dt,new Map)}),Qo=H=>nD(nt(),H,r.margin.top),em=(H,Q=be,se=false,Oe,mt=0)=>$i(Nc(H,Q,se,Oe,mt));function*Nc(H,Q=be,se=false,Oe,mt=0){let dt=be,pt={positionTextTable:se,positionShiftX:mt,cursorY:Q,columnWidth:Se,columnLeft:Ge,flowColumn:()=>i.count>1?At:void 0,contentHeight:Re,unreservedContentHeight:Fe,advanceColumn:()=>{be=pt.cursorY,$n(),pt.cursorY=be;},advancePage:()=>{Qt(),jt(),pt.cursorY=be;},pageHoldsContent:Qe=>qe.length>0||Qe>0,columnTop:()=>i.count>1?Sr:0,regionHoldsContent:Qe=>Xe>0?xr()||Qe>Sr:pt.pageHoldsContent(Qe),anchorFrames:yt,verticalAnchorFrames:()=>Qo(Q),styleCascade:c,displayMode:g,...p?{revisionAuthorFilter:p}:{},deps:cn,compatibilityMode:n.compatibilityMode,shiftAnchor:(Qe,Nn)=>OR(Rt,Qe,Nn),publishFragment:Qe=>qe.push(Qe),followingKeepOpening:Qe=>Oe===void 0?void 0:Zi.opening(Oe,Qe)},ct=yield*hW(H,pt);return be=ct.outOfFlow?dt:pt.cursorY,ct.outOfFlow}En=()=>tD(Ve,dn,qe,Bn,(H,Q,se,Oe)=>{let mt=Xe,dt=At;Xe=Q,At=Q,V.begin();try{let pt=RD(H,se,Se(),yt(),qe,Oe,cn,Re());em(H,pt.anchorY,!0,void 0,pt.dx),kl(H,V.keys());}finally{V.end(),Xe=mt,At=dt;}});let Dc=(H,Q)=>{let se=He[H];return H===He.length-1&&se?.kind==="paragraph"&&!se.frame&&Wn(se.paragraph)!==void 0&&(u?.get(se.paragraph.id)??se.listItem)===void 0&&d0(se,Q??Jo(se,H),n.inlineDrawingLayout)?se:void 0},ea=-1,qa=(H,Q)=>{if(H===ea)return true;if(n.sectionMarkCollapses!==true||H===0)return false;let se=Dc(H,Q);return se!==void 0&&!qo(H,se)},Zi=YM({blocks:He,dynamicBlock:H=>He[H]?.kind==="paragraph"&&jR(He[H].paragraph,n.inlineDrawingLayout),contextKey:()=>{let H=pe(),Q=`${Se()}:${ea}:`;return H.length?Q+`${At}:${be}:${Je}:${Y}:${Lr(H)}`:Q},linesFor:H=>{let Q=le(e[H],Se());return Q.kind==="paragraph"?Jo(Q,H):[]},skipBlock:H=>He[H]?.kind==="paragraph"&&(!!He[H].frame||qa(H)),breaksBefore:H=>He[H]?.kind==="paragraph"&&qo(H,He[H]),sumAdjacentSpacing:c?.fixedParagraphSpacing,tableOpening:H=>I.opening(He[H],Se(),Re(),cn)},n.compatibilityMode),sr=false,hs=He.length,vt=0,xn=0;for(let H=ms;H<He.length;H+=1){F&&G.length>xn&&(xn=G.length,yield {pages:G});let Q=le(e[H],Se());if(Pr[H]=Qf(),Vr&&Ze>0&&H>=He.length-Ze){let Ie=F.checkpoints[H+(F.keys.length-He.length)];if(Ie&&WW(Ie,Pr[H])){let Me=G.length-Ie.pageCount;if(kW({delta:Me,titlePage:v?.titlePage===true,evenAndOddHeaders:v?.evenAndOddHeaders===true,parityDependent:F.parityDependent,usedPageParity:q,markPageCount:Ie.pageCount,continuedInsets:W!==void 0,firstPageBorders:n.sectionPageBorders!==void 0&&n.sectionPageBorders.display!=="allPages",hasNoteReserves:C!==void 0,hasExclusionZones:(n.drawingExclusionZonesByPage?.size??0)>0})){let Sn=Me===0?sn.pages.slice(Ie.pageCount):sn.pages.slice(Ie.pageCount).map((Pn,Un)=>ls(Pn,G.length+Un,fe(G.length+Un).y));G.push(...Sn),Lc+=Sn.length,sr=true,hs=H,vt=Me,Fo+=F.endLineCounter-Ie.lineCounter;break}}}if(Bc+=1,Q.kind==="table"){if(Gr.has(Q.table.id))continue;if(bn?.start===H&&i.count===1&&dn.size===0&&!qe.some(Fy)&&!pe().length){let Ie=He[bn.anchorIndex];if(Ie.kind==="paragraph"){let Me=Jo(Ie,bn.anchorIndex);if(Me.length===1&&Me[0].spans.length===0){let Pt=ai(Ie.spacing.before,Je),Sn=RW(bn,{cursorY:be+Pt,anchorHeight:Me[0].height,contentWidth:w,contentHeight:Re(),frames:yt(),deps:cn,styleCascade:c,displayMode:g,authorFilter:p});if(Sn){let Pn=PW(Sn.fragments,Ve,At);for(let Un of Pn)qe.push(Un);for(let[Un,Bo]of bn.tables.entries())Gr.add(Bo.id),kl(Bo,Sn.cellBreakKeys[Un]);continue}}}}if(Tt.has(Q.table.id)&&!ce&&xD(Q.table,cn,{allowBreak:i.count===1&&Tt.get(Q.table.id),zones:M(n.drawingExclusionZonesByPage),page:G.length,width:Math.min(...i.widths),frames:yt(),verticalFrames:Qo(be),bottom:Re()})){Ot.add(dn,Q.table.id);continue}V.begin();try{(yield*Nc(Q.table,be,!1,H+1))||(Je=0),Y=!1,kl(Q.table,V.keys());}finally{V.end();}continue}let se=Q.frame,{paragraph:Oe,props:mt,contextualSpacing:dt,styleId:pt,borders:ct,shading:Qe,keeps:Nn}=Q,fn=He[H],tn=fn.kind==="paragraph"?fn.spacing:Q.spacing,{indent:Ce,alignment:kr,markRunProperties:Io}=Q,dr=at(Q.props),mn=Q.available,ta=H>0?He[H-1]:void 0,xs=He[H+1],_c=u?.get(Oe.id)??Q.listItem,nn=Oe.id,nm=D.joins(ta,Q),rm=D.joins(Q,xs),om=nm?void 0:ct.top,am=rm?ct.between:ct.bottom,Ja=pa(om),Hc=pa(am);qo(H,Q)&&(qe.length>0||be>0)&&H!==ea&&(Qt(),Je=0);let ut=Jo(Q,H),im=(Ie=0,Me)=>{Oo.measure(G.length,H,pe(),ut,Pt=>Jo(Q,H,Ie,Me,Pt));};if(im(),ut.length===0){An(nn),Ot.note(Bn,Oe.id,At,qe.length,be);continue}let g0=Wn(Oe)!==void 0,h0=mN(ut),nz=g0&&It(Q,ut),Ss=g0&&!se&&qa(H,ut),y0=()=>Ss||nz&&X===void 0&&Xe+1>=i.count,lb=()=>D.admits(ta,Q)&&Ln.checkpoint()===void 0&&!pc(Ve).has(nn)&&lW(Q,ut,n.inlineDrawingLayout),Ps=BR(Ss?{before:0,after:0}:tn,dt,pt,Jl(Oe,-1,ta,c),Jl(Oe,1,xs,c)),lm=(Ie,Me)=>{let Pt=le(Oe,Se());Pt.kind==="paragraph"&&(Ce=Pt.indent,kr=Pt.alignment,mn=Pt.available,Io=Pt.markRunProperties,An(nn),ut=[...Jo(Pt,H,Ie,Me)],im(Ie,Me));},sm=se||Ss?{cursorY:be,previousSpaceAfter:Je,firstParagraphOfSection:Y}:null,dm=se?Ln.start(se,ta?.kind==="paragraph"?ta.paragraph.id:void 0):null;if(dm&&(be=dm.cursorY,Je=zg(dm.previousSpaceAfter,c)),!se){let Ie=ai(Ps.before,Je),Me=HR(Io,c?.themeFonts),Pt=ut.length<=1?Hc:0,Sn=be+Ie+Ja,Pn=Co(Q,H,ut,0,0,Sn,new Map),Un=ut[0]?HS(Sn,ut[0],Pn,Pt):s.lineMetrics(Me).height+Pt,Bo=Ie+Ja+Math.max(Un,Ln.requiredAnchorBand(ut),PD(Ve,dn,nn,Se(),cn,{anchorY:Sn,anchorExtent:Un,frames:yt(),verticalFrames:Qo(Sn),earlier:qe,signals:Bn}));if(Nn.keepNext&&!Kn[H-1]){let oa=Zi.need(H,Je,{cursorY:be,contentHeight:Re(),lead:Ie,topExtent:Ja,pricedLead:Ss?0:ai(tn.before,Je),freshLead:ps(H,Q)?Ps.before:0});oa!==null&&(Bo=Math.max(Bo,oa));}be+Bo>Re()&&be>0&&!y0()&&!lb()&&($n(),Je=0,lm(0));}let rz=be===0&&!xr(),qi=!se&&lb(),oz=qi?ai(Ps.before,Je):0,sb=qi?0:jb(Ps.before,Je,se?false:rz,se?false:ps(H,Q));sb>0&&(be+=sb),Ja>0&&!qi&&(be+=Ja),Y=false;let b0=Zi.tailBreak(H,ut.length,be,Re()),na=0,St=[],x0=ut[0]?.start??0,Kr=sb,ra=qi?0:Ja,cm=false,jc=false,S0=0,Qa=be,P0=0,Ji=new Map;Je=0;let R0=n.inlineDrawingLayout!==void 0&&ot(Q.paragraph,n.inlineDrawingLayout).length>0,w0=false,db=null,{revisions:az,formatRevision:iz}=kp(Q.paragraph,g,p),k0=Rd(Q.paragraph,g,p),T0=Ti(Q.paragraph),v0=T0?Ed(T0,g,p):null,um=Ie=>{if(St.length===0)return;let Me=Ge(),Pt=ye(),Sn=St[0].box.y,Pn=Sn-Kr-ra,Un=St[St.length-1].box.y+St[St.length-1].box.height,Bo=Ie?Ps.after:0,{strokes:oa,bottomBorder:Rs,contentTop:Wc,contentBottom:ub,boxLeft:fm,boxWidth:mm,bottom:el,height:pm}=nW({borders:ct,topEdge:na===0?om:ct.top,closingEdge:am,continuesAbove:nm,continuesBelow:rm,inFrame:!!se,isLast:Ie,fragmentIndex:na,topExtent:ra,appliedAfter:Bo,top:Pn,linesTop:Sn,linesBottom:Un,regionX:Me,indentLeft:Ce.left,available:mn,outdent:Id(Ce,dr),drawn:!qi});Ie&&(be=Math.max(be,el));let ws=v0?Ug(St,v0):null,tl=(h0===void 0?na===0:St[0].range.start===h0)?ty(_c,s,St[0],0,dr?Ce.left+mn+Ce.right:void 0,n.inlineDrawingLayout?.pictureBulletResource):void 0,gm=tl?{...tl,box:{...tl.box,x:tl.box.x+Me}}:void 0;!se&&na===0&&(j(nn,Qa,St),Ot.note(Bn,nn,At,qe.length,Qa));let ks={kind:"paragraph",id:`${nn}#f${na}`,paragraphId:nn,fragmentIndex:na,range:ws?ws[ws.length-1].range:{paragraphId:nn,start:x0,end:St[St.length-1].range.end},props:mt,styleId:Q.styleId,outlineLevel:Q.outlineLevel,alignment:Q.alignment,spacing:{before:Kr,after:Bo},indent:Ce,...Rs?{bottomBorder:Rs}:{},...oa.length>0?{borders:oa}:{},...Ss||jc?{outOfFlow:true}:{},...Qe===void 0||Ss?{}:{shading:Qe,shadingBox:sW(ct.left||ct.right?{x:fm,y:Wc,width:mm,height:Math.max(ub-Wc,0)}:Ym(St,Me+Ce.left,mn),jc?{y:S0,clip:st()}:void 0)},tabStops:Q.tabStops,...gm?{marker:gm}:{},...Ie?{paragraphEnd:true}:{},...Ie&&h?Tp(az,iz):{},...Ie&&k0.length>0?{markChangeSites:k0}:{},lines:ws??St,...dy(St,Io,c?.themeFonts,Ie),box:{x:Pt+Ce.left,y:Pn,width:mn,height:pm}};if(se?Ln.add(se,ks,dm?.groupId,H):qe.push(ks),n.inlineDrawingLayout&&R0&&!w0){w0=true;let hm=[...kn(Q.paragraph).values()],Xt=hm.length>0&&hm.every(Ur=>St.some(nl=>Ur>=nl.range.start&&Ur<nl.range.end)),$r,aa,zc;if(Xt){let Ur=Pn-Cx(P0,Qa,St[0],{inheritedZones:Ec(Q,H),spaceAbove:Kr,anchorClearanceBefore:ut[Mo]?.anchorClearanceBefore})-Oo.displacement(G.length,nn);$r=St,aa={x:Pt+Ce.left,y:Ur,width:mn,height:pm},zc=lt(aa);}else {let Ur=db??{columnX:Pt,columnWidth:Se(),startY:Pn},nl=wW(ut,Ur,{left:Ur.columnX+Ce.left,width:mn},nn);$r=nl.lines;let ym=Ur.startY-Oo.displacement(G.length,nn);aa={x:Ur.columnX+Ce.left,y:ym,width:mn,height:Math.max(nl.bottom-ym,St[0]?.box.height??0)},zc=lt(aa);}Ne(ql({paragraph:Q.paragraph,paragraphId:nn,paragraphBox:aa,lines:$r,drawingLayout:n.inlineDrawingLayout,frameBase:nt(),columnBox:zc,cellBox:null,pageClip:st(),cellAnchorScope:null,measurer:s,sourceOrderOf:ve,layoutTextboxStory:Ke.layoutTextboxStoryFor,displayMode:g,...p?{revisionAuthorFilter:p}:{}}));}na+=1,x0=St[St.length-1].range.end,St=[],Kr=0,ra=0;},Mo=0,cb=0,Qi=ut.length+Uu,F0=0;for(let Ie=0;Ie<ut.length;Ie+=1){let Me=ut[Ie],Pt=Ie===ut.length-1,Sn=Pt?Hc:0;Ie===Mo&&(Qa=be,R0&&db===null&&na===0&&(db=Object.freeze({columnX:ye(),columnWidth:Se(),startY:Qa})));let Pn=se?0:Ac(Q,H,ut,Ie,Mo,Qa,Me,Ji,Kr),Un=(Me.anchorClearanceBefore??Pn)+Math.max(0,Me.height-Me.trailingSpacing)+Sn;if(jc=!se&&Ie===0&&be+Un>Re()&&lb(),Ie===b0||!se&&be+Un>Re()&&!y0()&&!jc&&(St.length>0||qe.length>0||(G.length>0||oe&&Pn>0)&&gs(Q,H,ut,Ie,Qa,Kr)+Math.max(0,Me.height-Me.trailingSpacing)+Sn<=Re())){if(b0=-1,!xr()&&Pn>0&&pe().some(rl=>rl.sourceKind==="furniture")&&++F0>Ol*me)throw new Do("wrapping page furniture leaves no room for body content");let Xt=!xr(),$r=cb<Qi?ki(Ie,Mo,ut.length,Nn,Xt):Ie,aa=$r<Ie;for(let rl=Ie;rl>$r;rl-=1){St.pop();let O0=ut[rl-1],lz=Ji.get(rl-1)??O0.exclusionSkipBefore??0;Ji.delete(rl-1),be-=O0.height+lz,Fo-=1;}let zc=aa&&St.length===0&&na===0,Ur=ut[$r].start,nl=Se(),ym=pe().length>0;if(um(false),$n(),Kr=0,zc?be=ra:ra=0,Se()!==nl||ym||pe().length>0){lm(Ur,be),Ji.clear(),Qi=Math.max(Qi,ut.length+Uu),Mo=0,aa&&(cb+=1),Ie=-1;continue}if(Mo=$r,Qa=be,aa){cb+=1,Ie=$r-1;continue}}F0=0;let oa=ye();Ji.set(Ie,Pn),be+=Pn,jc&&(S0=be,be=Math.min(be,Math.max(0,Re()-Me.height)));let Rs=Me.firstLineOffset??0,Wc=oa+Ce.left+(dr?0:Rs),ub=Math.max(1,mn-Rs),fm=oa-(dr?Rs:0),mm=Me.spans.map(Xt=>({...Xt,range:{...Xt.range,paragraphId:nn},box:{...Xt.box,x:Xt.box.x+fm,y:be}})),el=FS(Me,oa,Wc,ub),pm=Object.freeze({x:0,y:0,width:a,height:Re()}),ws=Me.drawings.map(Xt=>Object.freeze({...ar(Xt,fm,be),paragraphId:nn})),fb=Xg(mm,ws,dr,Xt=>Wu(Xt,s,el.indent,el.available,kr,vS(Q.props,Me,Pt,c),kr==="center"||kr==="right"?el.used:void 0,dr,false,Me.spaceShrink===true),Xt=>Ag(mm,Xt,kr,el.available,el.used)),{spans:tl,offset:gm}=fb,ks=fb.drawings.map(Xt=>Zl(Xt,pm)),hm={id:ko(Oe.id,Me.start,Ie),range:{paragraphId:nn,start:Me.start,end:Me.end},spans:tl,box:{x:ye()+Ce.left,y:be,width:mn,height:Me.height},contentX:wi(tl,ks,Wc+gm),baseline:Me.baseline,leading:Me.leading,trailingSpacing:Me.trailingSpacing,...Me.manualBreakAfter?{manualBreakAfter:true}:{},...Me.deletedRanges?{deletedRanges:Me.deletedRanges}:{},...ks.length>0?{drawings:ks}:{},...Me.anchorRevisions?{anchorRevisions:Me.anchorRevisions}:{},...Me.changeSites?{changeSites:Me.changeSites}:{}};if(Fo+=1,St.length===0&&(P0=Pn),St.push(hm),be+=Me.height,Me.columnBreakAfter){let Xt=Se(),$r=pe().length>0;if(um(Pt),$n(),Kr=0,ra=0,cm=true,!Pt&&(Se()!==Xt||$r||pe().length>0)){lm(Me.end,be),Ji.clear(),Qi=Math.max(Qi,ut.length+Uu),Mo=0,Ie=-1;continue}Mo=Ie+1;}else if(Me.pageBreakAfter){let Xt=pe().length>0;if(um(Pt),Pt&&n.markJoinsBreakSheet&&!se&&Dc(H+1)?ea=H+1:Qt(),Kr=0,ra=0,cm=!qi||Pt||Ma(ut[Ie+1]),cm||(qi=false,Kr=oz,ra=pa(ct.top),be+=Kr+ra),!Pt&&(Xt||pe().length>0)){lm(Me.end,be),Ji.clear(),Qi=Math.max(Qi,ut.length+Uu),Mo=0,Ie=-1;continue}Mo=Ie+1;}}um(true),An(nn),Je=zg(cm?0:Ps.after,c),sm&&(be=sm.cursorY,Je=sm.previousSpaceAfter,Y=sm.firstParagraphOfSection);}sr||j("",be),sr||(Pr[He.length]=Qf());let un=sr&&F?F.endCursorY:be,en=sr&&F?F.endSpaceAfter:Je,Rr=!sr&&(qe.length>0||Bn.length>0||G.length===0),ys=sr&&F?F.endsOpenPage:Rr;Rr&&(Qt(),un=Math.max(un,QN(G.at(-1).fragments,G.at(-1).contentBox.height)));let bs=0,tm=Bx*4+8;for(;(Rt.length>0||Jt.length>0)&&bs<tm;)bs+=1,Rt.length===0&&jt(),Qt();Jt.length>0&&(Rt.push(...Jt.map(H=>Lx(H,"page-defer-exhausted"))),Jt=[],Qt()),Ft();let wr={revision:t,pages:G,...n.displayMode?{displayMode:n.displayMode}:{}};if(F){F.previous=wr,F.checkpoints=sr?[...Pr.slice(0,hs),...F.checkpoints.slice(hs+(F.keys.length-He.length)).map(Q=>vt===0?Q:{...Q,pageCount:Q.pageCount+vt})]:Pr,F.keys=Et,F.context=G.length+1===$?K:ee(jy(C,A,G.length+1)),F.producer=S;let H=q||v?.evenAndOddHeaders===true;F.parityDependent=ms===0&&!sr?H:F.parityDependent||H,F.startPageParity=U,F.startLineCounter=k,F.endLineCounter=Fo,F.endCursorY=un,F.endSpaceAfter=en,F.endsOpenPage=ys,F.stats={placed:Bc,total:He.length,reusedPages:Lc,fullPasses:F.stats.fullPasses+(ms===0?1:0)};}return {layout:wr,pages:G,lineCounter:Fo,endCursorY:un,endSpaceAfter:en,endsOpenPage:ys,overflowShellAt:Z}}function i9(e,t,n){return $i(p0(e,t,n))}function p0(e,t,n){return ez(e,t,n,a9)}
28
- exports.$=Zn;exports.$a=G5;exports.$b=Al;exports.$c=v2;exports.$d=Sfe;exports.$e=JPe;exports.A=tT;exports.Aa=Jz;exports.Ab=bl;exports.Ac=Rte;exports.Ad=qse;exports.Ae=$me;exports.Af=nH;exports.B=Ym;exports.Ba=oV;exports.Bb=kv;exports.Bc=bd;exports.Bd=Qg;exports.Be=tpe;exports.Bf=$y;exports.C=N9;exports.Ca=aV;exports.Cb=Ip;exports.Cc=N$;exports.Cd=_d;exports.Ce=npe;exports.Cf=B0e;exports.D=D9;exports.Da=Vs;exports.Db=Mx;exports.Dc=D$;exports.Dd=ir;exports.De=ape;exports.Df=l4;exports.E=Xm;exports.Ea=y5;exports.Eb=Zd;exports.Ec=jC;exports.Ed=Hd;exports.Ee=Ipe;exports.Ef=uH;exports.F=Zm;exports.Fa=Yb;exports.Fb=Oge;exports.Fc=Rg;exports.Fd=zo;exports.Fe=Gh;exports.Ff=dCe;exports.G=As;exports.Ga=iV;exports.Gb=ba;exports.Gc=xd;exports.Gd=dY;exports.Ge=Mpe;exports.Gf=wo;exports.H=Ds;exports.Ha=fp;exports.Hb=kF;exports.Hc=cS;exports.Hd=mP;exports.He=xe;exports.Hf=MMe;exports.I=_b;exports.Ia=Xb;exports.Ib=Up;exports.Ic=co;exports.Id=dh;exports.Ie=qs;exports.If=r9;exports.J=Jm;exports.Ja=mp;exports.Jb=HF;exports.Jc=V$;exports.Jd=gP;exports.Je=M7;exports.K=Oz;exports.Ka=Zb;exports.Kb=og;exports.Kc=uS;exports.Kd=MB;exports.Ke=Ege;exports.L=aT;exports.La=et;exports.Lb=fO;exports.Lc=K$;exports.Ld=LB;exports.Le=If;exports.M=eu;exports.Ma=Gs;exports.Mb=Ar;exports.Mc=Wn;exports.Md=jd;exports.Me=wxe;exports.N=Lz;exports.Na=Dn;exports.Nb=ao;exports.Nc=Ete;exports.Nd=ef;exports.Ne=Ai;exports.O=w9;exports.Oa=I5;exports.Ob=ZG;exports.Oc=mS;exports.Od=mo;exports.Oe=Zhe;exports.P=oi;exports.Pa=ha;exports.Pb=mO;exports.Pc=$C;exports.Pd=HY;exports.Pe=qhe;exports.Q=sT;exports.Qa=M5;exports.Qb=qG;exports.Qc=pS;exports.Qd=jY;exports.Qe=Jhe;exports.R=ma;exports.Ra=Ks;exports.Rb=pO;exports.Rc=xi;exports.Rd=Na;exports.Re=Qhe;exports.S=dT;exports.Sa=lV;exports.Sb=JG;exports.Sc=$te;exports.Sd=YP;exports.Se=eye;exports.T=Qm;exports.Ta=Jb;exports.Tb=Ho;exports.Tc=iI;exports.Td=SL;exports.Te=VR;exports.U=uT;exports.Ua=gV;exports.Ub=Dx;exports.Uc=une;exports.Ud=qt;exports.Ue=Wr;exports.V=mr;exports.Va=L5;exports.Vb=Ml;exports.Vc=bS;exports.Vd=Jue;exports.Ve=I1;exports.W=pa;exports.Wa=E5;exports.Wb=Cu;exports.Wc=Tg;exports.Wd=EE;exports.We=V6;exports.X=k9;exports.Xa=yp;exports.Xb=ad;exports.Xc=Qne;exports.Xd=Bh;exports.Xe=HD;exports.Y=fT;exports.Ya=z5;exports.Yb=Bl;exports.Yc=ere;exports.Yd=xfe;exports.Ye=EPe;exports.Z=ai;exports.Za=Ue;exports.Zb=SK;exports.Zc=Pd;exports.Zd=QP;exports.Ze=zPe;exports._=jb;exports._a=V5;exports._b=El;exports._c=S2;exports._d=eR;exports._e=VPe;exports.a=Ak;exports.aa=je;exports.ab=K5;exports.ac=PO;exports.ad=B2;exports.ae=Pfe;exports.af=nRe;exports.b=jm;exports.ba=Vt;exports.bb=Ye;exports.bc=gi;exports.bd=ju;exports.be=tR;exports.bf=aRe;exports.c=Wm;exports.ca=rt;exports.cb=si;exports.cc=Nl;exports.cd=Uoe;exports.ce=nh;exports.cf=TRe;exports.d=cl;exports.da=np;exports.db=Pp;exports.dc=hi;exports.dd=NS;exports.de=yo;exports.df=vRe;exports.e=zm;exports.ea=li;exports.eb=cv;exports.ec=Yx;exports.ed=Kae;exports.ee=uo;exports.ef=d4;exports.f=c9;exports.fa=zb;exports.fb=PV;exports.fc=WK;exports.fd=Ku;exports.fe=Rfe;exports.ff=$i;exports.g=Wk;exports.ga=q9;exports.gb=$5;exports.gc=HO;exports.gd=xU;exports.ge=qd;exports.gf=mj;exports.h=Jc;exports.ha=$z;exports.hb=yl;exports.hc=bee;exports.hd=VM;exports.he=gf;exports.hf=Hwe;exports.i=Uk;exports.ia=Q9;exports.ib=Eo;exports.ic=ud;exports.id=nr;exports.ie=hf;exports.if=Dy;exports.j=mz;exports.ja=e5;exports.jb=pu;exports.jc=KO;exports.jd=GM;exports.je=NX;exports.jf=c_;exports.k=Vm;exports.ka=CT;exports.kb=$e;exports.kc=QK;exports.kd=wU;exports.ke=DX;exports.kf=Kf;exports.l=gz;exports.la=ap;exports.lb=vp;exports.lc=YO;exports.ld=rr;exports.le=jX;exports.lf=_y;exports.m=u9;exports.ma=bt;exports.mb=yv;exports.mc=fd;exports.md=Vn;exports.me=wme;exports.mf=P3;exports.n=yz;exports.na=t5;exports.nb=Fp;exports.nc=hg;exports.nd=ht;exports.ne=cA;exports.nf=zRe;exports.o=Qc;exports.oa=n5;exports.ob=er;exports.oc=JO;exports.od=XS;exports.oe=kme;exports.of=R3;exports.p=Qk;exports.pa=r5;exports.pb=Su;exports.pc=Gee;exports.pd=zl;exports.pe=aA;exports.pf=m_;exports.q=Sz;exports.qa=o5;exports.qb=ex;exports.qc=eS;exports.qd=Nr;exports.qe=iA;exports.qf=f_;exports.r=p9;exports.ra=a5;exports.rb=tx;exports.rc=lC;exports.rd=Sd;exports.re=Tme;exports.rf=w3;exports.s=Pz;exports.sa=lp;exports.sb=wV;exports.sc=mC;exports.sd=at;exports.se=vme;exports.sf=k3;exports.t=g9;exports.ta=sp;exports.tb=Ys;exports.tc=nS;exports.td=Ju;exports.te=Fme;exports.tf=vw;exports.u=v9;exports.ua=Be;exports.ub=bv;exports.uc=yte;exports.ud=hn;exports.ue=GX;exports.uf=F3;exports.v=O9;exports.va=au;exports.vb=du;exports.vc=O$;exports.vd=zse;exports.ve=Vme;exports.vf=Fw;exports.w=Wb;exports.wa=dp;exports.wb=Rv;exports.wc=Sg;exports.wd=nY;exports.we=KX;exports.wf=J_;exports.x=Nb;exports.xa=Gt;exports.xb=e7;exports.xc=I$;exports.xd=aP;exports.xe=Gme;exports.xf=j3;exports.y=Um;exports.ya=an;exports.yb=Cp;exports.yc=Au;exports.yd=Kse;exports.ye=Li;exports.yf=V_;exports.z=eT;exports.za=jT;exports.zb=wv;exports.zc=yd;exports.zd=Zse;exports.ze=Kme;exports.zf=M0e;