@syncfusion/ej2-docx 0.0.0-stage → 35.1.40

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 (417) hide show
  1. package/.gitleaksignore +35 -0
  2. package/README.md +68 -2
  3. package/core.js +4 -0
  4. package/dist/ej2-docx.umd.min.js +11 -0
  5. package/dist/ej2-docx.umd.min.js.map +1 -0
  6. package/dist/es6/ej2-docx.es2015.js +66697 -0
  7. package/dist/es6/ej2-docx.es2015.js.map +1 -0
  8. package/dist/es6/ej2-docx.es5.js +77568 -0
  9. package/dist/es6/ej2-docx.es5.js.map +1 -0
  10. package/dist/global/ej2-docx.min.js +11 -0
  11. package/dist/global/ej2-docx.min.js.map +1 -0
  12. package/dist/global/index.d.ts +14 -0
  13. package/features.js +4 -0
  14. package/index.js +4 -0
  15. package/license +10 -0
  16. package/package.json +30 -3
  17. package/src/all.d.ts +50 -0
  18. package/src/all.js +147 -0
  19. package/src/core/compat/base64.d.ts +13 -0
  20. package/src/core/compat/base64.js +90 -0
  21. package/src/core/compat/object-compat.d.ts +30 -0
  22. package/src/core/compat/object-compat.js +40 -0
  23. package/src/core/compat/sha256.d.ts +9 -0
  24. package/src/core/compat/sha256.js +98 -0
  25. package/src/core/errors/docx-error.d.ts +89 -0
  26. package/src/core/errors/docx-error.js +138 -0
  27. package/src/core/errors/error-codes.d.ts +8 -0
  28. package/src/core/errors/error-codes.js +0 -0
  29. package/src/core/errors/index.d.ts +10 -0
  30. package/src/core/errors/index.js +9 -0
  31. package/src/core/index.d.ts +12 -0
  32. package/src/core/index.js +12 -0
  33. package/src/core/mc/alternate-content.d.ts +7 -0
  34. package/src/core/mc/alternate-content.js +67 -0
  35. package/src/core/mc/attributes.d.ts +24 -0
  36. package/src/core/mc/attributes.js +82 -0
  37. package/src/core/mc/index.d.ts +7 -0
  38. package/src/core/mc/index.js +5 -0
  39. package/src/core/mc/inspect.d.ts +16 -0
  40. package/src/core/mc/inspect.js +148 -0
  41. package/src/core/mc/namespaces.d.ts +4 -0
  42. package/src/core/mc/namespaces.js +4 -0
  43. package/src/core/mc/scope.d.ts +6 -0
  44. package/src/core/mc/scope.js +47 -0
  45. package/src/core/opc/content-types.d.ts +34 -0
  46. package/src/core/opc/content-types.js +162 -0
  47. package/src/core/opc/index.d.ts +8 -0
  48. package/src/core/opc/index.js +4 -0
  49. package/src/core/opc/package.d.ts +49 -0
  50. package/src/core/opc/package.js +324 -0
  51. package/src/core/opc/part-name.d.ts +47 -0
  52. package/src/core/opc/part-name.js +205 -0
  53. package/src/core/opc/relationships.d.ts +46 -0
  54. package/src/core/opc/relationships.js +212 -0
  55. package/src/core/preservation/index.d.ts +2 -0
  56. package/src/core/preservation/index.js +1 -0
  57. package/src/core/preservation/opaque-body.d.ts +16 -0
  58. package/src/core/preservation/opaque-body.js +69 -0
  59. package/src/core/registry/block-handlers.d.ts +30 -0
  60. package/src/core/registry/block-handlers.js +36 -0
  61. package/src/core/registry/create-defaults.d.ts +39 -0
  62. package/src/core/registry/create-defaults.js +42 -0
  63. package/src/core/registry/feature-registry.d.ts +20 -0
  64. package/src/core/registry/feature-registry.js +29 -0
  65. package/src/core/registry/index.d.ts +9 -0
  66. package/src/core/registry/index.js +8 -0
  67. package/src/core/registry/inline-handlers.d.ts +20 -0
  68. package/src/core/registry/inline-handlers.js +30 -0
  69. package/src/core/registry/materialize-handlers.d.ts +35 -0
  70. package/src/core/registry/materialize-handlers.js +75 -0
  71. package/src/core/registry/multi-part-handlers.d.ts +37 -0
  72. package/src/core/registry/multi-part-handlers.js +206 -0
  73. package/src/core/registry/package-part-handlers.d.ts +28 -0
  74. package/src/core/registry/package-part-handlers.js +190 -0
  75. package/src/core/registry/part-handlers.d.ts +24 -0
  76. package/src/core/registry/part-handlers.js +172 -0
  77. package/src/core/registry/run-leaf-handlers.d.ts +26 -0
  78. package/src/core/registry/run-leaf-handlers.js +72 -0
  79. package/src/core/security/limits.d.ts +40 -0
  80. package/src/core/security/limits.js +26 -0
  81. package/src/core/xml/index.d.ts +7 -0
  82. package/src/core/xml/index.js +3 -0
  83. package/src/core/xml/model.d.ts +66 -0
  84. package/src/core/xml/model.js +17 -0
  85. package/src/core/xml/parse.d.ts +12 -0
  86. package/src/core/xml/parse.js +382 -0
  87. package/src/core/xml/serialize.d.ts +6 -0
  88. package/src/core/xml/serialize.js +93 -0
  89. package/src/core/zip/crc32.d.ts +2 -0
  90. package/src/core/zip/crc32.js +25 -0
  91. package/src/core/zip/deflate.d.ts +6 -0
  92. package/src/core/zip/deflate.js +6 -0
  93. package/src/core/zip/index.d.ts +10 -0
  94. package/src/core/zip/index.js +4 -0
  95. package/src/core/zip/inflate-raw.d.ts +17 -0
  96. package/src/core/zip/inflate-raw.js +450 -0
  97. package/src/core/zip/names.d.ts +6 -0
  98. package/src/core/zip/names.js +52 -0
  99. package/src/core/zip/read.d.ts +8 -0
  100. package/src/core/zip/read.js +262 -0
  101. package/src/core/zip/write.d.ts +7 -0
  102. package/src/core/zip/write.js +189 -0
  103. package/src/core/zip/zip-entry.d.ts +4 -0
  104. package/src/core/zip/zip-entry.js +0 -0
  105. package/src/features/bibliography/index.d.ts +100 -0
  106. package/src/features/bibliography/index.js +290 -0
  107. package/src/features/bookmarks/index.d.ts +331 -0
  108. package/src/features/bookmarks/index.js +1009 -0
  109. package/src/features/comments/comment-extensions.d.ts +157 -0
  110. package/src/features/comments/comment-extensions.js +356 -0
  111. package/src/features/comments/index.d.ts +579 -0
  112. package/src/features/comments/index.js +1727 -0
  113. package/src/features/content-controls/index.d.ts +821 -0
  114. package/src/features/content-controls/index.js +2857 -0
  115. package/src/features/custom-xml/index.d.ts +236 -0
  116. package/src/features/custom-xml/index.js +661 -0
  117. package/src/features/document/alignment.d.ts +23 -0
  118. package/src/features/document/alignment.js +36 -0
  119. package/src/features/document/alt-chunk.d.ts +103 -0
  120. package/src/features/document/alt-chunk.js +221 -0
  121. package/src/features/document/assert-never.d.ts +1 -0
  122. package/src/features/document/assert-never.js +4 -0
  123. package/src/features/document/augmentations.d.ts +578 -0
  124. package/src/features/document/augmentations.js +0 -0
  125. package/src/features/document/body-always-on.d.ts +36 -0
  126. package/src/features/document/body-always-on.js +66 -0
  127. package/src/features/document/body-blocks.d.ts +7 -0
  128. package/src/features/document/body-blocks.js +78 -0
  129. package/src/features/document/body-item-adapters.d.ts +62 -0
  130. package/src/features/document/body-item-adapters.js +97 -0
  131. package/src/features/document/body-item-collection.d.ts +151 -0
  132. package/src/features/document/body-item-collection.js +440 -0
  133. package/src/features/document/body-item.d.ts +35 -0
  134. package/src/features/document/body-item.js +8 -0
  135. package/src/features/document/body.d.ts +150 -0
  136. package/src/features/document/body.js +263 -0
  137. package/src/features/document/character-format.d.ts +413 -0
  138. package/src/features/document/character-format.js +2054 -0
  139. package/src/features/document/color.d.ts +178 -0
  140. package/src/features/document/color.js +495 -0
  141. package/src/features/document/document.d.ts +410 -0
  142. package/src/features/document/document.js +1049 -0
  143. package/src/features/document/element-type.d.ts +68 -0
  144. package/src/features/document/element-type.js +133 -0
  145. package/src/features/document/entity-type.d.ts +92 -0
  146. package/src/features/document/entity-type.js +93 -0
  147. package/src/features/document/feature-block.d.ts +16 -0
  148. package/src/features/document/feature-block.js +0 -0
  149. package/src/features/document/feature-inline.d.ts +13 -0
  150. package/src/features/document/feature-inline.js +0 -0
  151. package/src/features/document/feature-multi-package-part.d.ts +19 -0
  152. package/src/features/document/feature-multi-package-part.js +8 -0
  153. package/src/features/document/feature-package-level-part.d.ts +18 -0
  154. package/src/features/document/feature-package-level-part.js +8 -0
  155. package/src/features/document/feature-package-part.d.ts +14 -0
  156. package/src/features/document/feature-package-part.js +0 -0
  157. package/src/features/document/feature-run-leaf.d.ts +9 -0
  158. package/src/features/document/feature-run-leaf.js +0 -0
  159. package/src/features/document/headers-footers.d.ts +206 -0
  160. package/src/features/document/headers-footers.js +384 -0
  161. package/src/features/document/index.d.ts +41 -0
  162. package/src/features/document/index.js +34 -0
  163. package/src/features/document/length.d.ts +152 -0
  164. package/src/features/document/length.js +245 -0
  165. package/src/features/document/load-options.d.ts +14 -0
  166. package/src/features/document/load-options.js +0 -0
  167. package/src/features/document/locale-ids.d.ts +227 -0
  168. package/src/features/document/locale-ids.js +485 -0
  169. package/src/features/document/on-off.d.ts +9 -0
  170. package/src/features/document/on-off.js +27 -0
  171. package/src/features/document/page-setup.d.ts +339 -0
  172. package/src/features/document/page-setup.js +244 -0
  173. package/src/features/document/paragraph-format.d.ts +880 -0
  174. package/src/features/document/paragraph-format.js +2807 -0
  175. package/src/features/document/paragraph-item-collection.d.ts +162 -0
  176. package/src/features/document/paragraph-item-collection.js +363 -0
  177. package/src/features/document/paragraph-item.d.ts +83 -0
  178. package/src/features/document/paragraph-item.js +103 -0
  179. package/src/features/document/paragraph.d.ts +435 -0
  180. package/src/features/document/paragraph.js +888 -0
  181. package/src/features/document/run.d.ts +1 -0
  182. package/src/features/document/run.js +768 -0
  183. package/src/features/document/section-partition-flatten.d.ts +124 -0
  184. package/src/features/document/section-partition-flatten.js +217 -0
  185. package/src/features/document/section-properties-model.d.ts +13 -0
  186. package/src/features/document/section-properties-model.js +0 -0
  187. package/src/features/document/section.d.ts +93 -0
  188. package/src/features/document/section.js +178 -0
  189. package/src/features/document/sections.d.ts +103 -0
  190. package/src/features/document/sections.js +217 -0
  191. package/src/features/document/sub-super-script.d.ts +23 -0
  192. package/src/features/document/sub-super-script.js +43 -0
  193. package/src/features/document/text-range.d.ts +445 -0
  194. package/src/features/document/text-range.js +1156 -0
  195. package/src/features/document/typed-body-collections.d.ts +162 -0
  196. package/src/features/document/typed-body-collections.js +371 -0
  197. package/src/features/document/underline-style.d.ts +38 -0
  198. package/src/features/document/underline-style.js +126 -0
  199. package/src/features/document/units.d.ts +8 -0
  200. package/src/features/document/units.js +7 -0
  201. package/src/features/document/wml.d.ts +16 -0
  202. package/src/features/document/wml.js +67 -0
  203. package/src/features/drawing/authoring.d.ts +27 -0
  204. package/src/features/drawing/authoring.js +271 -0
  205. package/src/features/drawing/body-pr.d.ts +271 -0
  206. package/src/features/drawing/body-pr.js +663 -0
  207. package/src/features/drawing/drawing-shape.d.ts +1192 -0
  208. package/src/features/drawing/drawing-shape.js +3239 -0
  209. package/src/features/drawing/encode-builders.d.ts +176 -0
  210. package/src/features/drawing/encode-builders.js +390 -0
  211. package/src/features/drawing/fill-format.d.ts +52 -0
  212. package/src/features/drawing/fill-format.js +124 -0
  213. package/src/features/drawing/host-codec.d.ts +632 -0
  214. package/src/features/drawing/host-codec.js +2595 -0
  215. package/src/features/drawing/index.d.ts +13 -0
  216. package/src/features/drawing/index.js +33 -0
  217. package/src/features/drawing/line-format.d.ts +76 -0
  218. package/src/features/drawing/line-format.js +343 -0
  219. package/src/features/drawing/parse-register.d.ts +50 -0
  220. package/src/features/drawing/parse-register.js +257 -0
  221. package/src/features/drawing/residual-utils.d.ts +47 -0
  222. package/src/features/drawing/residual-utils.js +290 -0
  223. package/src/features/drawing/shape-types.d.ts +433 -0
  224. package/src/features/drawing/shape-types.js +437 -0
  225. package/src/features/drawing/sp-pr.d.ts +396 -0
  226. package/src/features/drawing/sp-pr.js +610 -0
  227. package/src/features/drawing/text-frame.d.ts +90 -0
  228. package/src/features/drawing/text-frame.js +152 -0
  229. package/src/features/drawing/types.d.ts +352 -0
  230. package/src/features/drawing/types.js +60 -0
  231. package/src/features/drawing/wrap-format.d.ts +62 -0
  232. package/src/features/drawing/wrap-format.js +114 -0
  233. package/src/features/editable-ranges/index.d.ts +494 -0
  234. package/src/features/editable-ranges/index.js +1348 -0
  235. package/src/features/fields/index.d.ts +428 -0
  236. package/src/features/fields/index.js +2148 -0
  237. package/src/features/fields/paragraph-field.d.ts +187 -0
  238. package/src/features/fields/paragraph-field.js +692 -0
  239. package/src/features/font-table/font-substitution-table.d.ts +75 -0
  240. package/src/features/font-table/font-substitution-table.js +257 -0
  241. package/src/features/font-table/font-table-entry.d.ts +255 -0
  242. package/src/features/font-table/font-table-entry.js +823 -0
  243. package/src/features/font-table/font-table.d.ts +128 -0
  244. package/src/features/font-table/font-table.js +313 -0
  245. package/src/features/font-table/index.d.ts +27 -0
  246. package/src/features/font-table/index.js +48 -0
  247. package/src/features/glossary/index.d.ts +97 -0
  248. package/src/features/glossary/index.js +286 -0
  249. package/src/features/headers-footers/index.d.ts +506 -0
  250. package/src/features/headers-footers/index.js +1666 -0
  251. package/src/features/hyperlinks/index.d.ts +230 -0
  252. package/src/features/hyperlinks/index.js +685 -0
  253. package/src/features/images/caption-authoring-api.d.ts +33 -0
  254. package/src/features/images/caption-authoring-api.js +33 -0
  255. package/src/features/images/caption-enums.d.ts +52 -0
  256. package/src/features/images/caption-enums.js +141 -0
  257. package/src/features/images/caption-host.d.ts +10 -0
  258. package/src/features/images/caption-host.js +21 -0
  259. package/src/features/images/captions.d.ts +13 -0
  260. package/src/features/images/captions.js +142 -0
  261. package/src/features/images/host-codec.d.ts +103 -0
  262. package/src/features/images/host-codec.js +720 -0
  263. package/src/features/images/image-sniff.d.ts +21 -0
  264. package/src/features/images/image-sniff.js +71 -0
  265. package/src/features/images/index.d.ts +506 -0
  266. package/src/features/images/index.js +1429 -0
  267. package/src/features/images/layout-types.d.ts +232 -0
  268. package/src/features/images/layout-types.js +294 -0
  269. package/src/features/images/public-entry.d.ts +9 -0
  270. package/src/features/images/public-entry.js +9 -0
  271. package/src/features/index.d.ts +35 -0
  272. package/src/features/index.js +36 -0
  273. package/src/features/mail-merge/index.d.ts +113 -0
  274. package/src/features/mail-merge/index.js +315 -0
  275. package/src/features/notes/index.d.ts +573 -0
  276. package/src/features/notes/index.js +1725 -0
  277. package/src/features/numbering/abstract-numbering.d.ts +90 -0
  278. package/src/features/numbering/abstract-numbering.js +292 -0
  279. package/src/features/numbering/index.d.ts +182 -0
  280. package/src/features/numbering/index.js +668 -0
  281. package/src/features/numbering/list-format.d.ts +158 -0
  282. package/src/features/numbering/list-format.js +590 -0
  283. package/src/features/numbering/list-string.d.ts +7 -0
  284. package/src/features/numbering/list-string.js +423 -0
  285. package/src/features/numbering/list-style.d.ts +204 -0
  286. package/src/features/numbering/list-style.js +1084 -0
  287. package/src/features/numbering/numbering-instance.d.ts +101 -0
  288. package/src/features/numbering/numbering-instance.js +329 -0
  289. package/src/features/numbering/numbering-level.d.ts +118 -0
  290. package/src/features/numbering/numbering-level.js +501 -0
  291. package/src/features/numbering/picture-bullet.d.ts +34 -0
  292. package/src/features/numbering/picture-bullet.js +88 -0
  293. package/src/features/ole-object/catalog.d.ts +300 -0
  294. package/src/features/ole-object/catalog.js +908 -0
  295. package/src/features/ole-object/index.d.ts +526 -0
  296. package/src/features/ole-object/index.js +1421 -0
  297. package/src/features/ole-object/relationship.d.ts +27 -0
  298. package/src/features/ole-object/relationship.js +27 -0
  299. package/src/features/ole-object/typed-dom.d.ts +186 -0
  300. package/src/features/ole-object/typed-dom.js +595 -0
  301. package/src/features/properties/index.d.ts +205 -0
  302. package/src/features/properties/index.js +549 -0
  303. package/src/features/revisions/index.d.ts +204 -0
  304. package/src/features/revisions/index.js +695 -0
  305. package/src/features/sections/column-collection.d.ts +119 -0
  306. package/src/features/sections/column-collection.js +478 -0
  307. package/src/features/sections/column.d.ts +15 -0
  308. package/src/features/sections/column.js +37 -0
  309. package/src/features/sections/index.d.ts +91 -0
  310. package/src/features/sections/index.js +1096 -0
  311. package/src/features/sections/margins.d.ts +40 -0
  312. package/src/features/sections/margins.js +105 -0
  313. package/src/features/sections/page-number-style.d.ts +21 -0
  314. package/src/features/sections/page-number-style.js +62 -0
  315. package/src/features/sections/page-orientation.d.ts +10 -0
  316. package/src/features/sections/page-orientation.js +10 -0
  317. package/src/features/sections/page-setup.d.ts +435 -0
  318. package/src/features/sections/page-setup.js +1479 -0
  319. package/src/features/sections/page-size.d.ts +59 -0
  320. package/src/features/sections/page-size.js +68 -0
  321. package/src/features/sections/section-break-code.d.ts +27 -0
  322. package/src/features/sections/section-break-code.js +60 -0
  323. package/src/features/sections/section-document-association.d.ts +18 -0
  324. package/src/features/sections/section-document-association.js +31 -0
  325. package/src/features/sections/section-validation.d.ts +43 -0
  326. package/src/features/sections/section-validation.js +97 -0
  327. package/src/features/settings/attached-template.d.ts +35 -0
  328. package/src/features/settings/attached-template.js +98 -0
  329. package/src/features/settings/compat-settings.d.ts +216 -0
  330. package/src/features/settings/compat-settings.js +508 -0
  331. package/src/features/settings/document-background.d.ts +59 -0
  332. package/src/features/settings/document-background.js +131 -0
  333. package/src/features/settings/document-protection.d.ts +65 -0
  334. package/src/features/settings/document-protection.js +157 -0
  335. package/src/features/settings/document-settings-facades.d.ts +108 -0
  336. package/src/features/settings/document-settings-facades.js +312 -0
  337. package/src/features/settings/document-settings-values.d.ts +43 -0
  338. package/src/features/settings/document-settings-values.js +60 -0
  339. package/src/features/settings/footnote-properties.d.ts +211 -0
  340. package/src/features/settings/footnote-properties.js +591 -0
  341. package/src/features/settings/index.d.ts +356 -0
  342. package/src/features/settings/index.js +829 -0
  343. package/src/features/settings/settings-children.d.ts +151 -0
  344. package/src/features/settings/settings-children.js +505 -0
  345. package/src/features/settings/web-settings.d.ts +88 -0
  346. package/src/features/settings/web-settings.js +227 -0
  347. package/src/features/settings/zoom.d.ts +79 -0
  348. package/src/features/settings/zoom.js +147 -0
  349. package/src/features/styles/builtin-catalog.d.ts +159 -0
  350. package/src/features/styles/builtin-catalog.js +963 -0
  351. package/src/features/styles/builtin-resolver.d.ts +49 -0
  352. package/src/features/styles/builtin-resolver.js +165 -0
  353. package/src/features/styles/default-styles.d.ts +37 -0
  354. package/src/features/styles/default-styles.js +186 -0
  355. package/src/features/styles/default-theme.d.ts +13 -0
  356. package/src/features/styles/default-theme.js +13 -0
  357. package/src/features/styles/doc-defaults.d.ts +58 -0
  358. package/src/features/styles/doc-defaults.js +178 -0
  359. package/src/features/styles/formatting-resolver.d.ts +27 -0
  360. package/src/features/styles/formatting-resolver.js +72 -0
  361. package/src/features/styles/index.d.ts +256 -0
  362. package/src/features/styles/index.js +1325 -0
  363. package/src/features/styles/latent-styles.d.ts +68 -0
  364. package/src/features/styles/latent-styles.js +305 -0
  365. package/src/features/styles/paragraph-properties.d.ts +71 -0
  366. package/src/features/styles/paragraph-properties.js +237 -0
  367. package/src/features/styles/run-properties.d.ts +93 -0
  368. package/src/features/styles/run-properties.js +516 -0
  369. package/src/features/styles/style-base.d.ts +402 -0
  370. package/src/features/styles/style-base.js +1026 -0
  371. package/src/features/styles/style-collection.d.ts +264 -0
  372. package/src/features/styles/style-collection.js +714 -0
  373. package/src/features/styles/style-format-bridge.d.ts +64 -0
  374. package/src/features/styles/style-format-bridge.js +100 -0
  375. package/src/features/styles/style.d.ts +84 -0
  376. package/src/features/styles/style.js +375 -0
  377. package/src/features/styles/styles-with-effects.d.ts +71 -0
  378. package/src/features/styles/styles-with-effects.js +180 -0
  379. package/src/features/styles/table-style.d.ts +272 -0
  380. package/src/features/styles/table-style.js +1226 -0
  381. package/src/features/styles/theme.d.ts +126 -0
  382. package/src/features/styles/theme.js +377 -0
  383. package/src/features/tables/border-style-map.d.ts +24 -0
  384. package/src/features/tables/border-style-map.js +81 -0
  385. package/src/features/tables/borders.d.ts +126 -0
  386. package/src/features/tables/borders.js +527 -0
  387. package/src/features/tables/collections.d.ts +113 -0
  388. package/src/features/tables/collections.js +261 -0
  389. package/src/features/tables/format.d.ts +208 -0
  390. package/src/features/tables/format.js +716 -0
  391. package/src/features/tables/index.d.ts +597 -0
  392. package/src/features/tables/index.js +2386 -0
  393. package/src/features/tables/paddings.d.ts +41 -0
  394. package/src/features/tables/paddings.js +97 -0
  395. package/src/features/tables/tbl-pr-positioning.d.ts +27 -0
  396. package/src/features/tables/tbl-pr-positioning.js +178 -0
  397. package/src/features/tables/tbl-pr.d.ts +528 -0
  398. package/src/features/tables/tbl-pr.js +1208 -0
  399. package/src/features/tables/tc-pr.d.ts +168 -0
  400. package/src/features/tables/tc-pr.js +553 -0
  401. package/src/features/tables/tr-pr.d.ts +60 -0
  402. package/src/features/tables/tr-pr.js +215 -0
  403. package/src/features/watermark/detect.d.ts +76 -0
  404. package/src/features/watermark/detect.js +219 -0
  405. package/src/features/watermark/index.d.ts +28 -0
  406. package/src/features/watermark/index.js +91 -0
  407. package/src/features/watermark/logical-store.d.ts +29 -0
  408. package/src/features/watermark/logical-store.js +31 -0
  409. package/src/features/watermark/model.d.ts +285 -0
  410. package/src/features/watermark/model.js +597 -0
  411. package/src/features/watermark/parse.d.ts +84 -0
  412. package/src/features/watermark/parse.js +815 -0
  413. package/src/features/watermark/serialize.d.ts +98 -0
  414. package/src/features/watermark/serialize.js +1517 -0
  415. package/src/global.js +1 -0
  416. package/src/index.d.ts +2 -0
  417. package/src/index.js +2 -0
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * filename: ej2-docx.min.js
3
+ * version : 35.1.40
4
+ * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
10
+ this.ej=this.ej||{},this.ej.docx=function(e){"use strict";function t(e){return void 0===e?lA:{totalUncompressedSize:null!=e.totalUncompressedSize?e.totalUncompressedSize:lA.totalUncompressedSize,compressionRatio:null!=e.compressionRatio?e.compressionRatio:lA.compressionRatio,entryCount:null!=e.entryCount?e.entryCount:lA.entryCount,singlePartUncompressedSize:null!=e.singlePartUncompressedSize?e.singlePartUncompressedSize:lA.singlePartUncompressedSize,xmlNestingDepth:null!=e.xmlNestingDepth?e.xmlNestingDepth:lA.xmlNestingDepth,xmlAttributeCount:null!=e.xmlAttributeCount?e.xmlAttributeCount:lA.xmlAttributeCount,textNodeLength:null!=e.textNodeLength?e.textNodeLength:lA.textNodeLength,relationshipCountPerPart:null!=e.relationshipCountPerPart?e.relationshipCountPerPart:lA.relationshipCountPerPart}}function r(e){if(!e.startsWith("&"))throw new eA("xml/malformed","Expected entity reference");var t=e.pos;if(e.advance(),e.startsWith("#x")||e.startsWith("#X")){e.advance(2);for(var r="";!e.eof()&&/[0-9a-fA-F]/.test(e.peek());)r+=e.peek(),e.advance();if(!e.startsWith(";")||0===r.length)throw new eA("xml/malformed","Invalid numeric character reference");e.advance();var n=Number.parseInt(r,16);return String.fromCodePoint(n)}if(e.startsWith("#")){e.advance();for(var i="";!e.eof()&&/[0-9]/.test(e.peek());)i+=e.peek(),e.advance();if(!e.startsWith(";")||0===i.length)throw new eA("xml/malformed","Invalid numeric character reference");return e.advance(),String.fromCodePoint(Number.parseInt(i,10))}for(var o=e.pos;!e.eof()&&/[A-Za-z]/.test(e.peek());)e.advance();var a=e.source.slice(o,e.pos);if(!e.startsWith(";"))throw new eA("xml/malformed","Unterminated entity at "+String(t));switch(e.advance(),a){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'";default:throw new eA("xml/dtd-forbidden","Unknown entity &"+a+"; — DTD-defined entities are not resolved")}}function n(e){var t=e.pos;if(e.eof()||!/[:A-Za-z_]/.test(e.peek()))throw new eA("xml/malformed","Invalid XML name at "+String(t));for(e.advance();!e.eof()&&/[:A-Za-z0-9._-]/.test(e.peek());)e.advance();return e.source.slice(t,e.pos)}function i(e){var t=e.indexOf(":");return-1===t?{prefix:"",localName:e}:{prefix:e.slice(0,t),localName:e.slice(t+1)}}function o(e,t){if("xml"===e)return sA;if("xmlns"===e)return uA;if(""===e)return t.defaultUri;var r=t.prefixes.get(e);if(void 0===r)throw new eA("xml/malformed","Unbound namespace prefix "+e);return r}function a(e,t){var n=e.peek();if('"'!==n&&"'"!==n)throw new eA("xml/malformed","Attribute value must be quoted");e.advance();for(var i="";!e.eof()&&e.peek()!==n;){if("<"===e.peek())throw new eA("xml/malformed","Raw < in attribute value");if("&"===e.peek()?i+=r(e):(i+=e.peek(),e.advance()),i.length>t.textNodeLength)throw new tA("security/limit-exceeded","Attribute value exceeds the text length limit")}if(e.peek()!==n)throw new eA("xml/malformed","Unterminated attribute value");return e.advance(),i}function l(e){if(e.startsWith("\x3c!--")){if(e.advance(4),-1===(t=e.source.indexOf("--\x3e",e.pos)))throw new eA("xml/malformed","Unterminated comment");return void(e.pos=t+3)}if(e.startsWith("<?")){e.advance(2);var t=e.source.indexOf("?>",e.pos);if(-1===t)throw new eA("xml/malformed","Unterminated processing instruction");return void(e.pos=t+2)}}function s(e,t,r,l){var s,c,d,h;if(r>l.xmlNestingDepth)throw new tA("security/limit-exceeded","XML nesting depth exceeds "+String(l.xmlNestingDepth));if(!e.startsWith("<"))throw new eA("xml/malformed","Expected < to start an element");if(e.advance(),e.startsWith("/"))throw new eA("xml/malformed","Unexpected end tag");var f=n(e),p=[];for(e.skipWhitespace();!e.eof()&&">"!==e.peek()&&"/"!==e.peek();){var v=n(e);if(e.skipWhitespace(),"="!==e.peek())throw new eA("xml/malformed","Expected = after attribute "+v);e.advance(),e.skipWhitespace();var m=a(e,l);if(p.push({qname:v,value:m}),p.length>l.xmlAttributeCount)throw new tA("security/limit-exceeded","XML attribute count exceeds the limit");e.skipWhitespace()}var y=[],g=t.defaultUri,b=new Map(t.prefixes);try{for(var w=hA(p),P=w.next();!P.done;P=w.next())if("xmlns"===(O=P.value).qname)g=O.value,y.push({prefix:"",namespaceUri:O.value});else if(O.qname.startsWith("xmlns:")){var S=O.qname.slice("xmlns:".length);b.set(S,O.value),y.push({prefix:S,namespaceUri:O.value})}}catch(e){s={error:e}}finally{try{P&&!P.done&&(c=w.return)&&c.call(w)}finally{if(s)throw s.error}}var x={defaultUri:g,prefixes:b},C=i(f),I=C.prefix,V=C.localName,T=o(I,x),k=[];try{for(var F=hA(p),D=F.next();!D.done;D=F.next()){var O=D.value;if("xmlns"!==O.qname&&!O.qname.startsWith("xmlns:")){var N=i(O.qname);k.push({prefix:N.prefix,localName:N.localName,namespaceUri:""===N.prefix?"":o(N.prefix,x),value:O.value})}}}catch(e){d={error:e}}finally{try{D&&!D.done&&(h=F.return)&&h.call(F)}finally{if(d)throw d.error}}var A=!1;if(e.startsWith("/>"))A=!0,e.advance(2);else{if(!e.startsWith(">"))throw new eA("xml/malformed","Unterminated start tag "+f);e.advance()}var E=[];return A||u(e,x,r+1,l,f,E),{kind:"element",namespaceUri:T,localName:V,prefix:I,attributes:k,namespaceDeclarations:y,children:E}}function u(e,t,i,o,a,u){for(;!e.eof();){if(e.startsWith("</")){e.advance(2);var c=n(e);if(e.skipWhitespace(),!e.startsWith(">"))throw new eA("xml/malformed","Unterminated end tag");if(e.advance(),c!==a)throw new eA("xml/malformed","Mismatched end tag </"+c+"> for <"+a+">");return}if(e.startsWith("\x3c!--")||e.startsWith("<?"))l(e);else if(e.startsWith("<![CDATA[")){e.advance(9);var d=e.source.indexOf("]]>",e.pos);if(-1===d)throw new eA("xml/malformed","Unterminated CDATA");var h=e.source.slice(e.pos,d);if(h.length>o.textNodeLength)throw new tA("security/limit-exceeded","CDATA exceeds the text length limit");e.pos=d+3,u.push({kind:"text",value:h})}else if(e.startsWith("<"))u.push(s(e,t,i,o));else{for(var f="";!e.eof()&&"<"!==e.peek();)if("&"===e.peek()?f+=r(e):(f+=e.peek(),e.advance()),f.length>o.textNodeLength)throw new tA("security/limit-exceeded","Text node exceeds the text length limit");f.length>0&&u.push({kind:"text",value:f})}}throw new eA("xml/malformed","Missing end tag for <"+a+">")}function c(e){if(e.length>=2){if(255===e[0]&&254===e[1])return new TextDecoder("utf-16le").decode(e);if(254===e[0]&&255===e[1])return new TextDecoder("utf-16be").decode(e)}return new TextDecoder("utf-8").decode(e)}function d(e,r){var n=t(r),i=65279===e.charCodeAt(0)?e.slice(1):e;if(/<!DOCTYPE/i.test(i)||/<!ENTITY/i.test(i))throw new eA("xml/dtd-forbidden","DTD and ENTITY declarations are disabled");var o=new fA(i);for(o.skipWhitespace();o.startsWith("<?")||o.startsWith("\x3c!--");)l(o),o.skipWhitespace();var a=s(o,{defaultUri:"",prefixes:new Map},1,n);if(o.skipWhitespace(),!o.eof())throw new eA("xml/malformed","Trailing content after the document element");return a}function h(e,t,r){return e.split(t).join(r)}function f(e){return h(h(h(e,"&","&amp;"),"<","&lt;"),">","&gt;")}function p(e){return h(f(e),'"',"&quot;")}function v(e){return""===e.prefix?e.localName:e.prefix+":"+e.localName}function m(e){return"text"===e.kind?f(e.value):y(e)}function y(e){var t,r,n,i,o,a,l=""===e.prefix?e.localName:e.prefix+":"+e.localName,s=["<",l];try{for(var u=pA(e.namespaceDeclarations),c=u.next();!c.done;c=u.next()){var d=c.value;""===d.prefix?s.push(' xmlns="',p(d.namespaceUri),'"'):s.push(" xmlns:",d.prefix,'="',p(d.namespaceUri),'"')}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}try{for(var h=pA(e.attributes),f=h.next();!f.done;f=h.next()){var y=f.value,g=y.namespaceUri===sA&&""===y.prefix?"xml:"+y.localName:v(y);s.push(" ",g,'="',p(y.value),'"')}}catch(e){n={error:e}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}if(0===e.children.length)return s.push("/>"),s.join("");s.push(">");try{for(var b=pA(e.children),w=b.next();!w.done;w=b.next()){var P=w.value;s.push(m(P))}}catch(e){o={error:e}}finally{try{w&&!w.done&&(a=b.return)&&a.call(b)}finally{if(o)throw o.error}}return s.push("</",l,">"),s.join("")}function g(e){for(var t=4294967295,r=0;r<e.length;r+=1){var n=e[r];if(void 0===n)break;var i=vA[255&(t^n)];if(void 0===i)break;t=i^t>>>8}return(4294967295^t)>>>0}function b(e){var t=e.bits(5)+257,r=e.bits(5)+1,n=e.bits(4)+4;if(t>286||r>30)throw new Error("Invalid DEFLATE dynamic Huffman header");for(var i=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],o=[],a=0;a<19;a++)o[a]=0;for(a=0;a<n;a++)o[i[a]]=e.bits(3);for(var l=new IA(o),s=[];s.length<t+r;){var u=l.decode(e);if(u<16)s.push(u);else{var c=0,d=0;if(16===u){if(0===s.length)throw new Error("Invalid DEFLATE length repeat");d=s[s.length-1],c=e.bits(2)+3}else c=17===u?e.bits(3)+3:e.bits(7)+11;if(s.length+c>t+r)throw new Error("Invalid DEFLATE length repeat");for(a=0;a<c;a++)s.push(d)}}return{literal:new IA(s.slice(0,t)),distance:new IA(s.slice(t))}}function w(e,t,r,n){for(;;){var i=r.decode(e);if(i<256)t.push(i);else{if(256===i)return;if(i>285)throw new Error("Invalid DEFLATE length symbol");var o=i-257,a=wA[o]+e.bits(PA[o]),l=n.decode(e);if(l>29)throw new Error("Invalid DEFLATE distance symbol");var s=SA[l]+e.bits(xA[l]);t.copy(s,a)}}}function P(e,t){var r=new CA(e),n=new kA(t),i=0;do{i=r.bits(1);var o=r.bits(2);if(0===o){var a=r.u16();if((65535^a)!==r.u16())throw new Error("Invalid DEFLATE stored-block length");for(var l=r.bytes(a),s=0;s<l.length;s++)n.push(l[s])}else if(1===o)w(r,n,VA,TA);else{if(2!==o)throw new Error("Invalid DEFLATE block type");var u=b(r);w(r,n,u.literal,u.distance)}}while(0===i);return n.finish()}function S(e){var t,r;if(0===e.length)throw new QN("package/invalid-part-name","ZIP item name is empty");if(e.includes("\0"))throw new QN("package/invalid-part-name","ZIP item name contains a NUL");var n=e.split("\\").join("/");if(n.startsWith("/")||e.startsWith("\\"))throw new QN("package/invalid-part-name","ZIP item name is an absolute path: "+e);if(/^[a-zA-Z]:/.test(e))throw new QN("package/invalid-part-name","ZIP item name has a drive letter: "+e);if(n.startsWith("//"))throw new QN("package/invalid-part-name","ZIP item name is a UNC path: "+e);var i=n.split("/");try{for(var o=FA(i),a=o.next();!a.done;a=o.next())if(".."===a.value)throw new QN("package/invalid-part-name","ZIP item name contains '..': "+e)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}function x(e){if(e.length<_A.length)return!1;for(var t=0;t<_A.length;t+=1)if(e[t]!==_A[t])return!1;return!0}function C(e,t){if(e.length<2*t.length)return!1;e:for(var r=0;r<=e.length-2*t.length;r+=1){for(var n=0;n<t.length;n+=1){var i=e[r+2*n],o=e[r+2*n+1];if(i!==t.charCodeAt(n)||0!==o)continue e}return!0}return!1}function I(e){var t,r,n=[512,_A.length];try{for(var i=DA(n),o=i.next();!o.done;o=i.next()){var a=o.value;if(!(e.length<a+2)&&new DataView(e.buffer,e.byteOffset+a,2).getUint16(0,!0)===jA)return!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return!1}function V(e){var t=C(e,"WordDocument"),r=I(e),n=C(e,"EncryptedPackage"),i=C(e,"EncryptionInfo");if((t||r)&&!n&&!i)throw new QN("package/invalid-zip","Input is a legacy binary Word document (OLE compound / .doc), not an OPC ZIP (.docx). Binary DOC is out of scope.");if(n||i)throw new QN("package/encrypted","Input is an encrypted Office package (OLE compound / [MS-OFFCRYPTO]), not an OPC ZIP");throw new QN("package/invalid-zip","Input is an OLE compound file, not an OPC ZIP (.docx)")}function T(e){var t=e.byteLength;if(t<22)throw new QN("package/invalid-zip","Buffer is too small to be a ZIP archive");for(var r=Math.max(0,t-22-65535),n=t-22;n>=r;n-=1)if(e.getUint32(n,!0)===OA&&n+22+e.getUint16(n+20,!0)===t)return n;throw new QN("package/invalid-zip","ZIP end-of-central-directory signature not found")}function k(e,t){return new TextDecoder(t?"utf-8":"latin1").decode(e)}function F(e,t,r,n){var i=t+r;if(t<0||i>e.length)throw new QN("package/invalid-zip","Truncated ZIP "+n);return e.subarray(t,i)}function D(e,t,r,n,i){var o=Math.min(r.singlePartUncompressedSize,n,0===e.length?r.singlePartUncompressedSize:e.length*r.compressionRatio);if(o<=0)throw new tA("security/total-uncompressed","Total uncompressed size limit hit at "+i);if(t===EA){if(e.length>r.singlePartUncompressedSize)throw new tA("security/part-size","Uncompressed entry "+i+" exceeds the single-part limit");if(e.length>n)throw new tA("security/total-uncompressed","Total uncompressed size limit hit at "+i);return e.slice()}if(t!==LA)throw new QN("package/invalid-zip","ZIP item "+i+" uses compression method "+String(t)+"; OPC allows only STORE and DEFLATE (ECMA-376-2 §7.3.6)");try{var a=P(e,o);if(a.length>r.singlePartUncompressedSize)throw new tA("security/part-size","Uncompressed entry "+i+" exceeds the single-part limit");if(e.length>0&&a.length/e.length>r.compressionRatio)throw new tA("security/zip-bomb","Inflate ratio exceeded for "+i);return a}catch(t){if(t instanceof tA||t instanceof QN)throw t;if(t instanceof RangeError){if(o===n&&n<r.singlePartUncompressedSize)throw new tA("security/total-uncompressed","Total uncompressed size limit hit at "+i,{cause:t});if(o===e.length*r.compressionRatio)throw new tA("security/zip-bomb","Inflate ratio exceeded for "+i,{cause:t});throw new tA("security/part-size","Uncompressed entry "+i+" exceeds the single-part limit (raise ResourceLimits.singlePartUncompressedSize to load large documents)",{cause:t})}throw new QN("package/invalid-zip","DEFLATE stream is invalid for "+i,{cause:t})}}function O(e,r){var n=t(r);x(e)&&V(e);var i=new DataView(e.buffer,e.byteOffset,e.byteLength),o=T(i),a=i.getUint16(o+4,!0),l=i.getUint16(o+6,!0),s=i.getUint16(o+8,!0),u=i.getUint16(o+10,!0),c=i.getUint32(o+12,!0),d=i.getUint32(o+16,!0);if(0!==a||0!==l||s!==u)throw new QN("package/invalid-zip","Multi-disk ZIP archives are not supported");if(65535===u||4294967295===d||4294967295===c)throw new QN("package/invalid-zip","ZIP64 archives are not supported in this ZIP reader");if(u>n.entryCount)throw new tA("security/entry-count","ZIP entry count "+String(u)+" exceeds the limit");if(d+c>e.length)throw new QN("package/invalid-zip","Central directory is truncated");for(var h=new Map,f=[],p=d,v=0,m=0;m<u;m+=1){if(i.getUint32(p,!0)!==NA)throw new QN("package/invalid-zip","Central directory file header signature missing");var y=i.getUint16(p+8,!0),b=i.getUint16(p+10,!0),w=i.getUint32(p+16,!0),P=i.getUint32(p+20,!0);i.getUint32(p+24,!0);var C=i.getUint16(p+28,!0),I=i.getUint16(p+30,!0),O=i.getUint16(p+32,!0),N=i.getUint32(p+42,!0),A=k(F(e,p+46,C,"item name"),0!=(y&BA));if(p+=46+C+I+O,0!=(y&RA))throw new QN("package/encrypted","ZIP item "+A+" is encrypted; OPC ZIP encryption is forbidden (ECMA-376-2 §7.3.6)");S(A);var E=A.toLowerCase(),L=h.get(E);if(void 0!==L)throw new QN("package/duplicate-zip-entry","Duplicate ZIP item name "+A+" (conflicts with "+L+")");if(h.set(E,A),i.getUint32(N,!0)!==AA)throw new QN("package/invalid-zip","Local file header missing for "+A);var R=D(F(e,N+30+i.getUint16(N+26,!0)+i.getUint16(N+28,!0),P,"payload for "+A),b,n,n.totalUncompressedSize-v,A);if(g(R)!==w)throw new QN("package/invalid-zip","CRC-32 mismatch for "+A);if((v+=R.byteLength)>n.totalUncompressedSize)throw new tA("security/total-uncompressed","Total uncompressed size limit hit at "+A);f.push({name:A,data:R})}return f}function N(e){var t,r,n,i,o=0;try{for(var a=MA(e),l=a.next();!l.done;l=a.next())o+=(h=l.value).byteLength}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}var s=new Uint8Array(o),u=0;try{for(var c=MA(e),d=c.next();!d.done;d=c.next()){var h=d.value;s.set(h,u),u+=h.byteLength}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return s}function A(e){var t=new Uint8Array(2);return new DataView(t.buffer).setUint16(0,e,!0),t}function E(e){var t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),t}function L(e){var t,r,n,i,o=new TextEncoder,a=new Map,l=[];try{for(var s=MA(e),u=s.next();!u.done;u=s.next()){var c=u.value;if(S(c.name),!/^[\u0020-\u007e]+$/.test(c.name))throw new QN("package/invalid-part-name","ZIP item name is not ASCII as required by ECMA-376-2 §7.3.3: "+c.name);var d=c.name.toLowerCase(),h=a.get(d);if(void 0!==h)throw new QN("package/duplicate-zip-entry","Duplicate ZIP item name "+c.name+" (conflicts with "+h+")");a.set(d,c.name),l.push({nameBytes:o.encode(c.name),name:c.name,data:c.data,crc:g(c.data)})}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}if(l.length>65535)throw new QN("package/invalid-zip","Too many ZIP entries to encode in a non-ZIP64 archive");var f=[],p=[],v=0;try{for(var m=MA(l),y=m.next();!y.done;y=m.next()){var b=y.value,w=N([E(HA),A(XA),A(0),A(qA),A(0),A(0),E(b.crc),E(b.data.byteLength),E(b.data.byteLength),A(b.nameBytes.byteLength),A(0),b.nameBytes,b.data]);f.push(w);var P=N([E(WA),A(XA),A(XA),A(0),A(qA),A(0),A(0),E(b.crc),E(b.data.byteLength),E(b.data.byteLength),A(b.nameBytes.byteLength),A(0),A(0),A(0),A(0),E(0),E(v),b.nameBytes]);p.push(P),v+=w.byteLength}}catch(e){n={error:e}}finally{try{y&&!y.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}var x=N(p),C=N([E(GA),A(0),A(0),A(l.length),A(l.length),E(x.byteLength),E(v),A(0)]);return N(UA(f,[x,C]))}function R(e){return"Types"===e.localName&&e.namespaceUri===KA}function B(e){return e.children.filter(function(e){return"element"===e.kind})}function _(e,t,r){var n=e.attributes.find(function(e){return e.localName===t&&""===e.namespaceUri});if(void 0===n||0===n.value.length)throw new QN("package/invalid-content-types",r+" is missing "+t);return n.value}function j(e){var t,r,n=d(e);if(!R(n))throw new QN("package/invalid-content-types","Expected Types in "+KA+", found {"+n.namespaceUri+"}"+n.localName);var i=[];try{for(var o=YA(B(n)),a=o.next();!a.done;a=o.next()){var l=a.value;l.namespaceUri===KA?"Default"!==l.localName?"Override"!==l.localName?i.push({kind:"opaque",xml:l}):i.push({kind:"override",partName:_(l,"PartName","Override"),contentType:_(l,"ContentType","Override")}):i.push({kind:"default",extension:_(l,"Extension","Default"),contentType:_(l,"ContentType","Default")}):i.push({kind:"opaque",xml:l})}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return{records:i}}function M(e){var t=e.find(function(e){return e.name===ZA});if(void 0===t)throw new QN("package/missing-part","ZIP item "+ZA+" is required (ECMA-376-2 §7.3.7)");return j(new TextDecoder("utf-8").decode(t.data))}function z(e,t){var r=e.records.find(function(e){return"override"===e.kind&&e.partName===t});if(void 0!==r&&"override"===r.kind)return r.contentType;var n=t.lastIndexOf("/"),i=-1===n?t:t.slice(n+1),o=i.lastIndexOf(".");if(!(o<=0||o===i.length-1)){var a=i.slice(o+1),l=e.records.find(function(e){return"default"===e.kind&&e.extension.toLowerCase()===a.toLowerCase()});return void 0!==l&&"default"===l.kind?l.contentType:void 0}}function U(e){return void 0===e&&(e="/word/document.xml"),{records:[{kind:"default",extension:"rels",contentType:$A},{kind:"default",extension:"xml",contentType:"application/xml"},{kind:"override",partName:e,contentType:JA}]}}function H(e){var t=e.records.map(function(e){return"opaque"===e.kind?e.xml:"default"===e.kind?{kind:"element",namespaceUri:KA,localName:"Default",prefix:"",attributes:[{namespaceUri:"",localName:"Extension",prefix:"",value:e.extension},{namespaceUri:"",localName:"ContentType",prefix:"",value:e.contentType}],namespaceDeclarations:[],children:[]}:{kind:"element",namespaceUri:KA,localName:"Override",prefix:"",attributes:[{namespaceUri:"",localName:"PartName",prefix:"",value:e.partName},{namespaceUri:"",localName:"ContentType",prefix:"",value:e.contentType}],namespaceDeclarations:[],children:[]}});return y({kind:"element",namespaceUri:KA,localName:"Types",prefix:"",attributes:[],namespaceDeclarations:[{prefix:"",namespaceUri:KA}],children:t})}function W(e){return e.toLowerCase()}function G(e){var t,r;if(e.includes("\0"))throw new QN("package/invalid-part-name","Part name contains a NUL");if(e.includes("\\"))throw new QN("package/invalid-part-name","Part name contains a backslash: "+e);if(!e.startsWith("/"))throw new QN("package/invalid-part-name","OPC part names begin with '/': "+e);if("/"===e)throw new QN("package/invalid-part-name","Part name must have at least one segment");if(e.endsWith("/"))throw new QN("package/invalid-part-name","Part name must not end with '/': "+e);var n=e.slice(1).split("/");try{for(var i=QA(n),o=i.next();!o.done;o=i.next()){var a=o.value;if(0===a.length)throw new QN("package/invalid-part-name","Part name has an empty segment: "+e);if("."===a||".."===a)throw new QN("package/invalid-part-name","Part name contains a '.' or '..' segment: "+e);if(a.endsWith("."))throw new QN("package/invalid-part-name","OPC forbids a path segment that ends with '.': "+e);if(/^[a-zA-Z]:/.test(a))throw new QN("package/invalid-part-name","Part name has a drive letter: "+e);if(/%2f/i.test(a)||/%5c/i.test(a))throw new QN("package/invalid-part-name","Part name has a percent-encoded slash: "+e)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}if(!/^[\u0020-\u007e]+$/.test(e))throw new QN("package/invalid-part-name","Phase 1 part names are ASCII (ECMA-376-2 §7.3.3 ZIP mapping): "+e)}function q(e){return G(e),e}function X(e){return q("/"+e.split("\\").join("/"))}function Y(e){return e.slice(1)}function Z(e,t){return W(e)===W(t)}function K(e,t){var r=W(e),n=W(t);return r.startsWith(n+"/")}function J(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(void 0!==r)for(var n=t+1;n<e.length;n+=1){var i=e[n];if(void 0!==i){if(Z(r,i))throw new QN("package/duplicate-zip-entry","Equivalent part names in one package: "+r+" and "+i+" (ECMA-376-2 §6.2.2.3)");if(K(r,i)||K(i,r))throw new QN("package/invalid-part-name","Part name "+r+" is derivable from "+i+" (ECMA-376-2 §6.2.2.3)")}}}}function $(e){var t=e.split("/").filter(function(e){return e.length>0});if(t.length<2)return!1;var r=t[t.length-1],n=t[t.length-2];return void 0!==r&&void 0!==n&&("_rels"===n.toLowerCase()&&r.toLowerCase().endsWith(eE))}function Q(e){return Z(e,"/_rels/.rels")}function ee(){return q("/_rels/.rels")}function te(e){var t=e.lastIndexOf("/"),r=e.slice(0,t),n=e.slice(t+1);return q((""===r?"/_rels":r+"/_rels")+"/"+n+eE)}function re(e){if(!$(e))throw new QN("package/invalid-part-name","Not a Relationships part: "+e);if(!Q(e)){var t=e.split("/"),r=t[t.length-1];if(void 0===r||!r.toLowerCase().endsWith(eE))throw new QN("package/invalid-part-name","Relationships part name is malformed: "+e);var n=r.slice(0,r.length-eE.length);return q(t.slice(0,-2).join("/")+"/"+n)}}function ne(e){var t=e.lastIndexOf("/");return t<=0?"/":e.slice(0,t)+"/"}function ie(e,t){var r=e.trim();if(0===r.length)throw new QN("package/invalid-part-name","Internal relationship Target is empty");if(/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(r))throw new QN("package/invalid-part-name","Internal relationship Target is not a package-relative reference: "+e);var n;if(r.startsWith("/"))n=r;else{var i=void 0===t?"/":ne(t);n=new URL(r,"https://opc.invalid"+i).pathname}var o;try{o=decodeURIComponent(n)}catch(t){throw new QN("package/invalid-part-name","Internal Target is not a valid URI path: "+e)}return q(o)}function oe(e){if(!uE.test(e))throw new QN("package/invalid-relationship-id","Relationship Id is not a valid xsd:ID token: "+e);return e}function ae(e){for(var t=1;e.has("rId"+String(t));)t+=1;return oe("rId"+String(t))}function le(e){return e===aE||e===lE}function se(e){return e.children.filter(function(e){return"element"===e.kind})}function ue(e,t){var r=e.attributes.find(function(e){return e.localName===t&&""===e.namespaceUri});return null==r?void 0:r.value}function ce(e,t){var r=ue(e,t);if(void 0===r||0===r.length)throw new QN("package/invalid-relationships","Relationship is missing "+t);return r}function de(e){if(void 0!==e){if(e===sE.Internal||e===sE.External)return e;throw new QN("package/invalid-relationships","TargetMode must be Internal or External (opc-relationships.xsd ST_TargetMode), got "+e)}}function he(e,t){var r,n,i,o,a=(i=null==t?void 0:t.relationshipCountLimit,null!=i?i:lA.relationshipCountPerPart),l=(o=null==t?void 0:t.sourceLabel,null!=o?o:"Relationships part"),s=d(e);if("Relationships"!==s.localName||s.namespaceUri!==oE)throw new QN("package/invalid-relationships","Expected Relationships in "+oE+", found {"+s.namespaceUri+"}"+s.localName);var u=[],c=[],h=new Set,f=0;try{for(var p=rE(se(s)),v=p.next();!v.done;v=p.next())!function(e){if(e.namespaceUri!==oE||"Relationship"!==e.localName)return c.push(e),"continue";if((f+=1)>a)throw new tA("security/relationship-count","Relationship count exceeds "+String(a)+" on "+l);var t=oe(ce(e,"Id"));if(h.has(t))throw new QN("package/invalid-relationships","Duplicate Relationship Id "+t+" in "+l+" (xsd:ID uniqueness)");h.add(t);var r=new Set(["Id","Type","Target","TargetMode"]),n=e.attributes.filter(function(e){return""!==e.namespaceUri||!r.has(e.localName)}),i=de(ue(e,"TargetMode")),o=tE({id:t,type:ce(e,"Type"),target:ce(e,"Target"),extraAttributes:n,children:e.children},void 0===i?{}:{targetMode:i});u.push(o)}(v.value)}catch(e){r={error:e}}finally{try{v&&!v.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}return{items:u,opaque:c}}function fe(e){var t=iE(e.items.map(function(e){var t=[{namespaceUri:"",localName:"Id",prefix:"",value:e.id},{namespaceUri:"",localName:"Type",prefix:"",value:e.type},{namespaceUri:"",localName:"Target",prefix:"",value:e.target}];return void 0!==e.targetMode&&t.push({namespaceUri:"",localName:"TargetMode",prefix:"",value:e.targetMode}),t.push.apply(t,iE(e.extraAttributes)),{kind:"element",namespaceUri:oE,localName:"Relationship",prefix:"",attributes:t,namespaceDeclarations:[],children:e.children}}),e.opaque);return y({kind:"element",namespaceUri:oE,localName:"Relationships",prefix:"",attributes:[],namespaceDeclarations:[{prefix:"",namespaceUri:oE}],children:t})}function pe(e){return e.items.find(function(e){return le(e.type)})}function ve(){return{items:[],opaque:[]}}function me(e,t){void 0===t&&(t=[]);var r,n,i=new Set;try{for(var o=rE(e),a=o.next();!a.done;a=o.next()){var l=a.value;if(i.has(l.id))throw new QN("package/invalid-relationships","Duplicate Relationship Id "+l.id);i.add(l.id)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return{items:e,opaque:t}}function ye(e){return pE.encode(e)}function ge(e){return vE.decode(e)}function be(e,t){var r=W(t);return e.find(function(e){return W(e.name)===r})}function we(e,t){var r,n=W(t);return r=e.find(function(e){return W(e.source)===n}),null==r?void 0:r.relationships}function Pe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><w:document xmlns:w="'+cA+'"><w:body/></w:document>'}function Se(e){var t,r,n,i=q("/word/document.xml"),o=(t=null==e?void 0:e.documentXml,null!=t?t:ye(Pe())),a={id:oe("rId1"),type:aE,target:"word/document.xml",extraAttributes:[],children:[]},l=(r=null==e?void 0:e.extraPackageRelationships,null!=r?r:[]),s=me(hE([a],l)),u=(n=null==e?void 0:e.extraParts,null!=n?n:[]),c=hE([{name:i,contentType:JA,data:o}],u);return J(c.map(function(e){return e.name})),{contentTypes:U(i),packageRelationships:s,parts:c,partRelationships:[]}}function xe(e){var t=pe(e.packageRelationships);if(void 0===t)throw new QN("package/missing-part","Package Relationships part has no officeDocument relationship (ECMA-376-1 §11.2)");if(t.targetMode===sE.External)throw new QN("package/missing-part","officeDocument relationship must not use TargetMode External");return ie(t.target)}function Ce(e,t,r){return he(ge(e),{sourceLabel:t,relationshipCountLimit:r})}function Ie(e,r){var n,i,o,a,l=t(r),s=O(e,r),u=M(s),c=[],d=[];try{for(var h=fE(s),f=h.next();!f.done;f=h.next()){var p=f.value;if(p.name!==ZA&&!p.name.endsWith("/")){var v=X(p.name);if($(v)){var m=Ce(p.data,p.name,l.relationshipCountPerPart);if(Q(v))a=m;else{var y=re(v);if(void 0===y)throw new QN("package/invalid-relationships","Could not invert Relationships part "+v);d.push({source:y,relationships:m})}}else{var g=(o=z(u,v),null!=o?o:"application/octet-stream");c.push({name:v,contentType:g,data:p.data})}}}}catch(e){n={error:e}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}if(void 0===a)throw new QN("package/missing-part","Missing package Relationships part "+Y(ee()));J(c.map(function(e){return e.name}));var b={contentTypes:u,packageRelationships:a,parts:c,partRelationships:d},w=xe(b);if(void 0===be(c,w))throw new QN("package/missing-part","officeDocument target part "+w+" is not in the package");return b}function Ve(e){var t,r,n=[],i=function(e){var t,r;try{for(var i=fE(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;a.targetMode===sE.External&&n.push(a.target)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}};i(e.packageRelationships);try{for(var o=fE(e.partRelationships),a=o.next();!a.done;a=o.next())i(a.value.relationships)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n}function Te(e){var t,r,n,i;xe(e);var o=[{name:ZA,data:ye(H(e.contentTypes))},{name:Y(ee()),data:ye(fe(e.packageRelationships))}],a=new Set(o.map(function(e){return e.name.toLowerCase()})),l=function(e,t){var r=e.toLowerCase();if(a.has(r))throw new QN("package/duplicate-zip-entry","Duplicate ZIP item on save: "+e);a.add(r),o.push({name:e,data:t})};try{for(var s=fE(e.parts),u=s.next();!u.done;u=s.next()){var c=u.value;l(Y(c.name),c.data)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}try{for(var d=fE(e.partRelationships),h=d.next();!h.done;h=d.next()){var f=h.value;0===f.relationships.items.length&&0===f.relationships.opaque.length||l(Y(te(f.source)),ye(fe(f.relationships)))}}catch(e){n={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}return L(o)}function ke(e,t){return be(e.parts,t)}function Fe(e,t){var r;return r=we(e.partRelationships,t),null!=r?r:ve()}function De(e,t,r){var n=W(t),i=e.parts.findIndex(function(e){return W(e.name)===n});if(i<0)throw new QN("package/invalid-part-name","Part not in package: "+t);var o=e.parts.map(function(e,t){return t===i?{name:e.name,contentType:e.contentType,data:r}:e});return cE({},e,{parts:o})}function Oe(e,t,r){var n=W(t),i=e.findIndex(function(e){return W(e.source)===n});if(i<0)return hE(e,[{source:t,relationships:r}]);var o=hE(e);return o[i]={source:t,relationships:r},o}function Ne(e,t,r){var n=e.records.map(function(e){return"override"===e.kind&&e.partName===t?{kind:"override",partName:t,contentType:r}:e});return n.some(function(e){return"override"===e.kind&&e.partName===t})||n.push({kind:"override",partName:t,contentType:r}),{records:n}}function Ae(e,t){var r=W(t.name),n=e.parts.findIndex(function(e){return W(e.name)===r});if(n>=0){var i=e.parts.map(function(e,r){return r===n?t:e});return cE({},e,{parts:i})}var o=hE(e.parts,[t]);return cE({},e,{parts:o})}function Ee(e,t,r){return cE({},e,{contentTypes:Ne(e.contentTypes,t,r)})}function Le(e,t,r){return cE({},e,{partRelationships:Oe(e.partRelationships,t,r)})}function Re(e,t){return cE({},e,{packageRelationships:t})}function Be(e){if(0===e.length||!/^[a-z][a-z0-9-]*$/.test(e))throw new $N("feature/invalid-id","Invalid feature id: "+e);return e}function _e(){mE.clear()}function je(e){mE.set(e.id,e)}function Me(e){var t=mE.get(e);if(void 0===t)throw new $N("feature/not-registered","Feature is not registered: "+e);return t}function ze(e){return mE.has(e)}function Ue(){return{assertAttachedParagraph:function(){},owningDocument:function(){throw new iA("This content is not in a document")}}}function He(){yE.clear()}function We(e){yE.set(e.wmlLocalName,e)}function Ge(e,t){var r=yE.get(e.localName);if(void 0!==r){var n=r.tryParse(e,t);if(void 0!==n)return{type:"feature",featureId:r.featureId,value:n}}}function qe(e){return e.value.toOpenXml()}function Xe(){SE.length=0}function Ye(e){SE.push(e)}function Ze(){return SE}function Ke(e,t,r){var n,i,o=Fe(e,t);try{for(var a=bE(o.items),l=a.next();!l.done;l=a.next()){var s=l.value;if(-1!==r.indexOf(s.type)&&s.targetMode!==sE.External)return ke(e,ie(s.target,t))}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}function Je(e,t,r){var n,i,o=new Map,a={mainPartName:t,limits:r};try{for(var l=bE(SE),s=l.next();!s.done;s=l.next()){var u=s.value,c=Ke(e,t,u.relationshipTypes);o.set(u.featureId,u.loadPart(c,a))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return o}function $e(e,t){var r,n;if(0===t.length)return e;var i=new Set(e.items.map(function(e){return e.id})),o=PE(e.items);try{for(var a=bE(t),l=a.next();!l.done;l=a.next())!function(e){if(o.some(function(t){return t.type===e.type&&t.target===e.target}))return"continue";for(var t=e.id;i.has(t);)t=ae(i);i.add(t),o.push(gE({},e,{id:t}))}(l.value)}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return me(o,e.opaque)}function Qe(e,t,r){var n,i,o=e;try{for(var a=bE(SE),l=a.next();!l.done;l=a.next()){var s=l.value,u=r.get(s.featureId);if(void 0!==u&&u.isDirty()){var c=u.serialize();if(void 0!==ke(o,s.partName))o=De(o,s.partName,c);else{o=Ee(o=Ae(o,{name:s.partName,contentType:s.contentType,data:c}),s.partName,s.contentType);var d={id:ae(new Set(PE(o.packageRelationships.items.map(function(e){return e.id}),Fe(o,t).items.map(function(e){return e.id})))),type:null!=s.relationshipTypes[0]?s.relationshipTypes[0]:"",target:s.defaultRelativeTarget,extraAttributes:[],children:[]};o=Le(o,t,$e(Fe(o,t),[d]))}}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}function et(){TE.length=0}function tt(e){TE.push(e)}function rt(){return TE}function nt(e,t,r){var n,i,o=new Map,a={mainPartName:t,limits:r};try{for(var l=CE(TE),s=l.next();!s.done;s=l.next()){var u=s.value;o.set(u.featureId,u.loadParts(e,a))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return o}function it(e,t){var r,n;if(0===t.length)return e;var i=new Set(e.items.map(function(e){return e.id})),o=VE(e.items);try{for(var a=CE(t),l=a.next();!l.done;l=a.next())!function(e){if(o.some(function(t){return t.type===e.type&&t.target===e.target}))return"continue";for(var t=e.id;i.has(t);)t=ae(i);i.add(t),o.push(xE({},e,{id:t}))}(l.value)}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return me(o,e.opaque)}function ot(e){var t,r,n,i,o,a,l=q("/word/document.xml"),s=new Set;try{for(var u=CE(Fe(e.opcPackage(),l).items),c=u.next();!c.done;c=u.next()){var d=c.value;s.add(d.id)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}try{for(var h=CE(TE),f=h.next();!f.done;f=h.next()){var p=f.value,v=e.featurePart(p.featureId);if(void 0!==v&&null!==v&&"object"==typeof v){var m=v;if("function"==typeof m.pendingRelationshipIds)try{for(var y=CE(m.pendingRelationshipIds()),g=y.next();!g.done;g=y.next()){var b=g.value;s.add(b)}}catch(e){o={error:e}}finally{try{g&&!g.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}}}}catch(e){n={error:e}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}return s}function at(e,t,r){var n,i,o=e;try{for(var a=CE(TE),l=a.next();!l.done;l=a.next()){var s=l.value,u=r.get(s.featureId);void 0!==u&&u.isDirty()&&(o=u.applyToPackage(o,t))}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}function lt(e,t,r,n,i,o){var a=e;return void 0===ke(a,r)?(a=Ae(a,{name:r,contentType:n,data:i}),a=Ee(a,r,n),void 0!==o&&(a=Le(a,t,it(Fe(a,t),[o]))),a):a=De(a,r,i)}function st(e){return e===cA||e===dA}function ut(e,t){return st(e.namespaceUri)&&e.localName===t}function ct(e){return e.children.filter(function(e){return"element"===e.kind})}function dt(e){var t,r,n="";try{for(var i=kE(e.children),o=i.next();!o.done;o=i.next()){var a=o.value;"text"===a.kind&&(n+=a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function ht(e,t){return{namespaceUri:FE,localName:e,prefix:"w",value:t}}function ft(){return{namespaceUri:sA,localName:"space",prefix:"xml",value:"preserve"}}function pt(e,t){var r,n,i;return{kind:"element",namespaceUri:FE,localName:e,prefix:"w",attributes:(r=null==t?void 0:t.attributes,null!=r?r:[]),namespaceDeclarations:(n=null==t?void 0:t.namespaceDeclarations,null!=n?n:[]),children:(i=null==t?void 0:t.children,null!=i?i:[])}}function vt(e){var t=e.attributes.find(function(e){return"val"===e.localName&&(st(e.namespaceUri)||""===e.namespaceUri)});return null==t?void 0:t.value}function mt(e){return e.attributes.some(function(e){return"space"===e.localName&&e.namespaceUri===sA&&"preserve"===e.value})}function yt(e,t){return e.localName===t.wmlLocalName&&(void 0===t.namespaceUri?ut(e,t.wmlLocalName):st(t.namespaceUri)?st(e.namespaceUri)&&e.localName===t.wmlLocalName:e.namespaceUri===t.namespaceUri)}function gt(){OE.clear()}function bt(e,t){var r=OE.get(e.wmlLocalName);return void 0===r?void OE.set(e.wmlLocalName,[e]):!0===(null==t?void 0:t.prepend)?void r.unshift(e):void r.push(e)}function wt(e){var t,r,n=OE.get(e.localName);if(void 0!==n)try{for(var i=DE(n),o=i.next();!o.done;o=i.next()){var a=o.value;if(yt(e,a)){var l=a.tryParse(e);if(void 0!==l)return{type:"feature",featureId:a.featureId,value:l}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}function Pt(e){return e.value.toOpenXml()}function St(e,t){if(e.localName!==t.wmlLocalName)return!1;var r=null!=t.namespaceUri?t.namespaceUri:FE;return e.namespaceUri===r}function xt(){NE.clear()}function Ct(e){NE.set(e.wmlLocalName,e)}function It(e){var t=NE.get(e.localName);if(void 0!==t&&St(e,t)){var r=t.tryParse(e);if(void 0!==r)return{type:"feature",featureId:t.featureId,value:r}}}function Vt(e){return e.value.toOpenXml()}function Tt(){BE.length=0}function kt(e){BE.push(e)}function Ft(){return BE}function Dt(e,t){var r,n,i=new Map,o={limits:t};try{for(var a=EE(BE),l=a.next();!l.done;l=a.next()){var s=l.value;i.set(s.featureId,s.loadParts(e,o))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i}function Ot(e,t){var r,n;if(0===t.length)return e;var i=new Set(e.items.map(function(e){return e.id})),o=RE(e.items);try{for(var a=EE(t),l=a.next();!l.done;l=a.next())!function(e){if(o.some(function(t){return t.type===e.type&&t.target===e.target}))return"continue";for(var t=e.id;i.has(t);)t=ae(i);i.add(t),o.push(AE({},e,{id:t}))}(l.value)}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return me(o,e.opaque)}function Nt(e,t){var r,n,i=e;try{for(var o=EE(BE),a=o.next();!a.done;a=o.next()){var l=a.value,s=t.get(l.featureId);void 0!==s&&s.isDirty()&&(i=s.applyToPackage(i))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function At(e,t){var r,n;try{for(var i=EE(e.packageRelationships.items),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.type===t&&a.targetMode!==sE.External){var l=ke(e,ie(a.target));if(void 0!==l)return{relationship:a,part:l}}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function Et(e,t,r,n,i){var o=e;return void 0===ke(o,t)?(o=Ae(o,{name:t,contentType:r,data:n}),o=Ee(o,t,r),void 0!==i&&(o=Re(o,Ot(o.packageRelationships,[i]))),o):o=De(o,t,n)}function Lt(e){var t,r,n=new Set;try{for(var i=EE(e.parts),o=i.next();!o.done;o=i.next()){var a=o.value;n.add(W(a.name))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function Rt(e){return new Set(e.packageRelationships.items.map(function(e){return e.id}))}function Bt(){jE.length=0,ME.clear()}function _t(e){jE.push(e)}function jt(e){ME.set(e.featureId,e)}function Mt(e,t){zt(e.listBlocks(),t)}function zt(e,t){var r,n;try{for(var i=_E(e),o=i.next();!o.done;o=i.next()){var a=o.value;if("paragraph"!==a.type){if("feature"===a.type){var l=ME.get(a.featureId);void 0!==l&&l.visitParagraphs(a.value,t)}}else t(a.paragraph)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function Ut(e){var t,r;try{for(var n=_E(jE),i=n.next();!i.done;i=n.next())i.value.materialize(e)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function Ht(e){return e===GE||e===qE}function Wt(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(Ht(e.namespaceUri)||""===e.namespaceUri)});return null==r?void 0:r.value}function Gt(e){return e.children.filter(function(e){return"element"===e.kind&&Ht(e.namespaceUri)})}function qt(e){var t,r;try{for(var n=UE(e.children),i=n.next();!i.done;i=n.next()){var o=i.value;if("text"===o.kind&&o.value.length>0)return o.value}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function Xt(e){var t,r,n,i;if("Sources"===e.localName&&Ht(e.namespaceUri)){var o=[],a=0;try{for(var l=UE(Gt(e)),s=l.next();!s.done;s=l.next()){var u=s.value;if("Source"===u.localName){a+=1;try{for(var c=UE(Gt(u)),d=c.next();!d.done;d=c.next()){var h=d.value;if("Tag"===h.localName){var f=qt(h);void 0!==f&&f.length>0&&o.push(f);break}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return{present:!0,sourceCount:a,styleName:Wt(e,"StyleName"),selectedStyle:Wt(e,"SelectedStyle"),sourceTags:o}}}function Yt(e){if(0!==e.byteLength)try{return Xt(d(WE.decode(e)))}catch(e){return}}function Zt(e,t){var r,n;try{for(var i=UE(Fe(e,t).items),o=i.next();!o.done;o=i.next()){var a=o.value;if(-1!==XE.indexOf(a.type)){var l=ke(e,ie(a.target,t));if(void 0!==l){var s=Yt(l.data);if(void 0!==s)return new ZE(s)}}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return new ZE(zE({},YE))}function Kt(){KE=!1}function Jt(){KE||(KE=!0,je({id:HE}),tt({featureId:HE,relationshipTypes:XE,loadParts:function(e,t){return Zt(e,t.mainPartName)}}))}function $t(e){var t=e.featurePart(HE);if(void 0===t||!(t instanceof ZE))throw new $N("feature/not-registered","Bibliography catalog was not loaded; call registerBibliographyFeature() before WordDocument.open");return t}function Qt(e){$E.push(e)}function er(){var e,t;try{for(var r=JE($E),n=r.next();!n.done;n=r.next())(0,n.value)()}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}}function tr(){$E.length=0}function rr(e){var t,r,n,i,o=new Map;o.set("xml",sA),o.set("xmlns",uA);try{for(var a=eL(e),l=a.next();!l.done;l=a.next()){var s=l.value;try{for(var u=eL(s.namespaceDeclarations),c=u.next();!c.done;c=u.next()){var d=c.value;o.set(d.prefix,d.namespaceUri)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return o}function nr(e,t){return e.attributes.find(function(e){return e.localName===t&&e.namespaceUri===QE})}function ir(e){return 0===e.trim().length?[]:e.trim().split(/\s+/)}function or(e,t,r){var n=t.get(e);if(void 0===n)throw new rA("xml/markup-compatibility",r+' prefix "'+e+'" is not bound to an in-scope namespace (ECMA-376-3 §7.2)');if(n===QE)throw new rA("xml/markup-compatibility",r+' prefix "'+e+'" is bound to the Markup Compatibility namespace');return{prefix:e,namespaceUri:n}}function ar(e,t,r){return void 0===e?[]:ir(e).map(function(e){return or(e,t,r)})}function lr(e,t){var r,n;if(void 0===e)return[];var i=[];try{for(var o=tL(ir(e)),a=o.next();!a.done;a=o.next()){var l=a.value,s=l.indexOf(":");if(s<=0||s===l.length-1)throw new rA("xml/markup-compatibility",'ProcessContent token must be prefix:local or prefix:* (ECMA-376-3 §7.3), got "'+l+'"');var u=l.slice(0,s),c=l.slice(s+1),d=or(u,t,"ProcessContent");i.push({prefix:u,localNameOrStar:c,namespaceUri:d.namespaceUri})}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function sr(e,t){var r,n,i,o,a;return{ignorable:ar((r=nr(e,"Ignorable"),null==r?void 0:r.value),t,"Ignorable"),mustUnderstand:ar((n=nr(e,"MustUnderstand"),null==n?void 0:n.value),t,"MustUnderstand"),processContent:lr((i=nr(e,"ProcessContent"),null==i?void 0:i.value),t),preserveElements:ar((o=nr(e,"PreserveElements"),null==o?void 0:o.value),t,"PreserveElements"),preserveAttributes:ar((a=nr(e,"PreserveAttributes"),null==a?void 0:a.value),t,"PreserveAttributes")}}function ur(e,t){return e.namespaceUri===QE&&e.localName===t}function cr(e){return ur(e,"AlternateContent")}function dr(e){return e.children.filter(function(e){return"element"===e.kind})}function hr(e){var t,r;if(cr(e)){var n=dr(e).filter(function(e){return e.namespaceUri===QE}),i=!1,o=0;try{for(var a=rL(n),l=a.next();!l.done;l=a.next()){var s=l.value;if("Choice"!==s.localName){if("Fallback"!==s.localName)throw new rA("xml/markup-compatibility","Unexpected Markup Compatibility child "+s.localName+" of AlternateContent (ECMA-376-3 §7.5)");if(i)throw new rA("xml/markup-compatibility","AlternateContent may have at most one Fallback (ECMA-376-3 §7.5)");i=!0}else{if(i)throw new rA("xml/markup-compatibility","Choice must not follow Fallback (ECMA-376-3 §7.5)");var u=s.attributes.find(function(e){return"Requires"===e.localName&&""===e.namespaceUri});if(void 0===u||0===u.value.trim().length)throw new rA("xml/markup-compatibility","Choice Requires is required and must list one or more prefixes (ECMA-376-3 §7.6)");o+=1}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}if(o<1)throw new rA("xml/markup-compatibility","AlternateContent shall contain one or more Choice children (ECMA-376-3 §7.5)")}}function fr(e,t){var r,n,i=e.attributes.find(function(e){return"Requires"===e.localName&&""===e.namespaceUri});if(void 0!==i){var o=0===i.value.trim().length?[]:i.value.trim().split(/\s+/);try{for(var a=nL(o),l=a.next();!l.done;l=a.next()){var s=l.value;if(void 0===t.get(s))throw new rA("xml/markup-compatibility",'Choice Requires prefix "'+s+'" is not bound (ECMA-376-3 §7.6)')}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}function pr(e){return e.children.filter(function(e){return"element"===e.kind})}function vr(e,t,r,n){var i,o,a,l,s,u,c,d,h=oL(t,[e]),f=rr(h),p=sr(e,f);try{for(var v=nL(p.ignorable),m=v.next();!m.done;m=v.next()){S=m.value;r.add(S.namespaceUri)}}catch(e){i={error:e}}finally{try{m&&!m.done&&(o=v.return)&&o.call(v)}finally{if(i)throw i.error}}try{for(var y=nL(p.processContent),g=y.next();!g.done;g=y.next()){var b=g.value;if(!r.has(b.namespaceUri))throw new rA("xml/markup-compatibility","ProcessContent namespace "+b.namespaceUri+" is not declared Ignorable (ECMA-376-3 §7.3)")}}catch(e){a={error:e}}finally{try{g&&!g.done&&(l=y.return)&&l.call(y)}finally{if(a)throw a.error}}if(n.conformance===aL.Strict)try{for(var w=nL(p.mustUnderstand),P=w.next();!P.done;P=w.next()){var S=P.value;if(!n.understoodNamespaces.has(S.namespaceUri))throw new rA("xml/markup-compatibility","MustUnderstand namespace is not understood: "+S.namespaceUri+" (ECMA-376-3 §7.4)")}}catch(e){s={error:e}}finally{try{P&&!P.done&&(u=w.return)&&u.call(w)}finally{if(s)throw s.error}}hr(e),e.namespaceUri===QE&&"Choice"===e.localName&&fr(e,f);try{for(var x=nL(pr(e)),C=x.next();!C.done;C=x.next())vr(C.value,h,r,n)}catch(e){c={error:e}}finally{try{C&&!C.done&&(d=x.return)&&d.call(x)}finally{if(c)throw c.error}}}function mr(e,t){var r,n,i=new Set((r=null==t?void 0:t.understoodNamespaces,null!=r?r:[]));i.add(QE),vr(e,[],new Set,{conformance:(n=null==t?void 0:t.conformance,null!=n?n:aL.Lax),understoodNamespaces:i})}function yr(e){return e.children.filter(function(e){return"element"===e.kind})}function gr(e){return e===cA||e===dA}function br(e,t){return gr(e.namespaceUri)&&e.localName===t}function wr(e){if(!br(e,"document"))throw new QN("package/invalid-document-part","Expected w:document in "+cA+" or "+dA+", found {"+e.namespaceUri+"}"+e.localName);var t=yr(e).find(function(e){return br(e,"body")});if(void 0===t)throw new QN("package/invalid-document-part","w:document is missing w:body");return t}function Pr(e){return yr(e).map(function(e){return{type:"opaque",xml:e}})}function Sr(e,t){var r=wr(e),n=r.children.filter(function(e){return"element"!==e.kind}),i=lL({},r,{children:uL(t.map(function(e){return e.xml}),n)});return lL({},e,{children:e.children.map(function(e){return"element"===e.kind&&br(e,"body")?i:e})})}function xr(e){return"applyToPackage"in e&&"function"==typeof e.applyToPackage&&1===e.applyToPackage.length}function Cr(e){return"applyToPackage"in e&&"function"==typeof e.applyToPackage&&e.applyToPackage.length>=2}function Ir(e){var t=e.attributes.find(function(e){return"id"===e.localName&&(e.namespaceUri===fL||"r"===e.prefix||""===e.namespaceUri)});return null==t?void 0:t.value}function Vr(e,t,r){var n,i;try{for(var o=cL(Fe(e,t).items),a=o.next();!a.done;a=o.next()){var l=a.value;if(l.id===r){if(-1===hL.indexOf(l.type)||l.targetMode===sE.External)return;var s=ke(e,ie(l.target,t));if(void 0===s)return;return{partName:s.name,contentType:s.contentType}}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Tr(e){if(ut(e,"altChunk"))return ct(e),new pL(e)}function kr(){vL||(vL=!0,je({id:dL}),We({featureId:dL,wmlLocalName:"altChunk",tryParse:function(e){return Tr(e)}}))}function Fr(){vL=!1}function Dr(e){return"feature"===e.type&&e.featureId===dL&&e.value instanceof pL}function Or(e){var t,r,n=[];try{for(var i=cL(e),o=i.next();!o.done;o=i.next()){var a=o.value;Dr(a)&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function Nr(e){return Or(e.listBlocks())}function Ar(e,t){var r,n;try{for(var i=cL(e),o=i.next();!o.done;o=i.next()){var a=o.value;Dr(a)&&a.value.bindDocument(t)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function Er(e){var t=vt(e);if(void 0===t||0===t.length)return!0;var r=t.trim().toLowerCase();return"true"===r||"1"===r||"on"===r||"false"!==r&&"0"!==r&&"off"!==r&&void 0}function Lr(e,t){return t?pt(e):pt(e,{attributes:[ht("val","false")]})}function Rr(e,t){if(!Number.isFinite(t))throw new RangeError(e+" must be finite, got "+String(t))}function Br(e){Rr("points",e);var t=Math.round(e*mL);if(t<=0)throw new RangeError("Image dimensions must be positive, got "+String(t)+" EMU");return t}function _r(e){return Rr("points",e),Math.round(e*mL)}function jr(e){Rr("points",e);var t=Math.round(e*PL),r=Math.min(Math.max(t,0),3276);if(r<=0)throw new RangeError("Font size must be positive, got "+String(r)+" half-points");return r}function Mr(e){return Rr("points",e),Math.round(e*PL)}function zr(e){return Rr("points",e),Math.round(e*wL)}function Ur(e){return Rr("twips",e),e/wL}function Hr(e){return Rr("emu",e),e/mL}function Wr(e){return Rr("halfPoints",e),e/PL}function Gr(e,t){return Rr("a",e),Rr("b",t),e+t}function qr(e,t){return Rr("points",e),Rr("Scale factor",t),e*t}function Xr(e){return Rr("inches",e),e*SL}function Yr(e){return Rr("cm",e),e*yL/mL}function Zr(e){return Rr("mm",e),e*gL/mL}function Kr(e){return Rr("px",e),e*bL/mL}function Jr(e){if(!Number.isInteger(e)||e<0)throw new RangeError("Half-points must be a non-negative integer, got "+String(e));return e}function $r(e){if(!Number.isInteger(e)||e<=0)throw new RangeError("EMUs must be a positive integer, got "+String(e));return e}function Qr(e){return Br(e)}function en(e){return jr(e)}function tn(e){return Rr("Pt",e),e}function rn(e){return Xr(e)}function nn(e){return Yr(e)}function on(e){return Zr(e)}function an(e){return Kr(e)}function ln(e){return Ur(e)}function sn(e){if(!Number.isInteger(e))throw new RangeError("Emu must be an integer, got "+String(e));return Hr(e)}function un(e,t){return Gr(e,t)}function cn(e,t){return qr(e,t)}function dn(e){return Rr("points",e),e}function hn(e){var t=e.trim();if(0!==t.length){if("#"===t.charAt(0)&&(t=t.substring(1)),/^[0-9A-Fa-f]{6}$/.test(t))return t.toUpperCase();if(/^[0-9A-Fa-f]{3}$/.test(t)){var r=t.charAt(0),n=t.charAt(1),i=t.charAt(2);return(r+r+n+n+i+i).toUpperCase()}}}function fn(t){if(void 0!==t){var r=t.trim();if(0!==r.length){var n=r.toLowerCase();if("auto"===n||"windowtext"===n)return e.Color.Black;if("transparent"===n||"none"===n)return e.Color.Transparent;var i=hn(r);if(void 0===i)for(var o=r.replace(/[\s_-]/g,"").toLowerCase(),a=Object.keys(e.Color).filter(function(e){return isNaN(Number(e))}),l=0;l<a.length;l++){var s=a[l];if(s.toLowerCase()===o)return e.Color[s]}else{var u=IL[i];if(void 0!==u)return u}}}}function pn(t){if(t===e.Color.Transparent)return"";var r=CL[t];return void 0!==r&&r.length>0?r:"000000"}function vn(t){switch(t){case e.Color.Black:return"black";case e.Color.Blue:return"blue";case e.Color.Cyan:case e.Color.Aqua:return"cyan";case e.Color.DarkBlue:case e.Color.Navy:return"darkBlue";case e.Color.DarkCyan:case e.Color.Teal:return"darkCyan";case e.Color.DarkGray:case e.Color.Gray:case e.Color.DimGray:return"darkGray";case e.Color.DarkGreen:case e.Color.Green:case e.Color.ForestGreen:return"darkGreen";case e.Color.DarkMagenta:case e.Color.Purple:return"darkMagenta";case e.Color.DarkRed:case e.Color.Maroon:return"darkRed";case e.Color.Olive:case e.Color.DarkOliveGreen:case e.Color.DarkGoldenrod:return"darkYellow";case e.Color.Lime:case e.Color.LimeGreen:case e.Color.LawnGreen:return"green";case e.Color.LightGray:case e.Color.Silver:return"lightGray";case e.Color.Magenta:case e.Color.Fuchsia:return"magenta";case e.Color.Transparent:return"none";case e.Color.Red:return"red";case e.Color.White:case e.Color.WhiteSmoke:case e.Color.Snow:return"white";case e.Color.Yellow:case e.Color.Gold:case e.Color.LightYellow:return"yellow";default:return}}function mn(t){if(void 0!==t)switch(t){case"black":return e.Color.Black;case"blue":return e.Color.Blue;case"cyan":return e.Color.Cyan;case"darkBlue":return e.Color.DarkBlue;case"darkCyan":return e.Color.DarkCyan;case"darkGray":return e.Color.DarkGray;case"darkGreen":return e.Color.DarkGreen;case"darkMagenta":return e.Color.DarkMagenta;case"darkRed":return e.Color.DarkRed;case"darkYellow":return e.Color.Olive;case"green":return e.Color.Lime;case"lightGray":return e.Color.LightGray;case"magenta":return e.Color.Magenta;case"none":return e.Color.Transparent;case"red":return e.Color.Red;case"white":return e.Color.White;case"yellow":return e.Color.Yellow;default:return}}function yn(t){if(void 0===t)return e.LocaleIDs.None;var r=t.trim();if(0===r.length)return e.LocaleIDs.None;var n=r.replace(/_/g,"-").toLowerCase(),i=TL[n];if(void 0!==i)return i;var o=n.split("-")[0];return"en"===o?e.LocaleIDs.en_US:"ar"===o?e.LocaleIDs.ar_SA:"he"===o||"iw"===o?e.LocaleIDs.he_IL:"ja"===o?e.LocaleIDs.ja_JP:"zh"===o?e.LocaleIDs.zh_CN:e.LocaleIDs.None}function gn(t){if(t!==e.LocaleIDs.None)return VL[t]}function bn(t){return"superscript"===t?e.SubSuperScript.SuperScript:"subscript"===t?e.SubSuperScript.SubScript:e.SubSuperScript.None}function wn(t){return t===e.SubSuperScript.SuperScript?"superscript":t===e.SubSuperScript.SubScript?"subscript":t===e.SubSuperScript.None?"baseline":void 0}function Pn(t){if(void 0===t||""===t||"none"===t)return e.UnderlineStyle.None;switch(t){case"single":return e.UnderlineStyle.Single;case"words":return e.UnderlineStyle.Words;case"double":return e.UnderlineStyle.Double;case"thick":return e.UnderlineStyle.Thick;case"dotted":return e.UnderlineStyle.Dotted;case"dottedHeavy":return e.UnderlineStyle.DottedHeavy;case"dash":return e.UnderlineStyle.Dash;case"dashed":case"dashedHeavy":return e.UnderlineStyle.DashHeavy;case"dashLong":return e.UnderlineStyle.DashLong;case"dashLongHeavy":return e.UnderlineStyle.DashLongHeavy;case"dotDash":return e.UnderlineStyle.DotDash;case"dashDotHeavy":case"dotDashHeavy":return e.UnderlineStyle.DotDashHeavy;case"dotDotDash":return e.UnderlineStyle.DotDotDash;case"dashDotDotHeavy":case"dotDotDashHeavy":return e.UnderlineStyle.DotDotDashHeavy;case"wave":case"wavy":return e.UnderlineStyle.Wavy;case"wavyHeavy":return e.UnderlineStyle.WavyHeavy;case"wavyDouble":return e.UnderlineStyle.WavyDouble;default:return e.UnderlineStyle.Single}}function Sn(t){switch(t){case e.UnderlineStyle.None:return"none";case e.UnderlineStyle.Single:return"single";case e.UnderlineStyle.Words:return"words";case e.UnderlineStyle.Double:return"double";case e.UnderlineStyle.Dotted:return"dotted";case e.UnderlineStyle.Thick:return"thick";case e.UnderlineStyle.Dash:return"dash";case e.UnderlineStyle.DotDash:return"dotDash";case e.UnderlineStyle.DotDotDash:return"dotDotDash";case e.UnderlineStyle.Wavy:return"wave";case e.UnderlineStyle.DottedHeavy:return"dottedHeavy";case e.UnderlineStyle.DashHeavy:return"dashedHeavy";case e.UnderlineStyle.DotDashHeavy:return"dotDashHeavy";case e.UnderlineStyle.DotDotDashHeavy:return"dashDotDotHeavy";case e.UnderlineStyle.WavyHeavy:return"wavyHeavy";case e.UnderlineStyle.DashLong:return"dashLong";case e.UnderlineStyle.DashLongHeavy:return"dashLongHeavy";case e.UnderlineStyle.WavyDouble:return"wavyDouble";default:return"single"}}function xn(e){return Math.round(2*e)}function Cn(e){if(void 0!==e&&/^-?\d+$/.test(e))return Number.parseInt(e,10)}function In(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&("w"===e.prefix||""===e.prefix)}),null==r?void 0:r.value}function Vn(){return{rPrExtra:[],styleIdValue:void 0,boldValue:void 0,italicValue:void 0,strikeValue:void 0,doubleStrikeValue:void 0,vanishValue:void 0,legacyHiddenValue:void 0,noProofValue:void 0,fontSizeValue:void 0,fontSizeBidiValue:void 0,textColorValue:void 0,textColorTheme:void 0,highlightValue:void 0,shadingValue:void 0,underlineStyleValue:void 0,underlineColorValue:void 0,vertAlignValue:void 0,smallCapsValue:void 0,allCapsValue:void 0,fontsValue:void 0,characterScaleValue:void 0,kerningValue:void 0,characterSpacingValue:void 0,positionValue:void 0,borderValue:void 0,languageValue:void 0,embossValue:void 0,imprintValue:void 0,outlineValue:void 0,shadowValue:void 0,webHiddenValue:void 0,bidiValue:void 0,complexScriptValue:void 0,boldBidiValue:void 0,italicBidiValue:void 0,emphasisValue:void 0,textEffectValue:void 0,specVanishValue:void 0,snapToGridValue:void 0}}function Tn(e,t){if(!(t>0&&t<=1638))throw new RangeError(e+" must be in (0, 1638] points, got "+String(t))}function kn(e,t){if(t<-1584||t>1584)throw new RangeError(e+" must be in [-1584, 1584] points, got "+String(t))}function Fn(e){return void 0!==e?e:{}}function Dn(e){return void 0===e.ascii&&void 0===e.hAnsi&&void 0===e.cs&&void 0===e.eastAsia&&void 0===e.hint&&void 0===e.asciiTheme&&void 0===e.hAnsiTheme&&void 0===e.eastAsiaTheme&&void 0===e.cTheme}function On(e,t,r){void 0!==r&&e.push(Lr(t,r))}function Nn(e){var t=vt(e);if(void 0!==t&&OL.has(t))return t}function An(e){var t=In(e,"val"),r=void 0!==t?t:"single";if(NL.has(r)){var n=In(e,"color");return void 0!==n?{style:r,color:n}:{style:r}}}function En(e){var t=In(e,"ascii"),r=In(e,"hAnsi"),n=In(e,"cs"),i=In(e,"eastAsia"),o=In(e,"hint"),a=In(e,"asciiTheme"),l=In(e,"hAnsiTheme"),s=In(e,"eastAsiaTheme"),u=In(e,"cTheme"),c={};return void 0!==t&&(c.ascii=t),void 0!==r&&(c.hAnsi=r),void 0!==n&&(c.cs=n),void 0!==i&&(c.eastAsia=i),void 0!==o&&(c.hint=o),void 0!==a&&(c.asciiTheme=a),void 0!==l&&(c.hAnsiTheme=l),void 0!==s&&(c.eastAsiaTheme=s),void 0!==u&&(c.cTheme=u),c}function Ln(e){var t=Cn(vt(e));if(!(void 0===t||t<1||t>600))return t}function Rn(e){var t=Cn(vt(e));if(!(void 0===t||t<0))return t}function Bn(e){return Cn(vt(e))}function _n(e){return Cn(vt(e))}function jn(e){var t=In(e,"val");if(void 0!==t){var r=In(e,"color"),n=Cn(In(e,"sz")),i=Cn(In(e,"space"));return void 0!==r&&void 0!==n&&void 0!==i?{style:t,color:r,size:n,space:i}:void 0!==r&&void 0!==n?{style:t,color:r,size:n}:void 0!==r&&void 0!==i?{style:t,color:r,space:i}:void 0!==n&&void 0!==i?{style:t,size:n,space:i}:void 0!==r?{style:t,color:r}:void 0!==n?{style:t,size:n}:void 0!==i?{style:t,space:i}:{style:t}}}function Mn(e){var t=In(e,"fill"),r=In(e,"color"),n=In(e,"val"),i={};return void 0!==t&&(i.fill=t),void 0!==r&&(i.color=r),void 0!==n&&(i.pattern=n),i}function zn(e){var t=In(e,"val"),r=In(e,"bidi"),n=In(e,"eastAsia");return void 0!==t&&void 0!==r&&void 0!==n?{latin:t,bidi:r,eastAsia:n}:void 0!==t&&void 0!==r?{latin:t,bidi:r}:void 0!==t&&void 0!==n?{latin:t,eastAsia:n}:void 0!==r&&void 0!==n?{bidi:r,eastAsia:n}:void 0!==t?{latin:t}:void 0!==r?{bidi:r}:void 0!==n?{eastAsia:n}:{}}function Un(e){var t=vt(e);if("baseline"===t||"superscript"===t||"subscript"===t)return t}function Hn(e){var t=vt(e);if(void 0!==t&&AL.has(t))return t}function Wn(e){var t=vt(e);if(void 0!==t&&EL.has(t))return t}function Gn(e){var t=In(e,"val");if(void 0!==t){var r=In(e,"themeColor");return void 0!==r?{value:t,themeColor:r}:{value:t}}}function qn(e){var t,r,n=Vn(),i=[];try{for(var o=kL(ct(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(ut(l,l.localName))if(DL.has(l.localName))i.push(l);else if(FL.has(l.localName))if("rStyle"!==l.localName)if("sz"!==l.localName)if("szCs"!==l.localName)if("color"!==l.localName)if("highlight"!==l.localName)if("shd"!==l.localName)if("u"!==l.localName)if("vertAlign"!==l.localName)if("rFonts"!==l.localName)if("w"!==l.localName)if("kern"!==l.localName)if("spacing"!==l.localName)if("position"!==l.localName)if("bdr"!==l.localName)if("lang"!==l.localName)if("em"!==l.localName)if("effect"!==l.localName){var s=Er(l);void 0!==s?"b"===l.localName?n.boldValue=s:"bCs"===l.localName?n.boldBidiValue=s:"i"===l.localName?n.italicValue=s:"iCs"===l.localName?n.italicBidiValue=s:"strike"===l.localName?n.strikeValue=s:"dstrike"===l.localName?n.doubleStrikeValue=s:"vanish"===l.localName?n.vanishValue=s:"noProof"===l.localName?n.noProofValue=s:"smallCaps"===l.localName?n.smallCapsValue=s:"caps"===l.localName?n.allCapsValue=s:"hidden"===l.localName?n.legacyHiddenValue=s:"emboss"===l.localName?n.embossValue=s:"imprint"===l.localName?n.imprintValue=s:"outline"===l.localName?n.outlineValue=s:"shadow"===l.localName?n.shadowValue=s:"webHidden"===l.localName?n.webHiddenValue=s:"cs"===l.localName?n.complexScriptValue=s:"rtl"===l.localName?n.bidiValue=s:"specVanish"===l.localName?n.specVanishValue=s:"snapToGrid"===l.localName?n.snapToGridValue=s:i.push(l):i.push(l)}else{var u=Wn(l);void 0===u?i.push(l):n.textEffectValue=u}else void 0===(u=Hn(l))?i.push(l):n.emphasisValue=u;else n.languageValue=zn(l);else void 0===(u=jn(l))?i.push(l):n.borderValue=u;else void 0===(u=_n(l))?i.push(l):n.positionValue=u;else void 0===(u=Bn(l))?i.push(l):n.characterSpacingValue=u;else void 0===(u=Rn(l))?i.push(l):n.kerningValue=u;else void 0===(u=Ln(l))?i.push(l):n.characterScaleValue=u;else n.fontsValue=En(l);else void 0===(u=Un(l))?i.push(l):n.vertAlignValue=u;else void 0===(u=An(l))?i.push(l):(n.underlineStyleValue=u.style,n.underlineColorValue=u.color);else n.shadingValue=Mn(l);else void 0===(u=Nn(l))?i.push(l):n.highlightValue=u;else void 0===(u=Gn(l))?i.push(l):(n.textColorValue=u.value,n.textColorTheme=u.themeColor);else{var c=vt(l);void 0!==c&&/^\d+$/.test(c)?n.fontSizeBidiValue=Jr(Number.parseInt(c,10)):i.push(l)}else void 0!==(c=vt(l))&&/^\d+$/.test(c)?n.fontSizeValue=Jr(Number.parseInt(c,10)):i.push(l);else n.styleIdValue=vt(l);else i.push(l);else i.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n.rPrExtra=i,n}function Xn(e,t){var r=[ht("val",e)];return void 0!==t&&r.push(ht("themeColor",t)),pt("color",{attributes:r})}function Yn(e,t){var r=[ht("val",e)];return void 0!==t&&r.push(ht("color",t)),pt("u",{attributes:r})}function Zn(e){return void 0!==e?{latin:e.latin,bidi:e.bidi,eastAsia:e.eastAsia}:{}}function Kn(e){return void 0===e.latin&&void 0===e.bidi&&void 0===e.eastAsia}function Jn(e,t,r){var n=Zn(e);if(void 0===r)n[t]=void 0;else{var i=gn(r);n[t]=void 0!==i?i:void 0}return Kn(n)?void 0:n}function $n(e,t){if(void 0!==e){var r=e[t];if(void 0!==r)return yn(r)}}function Qn(e){if(void 0!==e)return pn(e)}function ei(e){if(void 0!==e)return fn(e)}function ti(e){var t=[];return void 0!==e.ascii&&t.push(ht("ascii",e.ascii)),void 0!==e.hAnsi&&t.push(ht("hAnsi",e.hAnsi)),void 0!==e.cs&&t.push(ht("cs",e.cs)),void 0!==e.eastAsia&&t.push(ht("eastAsia",e.eastAsia)),void 0!==e.hint&&t.push(ht("hint",e.hint)),void 0!==e.asciiTheme&&t.push(ht("asciiTheme",e.asciiTheme)),void 0!==e.hAnsiTheme&&t.push(ht("hAnsiTheme",e.hAnsiTheme)),void 0!==e.eastAsiaTheme&&t.push(ht("eastAsiaTheme",e.eastAsiaTheme)),void 0!==e.cTheme&&t.push(ht("cTheme",e.cTheme)),pt("rFonts",{attributes:t})}function ri(e){var t=[ht("val",e.style)];return void 0!==e.color&&t.push(ht("color",e.color)),void 0!==e.size&&t.push(ht("sz",String(e.size))),void 0!==e.space&&t.push(ht("space",String(e.space))),pt("bdr",{attributes:t})}function ni(e){var t=[];return void 0!==e.pattern&&t.push(ht("val",e.pattern)),void 0!==e.color&&t.push(ht("color",e.color)),void 0!==e.fill&&t.push(ht("fill",e.fill)),pt("shd",{attributes:t})}function ii(e){var t=[];return void 0!==e.latin&&t.push(ht("val",e.latin)),void 0!==e.bidi&&t.push(ht("bidi",e.bidi)),void 0!==e.eastAsia&&t.push(ht("eastAsia",e.eastAsia)),pt("lang",{attributes:t})}function oi(e){var t=[];void 0!==e.styleIdValue&&t.push(pt("rStyle",{attributes:[ht("val",e.styleIdValue)]})),void 0===e.fontsValue||Dn(e.fontsValue)||t.push(ti(e.fontsValue)),On(t,"b",e.boldValue),On(t,"bCs",e.boldBidiValue),On(t,"i",e.italicValue),On(t,"iCs",e.italicBidiValue),On(t,"caps",e.allCapsValue),On(t,"smallCaps",e.smallCapsValue),On(t,"strike",e.strikeValue),On(t,"dstrike",e.doubleStrikeValue),On(t,"outline",e.outlineValue),On(t,"shadow",e.shadowValue),On(t,"emboss",e.embossValue),On(t,"imprint",e.imprintValue),On(t,"snapToGrid",e.snapToGridValue),On(t,"vanish",e.vanishValue),On(t,"webHidden",e.webHiddenValue),On(t,"noProof",e.noProofValue),On(t,"hidden",e.legacyHiddenValue),On(t,"specVanish",e.specVanishValue),void 0!==e.textColorValue&&t.push(Xn(e.textColorValue,e.textColorTheme)),void 0!==e.characterSpacingValue&&t.push(pt("spacing",{attributes:[ht("val",String(e.characterSpacingValue))]})),void 0!==e.characterScaleValue&&t.push(pt("w",{attributes:[ht("val",String(e.characterScaleValue))]})),void 0!==e.kerningValue&&t.push(pt("kern",{attributes:[ht("val",String(e.kerningValue))]})),void 0!==e.positionValue&&t.push(pt("position",{attributes:[ht("val",String(e.positionValue))]})),void 0!==e.fontSizeValue&&t.push(pt("sz",{attributes:[ht("val",String(e.fontSizeValue))]})),void 0!==e.fontSizeBidiValue&&t.push(pt("szCs",{attributes:[ht("val",String(e.fontSizeBidiValue))]})),void 0!==e.highlightValue&&t.push(pt("highlight",{attributes:[ht("val",e.highlightValue)]})),void 0!==e.underlineStyleValue&&t.push(Yn(e.underlineStyleValue,e.underlineColorValue)),void 0!==e.vertAlignValue&&t.push(pt("vertAlign",{attributes:[ht("val",e.vertAlignValue)]})),void 0!==e.languageValue&&t.push(ii(e.languageValue)),void 0!==e.emphasisValue&&t.push(pt("em",{attributes:[ht("val",e.emphasisValue)]})),void 0!==e.textEffectValue&&t.push(pt("effect",{attributes:[ht("val",e.textEffectValue)]})),void 0!==e.shadingValue&&t.push(ni(e.shadingValue)),void 0!==e.borderValue&&t.push(ri(e.borderValue)),On(t,"cs",e.complexScriptValue),On(t,"rtl",e.bidiValue);for(var r=0;r<e.rPrExtra.length;r++)t.push(e.rPrExtra[r]);return t}function ai(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;n+=1)r.push(e[t[n]]);return r}function li(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;n+=1)r.push([t[n],e[t[n]]]);return r}function si(e){return"left"===e||"start"===e?BL.Left:"right"===e||"end"===e?BL.Right:"center"===e?BL.Center:"both"===e||"justify"===e?BL.Justify:void 0}function ui(e){return e===BL.Justify?"both":e}function ci(e){if(void 0!==e&&/^-?\d+$/.test(e))return parseInt(e,10)}function di(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&("w"===e.prefix||""===e.prefix)}),null==r?void 0:r.value}function hi(e,t){var r,n;try{for(var i=ML(ct(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(ut(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function fi(e,t,r,n){var i,o,a=ct(e),l=[],s=!1;try{for(var u=ML(a),c=u.next();!c.done;c=u.next()){var d=c.value;ut(d,r)?(s||void 0===n||l.push(n),s=!0):l.push(d)}}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return s||void 0===n||l.push(n),pt(t,{attributes:e.attributes,namespaceDeclarations:e.namespaceDeclarations,children:l})}function pi(e){if(void 0!==e&&(0!==ct(e).length||0!==e.attributes.length))return e}function vi(e){var t,r,n=(t=di(e,"type"),null!=t?t:"dxa");if(HL.has(n))return{type:n,value:Ur((r=ci(di(e,"w")),null!=r?r:0))}}function mi(e,t){var r=zr(t.value);return pt(e,{attributes:[ht("w",String(r)),ht("type",t.type)]})}function yi(e){var t=di(e,"val");if(void 0!==t){var r,n=di(e,"color"),i=di(e,"sz"),o=void 0!==i?ci(i):void 0,a=di(e,"space"),l=void 0!==a?ci(a):void 0,s=di(e,"shadow");if(void 0!==s){var u=s.trim().toLowerCase();"true"===u||"1"===u||"on"===u?r=!0:"false"!==u&&"0"!==u&&"off"!==u||(r=!1)}return jL({style:t},void 0!==n?{color:n}:{},void 0!==o?{size:o}:{},void 0!==l?{space:l}:{},void 0!==r?{shadow:r}:{})}}function gi(e,t){if(void 0!==t.style){var r=[ht("val",t.style)];if(void 0!==t.color){var n=t.color;n.length>0&&"#"===n.charAt(0)&&(n=n.slice(1)),r.push(ht("color",n))}return void 0!==t.size&&r.push(ht("sz",String(t.size))),void 0!==t.space&&r.push(ht("space",String(t.space))),void 0!==t.shadow&&r.push(ht("shadow",t.shadow?"true":"false")),pt(e,{attributes:r})}}function bi(e){var t,r,n,i,o,a,l,s;try{for(var u=ML(ct(e)),c=u.next();!c.done;c=u.next()){var d=c.value;if(ut(d,d.localName)){var h=yi(d);if(void 0!==h)switch(d.localName){case"top":n=h;break;case"left":case"start":i=h;break;case"bottom":o=h;break;case"right":case"end":a=h;break;case"insideH":l=h;break;case"insideV":s=h}}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return jL({},void 0!==n?{top:n}:{},void 0!==i?{left:i}:{},void 0!==o?{bottom:o}:{},void 0!==a?{right:a}:{},void 0!==l?{insideH:l}:{},void 0!==s?{insideV:s}:{})}function wi(e,t){var r,n,i=new Set(["top","left","right","bottom","insideH","insideV","start","end"]),o=[],a=function(e,t){var r=void 0!==t?gi(e,t):void 0;void 0!==r&&o.push(r)};if(a("top",e.top),a("left",e.left),a("bottom",e.bottom),a("right",e.right),a("insideH",e.insideH),a("insideV",e.insideV),void 0!==t)try{for(var l=ML(ct(t)),s=l.next();!s.done;s=l.next()){var u=s.value;ut(u,u.localName)&&i.has(u.localName)||o.push(u)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return pt("tblBorders",{children:o})}function Pi(e){var t,r,n,i,o=bi(e);try{for(var a=ML(ct(e)),l=a.next();!l.done;l=a.next()){var s=l.value;if(ut(s,s.localName)){var u=yi(s);void 0!==u&&("tl2br"===s.localName?n=u:"tr2bl"===s.localName&&(i=u))}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return jL({},o,void 0!==n?{tl2br:n}:{},void 0!==i?{tr2bl:i}:{})}function Si(e,t){var r,n,i=new Set(["top","left","right","bottom","insideH","insideV","start","end","tl2br","tr2bl"]),o=[],a=function(e,t){var r=void 0!==t?gi(e,t):void 0;void 0!==r&&o.push(r)};if(a("top",e.top),a("left",e.left),a("bottom",e.bottom),a("right",e.right),a("insideH",e.insideH),a("insideV",e.insideV),a("tl2br",e.tl2br),a("tr2bl",e.tr2bl),void 0!==t)try{for(var l=ML(ct(t)),s=l.next();!s.done;s=l.next()){var u=s.value;ut(u,u.localName)&&i.has(u.localName)||o.push(u)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return pt("tcBorders",{children:o})}function xi(e){var t=di(e,"type");if(void 0===t||"dxa"===t||"auto"===t||"nil"===t||"pct"===t){var r=ci(di(e,"w"));if(void 0!==r)return Ur(r)}}function Ci(e){var t,r,n,i,o,a;try{for(var l=ML(ct(e)),s=l.next();!s.done;s=l.next()){var u=s.value;if(ut(u,u.localName)){var c=xi(u);if(void 0!==c)switch(u.localName){case"top":n=c;break;case"right":case"end":i=c;break;case"bottom":o=c;break;case"left":case"start":a=c}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return jL({},void 0!==n?{top:n}:{},void 0!==i?{right:i}:{},void 0!==o?{bottom:o}:{},void 0!==a?{left:a}:{})}function Ii(e,t){return pt(e,{attributes:[ht("w",String(zr(t))),ht("type","dxa")]})}function Vi(e,t,r){var n,i,o=new Set(["top","left","right","bottom","start","end"]),a=[];if(void 0!==t.top&&a.push(Ii("top",t.top)),void 0!==t.left&&a.push(Ii("left",t.left)),void 0!==t.bottom&&a.push(Ii("bottom",t.bottom)),void 0!==t.right&&a.push(Ii("right",t.right)),void 0!==r)try{for(var l=ML(ct(r)),s=l.next();!s.done;s=l.next()){var u=s.value;ut(u,u.localName)&&o.has(u.localName)||a.push(u)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return pt(e,{children:a})}function Ti(e){var t=di(e,"fill"),r=di(e,"color"),n=di(e,"val");return jL({},void 0!==t?{fill:t}:{},void 0!==r?{color:r}:{},void 0!==n?{pattern:n}:{})}function ki(e){var t=[];if(void 0!==e.pattern&&t.push(ht("val",e.pattern)),void 0!==e.color&&t.push(ht("color",e.color)),void 0!==e.fill){var r=e.fill;r.length>0&&"#"===r.charAt(0)&&(r=r.slice(1)),t.push(ht("fill",r))}return pt("shd",{attributes:t})}function Fi(e){var t=vt(e);return"left"===t||"start"===t?"left":"right"===t||"end"===t?"right":"center"===t?"center":void 0}function Di(e){return pt("jc",{attributes:[ht("val",e)]})}function Oi(e){if(void 0!==e&&0!==e.length){var t=0===e.indexOf("0x")||0===e.indexOf("0X")?e.slice(2):e;if(/^[0-9a-fA-F]+$/.test(t))return parseInt(t,16)}}function Ni(e,t){var r=di(e,t);if(void 0!==r)return"1"===r||"true"===r||"on"===r||"0"!==r&&"false"!==r&&"off"!==r&&void 0}function Ai(e){var t=Ni(e,"firstRow"),r=Ni(e,"lastRow"),n=Ni(e,"firstColumn"),i=Ni(e,"lastColumn"),o=Ni(e,"noHBand"),a=Ni(e,"noVBand"),l=Oi(di(e,"val"));return void 0!==l&&(void 0===t&&(t=0!=(l&WL)),void 0===r&&(r=0!=(l&GL)),void 0===n&&(n=0!=(l&qL)),void 0===i&&(i=0!=(l&XL)),void 0===o&&(o=0!=(l&YL)),void 0===a&&(a=0!=(l&ZL))),jL({},void 0!==t?{firstRow:t}:{},void 0!==r?{lastRow:r}:{},void 0!==n?{firstCol:n}:{},void 0!==i?{lastCol:i}:{},void 0!==o?{noHBand:o}:{},void 0!==a?{noVBand:a}:{})}function Ei(e,t,r){void 0!==r&&e.push(ht(t,r?"1":"0"))}function Li(e){var t=[];return Ei(t,"firstRow",e.firstRow),Ei(t,"lastRow",e.lastRow),Ei(t,"firstColumn",e.firstCol),Ei(t,"lastColumn",e.lastCol),Ei(t,"noHBand",e.noHBand),Ei(t,"noVBand",e.noVBand),pt("tblLook",{attributes:t})}function Ri(e){if(void 0!==e&&12===e.length&&/^[01]{12}$/.test(e))return e}function Bi(e){for(var t=0;t<KL.length;t++)if(void 0!==e[KL[t]])return!0;return!1}function _i(){return{firstRow:!1,lastRow:!1,firstColumn:!1,lastColumn:!1,oddVBand:!1,evenVBand:!1,oddHBand:!1,evenHBand:!1,firstRowFirstColumn:!1,firstRowLastColumn:!1,lastRowFirstColumn:!1,lastRowLastColumn:!1}}function ji(e){return{firstRow:void 0!==e&&!0===e.firstRow,lastRow:void 0!==e&&!0===e.lastRow,firstColumn:void 0!==e&&!0===e.firstColumn,lastColumn:void 0!==e&&!0===e.lastColumn,oddVBand:void 0!==e&&!0===e.oddVBand,evenVBand:void 0!==e&&!0===e.evenVBand,oddHBand:void 0!==e&&!0===e.oddHBand,evenHBand:void 0!==e&&!0===e.evenHBand,firstRowFirstColumn:void 0!==e&&!0===e.firstRowFirstColumn,firstRowLastColumn:void 0!==e&&!0===e.firstRowLastColumn,lastRowFirstColumn:void 0!==e&&!0===e.lastRowFirstColumn,lastRowLastColumn:void 0!==e&&!0===e.lastRowLastColumn}}function Mi(e){for(var t=0;t<KL.length;t++)if(!0===e[KL[t]])return!0;return!1}function zi(e){return Mi(e)}function Ui(e){var t={firstRow:Ni(e,"firstRow"),lastRow:Ni(e,"lastRow"),firstColumn:Ni(e,"firstColumn"),lastColumn:Ni(e,"lastColumn"),oddVBand:Ni(e,"oddVBand"),evenVBand:Ni(e,"evenVBand"),oddHBand:Ni(e,"oddHBand"),evenHBand:Ni(e,"evenHBand"),firstRowFirstColumn:Ni(e,"firstRowFirstColumn"),firstRowLastColumn:Ni(e,"firstRowLastColumn"),lastRowFirstColumn:Ni(e,"lastRowFirstColumn"),lastRowLastColumn:Ni(e,"lastRowLastColumn")},r=Ri(di(e,"val"));if(void 0!==r)for(i=0;i<KL.length;i++)void 0===t[o=KL[i]]&&(t[o]="1"===r.charAt(i));for(var n={},i=0;i<KL.length;i++){var o=KL[i],a=t[o];void 0!==a&&(n[o]=a)}return n}function Hi(e,t){for(var r="",n=0;n<KL.length;n+=1)r+=e[KL[n]]?"1":"0";var i=[ht("val",r),ht("firstRow",e.firstRow?"1":"0"),ht("lastRow",e.lastRow?"1":"0"),ht("firstColumn",e.firstColumn?"1":"0"),ht("lastColumn",e.lastColumn?"1":"0"),ht("oddVBand",e.oddVBand?"1":"0"),ht("evenVBand",e.evenVBand?"1":"0"),ht("oddHBand",e.oddHBand?"1":"0"),ht("evenHBand",e.evenHBand?"1":"0"),ht("firstRowFirstColumn",e.firstRowFirstColumn?"1":"0"),ht("firstRowLastColumn",e.firstRowLastColumn?"1":"0"),ht("lastRowFirstColumn",e.lastRowFirstColumn?"1":"0"),ht("lastRowLastColumn",e.lastRowLastColumn?"1":"0")];if(void 0!==t)for(n=0;n<t.attributes.length;n+=1){var o=t.attributes[n];!0!==JL[o.localName]&&i.push(o)}return pt("cnfStyle",{attributes:i,namespaceDeclarations:void 0!==t?t.namespaceDeclarations:void 0,children:void 0!==t?ct(t):void 0})}function Wi(e){return!Bi(e)}function Gi(e){return vt(e)}function qi(e,t){return pt(e,{attributes:[ht("val",t)]})}function Xi(e){return null!=e?e:pt("tblPr")}function Yi(e,t,r){return fi(Xi(e),"tblPr",t,r)}function Zi(e){var t=hi(e,"jc");return void 0!==t?Fi(t):void 0}function Ki(e,t){return Yi(e,"jc",void 0!==t?Di(t):void 0)}function Ji(e){var t=hi(e,"tblInd");if(void 0!==t){var r=ci(di(t,"w"));if(void 0!==r)return Ur(r)}}function $i(e,t){return void 0===t?Yi(e,"tblInd",void 0):Yi(e,"tblInd",pt("tblInd",{attributes:[ht("w",String(zr(t))),ht("type","dxa")]}))}function Qi(e){var t=hi(e,"tblW");return void 0!==t?vi(t):void 0}function eo(e,t){return Yi(e,"tblW",void 0!==t?mi("tblW",t):void 0)}function to(e){var t=hi(e,"tblBorders");if(void 0!==t){var r=bi(t);if(void 0!==r.top||void 0!==r.left||void 0!==r.bottom||void 0!==r.right||void 0!==r.insideH||void 0!==r.insideV)return r}}function ro(e,t){var r=hi(e,"tblBorders");return Yi(e,"tblBorders",void 0!==t?wi(t,r):void 0)}function no(e){var t=hi(e,"tblCellMar");if(void 0!==t){var r=Ci(t);if(void 0!==r.top||void 0!==r.right||void 0!==r.bottom||void 0!==r.left)return r}}function io(e,t){var r=hi(e,"tblCellMar");return Yi(e,"tblCellMar",void 0!==t?Vi("tblCellMar",t,r):void 0)}function oo(e){var t=hi(e,"tblCellSpacing");if(void 0!==t){var r=ci(di(t,"w"));if(void 0!==r)return Ur(r)}}function ao(e,t){return void 0===t?Yi(e,"tblCellSpacing",void 0):Yi(e,"tblCellSpacing",pt("tblCellSpacing",{attributes:[ht("w",String(zr(t))),ht("type","dxa")]}))}function lo(e){var t=hi(e,"shd");if(void 0!==t){var r=Ti(t);if(void 0!==r.fill||void 0!==r.color||void 0!==r.pattern)return r}}function so(e,t){return Yi(e,"shd",void 0!==t?ki(t):void 0)}function uo(e){var t=hi(e,"tblLook");if(void 0!==t){var r=Ai(t);if(void 0!==r.firstRow||void 0!==r.lastRow||void 0!==r.firstCol||void 0!==r.lastCol||void 0!==r.noHBand||void 0!==r.noVBand)return r}}function co(e,t){return Yi(e,"tblLook",void 0!==t?Li(t):void 0)}function ho(e){var t=hi(e,"tblCaption");return void 0!==t?Gi(t):void 0}function fo(e,t){return Yi(e,"tblCaption",void 0!==t?qi("tblCaption",t):void 0)}function po(e){var t=hi(e,"tblDescription");return void 0!==t?Gi(t):void 0}function vo(e,t){return Yi(e,"tblDescription",void 0!==t?qi("tblDescription",t):void 0)}function mo(e){var t=hi(e,"tblStyle");return void 0!==t?Gi(t):void 0}function yo(e,t){return Yi(e,"tblStyle",void 0!==t?qi("tblStyle",t):void 0)}function go(e){var t=hi(e,"tblLayout");return void 0===t?"autoFit":"fixed"===di(t,"type")?"fixed":"autoFit"}function bo(e,t){return"autoFit"===t?Yi(e,"tblLayout",void 0):Yi(e,"tblLayout",pt("tblLayout",{attributes:[ht("type","fixed")]}))}function wo(e){var t=hi(e,"tblStyleRowBandSize");if(void 0!==t)return ci(vt(t))}function Po(e,t){return Yi(e,"tblStyleRowBandSize",void 0!==t?qi("tblStyleRowBandSize",String(t)):void 0)}function So(e){var t=hi(e,"tblStyleColBandSize");if(void 0!==t)return ci(vt(t))}function xo(e,t){return Yi(e,"tblStyleColBandSize",void 0!==t?qi("tblStyleColBandSize",String(t)):void 0)}function Co(e){if("number"==typeof e){var t=pn(e);return t.length>0?t:"auto"}return e}function Io(e){if("number"==typeof e){var t=pn(e);return t.length>0?t:"auto"}return e}function Vo(){return{pPrExtra:[],jcRaw:void 0,keepNextValue:void 0,keepLinesValue:void 0,pageBreakBeforeValue:void 0,pageBreakAfterValue:void 0,widowControlValue:void 0,bidiValue:void 0,outlineLevelValue:void 0,indentsValue:void 0,spacingValue:void 0,tabStopsValue:void 0,bordersValue:void 0,shadingValue:void 0,suppressAutoHyphensValue:void 0,suppressLineNumbersValue:void 0,contextualSpacingValue:void 0,mirrorIndentsValue:void 0,adjustRightIndentValue:void 0,textDirectionValue:void 0,textDirectionRaw:void 0,baselineAlignmentValue:void 0,baselineAlignmentRaw:void 0,snapToGridValue:void 0,wordWrapValue:void 0,overflowPunctuationValue:void 0,autoSpaceDEValue:void 0,autoSpaceDNValue:void 0,kinsokuValue:void 0,topLinePunctuationValue:void 0}}function To(e,t){if(t<-1584||t>1584)throw new RangeError(e+" must be in [-1584, 1584] points, got "+String(t))}function ko(e,t){if(t<0||t>1584)throw new RangeError(e+" must be in [0, 1584] points, got "+String(t))}function Fo(e){if(e<.7||e>1584)throw new RangeError("lineSpacing must be in [0.7, 1584] points, got "+String(e))}function Do(e){if(!isFinite(e)||Math.floor(e)!==e||e<0||e>9)throw new RangeError("outlineLevel must be an integer 0–9, got "+String(e))}function Oo(e,t){if(!/^[0-9A-Fa-f]{6}$/.test(t)&&"auto"!==t)throw new $N("content/invalid-shading-pattern",e+' must be a six-digit hex color (RRGGBB) or "auto", got "'+t+'"')}function No(e){return void 0===e?{}:e}function Ao(e){return void 0===e.left&&void 0===e.right&&void 0===e.firstLine&&void 0===e.hanging&&void 0===e.start&&void 0===e.end&&void 0===e.leftChars&&void 0===e.rightChars&&void 0===e.firstLineChars&&void 0===e.hangingChars}function Eo(e){return void 0===e?{}:e}function Lo(e){return void 0===e.before&&void 0===e.after&&void 0===e.line&&void 0===e.lineRule&&void 0===e.beforeAutospacing&&void 0===e.afterAutospacing&&void 0===e.beforeLines&&void 0===e.afterLines}function Ro(e){return void 0!==e.fill||void 0!==e.color||void 0!==e.pattern}function Bo(e){if(void 0!==e&&/^-?\d+$/.test(e))return Number.parseInt(e,10)}function _o(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&("w"===e.prefix||""===e.prefix)}),null==r?void 0:r.value}function jo(e,t){return Bo(_o(e,t))}function Mo(e,t){var r=Bo(_o(e,t));if(!(void 0===r||r<0))return r}function zo(e,t){var r=_o(e,t);return"1"===r||"true"===r||"0"!==r&&"false"!==r&&void 0}function Uo(e){var t={},r=jo(e,"left"),n=jo(e,"right"),i=Mo(e,"firstLine"),o=Mo(e,"hanging"),a=jo(e,"start"),l=jo(e,"end"),s=Mo(e,"leftChars"),u=Mo(e,"rightChars"),c=Mo(e,"firstLineChars"),d=Mo(e,"hangingChars");if(void 0!==r&&(t.left=r),void 0!==n&&(t.right=n),void 0!==i&&(t.firstLine=i),void 0!==o&&(t.hanging=o),void 0!==a&&(t.start=a),void 0!==l&&(t.end=l),void 0!==s&&(t.leftChars=s),void 0!==u&&(t.rightChars=u),void 0!==c&&(t.firstLineChars=c),void 0!==d&&(t.hangingChars=d),!Ao(t))return t}function Ho(e){var t={},r=Mo(e,"before"),n=Mo(e,"after"),i=Mo(e,"line"),o=_o(e,"lineRule"),a="auto"===o||"exact"===o||"atLeast"===o?o:void 0,l=zo(e,"beforeAutospacing"),s=zo(e,"afterAutospacing"),u=jo(e,"beforeLines"),c=jo(e,"afterLines");if(void 0!==r&&(t.before=r),void 0!==n&&(t.after=n),void 0!==i&&(t.line=i),void 0!==a&&(t.lineRule=a),void 0!==l&&(t.beforeAutospacing=l),void 0!==s&&(t.afterAutospacing=s),void 0!==u&&(t.beforeLines=u),void 0!==c&&(t.afterLines=c),!Lo(t))return t}function Wo(e){var t,r,n,i=[];try{for(var o=QL(ct(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(ut(l,"tab")){var s=Bo(_o(l,"pos"));if(void 0!==s){var u=(n=_o(l,"val"),null!=n?n:"left"),c=pR.has(u)?u:"left",d=_o(l,"leader"),h=void 0!==d&&vR.has(d)?d:void 0;i.push($L({position:Ur(s),alignment:c},void 0!==h?{leader:h}:{}))}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}function Go(e){var t=_o(e,"val");if(void 0!==t){var r=(uR.has(t),t),n=_o(e,"color"),i=_o(e,"sz"),o=void 0!==i?Bo(i):void 0,a=_o(e,"space"),l=void 0!==a?Bo(a):void 0;return $L({style:r},void 0!==n?{color:n}:{},void 0!==o?{size:o}:{},void 0!==l?{space:l}:{})}}function qo(e){var t,r,n,i,o,a,l,s;try{for(var u=QL(ct(e)),c=u.next();!c.done;c=u.next()){var d=c.value;if(ut(d,d.localName)){var h=Go(d);void 0!==h&&("top"===d.localName?n=h:"left"===d.localName?i=h:"bottom"===d.localName?o=h:"right"===d.localName?a=h:"between"===d.localName?l=h:"bar"===d.localName&&(s=h))}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return $L({},void 0!==n?{top:n}:{},void 0!==i?{left:i}:{},void 0!==o?{bottom:o}:{},void 0!==a?{right:a}:{},void 0!==l?{between:l}:{},void 0!==s?{bar:s}:{})}function Xo(e){var t=_o(e,"fill"),r=_o(e,"color"),n=_o(e,"val"),i=void 0!==n&&sR.has(n)?n:void 0;return $L({},void 0!==t?{fill:t}:{},void 0!==r?{color:r}:{},void 0!==i?{pattern:i}:{})}function Yo(e){var t,r,n=Vo(),i=[];try{for(var o=QL(ct(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(!(ut(l,"pStyle")||ut(l,"numPr")||ut(l,"rPr")||ut(l,"sectPr")))if(ut(l,l.localName))if(fR.has(l.localName))i.push(l);else if("suppressHyphenation"!==l.localName)if(hR.has(l.localName))if("jc"!==l.localName)if("outlineLvl"!==l.localName)if("ind"!==l.localName)if("spacing"!==l.localName)if("tabs"!==l.localName)if("pBdr"!==l.localName)if("shd"!==l.localName)if("textDirection"!==l.localName)if("textAlignment"!==l.localName){var s=Er(l);void 0!==s?"keepNext"===l.localName?n.keepNextValue=s:"keepLines"===l.localName?n.keepLinesValue=s:"pageBreakBefore"===l.localName?n.pageBreakBeforeValue=s:"widowControl"===l.localName?n.widowControlValue=s:"bidi"===l.localName?n.bidiValue=s:"suppressLineNumbers"===l.localName?n.suppressLineNumbersValue=s:"suppressAutoHyphens"===l.localName?n.suppressAutoHyphensValue=s:"contextualSpacing"===l.localName?n.contextualSpacingValue=s:"adjustRightInd"===l.localName?n.adjustRightIndentValue=s:"overflowPunct"===l.localName?n.overflowPunctuationValue=s:"autoSpaceDE"===l.localName?n.autoSpaceDEValue=s:"autoSpaceDN"===l.localName?n.autoSpaceDNValue=s:"snapToGrid"===l.localName?n.snapToGridValue=s:"wordWrap"===l.localName?n.wordWrapValue=s:"mirrorIndents"===l.localName?n.mirrorIndentsValue=s:"kinsoku"===l.localName?n.kinsokuValue=s:"topLinePunct"===l.localName?n.topLinePunctuationValue=s:i.push(l):i.push(l)}else{var u=vt(l);if(void 0===u){i.push(l);continue}lR.has(u)?(n.baselineAlignmentValue=u,n.baselineAlignmentRaw=void 0):(n.baselineAlignmentValue=void 0,n.baselineAlignmentRaw=u)}else{if(void 0===(u=vt(l))){i.push(l);continue}aR.has(u)?(n.textDirectionValue=u,n.textDirectionRaw=void 0):(n.textDirectionValue=void 0,n.textDirectionRaw=u)}else n.shadingValue=Xo(l);else n.bordersValue=qo(l);else n.tabStopsValue=Wo(l);else{var c=Ho(l);void 0===c?i.push(l):n.spacingValue=c}else void 0===(c=Uo(l))?i.push(l):n.indentsValue=c;else void 0!==(u=vt(l))&&/^-?\d+$/.test(u)?n.outlineLevelValue=Number.parseInt(u,10):i.push(l);else n.jcRaw=vt(l);else i.push(l);else i.push(l);else i.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n.pPrExtra=i,n}function Zo(e,t,r){void 0!==r&&e.push(Lr(t,r))}function Ko(e,t,r){for(var n=[],i=0;i<t.length;i++){var o=t[i];ut(o,r)?e.push(o):n.push(o)}return n}function Jo(e){var t=[];return void 0!==e.left&&t.push(ht("left",String(e.left))),void 0!==e.right&&t.push(ht("right",String(e.right))),void 0!==e.start&&t.push(ht("start",String(e.start))),void 0!==e.end&&t.push(ht("end",String(e.end))),void 0!==e.hanging&&t.push(ht("hanging",String(e.hanging))),void 0!==e.firstLine&&t.push(ht("firstLine",String(e.firstLine))),void 0!==e.leftChars&&t.push(ht("leftChars",String(e.leftChars))),void 0!==e.rightChars&&t.push(ht("rightChars",String(e.rightChars))),void 0!==e.firstLineChars&&t.push(ht("firstLineChars",String(e.firstLineChars))),void 0!==e.hangingChars&&t.push(ht("hangingChars",String(e.hangingChars))),pt("ind",{attributes:t})}function $o(e){var t=[];return void 0!==e.before&&t.push(ht("before",String(e.before))),void 0!==e.after&&t.push(ht("after",String(e.after))),void 0!==e.beforeLines&&t.push(ht("beforeLines",String(e.beforeLines))),void 0!==e.afterLines&&t.push(ht("afterLines",String(e.afterLines))),void 0!==e.line?(t.push(ht("line",String(e.line))),t.push(ht("lineRule",void 0!==e.lineRule?e.lineRule:"auto"))):void 0!==e.lineRule&&t.push(ht("lineRule",e.lineRule)),void 0!==e.beforeAutospacing&&t.push(ht("beforeAutospacing",e.beforeAutospacing?"1":"0")),void 0!==e.afterAutospacing&&t.push(ht("afterAutospacing",e.afterAutospacing?"1":"0")),pt("spacing",{attributes:t})}function Qo(e){return pt("tabs",{children:e.map(function(e){var t=[ht("val",e.alignment),ht("pos",String(zr(e.position)))];return void 0!==e.leader&&t.push(ht("leader",e.leader)),pt("tab",{attributes:t})})})}function ea(e,t){var r=[ht("val",t.style)];return void 0!==t.color&&r.push(ht("color",t.color)),void 0!==t.size&&r.push(ht("sz",String(t.size))),void 0!==t.space&&r.push(ht("space",String(t.space))),pt(e,{attributes:r})}function ta(e){var t=[];return void 0!==e.top&&t.push(ea("top",e.top)),void 0!==e.left&&t.push(ea("left",e.left)),void 0!==e.bottom&&t.push(ea("bottom",e.bottom)),void 0!==e.right&&t.push(ea("right",e.right)),void 0!==e.between&&t.push(ea("between",e.between)),void 0!==e.bar&&t.push(ea("bar",e.bar)),pt("pBdr",{children:t})}function ra(e){var t=[];return void 0!==e.pattern&&t.push(ht("val",e.pattern)),void 0!==e.color&&t.push(ht("color",e.color)),void 0!==e.fill&&t.push(ht("fill",e.fill)),pt("shd",{attributes:t})}function na(e,t){var r=[],n=e.pPrExtra.slice();Zo(r,"keepNext",e.keepNextValue),Zo(r,"keepLines",e.keepLinesValue),Zo(r,"pageBreakBefore",e.pageBreakBeforeValue),n=Ko(r,n,"framePr"),Zo(r,"widowControl",e.widowControlValue),void 0!==t&&void 0!==t.numPr&&r.push(t.numPr),Zo(r,"suppressLineNumbers",e.suppressLineNumbersValue),void 0!==e.bordersValue&&r.push(ta(e.bordersValue)),void 0!==e.shadingValue&&Ro(e.shadingValue)&&r.push(ra(e.shadingValue)),void 0!==e.tabStopsValue&&e.tabStopsValue.length>0&&r.push(Qo(e.tabStopsValue)),Zo(r,"suppressAutoHyphens",e.suppressAutoHyphensValue),Zo(r,"kinsoku",e.kinsokuValue),Zo(r,"wordWrap",e.wordWrapValue),Zo(r,"overflowPunct",e.overflowPunctuationValue),Zo(r,"topLinePunct",e.topLinePunctuationValue),Zo(r,"autoSpaceDE",e.autoSpaceDEValue),Zo(r,"autoSpaceDN",e.autoSpaceDNValue),Zo(r,"bidi",e.bidiValue),Zo(r,"adjustRightInd",e.adjustRightIndentValue),Zo(r,"snapToGrid",e.snapToGridValue),void 0===e.spacingValue||Lo(e.spacingValue)||r.push($o(e.spacingValue)),void 0===e.indentsValue||Ao(e.indentsValue)||r.push(Jo(e.indentsValue)),Zo(r,"contextualSpacing",e.contextualSpacingValue),Zo(r,"mirrorIndents",e.mirrorIndentsValue),n=Ko(r,n,"suppressOverlap"),void 0!==e.jcRaw&&r.push(pt("jc",{attributes:[ht("val",e.jcRaw)]})),void 0!==e.textDirectionValue?r.push(pt("textDirection",{attributes:[ht("val",e.textDirectionValue)]})):void 0!==e.textDirectionRaw&&r.push(pt("textDirection",{attributes:[ht("val",e.textDirectionRaw)]})),void 0!==e.baselineAlignmentValue?r.push(pt("textAlignment",{attributes:[ht("val",e.baselineAlignmentValue)]})):void 0!==e.baselineAlignmentRaw&&r.push(pt("textAlignment",{attributes:[ht("val",e.baselineAlignmentRaw)]})),n=Ko(r,n=Ko(r,n=Ko(r,n,"textboxTightWrap"),"divId"),"cnfStyle"),void 0!==e.outlineLevelValue&&r.push(pt("outlineLvl",{attributes:[ht("val",String(e.outlineLevelValue))]})),void 0!==t&&void 0!==t.rPr&&r.push(t.rPr),void 0!==t&&void 0!==t.sectPr&&r.push(t.sectPr),n=Ko(r,n,"pPrChange");for(var i=0;i<n.length;i++)r.push(n[i]);return r}function ia(e){if(ut(e,"spacing")){var t=Ho(e);if(void 0!==t&&(void 0!==t.before||void 0!==t.after||void 0!==t.line||void 0!==t.lineRule))return $L({},void 0!==t.before?{before:Ur(t.before)}:{},void 0!==t.after?{after:Ur(t.after)}:{},void 0!==t.line?{lineSpacing:Ur(t.line)}:{},void 0!==t.lineRule?{lineRule:t.lineRule}:{})}}function oa(e){if(ut(e,"ind")){var t=Uo(e);if(void 0!==t){var r=void 0!==t.left?Ur(t.left):void 0,n=void 0!==t.right?Ur(t.right):void 0;if(void 0!==r||void 0!==n||void 0!==t.firstLine||void 0!==t.hanging)return $L({},void 0!==r?{left:r}:{},void 0!==n?{right:n}:{},void 0!==t.firstLine?{firstLine:Ur(t.firstLine)}:{},void 0!==t.hanging?{hanging:Ur(t.hanging)}:{})}}}function aa(e){var t={};void 0!==e.before&&(t.before=zr(e.before)),void 0!==e.after&&(t.after=zr(e.after));var r=void 0!==e.lineSpacing?e.lineSpacing:e.line;return void 0!==r&&(t.line=zr(r)),void 0!==e.lineRule&&(t.lineRule=e.lineRule),void 0!==e.beforeAutospacing&&(t.beforeAutospacing=e.beforeAutospacing),void 0!==e.afterAutospacing&&(t.afterAutospacing=e.afterAutospacing),$o(t)}function la(e){var t={};return void 0!==e.left&&(t.left=zr(e.left)),void 0!==e.right&&(t.right=zr(e.right)),void 0!==e.firstLine&&(t.firstLine=zr(e.firstLine)),void 0!==e.hanging&&(t.hanging=zr(e.hanging)),Jo(t)}function sa(e){return e.startsWith(" ")||e.endsWith(" ")||e.includes(" ")||e.includes("\n")}function ua(e){return e===kR.LineBreak||e===kR.TextWrappingBreak}function ca(e,t,r,n){if(void 0===r&&(r=FR.None),r!==FR.None&&!ua(t))throw new $N("content/invalid-break","w:br @w:clear is only valid with a line / text-wrapping break");return new LR(t,r,n,e)}function da(e,t){return ca(new DR,e,null!=t?t:FR.None)}function ha(e,t){return new ER(e,t,new DR)}function fa(){return new NR(new DR)}function pa(e,t){var r=null!=t?t:new DR;if(e.indexOf("\t")<0)return[va(e,r)];for(var n=e.split("\t"),i=[],o=0;o<n.length;o+=1){var a=n[o];void 0!==a&&a.length>0&&i.push(va(a,r)),o<n.length-1&&i.push(new NR(r))}return i}function va(e,t){if(e.length>lA.textNodeLength)throw new tA("security/limit-exceeded","w:t exceeds the text node length limit");var r=new MR(void 0,t);return r.setTextFromParse(e,sa(e)),r}function ma(e,t,r){if(t||e.indexOf("\t")<0){var n=t||sa(e)?[ft()]:[],i=t?"instrText":"t";return void r.push(pt(i,{attributes:n,children:[{kind:"text",value:e}]}))}for(var o=e.split("\t"),a=0;a<o.length;a+=1){var l=o[a];if(void 0!==l&&l.length>0){n=sa(l)?[ft()]:[];r.push(pt("t",{attributes:n,children:[{kind:"text",value:l}]}))}a<o.length-1&&r.push(pt("tab"))}}function ya(e,t){var r,n,i,o=new DR(e.attributes),a=[];try{for(var l=TR(ct(e)),s=l.next();!s.done;s=l.next()){var u=s.value;ut(u,"rPr")?i=qn(u):a.push(ga(u,o,t))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}if(void 0!==i&&o.hydrateCharacterFormat(i),0===a.length){var c=new MR(t,o);a.push(c)}return a}function ga(e,t,r){if(ut(e,"t")){var n=dt(e),i=new MR(r,t);return i.setTextFromParse(n,mt(e)||sa(n)),i}if(ut(e,"tab"))return new NR(t);if(ut(e,"br"))return ba(e,t);if(ut(e,"cr"))return new AR(t);if(ut(e,"sym"))return Pa(e,t);var o=wt(e);return void 0!==o?new RR(o.featureId,o.value,t):new BR(e,t)}function ba(e,t){var r,n,i,o=kR.LineBreak,a=!1,l=!1,s=xa(e,"type");"page"===s?(o=kR.PageBreak,a=!0):"column"===s?(o=kR.ColumnBreak,a=!0):"textWrapping"===s?(o=kR.TextWrappingBreak,a=!0):void 0===s?a=!0:"line"===s&&(o=kR.LineBreak,a=!0);var u=xa(e,"clear");o!==kR.LineBreak&&o!==kR.TextWrappingBreak||("left"===u?(i=FR.Left,l=!0):"right"===u?(i=FR.Right,l=!0):"all"===u?(i=FR.All,l=!0):"none"===u&&(l=!1));var c=[];try{for(var d=TR(e.attributes),h=d.next();!h.done;h=d.next()){var f=h.value,p="w"===f.prefix||""===f.prefix;if(p&&"type"===f.localName){if(a)continue;c.push(f)}else if(p&&"clear"===f.localName){if(l)continue;c.push(f)}else c.push(f)}}catch(e){r={error:e}}finally{try{h&&!h.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}return new LR(o,i,c,t)}function wa(e){var t,r,n=[];e.breakType===kR.PageBreak?n.push(ht("type","page")):e.breakType===kR.ColumnBreak?n.push(ht("type","column")):e.breakType===kR.TextWrappingBreak?(n.push(ht("type","textWrapping")),void 0!==e.clear&&n.push(ht("clear",e.clear))):void 0!==e.clear&&(n.push(ht("type","textWrapping")),n.push(ht("clear",e.clear)));try{for(var i=TR(e.extras),o=i.next();!o.done;o=i.next()){var a=o.value;n.push(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return pt("br",{attributes:n})}function Pa(e,t){var r,n;try{for(var i=TR(e.attributes),o=i.next();!o.done;o=i.next()){var a=o.value;if("font"!==a.localName&&"char"!==a.localName)return new BR(e,t);if("w"!==a.prefix&&""!==a.prefix)return new BR(e,t)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}if(e.children.length>0)return new BR(e,t);var l=xa(e,"font"),s=xa(e,"char");return void 0===l||void 0===s?new BR(e,t):/^[0-9A-Fa-f]{4}$/.test(s)?new ER(l,s,t):new BR(e,t)}function Sa(e,t){if(void 0===t&&(t=!1),e instanceof MR){if(!t&&e.text.indexOf("\t")>=0)return;var r=e.xmlSpacePreserve||t?[ft()]:[];return t?pt("instrText",{attributes:r,children:[{kind:"text",value:e.text}]}):pt("t",{attributes:r,children:[{kind:"text",value:e.text}]})}return e instanceof NR?pt("tab"):e instanceof LR?wa(e):e instanceof AR?pt("cr"):e instanceof ER?pt("sym",{attributes:[ht("font",e.font),ht("char",e.char)]}):"object"==typeof e&&null!==e&&"toOpenXml"in e&&("fieldType"in e||"fieldMarkType"in e)?e.toOpenXml():e instanceof RR?Pt({type:"feature",featureId:e.featureId,value:e.value}):e instanceof BR?e.xml:void 0}function xa(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&("w"===e.prefix||""===e.prefix)}),null==r?void 0:r.value}function Ca(e){return e instanceof OR||"object"==typeof e&&null!==e&&"wireGroup"in e}function Ia(e){return Va(e.wireGroup,[e])}function Va(e,t,r){var n,i,o=e.characterFormat.buildRPrChildren(),a=[];o.length>0&&a.push(pt("rPr",{children:o}));try{for(var l=TR(t),s=l.next();!s.done;s=l.next()){var u=s.value,c=void 0!==r&&!0===r.get(u);if(u instanceof MR&&!c&&u.text.indexOf("\t")>=0)ma(u.text,!1,a);else{var d=Sa(u,c);void 0!==d&&a.push(d)}}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return pt("r",{attributes:e.extraAttributes,children:a})}function Ta(e){for(var t=new Map,r=[],n=0;n<e.length;n++){var i=e[n];if(void 0!==i)if("object"==typeof i&&"fieldType"in i)r.push({phase:"instruction"});else if("object"==typeof i&&"fieldMarkType"in i){var o=i.fieldMarkType;"separate"===o?r.length>0&&(r[r.length-1].phase="result"):"end"===o&&r.length>0&&r.pop()}else if(i instanceof MR){var a=r.length>0&&"instruction"===r[r.length-1].phase;t.set(i,a)}}return t}function ka(e){for(var t=[],r=Ta(e),n=0;n<e.length;){var i=e[n];if(void 0!==i)if(i instanceof _R)t.push(i.value.toOpenXml()),n+=1;else if(i instanceof jR)t.push(i.xml),n+=1;else if(Ca(i)){for(var o=i.wireGroup,a=[i],l=n+1;l<e.length;){var s=e[l];if(void 0===s||!Ca(s)||s.wireGroup!==o)break;a.push(s),l+=1}t.push(Va(o,a,r)),n=l}else n+=1;else n+=1}return t}function Fa(e){return{type:"break",breakType:e.breakType,clear:void 0!==e.clear?e.clear:FR.None}}function Da(e){if(e instanceof RR&&null!=(t=e.value)&&("number"==typeof t.type||"number"==typeof t.entityType))return t;if(e instanceof _R){var t=e.value;if(null!=t&&("number"==typeof t.type||"number"==typeof t.entityType))return t}return e}function Oa(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(n===t||Da(n)===t)return r}return-1}function Na(e){yR=e}function Aa(){yR=void 0}function Ea(e){if(void 0!==e&&/^-?\d+$/.test(e))return Number.parseInt(e,10)}function La(e,t){var r,n,i,o,a,l,s,u,c,d,h,f,p=new GR(t),v=[],m=[];try{for(var y=WR(ct(e)),g=y.next();!g.done;g=y.next()){var b=g.value;if(ut(b,"pPr")){try{for(var w=WR(ct(b)),P=w.next();!P.done;P=w.next()){var S=P.value;if(ut(S,"pStyle"))s=vt(S);else if(ut(S,"numPr"))try{for(var x=WR(ct(S)),C=x.next();!C.done;C=x.next()){var I=C.value;if(ut(I,"ilvl"))void 0===(V=Ea(vt(I)))?v.push(I):c=V;else if(ut(I,"numId")){var V=Ea(vt(I));void 0===V?v.push(I):u=V}else v.push(I)}}catch(e){a={error:e}}finally{try{C&&!C.done&&(l=x.return)&&l.call(x)}finally{if(a)throw a.error}}else ut(S,"rPr")?f=qn(S):ut(S,"sectPr")&&(d=S)}}catch(e){i={error:e}}finally{try{P&&!P.done&&(o=w.return)&&o.call(w)}finally{if(i)throw i.error}}h=Yo(b)}else if(ut(b,"r"))for(var T=ya(b,void 0),k=0;k<T.length;k+=1)m.push(T[k]);else{var F=It(b);void 0===F?m.push(new jR(b)):m.push(new _R(F.featureId,F.value))}}}catch(e){r={error:e}}finally{try{g&&!g.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}return p.hydrate({extraAttributes:e.attributes,styleIdValue:s,numIdValue:u,listLevelValue:c,numPrExtra:v,sectionBreakSectPr:d,items:m,paragraphFormat:void 0!==h?h:Vo(),breakCharacterFormat:f}),p}function Ra(e){var t=e.snapshot(),r=[];void 0!==t.styleIdValue&&r.push(pt("pStyle",{attributes:[ht("val",t.styleIdValue)]}));var n;if(void 0!==t.numIdValue||void 0!==t.listLevelValue||t.numPrExtra.length>0){var i=[];void 0!==t.listLevelValue&&i.push(pt("ilvl",{attributes:[ht("val",String(t.listLevelValue))]})),void 0!==t.numIdValue&&i.push(pt("numId",{attributes:[ht("val",String(t.numIdValue))]}));for(s=0;s<t.numPrExtra.length;s++)i.push(t.numPrExtra[s]);n=pt("numPr",{children:i})}var o,a=e.breakCharacterFormat.buildRPrChildren();a.length>0&&(o=pt("rPr",{children:a}));for(var l=e.paragraphFormat.buildPPrChildren({numPr:n,rPr:o,sectPr:t.sectionBreakSectPr}),s=0;s<l.length;s++)r.push(l[s]);var u=[];r.length>0&&u.push(pt("pPr",{children:r}));for(var c=ka(t.items),s=0;s<c.length;s++)u.push(c[s]);return pt("p",{attributes:t.extraAttributes,children:u})}function Ba(e){var t=e.snapshot();return!0===t.paragraphFormat.pageBreakAfterValue&&!ja(t.items)}function _a(){return pt("p",{children:ka([da(kR.PageBreak)])})}function ja(e){for(var t=0;t<e.length;t++){var r=e[t];if(r instanceof LR&&r.breakType===kR.PageBreak)return!0}return!1}function Ma(e,t){var r,n,i=[];try{for(var o=qR(e),a=o.next();!a.done;a=o.next()){var l=a.value;if("element"===l.kind)if(ut(l,"p")){var s=GR.fromXml(l,t);i.push({type:"paragraph",paragraph:s})}else{var u=Ge(l,t);void 0===u?i.push({type:"opaque",xml:l}):i.push(u)}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function za(e){var t,r,n=[];try{for(var i=qR(e),o=i.next();!o.done;o=i.next()){var a=o.value;"paragraph"!==a.type?"feature"!==a.type?n.push(a.xml):n.push(qe(a)):(n.push(a.paragraph.toOpenXml()),Ba(a.paragraph)&&n.push(_a()))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function Ua(e){return e instanceof GR}function Ha(e){for(var t=0;t<XR.length;t+=1)if(XR[t]===e)return;XR.push(e)}function Wa(){XR.length=0}function Ga(e){if("paragraph"===e.type)return e.paragraph;if("opaque"!==e.type)for(var t=e,r=0;r<XR.length;r+=1){var n=XR[r].project(t);if(void 0!==n)return n}}function qa(e){if(Ua(e))return{type:"paragraph",paragraph:e};if("object"==typeof e&&null!==e){var t=e;if("paragraph"===t.type&&t.paragraph instanceof GR)return{type:"paragraph",paragraph:t.paragraph};if("feature"===t.type&&void 0!==t.value)for(r=0;r<XR.length;r+=1)if(XR[r].isInstance(t.value)&&void 0!==(n=XR[r].toBlock(t.value)))return n}for(var r=0;r<XR.length;r+=1){var n=XR[r].toBlock(e);if(void 0!==n)return n}throw new TypeError("Unsupported body item type")}function Xa(e){if(e instanceof GR)return!0;for(var t=0;t<XR.length;t+=1)if(XR[t].isInstance(e))return!0;return!1}function Ya(e,t){if("object"==typeof e&&null!==e&&"bindDocument"in e){var r=e.bindDocument;"function"==typeof r&&r.call(e,t)}}function Za(e){if("object"==typeof e&&null!==e&&"releaseContent"in e){var t=e.releaseContent;"function"==typeof t&&t.call(e)}}function Ka(e,t){return e.type===t.type&&("paragraph"===e.type&&"paragraph"===t.type?e.paragraph===t.paragraph:"feature"===e.type&&"feature"===t.type?e.featureId===t.featureId&&e.value===t.value:"opaque"===e.type&&"opaque"===t.type&&e.xml===t.xml)}function Ja(e,t){for(var r=0;r<e.length;r+=1)if(Ga(e[r])===t)return r;return-1}function $a(e){tB=KR({},tB,e)}function Qa(){tB={}}function el(){return tB}function tl(e){return new QR(e,function(e){var t=el().isTable;return void 0!==t&&t(e)},function(){var e=el().createTable;if(void 0===e)throw new TypeError("No item provided and no factory is registered for this collection");return e()})}function rl(e){return new eB(e,function(e){var t=el().isBlockContentControl;return void 0!==t&&t(e)},function(){var e=el().createBlockContentControl;if(void 0===e)throw new TypeError("No item provided and no factory is registered for this collection");return e()})}function nl(e){gR=e}function il(){gR=void 0}function ol(){return gR}function al(e,t){bR=e,wR=t}function ll(){bR=void 0,wR=void 0}function sl(e){PR=e}function ul(){PR=void 0}function cl(e){SR=e}function dl(){SR=void 0}function hl(){return SR}function fl(e){if(void 0!==e&&void 0!==PR){var t=e.internalPageSetupModel();if(void 0!==t)return PR(t)}if(void 0!==SR)return SR()}function pl(e){xR=e}function vl(){xR=void 0}function ml(e){CR=e}function yl(){CR=void 0}function gl(e,t){void 0!==e&&void 0!==CR&&CR(e,t)}function bl(e){if(void 0!==e){if("function"==typeof e.toOpenXml)return e;if(void 0===xR)return e;var t=xR(e);return void 0!==t?t:e}}function wl(e){var t=e.sectionBreakPropertiesModel();return void 0!==t?t:e.sectionBreakSectPr()}function Pl(e){return void 0!==wl(e)}function Sl(e,t){for(var r=[],n=[],i=0;i<e.length;i+=1){var o=e[i];if(n.push(o),"paragraph"===o.type&&Pl(o.paragraph)){var a=wl(o.paragraph);r.push({items:n,properties:a,isFinal:!1}),n=[]}}return r.push({items:n,properties:t,isFinal:!0}),r}function xl(e,t){return void 0===t?(e.replaceSectionBreakPropertiesModel(void 0),void e.replaceSectionBreakSectPr(void 0)):"function"==typeof t.toOpenXml?void e.replaceSectionBreakPropertiesModel(t):void e.replaceSectionBreakSectPr(t)}function Cl(e){var t=e[e.length-1];if(void 0!==t&&"paragraph"===t.type)return t.paragraph;var r=new GR(void 0);return e.push({type:"paragraph",paragraph:r}),r}function Il(e){for(var t=[],r=0;r<e.length;r+=1){var n=e[r],i=n.isLast,o=n.listBlocks().slice(),a=void 0!==n.pageSetup?n.pageSetup:n.pageSetupXml;if(i){var l=o[o.length-1];void 0!==l&&"paragraph"===l.type&&Pl(l.paragraph)&&(l.paragraph.replaceSectionBreakPropertiesModel(void 0),l.paragraph.replaceSectionBreakSectPr(void 0)),void 0!==n.replaceItems&&n.replaceItems(o)}else{var s=Cl(o);void 0!==a||void 0!==n.pageSetup||void 0!==n.pageSetupXml?xl(s,a):Pl(s),void 0!==n.replaceItems&&n.replaceItems(o)}for(var u=0;u<o.length;u+=1)t.push(o[u])}return t}function Vl(e){if(void 0!==e)return"function"==typeof e.toOpenXml?e.toOpenXml():e}function Tl(e){if("function"==typeof btoa){for(var t="",r=0;r<e.length;r+=32768){for(var n=Math.min(r+32768,e.length),i="",o=r;o<n;o++)i+=String.fromCharCode(e[o]);t+=i}return btoa(t)}}function kl(e){if("function"==typeof atob){for(var t=atob(e),r=new Uint8Array(t.length),n=0;n<t.length;n++)r[n]=255&t.charCodeAt(n);return r}}function Fl(e){var t=Tl(e);if(void 0!==t)return t;for(var r="",n=0;n<e.length;n+=3){var i=e[n]<<16|(n+1<e.length?e[n+1]:0)<<8|(n+2<e.length?e[n+2]:0);r+=sB[i>>18&63],r+=sB[i>>12&63],r+=n+1<e.length?sB[i>>6&63]:"=",r+=n+2<e.length?sB[63&i]:"="}return r}function Dl(e){var t=kl(e);if(void 0!==t)return t;if(e.length%4!=0)throw new Error("Invalid base64 payload");for(var r=0===e.length?"":e.charAt(e.length-1),n="="===(e.length<2?"":e.charAt(e.length-2))&&"="===r?2:"="===r?1:0,i=e.length/4*3-n,o=new Uint8Array(i),a=0,l=0;l<e.length;l+=4){var s=sB.indexOf(e.charAt(l)),u=sB.indexOf(e.charAt(l+1)),c="="===e.charAt(l+2)?0:sB.indexOf(e.charAt(l+2)),d="="===e.charAt(l+3)?0:sB.indexOf(e.charAt(l+3));if(s<0||u<0||"="!==e.charAt(l+2)&&c<0||"="!==e.charAt(l+3)&&d<0)throw new Error("Invalid base64 payload");var h=s<<18|u<<12|c<<6|d;o[a++]=h>>16&255,"="!==e.charAt(l+2)&&a<i&&(o[a++]=h>>8&255),"="!==e.charAt(l+3)&&a<i&&(o[a++]=255&h)}return o}function Ol(){kr(),er()}function Nl(){var e=Function("return this")().window;if(null!=e&&null!=e.document&&"function"==typeof e.document.createElementNS)return e.document}function Al(e){var t=e.trim(),r=t.split(/[/\\]/),n=r[r.length-1];return void 0!==n&&n.length>0?n:t}function El(e,t,r){var n=Function("return this")(),i=new n.Blob([t],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}),o=n.navigator;if(null!=o&&"function"==typeof o.msSaveBlob)return void o.msSaveBlob(i,e);var a=n.URL.createObjectURL(i),l=r.createElementNS("http://www.w3.org/1999/xhtml","a");l.download=e,l.href=a;var s=r.createEvent("MouseEvent");s.initEvent("click",!0,!0),l.dispatchEvent(s),n.setTimeout(function(){n.URL.revokeObjectURL(a)},0)}function Ll(e,t){if("string"!=typeof e||0===e.trim().length)throw new oA("save(fileName) requires a non-empty file name string");var r=Nl();if(void 0===r)throw new aA("save(fileName) downloads in the browser and does not write a filesystem path. Use save() or saveSync() and write the bytes from application code.");return El(Al(e),t,r),Promise.resolve()}function Rl(e){return e instanceof Uint8Array?e:new Uint8Array(e)}function Bl(e,t){if(_l(e))return e.arrayBuffer().then(function(e){return mB.openSync(e,t)});try{if("string"==typeof e){if(void 0!==t&&"base64"===t.format){var r={format:"base64",limits:t.limits};return Promise.resolve(mB.openSync(e,r))}return Promise.reject(Hl())}return Promise.resolve(mB.openSync(e,t))}catch(e){return Promise.reject(e)}}function _l(e){return"object"==typeof e&&null!==e&&"arrayBuffer"in e&&"function"==typeof e.arrayBuffer}function jl(e){var t=e.indexOf(",");return t>=0&&/^data:/i.test(e)&&/;base64/i.test(e.slice(0,t))?e.slice(t+1):e}function Ml(e){if("string"!=typeof e||0===e.trim().length)throw new oA("open(..., { format: 'base64' }) requires a non-empty base64 string");var t=jl(e).replace(/\s+/g,"");try{return Dl(t)}catch(e){throw new oA("Invalid base64 payload for open(..., { format: 'base64' })",{cause:e})}}function zl(e){return Fl(e)}function Ul(e,t){if("string"!=typeof e)return Rl(e);if(null!=t&&"base64"===t.format)return Ml(e);throw Hl()}function Hl(){return new oA("open/load does not read a filesystem path. Pass Uint8Array, ArrayBuffer, base64 with { format: 'base64' }, or a File/Blob to openAsync/loadAsync.")}function Wl(e,t){"object"==typeof e&&null!==e&&"bindDocument"in e&&e.bindDocument.call(e,t)}function Gl(e,t,r){var n,i,o,a,l,s,u=new Map;try{for(var c=dB(e),d=c.next();!d.done;d=c.next()){var h=hB(d.value,2),f=h[0],p=h[1];u.set(f,p)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}try{for(var v=dB(t),m=v.next();!m.done;m=v.next()){var y=hB(m.value,2),f=y[0],p=y[1];u.set(f,p)}}catch(e){o={error:e}}finally{try{m&&!m.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}try{for(var g=dB(r),b=g.next();!b.done;b=g.next()){var w=hB(b.value,2),f=w[0],p=w[1];u.set(f,p)}}catch(e){l={error:e}}finally{try{b&&!b.done&&(s=g.return)&&s.call(g)}finally{if(l)throw l.error}}return u}function ql(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)}),null==r?void 0:r.value}function Xl(e){return"w"===e.prefix||""===e.namespaceUri||e.namespaceUri.indexOf("wordprocessingml")>=0}function Yl(e,t){return e.attributes.filter(function(e){return("space"!==e.localName||"xml"!==e.prefix)&&(!Xl(e)||-1===PB.indexOf(e.localName)||!t.has(e.localName))})}function Zl(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}function Kl(e){return Zl(e)}function Jl(e){if(0===e.length)return!1;for(var t=0;t<e.length;t+=1){var r=e.charCodeAt(t);if(32!==r&&9!==r&&10!==r&&13!==r)return!0}return!1}function $l(e){if(!Jl(e))throw new $N("content/invalid-bookmark","Bookmark name must not be empty")}function Ql(e,t){if("number"!=typeof e||!Number.isFinite(e)||e<0||Math.floor(e)!==e)throw new $N("content/invalid-bookmark",t+" must be a non-negative integer")}function es(e){if(ut(e,"bookmarkStart")){var t=Zl(ql(e,"id")),r=ql(e,"name");if(void 0!==t&&void 0!==r&&Jl(r)){var n=new Set;n.add("id"),n.add("name");var i=ql(e,"colFirst"),o=Kl(i);void 0!==i&&void 0!==o&&n.add("colFirst");var a=ql(e,"colLast"),l=Kl(a);return void 0!==a&&void 0!==l&&n.add("colLast"),new SB(t,r,{firstColumn:o,lastColumn:l,residualAttributes:Yl(e,n)})}}}function ts(e){if(ut(e,"bookmarkEnd")){var t=Zl(ql(e,"id"));if(void 0!==t)return new xB(t)}}function rs(e){var t=[];return Mt(e,function(e){for(var r=e.items.toArray(),n=0;n<r.length;n+=1){var i=r[n];void 0!==i&&i instanceof _R&&((i.value instanceof SB||i.value instanceof xB)&&t.push(i.value))}}),t}function ns(e,t){for(var r=rs(e),n=0;n<r.length;n+=1)t(r[n].bookmarkId)}function is(e){var t=new Set;return ns(e,function(e){t.add(e)}),t}function os(e){for(var t=is(e),r=-1;t.has(r);)r-=1;return r}function as(e){var t=new Map,r=0;ns(e,function(e){e>=0&&e>=r&&(r=e+1)}),Mt(e,function(e){var n,i;try{for(var o=bB(e.items),a=o.next();!a.done;a=o.next()){var l=a.value;if(l instanceof _R){if(l.value instanceof SB&&l.value.isPendingBookmarkId()){s=l.value.bookmarkId;void 0===(u=t.get(s))&&(u=r,r+=1,t.set(s,u)),l.value.setBookmarkId(u)}if(l.value instanceof xB&&l.value.isPendingBookmarkId()){var s=l.value.bookmarkId,u=t.get(s);void 0===u&&(u=r,r+=1,t.set(s,u)),l.value.setBookmarkId(u)}}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}})}function ls(e){return os(e)}function ss(e){for(var t=new Set,r=[],n=0;n<e.length;n+=1){var i=e[n];if(i instanceof SB)for(var o=i,a=n+1;a<e.length;a+=1){var l=e[a];if(l instanceof xB&&(l.bookmarkId===o.bookmarkId&&!t.has(l))){t.add(l);var s=IB.get(o);void 0!==s&&s.bookmarkEnd===l||(s=new CB(o,l),IB.set(o,s)),r.push(s);break}}}return r}function us(e){return ss(rs(e))}function cs(e){for(var t=e.owningDocument(),r=us(t),n=[],i=0;i<r.length;i+=1){var o=r[i],a=hs(t,o.bookmarkStart);void 0!==a&&a.paragraph===e&&n.push(o)}return n}function ds(e,t){for(var r=us(e),n=0;n<r.length;n+=1)if(r[n].name===t)return r[n]}function hs(e,t){var r;return Mt(e,function(e){if(void 0===r)for(var n=e.items.toArray(),i=0;i<n.length;i+=1){var o=n[i];if(void 0!==o&&o instanceof _R&&o.value===t)return void(r={paragraph:e,index:i})}}),r}function fs(e,t){var r=hs(e,t.bookmarkStart),n=hs(e,t.bookmarkEnd);if(void 0===r||void 0===n)throw new $N("content/unknown-bookmark","Bookmark markers are not in this document");if(r.paragraph===n.paragraph)if(n.index>r.index)n.paragraph.removeFeatureInline(t.bookmarkEnd),r.paragraph.removeFeatureInline(t.bookmarkStart);else{r.paragraph.removeFeatureInline(t.bookmarkStart);var i=hs(e,t.bookmarkEnd);if(void 0===i)throw new $N("content/unknown-bookmark","Bookmark end marker is not in this document");i.paragraph.removeFeatureInline(t.bookmarkEnd)}else n.paragraph.removeFeatureInline(t.bookmarkEnd),r.paragraph.removeFeatureInline(t.bookmarkStart);IB.delete(t.bookmarkStart)}function ps(e){ms();var t=TB.get(e);if(void 0!==t)return t.rebuildIndexProperties(),t;var r=new VB(e);return r.rebuildIndexProperties(),TB.set(e,r),r}function vs(){kB=!1}function ms(){kB||(kB=!0,je({id:wB}),Ct({featureId:wB,wmlLocalName:"bookmarkStart",tryParse:function(e){return es(e)}}),Ct({featureId:wB,wmlLocalName:"bookmarkEnd",tryParse:function(e){return ts(e)}}),_t({featureId:wB,materialize:function(e){as(e)}}))}function ys(e){return e instanceof _R&&e.featureId===wB&&e.value instanceof SB}function gs(e){return e instanceof _R&&e.featureId===wB&&e.value instanceof xB}function bs(e,t,r){return e.namespaceUri===t&&e.localName===r}function ws(e){return e.children.filter(function(e){return"element"===e.kind})}function Ps(e,t,r){var n=e.attributes.find(function(e){return e.localName===r&&(e.namespaceUri===t||""===e.namespaceUri)});return null==n?void 0:n.value}function Ss(e){if(void 0!==e)return"0"!==e}function xs(e){var t,r,n=0,i=[];try{for(var o=DB(ws(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(bs(l,LB,"commentEx")){n+=1;var s=Ps(l,LB,"paraId");if(void 0!==s&&0!==s.length){var u=Ps(l,LB,"paraIdParent");i.push({paraId:s,paraIdParent:void 0!==u&&u.length>0?u:void 0,done:Ss(Ps(l,LB,"done"))})}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return{count:n,entries:i}}function Cs(e){var t,r,n,i,o,a;if(0!==e.byteLength)try{var l=d(_B.decode(e));if(bs(l,LB,"commentsEx")){var s=xs(l);return FB({},jB,{extendedEntryCount:s.count,extendedEntries:s.entries})}if(bs(l,LB,"people")){var u=[],c=0;try{for(var h=DB(ws(l)),f=h.next();!f.done;f=h.next())if(bs(b=f.value,LB,"person")){c+=1;var p=Ps(b,LB,"author");void 0!==p&&p.length>0&&u.push(p)}}catch(e){t={error:e}}finally{try{f&&!f.done&&(r=h.return)&&r.call(h)}finally{if(t)throw t.error}}return FB({},jB,{peopleCount:c,peopleAuthors:u})}if(bs(l,RB,"commentsIds")){c=0;try{for(var v=DB(ws(l)),m=v.next();!m.done;m=v.next())bs(b=m.value,RB,"commentId")&&(c+=1)}catch(e){n={error:e}}finally{try{m&&!m.done&&(i=v.return)&&i.call(v)}finally{if(n)throw n.error}}return FB({},jB,{idsEntryCount:c})}if(bs(l,BB,"commentsExtensible")){c=0;try{for(var y=DB(ws(l)),g=y.next();!g.done;g=y.next()){var b=g.value;bs(b,BB,"commentExtensible")&&(c+=1)}}catch(e){o={error:e}}finally{try{g&&!g.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}return FB({},jB,{extensibleEntryCount:c})}}catch(e){return FB({},jB)}}function Is(e,t,r){var n,i;try{for(var o=DB(Fe(e,t).items),a=o.next();!a.done;a=o.next()){var l=a.value;if(l.type===r&&l.targetMode!==sE.External){var s=ke(e,ie(l.target,t));if(void 0!==s)return s.data}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Vs(e,t){var r=Is(e,t,OB),n=Is(e,t,NB),i=Is(e,t,AB),o=Is(e,t,EB);return{extended:void 0===r?void 0:Cs(r),people:void 0===n?void 0:Cs(n),ids:void 0===i?void 0:Cs(i),extensible:void 0===o?void 0:Cs(o)}}function Ts(e){return"sdtLocked"===e?{lockContentControl:!0,lockContents:!1}:"contentLocked"===e?{lockContentControl:!1,lockContents:!0}:"sdtContentLocked"===e?{lockContentControl:!0,lockContents:!0}:{lockContentControl:!1,lockContents:!1}}function ks(e,t){return e&&t?"sdtContentLocked":e?"sdtLocked":t?"contentLocked":void 0}function Fs(e,t){return e.namespaceUri===XB&&e.localName===t}function Ds(e,t){return e.namespaceUri===YB&&e.localName===t}function Os(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t}),null==r?void 0:r.value}function Ns(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||st(e.namespaceUri)||"w"===e.prefix)}),null==r?void 0:r.value}function As(e){return Ns(e,"val")}function Es(e){return Os(e,"val")}function Ls(e){if(void 0===e||0===e.length)return!0;var t=e.trim().toLowerCase();return"true"===t||"1"===t||"on"===t||"false"!==t&&"0"!==t&&"off"!==t&&void 0}function Rs(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}function Bs(e){if("sdtLocked"===e||"contentLocked"===e||"unlocked"===e||"sdtContentLocked"===e)return e}function _s(e){if("boundingBox"===e||"tags"===e||"hidden"===e)return e}function js(e){if("text"===e||"date"===e||"dateTime"===e)return e}function Ms(e){if("gregorian"===e||"hijri"===e||"hebrew"===e||"taiwan"===e||"japan"===e||"thai"===e||"korea"===e||"saka"===e||"gregorianArabic"===e||"gregorianMiddleEastFrench"===e||"gregorianTransliteratedEnglish"===e||"gregorianTransliteratedFrench"===e||"gregorianUsLocale"===e)return e}function zs(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix||e.namespaceUri.includes("wordprocessingml")||e.namespaceUri===XB||e.namespaceUri===YB)}),null==r?void 0:r.value}function Us(e){if(ut(e,"dataBinding")){var t=zs(e,"xpath"),r=zs(e,"storeItemID");if(void 0!==t&&0!==t.length&&void 0!==r&&0!==r.length)return{prefixMappings:zs(e,"prefixMappings"),xpath:t,storeItemID:r}}}function Hs(e,t,r,n){return{namespaceUri:e,localName:r,prefix:t,value:n}}function Ws(e,t,r,n){var i,o,a;return{kind:"element",namespaceUri:e,localName:r,prefix:t,attributes:(i=null==n?void 0:n.attributes,null!=i?i:[]),namespaceDeclarations:(o=null==n?void 0:n.namespaceDeclarations,null!=o?o:[]),children:(a=null==n?void 0:n.children,null!=a?a:[])}}function Gs(e,t){return t?pt(e):pt(e,{attributes:[ht("val","false")]})}function qs(e){return s_.has(e)||c_.has(e)}function Xs(e){if(void 0!==e&&!d_.has(e))throw new Error("Content control type '"+e+"' is not authorable.")}function Ys(e){var t,r,n=[];try{for(var i=HB(ct(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(ut(a,"listItem")){var l=new o_;l.displayText=zs(a,"displayText"),l.value=zs(a,"value"),n.push(l)}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return{items:n,lastValue:zs(e,"lastValue")}}function Zs(e){var t,r,n,i,o,a;try{for(var l=HB(ct(e)),s=l.next();!s.done;s=l.next()){var u=s.value;if(ut(u,"dateFormat"))n=As(u);else if(ut(u,"lid")){var c=As(u);void 0!==c&&(i=yn(c))}else ut(u,"storeMappedDataAs")?o=js(As(u)):ut(u,"calendar")&&(a=Ms(As(u)))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return{fullDate:zs(e,"fullDate"),dateDisplayFormat:n,dateDisplayLocale:i,dateStorageFormat:o,dateCalendarType:a}}function Ks(e){return new i_({font:Os(e,"font"),value:Os(e,"val")})}function Js(e){var t,r,n=!1,i=new i_,o=new i_;try{for(var a=HB(ct(e)),l=a.next();!l.done;l=a.next()){var s=l.value;if(Fs(s,"checked")){var u=Ls(Es(s));n=null==u||u}else Fs(s,"checkedState")?i=Ks(s):Fs(s,"uncheckedState")&&(o=Ks(s))}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return{isChecked:n,checkedState:i,uncheckedState:o}}function $s(e){var t=Os(e,"val");return{color:void 0!==t&&t.length>0?fn(t):void 0,themeColor:Os(e,"themeColor"),themeTint:Os(e,"themeTint"),themeShade:Os(e,"themeShade")}}function Qs(e){var t,r,n,i;if(void 0!==e&&ut(e,"sdtPr")){var o,a,l,s,u,c,d,h,f,p,v,m,y,g,b,w,P,S,x,C,I,V,T,k,F=[],D=!1,O=!1,N=!1,A=!1,E=!1,L=!1,R=!1,B=!1,_=!1,j=!1;try{for(var M=HB(ct(e)),z=M.next();!z.done;z=M.next()){var U=z.value;if(!ut(U,"alias")||D)if(!ut(U,"tag")||O)if(!ut(U,"id")||N)if(!ut(U,"lock")||A)if(!ut(U,"placeholder")||E)if(!ut(U,"temporary")||L)if(!ut(U,"dataBinding")||R)if(!Ds(U,"appearance")||B)if(!Ds(U,"color")||_)if(Fs(U,"checkbox")){if(!j){j=!0,d="checkbox";var H=Js(U);g=H.isChecked,b=H.checkedState,w=H.uncheckedState;continue}F.push(U)}else if(st(U.namespaceUri)&&qs(U.localName)){if(!j){if(j=!0,c_.has(U.localName)){F.push(U);continue}var W=s_.get(U.localName);if(void 0===W){F.push(U);continue}if(d=W,"plainText"===W)k=Ls(Ns(U,"multiLine"));else if("date"===W){var G=Zs(U);P=G.fullDate,S=G.dateDisplayFormat,x=G.dateDisplayLocale,C=G.dateStorageFormat,I=G.dateCalendarType}else if("comboBox"===W||"dropDownList"===W){var q=Ys(U);V=q.items,T=q.lastValue}continue}F.push(U)}else F.push(U);else{_=!0;var X=$s(U);if(void 0!==X.color||void 0!==X.themeColor||void 0!==X.themeTint||void 0!==X.themeShade){p=X.color,v=X.themeColor,m=X.themeTint,y=X.themeShade;continue}F.push(U)}else{if(B=!0,void 0!==(X=_s(Es(U)))){f=X;continue}F.push(U)}else{R=!0;var Y=Us(U);if(void 0!==Y){c=Y;continue}F.push(U)}else L=!0,h=null==(X=Ls(As(U)))||X;else{E=!0;try{for(var Z=HB(ct(U)),K=Z.next();!K.done;K=Z.next()){var J=K.value;ut(J,"docPart")&&(u=As(J))}}catch(e){n={error:e}}finally{try{K&&!K.done&&(i=Z.return)&&i.call(Z)}finally{if(n)throw n.error}}}else A=!0,s=Bs(As(U));else N=!0,l=Rs(As(U));else O=!0,o=As(U);else D=!0,a=As(U)}}catch(e){t={error:e}}finally{try{z&&!z.done&&(r=M.return)&&r.call(M)}finally{if(t)throw t.error}}return new l_({tag:o,title:a,id:l,lock:s,placeholderDocPart:u,dataBinding:c,type:d,temporary:h,appearance:f,color:p,themeColor:v,themeTint:m,themeShade:y,isChecked:g,checkedState:b,uncheckedState:w,fullDate:P,dateDisplayFormat:S,dateDisplayLocale:x,dateStorageFormat:C,dateCalendarType:I,listItems:V,lastValue:T,multiline:k,residualChildren:F,leftoverAttributes:GB(e.attributes),namespaceDeclarations:e.namespaceDeclarations})}}function eu(e){var t=[];return void 0!==e.displayText&&t.push(ht("displayText",e.displayText)),void 0!==e.value&&t.push(ht("value",e.value)),pt("listItem",{attributes:t})}function tu(e){var t=[];if(void 0!==e.dateDisplayFormat&&t.push(pt("dateFormat",{attributes:[ht("val",e.dateDisplayFormat)]})),void 0!==e.dateDisplayLocale){var r=gn(e.dateDisplayLocale);void 0!==r&&t.push(pt("lid",{attributes:[ht("val",r)]}))}void 0!==e.dateStorageFormat&&t.push(pt("storeMappedDataAs",{attributes:[ht("val",e.dateStorageFormat)]})),void 0!==e.dateCalendarType&&t.push(pt("calendar",{attributes:[ht("val",e.dateCalendarType)]}));var n=[];return void 0!==e.fullDate&&n.push(ht("fullDate",e.fullDate)),pt("date",{attributes:n,children:t})}function ru(e,t){var r=[];return void 0!==t.font&&r.push(Hs(XB,ZB,"font",t.font)),void 0!==t.value&&r.push(Hs(XB,ZB,"val",t.value)),Ws(XB,ZB,e,{attributes:r})}function nu(e){var t=[Ws(XB,ZB,"checked",{attributes:[Hs(XB,ZB,"val",e.isChecked?"1":"0")]}),ru("checkedState",e.checkedState),ru("uncheckedState",e.uncheckedState)];return Ws(XB,ZB,"checkbox",{children:t})}function iu(e){var t=e.type;if(void 0!==t){if("checkbox"===t)return nu(e);if("date"===t)return tu(e);if("comboBox"===t||"dropDownList"===t){var r="comboBox"===t?"comboBox":"dropDownList",n=e.contentControlListItems.asReadonly().map(eu),i=[];return void 0!==e.lastValue&&i.push(ht("lastValue",e.lastValue)),pt(r,{attributes:i,children:n})}if("plainText"===t){i=[];return void 0!==e.multiline&&i.push(ht("multiLine",e.multiline?"1":"0")),pt("text",{attributes:i})}var o=u_.get(t);if(void 0!==o)return pt(o)}}function ou(e){var t=[];return void 0!==e.prefixMappings&&t.push(ht("prefixMappings",e.prefixMappings)),t.push(ht("xpath",e.xpath)),t.push(ht("storeItemID",e.storeItemID)),pt("dataBinding",{attributes:t})}function au(e){return Ws(YB,KB,"appearance",{attributes:[Hs(YB,KB,"val",e)]})}function lu(e){var t=void 0!==e.color?pn(e.color):void 0,r=e.themeColor,n=e.themeTint,i=e.themeShade;if(void 0!==t||void 0!==r||void 0!==n||void 0!==i){var o=[];return void 0!==t&&o.push(ht("val",t)),void 0!==r&&o.push(Hs(YB,KB,"themeColor",r)),void 0!==n&&o.push(Hs(YB,KB,"themeTint",n)),void 0!==i&&o.push(Hs(YB,KB,"themeShade",i)),Ws(YB,KB,"color",{attributes:o})}}function su(e){var t,r,n=[];void 0!==e.title&&n.push(pt("alias",{attributes:[ht("val",e.title)]})),void 0!==e.tag&&n.push(pt("tag",{attributes:[ht("val",e.tag)]})),void 0!==e.id&&n.push(pt("id",{attributes:[ht("val",String(e.id))]}));var i=e.lockWire;void 0!==i&&n.push(pt("lock",{attributes:[ht("val",i)]})),void 0!==e.placeholderDocPart&&n.push(pt("placeholder",{children:[pt("docPart",{attributes:[ht("val",e.placeholderDocPart)]})]})),e.isTemporary&&n.push(Gs("temporary",!0)),void 0!==e.appearance&&n.push(au(e.appearance));var o=lu(e);void 0!==o&&n.push(o),void 0!==e.dataBinding&&n.push(ou(e.dataBinding));var a=iu(e);void 0!==a&&n.push(a);try{for(var l=HB(e.residualChildren),s=l.next();!s.done;s=l.next()){var u=s.value;n.push(u)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}var c=GB(e.namespaceDeclarations),d="checkbox"===e.type||c.some(function(e){return e.namespaceUri===XB}),h=void 0!==e.appearance||void 0!==e.color||void 0!==e.themeColor||c.some(function(e){return e.namespaceUri===YB});return d&&!c.some(function(e){return e.namespaceUri===XB})&&c.push({prefix:ZB,namespaceUri:XB}),h&&!c.some(function(e){return e.namespaceUri===YB})&&c.push({prefix:KB,namespaceUri:YB}),pt("sdtPr",{attributes:e.leftoverAttributes,namespaceDeclarations:c,children:n})}function uu(e,t){var r,n,i=[];try{for(var o=HB(e),a=o.next();!a.done;a=o.next()){var l=a.value;if("element"===l.kind){var s=l;if(ut(s,"r"))i.push({type:"textRange",run:MR.fromXml(s,t)});else{var u=It(s);void 0===u?i.push({type:"opaque",xml:s}):i.push(u)}}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function cu(e){var t,r;try{for(var n=HB(e),i=n.next();!i.done;i=n.next()){var o=i.value;"feature"===o.type&&o.value instanceof f_&&o.value.releaseContent()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function du(e){var t,r,n=[];try{for(var i=HB(e),o=i.next();!o.done;o=i.next()){var a=o.value;"textRange"!==a.type?"feature"!==a.type?n.push(new jR(a.xml)):n.push(new _R(a.featureId,a.value)):n.push(a.run)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function hu(e){var t,r,n,i,o;try{for(var a=HB(ct(e)),l=a.next();!l.done;l=a.next()){var s=l.value;ut(s,"sdtPr")?n=s:ut(s,"sdtEndPr")?i=s:ut(s,"sdtContent")&&(o=s)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return{sdtPr:n,sdtEndPr:i,sdtContent:o}}function fu(e,t,r){if(ut(e,"sdt")){var n=hu(e),i=n.sdtPr,o=n.sdtEndPr,a=n.sdtContent,l=Qs(i);if(void 0===a&&void 0===i&&void 0===o)return"block"===t?new p_(void 0,void 0,void 0,[],e):new v_(void 0,void 0,void 0,[],e);if("block"===t){var s=void 0!==a?Ma(a.children,r):[];return new p_(l,i,o,s,void 0)}var u=void 0!==a?uu(a.children,h_):[];return new v_(l,i,o,du(u),void 0)}}function pu(e){var t,r,n=[];try{for(var i=HB(e),o=i.next();!o.done;o=i.next()){var a=o.value;if(a instanceof f_)n.push(a);else if("object"==typeof a&&null!==a&&"type"in a){var l=a;"feature"===l.type&&l.value instanceof f_&&n.push(l.value)}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function vu(e){var t,r,n=[];try{for(var i=HB(e),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof v_?n.push(a):a instanceof _R&&a.value instanceof f_&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function mu(e){Xs(e);var t=void 0!==e?new l_({type:e}):void 0,r=void 0!==t?su(t):void 0,n=new GR(void 0),i=new p_(t,r,void 0,[{type:"paragraph",paragraph:n}],void 0,!0);return n.attach(i),i}function yu(e){Xs(e);var t=void 0!==e?new l_({type:e}):void 0,r=void 0!==t?su(t):void 0;return new v_(t,r,void 0,[],void 0,!0)}function gu(){m_=!1}function bu(){m_||(m_=!0,je({id:qB}),Ct({featureId:qB,wmlLocalName:"sdt",tryParse:function(e){return fu(e,"inline",Ue())}}),We({featureId:qB,wmlLocalName:"sdt",tryParse:function(e,t){return fu(e,"block",t)}}),jt({featureId:qB,visitParagraphs:function(e,t){e instanceof p_&&zt(e.body.rawBlocks(),t)}}),Ha({project:function(e){if(e.featureId===qB&&e.value instanceof f_)return e.value},toBlock:function(e){if(e instanceof f_)return{type:"feature",featureId:qB,value:e}},isInstance:function(e){return e instanceof p_||e instanceof f_}}),$a({isBlockContentControl:function(e){return e instanceof p_||e instanceof f_&&!0===e.isBlockLevel},createBlockContentControl:function(){return mu()}}))}function wu(e){return pu(e)}function Pu(e){return vu(e.items.toArray())}function Su(e){return e instanceof _R&&e.featureId===qB&&e.value instanceof f_}function xu(e){if(e instanceof p_)return!0;if(e instanceof f_&&!0===e.isBlockLevel)return!0;if("object"!=typeof e||null===e)return!1;var t=e;return"feature"===t.type&&t.featureId===qB&&t.value instanceof f_&&(t.value instanceof p_||!0===t.value.isBlockLevel)}function Cu(e){return e instanceof p_||e instanceof f_&&!0===e.isBlockLevel}function Iu(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)}),null==r?void 0:r.value}function Vu(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}function Tu(e){var t=e.snapshotCharacterFormat();return{extraAttributes:e.extraAttributes,rPrExtra:t.rPrExtra,styleIdValue:t.styleIdValue,boldValue:t.boldValue,italicValue:t.italicValue,strikeValue:t.strikeValue,doubleStrikeValue:t.doubleStrikeValue,vanishValue:t.vanishValue,legacyHiddenValue:t.legacyHiddenValue,noProofValue:t.noProofValue,fontSizeValue:t.fontSizeValue,fontSizeBidiValue:t.fontSizeBidiValue,textColorValue:t.textColorValue,textColorTheme:t.textColorTheme,highlightValue:t.highlightValue,shadingValue:t.shadingValue,underlineStyleValue:t.underlineStyleValue,underlineColorValue:t.underlineColorValue,vertAlignValue:t.vertAlignValue,smallCapsValue:t.smallCapsValue,allCapsValue:t.allCapsValue,fontsValue:t.fontsValue,characterScaleValue:t.characterScaleValue,kerningValue:t.kerningValue,characterSpacingValue:t.characterSpacingValue,positionValue:t.positionValue,borderValue:t.borderValue,languageValue:t.languageValue,embossValue:t.embossValue,imprintValue:t.imprintValue,outlineValue:t.outlineValue,shadowValue:t.shadowValue,webHiddenValue:t.webHiddenValue,bidiValue:t.bidiValue,complexScriptValue:t.complexScriptValue,boldBidiValue:t.boldBidiValue,italicBidiValue:t.italicBidiValue,emphasisValue:t.emphasisValue,textEffectValue:t.textEffectValue,specVanishValue:t.specVanishValue,snapToGridValue:t.snapToGridValue}}function ku(e){var t=new DR;return new MR(O_,t),void 0!==e&&(t.characterFormat.characterStyle=e),Tu(t)}function Fu(e,t){var r=new DR(t.extraAttributes),n=(t.extraAttributes,b_(t,["extraAttributes"]));r.hydrateCharacterFormat(n);var i=r.characterFormat.buildRPrChildren(),o=[];return i.length>0&&o.push(pt("rPr",{children:i})),o.push(pt("commentReference",{attributes:[ht("id",String(e))]})),pt("r",{attributes:r.extraAttributes,children:o})}function Du(e){return Ma([pt("p",{children:[pt("r",{children:[pt("t",{children:[{kind:"text",value:e}]})]})]})],D_)}function Ou(e){var t,r,n,i;try{for(var o=w_(e),a=o.next();!a.done;a=o.next()){var l=a.value;if("paragraph"===l.type)try{for(var s=w_(l.paragraph.items),u=s.next();!u.done;u=s.next()){var c=u.value;if(c instanceof MR){var d=c.text;if(d.length>0)return d}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}function Nu(e){if(void 0!==e&&0!==e.length){var t=Date.parse(e);if(!Number.isNaN(t))return new Date(t)}}function Au(e){return e.slice("/word/".length)}function Eu(e){return-1!==F_.indexOf(e)}function Lu(e){return void 0!==e&&e.length>0?e:void 0}function Ru(e){var t,r,n=[];try{for(var i=w_(e.entries),o=i.next();!o.done;o=i.next()){var a=o.value;if(void 0===a.preservedXml){var l=[ht("id",String(a.commentId)),ht("author",a.author)],s=Lu(a.initials);void 0!==s&&l.push(ht("initials",s));var u=Lu(a.date);void 0!==u&&l.push(ht("date",u)),n.push(pt("comment",{attributes:l,children:za(a.blocks)}))}else n.push(a.preservedXml)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}var c=pt("comments",{attributes:e.rootExtra.attributes,namespaceDeclarations:e.rootExtra.namespaceDeclarations.length>0?e.rootExtra.namespaceDeclarations:[{prefix:"w",namespaceUri:C_}],children:n});return V_.encode(y(c))}function Bu(e,t){var r,n,i=d(I_.decode(e.data));if(ut(i,"comments")){var o=[];try{for(var a=w_(ct(i)),l=a.next();!l.done;l=a.next()){var s=l.value;if(ut(s,"comment")){var u=Vu(Iu(s,"id")),c=Iu(s,"author"),h=Lu(Iu(s,"initials")),f=Lu(Iu(s,"date"));if(void 0!==u&&void 0!==c&&0!==c.length){var p=Ma(s.children,D_);o.push({commentId:u,author:c,initials:h,date:f,blocks:p,preservedXml:void 0,lastParaId:Xu(p),parentParaId:void 0,done:void 0})}else o.push({commentId:null!=u?u:-1,author:null!=c?c:"",initials:h,date:f,blocks:[],preservedXml:s,lastParaId:void 0,parentParaId:void 0,done:void 0})}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return{partName:e.name,relationshipId:t.id,relationshipType:t.type,rootExtra:{attributes:i.attributes,namespaceDeclarations:i.namespaceDeclarations.length>0?i.namespaceDeclarations:[{prefix:"w",namespaceUri:C_}]},entries:o,dirty:!1,pendingRelationship:void 0}}}function _u(e){var t=q("/word/comments.xml");if(!e.has(W(t)))return t;for(var r=2;e.has(W(q("/word/comments"+String(r)+".xml")));)r+=1;return q("/word/comments"+String(r)+".xml")}function ju(e,t){var r,n,i,o,a=new Set;try{for(var l=w_(e),s=l.next();!s.done;s=l.next()){var u=s.value;u.commentId>=0&&a.add(u.commentId)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}try{for(var c=w_(t.listParagraphs()),d=c.next();!d.done;d=c.next())Mu(d.value,a)}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}for(var h=0;a.has(h);)h+=1;return h}function Mu(e,t){var r,n;try{for(var i=w_(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof _R?(a.value instanceof N_||a.value instanceof A_||a.value instanceof R_)&&t.add(a.value.commentId):a instanceof RR&&a.value instanceof E_&&t.add(a.value.commentId)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function zu(e,t){var r=e.entryFor(t);return void 0!==r&&void 0===r.preservedXml}function Uu(e,t,r){return e instanceof RR&&e.value instanceof E_&&zu(t,e.value.commentId)&&!r.has(e.value.commentId)}function Hu(e,t,r,n){for(var i=[],o=!1,a=t.snapshot().items,l=0;l<a.length;l+=1){var s=a[l];if(Uu(s,r,n)){var u=s.value.commentId,c=r.commentInstanceFor(e,u);c.captureReferenceRunFormatting(s.wireGroup),n.add(u),o=!0,i.push(new _R(x_,c))}else i.push(s)}return!!o&&(t.hydrate(g_({},t.snapshot(),{items:i})),!0)}function Wu(e){oc(e).elevateMainStoryReferences(e)}function Gu(e){return e instanceof _R&&e.featureId===x_&&e.value instanceof R_}function qu(e){var t=e.find(function(e){return"paraId"===e.localName&&(e.namespaceUri===XB||""===e.namespaceUri||"w14"===e.prefix)}),r=null==t?void 0:t.value;return void 0!==r&&r.length>0?r:void 0}function Xu(e){for(var t=e.length-1;t>=0;t-=1){var r=e[t];if(void 0!==r&&"paragraph"===r.type)return qu(r.paragraph.toOpenXml().attributes)}}function Yu(e,t){var r,n,i,o;if(0!==t.length){var a=new Map;try{for(var l=w_(t),s=l.next();!s.done;s=l.next()){var u=s.value;a.set(u.paraId,u)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}try{for(var c=w_(e),d=c.next();!d.done;d=c.next()){var h=d.value;void 0===h.preservedXml&&void 0!==h.lastParaId&&(void 0!==(u=a.get(h.lastParaId))&&(h.done=void 0!==u.done&&u.done,h.parentParaId=u.paraIdParent))}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}}}function Zu(e,t){var r,n,i=new zB(Vs(e,t));try{for(var o=w_(Fe(e,t).items),a=o.next();!a.done;a=o.next()){var l=a.value;if(Eu(l.type)){var s=ke(e,ie(l.target,t));if(void 0!==s){var u=Bu(s,l);if(void 0!==u)return Yu(u.entries,i.extendedEntries()),new B_(u,i)}}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return new B_(void 0,i)}function Ku(e){var t,r,n=q("/word/WordDocument.xml"),i=new Set;try{for(var o=w_(Fe(e.opcPackage(),n).items),a=o.next();!a.done;a=o.next()){var l=a.value;i.add(l.id)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}function Ju(e){var t,r,n=new Set;try{for(var i=w_(e.opcPackage().parts),o=i.next();!o.done;o=i.next()){var a=o.value;n.add(W(a.name))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function $u(e,t,r){for(var n=-1,i=t-1;i>=0;i-=1)if(void 0!==(s=e[i])&&s instanceof _R&&s.value instanceof A_){if(s.value.commentId!==r)break;for(var o=i-1;o>=0;o-=1){var a=e[o];if(void 0!==a&&a instanceof _R&&a.value instanceof N_&&a.value.commentId===r){n=o;break}}break}if(n<0)return[];for(var l=[],i=n+1;i<t;i+=1){var s=e[i];void 0!==s&&s instanceof MR&&l.push(s)}return l}function Qu(e,t){for(var r,n,i=[],o=e.items.toArray(),a=0;a<o.length;a+=1){var l=o[a];if(void 0!==l&&l instanceof _R&&l.value instanceof R_){var s=l.value.commentId,u=t.entryFor(s),c=new E_(s);i.push(new L_(s,(r=null==u?void 0:u.author,null!=r?r:""),null==u?void 0:u.date,$u(o,a,s),c))}else if(void 0!==l&&l instanceof RR&&l.value instanceof E_){var d=l.value,h=t.entryFor(d.commentId);i.push(new L_(d.commentId,(n=null==h?void 0:h.author,null!=n?n:""),null==h?void 0:h.date,$u(o,a,d.commentId),d))}}return i}function ec(e,t){var r,n,i,o,a=[];try{for(var l=w_(e.items),s=l.next();!s.done;s=l.next()){var u=s.value;u instanceof _R&&((u.value instanceof N_||u.value instanceof A_)&&u.value.commentId===t&&a.push(u.value))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}try{for(var c=w_(a),d=c.next();!d.done;d=c.next()){var h=d.value;e.removeFeatureInline(h)}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}}function tc(e,t){var r,n;try{for(var i=w_(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;if(a instanceof _R&&a.value instanceof R_){if(a.value.commentId===t.commentId)return void e.removeFeatureInline(a.value)}else if(a instanceof RR&&a.featureId===x_&&a.value instanceof E_&&a.value.commentId===t.commentId)return void e.removeFeatureRunItem(a.value)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}throw new $N("content/unknown-comment","Comment reference is not in this paragraph")}function rc(){__=!1}function nc(){__||(__=!0,je({id:x_}),tt({featureId:x_,relationshipTypes:F_,loadParts:function(e,t){return Zu(e,t.mainPartName)}}),Ct({featureId:x_,wmlLocalName:"commentRangeStart",tryParse:function(e){if(ut(e,"commentRangeStart")){var t=Vu(Iu(e,"id"));if(void 0!==t)return new N_(t)}}}),Ct({featureId:x_,wmlLocalName:"commentRangeEnd",tryParse:function(e){if(ut(e,"commentRangeEnd")){var t=Vu(Iu(e,"id"));if(void 0!==t)return new A_(t)}}}),bt({featureId:x_,wmlLocalName:"commentReference",tryParse:function(e){if(ut(e,"commentReference")){var t=Vu(Iu(e,"id"));if(void 0!==t)return new E_(t)}}}))}function ic(e){nc();var t=M_.get(e);if(void 0!==t)return t.rebuildIndexProperties(),t;var r=new j_(e);return r.rebuildIndexProperties(),M_.set(e,r),r}function oc(e){var t=e.featurePart(x_);if(t instanceof B_)return t;if(void 0!==t)throw new $N("feature/not-registered","Comments feature state was replaced with an unexpected part type");if(!ze(x_))throw new $N("feature/not-registered","Comments feature is not registered; call registerCommentsFeature() before use");var r=new B_(void 0,new zB({extended:void 0,people:void 0,ids:void 0,extensible:void 0}));return e.setFeaturePart(x_,r),r}function ac(e){return oc(e).extensions()}function lc(e,t){return oc(e).commentInstanceFor(e,t)}function sc(e,t){return oc(e).commentInstanceFor(e,t.commentId)}function uc(e){return oc(e).comments(e)}function cc(e,t){return Qu(t,oc(e))}function dc(e,t){return oc(e).textFor(t.commentId)}function hc(e,t){return oc(e).paragraphsFor(t.commentId)}function fc(e,t){return void 0===e?t?(new Date).toISOString():void 0:"string"==typeof e?Lu(e):e.toISOString()}function pc(e,t,r){var n=e.items.length;if(!Number.isInteger(t)||!Number.isInteger(r)||t<0||r<t||r>n)throw new RangeError("Comment range indices out of range: start="+String(t)+" end="+String(r)+" length="+String(n))}function vc(e,t,r){var n,i,o=e.items.length;return void 0===t&&void 0===r?(n=o,i=o):void 0===t?i=n=null!=r?r:o:void 0===r?(n=t,i=t):(n=t,i=r),pc(e,n,i),{start:n,end:i}}function mc(e,t,r,n,i){e.insertFeatureInlineAt(n,x_,new N_(t)),e.insertFeatureInlineAt(i+1,x_,new A_(t)),e.insertFeatureInlineAt(i+2,x_,r)}function yc(e,t,r,n){var i=oc(e);i.ensurePart(Ku(e),Ju(e));var o=fc(n.date,n.defaultDateNow),a=i.addEntry(e,t,r,o,n.initials),l=i.commentInstanceFor(e,a);return l.applyDefaultReferenceRunStyle(),l}function gc(e,t,r){var n="string"==typeof t?g_({text:t},r):t,i=e.owningDocument(),o=vc(e,n.rangeStart,n.rangeEnd),a=yc(i,null!=n.author?n.author:"",n.text,g_({},void 0!==n.date?{date:n.date}:{},void 0!==n.initials?{initials:n.initials}:{},{defaultDateNow:!0}));return mc(e,a.commentId,a,o.start,o.end),a}function bc(e,t,r,n,i){void 0===i&&(i="");var o,a=yc(e,r,n,{defaultDateNow:!1}),l=a.commentId,s=new E_(l),u=[];if(i.length>0){t.appendFeatureInline(x_,new N_(l));var c=t.appendText(i);u.push(c),t.appendFeatureInline(x_,new A_(l))}t.appendFeatureInline(x_,a);var d=oc(e).entryFor(l);return new L_(l,(o=null==d?void 0:d.author,null!=o?o:r),null==d?void 0:d.date,u,s)}function wc(e,t,r){ec(t,r.commentId),tc(t,r.reference),oc(e).removeEntry(r.commentId)}function Pc(e){return e instanceof _R&&e.featureId===x_&&e.value instanceof N_}function Sc(e){return e instanceof _R&&e.featureId===x_&&e.value instanceof A_}function xc(e){return e instanceof RR&&e.featureId===x_&&e.value instanceof E_}function Cc(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix||e.namespaceUri.includes("wordprocessingml"))}),null==r?void 0:r.value}function Ic(e){if(ut(e,"attr")){var t=Cc(e,"name"),r=Cc(e,"val");if(void 0!==t&&0!==t.length&&void 0!==r)return{uri:Cc(e,"uri"),name:t,val:r}}}function Vc(e){var t,r;if(void 0!==e&&ut(e,"customXmlPr")){var n,i=[];try{for(var o=z_(ct(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(ut(l,"placeholder"))n=Cc(l,"val");else{var s=Ic(l);void 0!==s&&i.push(s)}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}if(void 0!==n||0!==i.length)return new Z_(n,i)}}function Tc(e,t){var r,n,i=[];try{for(var o=z_(e),a=o.next();!a.done;a=o.next()){var l=a.value;if("element"===l.kind){var s=l;if(ut(s,"r"))i.push({type:"textRange",run:MR.fromXml(s,t)});else{var u=It(s);void 0===u?i.push({type:"opaque",xml:s}):i.push(u)}}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function kc(e){var t,r,n=[];try{for(var i=z_(e),o=i.next();!o.done;o=i.next()){var a=o.value;"textRange"===a.type?n.push(UR(a.run)):"feature"===a.type?n.push(Vt(a)):n.push(a.xml)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function Fc(e){var t,r;try{for(var n=z_(e),i=n.next();!i.done;i=n.next()){var o=i.value;"feature"===o.type&&o.value instanceof J_&&o.value.releaseContent()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function Dc(e){var t,r;try{for(var n=z_(e),i=n.next();!i.done;i=n.next()){var o=i.value;"feature"===o.type&&o.value instanceof J_&&o.value.releaseContent()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function Oc(e){var t,r,n,i=[];try{for(var o=z_(ct(e)),a=o.next();!a.done;a=o.next()){var l=a.value;ut(l,"customXmlPr")?n=l:i.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return{customXmlPr:n,content:i}}function Nc(e,t,r){if(ut(e,"customXml")){var n=Cc(e,"element");if(void 0===n||0===n.length)return new J_("",void 0,void 0,void 0,void 0,void 0,e);var i=Cc(e,"uri"),o=Oc(e),a=o.customXmlPr,l=o.content,s=Vc(a);if("block"===t){var u=Ma(l,r);return new J_(n,i,s,a,u,void 0,void 0)}var c=Tc(l,K_);return new J_(n,i,s,a,void 0,c,void 0)}}function Ac(e){var t;try{var r=d(G_.decode(e));if("datastoreItem"!==r.localName)return;return t=r.attributes.find(function(e){return"itemID"===e.localName&&(e.namespaceUri===q_||""===e.namespaceUri||e.namespaceUri.includes("customXml"))}),null==t?void 0:t.value}catch(e){return}}function Ec(e){return-1!==X_.indexOf(e)}function Lc(e){return-1!==Y_.indexOf(e)}function Rc(e,t){var r,n,i,o,a=[];try{for(var l=z_(Fe(e,t).items),s=l.next();!s.done;s=l.next()){var u=s.value;if(Ec(u.type)){var c=ie(u.target,t),d=ke(e,c);if(void 0!==d){var h=void 0,f=void 0,p=void 0,v=void 0;try{for(var m=z_(Fe(e,c).items),y=m.next();!y.done;y=m.next()){var g=y.value;if(Lc(g.type)){var b=ke(e,h=ie(g.target,c));if(void 0!==b){f=b.data,p=b.contentType,v=Ac(b.data);break}}}}catch(e){i={error:e}}finally{try{y&&!y.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}a.push(new $_(c,d.data,d.contentType,v,h,f,p))}}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return new Q_(a)}function Bc(e){var t,r,n=[];try{for(var i=z_(e),o=i.next();!o.done;o=i.next()){var a=o.value;"feature"===a.type&&a.value instanceof J_&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function _c(e){var t,r,n=[];try{for(var i=z_(e),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof _R&&a.value instanceof J_&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function jc(){ej=!1}function Mc(){ej||(ej=!0,je({id:W_}),tt({featureId:W_,relationshipTypes:X_,loadParts:function(e,t){return Rc(e,t.mainPartName)}}),Ct({featureId:W_,wmlLocalName:"customXml",tryParse:function(e){return Nc(e,"inline",Ue())}}),We({featureId:W_,wmlLocalName:"customXml",tryParse:function(e,t){return Nc(e,"block",t)}}))}function zc(e){var t=e.featurePart(W_);if(void 0===t||!(t instanceof Q_))throw new $N("feature/not-registered","Custom XML datastore was not loaded; call registerCustomXmlFeature() before WordDocument.open");return t}function Uc(e){return Bc(e)}function Hc(e){return _c(e.items.toArray())}function Wc(e){return e instanceof _R&&e.featureId===W_&&e.value instanceof J_}function Gc(e,t){throw new nA("Unhandled "+t+": "+JSON.stringify(e))}function qc(e){if(void 0!==e){var t=rj[e];return void 0!==t?t:void 0}}function Xc(e){var t=nj[e];if(void 0!==t)return t;if(void 0!==rj[e])return e;throw new RangeError("Unsupported BorderStyle value")}function Yc(e){return void 0!==e&&void 0!==rj[e]}function Zc(e,t){if("number"!=typeof e||!isFinite(e)||e<0)throw new RangeError(t+" must be a finite non-negative number")}function Kc(t){if("string"!=typeof t)return!1;if(Yc(t))return!0;if(void 0!==qc(t))return!0;for(var r=Object.keys(e.BorderStyle),n=0;n<r.length;n+=1)if(e.BorderStyle[r[n]]===t)return!0;return!1}function Jc(e){if("number"==typeof e){var t=pn(e);return t.length>0?t:"auto"}if("string"!=typeof e)throw new RangeError("Border color must be a string, Color, or hex color");var r=e.trim();if(0===r.length)throw new RangeError("Border color must be a non-empty string");if("auto"===r.toLowerCase())return"auto";var n=hn(r);return void 0!==n?n:e}function $c(e,t){return{readEdge:function(t){var r=e();if(void 0!==r)return r[t]},writeEdge:function(r,n){var i=e(),o=void 0!==i?ij({},i):{},a=o;void 0===n?delete a[r]:a[r]=n;var l=void 0!==o.top||void 0!==o.bottom||void 0!==o.left||void 0!==o.right||void 0!==o.insideH||void 0!==o.insideV;t(l?o:void 0)}}}function Qc(e,t){return{readEdge:function(t){var r=e();if(void 0!==r)return r[t]},writeEdge:function(r,n){var i=e(),o=void 0!==i?ij({},i):{},a=o;void 0===n?delete a[r]:a[r]=n;var l=void 0!==o.top||void 0!==o.bottom||void 0!==o.left||void 0!==o.right||void 0!==o.insideH||void 0!==o.insideV||void 0!==o.tl2br||void 0!==o.tr2bl;t(l?o:void 0)}}}function ed(e){return new e(void 0,[{type:"paragraph",paragraph:new GR(void 0)}])}function td(e,t){var r,n;try{for(var i=fj(ct(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(ut(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function rd(e){return null!=e?e:pt("trPr")}function nd(e,t,r){return pi(fi(rd(e),"trPr",t,r))}function id(e){var t;if(void 0!==e){var r=td(e,"trHeight");if(void 0!==r){var n=ci(di(r,"val"));if(void 0!==n){var i=(t=di(r,"hRule"),null!=t?t:"auto");if(pj.has(i))return{value:Ur(n),rule:i}}}}}function od(e,t){if(void 0===t){if(void 0===e)return;return nd(e,"trHeight",void 0)}return nd(e,"trHeight",pt("trHeight",{attributes:[ht("val",String(zr(t.value))),ht("hRule",t.rule)]}))}function ad(e){if(void 0!==e){var t=td(e,"cantSplit");return void 0!==t?Er(t):void 0}}function ld(e,t){if(void 0!==t||void 0!==e)return nd(e,"cantSplit",void 0!==t?Lr("cantSplit",t):void 0)}function sd(e){if(void 0!==e){var t=td(e,"tblHeader");return void 0!==t?Er(t):void 0}}function ud(e,t){if(void 0!==t||void 0!==e)return nd(e,"tblHeader",void 0!==t?Lr("tblHeader",t):void 0)}function cd(e){if(void 0!==e){var t=td(e,"jc");return void 0!==t?Fi(t):void 0}}function dd(e,t){if(void 0!==t||void 0!==e)return nd(e,"jc",void 0!==t?Di(t):void 0)}function hd(e){if(void 0!==e){var t=td(e,"shd");if(void 0!==t){var r=Ti(t);if(void 0!==r.fill||void 0!==r.color||void 0!==r.pattern)return r}}}function fd(e,t){if(void 0!==t||void 0!==e)return nd(e,"shd",void 0!==t?ki(t):void 0)}function pd(e){if(void 0!==e){var t=td(e,"cnfStyle");if(void 0!==t){var r=Ui(t);return Mi(ji(r))?r:void 0}}}function vd(e,t){if(void 0===t){if(void 0===e)return;return nd(e,"cnfStyle",void 0)}var r=void 0!==e?td(e,"cnfStyle"):void 0;return nd(e,"cnfStyle",Hi(ji(t),r))}function md(e,t){var r,n;try{for(var i=vj(ct(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(ut(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function yd(e,t){var r,n;try{for(var i=vj(ct(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(ut(a,t)){var l=vt(a);if(void 0!==l&&/^\d+$/.test(l))return parseInt(l,10)}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function gd(e){var t,r;try{for(var n=vj(ct(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(ut(o,"vMerge")){var a=vt(o);if("restart"===a)return"restart";if("continue"===a||void 0===a)return"continue"}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function bd(e,t,r){return fi(e,"tcPr",t,r)}function wd(e){return null!=e?e:pt("tcPr")}function Pd(e,t,r){return pi(bd(wd(e),t,r))}function Sd(e){if(void 0!==e)return yd(e,"gridSpan")}function xd(e){if(void 0!==e)return gd(e)}function Cd(e,t){if(void 0===t||1===t){if(void 0===e)return;return Pd(e,"gridSpan",void 0)}if(t<1)throw new RangeError("gridSpan must be at least 1");return Pd(e,"gridSpan",pt("gridSpan",{attributes:[ht("val",String(t))]}))}function Id(e,t){if(void 0===t){if(void 0===e)return;return Pd(e,"vMerge",void 0)}return Pd(e,"vMerge","restart"===t?pt("vMerge",{attributes:[ht("val","restart")]}):pt("vMerge",{attributes:[ht("val","continue")]}))}function Vd(e){var t,r;try{for(var n=vj(ct(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(ut(o,"hMerge")){var a=vt(o);if("restart"===a)return"restart";if("continue"===a||void 0===a)return"continue"}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function Td(e){if(void 0!==e)return Vd(e)}function kd(e,t){if(void 0===t){if(void 0===e)return;return Pd(e,"hMerge",void 0)}return Pd(e,"hMerge","restart"===t?pt("hMerge",{attributes:[ht("val","restart")]}):pt("hMerge",{attributes:[ht("val","continue")]}))}function Fd(e){if(void 0!==e){var t=md(e,"tcW");return void 0!==t?vi(t):void 0}}function Dd(e,t){return Pd(e,"tcW",void 0!==t?mi("tcW",t):void 0)}function Od(e){if(void 0!==e){var t=md(e,"tcBorders");if(void 0!==t){var r=Pi(t);if(void 0!==r.top||void 0!==r.left||void 0!==r.bottom||void 0!==r.right||void 0!==r.insideH||void 0!==r.insideV||void 0!==r.tl2br||void 0!==r.tr2bl)return r}}}function Nd(e,t){var r=void 0!==e?md(e,"tcBorders"):void 0;return Pd(e,"tcBorders",void 0!==t?Si(t,r):void 0)}function Ad(e){if(void 0!==e){var t=md(e,"shd");if(void 0!==t){var r=Ti(t);if(void 0!==r.fill||void 0!==r.color||void 0!==r.pattern)return r}}}function Ed(e){return void 0!==e.fill&&e.fill.length>0||(void 0!==e.color&&e.color.length>0&&"auto"!==e.color||(void 0!==e.pattern&&e.pattern.length>0&&"clear"!==e.pattern||"clear"===e.pattern&&void 0!==e.color&&e.color.length>0))}function Ld(e,t){return void 0!==t&&Ed(t)?Pd(e,"shd",ki(t)):Pd(e,"shd",void 0)}function Rd(e){if(void 0!==e){var t=md(e,"tcMar");if(void 0!==t){var r=Ci(t);if(void 0!==r.top||void 0!==r.right||void 0!==r.bottom||void 0!==r.left)return r}}}function Bd(e){return void 0===e||void 0===md(e,"tcMar")}function _d(e,t){var r=void 0!==e?md(e,"tcMar"):void 0;return Pd(e,"tcMar",void 0!==t?Vi("tcMar",t,r):void 0)}function jd(e,t){if(t)return _d(e,void 0);var r=void 0!==e?md(e,"tcMar"):void 0;if(void 0!==r){var n=Ci(r);if(void 0!==n.top||void 0!==n.right||void 0!==n.bottom||void 0!==n.left)return e}return _d(e,mj)}function Md(e){if(void 0!==e)return gj.has(e)?e:"lrTb"===e?"lr":"tbRl"===e?"tb":"btLr"===e?"btLr":"lrTbV"===e?"lrV":"tbRlV"===e?"rlV":"tbLrV"===e?"tb":void 0}function zd(e){if(void 0!==e){var t=md(e,"textDirection");if(void 0!==t)return Md(vt(t))}}function Ud(e,t){return Pd(e,"textDirection",void 0!==t?pt("textDirection",{attributes:[ht("val",t)]}):void 0)}function Hd(e){if(void 0!==e){var t=md(e,"vAlign");if(void 0!==t){var r=vt(t);return"top"===r||"center"===r||"bottom"===r?r:void 0}}}function Wd(e,t){return Pd(e,"vAlign",void 0!==t?pt("vAlign",{attributes:[ht("val",t)]}):void 0)}function Gd(e){if(void 0!==e){var t=md(e,"noWrap");return void 0!==t?Er(t):void 0}}function qd(e,t){return Pd(e,"noWrap",void 0!==t?Lr("noWrap",t):void 0)}function Xd(e){if(void 0!==e){var t=md(e,"tcFitText");return void 0!==t?Er(t):void 0}}function Yd(e,t){return Pd(e,"tcFitText",void 0!==t?Lr("tcFitText",t):void 0)}function Zd(e){if(void 0!==e){var t=md(e,"hideMark");return void 0!==t?Er(t):void 0}}function Kd(e,t){return Pd(e,"hideMark",void 0!==t?Lr("hideMark",t):void 0)}function Jd(e){if(void 0!==e){var t=md(e,"cnfStyle");if(void 0!==t){var r=Ui(t);return Mi(ji(r))?r:void 0}}}function $d(e,t){if(void 0===t){if(void 0===e)return;return Pd(e,"cnfStyle",void 0)}var r=void 0!==e?md(e,"cnfStyle"):void 0;return Pd(e,"cnfStyle",Hi(ji(t),r))}function Qd(e,t){var r,n;try{for(var i=wj(ct(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(ut(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function eh(e){return"margin"===e?"margin":"page"===e?"page":"column"===e?"column":void 0}function th(e){return"margin"===e?"margin":"page"===e?"page":"paragraph"===e?"paragraph":void 0}function rh(e,t){var r=ci(di(e,t));return void 0!==r?Ur(r):void 0}function nh(e){var t=Qd(e,"tblpPr");if(void 0!==t){for(var r=[],n=0;n<t.attributes.length;n+=1){var i=t.attributes[n];!0!==Pj[i.localName]&&r.push(i)}return bj({horizontalPosition:rh(t,"tblpX"),verticalPosition:rh(t,"tblpY"),horizontalOrigin:eh(di(t,"horzAnchor")),verticalOrigin:th(di(t,"vertAnchor")),distanceFromTop:rh(t,"topFromText"),distanceFromBottom:rh(t,"bottomFromText"),distanceFromLeft:rh(t,"leftFromText"),distanceFromRight:rh(t,"rightFromText")},r.length>0?{unknownAttributes:r}:{})}}function ih(e,t,r){void 0!==r&&e.push(ht(t,String(zr(r))))}function oh(e,t){if(void 0===t)return fi(e,"tblPr","tblpPr",void 0);var r=Qd(e,"tblpPr"),n=[];ih(n,"leftFromText",t.distanceFromLeft),ih(n,"rightFromText",t.distanceFromRight),ih(n,"topFromText",t.distanceFromTop),ih(n,"bottomFromText",t.distanceFromBottom),void 0!==t.verticalOrigin&&n.push(ht("vertAnchor",t.verticalOrigin)),void 0!==t.horizontalOrigin&&n.push(ht("horzAnchor",t.horizontalOrigin)),ih(n,"tblpX",t.horizontalPosition),ih(n,"tblpY",t.verticalPosition);for(var i={},o=0;o<n.length;o+=1)i[n[o].localName]=!0;for(var a=void 0!==t.unknownAttributes?t.unknownAttributes:void 0!==r?r.attributes:[],o=0;o<a.length;o+=1){var l=a[o];!0!==Pj[l.localName]&&(!0!==i[l.localName]&&(n.push(l),i[l.localName]=!0))}if(void 0!==r)for(o=0;o<r.attributes.length;o+=1)!0!==i[(l=r.attributes[o]).localName]&&("tblpXSpec"!==l.localName&&"tblpYSpec"!==l.localName||(n.push(l),i[l.localName]=!0));var s=fi(e,"tblPr","tblpPr",pt("tblpPr",{attributes:n,namespaceDeclarations:void 0!==r?r.namespaceDeclarations:void 0,children:void 0!==r?ct(r):void 0}));return void 0!==pi(s)?s:e}function ah(e){return null==e?void 0:e.fill}function lh(e){if("number"==typeof e){var t=pn(e);return t.length>0?t:void 0}var r=e.trim();if(0!==r.length){if("auto"===r.toLowerCase())return"auto";var n=hn(r);return void 0!==n?n:e}}function sh(e,t){if(void 0===e){if(void 0===t)return;var r=t.pattern,n=t.color;if(!(void 0!==r&&"clear"!==r||void 0!==n&&"auto"!==n))return;if(void 0===n&&void 0===r)return;return Sj({},void 0!==n?{color:n}:{},void 0!==r?{pattern:r}:{})}var i=void 0!==t&&void 0!==t.pattern&&t.pattern.length>0?t.pattern:"clear";return{fill:e,color:void 0!==t&&void 0!==t.color&&t.color.length>0?t.color:"auto",pattern:i}}function uh(e){return"restart"===e?xj.Start:"continue"===e?xj.Continue:xj.None}function ch(e){return e===xj.Start?"restart":e===xj.Continue?"continue":void 0}function dh(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===FE||""===e.namespaceUri)});return null==r?void 0:r.value}function hh(e){return ia(e)}function fh(e){var t,r;if(void 0===e||!ut(e,"pPr"))return Nj;var n,i,o,a,l,s,u,c;try{for(var d=Oj(ct(e)),h=d.next();!h.done;h=d.next()){var f=h.value;if(ut(f,f.localName))switch(f.localName){case"spacing":n=ia(f);continue;case"ind":i=oa(f);continue;case"keepNext":void 0!==(p=Er(f))&&(o=p);continue;case"keepLines":void 0!==(p=Er(f))&&(a=p);continue;case"pageBreakBefore":void 0!==(p=Er(f))&&(l=p);continue;case"widowControl":void 0!==(p=Er(f))&&(s=p);continue;case"contextualSpacing":var p=Er(f);void 0!==p&&(u=p);continue;case"outlineLvl":var v=dh(f,"val");if(void 0!==v&&/^\d$/.test(v)){var m=parseInt(v,10);m>=0&&m<=8&&(c=m)}continue;default:continue}}}catch(e){t={error:e}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}return{spacing:n,indentation:i,keepNext:o,keepLines:a,pageBreakBefore:l,widowControl:s,contextualSpacing:u,outlineLevel:c}}function ph(e,t){return void 0!==t?t:e}function vh(e,t){return{spacing:void 0!==t.spacing||void 0!==e.spacing?Dj({},null!=e.spacing?e.spacing:{},null!=t.spacing?t.spacing:{}):void 0,indentation:void 0!==t.indentation||void 0!==e.indentation?Dj({},null!=e.indentation?e.indentation:{},null!=t.indentation?t.indentation:{}):void 0,keepNext:ph(e.keepNext,t.keepNext),keepLines:ph(e.keepLines,t.keepLines),pageBreakBefore:ph(e.pageBreakBefore,t.pageBreakBefore),widowControl:ph(e.widowControl,t.widowControl),contextualSpacing:ph(e.contextualSpacing,t.contextualSpacing),outlineLevel:void 0!==t.outlineLevel?t.outlineLevel:e.outlineLevel}}function mh(e){var t=[];if(void 0!==e.keepNext&&t.push(Lr("keepNext",e.keepNext)),void 0!==e.keepLines&&t.push(Lr("keepLines",e.keepLines)),void 0!==e.pageBreakBefore&&t.push(Lr("pageBreakBefore",e.pageBreakBefore)),void 0!==e.widowControl&&t.push(Lr("widowControl",e.widowControl)),void 0!==e.spacing&&t.push(aa(e.spacing)),void 0!==e.indentation&&t.push(la(e.indentation)),void 0!==e.contextualSpacing&&t.push(Lr("contextualSpacing",e.contextualSpacing)),void 0!==e.outlineLevel&&t.push(pt("outlineLvl",{attributes:[ht("val",String(e.outlineLevel))]})),0!==t.length)return pt("pPr",{children:t})}function yh(e){if(void 0!==e)return-1!==Hj.indexOf(e)?e:void 0}function gh(e){var t,r,n,i,o;try{for(var a=Ej(xh(e)),l=a.next();!l.done;l=a.next()){var s=l.value;Ph(s,"latin")?n=Sh(s,"typeface"):Ph(s,"ea")?i=Sh(s,"typeface"):Ph(s,"cs")&&(o=Sh(s,"typeface"))}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return{latin:n,ea:i,cs:o}}function bh(e){var t,r,n,i,o,a;try{for(var l=Ej(xh(e)),s=l.next();!s.done;s=l.next()){var u=s.value;if(Ph(u,"themeElements")){var c=void 0,d=void 0;try{for(var h=Ej(xh(u)),f=h.next();!f.done;f=h.next()){var p=f.value;if(Ph(p,"fontScheme")){try{for(var v=Ej(xh(p)),m=v.next();!m.done;m=v.next()){var y=m.value;Ph(y,"majorFont")?c=gh(y):Ph(y,"minorFont")&&(d=gh(y))}}catch(e){o={error:e}}finally{try{m&&!m.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}break}}}catch(e){n={error:e}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}if(void 0===c&&void 0===d)return;return{major:null!=c?c:{latin:void 0,ea:void 0,cs:void 0},minor:null!=d?d:{latin:void 0,ea:void 0,cs:void 0}}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}}function wh(e,t){switch(t){case"majorAscii":case"majorHAnsi":return e.major.latin;case"minorAscii":case"minorHAnsi":return e.minor.latin;case"majorEastAsia":return e.major.ea;case"minorEastAsia":return e.minor.ea;case"majorBidi":return e.major.cs;case"minorBidi":return e.minor.cs}}function Ph(e,t){return e.localName===t&&e.namespaceUri===Bj}function Sh(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===Bj||""===e.namespaceUri)});return null==r?void 0:r.value}function xh(e){return e.children.filter(function(e){return"element"===e.kind})}function Ch(e){var t,r,n,i;if(Ph(e,"theme")){var o,a,l;try{for(var s=Ej(xh(e)),u=s.next();!u.done;u=s.next()){var c=u.value;if(Ph(c,"themeElements")){try{for(var d=Ej(xh(c)),h=d.next();!h.done;h=d.next()){var f=h.value;Ph(f,"clrScheme")?o=Sh(f,"name"):Ph(f,"fontScheme")?a=Sh(f,"name"):Ph(f,"fmtScheme")&&(l=Sh(f,"name"))}}catch(e){n={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}break}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return{name:Sh(e,"name"),colorSchemeName:o,fontSchemeName:a,formatSchemeName:l,fontScheme:bh(e)}}}function Ih(e){return Ch(d(Uj.decode(e)))}function Vh(){var e=Rj.encode(Aj),t=Ih(e);return new Wj(e,t,!0)}function Th(e){if(void 0===e)return Vh();var t=Ih(e.data);return new Wj(e.data,t,!1)}function kh(){Gj=!1}function Fh(){Gj||(Gj=!0,je({id:Lj}),Ye({featureId:Lj,relationshipTypes:[_j,jj],defaultRelativeTarget:"theme/theme1.xml",partName:zj,contentType:Mj,loadPart:function(e,t){return Th(e)}}))}function Dh(e){Fh();var t=e.featurePart(Lj);if(void 0===t||!(t instanceof Wj))throw new $N("feature/not-registered","Theme part was not loaded; call registerStylesFeature() before WordDocument.open");return t}function Oh(e){return void 0!==e&&Yj.has(e)?e:void 0}function Nh(e){return void 0!==e&&Zj.has(e)?e:void 0}function Ah(e){return void 0!==e&&Kj.has(e)?e:void 0}function Eh(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===FE||""===e.namespaceUri)});return null==r?void 0:r.value}function Lh(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===FE||""===e.namespaceUri)});return null==r?void 0:r.value}function Rh(e){var t=Eh(e,"ascii"),r=Eh(e,"hAnsi"),n=Eh(e,"eastAsia"),i=Eh(e,"cs"),o=yh(Eh(e,"asciiTheme")),a=yh(Eh(e,"hAnsiTheme")),l=yh(Eh(e,"eastAsiaTheme")),s=yh(Eh(e,"cstheme"));return{asciiFont:void 0!==t?t:void 0,hAnsiFont:void 0!==r?r:void 0,eastAsiaFont:void 0!==n?n:void 0,csFont:void 0!==i?i:void 0,fontHint:Ah(Eh(e,"hint")),asciiTheme:void 0===t?o:void 0,hAnsiTheme:void 0===r?a:void 0,eastAsiaTheme:void 0===n?l:void 0,csTheme:void 0===i?s:void 0}}function Bh(e){var t=Lh(e,"val"),r=Lh(e,"eastAsia"),n=Lh(e,"bidi");if(void 0!==t||void 0!==r||void 0!==n)return{val:t,eastAsia:r,bidi:n}}function _h(e){var t=vt(e);if(void 0!==t&&/^\d+$/.test(t))return Wr(parseInt(t,10))}function jh(e){var t,r;if(void 0===e||!ut(e,"rPr"))return Xj;var n,i,o,a,l,s,u,c,d,h,f,p,v,m,y,g,b,w,P,S;try{for(var x=qj(ct(e)),C=x.next();!C.done;C=x.next()){var I=C.value;if(ut(I,I.localName))if("rFonts"!==I.localName)if("sz"!==I.localName)if("szCs"!==I.localName)if("kern"!==I.localName)if("lang"!==I.localName)if("u"!==I.localName)if("color"!==I.localName)if("vertAlign"!==I.localName){if("b"===I.localName||"i"===I.localName||"bCs"===I.localName||"iCs"===I.localName){var V=Er(I);void 0!==V&&("b"===I.localName?n=V:"i"===I.localName?o=V:"bCs"===I.localName?i=V:a=V)}}else P=Nh(vt(I));else{var T=vt(I);void 0!==T&&Jj.test(T)&&(w=T)}else{var k=Oh(vt(I));if(void 0!==k){var F=Eh(I,"color");b={kind:k,color:void 0!==F?F:void 0}}}else S=Bh(I);else u=_h(I);else s=_h(I);else l=_h(I);else{var D=Rh(I);c=D.asciiFont,d=D.hAnsiFont,h=D.eastAsiaFont,f=D.csFont,p=D.fontHint,v=D.asciiTheme,m=D.hAnsiTheme,y=D.eastAsiaTheme,g=D.csTheme}}}catch(e){t={error:e}}finally{try{C&&!C.done&&(r=x.return)&&r.call(x)}finally{if(t)throw t.error}}return{bold:n,boldCs:i,italic:o,italicCs:a,fontSize:l,fontSizeCs:s,kerning:u,asciiFont:c,hAnsiFont:d,eastAsiaFont:h,csFont:f,fontHint:p,asciiTheme:v,hAnsiTheme:m,eastAsiaTheme:y,csTheme:g,underline:b,color:w,vertAlign:P,lang:S}}function Mh(e,t,r,n){return void 0!==r?{font:r,theme:void 0}:void 0!==n?{font:void 0,theme:n}:{font:e,theme:t}}function zh(e,t,r,n){return void 0!==r?{font:r,theme:void 0}:void 0!==n?{font:void 0,theme:n}:{font:e,theme:t}}function Uh(e,t){return void 0===t?e:void 0===e?t:{val:void 0!==t.val?t.val:e.val,eastAsia:void 0!==t.eastAsia?t.eastAsia:e.eastAsia,bidi:void 0!==t.bidi?t.bidi:e.bidi}}function Hh(e,t){var r=Mh(e.asciiFont,e.asciiTheme,t.asciiFont,t.asciiTheme),n=Mh(e.hAnsiFont,e.hAnsiTheme,t.hAnsiFont,t.hAnsiTheme),i=zh(e.eastAsiaFont,e.eastAsiaTheme,t.eastAsiaFont,t.eastAsiaTheme),o=zh(e.csFont,e.csTheme,t.csFont,t.csTheme);return{bold:void 0!==t.bold?t.bold:e.bold,boldCs:void 0!==t.boldCs?t.boldCs:e.boldCs,italic:void 0!==t.italic?t.italic:e.italic,italicCs:void 0!==t.italicCs?t.italicCs:e.italicCs,fontSize:void 0!==t.fontSize?t.fontSize:e.fontSize,fontSizeCs:void 0!==t.fontSizeCs?t.fontSizeCs:e.fontSizeCs,kerning:void 0!==t.kerning?t.kerning:e.kerning,asciiFont:r.font,hAnsiFont:n.font,eastAsiaFont:i.font,csFont:o.font,fontHint:void 0!==t.fontHint?t.fontHint:e.fontHint,asciiTheme:r.theme,hAnsiTheme:n.theme,eastAsiaTheme:i.theme,csTheme:o.theme,underline:void 0!==t.underline?t.underline:e.underline,color:void 0!==t.color?t.color:e.color,vertAlign:void 0!==t.vertAlign?t.vertAlign:e.vertAlign,lang:Uh(e.lang,t.lang)}}function Wh(e){var t=e.characterFormat.fontsRecord();if(void 0===t)return{asciiFont:void 0,hAnsiFont:void 0,eastAsiaFont:void 0,csFont:void 0,fontHint:void 0,asciiTheme:void 0,hAnsiTheme:void 0,eastAsiaTheme:void 0,csTheme:void 0};var r=t.hint,n="default"===r||"eastAsia"===r?r:void 0;return{asciiFont:t.ascii,hAnsiFont:t.hAnsi,eastAsiaFont:t.eastAsia,csFont:t.cs,fontHint:n,asciiTheme:yh(t.asciiTheme),hAnsiTheme:yh(t.hAnsiTheme),eastAsiaTheme:yh(t.eastAsiaTheme),csTheme:yh(t.cTheme)}}function Gh(e){var t,r,n,i;try{for(var o=qj(ct(e)),a=o.next();!a.done;a=o.next()){var l=a.value;ut(l,"basedOn")?n=vt(l):ut(l,"rPr")&&(i=l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return{basedOn:n,runProperties:jh(i)}}function qh(e){var t,r,n,i;if(void 0===e||!ut(e,"docDefaults"))return Xj;try{for(var o=qj(ct(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(ut(l,"rPrDefault"))try{for(var s=qj(ct(l)),u=s.next();!u.done;u=s.next()){var c=u.value;if(ut(c,"rPr"))return jh(c)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return Xj}function Xh(e){return null!=e.bold&&e.bold}function Yh(e){return null!=e.italic&&e.italic}function Zh(e){return String(jr(e))}function Kh(e){var t=[];if(void 0!==e.asciiFont||void 0!==e.hAnsiFont||void 0!==e.eastAsiaFont||void 0!==e.csFont||void 0!==e.fontHint||void 0!==e.asciiTheme||void 0!==e.hAnsiTheme||void 0!==e.eastAsiaTheme||void 0!==e.csTheme){r=[];void 0!==e.asciiFont&&r.push(ht("ascii",e.asciiFont)),void 0!==e.hAnsiFont&&r.push(ht("hAnsi",e.hAnsiFont)),void 0!==e.eastAsiaFont&&r.push(ht("eastAsia",e.eastAsiaFont)),void 0!==e.csFont&&r.push(ht("cs",e.csFont)),void 0!==e.asciiTheme&&r.push(ht("asciiTheme",e.asciiTheme)),void 0!==e.hAnsiTheme&&r.push(ht("hAnsiTheme",e.hAnsiTheme)),void 0!==e.eastAsiaTheme&&r.push(ht("eastAsiaTheme",e.eastAsiaTheme)),void 0!==e.csTheme&&r.push(ht("cstheme",e.csTheme)),void 0!==e.fontHint&&r.push(ht("hint",e.fontHint)),t.push(pt("rFonts",{attributes:r}))}if(void 0!==e.bold&&t.push(Lr("b",e.bold)),void 0!==e.boldCs&&t.push(Lr("bCs",e.boldCs)),void 0!==e.italic&&t.push(Lr("i",e.italic)),void 0!==e.italicCs&&t.push(Lr("iCs",e.italicCs)),void 0!==e.color&&t.push(pt("color",{attributes:[ht("val",e.color)]})),void 0!==e.kerning&&t.push(pt("kern",{attributes:[ht("val",Zh(e.kerning))]})),void 0!==e.fontSize&&t.push(pt("sz",{attributes:[ht("val",Zh(e.fontSize))]})),void 0!==e.fontSizeCs&&t.push(pt("szCs",{attributes:[ht("val",Zh(e.fontSizeCs))]})),void 0!==e.underline){r=[ht("val",e.underline.kind)];void 0!==e.underline.color&&r.push(ht("color",e.underline.color)),t.push(pt("u",{attributes:r}))}if(void 0!==e.vertAlign&&t.push(pt("vertAlign",{attributes:[ht("val",e.vertAlign)]})),void 0!==e.lang){var r=[];void 0!==e.lang.val&&r.push(ht("val",e.lang.val)),void 0!==e.lang.eastAsia&&r.push(ht("eastAsia",e.lang.eastAsia)),void 0!==e.lang.bidi&&r.push(ht("bidi",e.lang.bidi)),r.length>0&&t.push(pt("lang",{attributes:r}))}if(0!==t.length)return pt("rPr",{children:t})}function Jh(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===FE||""===e.namespaceUri)}),null==r?void 0:r.value}function $h(e){if(void 0!==e&&tM.has(e))return e}function Qh(e){if(void 0!==e){var t=e.trim().toLowerCase();return""===t||"true"===t||"1"===t||"on"===t||"false"!==t&&"0"!==t&&"off"!==t&&void 0}}function ef(e){if(void 0!==e){var t=vt(e);if(void 0!==t&&/^-?\d+$/.test(t.trim()))return parseInt(t.trim(),10)}}function tf(e,t){return e.find(function(e){return ut(e,t)})}function rf(e,t){var r=tf(e,t);if(void 0!==r)return vt(r)}function nf(e,t){var r=tf(e,t);if(void 0!==r)return Er(r)}function of(e){if(ut(e,"style")){var t=Jh(e,"styleId");if(void 0!==t&&0!==t.length){var r=$h(Jh(e,"type")),n=Qh(Jh(e,"default")),i=Qh(Jh(e,"customStyle")),o=new Set(["styleId","type","default","customStyle"]),a=e.attributes.filter(function(e){return!(o.has(e.localName)&&(e.namespaceUri===FE||""===e.namespaceUri))});return new nM(t,r,n,i,Qj(ct(e)),a)}}}function af(e,t){return new nM(e,t,void 0,void 0,[pt("name",{attributes:[ht("val",e)]})])}function lf(e){return e.trim().toLowerCase().replace(/\s+/g,"")}function sf(e){return iM({},Nj,{keepNext:!0,spacing:{before:12,after:3},outlineLevel:e})}function uf(e,t,r){return iM({},Xj,{asciiFont:"Arial",hAnsiFont:"Arial",csFont:"Arial",bold:!0,boldCs:!0},t?{italic:!0,italicCs:!0}:{},r?{kerning:16}:{},{fontSize:e,fontSizeCs:e})}function cf(e){var t,r=(t=sM[e-1],null!=t?t:11),n=String(e);return{styleId:"Heading"+n,displayName:"Heading "+n,type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:9,isQuickFormat:!0,paragraphFormatting:sf(e-1),characterFormatting:uf(r,2===e,1===e)}}function df(e,t){return{styleId:e,displayName:t,type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:iM({},Xj,{vertAlign:"superscript"})}}function hf(e,t){return{styleId:e,displayName:t,type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj),characterFormatting:iM({},Xj,Xj,{fontSize:10,fontSizeCs:10})}}function ff(e,t){var r=0===e.indexOf("accent"),n=function(t){var n=[ht("val","single"),ht("sz","4"),ht("space","0")];return r?n.push(ht("themeColor",e)):n.push(ht("color",e)),pt(t,{attributes:n})},i=pt("tblBorders",{children:[n("top"),n("left"),n("bottom"),n("right"),n("insideH"),n("insideV")]}),o=r?[ht("val","clear"),ht("themeFill",e)]:[ht("val","clear"),ht("fill",e)],a=[ht("val","clear"),ht("fill",t)],l=pt("tblStylePr",{attributes:[ht("type","firstRow")],children:[pt("tcPr",{children:[pt("shd",{attributes:o})]}),pt("rPr",{children:[pt("b"),pt("color",{attributes:[ht("val","FFFFFF")]})]})]}),s=pt("tblStylePr",{attributes:[ht("type","band1Horz")],children:[pt("tcPr",{children:[pt("shd",{attributes:a})]})]});return[pt("tblPr",{children:[i]}),l,s]}function pf(e,t,r,n){return{styleId:e,displayName:t,type:"table",basedOn:"TableNormal",uiPriority:60,isQuickFormat:!0,tableFormatting:ff(r,n)}}function vf(e){for(var t=[e];t.length>0;){var r=t.pop();if(null!==r&&void 0!==r&&"object"==typeof r&&!Object.isFrozen(r)){Object.freeze(r);var n=r;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i];null!==o&&"object"==typeof o&&t.push(o)}}}return e}function mf(e){return fM.get(e)}function yf(e){return pM.get(lf(e))}function gf(e){var t,r=fM.get(e);return void 0!==r?r.styleId:(t=pM.get(lf(e)),null==t?void 0:t.styleId)}function bf(){return hM}function wf(e){if(void 0!==e)return iM({},e,void 0!==e.underline?{underline:iM({},e.underline)}:{},void 0!==e.lang?{lang:iM({},e.lang)}:{})}function Pf(e){if(void 0!==e)return iM({},e,void 0!==e.spacing?{spacing:iM({},e.spacing)}:{},void 0!==e.indentation?{indentation:iM({},e.indentation)}:{})}function Sf(e){if(void 0!==e)return e.map(function(e){return xf(e)})}function xf(e){return iM({},e,{attributes:e.attributes.map(function(e){return iM({},e)}),namespaceDeclarations:e.namespaceDeclarations.map(function(e){return iM({},e)}),children:e.children.map(function(e){return"element"===e.kind?xf(e):iM({},e)})})}function Cf(e){var t=[pt("name",{attributes:[ht("val",e.displayName)]})];void 0!==e.basedOn&&t.push(pt("basedOn",{attributes:[ht("val",e.basedOn)]})),void 0!==e.next&&t.push(pt("next",{attributes:[ht("val",e.next)]})),void 0!==e.link&&t.push(pt("link",{attributes:[ht("val",e.link)]})),void 0!==e.uiPriority&&t.push(pt("uiPriority",{attributes:[ht("val",String(e.uiPriority))]})),void 0!==e.isSemiHidden&&e.isSemiHidden&&t.push(pt("semiHidden")),void 0!==e.unhideWhenUsed&&e.unhideWhenUsed&&t.push(pt("unhideWhenUsed")),void 0!==e.isQuickFormat&&e.isQuickFormat&&t.push(pt("qFormat"));var r=Sf(e.tableFormatting);void 0!==r&&t.push.apply(t,aM(r));var n=Pf(e.paragraphFormatting),i=void 0===n?void 0:mh(n);void 0!==i&&t.push(i);var o=wf(e.characterFormatting),a=void 0===o?void 0:Kh(o);return void 0!==a&&t.push(a),new nM(e.styleId,e.type,e.isDefault,void 0,t)}function If(e,t){throw new $N("styles/undefined-style",'Style "'+e+'" is not defined in this document and is not a known built-in '+t+" style")}function Vf(e,t){return new $N("styles/invalid-type-for-target",'Style "'+e.styleId+'" is a '+String(e.type)+" style and cannot be used as a "+t+" style")}function Tf(e,t){if(e.type!==t)throw Vf(e,t)}function kf(e){return"paragraph"===e?"character":"paragraph"}function Ff(e){return null!=e.type?e.type:"paragraph"}function Df(e,t,r){var n,i;if(0===t.trim().length)throw new $N("content/invalid-style-id","Style id must not be empty");var o=(n=e.getStyle(t),null!=n?n:e.findStyleByDisplayName(t));if(void 0!==o)return Tf(o,r),o;var a=(i=mf(t),null!=i?i:yf(t));if(void 0===a&&If(t,r),a.type!==r)throw new $N("styles/invalid-type-for-target",'Built-in style "'+a.styleId+'" is a '+a.type+" style and cannot be used as a "+r+" style");var l=Cf(a);return Of(e,l,new Set([a.styleId])),e.addStyle(l),l}function Of(e,t,r){var n=t.basedOn;void 0!==n&&n.length>0&&Nf(e,t,n,"basedOn",Ff(t),r);var i=t.next;void 0!==i&&i.length>0&&void 0!==gf(i)&&void 0===e.getStyle(i)&&Df(e,i,Ff(t));var o=t.link;void 0!==o&&o.length>0&&Nf(e,t,o,"link",kf(Ff(t)),r)}function Nf(e,t,r,n,i,o){var a=e.getStyle(r);if(void 0===a){if(o.has(r))throw new $N("basedOn"===n?"styles/circular-based-on":"styles/circular-link","Circular "+n+' relationship on style "'+r+'"');var l=mf(r);if(void 0!==l){if(l.type!==i)throw new $N("basedOn"===n?"styles/invalid-based-on":"styles/invalid-link",'Style "'+t.styleId+'" '+n+' "'+r+'" is a '+l.type+" style; expected "+i);var s=Cf(l),u=new Set(o);u.add(r),Of(e,s,u),e.addStyle(s)}}else if(a.type!==i)throw new $N("basedOn"===n?"styles/invalid-based-on":"styles/invalid-link",'Style "'+t.styleId+'" '+n+' "'+r+'" is a '+String(a.type)+" style; expected "+i)}function Af(e,t,r){var n,i,o=(n=e.getStyle(t),null!=n?n:e.findStyleByDisplayName(t));if(void 0!==o)return o;var a=(i=mf(t),null!=i?i:yf(t));if(void 0!==a){if(a.type!==r)throw new $N("styles/invalid-type-for-target",'Built-in style "'+a.styleId+'" is a '+a.type+" style and cannot be used as a "+r+" style");var l=Cf(a);return Of(e,l,new Set([a.styleId])),e.addStyle(l),l}}function Ef(e){var t;return t=gf(e),null!=t?t:e}function Lf(e){var t,r;if(ut(e,"docDefaults")){var n,i,o=[];try{for(var a=vM(ct(e)),l=a.next();!l.done;l=a.next()){var s=l.value;ut(s,"rPrDefault")&&void 0===n?n=s:ut(s,"pPrDefault")&&void 0===i?i=s:o.push(s)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return new gM(n,i,o)}}function Rf(){var e=pt("rPrDefault",{children:[pt("rPr",{children:[pt("rFonts",{attributes:[ht("asciiTheme","minorHAnsi"),ht("eastAsiaTheme","minorHAnsi"),ht("hAnsiTheme","minorHAnsi"),ht("cstheme","minorBidi")]}),pt("kern",{attributes:[ht("val","2")]}),pt("sz",{attributes:[ht("val","24")]}),pt("szCs",{attributes:[ht("val","24")]}),pt("lang",{attributes:[ht("val","en-US"),ht("eastAsia","en-US"),ht("bidi","ar-SA")]})]})]}),t=pt("pPrDefault",{children:[pt("pPr",{children:[pt("spacing",{attributes:[ht("after","160"),ht("line","278"),ht("lineRule","auto")]})]})]});return new gM(e,t)}function Bf(){var e,t,r=new xM;try{for(var n=bM(SM),i=n.next();!i.done;i=n.next()){var o=i.value;Df(r,o.styleId,o.type)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return{docDefaults:Rf(),styles:r.styles()}}function _f(e){var t=e.characterFormat;return CM({},Xj,{bold:t.bold,italic:t.italic,fontSize:t.fontSize,kerning:t.kerning},Wh(e))}function jf(e,t){if(void 0===e)return Xj;for(var r=[],n=new Set,i=e;void 0!==i&&i.length>0&&!n.has(i);)n.add(i),r.push(i),i=t.styleBasedOn(i);for(var o=Xj,a=r.length-1;a>=0;a-=1){var l=r[a];if(void 0!==l){var s=t.styleRunProperties(l);void 0!==s&&(o=Hh(o,s))}}return o}function Mf(e,t,r){if(void 0!==t){if(void 0===r)return;return r.typefaceFor(t)}return e}function zf(e,t,r,n){var i=e.docDefaultsRunProperties(),o=t.styleId;if(void 0!==o){var a=e.styleRunProperties(o);void 0!==a&&(i=Hh(i,a))}return i=Hh(i,jf(r.characterFormat.characterStyle,e)),i=Hh(i,_f(r)),{bold:Xh(i),italic:Yh(i),fontSize:i.fontSize,asciiFont:Mf(i.asciiFont,i.asciiTheme,n),hAnsiFont:Mf(i.hAnsiFont,i.hAnsiTheme,n)}}function Uf(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===FE||""===e.namespaceUri)}),null==r?void 0:r.value}function Hf(e){if(void 0!==e){var t=e.trim().toLowerCase();return""===t||"true"===t||"1"===t||"on"===t||"false"!==t&&"0"!==t&&"off"!==t&&void 0}}function Wf(e){if(void 0!==e&&/^-?\d+$/.test(e.trim()))return parseInt(e.trim(),10)}function Gf(e){if(ut(e,"lsdException")){var t=Uf(e,"name");if(void 0!==t&&0!==t.length){var r=new Set(["name","locked","uiPriority","semiHidden","unhideWhenUsed","qFormat"]),n=e.attributes.filter(function(e){return!(r.has(e.localName)&&(e.namespaceUri===FE||""===e.namespaceUri))});return new kM(t,Hf(Uf(e,"locked")),Wf(Uf(e,"uiPriority")),Hf(Uf(e,"semiHidden")),Hf(Uf(e,"unhideWhenUsed")),Hf(Uf(e,"qFormat")),n)}}}function qf(e){var t,r;if(ut(e,"latentStyles")){var n=new Set(["defLockedState","defUIPriority","defSemiHidden","defUnhideWhenUsed","defQFormat","count"]),i=e.attributes.filter(function(e){return!(n.has(e.localName)&&(e.namespaceUri===FE||""===e.namespaceUri))}),o=[],a=[];try{for(var l=TM(ct(e)),s=l.next();!s.done;s=l.next()){var u=s.value;if(ut(u,"lsdException")){var c=Gf(u);void 0!==c&&o.push(c)}else a.push(u)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return new FM(Hf(Uf(e,"defLockedState")),Wf(Uf(e,"defUIPriority")),Hf(Uf(e,"defSemiHidden")),Hf(Uf(e,"defUnhideWhenUsed")),Hf(Uf(e,"defQFormat")),Wf(Uf(e,"count")),o,i,a)}}function Xf(e){var t=Kh(e);return qn(void 0===t?pt("rPr"):t)}function Yf(e){var t=oi(e);return 0===t.length?Xj:jh(pt("rPr",{children:t}))}function Zf(e){var t=mh(e);return void 0===t?Vo():Yo(t)}function Kf(e){var t=na(e);return 0===t.length?Nj:fh(pt("pPr",{children:t}))}function Jf(e){return qn(void 0===e?pt("rPr"):e)}function $f(e){return void 0===e?Vo():Yo(e)}function Qf(){return Xj}function ep(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(void 0!==n&&ut(n,t))return n}}function tp(e,t){var r=ep(e,t);if(void 0!==r)return vt(r)}function rp(e,t){var r=ep(e,t);if(void 0!==r)return Er(r)}function np(e){if(void 0!==e){var t=vt(e);if(void 0!==t&&/^-?\d+$/.test(t.trim()))return parseInt(t.trim(),10)}}function ip(e,t,r){void 0!==r&&e.push(Lr(t,r))}function op(e){return"paragraph"===e.type?AM.fromDocxStyle(e):"character"===e.type?EM.fromDocxStyle(e):LM.fromDocxStyle(e)}function ap(e){return op(e)}function lp(e,t){return"paragraph"===t?AM.createMinimal(e):EM.createMinimal(e)}function sp(e){return!0===jM[e]}function up(e){var t=MM[e];return void 0!==t?t:void 0}function cp(e){var t=zM[e];return void 0!==t?t:void 0}function dp(e,t){for(var r=[],n=[],i=[],o=0;o<e.length;o+=1){var a=e[o],l=t(a.localName);void 0!==l?n.push({rank:l,el:a,index:o}):0===n.length?r.push(a):i.push({el:a,index:o})}n.sort(function(e,t){return e.rank!==t.rank?e.rank-t.rank:e.index-t.index});for(var s=r.slice(),o=0;o<n.length;o+=1)s.push(n[o].el);i.sort(function(e,t){return e.index-t.index});for(o=0;o<i.length;o+=1)s.push(i[o].el);return s}function hp(e){return dp(e,cp)}function fp(e){var t=ct(e);if(t.length<=1)return t.length,e;for(var r=hp(t),n=!1,i=0;i<t.length;i+=1)if(t[i]!==r[i]){n=!0;break}return n?pt("tblStylePr",{attributes:e.attributes,namespaceDeclarations:e.namespaceDeclarations,children:r}):e}function pp(e){for(var t=ct(e),r=[],n=0;n<t.length;n+=1){var i=t[n];ut(i,"tblStylePr")?r.push(fp(i)):r.push(i)}var o=dp(r,up),a=o.length!==t.length;if(!a)for(n=0;n<t.length;n+=1)if(t[n]!==o[n]){a=!0;break}return a?pt("style",{attributes:e.attributes,namespaceDeclarations:e.namespaceDeclarations,children:o}):e}function vp(e,t){for(var r=0;r<e.attributes.length;r+=1){var n=e.attributes[r];if(n.localName===t)return n.value}}function mp(e){for(var t="",r=0;r<e.length;r+=1){var n=e.charAt(r),i=e.charCodeAt(r),o=i>=65&&i<=90||i>=97&&i<=122||i>127,a=i>=48&&i<=57;(o||a)&&(t+=n)}return t}function yp(e,t){if(!t(e))return e;for(var r=1;t(e+String(r));)r+=1;return e+String(r)}function gp(e){var t=e.attributes.find(function(e){return"styleId"===e.localName&&(e.namespaceUri===cA||""===e.namespaceUri)});return null==t?void 0:t.value}function bp(e){var t,r;if(!ut(e,"styles"))return[];var n=[];try{for(var i=KM(ct(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(ut(a,"style")){var l=gp(a);void 0!==l&&l.length>0&&n.push(l)}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function wp(e){if(0===e.byteLength)return[];try{return bp(d(tz.decode(e)))}catch(e){return[]}}function Pp(e){if(void 0===e)return new rz(void 0,[],!1);var t=wp(e.data);return new rz(e.data,t,!1)}function Sp(){nz=!1}function xp(){nz||(nz=!0,je({id:JM}),Ye({featureId:JM,relationshipTypes:[$M],defaultRelativeTarget:"stylesWithEffects.xml",partName:ez,contentType:QM,loadPart:function(e,t){return Pp(e)}}))}function Cp(e){xp();var t=e.featurePart(JM);if(void 0===t||!(t instanceof rz))throw new $N("feature/not-registered","stylesWithEffects part was not loaded; call registerStylesFeature() before WordDocument.open");return t}function Ip(e,t){if(null===e||void 0===e)throw new $N("content/unsupported",t+" must not be empty");var r=String(e).trim();if(0===r.length)throw new $N("content/unsupported",t+" must not be empty");return r}function Vp(e){var t,r,n=[];try{for(var i=oz(e.fonts()),o=i.next();!o.done;o=i.next()){var a=o.value,l=a.alternateName;void 0!==l&&l.trim().length>0&&n.push([a.name,l])}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function Tp(e){return{slot:e.slot,relationshipId:e.relationshipId,fontKey:e.fontKey,subsetted:e.subsetted,extraAttributes:uz(e.extraAttributes),children:uz(e.children),namespaceDeclarations:uz(e.namespaceDeclarations)}}function kp(e){return{slot:e.slot,relationshipId:e.relationshipId,fontKey:e.fontKey,subsetted:e.subsetted}}function Fp(e){if(void 0!==e&&0!==e.trim().length)return e}function Dp(e){if(!vz.has(e))throw new RangeError("Invalid FontFamily value: "+e)}function Op(e){if(!mz.has(e))throw new RangeError("Invalid FontPitch value: "+e)}function Np(e){if(e!==pz.Regular&&e!==pz.Bold&&e!==pz.Italic&&e!==pz.BoldItalic)throw new RangeError("Invalid FontEmbedSlot value: "+e)}function Ap(e,t){return void 0!==e&&(e.usb0===t.usb0&&e.usb1===t.usb1&&e.usb2===t.usb2&&e.usb3===t.usb3&&e.csb0===t.csb0&&e.csb1===t.csb1)}function Ep(e){var t=e.attributes.find(function(e){return"name"===e.localName&&(e.namespaceUri===FE||""===e.namespaceUri)});return null==t?void 0:t.value}function Lp(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===FE||""===e.namespaceUri)});return null==r?void 0:r.value}function Rp(e){var t=e.attributes.find(function(e){return"id"===e.localName&&(e.namespaceUri===dz||"r"===e.prefix||""===e.namespaceUri)});return null==t?void 0:t.value}function Bp(e){var t=Lp(e,"usb0"),r=Lp(e,"usb1"),n=Lp(e,"usb2"),i=Lp(e,"usb3"),o=Lp(e,"csb0"),a=Lp(e,"csb1");if(void 0!==t&&void 0!==r&&void 0!==n&&void 0!==i&&void 0!==o&&void 0!==a)return{usb0:t,usb1:r,usb2:n,usb3:i,csb0:o,csb1:a}}function _p(e){return pt("sig",{attributes:[ht("usb0",e.usb0),ht("usb1",e.usb1),ht("usb2",e.usb2),ht("usb3",e.usb3),ht("csb0",e.csb0),ht("csb1",e.csb1)]})}function jp(e){var t=e.attributes.find(function(e){return"subsetted"===e.localName&&(e.namespaceUri===FE||""===e.namespaceUri)});if(void 0!==t){var r=t.value.trim().toLowerCase();return"true"===r||"1"===r||"on"===r||"false"!==r&&"0"!==r&&"off"!==r&&void 0}}function Mp(e,t){var r=Rp(e);if(void 0!==r&&0!==r.length){var n=Lp(e,"fontKey");return{slot:t,relationshipId:r,fontKey:void 0!==n&&n.trim().length>0?n:void 0,subsetted:jp(e),extraAttributes:e.attributes.filter(function(e){return("id"!==e.localName||e.namespaceUri!==dz&&"r"!==e.prefix&&""!==e.namespaceUri)&&(("fontKey"!==e.localName||e.namespaceUri!==FE&&""!==e.namespaceUri)&&("subsetted"!==e.localName||e.namespaceUri!==FE&&""!==e.namespaceUri))}),children:uz(e.children),namespaceDeclarations:uz(e.namespaceDeclarations)}}}function zp(e){var t=yz[e.slot],r=[{namespaceUri:dz,localName:"id",prefix:"r",value:e.relationshipId}];void 0!==e.fontKey&&r.push(ht("fontKey",e.fontKey)),void 0!==e.subsetted&&r.push(ht("subsetted",e.subsetted?"true":"false")),r.push.apply(r,uz(e.extraAttributes));var n=e.namespaceDeclarations.length>0?uz(e.namespaceDeclarations):[{prefix:"r",namespaceUri:dz}];return n.some(function(e){return"r"===e.prefix&&e.namespaceUri===dz})||n.push({prefix:"r",namespaceUri:dz}),pt(t,{attributes:r,children:e.children,namespaceDeclarations:n})}function Up(e){var t,r,n,i,o,a,l,s,u,c,d,h=[],f=new Set,p=[];try{for(var v=cz(ct(e)),m=v.next();!m.done;m=v.next()){var y=m.value;if(ut(y,"altName"))void 0===n&&void 0!==(g=vt(y))&&g.trim().length>0&&(n=g);else if(ut(y,"panose1"))void 0===i&&void 0!==(g=vt(y))&&g.trim().length>0&&(i=g);else if(ut(y,"charset"))void 0===o&&void 0!==(g=vt(y))&&g.trim().length>0&&(o=g);else if(ut(y,"family"))void 0===a&&void 0===l&&void 0!==(g=vt(y))&&g.trim().length>0&&(vz.has(g)?a=g:l=g);else if(ut(y,"notTrueType"))void 0===s&&void 0!==(w=Er(y))&&(s=w);else if(ut(y,"pitch")){if(void 0===u&&void 0===c){var g=vt(y);void 0!==g&&g.trim().length>0&&(mz.has(g)?u=g:c=g)}}else if(ut(y,"sig"))void 0===d&&(void 0!==(w=Bp(y))?d=w:p.push(y));else{var b=gz[y.localName];if(void 0!==b&&ut(y,y.localName)){if(!f.has(b)){var w=Mp(y,b);void 0!==w?(h.push(w),f.add(b)):p.push(y)}}else p.push(y)}}}catch(e){t={error:e}}finally{try{m&&!m.done&&(r=v.return)&&r.call(v)}finally{if(t)throw t.error}}return{alternateName:n,panose:i,charset:o,family:a,familyRaw:l,notTrueType:s,pitch:u,pitchRaw:c,signature:d,embeds:h,residualChildren:p}}function Hp(e,t){var r=Ep(e);if(void 0!==r&&0!==r.length){var n=Up(e),i=e.attributes.filter(function(e){return!("name"===e.localName&&(e.namespaceUri===FE||""===e.namespaceUri))});return new bz(r,{alternateName:n.alternateName,panose:n.panose,charset:n.charset,family:n.family,familyRaw:n.familyRaw,notTrueType:n.notTrueType,pitch:n.pitch,pitchRaw:n.pitchRaw,signature:n.signature,embeds:n.embeds,residualChildren:n.residualChildren,extraAttributes:i},t)}}function Wp(e,t){return new bz(e,{},t)}function Gp(e){return e.toLowerCase()}function qp(e,t){var r,n,i=[],o=[],a=[],l=!1;try{for(var s=Sz(ct(e)),u=s.next();!u.done;u=s.next()){var c=u.value;if(ut(c,"font")){l=!0;var d=Hp(c,t);void 0!==d&&i.push(d)}else l?a.push(c):o.push(c)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return{fontEntries:i,rootExtrasBeforeFonts:o,rootExtrasAfterFonts:a,rootAttributes:Pz(e.attributes),rootNamespaceDeclarations:Pz(e.namespaceDeclarations)}}function Xp(e){if(void 0===e)return new Dz(void 0,[],[],[],[],[],!1);var t=d(kz.decode(e.data));if(!ut(t,"fonts"))return new Dz(e.data,[],[],[],[],[],!1);var r={part:void 0},n=qp(t,function(){void 0!==r.part&&r.part.markDirty()}),i=new Dz(e.data,n.fontEntries,n.rootExtrasBeforeFonts,n.rootExtrasAfterFonts,n.rootAttributes,n.rootNamespaceDeclarations,!1);return r.part=i,i}function Yp(){Oz=!1}function Zp(){Oz||(Oz=!0,je({id:xz}),Ye({featureId:xz,relationshipTypes:[Cz,Iz],defaultRelativeTarget:"fontTable.xml",partName:Tz,contentType:Vz,loadPart:function(e,t){return Xp(e)}}))}function Kp(e){Zp();var t=e.featurePart(xz);if(t instanceof Dz)return t;if(void 0!==t)throw new $N("feature/not-registered","Font table part was not loaded; call registerFontTableFeature() or registerStylesFeature() before WordDocument.open");var r=new Dz(void 0,[],[],[],[],[],!1);return e.setFeaturePart(xz,r),r}function Jp(e){Zp();var t=Nz.get(e);if(void 0!==t)return t;var r=Kp(e),n=new lz(r);return Nz.set(e,n),n}function $p(e){var t,r;if(ut(e,"lvl")){var n=rv(e,"ilvl");if(void 0!==n){var i,o,a,l,s,u,c=[];try{for(var d=Ez(ct(e)),h=d.next();!h.done;h=d.next()){var f=h.value;if(ut(f,"start")&&void 0===i&&void 0!==(p=vt(f))&&/^-?\d+$/.test(p))i=Number.parseInt(p,10);else if(ut(f,"numFmt")&&void 0===o&&void 0!==(p=vt(f)))o=p;else if(ut(f,"lvlText")&&void 0===a&&void 0!==(p=vt(f)))a=p;else if(ut(f,"isLgl")&&void 0===l)l=nv(f);else if(ut(f,"lvlJc")&&void 0===s&&void 0!==(p=vt(f)))s=p;else{if(ut(f,"lvlPicBulletId")&&void 0===u){var p=vt(f);if(void 0!==p&&/^-?\d+$/.test(p)){u=Number.parseInt(p,10);continue}}c.push(f)}}}catch(e){t={error:e}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}var v=e.attributes.filter(function(e){return!("ilvl"===e.localName&&e.namespaceUri===cA)});return new Bz(Az({ilvl:n},void 0!==i?{start:i}:{},void 0!==o?{numFmt:o}:{},void 0!==a?{lvlText:a}:{},void 0!==l?{isLgl:l}:{},void 0!==s?{lvlJc:s}:{},void 0!==u?{lvlPicBulletId:u}:{},{extraAttributes:v,extras:c}))}}}function Qp(e,t){return new Bz({ilvl:e,start:1,numFmt:"bullet"===t?"bullet":"decimal",lvlText:"bullet"===t?"•":"%1.",lvlJc:"left",extras:[pt("pPr",{children:[pt("ind",{attributes:[ht("left","720"),ht("hanging","360")]})]})]})}function ev(e){var t,r=e%3,n=(t=null!=_z[r]?_z[r]:_z[0],null!=t?t:{lvlText:"",font:"Symbol"}),i=720*(e+1);return new Bz({ilvl:e,start:1,numFmt:"bullet",lvlText:n.lvlText,lvlJc:"left",extras:[pt("pPr",{children:[pt("ind",{attributes:[ht("left",String(i)),ht("hanging","360")]})]}),pt("rPr",{children:[pt("rFonts",{attributes:[ht("ascii",n.font),ht("hAnsi",n.font)]})]})]})}function tv(e){var t,r=e%3,n=(t=null!=jz[r]?jz[r]:jz[0],null!=t?t:{numFmt:"decimal",lvlJc:"left"}),i=720*(e+1);return new Bz({ilvl:e,start:1,numFmt:n.numFmt,lvlText:"%"+String(e+1)+".",lvlJc:n.lvlJc,extras:[pt("pPr",{children:[pt("ind",{attributes:[ht("left",String(i)),ht("hanging","360")]})]})]})}function rv(e,t){var r=e.attributes.find(function(e){return e.localName===t&&e.namespaceUri===cA});if(void 0!==(null==r?void 0:r.value)&&/^-?\d+$/.test(r.value))return Number.parseInt(r.value,10)}function nv(e){var t=vt(e);return void 0===t||""===t||"1"===t||"true"===t||"on"===t||"0"!==t&&"false"!==t&&"off"!==t}function iv(e,t){return t?pt(e):pt(e,{attributes:[ht("val","0")]})}function ov(e){var t,r;if(ut(e,"abstractNum")){var n=sv(e,"abstractNumId");if(void 0!==n){var i,o,a,l,s=[],u=[],c=[],d=!1;try{for(var h=Hz(ct(e)),f=h.next();!f.done;f=h.next()){var p=f.value;if(ut(p,"lvl")){var v=$p(p);void 0!==v&&s.push(v),d=!0}else if(ut(p,"multiLevelType")&&void 0===i&&void 0!==(m=vt(p))&&Wz.has(m))i=m;else if(ut(p,"name")&&void 0===o&&void 0!==(m=vt(p)))o=m;else if(ut(p,"styleLink")&&void 0===a&&void 0!==(m=vt(p)))a=m;else{if(ut(p,"numStyleLink")&&void 0===l){var m=vt(p);if(void 0!==m){l=m;continue}}d?c.push(p):u.push(p)}}}catch(e){t={error:e}}finally{try{f&&!f.done&&(r=h.return)&&r.call(h)}finally{if(t)throw t.error}}var y=e.attributes.filter(function(e){return!("abstractNumId"===e.localName&&e.namespaceUri===cA)});return new Gz(Mz({abstractNumId:n},void 0!==i?{multiLevelType:i}:{},void 0!==o?{name:o}:{},void 0!==a?{styleLink:a}:{},void 0!==l?{numStyleLink:l}:{},{levels:s,extraAttributes:y,prefixExtras:u,suffixExtras:c}))}}}function av(e,t){return new Gz({abstractNumId:e,multiLevelType:"singleLevel",levels:[Qp(0,t)]})}function lv(e,t){for(var r=[],n=0;n<9;n++)r.push("bullet"===t?ev(n):tv(n));return new Gz({abstractNumId:e,multiLevelType:"hybridMultilevel",levels:r})}function sv(e,t){var r=e.attributes.find(function(e){return e.localName===t&&e.namespaceUri===cA});if(void 0!==(null==r?void 0:r.value)&&/^-?\d+$/.test(r.value))return Number.parseInt(r.value,10)}function uv(e){return Bv(e)}function cv(e){var t=e.numId;if(void 0===t)return"";var r;try{r=e.owningDocument()}catch(e){return""}var n;try{n=uv(r)}catch(e){return""}var i=n.getNumbering(t);if(void 0===i)return"";if(void 0===n.getAbstractNumbering(i.abstractNumId))return"";void 0!==e.listLevel&&e.listLevel;var o=new Map,a="";return Mt(r,function(t){if(void 0!==t.numId){var r=t.numId,i=n.getNumbering(r);if(void 0!==i){var l=n.getAbstractNumbering(i.abstractNumId);if(void 0!==l){var s=void 0!==t.listLevel?t.listLevel:0,u=String(r),c=o.get(u);if(void 0===c){c=[0,0,0,0,0,0,0,0,0];for(d=0;d<9;d+=1)c[d]=dv(i,l.levels,d)-1;o.set(u,c)}for(var d=s+1;d<9;d+=1)hv(l.levels,d)<=s&&(c[d]=dv(i,l.levels,d)-1);c[s]=(void 0!==c[s]?c[s]:0)+1,t===e&&(a=pv(l.levels,i,s,c))}}}}),a}function dv(e,t,r){var n=e.levelOverrides.find(function(e){return e.ilvl===r});if(void 0!==n&&void 0!==n.startOverride)return n.startOverride;var i=fv(e,t,r);return void 0!==i&&void 0!==i.start?i.start:1}function hv(e,t){var r=e.find(function(e){return e.ilvl===t});if(void 0===r)return t;for(var n=r.getExtras(),i=0;i<n.length;i+=1){var o=n[i];if("lvlRestart"===o.localName)for(var a=0;a<o.attributes.length;a+=1){var l=o.attributes[a];if("val"===l.localName&&/^\d+$/.test(l.value))return parseInt(l.value,10)}}return t}function fv(e,t,r){var n=e.levelOverrides.find(function(e){return e.ilvl===r});if(void 0!==n&&void 0!==n.level)return n.level;var i=t.find(function(e){return e.ilvl===r});return void 0!==i?i:t.length>0?t[0]:void 0}function pv(e,t,r,n){var i=fv(t,e,r);if(void 0===i)return"";var o=void 0!==i.numFmt?i.numFmt:"decimal";if("bullet"===o)return void 0!==i.lvlText?i.lvlText:"";if("none"===o)return"";for(var a=void 0!==i.lvlText?i.lvlText:"%"+String(r+1),l=!0===i.isLgl,s="",u=0;u<a.length;u+=1){var c=a.charAt(u);if("%"===c&&u+1<a.length){var d=a.charAt(u+1);if(d>="1"&&d<="9"){var h=parseInt(d,10)-1,f=void 0!==n[h]?n[h]:0,p=o;if(h!==r){var v=fv(t,e,h);p=void 0!==v&&void 0!==v.numFmt?v.numFmt:"decimal"}l&&(p="decimal"),s+=vv(f,p),u+=1;continue}}s+=c}return s}function vv(e,t){switch(e<0&&(e=0),t){case"decimal":return String(e);case"decimalZero":return e<10?"0"+String(e):String(e);case"upperRoman":return mv(e).toUpperCase();case"lowerRoman":return mv(e).toLowerCase();case"upperLetter":return yv(e).toUpperCase();case"lowerLetter":return yv(e).toLowerCase();case"ordinal":return gv(e);case"ordinalText":return wv(e);case"cardinalText":return bv(e);case"bullet":case"none":return"";case"decimalEnclosedParen":return"("+String(e)+")";case"decimalEnclosedFullstop":return String(e)+".";case"decimalEnclosedCircle":case"decimalEnclosedCircleChinese":return Cv(e);case"decimalFullWidth":return xv(e);case"decimalHalfWidth":return String(e);case"hebrew1":case"hebrew2":return Pv(e);case"hindiNumbers":return Sv(e);case"hindiCounting":return bv(e);case"hindiVowels":case"hindiConsonants":return yv(e).toLowerCase();case"chineseCounting":case"chineseCountingThousand":case"chineseLegalSimplified":case"japaneseCounting":case"japaneseDigitalTenThousand":case"japaneseLegal":case"koreanCounting":case"koreanDigital":case"koreanDigital2":case"koreanLegal":case"taiwaneseCounting":case"taiwaneseCountingThousand":case"taiwaneseDigital":case"ideographTraditional":case"ideographZodiac":case"ideographZodiacTraditional":case"ideographEnclosedCircle":return String(e);case"aiueo":case"aiueoFullWidth":return Iv(e);case"iroha":case"irohaFullWidth":return Vv(e);case"ganada":case"chosung":return yv(e).toLowerCase();default:return String(e)}}function mv(e){if(e<=0)return String(e);for(var t=[1e3,900,500,400,100,90,50,40,10,9,5,4,1],r=["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"],n=e,i="",o=0;o<t.length;o+=1)for(;n>=t[o];)i+=r[o],n-=t[o];return i}function yv(e){if(e<=0)return String(e);for(var t=e,r="";t>0;)t-=1,r=String.fromCharCode(97+t%26)+r,t=Math.floor(t/26);return r}function gv(e){var t=e%100;if(t>=11&&t<=13)return String(e)+"th";switch(e%10){case 1:return String(e)+"st";case 2:return String(e)+"nd";case 3:return String(e)+"rd";default:return String(e)+"th"}}function bv(e){if(e<0)return String(e);if(e<20)return qz[e];if(e<100){var t=Math.floor(e/10),r=e%10;return 0===r?Xz[t]:Xz[t]+"-"+qz[r]}if(e<1e3){var n=Math.floor(e/100),i=e%100;return 0===i?qz[n]+" hundred":qz[n]+" hundred "+bv(i)}return String(e)}function wv(e){var t=bv(e);return"one"===t?"first":"two"===t?"second":"three"===t?"third":"five"===t?"fifth":"eight"===t?"eighth":"nine"===t?"ninth":"twelve"===t?"twelfth":"y"===t.charAt(t.length-1)?t.substring(0,t.length-1)+"ieth":t+"th"}function Pv(e){var t=["","א","ב","ג","ד","ה","ו","ז","ח","ט","י"];return e>=1&&e<=10?t[e]:String(e)}function Sv(e){for(var t=String(e),r="",n=0;n<t.length;n+=1){var i=t.charCodeAt(n);r+=i>=48&&i<=57?String.fromCharCode(i-48+2406):t.charAt(n)}return r}function xv(e){for(var t=String(e),r="",n=0;n<t.length;n+=1){var i=t.charCodeAt(n);r+=i>=48&&i<=57?String.fromCharCode(i-48+65296):t.charAt(n)}return r}function Cv(e){return e>=1&&e<=20?String.fromCharCode(9312+e-1):String(e)}function Iv(e){if(e<=0)return String(e);var t=(e-1)%Yz.length;return Yz.charAt(t)}function Vv(e){if(e<=0)return String(e);var t=(e-1)%Zz.length;return Zz.charAt(t)}function Tv(e){var t,r;if(ut(e,"lvlOverride")){var n=Dv(e,"ilvl");if(void 0!==n){var i,o,a=[];try{for(var l=Qz(ct(e)),s=l.next();!s.done;s=l.next()){var u=s.value;if(ut(u,"startOverride")&&void 0===i){var c=vt(u);if(void 0!==c&&/^-?\d+$/.test(c)){i=Number.parseInt(c,10);continue}}ut(u,"lvl")&&void 0===o&&void 0!==(o=$p(u))||a.push(u)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}var d=e.attributes.filter(function(e){return!("ilvl"===e.localName&&e.namespaceUri===cA)});return new eU(Kz({ilvl:n},void 0!==i?{startOverride:i}:{},void 0!==o?{level:o}:{},{extraAttributes:d,extras:a}))}}}function kv(e){var t,r;if(ut(e,"num")){var n=Dv(e,"numId");if(void 0!==n){var i=[],o=[],a=[],l=0,s=!1;try{for(var u=Qz(ct(e)),c=u.next();!c.done;c=u.next()){var d=c.value;if(ut(d,"abstractNumId")&&!s){var h=vt(d);if(void 0!==h&&/^-?\d+$/.test(h)){l=Number.parseInt(h,10),s=!0;continue}}if(ut(d,"lvlOverride")){var f=Tv(d);void 0!==f&&a.push(f)}else s?o.push(d):i.push(d)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}if(s){var p=e.attributes.filter(function(e){return!("numId"===e.localName&&e.namespaceUri===cA)});return new tU({numId:n,abstractNumId:l,levelOverrides:a,extraAttributes:p,prefixExtras:i,suffixExtras:o})}}}}function Fv(e,t){return new tU({numId:e,abstractNumId:t})}function Dv(e,t){var r=e.attributes.find(function(e){return e.localName===t&&e.namespaceUri===cA});if(void 0!==(null==r?void 0:r.value)&&/^-?\d+$/.test(r.value))return Number.parseInt(r.value,10)}function Ov(e){if(ut(e,"numPicBullet")){var t=Nv(e,"numPicBulletId");if(void 0!==t){var r=e.attributes.filter(function(e){return!("numPicBulletId"===e.localName&&e.namespaceUri===cA)});return new iU({numPicBulletId:t,children:nU(e.children),extraAttributes:r})}}}function Nv(e,t){var r=e.attributes.find(function(e){return e.localName===t&&e.namespaceUri===cA});if(void 0!==(null==r?void 0:r.value)&&/^-?\d+$/.test(r.value))return Number.parseInt(r.value,10)}function Av(e){var t,r,n,i,o=[],a=[],l=[],s=[],u=[],c=!1;try{for(var d=sU(ct(e)),h=d.next();!h.done;h=d.next()){var f=h.value;if(ut(f,"numPicBullet")){var p=Ov(f);void 0!==p?(l.push(p),c=!0):c||0!==s.length||0!==u.length?a.push(f):o.push(f)}else if(ut(f,"abstractNum"))c=!0,void 0!==(v=ov(f))?s.push(v):a.push(f);else if(ut(f,"num")){c=!0;var v=kv(f);void 0!==v?u.push(v):a.push(f)}else if(ut(f,"numIdMacAtCleanup")){c=!0;var m=(n=f.attributes.find(function(e){return"val"===e.localName&&e.namespaceUri===cA}),null==n?void 0:n.value);void 0!==m&&/^-?\d+$/.test(m)&&void 0===i?i=Number.parseInt(m,10):a.push(f)}else c||0!==s.length||0!==u.length?a.push(f):o.push(f)}}catch(e){t={error:e}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}return{rootPrefix:o,rootSuffix:a,pictureBullets:l,abstractNumberings:s,numberings:u,numIdMacAtCleanup:i}}function Ev(e){if(void 0===e)return new vU({dirty:!1});var t=d(c(e.data));if(!ut(t,"numbering"))return new vU({dirty:!1});var r=Av(t);return new vU(oU({rootPrefix:r.rootPrefix,rootSuffix:r.rootSuffix,pictureBullets:r.pictureBullets,abstractNumberings:r.abstractNumberings,numberings:r.numberings},void 0!==r.numIdMacAtCleanup?{numIdMacAtCleanup:r.numIdMacAtCleanup}:{},{dirty:!1}))}function Lv(){mU=!1}function Rv(){mU||(mU=!0,je({id:uU}),Ye({featureId:uU,relationshipTypes:[cU,dU],defaultRelativeTarget:"numbering.xml",partName:fU,contentType:hU,loadPart:function(e,t){return Ev(e)}}),_t({featureId:uU,materialize:function(e){var t=e.featurePart(uU);t instanceof vU&&t.materializePending(e)}}))}function Bv(e){var t=e.featurePart(uU);if(t instanceof vU)return t;if(!ze(uU)||void 0!==t)throw new $N("feature/not-registered","Numbering part was not loaded; call registerNumberingFeature() before WordDocument.open");var r=new vU({dirty:!1});return e.setFeaturePart(uU,r),r}function _v(e,t){if(void 0===t)return e.numId=void 0,void(e.listLevel=void 0);var r=Bv(e.owningDocument()),n=null!=t.level?t.level:0,i=t.numId;void 0===r.getNumbering(i)?r.hasInstance(i)?r.registerPendingInstance(i,"bullet"):r.ensureInstance(i,"bullet"):r.registerPendingInstance(i),e.numId=i,e.listLevel=n}function jv(e){return Bv(e)}function Mv(e){var t=yU[e];return void 0!==t?t:"decimal"}function zv(t){if(void 0===t||0===t.length)return e.ListPatternType.Arabic;var r=gU[t];return void 0!==r?r:e.ListPatternType.Custom}function Uv(t){return t===e.ListType.Bulleted||t===e.ListType.Numbered}function Hv(t){for(var r in e.ListPatternType)if(Object.prototype.hasOwnProperty.call(e.ListPatternType,r)&&e.ListPatternType[r]===t)return!0;return!1}function Wv(t){return t===e.FollowCharacterType.Tab||t===e.FollowCharacterType.Space||t===e.FollowCharacterType.Nothing}function Gv(t){return t===e.ListNumberAlignment.Left||t===e.ListNumberAlignment.Center||t===e.ListNumberAlignment.Right}function qv(e,t){if("number"!=typeof t||!Number.isFinite(t))throw new oA(e+" must be a finite number")}function Xv(e,t){if(qv(e,t),t<0)throw new oA(e+" must be a non-negative number of points")}function Yv(e,t){if(void 0!==e)for(var r=0;r<e.attributes.length;r+=1){var n=e.attributes[r];if(void 0!==n&&n.localName===t){var i=parseInt(n.value,10);if(Number.isFinite(i))return i;return}}}function Zv(e,t,r){for(var n=e.attributes.slice(),i=!1,o=0;o<n.length;o+=1){var a=n[o];if(void 0!==a&&a.localName===t){n[o]=ht(t,String(r)),i=!0;break}}return i||n.push(ht(t,String(r))),pt(e.localName,{attributes:n,children:e.children.slice()})}function Kv(e){if(void 0===e)return pt("pPr",{children:[pt("ind",{attributes:[]})]});for(var t=ct(e).slice(),r=!1,n=0;n<t.length;n+=1)if(ut(t[n],"ind")){r=!0;break}return r||t.push(pt("ind",{attributes:[]})),pt("pPr",{attributes:e.attributes.slice(),children:t})}function Jv(e){if(void 0!==e)for(var t=ct(e),r=0;r<t.length;r+=1)if(ut(t[r],"ind"))return t[r]}function $v(e,t){for(var r=ct(e).slice(),n=!1,i=0;i<r.length;i+=1)if(ut(r[i],"ind")){r[i]=t,n=!0;break}return n||r.push(t),pt("pPr",{attributes:e.attributes.slice(),children:r})}function Qv(e,t){if(void 0===e||0===e.length)return{prefix:"",body:"",suffix:""};var r=null;if(void 0!==t&&t>=0&&t<=8){var n="%"+String(t+1),i=e.indexOf(n);if(i>=0)return{prefix:e.substring(0,i),body:n,suffix:e.substring(i+n.length)}}if(null===(r=/%([1-9])/.exec(e))||void 0===r.index)return{prefix:"",body:e,suffix:""};var o=r.index,a=o+r[0].length;return{prefix:e.substring(0,o),body:e.substring(o,a),suffix:e.substring(a)}}function em(e,t,r){return e+t+r}function tm(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);t+=n>=0&&n<=8?"%"+String(n+1):e.charAt(r)}return t}function rm(e){for(var t="",r=0;r<e.length;){if("%"===e.charAt(r)&&r+1<e.length){var n=e.charAt(r+1);if(n>="1"&&n<="9"){t+=String.fromCharCode(n.charCodeAt(0)-"1".charCodeAt(0)),r+=2;continue}}t+=e.charAt(r),r+=1}return t}function nm(e){var t=e;return"function"==typeof t.buildRPrChildren?t.buildRPrChildren():"function"==typeof t.snapshot&&"function"==typeof t.constructor.buildRPrChildrenFromSnapshot?t.constructor.buildRPrChildrenFromSnapshot(t.snapshot()):[]}function im(t,r,n){if("string"!=typeof r||!Uv(r))throw new oA("listType must be ListType.Bulleted or ListType.Numbered");if("string"!=typeof n||0===n.trim().length)throw new oA("styleName must be a non-empty string");var i=n.trim(),o=cm(t);if(void 0!==o.findByName(i)||void 0!==o.getStyle(i))throw new $N("styles/duplicate-style",'A style named "'+i+'" already exists');var a=om(i);if(0===a.length&&(a="ListStyle"),void 0!==o.getStyle(a))throw new $N("styles/duplicate-style",'A style with id "'+a+'" already exists');var l=jv(t),s=l.allocateAbstractNumId(),u=lv(s,r===e.ListType.Bulleted?"bullet":"decimal");u.setName(i),u.setStyleLink(a),l.registerAbstract(u);var c=new nM(a,"numbering",void 0,!0,[pt("name",{attributes:[ht("val",i)]})]);if(o.addStyle(c),void 0===o.getStyle(a))throw new $N("styles/undefined-style",'Failed to register list style "'+i+'"');for(var d=[],h=new PU({document:t,styleId:a,displayName:i,listType:r,abstractNumId:s,levels:d}),f=0;f<u.levels.length;f+=1){var p=u.levels[f];d.push(new bU(h,p))}return h.levelsValue=new wU(d),SU.set(u,h),h}function om(e){for(var t="",r=0;r<e.length;r+=1){var n=e.charAt(r),i=e.charCodeAt(r),o=i>=65&&i<=90||i>=97&&i<=122||i>127,a=i>=48&&i<=57;(o||a)&&(t+=n)}return t}function am(e,t,r){for(var n=0;n<e.abstractNumberings.length;n+=1){var i=e.abstractNumberings[n];if(i.styleLink===t||void 0!==r&&i.styleLink===r)return i.abstractNumId;if(i.name===t||void 0!==r&&i.name===r)return i.abstractNumId}}function lm(e,t,r){var n=e.getNumbering(t);if(void 0!==n){var i=e.getAbstractNumbering(n.abstractNumId);if(void 0!==i){var o=n.levelOverrides.find(function(e){return e.ilvl===r});if(void 0!==o&&void 0!==o.level)return o.level;var a=i.levels.find(function(e){return e.ilvl===r});return void 0!==a?a:void 0}}}function sm(e,t,r){for(var n=0;n<e.abstractNumberings.length;n+=1){var i=e.abstractNumberings[n];if(i.styleLink===t||void 0!==r&&i.styleLink===r||i.name===t||void 0!==r&&i.name===r){for(var o=0;o<e.numberings.length;o+=1){var a=e.numberings[o];if(a.abstractNumId===i.abstractNumId)return a.numId}return e.createInstanceFromAbstract(i.abstractNumId)}i.numStyleLink!==t&&(void 0===r||i.numStyleLink)}throw new $N("content/unresolved-numbering-style",'No numbering definition is linked to style "'+t+'"')}function um(e,t){var r=t.liveCollection();if(void 0!==r)return RU.set(e,r),r;var n=RU.get(e);return void 0===n&&(n=new ZM(e,t),RU.set(e,n)),t.bindLiveCollection(n),n}function cm(e){return vm(),um(e,dm(e))}function dm(e){var t=e.featurePart(kU);if(void 0===t||!(t instanceof LU))throw new $N("feature/not-registered","Styles part was not loaded; call registerStylesFeature() before WordDocument.open");return t}function hm(e){var t,r,n,i,o=[],a=[],l=[],s=!1;try{for(var u=TU(ct(e)),c=u.next();!c.done;c=u.next()){var d=c.value;if(ut(d,"docDefaults")&&void 0===n)n=Lf(d);else if(ut(d,"latentStyles")&&void 0===i)i=qf(d);else if(ut(d,"style")){s=!0;var h=of(d);void 0!==h&&o.push(h)}else s?l.push(d):a.push(d)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return{docDefaults:n,latentStyles:i,styles:o,rootExtrasBeforeStyles:a,rootExtrasAfterStyles:l}}function fm(e){if(void 0===e){var t=Bf(),r=t.docDefaults,n=t.styles;return new LU(r,void 0,n,[],[],!0)}var i=d(AU.decode(e.data));if(!ut(i,"styles"))return new LU(void 0,void 0,[],[],[],!1);var o=hm(i);return new LU(o.docDefaults,o.latentStyles,o.styles,o.rootExtrasBeforeStyles,o.rootExtrasAfterStyles,!1)}function pm(){BU=!1,kh(),Yp(),Sp()}function vm(){BU||(BU=!0,Fh(),Zp(),xp(),je({id:kU}),Ye({featureId:kU,relationshipTypes:[FU,DU],defaultRelativeTarget:"styles.xml",partName:NU,contentType:OU,loadPart:function(e,t){return fm(e)}}),_t({featureId:kU,materialize:function(e){var t=e.featurePart(kU);t instanceof LU&&t.materializePending(e)}}))}function mm(e){var t=dm(e);return um(e,t),t}function ym(e,t,r){var n=Df(mm(e),r,"character");t.characterFormat.characterStyle=n.styleId}function gm(e,t,r){var n=Dh(e);return zf(mm(e),t,r,n.isDirty()?void 0:n)}function bm(e,t){var r=e.getStyle(t),n=void 0!==r?r:e.findStyleByDisplayName(t);if(void 0!==n)return"character"===n.type?"character":"paragraph";var i=mf(t),o=void 0!==i?i:yf(t);return void 0!==o&&"character"===o.type?"character":"paragraph"}function wm(e,t){if(void 0!==e)switch(t){case"bold":return e.bold;case"italic":return e.italic;case"strikethrough":return e.strikethrough;case"doubleStrikethrough":return e.doubleStrikethrough;case"allCaps":return e.allCaps;case"smallCaps":return e.smallCaps;case"hidden":return e.hidden;case"emboss":return e.emboss;case"engrave":return e.engrave;case"outline":return e.outline;case"shadow":return e.shadow;case"noProof":return e.noProof;case"webHidden":return e.webHidden;case"fontSize":return e.fontSize;case"fontName":return e.fontName;case"fontNameAscii":return e.fontNameAscii;case"fontNameNonFarEast":return e.fontNameNonFarEast;case"fontNameFarEast":return e.fontNameFarEast;case"fontNameBidi":return e.fontNameBidi;case"underlineStyle":return e.underlineStyle;case"underlineColor":return e.underlineColor;case"textColor":return e.textColor;case"highlightColor":return e.highlightColor;case"textBackgroundColor":return e.textBackgroundColor;case"subSuperScript":return e.subSuperScript;case"characterSpacing":return e.characterSpacing;case"position":return e.position;case"kerning":return e.kerning;case"scaling":return e.scaling;case"boldBidi":return e.boldBidi;case"italicBidi":return e.italicBidi;case"fontSizeBidi":return e.fontSizeBidi;case"localeId":return e.localeId;case"localeIdBidi":return e.localeIdBidi;case"localeIdFarEast":return e.localeIdFarEast;default:return}}function Pm(e,t){if(void 0!==e)switch(t){case"horizontalAlignment":return e.horizontalAlignment;case"keepFollow":return e.keepFollow;case"keepLines":return e.keepLines;case"pageBreakBefore":return e.pageBreakBefore;case"pageBreakAfter":return e.pageBreakAfter;case"widowControl":return e.widowControl;case"bidi":return e.bidi;case"outlineLevel":return e.outlineLevel;case"leftIndent":return e.leftIndent;case"rightIndent":return e.rightIndent;case"firstLineIndent":return e.firstLineIndent;case"beforeSpacing":return e.beforeSpacing;case"afterSpacing":return e.afterSpacing;case"beforeAutospacing":return e.beforeAutospacing;case"afterAutospacing":return e.afterAutospacing;case"beforeLines":return e.beforeLines;case"afterLines":return e.afterLines;case"lineSpacing":return e.lineSpacing;case"lineSpacingRule":return e.lineSpacingRule;case"lineSpacingCount":return e.lineSpacingCount;case"tabStops":return e.tabStops;case"borders":var r=e;return"function"==typeof r.readBordersBag?r.readBordersBag():r.borders;case"backColor":return e.backColor;case"foreColor":return e.foreColor;case"contextualSpacing":return e.contextualSpacing;case"mirrorIndents":return e.mirrorIndents;default:return}}function Sm(e,t){switch(t){case"bold":return e.bold;case"boldBidi":return e.boldCs;case"italic":return e.italic;case"italicBidi":return e.italicCs;case"fontSize":return e.fontSize;case"fontSizeBidi":return e.fontSizeCs;case"kerning":return e.kerning;case"fontName":return void 0!==e.asciiFont?e.asciiFont:e.hAnsiFont;case"fontNameAscii":return e.asciiFont;case"fontNameNonFarEast":return e.hAnsiFont;case"fontNameFarEast":return e.eastAsiaFont;case"fontNameBidi":return e.csFont;case"textColor":return e.color;default:return}}function xm(e,t){var r=e.spacing,n=e.indentation;switch(t){case"keepFollow":return e.keepNext;case"keepLines":return e.keepLines;case"pageBreakBefore":return e.pageBreakBefore;case"widowControl":return e.widowControl;case"contextualSpacing":return e.contextualSpacing;case"outlineLevel":return e.outlineLevel;case"beforeSpacing":return void 0===r?void 0:r.before;case"afterSpacing":return void 0===r?void 0:r.after;case"lineSpacing":return void 0===r?void 0:void 0!==r.lineSpacing?r.lineSpacing:r.line;case"lineSpacingRule":return void 0===r?void 0:r.lineRule;case"leftIndent":return void 0===n?void 0:n.left;case"rightIndent":return void 0===n?void 0:n.right;case"firstLineIndent":if(void 0===n)return;if(void 0!==n.firstLine)return n.firstLine;if(void 0!==n.hanging)return-n.hanging;return;default:return}}function Cm(e,t){Mt(e,function(e){Im(e,t)}),Tm(e,function(e){e.styleId===t&&(e.styleId=void 0)}),Vm(e,t)}function Im(e,t){var r,n;e.styleId===t&&(e.styleId=void 0);try{for(var i=TU(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof MR&&(a.characterFormat.characterStyle===t&&(a.characterFormat.characterStyle=void 0))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function Vm(e,t){var r=Be("headers-footers");if(ze(r)){var n=e.featurePart(r);if(void 0!==n&&"object"==typeof n&&null!==n){var i=n;if("function"==typeof i.relationshipIds)for(var o=["header","footer"],a=0;a<o.length;a+=1)for(var l=i.relationshipIds(o[a]),s=0;s<l.length;s+=1){var u=l[s];if("function"==typeof i.paragraphsForRelationship)for(var c=i.paragraphsForRelationship(u),d=0;d<c.length;d+=1)Im(c[d],t);"function"==typeof i.itemsForRelationship&&Fm(i.itemsForRelationship(u),function(e){e.styleId===t&&(e.styleId=void 0)})}}}}function Tm(e,t){Fm(e.listBlocks(),t)}function km(e){if("object"==typeof e&&null!==e&&"function"==typeof e.listRows)return e}function Fm(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if("object"==typeof n&&null!==n){var i=n,o=km(n);if(void 0===o&&"feature"===i.type&&(o=km(i.value)),void 0!==o){t(o);for(var a=o.listRows(),l=0;l<a.length;l+=1)for(var s=a[l].listCells(),u=0;u<s.length;u+=1)Fm(s[u].listBlocks(),t)}}}}function Dm(){return{type:"auto",value:Ur(0)}}function Om(e,t){for(var r=t>0?t:1,n=e>0?Math.floor(e):MU*r,i=Math.floor(n/r),o=n-i*r,a=[],l=0;l<r;l+=1)a.push(i+(l<o?1:0));return a}function Nm(e){for(var t=[],r=0;r<e.length;r+=1){var n=e[r];t.push(pt("gridCol",{attributes:[ht("w",String(n>0?n:MU))]}))}return pt("tblGrid",{children:t})}function Am(e){var t=e.gridSpan;return void 0!==t&&t>0?t:1}function Em(e,t){for(var r=0,n=e.listCells(),i=0;i<n.length;i+=1){var o=n[i];if(void 0!==o){var a=Am(o);if(t>=r&&t<r+a)return{cell:o,startColumn:r,cellIndex:i};r+=a}}}function Lm(e,t){for(var r=0,n=e.listCells(),i=0;i<n.length;i+=1){var o=n[i];if(o===t)return r;r+=Am(o)}return-1}function Rm(e){return e.text.trim().length>0}function Bm(){return pt("tblPr")}function _m(e){return Nm(Om(MU*e,e))}function jm(e){var t=e.documentOwner;if(void 0!==t)try{var r=t.sections;if(void 0!==r&&r.count>0){var n=r[0].pageSetup,i=n.pageSize.width-n.margins.left-n.margins.right;if(isFinite(i)&&i>0)return i}}catch(e){}return zU}function Mm(e,t){var r=t>0?t:1,n=Om(zr(jm(e)),r);e.tblGrid=Nm(n),e.layout="fixed";for(var i=0,o=0;o<n.length;o+=1)i+=n[o];e.tblPr=eo(e.tblPr,{type:"dxa",value:Ur(i)});for(var a=e.listRows(),l=0;l<a.length;l+=1)for(var s=0,u=a[l].listCells(),c=0;c<u.length;c+=1){for(var d=u[c],h=Am(d),f=0,p=0;p<h;p+=1){var v=n[s+p];f+=void 0!==v&&v>0?v:MU}d.preferredWidth={type:"dxa",value:Ur(f>0?f:MU)},s+=h}if(void 0!==e.documentOwner)try{e.applyStyle(cM.TableGrid)}catch(t){e.tblPr=yo(e.tblPr,cM.TableGrid)}else e.tblPr=yo(e.tblPr,cM.TableGrid)}function zm(e,t){if(e<1||t<1)throw new RangeError("Table must have at least one row and one column");for(var r=[],n=0;n<e;n+=1){for(var i=[],o=0;o<t;o+=1)i.push(new GU(void 0,[]));r.push(new WU([],void 0,i))}for(var a=new HU([],Bm(),_m(t),r),l=0;l<r.length;l+=1)r[l].setOwnerTable(a);return a}function Um(e){try{return e.owningDocument()}catch(e){return}}function Hm(e,t){var r;if(ut(e,"tbl")){for(var n,i,o=[],a=[],l=ct(e),s=0;s<l.length;s+=1){var u=l[s];ut(u,"tblPr")&&void 0===n?n=u:ut(u,"tblGrid")&&void 0===i?i=u:ut(u,"tr")?a.push(Wm(u,t)):void 0===n&&o.push(u)}if(void 0===n&&(n=Bm()),void 0===i){var c=a[0],d=(r=null==c?void 0:c.listCells().length,null!=r?r:1);i=_m(Math.max(d,1))}if(a.length<1){var h=new GR(void 0),f=new GU(Um(t),[{type:"paragraph",paragraph:h}]);a.push(new WU([],void 0,[f]))}for(var p=new HU(o,n,i,a),s=0;s<a.length;s+=1)a[s].setOwnerTable(p),void 0!==Um(t)&&a[s].bindDocument(Um(t));return void 0!==Um(t)&&p.bindDocument(Um(t)),p}}function Wm(e,t){for(var r,n=[],i=[],o=ct(e),a=0;a<o.length;a+=1){var l=o[a];ut(l,"trPr")&&void 0===r?r=l:ut(l,"tc")?i.push(Gm(l,t)):n.push(l)}if(i.length<1){var s=new GR(void 0);i.push(new GU(Um(t),[{type:"paragraph",paragraph:s}]))}return new WU(n,r,i)}function Gm(e,t){for(var r,n=[],i=ct(e),o=0;o<i.length;o+=1){var a=i[o];ut(a,"tcPr")&&void 0===r?r=a:n.push(a)}var l=Ma(n,t),s=new GU(Um(t),l);return s.applyTcPr(r),s}function qm(){qU=!1}function Xm(e,t){for(var r=e.listRows(),n=0;n<r.length;n+=1)for(var i=r[n].listCells(),o=0;o<i.length;o+=1)zt(i[o].listBlocks(),t)}function Ym(){qU||(qU=!0,je({id:UU}),We({featureId:UU,wmlLocalName:"tbl",tryParse:Hm}),jt({featureId:UU,visitParagraphs:function(e,t){e instanceof HU&&Xm(e,t)}}),Ha({project:function(e){if(e.featureId===UU&&e.value instanceof HU)return e.value},toBlock:function(e){if(e instanceof HU)return{type:"feature",featureId:UU,value:e}},isInstance:function(e){return e instanceof HU}}),$a({isTable:function(e){return e instanceof HU},createTable:function(){return zm(1,1)}}))}function Zm(e){if(e instanceof HU)return!0;if("object"!=typeof e||null===e)return!1;var t=e;return"feature"===t.type&&t.featureId===UU&&t.value instanceof HU}function Km(e){return e instanceof HU}function Jm(e){return Ua(e)?"paragraph":Zm(e)?"table":xu(e)?"blockContentControl":"feature"}function $m(e){YU.push(e)}function Qm(){YU.length=0}function ey(e){if(e instanceof RR||e instanceof _R)return e.featureId}function ty(e){if(e instanceof MR)return"textRange";if(e instanceof LR)return"break";if(e instanceof NR)return"tab";if(e instanceof AR)return"carriageReturn";if(e instanceof ER)return"symbol";if(e instanceof jR||e instanceof BR)return"opaque";for(var t=0;t<YU.length;t+=1){var r=YU[t](e);if(void 0!==r)return r}var n=ey(e);if(void 0!==n){var i=String(n);if("images"===i)return"image";if("hyperlinks"===i)return"hyperlink";if("fields"===i)return"field";if("bookmarks"===i)return"bookmark";if("drawing"===i)return"shape";if("content-controls"===i)return"inlineContentControl";if("comments"===i)return"comment";if("editable-ranges"===i)return"editableRange";if("ole-object"===i||"ole"===i)return"ole";if("revisions"===i)return"revision";if("notes"===i||"footnotes"===i||"endnotes"===i)return"note"}return"unknown"}function ry(e){return lH.has(e)}function ny(e){return sH.has(e)}function iy(e){return uH.has(e)}function oy(e){return cH.has(e)}function ay(e){return dH.has(e)}function ly(e){return fH.has(e)}function sy(e){return hH.has(e)}function uy(e){return pH.has(e)}function cy(e,t,r){if(!r.has(t))throw new RangeError("Invalid "+e+' value "'+t+'"; expected one of: '+KU(r).join(", "))}function dy(e){return VH.has(e)}function hy(e){return TH.has(e)}function fy(e){return NH.has(e)}function py(e){return LH.has(e)}function vy(e){return fy(e)}function my(e){return MH.has(e)}function yy(e){return zH.has(e)}function gy(e){return YH.has(e)}function by(e){return ZH.has(e)}function wy(e){return KH.has(e)}function Py(e){return e.children.filter(function(e){return"element"===e.kind})}function Sy(e,t,r){return e.namespaceUri===t&&e.localName===r}function xy(e,t,r){var n,i;try{for(var o=RH(Py(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(Sy(l,t,r))return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Cy(e,t,r){var n,i;if(Sy(e,t,r))return e;try{for(var o=RH(Py(e)),a=o.next();!a.done;a=o.next()){var l=Cy(a.value,t,r);if(void 0!==l)return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Iy(e){var t,r=xy(e,lW,"srgbClr");if(void 0!==r){var n=(t=r.attributes.find(function(e){return""===e.namespaceUri&&"val"===e.localName}),null==t?void 0:t.value);return void 0!==n&&$H.test(n)?n.toLowerCase():void 0}}function Vy(e){var t,r=xy(e,lW,"srgbClr");if(void 0!==r){var n=xy(r,lW,"alpha");if(void 0!==n){var i=(t=n.attributes.find(function(e){return""===e.namespaceUri&&"val"===e.localName}),null==t?void 0:t.value);if(void 0!==i&&/^\d+$/.test(i)){var o=Number.parseInt(i,10);return o>=0&&o<=1e5?o:void 0}}}}function Ty(e){var t=Math.max(0,Math.min(100,e));return Math.round(1e3*(100-t))}function ky(e){if(void 0===e)return 0;var t=Math.max(0,Math.min(1e5,e));return Math.round(100-t/1e3)}function Fy(e){var t,r=Cy(e,uW,"spPr");if(void 0===r)return{presetGeometry:void 0,useCustomGeometry:!1,fill:void 0,line:void 0,hasThemeStyle:!1};var n=xy(r,lW,"prstGeom"),i=xy(r,lW,"custGeom"),o=void 0!==n?(t=n.attributes.find(function(e){return""===e.namespaceUri&&"prst"===e.localName}),null==t?void 0:t.value):void 0,a=void 0!==o&&fy(o)?o:void 0,l=Dy(r),s=Ny(r,xy(r,lW,"ln")),u=void 0!==Cy(e,uW,"style");return{presetGeometry:a,useCustomGeometry:void 0===n&&void 0!==i,fill:l,line:s,hasThemeStyle:u}}function Dy(e){var t;if(void 0!==xy(e,lW,"noFill"))return{kind:"none"};var r=xy(e,lW,"solidFill");if(void 0!==r){var n=Iy(r);if(void 0===n)return{kind:"theme"};var i=Vy(r);return void 0!==i?{kind:"solid",srgb:n,alpha:i}:{kind:"solid",srgb:n}}if(void 0!==xy(e,lW,"pattFill")){var o=xy(e,lW,"pattFill");return{kind:"pattern",preset:void 0!==o?(t=o.attributes.find(function(e){return""===e.namespaceUri&&"prst"===e.localName}),null==t?void 0:t.value):void 0}}}function Oy(e,t){var r,n,i=xy(e,lW,t);if(void 0===i)return{type:void 0,size:void 0};var o=(r=i.attributes.find(function(e){return""===e.namespaceUri&&"type"===e.localName}),null==r?void 0:r.value),a=(n=i.attributes.find(function(e){return""===e.namespaceUri&&"w"===e.localName}),null==n?void 0:n.value);return{type:void 0!==o&&by(o)?o:void 0,size:void 0!==a&&wy(a)?a:void 0}}function Ny(e,t){var r,n,i;if(void 0===t)return{kind:"theme",widthEmu:void 0,srgbColor:void 0,alpha:void 0,dash:void 0,cap:void 0,beginArrowType:void 0,beginArrowSize:void 0,endArrowType:void 0,endArrowSize:void 0,residual:!1};var o=void 0!==xy(t,lW,"noFill"),a=xy(t,lW,"solidFill"),l=void 0!==a?"solid":"theme",s=(r=t.attributes.find(function(e){return""===e.namespaceUri&&"w"===e.localName}),null==r?void 0:r.value),u=void 0!==s&&/^\d+$/.test(s)?Number.parseInt(s,10):void 0,c=(n=t.attributes.find(function(e){return""===e.namespaceUri&&"cap"===e.localName}),null==n?void 0:n.value),d=xy(t,lW,"prstDash"),h=void 0!==d?(i=d.attributes.find(function(e){return""===e.namespaceUri&&"val"===e.localName}),null==i?void 0:i.value):void 0,f=Oy(t,"headEnd"),p=Oy(t,"tailEnd"),v=void 0!==xy(t,lW,"custDash")||void 0!==xy(t,lW,"round")||void 0!==xy(t,lW,"bevel")||void 0!==xy(t,lW,"miter")||void 0!==d&&void 0!==h&&!yy(h);return{kind:o?"none":l,widthEmu:u,srgbColor:void 0!==a?Iy(a):void 0,alpha:void 0!==a?Vy(a):void 0,dash:void 0!==h&&yy(h)?h:void 0,cap:void 0!==c&&gy(c)?c:void 0,beginArrowType:f.type,beginArrowSize:f.size,endArrowType:p.type,endArrowSize:p.size,residual:v}}function Ay(e,t){var r=[];return void 0!==t&&t>=0&&t<1e5&&r.push({kind:"element",namespaceUri:lW,localName:"alpha",prefix:"a",attributes:[{namespaceUri:"",localName:"val",prefix:"",value:String(Math.round(t))}],namespaceDeclarations:[],children:[]}),{kind:"element",namespaceUri:lW,localName:"srgbClr",prefix:"a",attributes:[{namespaceUri:"",localName:"val",prefix:"",value:e.toLowerCase()}],namespaceDeclarations:[],children:r}}function Ey(e,t){return{kind:"element",namespaceUri:lW,localName:"solidFill",prefix:"a",attributes:[],namespaceDeclarations:[],children:[Ay(e,t)]}}function Ly(){return{kind:"element",namespaceUri:lW,localName:"noFill",prefix:"a",attributes:[],namespaceDeclarations:[],children:[]}}function Ry(e){if("solid"===e.kind)return Ey(e.srgb,e.alpha);if("none"===e.kind)return Ly();throw new $N("content/invalid-shape",'Only solid or noFill can be authored; kind "'+String(e.kind)+'" is residual')}function By(e,t,r){if(void 0!==t||void 0!==r){var n=[];return void 0!==t&&n.push({namespaceUri:"",localName:"type",prefix:"",value:t}),void 0!==r&&n.push({namespaceUri:"",localName:"w",prefix:"",value:r}),{kind:"element",namespaceUri:lW,localName:e,prefix:"a",attributes:n,namespaceDeclarations:[],children:[]}}}function _y(e){var t=[];if(void 0!==e.widthEmu){if(e.widthEmu<0||e.widthEmu>JH)throw new $N("content/invalid-shape","Line width "+String(e.widthEmu)+" EMU outside ST_LineWidth range 0…20116800");t.push({namespaceUri:"",localName:"w",prefix:"",value:String(e.widthEmu)})}void 0!==e.cap&&t.push({namespaceUri:"",localName:"cap",prefix:"",value:e.cap});var r=[];if("solid"===e.kind){if(void 0===e.srgb)throw new $N("content/invalid-shape","Solid line requires an sRGB color");r.push(Ey(e.srgb,e.alpha))}else r.push(Ly());void 0!==e.dash&&r.push({kind:"element",namespaceUri:lW,localName:"prstDash",prefix:"a",attributes:[{namespaceUri:"",localName:"val",prefix:"",value:e.dash}],namespaceDeclarations:[],children:[]});var n=By("headEnd",e.beginArrowType,e.beginArrowSize);void 0!==n&&r.push(n);var i=By("tailEnd",e.endArrowType,e.endArrowSize);return void 0!==i&&r.push(i),{kind:"element",namespaceUri:lW,localName:"ln",prefix:"a",attributes:t,namespaceDeclarations:[],children:r}}function jy(e){return e.children.filter(function(e){return"element"===e.kind})}function My(e,t,r){return e.namespaceUri===t&&e.localName===r}function zy(e,t,r){var n,i;if(My(e,t,r))return e;try{for(var o=nW(jy(e)),a=o.next();!a.done;a=o.next()){var l=zy(a.value,t,r);if(void 0!==l)return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Uy(e,t,r){var n;return n=e.attributes.find(function(e){return e.namespaceUri===t&&e.localName===r}),null==n?void 0:n.value}function Hy(e,t,r,n){var i,o,a;return{kind:"element",namespaceUri:e,localName:r,prefix:t,attributes:(i=null==n?void 0:n.attributes,null!=i?i:[]),namespaceDeclarations:(o=null==n?void 0:n.namespaceDeclarations,null!=o?o:[]),children:(a=null==n?void 0:n.children,null!=a?a:[])}}function Wy(e,t,r,n){return void 0===r&&(r=""),void 0===n&&(n=""),{namespaceUri:r,localName:e,prefix:n,value:t}}function Gy(e){return{kind:"element",namespaceUri:e.namespaceUri,localName:e.localName,prefix:e.prefix,attributes:e.attributes.map(function(e){return rW({},e)}),namespaceDeclarations:e.namespaceDeclarations.map(function(e){return rW({},e)}),children:e.children.map(function(e){return"element"===e.kind?Gy(e):{kind:"text",value:e.value}})}}function qy(e){var t=[Wy("id",String(e.docPrId)),Wy("name",e.name)];return void 0!==e.title&&e.title.length>0&&t.push(Wy("title",e.title)),void 0!==e.description&&e.description.length>0&&t.push(Wy("descr",e.description)),Hy(aW,"wp","docPr",{attributes:t})}function Xy(){return Hy(aW,"wp","effectExtent",{attributes:[Wy("l","0"),Wy("t","0"),Wy("r","0"),Wy("b","0")]})}function Yy(e){var t=[];return 0!==e.rotation&&t.push(Wy("rot",String(Math.round(e.rotation*mW)))),e.flipHorizontal&&t.push(Wy("flipH","1")),e.flipVertical&&t.push(Wy("flipV","1")),t}function Zy(e){var t=null!=e.rotation?e.rotation:0,r=null!=e.flipHorizontal&&e.flipHorizontal,n=null!=e.flipVertical&&e.flipVertical,i=Hy(lW,"a","off",{attributes:[Wy("x","0"),Wy("y","0")]}),o=Hy(lW,"a","ext",{attributes:[Wy("cx",String(e.widthEmu)),Wy("cy",String(e.heightEmu))]});return Hy(lW,"a","xfrm",{attributes:Yy({rotation:t,flipHorizontal:r,flipVertical:n}),children:[i,o]})}function Ky(e){var t=e?[Wy("noChangeAspect","1")]:[];return Hy(aW,"wp","cNvGraphicFramePr",{children:[Hy(lW,"a","graphicFrameLocks",{attributes:t})]})}function Jy(e,t){var r,n,i,o,a=[];if(a.push(Zy(e)),a.push(Hy(lW,"a","prstGeom",{attributes:[Wy("prst",e.presetGeometry)],children:[Hy(lW,"a","avLst")]})),void 0!==e.fill)a.push(Ry(e.fill));else try{for(var l=nW(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"]),s=l.next();!s.done;s=l.next()){var u=s.value,c=void 0!==t?xy(t,lW,u):void 0;if(void 0!==c){a.push(c);break}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}if(void 0!==e.line)a.push(_y(e.line));else if(void 0!==t){var d=xy(t,lW,"ln");void 0!==d&&a.push(d)}var h=[];if(void 0!==t){var f=new Set(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"]);try{for(var p=nW($y(t)),v=p.next();!v.done;v=p.next()){var m=v.value;My(m,lW,"xfrm")||My(m,lW,"prstGeom")||My(m,lW,"custGeom")||My(m,lW,"ln")||m.namespaceUri===lW&&f.has(m.localName)||h.push(m)}}catch(e){i={error:e}}finally{try{v&&!v.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}}return a.push.apply(a,oW(h)),a}function $y(e){return e.children.filter(function(e){return"element"===e.kind})}function Qy(e){var t,r=tg(e.preservedHost),n=Hy(uW,"wps","spPr",{children:Jy(e,r)}),i=void 0!==e.txbxContent||og(e.preservedHost),o=Hy(uW,"wps","cNvSpPr",{attributes:i?[Wy("txBox","1")]:[]}),a=void 0!==e.preservedHost?zy(e.preservedHost,uW,"style"):void 0,l=[o,n];void 0!==a&&l.push(Gy(a));var s=void 0!==e.preservedHost?zy(e.preservedHost,uW,"txbx"):void 0,u=void 0!==e.preservedHost?zy(e.preservedHost,uW,"linkedTxbx"):void 0;void 0!==e.txbxContent?l.push(rg(e.txbxContent)):void 0!==s?l.push(Gy(s)):void 0!==u&&l.push(Gy(u));var c=void 0!==e.preservedHost?zy(e.preservedHost,uW,"bodyPr"):void 0;return l.push((t=null!=e.bodyPr?e.bodyPr:c,null!=t?t:eg())),Hy(uW,"wps","wsp",{namespaceDeclarations:[{prefix:"wps",namespaceUri:uW}],children:l})}function eg(){return Hy(uW,"wps","bodyPr")}function tg(e){if(void 0!==e)return zy(e,uW,"spPr")}function rg(e){return Hy(uW,"wps","txbx",{children:[Hy(FE,"w","txbxContent",{namespaceDeclarations:[{prefix:"w",namespaceUri:FE}],children:e})]})}function ng(e){return za(e)}function ig(e,t){return Ma(e.children,t)}function og(e){var t,r;if(void 0===e)return!1;var n=zy(e,uW,"wsp");if(void 0===n)return!1;try{for(var i=nW(jy(n)),o=i.next();!o.done;o=i.next()){var a=o.value;if(My(a,uW,"txbx")||My(a,uW,"linkedTxbx"))return!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return!1}function ag(e){var t=null!=e.groupChildElements?e.groupChildElements:[],r=Hy(cW,"wpg","cNvGrpSpPr"),n=[Hy(lW,"a","off",{attributes:[Wy("x","0"),Wy("y","0")]}),Hy(lW,"a","ext",{attributes:[Wy("cx",String(e.widthEmu)),Wy("cy",String(e.heightEmu))]}),Hy(lW,"a","chOff",{attributes:[Wy("x","0"),Wy("y","0")]}),Hy(lW,"a","chExt",{attributes:[Wy("cx",String(e.widthEmu)),Wy("cy",String(e.heightEmu))]})],i=[];void 0!==e.rotation&&0!==e.rotation&&i.push(Wy("rot",String(Math.round(6e4*e.rotation)))),!0===e.flipHorizontal&&i.push(Wy("flipH","1")),!0===e.flipVertical&&i.push(Wy("flipV","1"));var o=Hy(lW,"a","xfrm",{attributes:i,children:n}),a=Hy(cW,"wpg","grpSpPr",{children:[o]});return Hy(cW,"wpg","wgp",{namespaceDeclarations:[{prefix:"wpg",namespaceUri:cW}],children:oW([r,a],t)})}function lg(e){var t,r=tg(e.preservedHost),n=Hy(uW,"wps","spPr",{children:Jy(e,r)}),i=void 0!==e.txbxContent||og(e.preservedHost),o=Hy(uW,"wps","cNvSpPr",{attributes:i?[Wy("txBox","1")]:[]}),a=[Wy("id",String(e.docPrId)),Wy("name",e.name)];void 0!==e.title&&e.title.length>0&&a.push(Wy("title",e.title)),void 0!==e.description&&e.description.length>0&&a.push(Wy("descr",e.description));var l=Hy(uW,"wps","cNvPr",{attributes:a}),s=void 0!==e.preservedHost?zy(e.preservedHost,uW,"style"):void 0,u=[o,l,n];void 0!==s&&u.push(Gy(s));var c=void 0!==e.preservedHost?zy(e.preservedHost,uW,"txbx"):void 0,d=void 0!==e.preservedHost?zy(e.preservedHost,uW,"linkedTxbx"):void 0;void 0!==e.txbxContent?u.push(rg(e.txbxContent)):void 0!==c?u.push(Gy(c)):void 0!==d&&u.push(Gy(d));var h=void 0!==e.preservedHost?zy(e.preservedHost,uW,"bodyPr"):void 0;return u.push((t=null!=e.bodyPr?e.bodyPr:h,null!=t?t:eg())),Hy(uW,"wps","wsp",{namespaceDeclarations:[{prefix:"wps",namespaceUri:uW}],children:u})}function sg(e){if(void 0!==e.groupChildElements){var t=Hy(lW,"a","graphicData",{attributes:[Wy("uri",cW)],children:[ag(e)]});return Hy(lW,"a","graphic",{namespaceDeclarations:[{prefix:"a",namespaceUri:lW}],children:[t]})}var r=Hy(lW,"a","graphicData",{attributes:[Wy("uri",uW)],children:[Qy(e)]});return Hy(lW,"a","graphic",{namespaceDeclarations:[{prefix:"a",namespaceUri:lW}],children:[r]})}function ug(e,t){return"inline"===t?$U.Inline:void 0!==zy(e,aW,"wrapNone")?$U.None:void 0!==zy(e,aW,"wrapSquare")?$U.Square:void 0!==zy(e,aW,"wrapTight")?$U.Tight:void 0!==zy(e,aW,"wrapThrough")?$U.Through:void 0!==zy(e,aW,"wrapTopAndBottom")?$U.TopAndBottom:$U.None}function cg(e){if(void 0===e)return xH.Both;var t=Uy(e,"","wrapText");if(void 0===t||""===t.trim())return xH.Both;var r=t.trim();return hy(r)?r:xH.Unknown}function dg(e,t){return void 0===t||t===xH.Unknown||(!hy(t)||("wrapNone"===e.localName||"wrapTopAndBottom"===e.localName||cg(e)===t))}function hg(e,t){var r,n,i=[],o=!1;try{for(var a=nW(e.attributes),l=a.next();!l.done;l=a.next()){var s=l.value;""===s.namespaceUri&&"wrapText"===s.localName?(i.push(Wy("wrapText",t)),o=!0):i.push(rW({},s))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o||i.push(Wy("wrapText",t)),{kind:"element",namespaceUri:e.namespaceUri,localName:e.localName,prefix:e.prefix,attributes:i,namespaceDeclarations:e.namespaceDeclarations.map(function(e){return rW({},e)}),children:e.children.slice()}}function fg(e,t,r){if(void 0!==t&&(e===$U.Tight&&"wrapTight"===t.localName||e===$U.Through&&"wrapThrough"===t.localName||e===$U.Square&&"wrapSquare"===t.localName||e===$U.None&&"wrapNone"===t.localName||e===$U.TopAndBottom&&"wrapTopAndBottom"===t.localName)&&void 0!==t)return dg(t,r)?t:void 0===r||!hy(r)||e!==$U.Square&&e!==$U.Tight&&e!==$U.Through?t:hg(t,r);var n=void 0!==r&&hy(r)?r:xH.Both;switch(e){case $U.None:return Hy(aW,"wp","wrapNone");case $U.Square:return Hy(aW,"wp","wrapSquare",{attributes:[Wy("wrapText",n)]});case $U.TopAndBottom:return Hy(aW,"wp","wrapTopAndBottom");case $U.Tight:case $U.Through:case $U.Inline:default:return Hy(aW,"wp","wrapNone")}}function pg(e){var t,r;if(void 0!==e){try{for(var n=nW(["wrapNone","wrapSquare","wrapTight","wrapThrough","wrapTopAndBottom"]),i=n.next();!i.done;i=n.next()){var o=function(t){var r=jy(e).find(function(e){return My(e,aW,t)});if(void 0!==r)return{value:r}}(i.value);if("object"==typeof o)return o.value}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}}function vg(e){return void 0===e?{positionH:void 0,positionV:void 0}:{positionH:jy(e).find(function(e){return My(e,aW,"positionH")}),positionV:jy(e).find(function(e){return My(e,aW,"positionV")})}}function mg(e){if(void 0!==e)return jy(e).find(function(e){return My(e,aW,"effectExtent")})}function yg(){return Hy(aW,"wp","positionH",{attributes:[Wy("relativeFrom",QU.Column)],children:[Hy(aW,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]})}function gg(){return Hy(aW,"wp","positionV",{attributes:[Wy("relativeFrom",eH.Paragraph)],children:[Hy(aW,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]})}function bg(e){var t,r=void 0!==e.horizontalOrigin?e.horizontalOrigin:QU.Column;return t=void 0!==e.horizontalAlignment&&ly(e.horizontalAlignment)?Hy(aW,"wp","align",{children:[{kind:"text",value:e.horizontalAlignment}]}):Hy(aW,"wp","posOffset",{children:[{kind:"text",value:String(null!=e.horizontalPositionEmu?e.horizontalPositionEmu:0)}]}),Hy(aW,"wp","positionH",{attributes:[Wy("relativeFrom",r)],children:[t]})}function wg(e){var t,r=void 0!==e.verticalOrigin?e.verticalOrigin:eH.Paragraph;return t=void 0!==e.verticalAlignment&&uy(e.verticalAlignment)?Hy(aW,"wp","align",{children:[{kind:"text",value:e.verticalAlignment}]}):Hy(aW,"wp","posOffset",{children:[{kind:"text",value:String(null!=e.verticalPositionEmu?e.verticalPositionEmu:0)}]}),Hy(aW,"wp","positionV",{attributes:[Wy("relativeFrom",r)],children:[t]})}function Pg(e,t){var r,n;if(void 0===e)return[];var i=[];try{for(var o=nW(t),a=o.next();!a.done;a=o.next()){var l=a.value,s=Uy(e,"",l);void 0!==s&&i.push(Wy(l,s))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function Sg(e,t){var r=Uy(e,"",t);if(void 0!==r&&/^\d+$/.test(r))return Number.parseInt(r,10)}function xg(e,t){var r=Uy(e,"",t);return"1"===r||"true"===r}function Cg(e){var t,r,n="";try{for(var i=nW(e.children),o=i.next();!o.done;o=i.next()){var a=o.value;"text"===a.kind&&(n+=a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function Ig(e){if(void 0!==e){var t=jy(e).find(function(e){return My(e,aW,"posOffset")});if(void 0!==t){var r=Cg(t).trim();if(/^-?\d+$/.test(r))return Number.parseInt(r,10)}}}function Vg(e){var t=Ig(e);return void 0!==t&&t>=0?Hr(t):void 0}function Tg(e,t){if(void 0!==e){var r=jy(e).find(function(e){return My(e,aW,"align")});if(void 0===r)return"h"===t?tH.None:iH.None;var n=Cg(r).trim();return"h"===t?ly(n)?n:tH.Unknown:uy(n)?n:iH.Unknown}}function kg(e){var t,r=(t=cb(e),null!=t?t:e),n=zy(r,aW,"inline"),i=zy(r,aW,"anchor"),o=null!=n?n:i,a=void 0!==n?"inline":void 0!==i?"anchor":void 0,l=void 0!==o&&void 0!==a?ug(o,a):$U.None,s=void 0!==o?pg(o):void 0,u=l===$U.Square||l===$U.Tight||l===$U.Through?cg(s):xH.Both,c=zy(r,lW,"prstGeom"),d=void 0!==c?Uy(c,"","prst"):void 0,h={behindDocument:"anchor"===a&&void 0!==o&&xg(o,"behindDoc"),lockAnchor:"anchor"===a&&void 0!==o&&xg(o,"locked"),allowOverlap:"anchor"===a&&void 0!==o&&xg(o,"allowOverlap"),layoutInCell:"anchor"===a&&void 0!==o&&xg(o,"layoutInCell")};return void 0===o?rW({placement:a,wrapping:l,wrapType:xH.Both,distanceTopEmu:void 0,distanceBottomEmu:void 0,distanceLeftEmu:void 0,distanceRightEmu:void 0},h,{presetGeometry:d}):rW({placement:a,wrapping:l,wrapType:u,distanceTopEmu:Sg(o,"distT"),distanceBottomEmu:Sg(o,"distB"),distanceLeftEmu:Sg(o,"distL"),distanceRightEmu:Sg(o,"distR")},h,{presetGeometry:d})}function Fg(e){var t,r=(t=cb(e),null!=t?t:e),n=zy(r,aW,"inline"),i=zy(r,aW,"anchor"),o=null!=n?n:i,a=void 0!==o?jy(o).find(function(e){return My(e,aW,"positionH")}):void 0,l=void 0!==o?jy(o).find(function(e){return My(e,aW,"positionV")}):void 0,s=void 0!==a?Uy(a,"","relativeFrom"):void 0,u=void 0!==l?Uy(l,"","relativeFrom"):void 0;return{horizontalOrigin:void 0!==s&&iy(s)?s:void 0,verticalOrigin:void 0!==u&&oy(u)?u:void 0,horizontalPosition:Vg(a),verticalPosition:Vg(l),horizontalPositionEmu:Ig(a),verticalPositionEmu:Ig(l),horizontalAlignment:Tg(a,"h"),verticalAlignment:Tg(l,"v")}}function Dg(e,t){return t===$U.Inline?"inline":void 0!==t?"anchor":e}function Og(e,t){return void 0===t?"inline"===e?$U.Inline:$U.None:"anchor"===e&&t===$U.Inline?$U.None:"inline"===e?$U.Inline:t}function Ng(e){var t,r=(t=mg(void 0!==e.preservedHost?zy(e.preservedHost,aW,"inline"):void 0),null!=t?t:Xy()),n=null!=e.distanceTopEmu?e.distanceTopEmu:0,i=null!=e.distanceBottomEmu?e.distanceBottomEmu:0,o=null!=e.distanceLeftEmu?e.distanceLeftEmu:0,a=null!=e.distanceRightEmu?e.distanceRightEmu:0,l=[{prefix:"wp",namespaceUri:aW},{prefix:"a",namespaceUri:lW},{prefix:"wps",namespaceUri:uW}];return void 0!==e.groupChildElements&&l.push({prefix:"wpg",namespaceUri:cW}),Hy(aW,"wp","inline",{namespaceDeclarations:l,attributes:[Wy("distT",String(n)),Wy("distB",String(i)),Wy("distL",String(o)),Wy("distR",String(a))],children:[Hy(aW,"wp","extent",{attributes:[Wy("cx",String(e.widthEmu)),Wy("cy",String(e.heightEmu))]}),r,qy(e),Ky(null==e.lockAspectRatio||e.lockAspectRatio),sg(e)]})}function Ag(e){var t,r,n,i,o,a,l=void 0!==e.preservedHost?zy(e.preservedHost,aW,"anchor"):void 0,s=[Wy("distT",String(null!=e.distanceTopEmu?e.distanceTopEmu:0)),Wy("distB",String(null!=e.distanceBottomEmu?e.distanceBottomEmu:0)),Wy("distL",String(null!=e.distanceLeftEmu?e.distanceLeftEmu:114300)),Wy("distR",String(null!=e.distanceRightEmu?e.distanceRightEmu:114300)),Wy("simplePos","0"),Wy("relativeHeight","251658240"),Wy("behindDoc",!0===e.behindDocument?"1":"0"),Wy("locked",!0===e.lockAnchor?"1":"0"),Wy("layoutInCell",!1===e.layoutInCell?"0":"1"),Wy("allowOverlap",!1===e.allowOverlap?"0":"1")],u=void 0!==e.distanceTopEmu||void 0!==e.distanceBottomEmu||void 0!==e.distanceLeftEmu||void 0!==e.distanceRightEmu||void 0!==e.behindDocument||void 0!==e.lockAnchor||void 0!==e.allowOverlap||void 0!==e.layoutInCell||!0===e.layoutDirty;if(u||void 0===l)if(void 0===l||u)if(void 0!==l){var c=Pg(l,["simplePos","relativeHeight","hidden"]);a=oW([Wy("distT",String((t=null!=e.distanceTopEmu?e.distanceTopEmu:Sg(l,"distT"),null!=t?t:0))),Wy("distB",String((r=null!=e.distanceBottomEmu?e.distanceBottomEmu:Sg(l,"distB"),null!=r?r:0))),Wy("distL",String((n=null!=e.distanceLeftEmu?e.distanceLeftEmu:Sg(l,"distL"),null!=n?n:114300))),Wy("distR",String((i=null!=e.distanceRightEmu?e.distanceRightEmu:Sg(l,"distR"),null!=i?i:114300)))],c.length>0?c:[Wy("simplePos","0"),Wy("relativeHeight","251658240")],[Wy("behindDoc",void 0!==e.behindDocument?e.behindDocument?"1":"0":xg(l,"behindDoc")?"1":"0"),Wy("locked",void 0!==e.lockAnchor?e.lockAnchor?"1":"0":xg(l,"locked")?"1":"0"),Wy("allowOverlap",void 0!==e.allowOverlap?e.allowOverlap?"1":"0":xg(l,"allowOverlap")?"1":"0"),Wy("layoutInCell",void 0!==e.layoutInCell?e.layoutInCell?"1":"0":xg(l,"layoutInCell")?"1":"0")])}else a=s;else a=(d=Pg(l,["distT","distB","distL","distR","simplePos","relativeHeight","behindDoc","locked","layoutInCell","allowOverlap","hidden"])).length>0?d:s;else{var d=Pg(l,["distT","distB","distL","distR","simplePos","relativeHeight","behindDoc","locked","layoutInCell","allowOverlap","hidden"]);a=d.length>0?d:s}var h,f,p,v,m=pg(l),y=(o=mg(l),null!=o?o:Xy()),g=l?jy(l).find(function(e){return My(e,aW,"simplePos")}):void 0,b=vg(l),w=!0===e.layoutDirty||void 0===l,P=Og("anchor",null!=e.wrapping?e.wrapping:$U.None),S=Eg(e);if(w)h=null!=g?g:Hy(aW,"wp","simplePos",{attributes:[Wy("x","0"),Wy("y","0")]}),f=S.horizontal?bg(e):null!=b.positionH?b.positionH:yg(),p=S.vertical?wg(e):null!=b.positionV?b.positionV:gg(),v=fg(P,m,e.wrapType);else{var x=jy(l).find(function(e){return My(e,aW,"positionH")}),C=jy(l).find(function(e){return My(e,aW,"positionV")});h=null!=g?g:Hy(aW,"wp","simplePos",{attributes:[Wy("x","0"),Wy("y","0")]}),f=null!=x?x:Hy(aW,"wp","positionH",{attributes:[Wy("relativeFrom","column")],children:[Hy(aW,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]}),p=null!=C?C:Hy(aW,"wp","positionV",{attributes:[Wy("relativeFrom","paragraph")],children:[Hy(aW,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]}),v=null!=m?m:Hy(aW,"wp","wrapNone")}var I=[{prefix:"wp",namespaceUri:aW},{prefix:"a",namespaceUri:lW},{prefix:"wps",namespaceUri:uW}];return void 0!==e.groupChildElements&&I.push({prefix:"wpg",namespaceUri:cW}),Hy(aW,"wp","anchor",{namespaceDeclarations:I,attributes:a,children:[h,f,p,Hy(aW,"wp","extent",{attributes:[Wy("cx",String(e.widthEmu)),Wy("cy",String(e.heightEmu))]}),y,v,qy(e),Ky(null==e.lockAspectRatio||e.lockAspectRatio),sg(e)]})}function Eg(e){return{horizontal:!0===e.horizontalModeled,vertical:!0===e.verticalModeled}}function Lg(e){return"1"===e||"true"===e}function Rg(e){if(void 0!==e){var t=Uy(e,"","cx"),r=Uy(e,"","cy");if(void 0!==t&&void 0!==r&&/^\d+$/.test(t)&&/^\d+$/.test(r))return{widthEmu:Number.parseInt(t,10),heightEmu:Number.parseInt(r,10)}}}function Bg(e){var t=zy(e,lW,"xfrm");if(void 0===t)return{rotation:0,flipHorizontal:!1,flipVertical:!1,ext:void 0};var r=Uy(t,"","rot"),n=void 0!==r&&/^-?\d+$/.test(r)?Number.parseInt(r,10)/mW:0,i=jy(t).find(function(e){return My(e,lW,"ext")});return{rotation:n,flipHorizontal:Lg(Uy(t,"","flipH")),flipVertical:Lg(Uy(t,"","flipV")),ext:Rg(i)}}function _g(e){var t=zy(e,lW,"graphicFrameLocks");return void 0!==t&&Lg(Uy(t,"","noChangeAspect"))}function jg(e){var t=zy(e,aW,"inline"),r=zy(e,aW,"anchor");return null!=t?t:r}function Mg(e){var t,r,n,i=(t=cb(e),null!=t?t:ut(e,"drawing")?e:void 0);if(void 0===i)return{widthEmu:void 0,heightEmu:void 0,rotation:0,flipHorizontal:!1,flipVertical:!1,lockAspectRatio:!1};var o=jg(i),a=Rg(void 0!==o?zy(o,aW,"extent"):void 0),l=Bg(i);return{widthEmu:(r=null==a?void 0:a.widthEmu,null!=r?r:null==l.ext?void 0:l.ext.widthEmu),heightEmu:(n=null==a?void 0:a.heightEmu,null!=n?n:null==l.ext?void 0:l.ext.heightEmu),rotation:l.rotation,flipHorizontal:l.flipHorizontal,flipVertical:l.flipVertical,lockAspectRatio:void 0!==o&&_g(o)}}function zg(e,t){var r=t(oW(e.attributes));e.attributes=r}function Ug(e,t,r){zg(e,function(e){var n,i,o=[],a=!1,l=!1;try{for(var s=nW(e),u=s.next();!u.done;u=s.next()){var c=u.value;""!==c.namespaceUri||"cx"!==c.localName?""!==c.namespaceUri||"cy"!==c.localName?o.push(c):(l=!0,o.push(Wy("cy",String(r)))):(a=!0,o.push(Wy("cx",String(t))))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return a||o.push(Wy("cx",String(t))),l||o.push(Wy("cy",String(r))),o})}function Hg(e,t){zg(e,function(e){var r,n,i=[];try{for(var o=nW(e),a=o.next();!a.done;a=o.next()){var l=a.value;""===l.namespaceUri?"rot"!==l.localName&&"flipH"!==l.localName&&"flipV"!==l.localName&&i.push(l):i.push(l)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return oW(i,Yy(t))});var r=jy(e).find(function(e){return My(e,lW,"ext")});if(void 0===r){r=Hy(lW,"a","ext",{attributes:[Wy("cx",String(t.widthEmu)),Wy("cy",String(t.heightEmu))]});var n=oW(e.children,[r]);e.children=n}else Ug(r,t.widthEmu,t.heightEmu)}function Wg(e,t){var r=zy(e,lW,"xfrm");if(void 0!==r)return void Hg(r,t);var n=zy(e,uW,"spPr");if(void 0!==n){var i=Hy(lW,"a","off",{attributes:[Wy("x","0"),Wy("y","0")]}),o=Hy(lW,"a","ext",{attributes:[Wy("cx",String(t.widthEmu)),Wy("cy",String(t.heightEmu))]});r=Hy(lW,"a","xfrm",{attributes:Yy(t),children:[i,o]}),n.children=oW([r],n.children)}}function Gg(e,t){var r=jy(e).find(function(e){return My(e,aW,"cNvGraphicFramePr")});if(void 0===r){r=Ky(t);var n=oW(e.children),i=n.findIndex(function(e){return"element"===e.kind&&My(e,aW,"docPr")});return i>=0?n.splice(i+1,0,r):n.push(r),void(e.children=n)}var o=jy(r).find(function(e){return My(e,lW,"graphicFrameLocks")});if(void 0===o)return o=Hy(lW,"a","graphicFrameLocks",{attributes:t?[Wy("noChangeAspect","1")]:[]}),void(r.children=oW([o],r.children));zg(o,function(e){var r,n,i=[];try{for(var o=nW(e),a=o.next();!a.done;a=o.next()){var l=a.value;""===l.namespaceUri&&"noChangeAspect"===l.localName||i.push(l)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return t&&i.push(Wy("noChangeAspect","1")),i})}function qg(e){var t=e/vW,r=Math.round(1e3*t)/1e3;return String(r)+"pt"}function Xg(e){return 0===e?"0":qg(e)}function Yg(e){var t=e.startsWith("#")?e.slice(1):e;if(/^[0-9A-Fa-f]{6}$/.test(t))return"#"+t.toLowerCase()}function Zg(e){if(void 0!==e)switch(e){case"rnd":return"round";case"sq":return"square";case"flat":return"flat";default:return}}function Kg(e){if(void 0!==e)switch(e){case"none":return"none";case"triangle":return"block";case"diamond":return"diamond";case"oval":return"oval";case"stealth":case"arrow":default:return}}function Jg(e){if(void 0!==e)switch(e){case"sm":return"narrow";case"med":return"medium";case"lg":return"wide";default:return}}function $g(e){if(void 0!==e)switch(e){case"sm":return"short";case"med":return"medium";case"lg":return"long";default:return}}function Qg(e){if(void 0!==e&&"unknown"!==e)switch(e){case"solid":return"solid";case"dash":case"lgDash":case"sysDash":return"dash";case"dot":case"sysDot":return"dot";case"dashDot":case"lgDashDot":case"sysDashDot":return"dashDot";case"lgDashDotDot":case"sysDashDotDot":return"dashDotDot";default:return}}function eb(e){switch(e){case $U.Square:return{w10Type:"square",msoWrapStyle:"square"};case $U.None:return{w10Type:"none",msoWrapStyle:"none"};case $U.Tight:return{w10Type:"tight",msoWrapStyle:void 0};case $U.Through:return{w10Type:"through",msoWrapStyle:void 0};case $U.TopAndBottom:return{w10Type:"topAndBottom",msoWrapStyle:void 0};case $U.Inline:case void 0:default:return{w10Type:void 0,msoWrapStyle:void 0}}}function tb(e){switch(e){case QU.Margin:return"margin";case QU.Page:return"page";case QU.Column:return"text";case QU.Character:return"char";case QU.LeftMargin:case QU.RightMargin:case QU.InsideMargin:case QU.OutsideMargin:case void 0:default:return}}function rb(e){switch(e){case eH.Margin:return"margin";case eH.Page:return"page";case eH.Paragraph:return"text";case eH.Line:return"line";case eH.TopMargin:case eH.BottomMargin:case eH.InsideMargin:case eH.OutsideMargin:case void 0:default:return}}function nb(e){var t,r,n=Dg(e.placement,e.wrapping),i=Og(n,e.wrapping),o=[];if("anchor"===n){o.push("position:absolute");var a=null!=e.horizontalPositionEmu?e.horizontalPositionEmu:0,l=null!=e.verticalPositionEmu?e.verticalPositionEmu:0;o.push("margin-left:"+qg(a)),o.push("margin-top:"+qg(l))}if(o.push("width:"+qg(e.widthEmu)),o.push("height:"+qg(e.heightEmu)),"anchor"===n){var s=!0===e.behindDocument?-251658240:251658240;o.push("z-index:"+String(s)),o.push("visibility:visible");var u=eb(i);void 0!==u.msoWrapStyle&&o.push("mso-wrap-style:"+u.msoWrapStyle);var c=null!=e.distanceLeftEmu?e.distanceLeftEmu:114300,d=null!=e.distanceTopEmu?e.distanceTopEmu:0,h=null!=e.distanceRightEmu?e.distanceRightEmu:114300,f=null!=e.distanceBottomEmu?e.distanceBottomEmu:0;o.push("mso-wrap-distance-left:"+Xg(c)),o.push("mso-wrap-distance-top:"+Xg(d)),o.push("mso-wrap-distance-right:"+Xg(h)),o.push("mso-wrap-distance-bottom:"+Xg(f)),o.push("mso-position-horizontal:absolute");var p=(t=tb(e.horizontalOrigin),null!=t?t:"text");o.push("mso-position-horizontal-relative:"+p),o.push("mso-position-vertical:absolute");var v=(r=rb(e.verticalOrigin),null!=r?r:"text");o.push("mso-position-vertical-relative:"+v)}var m=null!=e.rotation?e.rotation:0;if(0!==m){var y=Math.round(1e3*m)/1e3;o.push("rotation:"+String(y))}var g=!0===e.flipHorizontal,b=!0===e.flipVertical;return g&&b?o.push("flip:xy"):g?o.push("flip:x"):b&&o.push("flip:y"),void 0!==e.bodyPr&&jy(e.bodyPr).some(function(e){return e.namespaceUri===lW&&"spAutoFit"===e.localName})&&o.push("mso-fit-shape-to-text:t"),o.join(";")}function ib(e){if(void 0!==e){var t=Uy(e,"","lIns"),r=Uy(e,"","tIns"),n=Uy(e,"","rIns"),i=Uy(e,"","bIns");if(void 0!==t||void 0!==r||void 0!==n||void 0!==i){var o=function(e){if(void 0===e||""===e)return 0;var t=Number(e);return Number.isFinite(t)?t:0};return qg(o(t))+","+qg(o(r))+","+qg(o(n))+","+qg(o(i))}}}function ob(e){var t=e.line;if(void 0!==t){var r=[];if("none"===t.kind)r.push(Wy("on","f"));else{var n=Zg(t.cap);void 0!==n&&r.push(Wy("endcap",n));var i=Qg(t.dash);void 0!==i&&"solid"!==i&&r.push(Wy("dashstyle",i)),void 0!==t.widthEmu&&r.push(Wy("weight",qg(t.widthEmu)));var o=Yg(t.srgb);void 0!==o&&r.push(Wy("color",o));var a=Kg(t.beginArrowType);if(void 0!==a&&"none"!==a){r.push(Wy("startarrow",a));var l=Jg(t.beginArrowSize),s=$g(t.beginArrowSize);void 0!==l&&r.push(Wy("startarrowwidth",l)),void 0!==s&&r.push(Wy("startarrowlength",s))}var u=Kg(t.endArrowType);if(void 0!==u&&"none"!==u){r.push(Wy("endarrow",u));var c=Jg(t.endArrowSize),d=$g(t.endArrowSize);void 0!==c&&r.push(Wy("endarrowwidth",c)),void 0!==d&&r.push(Wy("endarrowlength",d))}}return r.push(Wy("joinstyle","miter")),Hy(hW,"v","stroke",{attributes:r})}}function ab(e){var t=Dg(e.placement,e.wrapping),r=Og(t,e.wrapping),n=[Wy("style",nb(e)),Wy("id","Shape"+String(e.docPrId))];if(void 0!==e.fill&&("none"===e.fill.kind?n.push(Wy("filled","f")):void 0!==(i=Yg(e.fill.srgb))&&(n.push(Wy("filled","t")),n.push(Wy("fillcolor",i)))),void 0!==e.line)if("none"===e.line.kind)n.push(Wy("stroked","f"));else{n.push(Wy("stroked","t"));var i=Yg(e.line.srgb);void 0!==i&&n.push(Wy("strokecolor",i)),void 0!==e.line.widthEmu&&n.push(Wy("strokeweight",qg(e.line.widthEmu)))}var o=[];if(void 0!==e.fill&&"solid"===e.fill.kind){var a=e.fill;if(void 0!==a.alpha){var l=Math.round(100-a.alpha/1e3);if(l>0&&l<=100){var s=Yg(a.srgb),u=[];void 0!==s&&u.push(Wy("color",s)),u.push(Wy("opacity",String(100-l)+"%")),o.push(Hy(hW,"v","fill",{attributes:u}))}}}var c=ob(e);void 0!==c&&o.push(c);var d=eb(r),h=!1;if("anchor"===t&&void 0!==d.w10Type){var f=[Wy("type",d.w10Type)],p=tb(e.horizontalOrigin),v=rb(e.verticalOrigin);void 0!==p&&f.push(Wy("anchorx",p)),void 0!==v&&f.push(Wy("anchory",v)),o.push(Hy(fW,"w10","wrap",{attributes:f})),h=!0}if("anchor"===t&&!0===e.lockAnchor&&(o.push(Hy(fW,"w10","anchorlock",{})),h=!0),void 0!==e.txbxContent){var m=[],y=ib(e.bodyPr);void 0!==y&&m.push(Wy("inset",y));var g=e.txbxContent.map(function(e){return Gy(e)}),b=void 0;b=1===g.length&&void 0!==g[0]&&ut(g[0],"txbxContent")?g:[pt("txbxContent",{children:g})],o.push(Hy(hW,"v","textbox",{attributes:m,children:b}))}var w=[{prefix:"v",namespaceUri:hW}];return h&&w.push({prefix:"w10",namespaceUri:fW}),pt("pict",{namespaceDeclarations:w,children:[Hy(hW,"v","shape",{attributes:n,children:o})]})}function lb(e){var t=Dg(e.placement,e.wrapping),r=Og(t,e.wrapping),n=rW({},e,{placement:t,wrapping:r});return pt("drawing",{children:["inline"===t?Ng(n):Ag(n)]})}function sb(e){var t=lb(e),r=ab(e);return Hy(pW,"mc","AlternateContent",{namespaceDeclarations:[{prefix:"mc",namespaceUri:pW},{prefix:"wps",namespaceUri:uW},{prefix:"wp",namespaceUri:aW},{prefix:"a",namespaceUri:lW},{prefix:"v",namespaceUri:hW},{prefix:"w10",namespaceUri:fW}],children:[Hy(pW,"mc","Choice",{attributes:[Wy("Requires","wps")],children:[t]}),Hy(pW,"mc","Fallback",{children:[r]})]})}function ub(e){var t={placement:e.placement,widthEmu:e.widthEmu,heightEmu:e.heightEmu,presetGeometry:"rect",docPrId:e.docPrId,name:e.name,title:e.title,description:e.description,groupChildElements:e.children};void 0!==e.rotation&&(t.rotation=e.rotation),void 0!==e.flipHorizontal&&(t.flipHorizontal=e.flipHorizontal),void 0!==e.flipVertical&&(t.flipVertical=e.flipVertical),void 0!==e.lockAspectRatio&&(t.lockAspectRatio=e.lockAspectRatio),void 0!==e.wrapping&&(t.wrapping=e.wrapping),void 0!==e.distanceTopEmu&&(t.distanceTopEmu=e.distanceTopEmu),void 0!==e.distanceBottomEmu&&(t.distanceBottomEmu=e.distanceBottomEmu),void 0!==e.distanceLeftEmu&&(t.distanceLeftEmu=e.distanceLeftEmu),void 0!==e.distanceRightEmu&&(t.distanceRightEmu=e.distanceRightEmu),void 0!==e.behindDocument&&(t.behindDocument=e.behindDocument),void 0!==e.horizontalOrigin&&(t.horizontalOrigin=e.horizontalOrigin),void 0!==e.verticalOrigin&&(t.verticalOrigin=e.verticalOrigin),void 0!==e.horizontalPositionEmu&&(t.horizontalPositionEmu=e.horizontalPositionEmu),void 0!==e.verticalPositionEmu&&(t.verticalPositionEmu=e.verticalPositionEmu),void 0!==e.horizontalAlignment&&(t.horizontalAlignment=e.horizontalAlignment),void 0!==e.verticalAlignment&&(t.verticalAlignment=e.verticalAlignment),void 0!==e.lockAnchor&&(t.lockAnchor=e.lockAnchor),void 0!==e.allowOverlap&&(t.allowOverlap=e.allowOverlap),void 0!==e.layoutInCell&&(t.layoutInCell=e.layoutInCell),void 0!==e.horizontalModeled&&(t.horizontalModeled=e.horizontalModeled),void 0!==e.verticalModeled&&(t.verticalModeled=e.verticalModeled),void 0!==e.preservedHost&&(t.preservedHost=e.preservedHost),void 0!==e.layoutDirty&&(t.layoutDirty=e.layoutDirty);var r=t,n=lb(r),i=ab(r);return Hy(pW,"mc","AlternateContent",{namespaceDeclarations:[{prefix:"mc",namespaceUri:pW},{prefix:"wpg",namespaceUri:cW},{prefix:"wps",namespaceUri:uW},{prefix:"wp",namespaceUri:aW},{prefix:"a",namespaceUri:lW},{prefix:"v",namespaceUri:hW},{prefix:"w10",namespaceUri:fW}],children:[Hy(pW,"mc","Choice",{attributes:[Wy("Requires","wpg")],children:[n]}),Hy(pW,"mc","Fallback",{children:[i]})]})}function cb(e){var t,r,n,i;if(ut(e,"drawing"))return e;if(e.namespaceUri===pW&&"AlternateContent"===e.localName){try{for(var o=nW(jy(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(l.namespaceUri===pW&&"Choice"===l.localName)try{for(var s=nW(jy(l)),u=s.next();!u.done;u=s.next()){var c=u.value;if(ut(c,"drawing"))return c}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return void 0!==zy(e,e.namespaceUri,"drawing")?void 0:function(){var t,r;try{for(var n=nW(jy(e)),i=n.next();!i.done;i=n.next()){var o=i.value,a=cb(o);if(void 0!==a)return a;if(ut(o,"drawing"))return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}()}}function db(e){var t,r=(t=cb(e),null!=t?t:ut(e,"drawing")?e:void 0);if(void 0===r)return{name:void 0,title:void 0,description:void 0,docPrId:void 0};var n=zy(r,aW,"inline"),i=zy(r,aW,"anchor"),o=null!=n?n:i;if(void 0===o)return{name:void 0,title:void 0,description:void 0,docPrId:void 0};var a=zy(o,aW,"docPr");if(void 0===a)return{name:void 0,title:void 0,description:void 0,docPrId:void 0};var l=Uy(a,"","id"),s=void 0!==l&&/^\d+$/.test(l)?Number.parseInt(l,10):void 0,u=Uy(a,"","name"),c=Uy(a,"","title"),d=Uy(a,"","descr");return{name:void 0!==u&&u.length>0?u:void 0,title:void 0!==c&&c.length>0?c:void 0,description:void 0!==d&&d.length>0?d:void 0,docPrId:s}}function hb(e,t){var r,n,i=[],o=!1,a=!1,l=!1,s=!1;try{for(var u=nW(e.attributes),c=u.next();!c.done;c=u.next()){var d=c.value;if(""===d.namespaceUri)if("id"!==d.localName)if("name"!==d.localName)if("title"!==d.localName)if("descr"!==d.localName)i.push(d);else{if(s=!0,void 0===t.description)continue;i.push(Wy("descr",t.description))}else{if(l=!0,void 0===t.title)continue;i.push(Wy("title",t.title))}else a=!0,void 0!==t.name?i.push(Wy("name",t.name)):i.push(d);else o=!0,void 0!==t.docPrId?i.push(Wy("id",String(t.docPrId))):i.push(d);else i.push(d)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}o||void 0===t.docPrId||i.unshift(Wy("id",String(t.docPrId))),a||void 0===t.name||i.push(Wy("name",t.name)),!l&&void 0!==t.title&&t.title.length>0&&i.push(Wy("title",t.title)),!s&&void 0!==t.description&&t.description.length>0&&i.push(Wy("descr",t.description)),e.attributes=i}function fb(e,t){var r,n=Gy(e),i=(r=cb(n),null!=r?r:ut(n,"drawing")?n:void 0);if(void 0===i)return n;var o=zy(i,aW,"inline"),a=zy(i,aW,"anchor"),l=null!=o?o:a;if(void 0===l)return n;var s=zy(l,aW,"docPr");return void 0===s?n:(hb(s,t),n)}function pb(e,t){var r,n=Gy(e),i=(r=cb(n),null!=r?r:ut(n,"drawing")?n:void 0);if(void 0===i)return n;var o=jg(i);if(void 0===o)return n;var a=zy(o,aW,"extent");if(void 0!==a)Ug(a,t.widthEmu,t.heightEmu);else{var l=Hy(aW,"wp","extent",{attributes:[Wy("cx",String(t.widthEmu)),Wy("cy",String(t.heightEmu))]}),s=oW(o.children),u=s.findIndex(function(e){return"element"===e.kind&&(My(e,aW,"effectExtent")||My(e,aW,"docPr")||e.localName.startsWith("wrap"))});u>=0?s.splice(u,0,l):s.unshift(l),o.children=s}Wg(i,t),Gg(o,t.lockAspectRatio);var c=zy(o,aW,"docPr");return void 0!==c&&hb(c,t),n}function vb(e){return e.namespaceUri===pW&&"AlternateContent"===e.localName}function mb(e){return e.namespaceUri===uW&&"wsp"===e.localName||e.namespaceUri===cW&&"grpSp"===e.localName}function yb(e){var t,r=(t=zy(e,uW,"cNvPr"),null!=t?t:zy(e,cW,"cNvPr"));if(void 0===r)return{name:void 0,title:void 0,description:void 0,docPrId:void 0};var n=Uy(r,"","id"),i=void 0!==n&&/^\d+$/.test(n)?Number.parseInt(n,10):void 0,o=Uy(r,"","name"),a=Uy(r,"","title"),l=Uy(r,"","descr");return{name:void 0!==o&&o.length>0?o:void 0,title:void 0!==a&&a.length>0?a:void 0,description:void 0!==l&&l.length>0?l:void 0,docPrId:i}}function gb(e,t){var r,n=Gy(e),i=(r=zy(n,uW,"cNvPr"),null!=r?r:zy(n,cW,"cNvPr"));return void 0===i?n:(hb(i,t),n)}function bb(e){return EW.has(e)}function wb(e){return LW.has(e)}function Pb(e){return RW.has(e)}function Sb(e){return BW.has(e)}function xb(e){return _W.has(e)}function Cb(e){return e.children.filter(function(e){return"element"===e.kind})}function Ib(e,t,r){return e.namespaceUri===t&&e.localName===r}function Vb(e,t,r){var n,i;try{for(var o=VW(Cb(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(Ib(l,t,r))return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Tb(e,t,r){var n,i;if(Ib(e,t,r))return e;try{for(var o=VW(Cb(e)),a=o.next();!a.done;a=o.next()){var l=Tb(a.value,t,r);if(void 0!==l)return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function kb(e,t){var r;return r=e.attributes.find(function(e){return""===e.namespaceUri&&e.localName===t}),null==r?void 0:r.value}function Fb(e){if(void 0!==e)return"1"===e||"true"===e||"0"!==e&&"false"!==e&&void 0}function Db(e){if(void 0!==e&&/^-?\d+$/.test(e)){var t=Number.parseInt(e,10);if(Number.isFinite(t)&&!(t<0))return Hr(t)}}function Ob(e){if(void 0!==e){if(/^\d+%$/.test(e)){var t=Number.parseInt(e.slice(0,-1),10);if(!Number.isFinite(t))return;return 1e3*t}return/^\d+$/.test(e)?Number.parseInt(e,10):void 0}}function Nb(e){if(void 0!==Vb(e,lW,"noAutofit"))return{kind:"none"};if(void 0!==Vb(e,lW,"spAutoFit"))return{kind:"shape"};var t=Vb(e,lW,"normAutofit");if(void 0!==t){var r=Ob(kb(t,"fontScale")),n=Ob(kb(t,"lnSpcReduction")),i={kind:"normal"};return void 0!==r&&(i.fontScale=r),void 0!==n&&(i.lineSpaceReduction=n),i}}function Ab(e){return Tb(e,uW,"bodyPr")}function Eb(e){return Tb(e,uW,"txbx")}function Lb(e){var t,r,n=Eb(e);if(void 0!==n)try{for(var i=VW(Cb(n)),o=i.next();!o.done;o=i.next()){var a=o.value;if("txbxContent"===a.localName)return a}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}var l=function(e){var t,r;if("txbxContent"===e.localName)return e;try{for(var n=VW(Cb(e)),i=n.next();!i.done;i=n.next()){var o=i.value,a=l(o);if(void 0!==a)return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}};return l(e)}function Rb(e){var t=Ab(e);if(void 0===t)return{verticalAnchor:void 0,anchorCenter:void 0,textDirection:void 0,textWrapInside:void 0,verticalOverflow:void 0,horizontalOverflow:void 0,fromWordArt:void 0,insets:void 0,autoFit:void 0,hasPresetTextWarp:!1,residual:!1};var r,n=kb(t,"anchor"),i=kb(t,"vert"),o=kb(t,"wrap"),a=kb(t,"vertOverflow"),l=kb(t,"horzOverflow"),s=Db(kb(t,"lIns")),u=Db(kb(t,"tIns")),c=Db(kb(t,"rIns")),d=Db(kb(t,"bIns"));if(void 0!==s||void 0!==u||void 0!==c||void 0!==d){var h={};void 0!==s&&(h.left=s),void 0!==u&&(h.top=u),void 0!==c&&(h.right=c),void 0!==d&&(h.bottom=d),r=h}var f=void 0!==Vb(t,lW,"prstTxWarp"),p=void 0!==Vb(t,lW,"scene3d"),v=void 0!==Vb(t,lW,"sp3d"),m=void 0!==Vb(t,lW,"flatTx"),y=void 0!==Vb(t,lW,"extLst"),g=new Set(["anchor","anchorCtr","vert","wrap","vertOverflow","horzOverflow","fromWordArt","lIns","tIns","rIns","bIns"]),b=t.attributes.some(function(e){return""===e.namespaceUri&&!g.has(e.localName)});return{verticalAnchor:void 0!==n&&bb(n)?n:void 0,anchorCenter:Fb(kb(t,"anchorCtr")),textDirection:void 0!==i&&Sb(i)?i:void 0,textWrapInside:void 0!==o&&xb(o)?o:void 0,verticalOverflow:void 0!==a&&wb(a)?a:void 0,horizontalOverflow:void 0!==l&&Pb(l)?l:void 0,fromWordArt:Fb(kb(t,"fromWordArt")),insets:r,autoFit:Nb(t),hasPresetTextWarp:f,residual:f||p||v||m||y||b}}function Bb(e){return{kind:"element",namespaceUri:lW,localName:e,prefix:"a",attributes:[],namespaceDeclarations:[],children:[]}}function _b(e,t){var r=[];if(void 0!==e){if(!Number.isInteger(e)||e<NW||e>AW)throw new $N("content/invalid-shape","normAutofit fontScale "+String(e)+" outside ST_TextFontScalePercent range "+String(NW)+"…"+String(AW));r.push({namespaceUri:"",localName:"fontScale",prefix:"",value:String(e)})}if(void 0!==t){if(!Number.isInteger(t)||t<0)throw new $N("content/invalid-shape","normAutofit lnSpcReduction "+String(t)+" must be a non-negative integer");r.push({namespaceUri:"",localName:"lnSpcReduction",prefix:"",value:String(t)})}return{kind:"element",namespaceUri:lW,localName:"normAutofit",prefix:"a",attributes:r,namespaceDeclarations:[],children:[]}}function jb(e){return"none"===e.kind?Bb("noAutofit"):"shape"===e.kind?Bb("spAutoFit"):_b(e.fontScale,e.lineSpaceReduction)}function Mb(e){var t=_r(e);if(!Number.isInteger(t)||t<0)throw new $N("content/invalid-shape","bodyPr inset must be a non-negative point value convertible to EMU, got "+String(e));return String(t)}function zb(e){var t=[];if(void 0!==e.verticalAnchor){if(!bb(e.verticalAnchor))throw new $N("content/invalid-shape",'Invalid bodyPr anchor "'+String(e.verticalAnchor)+'"');t.push({namespaceUri:"",localName:"anchor",prefix:"",value:e.verticalAnchor})}if(void 0!==e.anchorCenter&&t.push({namespaceUri:"",localName:"anchorCtr",prefix:"",value:e.anchorCenter?"1":"0"}),void 0!==e.textDirection){if(!Sb(e.textDirection))throw new $N("content/invalid-shape",'Invalid bodyPr vert "'+String(e.textDirection)+'"');t.push({namespaceUri:"",localName:"vert",prefix:"",value:e.textDirection})}if(void 0!==e.textWrapInside){if(!xb(e.textWrapInside))throw new $N("content/invalid-shape",'Invalid bodyPr wrap "'+String(e.textWrapInside)+'" (schema: none|square only)');t.push({namespaceUri:"",localName:"wrap",prefix:"",value:e.textWrapInside})}if(void 0!==e.verticalOverflow){if(!wb(e.verticalOverflow))throw new $N("content/invalid-shape",'Invalid bodyPr vertOverflow "'+String(e.verticalOverflow)+'"');t.push({namespaceUri:"",localName:"vertOverflow",prefix:"",value:e.verticalOverflow})}if(void 0!==e.horizontalOverflow){if(!Pb(e.horizontalOverflow))throw new $N("content/invalid-shape",'Invalid bodyPr horzOverflow "'+String(e.horizontalOverflow)+'"');t.push({namespaceUri:"",localName:"horzOverflow",prefix:"",value:e.horizontalOverflow})}void 0!==e.fromWordArt&&t.push({namespaceUri:"",localName:"fromWordArt",prefix:"",value:e.fromWordArt?"1":"0"});var r=e.insets;void 0!==r&&(void 0!==r.left&&t.push({namespaceUri:"",localName:"lIns",prefix:"",value:Mb(r.left)}),void 0!==r.top&&t.push({namespaceUri:"",localName:"tIns",prefix:"",value:Mb(r.top)}),void 0!==r.right&&t.push({namespaceUri:"",localName:"rIns",prefix:"",value:Mb(r.right)}),void 0!==r.bottom&&t.push({namespaceUri:"",localName:"bIns",prefix:"",value:Mb(r.bottom)}));var n=[];return void 0!==e.autoFit&&n.push(jb(e.autoFit)),{kind:"element",namespaceUri:uW,localName:"bodyPr",prefix:"wps",attributes:t,namespaceDeclarations:[],children:n}}function Ub(e){return void 0!==e.verticalAnchor||void 0!==e.anchorCenter||void 0!==e.textDirection||void 0!==e.textWrapInside||void 0!==e.verticalOverflow||void 0!==e.horizontalOverflow||void 0!==e.fromWordArt||void 0!==e.insets||void 0!==e.autoFit}function Hb(){return{kind:"solid",srgb:pn(zW)}}function Wb(){var e=pn(WW);return{kind:XH.Solid,widthEmu:GW,srgbColor:e.length>0?e:"000000",alpha:void 0,dash:qW,cap:void 0,beginArrowType:void 0,beginArrowSize:void 0,endArrowType:void 0,endArrowSize:void 0,residual:!1}}function Gb(e){var t=Wb();return{kind:XH.Solid,widthEmu:void 0!==e&&void 0!==e.widthEmu?e.widthEmu:t.widthEmu,srgbColor:void 0!==e&&void 0!==e.srgbColor?e.srgbColor:t.srgbColor,alpha:void 0!==e?e.alpha:void 0,dash:void 0!==e&&void 0!==e.dash?e.dash:t.dash,cap:void 0!==e?e.cap:void 0,beginArrowType:void 0!==e?e.beginArrowType:void 0,beginArrowSize:void 0!==e?e.beginArrowSize:void 0,endArrowType:void 0!==e?e.endArrowType:void 0,endArrowSize:void 0!==e?e.endArrowSize:void 0,residual:!1}}function qb(){return{kind:XH.None,widthEmu:void 0,srgbColor:void 0,alpha:void 0,dash:void 0,cap:void 0,beginArrowType:void 0,beginArrowSize:void 0,endArrowType:void 0,endArrowSize:void 0,residual:!1}}function Xb(e){return void 0!==e&&e.kind===XH.Solid?e:Gb(e)}function Yb(e){return e.children.filter(function(e){return"element"===e.kind})}function Zb(e,t,r){return e.namespaceUri===t&&e.localName===r}function Kb(){return[{type:"paragraph",paragraph:new GR(void 0)}]}function Jb(e){return{kind:"element",namespaceUri:e.namespaceUri,localName:e.localName,prefix:e.prefix,attributes:e.attributes.map(function(e){return JW({},e)}),namespaceDeclarations:e.namespaceDeclarations.map(function(e){return JW({},e)}),children:e.children.map(function(e){return"element"===e.kind?Jb(e):{kind:"text",value:e.value}})}}function $b(e){var t,r,n,i,o,a;if(e.namespaceUri===cW&&("wgp"===e.localName||"grpSp"===e.localName))return e;if(e.namespaceUri===dW&&"wpc"===e.localName)return e;var l=(n=cb(e),null!=n?n:ut(e,"drawing")?e:void 0);if(void 0===l){var s=(i=zy(e,cW,"wgp"),null!=i?i:zy(e,cW,"grpSp"));return void 0!==s?s:zy(e,dW,"wpc")}var u=zy(l,lW,"graphicData");if(void 0!==u)try{for(var c=$W(Yb(u)),d=c.next();!d.done;d=c.next()){var h=d.value;if(h.namespaceUri===cW&&("wgp"===h.localName||"grpSp"===h.localName)||h.namespaceUri===dW&&"wpc"===h.localName)return h}}catch(e){t={error:e}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}return o=zy(l,cW,"wgp"),a=null!=o?o:zy(l,cW,"grpSp"),null!=a?a:zy(l,dW,"wpc")}function Qb(e){var t=zy(e,lW,"graphicData");if(void 0===t)return"unknown";var r=Uy(t,"","uri");if(r===uW){var n=zy(t,uW,"wsp");return void 0!==n?Yb(n).some(function(e){return Zb(e,uW,"txbx")})||Yb(n).some(function(e){return Zb(e,uW,"linkedTxbx")})?"textBox":"shape":"unknown"}return r===cW?"group":r===dW?"canvas":"unknown"}function ew(e){var t,r,n,i,o,a;if(e.namespaceUri===QE&&"AlternateContent"===e.localName){try{for(var l=$W(Yb(e)),s=l.next();!s.done;s=l.next())if((f=s.value).namespaceUri===QE&&"Fallback"===f.localName)try{for(var u=$W(Yb(f)),c=u.next();!c.done;c=u.next())if(ut(c.value,"pict"))return!0}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return!1}try{for(var d=$W(Yb(e)),h=d.next();!h.done;h=d.next()){var f=h.value;if(ew(f))return!0}}catch(e){o={error:e}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}return!1}function tw(e){var t,r;try{for(var n=$W(Yb(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.namespaceUri===hW){if("group"===o.localName)return"group";if("shape"===o.localName||"rect"===o.localName||"oval"===o.localName||"roundrect"===o.localName)return Yb(o).some(function(e){return Zb(e,hW,"textbox")})?"textBox":"shape"}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return"unknown"}function rw(e){var t=new Set;return nw(e,t),eG(t)}function nw(e,t){var r,n,i,o;try{for(var a=$W(e.attributes),l=a.next();!l.done;l=a.next()){var s=l.value;s.namespaceUri===sW&&("embed"===s.localName||"link"===s.localName)&&s.value.length>0&&t.add(s.value)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}try{for(var u=$W(Yb(e)),c=u.next();!c.done;c=u.next())nw(c.value,t)}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}function iw(e){var t={placement:e.placement,widthEmu:e.widthEmu,heightEmu:e.heightEmu,presetGeometry:e.presetGeometry,docPrId:e.docPrId,name:e.name,title:e.title,description:e.description};return void 0!==e.rotation&&(t.rotation=e.rotation),void 0!==e.flipHorizontal&&(t.flipHorizontal=e.flipHorizontal),void 0!==e.flipVertical&&(t.flipVertical=e.flipVertical),void 0!==e.lockAspectRatio&&(t.lockAspectRatio=e.lockAspectRatio),void 0!==e.wrapping&&(t.wrapping=e.wrapping),void 0!==e.wrapType&&(t.wrapType=e.wrapType),void 0!==e.distanceTopEmu&&(t.distanceTopEmu=e.distanceTopEmu),void 0!==e.distanceBottomEmu&&(t.distanceBottomEmu=e.distanceBottomEmu),void 0!==e.distanceLeftEmu&&(t.distanceLeftEmu=e.distanceLeftEmu),void 0!==e.distanceRightEmu&&(t.distanceRightEmu=e.distanceRightEmu),void 0!==e.behindDocument&&(t.behindDocument=e.behindDocument),void 0!==e.horizontalOrigin&&(t.horizontalOrigin=e.horizontalOrigin),void 0!==e.verticalOrigin&&(t.verticalOrigin=e.verticalOrigin),void 0!==e.horizontalPositionEmu&&(t.horizontalPositionEmu=e.horizontalPositionEmu),void 0!==e.verticalPositionEmu&&(t.verticalPositionEmu=e.verticalPositionEmu),void 0!==e.horizontalAlignment&&(t.horizontalAlignment=e.horizontalAlignment),void 0!==e.verticalAlignment&&(t.verticalAlignment=e.verticalAlignment),void 0!==e.lockAnchor&&(t.lockAnchor=e.lockAnchor),void 0!==e.horizontalModeled&&(t.horizontalModeled=e.horizontalModeled),void 0!==e.verticalModeled&&(t.verticalModeled=e.verticalModeled),void 0!==e.allowOverlap&&(t.allowOverlap=e.allowOverlap),void 0!==e.layoutInCell&&(t.layoutInCell=e.layoutInCell),void 0!==e.preservedHost&&(t.preservedHost=e.preservedHost),void 0!==e.layoutDirty&&(t.layoutDirty=e.layoutDirty),void 0!==e.txbxContent&&(t.txbxContent=e.txbxContent),void 0!==e.bodyPr&&(t.bodyPr=e.bodyPr),void 0!==e.fill&&(t.fill=e.fill),void 0!==e.line&&(t.line=e.line),t}function ow(e){var t={placement:e.placement,widthEmu:e.widthEmu,heightEmu:e.heightEmu,docPrId:e.docPrId,name:e.name,children:e.children};return void 0!==e.title&&(t.title=e.title),void 0!==e.description&&(t.description=e.description),void 0!==e.rotation&&(t.rotation=e.rotation),void 0!==e.flipHorizontal&&(t.flipHorizontal=e.flipHorizontal),void 0!==e.flipVertical&&(t.flipVertical=e.flipVertical),void 0!==e.lockAspectRatio&&(t.lockAspectRatio=e.lockAspectRatio),void 0!==e.wrapping&&(t.wrapping=e.wrapping),void 0!==e.distanceTopEmu&&(t.distanceTopEmu=e.distanceTopEmu),void 0!==e.distanceBottomEmu&&(t.distanceBottomEmu=e.distanceBottomEmu),void 0!==e.distanceLeftEmu&&(t.distanceLeftEmu=e.distanceLeftEmu),void 0!==e.distanceRightEmu&&(t.distanceRightEmu=e.distanceRightEmu),void 0!==e.behindDocument&&(t.behindDocument=e.behindDocument),void 0!==e.horizontalOrigin&&(t.horizontalOrigin=e.horizontalOrigin),void 0!==e.verticalOrigin&&(t.verticalOrigin=e.verticalOrigin),void 0!==e.horizontalPositionEmu&&(t.horizontalPositionEmu=e.horizontalPositionEmu),void 0!==e.verticalPositionEmu&&(t.verticalPositionEmu=e.verticalPositionEmu),void 0!==e.horizontalAlignment&&(t.horizontalAlignment=e.horizontalAlignment),void 0!==e.verticalAlignment&&(t.verticalAlignment=e.verticalAlignment),void 0!==e.lockAnchor&&(t.lockAnchor=e.lockAnchor),void 0!==e.horizontalModeled&&(t.horizontalModeled=e.horizontalModeled),void 0!==e.verticalModeled&&(t.verticalModeled=e.verticalModeled),void 0!==e.allowOverlap&&(t.allowOverlap=e.allowOverlap),void 0!==e.layoutInCell&&(t.layoutInCell=e.layoutInCell),void 0!==e.preservedHost&&(t.preservedHost=e.preservedHost),void 0!==e.layoutDirty&&(t.layoutDirty=e.layoutDirty),t}function aw(e){var t={encoding:e.encoding,residual:e.residual,dirty:e.dirty};return void 0!==e.name&&(t.name=e.name),void 0!==e.title&&(t.title=e.title),void 0!==e.description&&(t.description=e.description),void 0!==e.docPrId&&(t.docPrId=e.docPrId),void 0!==e.placement&&(t.placement=e.placement),void 0!==e.width&&(t.width=e.width),void 0!==e.height&&(t.height=e.height),void 0!==e.presetGeometry&&(t.presetGeometry=e.presetGeometry),void 0!==e.rotation&&(t.rotation=e.rotation),void 0!==e.lockAspectRatio&&(t.lockAspectRatio=e.lockAspectRatio),void 0!==e.flipHorizontal&&(t.flipHorizontal=e.flipHorizontal),void 0!==e.flipVertical&&(t.flipVertical=e.flipVertical),void 0!==e.wrapping&&(t.wrapping=e.wrapping),void 0!==e.wrapType&&(t.wrapType=e.wrapType),void 0!==e.distanceTop&&(t.distanceTop=e.distanceTop),void 0!==e.distanceBottom&&(t.distanceBottom=e.distanceBottom),void 0!==e.distanceLeft&&(t.distanceLeft=e.distanceLeft),void 0!==e.distanceRight&&(t.distanceRight=e.distanceRight),void 0!==e.behindDocument&&(t.behindDocument=e.behindDocument),void 0!==e.horizontalOrigin&&(t.horizontalOrigin=e.horizontalOrigin),void 0!==e.verticalOrigin&&(t.verticalOrigin=e.verticalOrigin),void 0!==e.horizontalPosition&&(t.horizontalPosition=e.horizontalPosition),void 0!==e.verticalPosition&&(t.verticalPosition=e.verticalPosition),void 0!==e.horizontalAlignment&&(t.horizontalAlignment=e.horizontalAlignment),void 0!==e.verticalAlignment&&(t.verticalAlignment=e.verticalAlignment),void 0!==e.lockAnchor&&(t.lockAnchor=e.lockAnchor),void 0!==e.allowOverlap&&(t.allowOverlap=e.allowOverlap),void 0!==e.layoutInCell&&(t.layoutInCell=e.layoutInCell),void 0!==e.txbxContent&&(t.txbxContent=e.txbxContent),void 0!==e.bodyPrElement&&(t.bodyPrElement=e.bodyPrElement),void 0!==e.fill&&(t.fill=e.fill),void 0!==e.line&&(t.line=e.line),void 0!==e.children&&(t.children=e.children),t}function lw(e){if(void 0!==e){if("none"===e.kind)return{kind:"none"};if("solid"===e.kind){var t={kind:"solid",srgb:e.srgb};return void 0!==e.alpha&&(t.alpha=e.alpha),t}throw new RangeError('Fill kind "'+String(e.kind)+'" cannot be authored; use solid or none')}}function sw(e){if(void 0!==e){if("none"===e.kind){t={kind:"none"};return void 0!==e.widthEmu&&(t.widthEmu=e.widthEmu),void 0!==e.cap&&(t.cap=e.cap),t}if("solid"===e.kind){if(void 0===e.srgbColor)throw new RangeError("Solid line requires an sRGB color");var t={kind:"solid",srgb:e.srgbColor};return void 0!==e.widthEmu&&(t.widthEmu=e.widthEmu),void 0!==e.dash&&(t.dash=e.dash),void 0!==e.cap&&(t.cap=e.cap),void 0!==e.beginArrowType&&(t.beginArrowType=e.beginArrowType),void 0!==e.beginArrowSize&&(t.beginArrowSize=e.beginArrowSize),void 0!==e.endArrowType&&(t.endArrowType=e.endArrowType),void 0!==e.endArrowSize&&(t.endArrowSize=e.endArrowSize),void 0!==e.alpha&&(t.alpha=e.alpha),t}throw new RangeError('Line kind "'+String(e.kind)+'" cannot be authored; use solid or none')}}function uw(e){if(!ut(e,"drawing"))return!1;if(void 0===zy(e,aW,"inline"))return!1;var t=zy(e,lW,"blip");if(void 0===t)return!1;var r=Uy(t,sW,"embed");return void 0!==r&&r.length>0}function cw(e){var t=zy(e,lW,"graphicData");return void 0!==t&&Uy(t,"","uri")===PW||void 0!==zy(e,SW,"contentPart")}function dw(e){var t=zy(e,lW,"graphicData");if(void 0===t)return!1;var r=Uy(t,"","uri");return r===yW||r===gW}function hw(e){var t=zy(e,lW,"graphicData");if(void 0===t)return!1;var r=Uy(t,"","uri");return r===bW||r===wW}function fw(e){return uw(e)||cw(e)||dw(e)||hw(e)}function pw(e){if(ut(e,"drawing")&&!fw(e))return kw("drawingml",e)}function vw(e){if(ut(e,"pict"))return kw("vml",e)}function mw(e){if(e.namespaceUri===QE&&"AlternateContent"===e.localName){var t=cb(e);if(void 0!==t&&!fw(t))return kw("drawingml",e)}}function yw(e){var t,r,n=[];try{for(var i=tG(e),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof hG?n.push(a):a instanceof RR&&a.featureId===CW&&a.value instanceof hG&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function gw(e){var t,r,n=0;try{for(var i=tG(Cw(e)),o=i.next();!o.done;o=i.next()){var a=db(o.value.toOpenXml()).docPrId;void 0!==a&&a>n&&(n=a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function bw(e){return gw(e.owningDocument())+1}function ww(){iG=!1}function Pw(){iG||(iG=!0,je({id:CW}),bt({featureId:CW,wmlLocalName:"drawing",tryParse:pw}),bt({featureId:CW,wmlLocalName:"pict",tryParse:vw}),bt({featureId:CW,wmlLocalName:"AlternateContent",namespaceUri:QE,tryParse:mw}))}function Sw(e){return e instanceof hG||e instanceof RR&&e.featureId===CW&&e.value instanceof hG}function xw(e){return yw(e.items.toArray())}function Cw(e){var t,r,n=[];try{for(var i=tG(e.listBlocks()),o=i.next();!o.done;o=i.next()){var a=o.value;"paragraph"===a.type&&n.push.apply(n,nG(xw(a.paragraph)))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function Iw(e,t){var r,n;try{for(var i=lG(e),o=i.next();!o.done;o=i.next()){var a=o.value;if("paragraph"===a.type&&a.paragraph===t)return!0;if(Zm(a)&&Tw(a.value,t))return!0;if(xu(a)){var l=a.value.blockContentControl;if(void 0!==l&&Vw(l,t))return!0}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1}function Vw(e,t){var r,n;try{for(var i=lG(e),o=i.next();!o.done;o=i.next()){var a=o.value;if(a instanceof GR&&a===t)return!0;if(Km(a)&&Tw(a,t))return!0;if(a instanceof f_){var l=a.blockContentControl;if(void 0!==l&&Vw(l,t))return!0}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1}function Tw(e,t){var r,n,i,o,a,l,s,u;try{for(var c=lG(e.rows.toArray()),d=c.next();!d.done;d=c.next()){var h=d.value;try{for(var f=lG(h.cells.toArray()),p=f.next();!p.done;p=f.next()){var v=p.value;try{for(var m=lG(v.listParagraphs()),y=m.next();!y.done;y=m.next())if(y.value===t)return!0}catch(e){a={error:e}}finally{try{y&&!y.done&&(l=m.return)&&l.call(m)}finally{if(a)throw a.error}}try{for(var g=lG(v.nestedTables),b=g.next();!b.done;b=g.next())if(Tw(b.value,t))return!0}catch(e){s={error:e}}finally{try{b&&!b.done&&(u=g.return)&&u.call(g)}finally{if(s)throw s.error}}}}catch(e){i={error:e}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return!1}function kw(e,t){var r;if("vml"===e)return new fG(e,t);if(mb(t))return"grpSp"===t.localName?new pG(e,t):new fG(e,t);var n=(r=cb(t),null!=r?r:ut(t,"drawing")?t:void 0);if(void 0!==n){var i=Qb(n);if("group"===i||"canvas"===i)return new pG(e,t)}return new fG(e,t)}function Fw(e){var t;if(void 0!==e.children)return new pG(e);if("vml"===e.encoding)return new fG(e);if(mb(e.residual))return"grpSp"===e.residual.localName?new pG(e):new fG(e);var r=(t=cb(e.residual),null!=t?t:ut(e.residual,"drawing")?e.residual:void 0);if(void 0!==r){var n=Qb(r);if("group"===n||"canvas"===n)return new pG(e)}return new fG(e)}function Dw(e){return e instanceof fG}function Ow(e){return e instanceof pG}function Nw(e,t,r,n){if(!vy(t))throw new $N("content/invalid-shape",'Invalid autoShapeType "'+String(t)+'"; expected a preset AutoShapeType token');var i,o;try{i=Br(r),o=Br(n)}catch(e){if(e instanceof RangeError)throw new $N("content/invalid-shape","Shape width and height must be positive point values",{cause:e});throw e}if(!(i>0&&o>0))throw new $N("content/invalid-shape","Shape width and height must be positive point values");var a=$U.None,l=bw(e),s=vG,u=vG,c=Hb(),d=Wb(),h=lw(c),f=sw(d),p=sb(iw({placement:"anchor",widthEmu:i,heightEmu:o,presetGeometry:t,docPrId:l,name:"Shape",title:void 0,description:void 0,rotation:0,flipHorizontal:!1,flipVertical:!1,lockAspectRatio:!0,wrapping:a,distanceTopEmu:_r(0),distanceBottomEmu:_r(0),distanceLeftEmu:xW,distanceRightEmu:xW,behindDocument:!1,lockAnchor:!1,allowOverlap:!0,layoutInCell:!0,layoutDirty:!0,txbxContent:void 0,bodyPr:void 0,fill:h,line:f})),v=new fG(aw({encoding:"drawingml",residual:p,dirty:"structure",name:"Shape",title:void 0,description:void 0,docPrId:l,placement:"anchor",width:r,height:n,presetGeometry:t,rotation:0,lockAspectRatio:!0,flipHorizontal:!1,flipVertical:!1,wrapping:a,distanceTop:0,distanceBottom:0,distanceLeft:s,distanceRight:u,behindDocument:!1,lockAnchor:!1,allowOverlap:!0,layoutInCell:!0,txbxContent:void 0,bodyPrElement:void 0,fill:c,line:d}));return e.appendFeatureRunItem(CW,v),v.bindAnchoringParagraph(e),v}function Aw(e,t){var r,n;try{r=Br(t.width),n=Br(t.height)}catch(e){if(e instanceof RangeError)throw new $N("content/invalid-shape","Group width and height must be positive point values",{cause:e});throw e}if(!(r>0&&n>0))throw new $N("content/invalid-shape","Group width and height must be positive point values");var i=null!=t.placement?t.placement:"anchor";if("inline"!==i&&"anchor"!==i)throw new $N("content/invalid-shape",'Invalid placement "'+i+"\"; expected 'inline' or 'anchor'");var o=i,a=t.wrappingStyle;void 0!==a?(cy("wrappingStyle",a,mH),o=a===$U.Inline?"inline":"anchor"):a="inline"===o?$U.Inline:$U.None;var l=bw(e),s=null!=t.name?t.name:"Group",u=null!=t.rotation?t.rotation:0;if(!Number.isFinite(u))throw new $N("content/invalid-shape","Group rotation must be a finite number of degrees");var c=null==t.lockAspectRatio||t.lockAspectRatio,d=null!=t.flipHorizontal&&t.flipHorizontal,h=null!=t.flipVertical&&t.flipVertical,f=void 0!==t.distanceTop?_r(t.distanceTop):void 0,p=void 0!==t.distanceBottom?_r(t.distanceBottom):void 0,v=void 0!==t.distanceLeft?_r(t.distanceLeft):void 0,m=void 0!==t.distanceRight?_r(t.distanceRight):void 0,y=t.behindDocument,g=t.horizontalOrigin,b=t.verticalOrigin,w=void 0!==t.horizontalPosition?_r(t.horizontalPosition):void 0,P=void 0!==t.verticalPosition?_r(t.verticalPosition):void 0,S=t.horizontalAlignment,x=t.verticalAlignment;void 0!==S&&cy("horizontalAlignment",S,bH),void 0!==x&&cy("verticalAlignment",x,PH),void 0!==g&&cy("horizontalOrigin",g,yH),void 0!==b&&cy("verticalOrigin",b,gH);var C=void 0!==t.horizontalPosition?void 0:S,I=void 0!==t.verticalPosition?void 0:x,V=t.lockAnchor,T=t.allowOverlap,k=t.layoutInCell,F=ub(ow({placement:o,widthEmu:r,heightEmu:n,docPrId:l,name:s,title:t.title,description:t.description,rotation:u,flipHorizontal:d,flipVertical:h,lockAspectRatio:c,wrapping:a,distanceTopEmu:f,distanceBottomEmu:p,distanceLeftEmu:v,distanceRightEmu:m,behindDocument:y,horizontalOrigin:g,verticalOrigin:b,horizontalPositionEmu:w,verticalPositionEmu:P,horizontalAlignment:C,verticalAlignment:I,lockAnchor:V,allowOverlap:T,layoutInCell:k,layoutDirty:!0,children:[]})),D=new pG(aw({encoding:"drawingml",residual:F,dirty:"structure",name:s,title:t.title,description:t.description,docPrId:l,placement:o,width:t.width,height:t.height,rotation:u,lockAspectRatio:c,flipHorizontal:d,flipVertical:h,wrapping:a,distanceTop:t.distanceTop,distanceBottom:t.distanceBottom,distanceLeft:t.distanceLeft,distanceRight:t.distanceRight,behindDocument:y,horizontalOrigin:g,verticalOrigin:b,horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalAlignment:C,verticalAlignment:I,lockAnchor:V,allowOverlap:T,layoutInCell:k,children:[]}));return e.appendFeatureRunItem(CW,D),D.bindAnchoringParagraph(e),D}function Ew(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)}),null==r?void 0:r.value}function Lw(e){return"w"===e.prefix||""===e.namespaceUri||e.namespaceUri.indexOf("wordprocessingml")>=0}function Rw(e,t){return e.attributes.filter(function(e){return("space"!==e.localName||"xml"!==e.prefix)&&(!Lw(e)||-1===xG.indexOf(e.localName)||!t.has(e.localName))})}function Bw(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}function _w(e){if(void 0!==e)return SG.find(function(t){return t===e})}function jw(e){if(void 0!==e)return PG.find(function(t){return t===e})}function Mw(e){return Bw(e)}function zw(e,t){var r=Uw(e,t.startMarker),n=Uw(e,t.endMarker);return void 0!==r&&void 0!==n&&"inline"===r.kind&&"inline"===n.kind&&r.paragraph===n.paragraph}function Uw(e,t){for(var r=e.listBlocks(),n=0;n<r.length;n+=1){var i=r[n];if(void 0!==i&&("feature"===i.type&&i.value===t))return{kind:"block",document:e,index:n}}var o;return Mt(e,function(e){if(void 0===o)for(var r=e.items.toArray(),n=0;n<r.length;n+=1){var i=r[n];if(void 0!==i&&i instanceof _R&&i.value===t)return void(o={kind:"inline",paragraph:e,index:n})}}),o}function Hw(e,t){if("inline"===e.kind)return void e.paragraph.removeFeatureInline(t);var r=e.document.listBlocks()[e.index];if(void 0===r||"feature"!==r.type||r.value!==t)throw new iA("Editable-range marker is no longer in this document");e.document.removeBlockAt(e.index)}function Ww(e,t){var r;return new CG((r=null==t?void 0:t.rangeId,null!=r?r:e.rangeId),{editorGroup:e.editorGroup,editor:e.editor,columnFirst:e.columnFirst,columnLast:e.columnLast,displacedByCustomXml:e.displacedByCustomXml,residualAttributes:e.residualAttributes()})}function Gw(e,t){var r;return new IG((r=null==t?void 0:t.rangeId,null!=r?r:e.rangeId),{displacedByCustomXml:e.displacedByCustomXml,residualAttributes:e.residualAttributes()})}function qw(e,t){var r=cP(e);return{start:Ww(t.startMarker,{rangeId:r}),end:Gw(t.endMarker,{rangeId:r})}}function Xw(e,t){var r=Uw(e,t.startMarker),n=Uw(e,t.endMarker);if(void 0===r||void 0===n)throw new $N("content/unknown-editable-range","Editable range markers are not in this document");if(Yw(r)>Yw(n)){Hw(r,t.startMarker);var i=Uw(e,t.endMarker);if(void 0===i)throw new $N("content/unknown-editable-range","Editable range end marker is not in this document");Hw(i,t.endMarker)}else{Hw(n,t.endMarker);var o=Uw(e,t.startMarker);if(void 0===o)throw new $N("content/unknown-editable-range","Editable range start marker is not in this document");Hw(o,t.startMarker)}TG.delete(t.startMarker)}function Yw(e){if("block"===e.kind)return 1e6*e.index;for(var t=e.paragraph.owningDocument().listBlocks(),r=0,n=0;n<t.length;n+=1){var i=t[n];if(void 0!==i&&"paragraph"===i.type&&i.paragraph===e.paragraph){r=n;break}}return 1e6*r+e.index}function Zw(e,t,r,n){var i=Uw(e,t);if(void 0===i)throw new $N("content/unknown-editable-range","Editable-range marker is not in this document");if(r.owningDocument()!==e)throw new $N("content/invalid-editable-range","Target paragraph is not in this document");Hw(i,t);var o=n;if("inline"===i.kind&&i.paragraph===r&&n>i.index&&(o=n-1),o<0||o>r.items.length)throw new RangeError("Feature inline index "+String(o)+" is out of range");r.insertFeatureInlineAt(o,bG,t)}function Kw(e){var t,r,n,i,o=e.owningDocument(),a=e.items.toArray(),l=new Map,s=new Set;rP(o,function(e){s.add(e)});try{for(var u=gG(a),c=u.next();!c.done;c=u.next())if((p=c.value)instanceof _R&&(p.value instanceof CG||p.value instanceof IG)){var d=p.value.rangeId;l.has(d)||l.set(d,function(){for(var e=-1;s.has(e);)e-=1;return s.add(e),e}())}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}try{for(var h=gG(a),f=h.next();!f.done;f=h.next()){var p=f.value;if(p instanceof _R&&(p.value instanceof CG||p.value instanceof IG)){var v=l.get(p.value.rangeId);void 0!==v&&p.value.setRangeId(v)}}}catch(e){n={error:e}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}function Jw(e,t){var r,n,i=new Map,o=new Set;rP(e,function(e){o.add(e)});var a=t.items.toArray();try{for(var l=gG(a),s=l.next();!s.done;s=l.next())(d=s.value)instanceof _R&&(d.value instanceof CG||d.value instanceof IG)&&(i.has(d.value.rangeId)||i.set(d.value.rangeId,function(){for(var e=-1;o.has(e);)e-=1;return o.add(e),e}()))}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}for(var u=[],c=0;c<a.length;c+=1){var d=a[c];if(void 0!==d&&d instanceof _R){var h=i.get(d.value instanceof CG||d.value instanceof IG?d.value.rangeId:Number.NaN);void 0!==h&&(d.value instanceof CG?u.push({index:c,marker:Ww(d.value,{rangeId:h})}):d.value instanceof IG&&u.push({index:c,marker:Gw(d.value,{rangeId:h})}))}}return{markers:u}}function $w(e){if(ut(e,"permStart")){var t=Bw(Ew(e,"id"));if(void 0!==t){var r=new Set(["id"]),n=Ew(e,"edGrp"),i=jw(n);void 0!==n&&void 0!==i&&r.add("edGrp");var o=Ew(e,"ed");void 0!==o&&r.add("ed");var a=Ew(e,"colFirst"),l=Mw(a);void 0!==a&&void 0!==l&&r.add("colFirst");var s=Ew(e,"colLast"),u=Mw(s);void 0!==s&&void 0!==u&&r.add("colLast");var c=Ew(e,"displacedByCustomXml"),d=_w(c);return void 0!==c&&void 0!==d&&r.add("displacedByCustomXml"),new CG(t,{editorGroup:i,editor:o,columnFirst:l,columnLast:u,displacedByCustomXml:d,residualAttributes:Rw(e,r)})}}}function Qw(e){if(ut(e,"permEnd")){var t=Bw(Ew(e,"id"));if(void 0!==t){var r=new Set(["id"]),n=Ew(e,"displacedByCustomXml"),i=_w(n);return void 0!==n&&void 0!==i&&r.add("displacedByCustomXml"),new IG(t,{displacedByCustomXml:i,residualAttributes:Rw(e,r)})}}}function eP(e){var t,r,n=[],i=new Set,o=function(e){i.has(e)||(i.add(e),n.push(e))},a=function(e){var t,r;try{for(var n=gG(e.items),i=n.next();!i.done;i=n.next()){var a=i.value;a instanceof _R&&((a.value instanceof CG||a.value instanceof IG)&&o(a.value))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},l=new Set;try{for(var s=gG(e.listBlocks()),u=s.next();!u.done;u=s.next()){var c=u.value;"paragraph"!==c.type?"feature"===c.type&&(c.value instanceof CG||c.value instanceof IG)&&o(c.value):(l.add(c.paragraph),a(c.paragraph))}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return Mt(e,function(e){l.has(e)||a(e)}),n}function tP(e,t){var r,n;try{for(var i=gG(eP(e)),o=i.next();!o.done;o=i.next())t(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function rP(e,t){tP(e,function(e){t(e.rangeId)})}function nP(e,t){var r=TG.get(e);return void 0!==r&&r.endMarker===t||(r=new VG(e,t),TG.set(e,r)),r}function iP(e){for(var t=new Set,r=[],n=0;n<e.length;n+=1){var i=e[n];if(i instanceof CG)for(var o=i,a=n+1;a<e.length;a+=1){var l=e[a];if(l instanceof IG&&(l.rangeId===o.rangeId&&!t.has(l))){t.add(l);var s=TG.get(o);void 0!==s&&s.endMarker===l||(s=new VG(o,l),TG.set(o,s)),r.push(s);break}}}return r}function oP(e){return iP(eP(e))}function aP(e){return oP(e.owningDocument()).filter(function(t){var r,n;try{for(var i=gG(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;if(a instanceof _R&&a.value===t.startMarker)return!0}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1})}function lP(e,t){var r,n;try{for(var i=gG(oP(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.rangeId===t)return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function sP(e){return eP(e)}function uP(e){var t=new Map,r=0;rP(e,function(e){e>=0&&e>=r&&(r=e+1)}),tP(e,function(e){if(e.isPendingRangeId()){var n=e.rangeId,i=t.get(n);void 0===i&&(i=r,r+=1,t.set(n,i)),e.setRangeId(i)}})}function cP(e){var t=new Set;rP(e,function(e){t.add(e)});for(var r=-1;t.has(r);)r-=1;return r}function dP(e){var t=0;return rP(e,function(e){e>=0&&e>=t&&(t=e+1)}),t}function hP(){kG=!1}function fP(){kG||(kG=!0,je({id:bG}),Ct({featureId:bG,wmlLocalName:"permStart",tryParse:function(e){return $w(e)}}),Ct({featureId:bG,wmlLocalName:"permEnd",tryParse:function(e){return Qw(e)}}),We({featureId:bG,wmlLocalName:"permStart",tryParse:function(e){return $w(e)}}),We({featureId:bG,wmlLocalName:"permEnd",tryParse:function(e){return Qw(e)}}),_t({featureId:bG,materialize:function(e){uP(e)}}))}function pP(e){return e instanceof _R&&e.featureId===bG&&e.value instanceof CG}function vP(e){return e instanceof _R&&e.featureId===bG&&e.value instanceof IG}function mP(e,t,r){var n=e.items.length;if(!Number.isInteger(t)||!Number.isInteger(r)||t<0||r<t||r>n)throw new $N("content/invalid-editable-range","Editable range indices out of range: start="+String(t)+" end="+String(r)+" length="+String(n))}function yP(e,t){mP(e,t.startInlineIndex,t.endInlineIndex);var r=cP(e.owningDocument()),n=new CG(r,{editorGroup:t.editorGroup,editor:t.editor,columnFirst:t.columnFirst,columnLast:t.columnLast}),i=new IG(r);return e.insertFeatureInlineAt(t.startInlineIndex,bG,n),e.insertFeatureInlineAt(t.endInlineIndex+1,bG,i),nP(n,i)}function gP(e,t){for(var r=[],n=e.items.snapshot(),i=0,o=!1,a="instruction",l=0;l<n.length;l+=1){var s=n[l];if(s!==t){if(o)if(s instanceof _G)i+=1;else{if(s instanceof BG){if(s.fieldMarkType===RG.Separator){0===i&&(a="result");continue}if(s.fieldMarkType===RG.End){if(0===i){a="done";break}i-=1;continue}}"instruction"===a&&0===i&&s instanceof MR&&r.push(s)}}else o=!0,i=0,a="instruction"}return r}function bP(e,t){for(var r=[],n=e.items.snapshot(),i=0,o=!1,a="instruction",l=0;l<n.length;l+=1){var s=n[l];if(s!==t){if(o)if(s instanceof _G)i+=1;else{if(s instanceof BG){if(s.fieldMarkType===RG.Separator){0===i&&(a="result");continue}if(s.fieldMarkType===RG.End){if(0===i){a="done";break}i-=1;continue}}"result"===a&&0===i&&s instanceof MR&&r.push(s)}}else o=!0,i=0,a="instruction"}return r}function wP(e){var t,r,n="";try{for(var i=LG(e),o=i.next();!o.done;o=i.next())n+=o.value.text}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function PP(e){var t=xP(e),r=t[0];return{fieldName:t[1]||"",tokens:t,keyword:r}}function SP(e){var t=EG(e.tokens||[]);return t.length>0?t[0]="MERGEFIELD":t.push("MERGEFIELD"),t.length>1?t[1]=e.fieldName:t.push(e.fieldName)," "+t.join(" ")+" "}function xP(e){for(var t=[],r=e.trim(),n=0;n<r.length;){for(;n<r.length&&void 0!==(o=r[n])&&/\s/.test(o);)n+=1;if(n>=r.length)break;if('"'!==r[n]){for(var i="";n<r.length;){var o=r[n];if(void 0===o||/\s/.test(o)||'"'===o)break;i+=o,n+=1}i.length>0&&t.push(i)}else{n+=1;for(var a="";n<r.length&&void 0!==(o=r[n])&&'"'!==o;)a+=o,n+=1;n<r.length&&'"'===r[n]&&(n+=1),t.push(a)}}return t}function CP(e){DG=e}function IP(){if(void 0===DG)throw new $N("feature/not-registered","Picture caption authoring is not loaded; import @syncfusion/ej2-docx/images (or load captions authoring with fields and styles) before addCaption");return DG}function VP(e){CP(e)}function TP(){return IP()}function kP(e,t){if(t===HG.Arabic)return String(e);if(t===HG.UpperCaseRoman||t===HG.LowerCaseRoman){var r=FP(e);return t===HG.UpperCaseRoman?r:r.toLowerCase()}return DP(e,t===HG.UpperCaseLetter)}function FP(e){var t,r,n=e,i="";try{for(var o=zG(YG),a=o.next();!a.done;a=o.next())for(var l=UG(a.value,2),s=l[0],u=l[1];n>=s;)i+=u,n-=s}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}function DP(e,t){for(var r=e,n="";r>0;){var i=(r-1)%26+1;n=String.fromCharCode((t?64:96)+i)+n,r=Math.floor((r-1)/26)}return n}function OP(e,t){ZG.set(e,t)}function NP(e){return ZG.get(e)}function AP(e,t,r){if(!r.has(t)){if("format"===e)throw new $N("content/invalid-image-caption-format","Invalid "+e+' value "'+t+'"; expected one of: '+JG(r).join(", "));throw new $N("content/invalid-image-caption-position","Invalid "+e+' value "'+t+'"; expected one of: '+JG(r).join(", "))}}function EP(e,t){for(var r=e.listBlocks(),n=0;n<r.length;n+=1){var i=r[n];if(void 0!==i&&"paragraph"===i.type&&-1!==zS(i.paragraph).indexOf(t))return{paragraph:i.paragraph,blockIndex:n}}throw new iA("This picture is not attached to a paragraph in a document body; captions require a main-body picture paragraph")}function LP(e,t){var r=0;return Mt(e,function(e){var n,i,o;try{for(var a=$G(iC(e)),l=a.next();!l.done;l=a.next()){var s=l.value;"SEQ"===oC(s)&&((null!=(o=s.trim().split(/\s+/)[1])?o:"")===t&&(r+=1))}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}),r}function RP(e,t,r,n){if("string"!=typeof t||0===t.trim().length)throw new $N("content/invalid-image-caption-name","Caption name must be a non-empty string (not null, undefined, empty, or whitespace-only)");AP("format",String(r),qG),AP("position",String(n),XG);var i=NP(e);if(void 0===i)throw new iA("This picture is not attached to a document; attach it with paragraph.appendImage() before adding a caption");var o=EP(i,e).blockIndex,a=t.trim();mm(i).ensureParagraphStyle(QG);var l="SEQ "+a+" \\* "+GG[r],s=i.insertParagraphAtBlockIndex(n===WG.Above?o:o+1);s.styleId=QG;var u=s.paragraphFormat;return u.beforeSpacing=1.5,u.afterSpacing=12,u.horizontalAlignment=BL.Center,s.appendText(a+" "),nC(s,l,{result:kP(LP(i,a)+1,r)}),s}function BP(e,t,r,n){return RP(e,t,r,n)}function _P(e){return e.children.filter(function(e){return"element"===e.kind})}function jP(e,t,r){return e.namespaceUri===t&&e.localName===r}function MP(e,t,r){var n,i;if(jP(e,t,r))return e;try{for(var o=tq(_P(e)),a=o.next();!a.done;a=o.next()){var l=MP(a.value,t,r);if(void 0!==l)return l}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function zP(e,t,r){var n;return n=e.attributes.find(function(e){return e.namespaceUri===t&&e.localName===r}),null==n?void 0:n.value}function UP(e){var t,r,n="";try{for(var i=tq(e.children),o=i.next();!o.done;o=i.next()){var a=o.value;"text"===a.kind&&(n+=a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function HP(e,t,r,n){var i,o,a;return{kind:"element",namespaceUri:e,localName:r,prefix:t,attributes:(i=null==n?void 0:n.attributes,null!=i?i:[]),namespaceDeclarations:(o=null==n?void 0:n.namespaceDeclarations,null!=o?o:[]),children:(a=null==n?void 0:n.children,null!=a?a:[])}}function WP(e,t,r,n){return void 0===r&&(r=""),void 0===n&&(n=""),{namespaceUri:r,localName:e,prefix:n,value:t}}function GP(e){return{namespaceUri:oq,localName:"embed",prefix:"r",value:e}}function qP(e,t){return[WP("cx",String(e)),WP("cy",String(t))]}function XP(e){return"1"===e||"true"===e}function YP(e){var t=MP(e,nq,"xfrm");if(void 0===t)return{rotation:0,flipHorizontal:!1,flipVertical:!1};var r=zP(t,"","rot");return{rotation:void 0!==r&&/^-?\d+$/.test(r)?Number.parseInt(r,10)/aq:0,flipHorizontal:XP(zP(t,"","flipH")),flipVertical:XP(zP(t,"","flipV"))}}function ZP(e){var t,r;if(void 0!==e)try{for(var n=tq(_P(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(jP(o,nq,"hlinkClick")){var a=zP(o,oq,"id");if(void 0!==a&&a.length>0)return a}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function KP(e){var t,r=MP(e,rq,"docPr");if(void 0===r)return{name:"Picture",title:void 0,description:void 0,id:1,hyperlinkRelationshipId:void 0};var n=zP(r,"","id"),i=void 0!==n&&/^\d+$/.test(n)?Number.parseInt(n,10):1;return{name:(t=zP(r,"","name"),null!=t?t:"Picture"),title:zP(r,"","title"),description:zP(r,"","descr"),id:i,hyperlinkRelationshipId:ZP(r)}}function JP(e){var t=MP(e,nq,"graphicFrameLocks");return void 0!==t&&XP(zP(t,"","noChangeAspect"))}function $P(e){if(void 0!==e){var t=_P(e).find(function(e){return jP(e,rq,"posOffset")});if(void 0!==t){var r=UP(t).trim();if(/^-?\d+$/.test(r))return Hr(Number.parseInt(r,10))}}}function QP(e,t){if(void 0!==e){var r=_P(e).find(function(e){return jP(e,rq,"align")});if(void 0!==r){var n=UP(r).trim();return"h"===t?ay(n)?n:void 0:sy(n)?n:void 0}}}function eS(e,t){return t===JU.Inline?$U.Inline:void 0!==MP(e,rq,"wrapNone")?$U.None:void 0!==MP(e,rq,"wrapSquare")?$U.Square:void 0!==MP(e,rq,"wrapTight")?$U.Tight:void 0!==MP(e,rq,"wrapThrough")?$U.Through:void 0!==MP(e,rq,"wrapTopAndBottom")?$U.TopAndBottom:$U.None}function tS(e){var t;if(ut(e,"drawing")){var r=MP(e,nq,"blip");if(void 0!==r){var n=zP(r,oq,"embed");if(void 0!==n&&0!==n.length){var i=MP(e,rq,"inline"),o=MP(e,rq,"anchor"),a=null!=i?i:o;if(void 0!==a){var l=void 0!==i?JU.Inline:JU.Anchored,s=MP(a,rq,"extent");if(void 0!==s){var u=zP(s,"","cx"),c=zP(s,"","cy");if(void 0!==u&&void 0!==c&&/^\d+$/.test(u)&&/^\d+$/.test(c)&&"0"!==u&&"0"!==c){var d=MP(a,rq,"positionH"),h=MP(a,rq,"positionV"),f=void 0!==d?zP(d,"","relativeFrom"):void 0,p=void 0!==h?zP(h,"","relativeFrom"):void 0,v=(t=MP(e,iq,"pic"),null!=t?t:e),m=YP(v),y=KP(a),g=MP(v,iq,"cNvPr"),b=null!=y.hyperlinkRelationshipId?y.hyperlinkRelationshipId:ZP(g);return{placement:l,wrapping:eS(a,l),widthEmu:$r(Number.parseInt(u,10)),heightEmu:$r(Number.parseInt(c,10)),relationshipId:n,name:y.name,title:y.title,description:y.description,lockAspectRatio:JP(a),rotation:m.rotation,flipHorizontal:m.flipHorizontal,flipVertical:m.flipVertical,horizontalOrigin:void 0!==f&&iy(f)?f:void 0,verticalOrigin:void 0!==p&&oy(p)?p:void 0,horizontalPosition:$P(d),verticalPosition:$P(h),horizontalAlignment:QP(d,"h"),verticalAlignment:QP(h,"v"),docPrId:y.id,hyperlinkRelationshipId:b,preservedHost:e}}}}}}}}function rS(e){return HP(nq,"a","hlinkClick",{attributes:[WP("id",e,oq,"r")],children:[],namespaceDeclarations:[]})}function nS(e){var t=[WP("id",String(e.docPrId)),WP("name",e.name)];void 0!==e.description&&e.description.length>0&&t.push(WP("descr",e.description)),void 0!==e.title&&e.title.length>0&&t.push(WP("title",e.title));var r=[];return void 0!==e.hyperlinkRelationshipId&&e.hyperlinkRelationshipId.length>0&&r.push(rS(e.hyperlinkRelationshipId)),HP(rq,"wp","docPr",{attributes:t,children:r})}function iS(){return HP(rq,"wp","effectExtent",{attributes:[WP("l","0"),WP("t","0"),WP("r","0"),WP("b","0")]})}function oS(e){var t=e?[WP("noChangeAspect","1")]:[];return HP(rq,"wp","cNvGraphicFramePr",{children:[HP(nq,"a","graphicFrameLocks",{attributes:t})]})}function aS(e){var t=[];0!==e.rotation&&t.push(WP("rot",String(Math.round(e.rotation*aq)))),e.flipHorizontal&&t.push(WP("flipH","1")),e.flipVertical&&t.push(WP("flipV","1"));var r=HP(iq,"pic","blipFill",{children:[HP(nq,"a","blip",{attributes:[GP(e.relationshipId)]}),HP(nq,"a","stretch",{children:[HP(nq,"a","fillRect")]})]}),n=HP(iq,"pic","spPr",{children:[HP(nq,"a","xfrm",{attributes:t,children:[HP(nq,"a","off",{attributes:[WP("x","0"),WP("y","0")]}),HP(nq,"a","ext",{attributes:qP(e.widthEmu,e.heightEmu)})]}),HP(nq,"a","prstGeom",{attributes:[WP("prst","rect")],children:[HP(nq,"a","avLst")]})]});return HP(iq,"pic","pic",{namespaceDeclarations:[{prefix:"pic",namespaceUri:iq},{prefix:"a",namespaceUri:nq},{prefix:"r",namespaceUri:oq}],children:[HP(iq,"pic","nvPicPr",{children:[HP(iq,"pic","cNvPr",{attributes:[WP("id","0"),WP("name",e.name)],children:void 0!==e.hyperlinkRelationshipId&&e.hyperlinkRelationshipId.length>0?[rS(e.hyperlinkRelationshipId)]:[]}),HP(iq,"pic","cNvPicPr")]}),r,n]})}function lS(e){return HP(nq,"a","graphic",{children:[HP(nq,"a","graphicData",{attributes:[WP("uri",lq)],children:[aS(e)]})]})}function sS(e){var t,r=e.horizontalOrigin;if(void 0!==e.horizontalAlignment)t=HP(rq,"wp","align",{children:[{kind:"text",value:e.horizontalAlignment}]});else{var n=void 0!==e.horizontalPosition?_r(e.horizontalPosition):0;t=HP(rq,"wp","posOffset",{children:[{kind:"text",value:String(n)}]})}return HP(rq,"wp","positionH",{attributes:[WP("relativeFrom",r)],children:[t]})}function uS(e){var t,r=e.verticalOrigin;if(void 0!==e.verticalAlignment)t=HP(rq,"wp","align",{children:[{kind:"text",value:e.verticalAlignment}]});else{var n=void 0!==e.verticalPosition?_r(e.verticalPosition):0;t=HP(rq,"wp","posOffset",{children:[{kind:"text",value:String(n)}]})}return HP(rq,"wp","positionV",{attributes:[WP("relativeFrom",r)],children:[t]})}function cS(e,t){if(void 0!==t&&(e===$U.Tight&&"wrapTight"===t.localName||e===$U.Through&&"wrapThrough"===t.localName||e===$U.Square&&"wrapSquare"===t.localName||e===$U.None&&"wrapNone"===t.localName||e===$U.TopAndBottom&&"wrapTopAndBottom"===t.localName))return t;switch(e){case $U.None:return HP(rq,"wp","wrapNone");case $U.Square:return HP(rq,"wp","wrapSquare",{attributes:[WP("wrapText","bothSides")]});case $U.TopAndBottom:return HP(rq,"wp","wrapTopAndBottom");case $U.Tight:return void 0!==t&&"wrapTight"===t.localName?t:null!=t?t:HP(rq,"wp","wrapNone");case $U.Through:return void 0!==t&&"wrapThrough"===t.localName?t:null!=t?t:HP(rq,"wp","wrapNone");default:return HP(rq,"wp","wrapNone")}}function dS(e){var t,r;if(void 0!==e){try{for(var n=tq(["wrapNone","wrapSquare","wrapTight","wrapThrough","wrapTopAndBottom"]),i=n.next();!i.done;i=n.next()){var o=function(t){var r=_P(e).find(function(e){return jP(e,rq,t)});if(void 0!==r)return{value:r}}(i.value);if("object"==typeof o)return o.value}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}}function hS(e){if(void 0!==e)return _P(e).find(function(e){return jP(e,rq,"effectExtent")})}function fS(e,t){var r,n;if(void 0===e)return[];var i=[];try{for(var o=tq(t),a=o.next();!a.done;a=o.next()){var l=a.value,s=zP(e,"",l);void 0!==s&&i.push(WP(l,s))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function pS(e){var t,r=(t=hS(void 0!==e.preservedHost?MP(e.preservedHost,rq,"inline"):void 0),null!=t?t:iS());return HP(rq,"wp","inline",{namespaceDeclarations:[{prefix:"wp",namespaceUri:rq},{prefix:"a",namespaceUri:nq},{prefix:"pic",namespaceUri:iq},{prefix:"r",namespaceUri:oq}],attributes:[WP("distT","0"),WP("distB","0"),WP("distL","0"),WP("distR","0")],children:[HP(rq,"wp","extent",{attributes:qP(e.widthEmu,e.heightEmu)}),r,nS(e),oS(e.lockAspectRatio),lS(e)]})}function vS(e){var t,r,n,i,o,a=void 0!==e.preservedHost?MP(e.preservedHost,rq,"anchor"):void 0,l=[WP("distT","0"),WP("distB","0"),WP("distL","114300"),WP("distR","114300"),WP("simplePos","0"),WP("relativeHeight","251658240"),WP("behindDoc","0"),WP("locked","0"),WP("layoutInCell","1"),WP("allowOverlap","1")],s=fS(a,["distT","distB","distL","distR","simplePos","relativeHeight","behindDoc","locked","layoutInCell","allowOverlap","hidden"]),u=s.length>0?s:l,c=dS(a),d=(t=hS(a),null!=t?t:iS()),h=a?_P(a).find(function(e){return jP(e,rq,"simplePos")}):void 0;if(e.layoutDirty||void 0===a)r=null!=h?h:HP(rq,"wp","simplePos",{attributes:[WP("x","0"),WP("y","0")]}),n=sS(e),i=uS(e),o=cS(e.wrapping===$U.Inline?$U.None:e.wrapping,c);else{var f=_P(a).find(function(e){return jP(e,rq,"positionH")}),p=_P(a).find(function(e){return jP(e,rq,"positionV")});r=null!=h?h:HP(rq,"wp","simplePos",{attributes:[WP("x","0"),WP("y","0")]}),n=null!=f?f:HP(rq,"wp","positionH",{attributes:[WP("relativeFrom",QU.Column)],children:[HP(rq,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]}),i=null!=p?p:HP(rq,"wp","positionV",{attributes:[WP("relativeFrom",eH.Paragraph)],children:[HP(rq,"wp","posOffset",{children:[{kind:"text",value:"0"}]})]}),o=null!=c?c:HP(rq,"wp","wrapNone")}return HP(rq,"wp","anchor",{namespaceDeclarations:[{prefix:"wp",namespaceUri:rq},{prefix:"a",namespaceUri:nq},{prefix:"pic",namespaceUri:iq},{prefix:"r",namespaceUri:oq}],attributes:u,children:[r,n,i,HP(rq,"wp","extent",{attributes:qP(e.widthEmu,e.heightEmu)}),d,o,nS(e),oS(e.lockAspectRatio),lS(e)]})}function mS(e){if(0===e.relationshipId.length)throw new Error("encodePictureHost: relationship id is not materialized");return pt("drawing",{children:[e.placement===JU.Anchored||e.wrapping!==$U.Inline?vS(eq({},e,{placement:JU.Anchored,wrapping:e.wrapping===$U.Inline?$U.None:e.wrapping})):pS(e)]})}function yS(e){return e!==$U.Inline}function gS(e,t){var r,n,i;return((null!=e[t]?e[t]:0)<<24|(r=e[t+1],(null!=r?r:0)<<16)|(n=e[t+2],(null!=n?n:0)<<8)|(i=e[t+3],null!=i?i:0))>>>0}function bS(e){var t,r,n,i,o,a;if(e.length>=24&&137===e[0]&&80===e[1]&&78===e[2]&&71===e[3])return{width:gS(e,16),height:gS(e,20)};if(e.length>=4&&255===e[0]&&216===e[1])for(var l=2;l+9<e.length&&255===e[l];){var s=e[l+1];if(void 0===s)break;if(217===s||218===s)break;var u=(t=e[l+2],(null!=t?t:0)<<8|(r=e[l+3],null!=r?r:0));if(u<2)break;if(s>=192&&s<=207&&196!==s&&200!==s&&204!==s){var c=(n=e[l+5],(null!=n?n:0)<<8|(i=e[l+6],null!=i?i:0)),d=(o=e[l+7],(null!=o?o:0)<<8|(a=e[l+8],null!=a?a:0));if(d>0&&c>0)return{width:d,height:c};return}l+=2+u}}function wS(e){return e.length>=8&&137===e[0]&&80===e[1]&&78===e[2]&&71===e[3]?sq:e.length>=3&&255===e[0]&&216===e[1]&&255===e[2]?uq:void 0}function PS(e,t){return e>>>t|e<<32-t}function SS(e){var t=8*e.length,r=e.length+1+8+63&-64,n=new Uint8Array(r);n.set(e),n[e.length]=128;var i=new DataView(n.buffer);i.setUint32(r-4,t>>>0,!1);for(var o=1779033703,a=3144134277,l=1013904242,s=2773480762,u=1359893119,c=2600822924,d=528734635,h=1541459225,f=new Array(64),p=0;p<r;p+=64){for(I=0;I<16;I++)f[I]=i.getUint32(p+4*I,!1);for(I=16;I<64;I++){var v=PS(f[I-15],7)^PS(f[I-15],18)^f[I-15]>>>3,m=PS(f[I-2],17)^PS(f[I-2],19)^f[I-2]>>>10;f[I]=f[I-16]+v+f[I-7]+m|0}for(var y=o,g=a,b=l,w=s,P=u,S=c,x=d,C=h,I=0;I<64;I++){var V=C+(m=PS(P,6)^PS(P,11)^PS(P,25))+(P&S^~P&x)+cq[I]+f[I]|0,T=y&g^y&b^g&b;C=x,x=S,S=P,P=w+V|0,w=b,b=g,g=y,y=V+((v=PS(y,2)^PS(y,13)^PS(y,22))+T|0)|0}o=o+y|0,a=a+g|0,l=l+b|0,s=s+w|0,u=u+P|0,c=c+S|0,d=d+x|0,h=h+C|0}var k=new Uint8Array(32),F=new DataView(k.buffer);F.setUint32(0,o,!1),F.setUint32(4,a,!1),F.setUint32(8,l,!1),F.setUint32(12,s,!1),F.setUint32(16,u,!1),F.setUint32(20,c,!1),F.setUint32(24,d,!1),F.setUint32(28,h,!1);for(var D="",I=0;I<k.length;I++)D+=(k[I]<16?"0":"")+k[I].toString(16);return D}function xS(e,t){var r,n,i=null!=t?t:{},o=bS(e),a=void 0!==i.width,l=void 0!==i.height;a&&l?(r=i.width,n=i.height):a&&!l?(r=i.width,n=void 0!==o&&o.width>0?qr(r,o.height/o.width):Sq):!a&&l?(n=i.height,r=void 0!==o&&o.height>0?qr(n,o.width/o.height):Pq):void 0!==o&&o.width>0&&o.height>0?(r=Kr(o.width),n=Kr(o.height)):(r=Pq,n=Sq);var s=wS(e),u=null!=i.imageType?i.imageType:s;if(void 0===u)throw new $N("content/invalid-image","Image contentType is required when bytes are not PNG or JPEG");return{width:r,height:n,contentType:u}}function CS(e){return dq({relationshipId:e.relationshipId,width:e.width,height:e.height},void 0!==e.name?{name:e.name}:{},void 0!==e.title?{title:e.title}:{},void 0!==e.description?{description:e.description}:{},void 0!==e.lockAspectRatio?{lockAspectRatio:e.lockAspectRatio}:{},void 0!==e.rotation?{rotation:e.rotation}:{},void 0!==e.flipHorizontal?{flipHorizontal:e.flipHorizontal}:{},void 0!==e.flipVertical?{flipVertical:e.flipVertical}:{},void 0!==e.placement?{placement:e.placement}:{},void 0!==e.wrapping?{wrapping:e.wrapping}:{},void 0!==e.horizontalOrigin?{horizontalOrigin:e.horizontalOrigin}:{},void 0!==e.verticalOrigin?{verticalOrigin:e.verticalOrigin}:{},void 0!==e.horizontalPosition?{horizontalPosition:e.horizontalPosition}:{},void 0!==e.verticalPosition?{verticalPosition:e.verticalPosition}:{},void 0!==e.horizontalAlignment?{horizontalAlignment:e.horizontalAlignment}:{},void 0!==e.verticalAlignment?{verticalAlignment:e.verticalAlignment}:{},void 0!==e.docPrId?{docPrId:e.docPrId}:{},void 0!==e.preservedHost?{preservedHost:e.preservedHost}:{},void 0!==e.layoutDirty?{layoutDirty:e.layoutDirty}:{},void 0!==e.hyperlinkRelationshipId?{hyperlinkRelationshipId:e.hyperlinkRelationshipId}:{},void 0!==e.hyperlinkTarget?{hyperlinkTarget:e.hyperlinkTarget}:{})}function IS(e,t){var r=null!=t?t:$U.Inline;return r!==$U.Inline?{placement:JU.Anchored,wrapping:r}:e===JU.Anchored?{placement:JU.Anchored,wrapping:$U.None}:{placement:JU.Inline,wrapping:$U.Inline}}function VS(e){return e===wq?"jpeg":"png"}function TS(e){return SS(e)}function kS(e){return e.slice("/word/".length)}function FS(e,t){for(var r=VS(e),n=1;t.has(W(q("/word/media/image"+String(n)+"."+r)));)n+=1;return q("/word/media/image"+String(n)+"."+r)}function DS(e){if(e.contentType===bq||e.contentType===wq)return e.contentType;if(e.contentType.startsWith("image/"))return e.contentType;var t=e.name.toLowerCase();return t.endsWith(".png")?bq:t.endsWith(".jpeg")||t.endsWith(".jpg")?wq:t.endsWith(".gif")?"image/gif":e.contentType.length>0?e.contentType:"application/octet-stream"}function OS(e,t){var r,n,i=Fe(e,t),o=new Map;try{for(var a=pq(i.items),l=a.next();!l.done;l=a.next()){var s=l.value;if(-1!==gq.indexOf(s.type)&&(s.targetMode!==sE.External&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(s.target.trim()))){var u=ke(e,ie(s.target,t));if(void 0!==u){var c=DS(u);o.set(u.name,{partName:u.name,relationshipId:s.id,relationshipType:s.type,contentType:c,data:u.data,dirty:!1,pendingRelationship:void 0})}}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return new Cq(o)}function NS(e,t,r){var n=AS(e,r.partName);return n=ES(n,r.partName),n=LS(n,t,function(e){return e.id!==r.relationshipId})}function AS(e,t){var r=W(t),n=e.parts.filter(function(e){return W(e.name)!==r});return n.length===e.parts.length?e:dq({},e,{parts:n})}function ES(e,t){return dq({},e,{contentTypes:{records:e.contentTypes.records.filter(function(e){return!("override"===e.kind&&e.partName===t)})}})}function LS(e,t,r){var n=Fe(e,t),i=n.items.filter(r);return i.length===n.items.length?e:Le(e,t,me(i,n.opaque))}function RS(e,t){return ot(e)}function BS(e,t){var r,n,i,o,a=new Set;try{for(var l=pq(e.opcPackage().parts),s=l.next();!s.done;s=l.next()){var u=s.value;a.add(W(u.name))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}try{for(var c=pq(t.pendingPartNames()),d=c.next();!d.done;d=c.next()){var h=d.value;a.add(W(h))}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return a}function _S(){Iq=!1}function jS(){Iq||(Iq=!0,je({id:vq}),tt({featureId:vq,relationshipTypes:gq,loadParts:function(e,t){return OS(e,t.mainPartName)}}),_t({featureId:vq,materialize:function(e){var t=e.featurePart(vq);t instanceof Cq&&t.materializePending(e)}}),bt({featureId:vq,wmlLocalName:"drawing",tryParse:function(e){var t=tS(e);if(void 0!==t)return xq.fromHostState(t)}}))}function MS(e){var t=e.featurePart(vq);if(void 0===t||!(t instanceof Cq))throw new $N("feature/not-registered","Images catalog was not loaded; call registerImagesFeature() before WordDocument.open");return t}function zS(e){var t,r=[];return HS(e.items.snapshot(),r,function(){return void 0===t&&(t=qS(e)),t}),r}function US(e){return zS(e)}function HS(e,t,r){var n,i;try{for(var o=pq(e),a=o.next();!a.done;a=o.next()){var l=a.value;if(l instanceof xq){var s=NP(l);void 0!==(d=void 0!==s?s:r())&&OP(l,d),t.push(l)}else if(l instanceof RR&&QS(l)){var u=l.value,c=NP(u),d=void 0!==c?c:r();void 0!==d&&OP(u,d),t.push(u)}else{var h=WS(l);void 0!==h&&HS(h,t,r)}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function WS(e){return GS(e instanceof _R?e.value:e)}function GS(t){if(null!==t&&"object"==typeof t){var r=t;if(r.entityType===e.EntityType.InlineContentControl){var n=r.paragraphItems;if(void 0!==n)return"function"==typeof n.snapshot?n.snapshot():fq(n)}}}function qS(e){try{return e.owningDocument()}catch(e){return}}function XS(e,t){var r=MS(e),n=r.pendingBytesFor(t);return void 0!==n?n:0!==t.relationshipId.length?r.bytesForRelationship(t.relationshipId):void 0}function YS(e,t){return XS(e,t)}function ZS(e,t,r){var n=MS(e);if(t.isPendingRelationship())return void n.updatePendingBytes(t,r);n.replaceBytes(t.relationshipId,r)}function KS(e,t,r){ZS(e,t,r)}function JS(e,t,r){var n,i;try{for(var o=pq(t.items.snapshot()),a=o.next();!a.done;a=o.next()){var l=a.value;if(l instanceof xq&&l===r)return t.removeFeatureRunItem(r),void(r.isPendingRelationship()?MS(e).discardPendingImage(r):MS(e).removeEntry(r.relationshipId));if(l instanceof RR&&QS(l)&&l.value===r)return t.removeFeatureRunItem(r),void(r.isPendingRelationship()?MS(e).discardPendingImage(r):MS(e).removeEntry(r.relationshipId))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}throw new $N("content/unknown-image","Inline picture is not in this paragraph")}function $S(e,t,r){JS(e,t,r)}function QS(e){return e instanceof xq||e instanceof RR&&e.featureId===vq&&e.value instanceof xq}function ex(e){return QS(e)}function tx(e){var t;return t=e.attributes.find(function(e){return e.namespaceUri===Aq&&"id"===e.localName}),null==t?void 0:t.value}function rx(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===FE||""===e.namespaceUri)}),null==r?void 0:r.value}function nx(e,t){var r,n;if(0===t.length)return e;var i=new Set(e.items.map(function(e){return e.id})),o=kq(e.items);try{for(var a=Fq(t),l=a.next();!l.done;l=a.next()){for(var s=l.value,u=s.id;i.has(u);)u=ae(i);i.add(u),o.push(Vq({},s,{id:u}))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return me(o,e.opaque)}function ix(e){return void 0!==e&&"0"!==e&&"false"!==e||void 0===e&&void 0}function ox(e){var t,r;if(ut(e,"hyperlink")){var n=new Eq,i=[],o=[];try{for(var a=Fq(ct(e)),l=a.next();!l.done;l=a.next()){var s=l.value;if(ut(s,"r")){var u=MR.fromXml(s,n);o.push(u),i.push({type:"textRange",run:u})}else i.push({type:"opaque",xml:s})}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}if(n.hydrateRuns(o),!i.every(function(e){return"opaque"===e.type}))return new Lq(n,i,tx(e),rx(e,"anchor"),rx(e,"tooltip"),rx(e,"docLocation"),rx(e,"tgtFrame"),ix(rx(e,"history")))}}function ax(e,t){var r,n,i=Fe(e,t),o=new Map;try{for(var a=Fq(i.items),l=a.next();!l.done;l=a.next()){var s=l.value;-1!==Nq.indexOf(s.type)&&o.set(s.id,{relationshipId:s.id,target:s.target,relationshipType:s.type,pendingRelationship:void 0})}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return new Rq(o,!1)}function lx(e,t){var r,n,i,o,a=q("/word/document.xml"),l=new Set;try{for(var s=Fq(Fe(e.opcPackage(),a).items),u=s.next();!u.done;u=s.next()){var c=u.value;l.add(c.id)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}try{for(var d=Fq(t.relationshipIds()),h=d.next();!h.done;h=d.next()){var f=h.value;l.add(f)}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}return l}function sx(e,t,r){var n=Fe(e,t),i=n.items.filter(r);return i.length===n.items.length?e:Le(e,t,me(i,n.opaque))}function ux(){Bq=!1}function cx(){Bq||(Bq=!0,je({id:Dq}),tt({featureId:Dq,relationshipTypes:Nq,loadParts:function(e,t){return ax(e,t.mainPartName)}}),_t({featureId:Dq,materialize:function(e){var t=e.featurePart(Dq);t instanceof Rq&&t.materializePending(e)}}),Ct({featureId:Dq,wmlLocalName:"hyperlink",tryParse:function(e){return ox(e)}}))}function dx(e){var t=e.featurePart(Dq);if(t instanceof Rq)return t;if(void 0!==t)throw new $N("feature/not-registered","Hyperlinks feature state was replaced with an unexpected part type");if(!ze(Dq))throw new $N("feature/not-registered","Hyperlinks feature is not registered; call registerHyperlinksFeature() before use");var r=new Rq(new Map,!1);return e.setFeaturePart(Dq,r),r}function hx(e){var t,r,n=[];try{for(var i=Fq(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;vx(a)&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function fx(e,t){return void 0!==t.relationshipId?dx(e).targetForRelationship(t.relationshipId):dx(e).pendingTargetFor(t)}function px(e,t,r){t.removeFeatureInline(r),void 0!==r.relationshipId&&dx(e).removeEntry(r.relationshipId)}function vx(e){return e instanceof _R&&e.featureId===Dq&&e.value instanceof Lq}function mx(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)}),null==r?void 0:r.value}function yx(e){if("begin"===e||"separate"===e||"end"===e)return e}function gx(e){var t,r,n="";try{for(var i=zq(e),o=i.next();!o.done;o=i.next())n+=o.value.text}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function bx(e){var t,r=(t=Zx(e)[0],null!=t?t:"").toUpperCase();if(0!==r.length)return Wq.get(r)}function wx(e,t,r,n,i){var o=bx(i);if(void 0!==o)return o===Hq.If?new Qq(e,t,r,n,o):o===Hq.MergeField?new eX(e,t,r,n,o):new $q(e,t,r,n,o)}function Px(e){var t=Zx(e),r={fieldName:"",textBefore:"",textAfter:"",dateFormat:"",numberFormat:"",otherSwitches:[]},n=1;if(t.length>1){var i=t[1];void 0===i||i.startsWith("\\")||(r.fieldName=i,n=2)}for(;n<t.length;){var o=t[n];if(void 0===o)break;if(o.startsWith("\\")){var a=t[n+1],l=void 0!==a&&!a.startsWith("\\"),s=l?a:void 0,u=o.toLowerCase();"\\b"===u?r.textBefore=null!=s?s:"":"\\f"===u?r.textAfter=null!=s?s:"":"\\@"===u?r.dateFormat=null!=s?s:"":"\\#"===u?r.numberFormat=null!=s?s:"":r.otherSwitches.push({flag:o,value:s}),n+=l?2:1}else n+=1}return r}function Sx(e){return 0===e.length?'""':/[\s"]/.test(e)?'"'+e.replace(/"/g,"")+'"':e}function xx(e){var t=" MERGEFIELD "+e.fieldName;e.textBefore.length>0&&(t+=" \\b "+Sx(e.textBefore)),e.textAfter.length>0&&(t+=" \\f "+Sx(e.textAfter)),e.dateFormat.length>0&&(t+=" \\@ "+Sx(e.dateFormat)),e.numberFormat.length>0&&(t+=" \\# "+Sx(e.numberFormat));for(var r=0;r<e.otherSwitches.length;r+=1){var n=e.otherSwitches[r];t+=" "+n.flag,void 0!==n.value&&(t+=" "+Sx(n.value))}return t+" "}function Cx(e,t){if(t.trim().length>0&&0===e.trim().length)return Gq.Bookmark;var r=e.trim();return/^mailto:/i.test(r)?Gq.EmailLink:/^[a-zA-Z]:[\\/]/.test(r)||r.indexOf("\\")>=0||/^file:/i.test(r)?Gq.FileLink:t.trim().length>0?Gq.Bookmark:Gq.WebLink}function Ix(e){var t=Zx(e),r={type:Gq.WebLink,target:"",bookmarkName:"",otherSwitches:[]},n=1;if(t.length>1){var i=t[1];void 0===i||i.startsWith("\\")||(r.target=i,n=2)}for(;n<t.length;){var o=t[n];if(void 0===o)break;if(o.startsWith("\\")){var a=t[n+1],l=void 0!==a&&!a.startsWith("\\"),s=l?a:void 0;"\\l"===o.toLowerCase()?r.bookmarkName=null!=s?s:"":r.otherSwitches.push({flag:o,value:s}),n+=l?2:1}else n+=1}return r.type=Cx(r.target,r.bookmarkName),r}function Vx(e){var t=" HYPERLINK";e.type,Gq.Bookmark,e.target.trim().length>0&&(t+=" "+Sx(e.target)),e.bookmarkName.trim().length>0&&(t+=" \\l "+Sx(e.bookmarkName));for(var r=0;r<e.otherSwitches.length;r+=1){var n=e.otherSwitches[r];t+=" "+n.flag,void 0!==n.value&&(t+=" "+Sx(n.value))}return t+" "}function Tx(e,t){var r,n;try{for(var i=zq(ct(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(ut(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function kx(e,t){var r=Tx(e,t);return void 0===r?void 0:vt(r)}function Fx(e,t){var r=Tx(e,t);return void 0===r?void 0:Er(r)}function Dx(e,t){return Ex(kx(e,t))}function Ox(e,t,r){var n=Tx(e,t);return void 0===n?void 0:kx(n,r)}function Nx(e,t,r){var n=Tx(e,t);return void 0===n?void 0:Fx(n,r)}function Ax(e,t,r){var n=Tx(e,t);return void 0===n?void 0:Dx(n,r)}function Ex(e){if(void 0!==e&&0!==e.length&&/^-?\d+$/.test(e.trim())){var t=Number(e.trim());return Number.isSafeInteger(t)?t:void 0}}function Lx(e){var t,r;try{for(var n=zq(ct(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(ut(o,"textInput"))return"textInput";if(ut(o,"checkBox"))return"checkBox";if(ut(o,"ddList"))return"dropDown"}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function Rx(e){var t,r;try{for(var n=zq(e.childElements()),i=n.next();!i.done;i=n.next()){var o=i.value;if(ut(o,"ffData"))return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function Bx(e,t){if("begin"===e.fldCharType){var r=Rx(e);if(void 0!==r){var n=Lx(r);if(void 0!==n)return new Jq(e,r,n,t)}}}function _x(e){var t,r;if(ut(e,"fldSimple")){var n=mx(e,"instr");if(void 0!==n&&0!==n.length){var i=new qq,o=[],a=[],l=[];try{for(var s=zq(ct(e)),u=s.next();!u.done;u=s.next()){var c=u.value;if(ut(c,"fldData"))o.push(c);else if(ut(c,"r")){var d=MR.fromXml(c,i);l.push(d),a.push({type:"textRange",run:d})}else o.push(c),a.push({type:"opaque",xml:c})}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return i.hydrateRuns(l),new Xq(i,o,a,n,Mx(mx(e,"fldLock")),Mx(mx(e,"dirty")))}}}function jx(e){var t,r;if(ut(e,"fldChar")){var n=yx(mx(e,"fldCharType"));if(void 0!==n){var i=[];try{for(var o=zq(ct(e)),a=o.next();!a.done;a=o.next()){var l=a.value;i.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return new Yq(n,Mx(mx(e,"fldLock")),Mx(mx(e,"dirty")),i)}}}function Mx(e){return void 0!==e&&"0"!==e&&"false"!==e||void 0===e&&void 0}function zx(e){if(ut(e,"instrText"))return new Zq(dt(e),mt(e))}function Ux(e){var t,r,n=[];try{for(var i=zq(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof MR?n.push({item:a}):a instanceof RR&&a.featureId===Uq&&(a.value instanceof Yq||a.value instanceof Zq)&&n.push({item:a})}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function Hx(e,t,r){for(var n="",i=t;i<r;i+=1){var o=e[i];if(void 0!==o){var a=o.item;a instanceof RR&&a.value instanceof Zq&&(n+=a.value.text)}}return n.trim()}function Wx(e,t){var r=e[t];if(void 0!==r&&r.item instanceof RR&&r.item.value instanceof Yq&&"begin"===r.item.value.fldCharType){for(var n=[r.item.value],i=[],o=-1,a=1,l=t+1;l<e.length;l+=1){if(void 0===(d=e[l]))return;if((h=d.item)instanceof RR&&h.value instanceof Yq){if("begin"===(f=h.value).fldCharType){a+=1,n.push(f);continue}if("end"===f.fldCharType){if(0===(a-=1))return;n.push(f);continue}if("separate"===f.fldCharType&&1===a){o=l,n.push(f);break}n.push(f)}else 1===a&&h instanceof RR&&h.value instanceof Zq?(i.push(h.value),n.push(h.value)):h instanceof RR&&h.value instanceof Zq&&n.push(h.value)}if(!(o<0)){var s=Hx(e,t+1,o);if(0!==s.length){var u=[],c=-1;a=1;for(l=o+1;l<e.length;l+=1){var d=e[l];if(void 0===d)return;var h=d.item;if(h instanceof RR&&h.value instanceof Yq){var f=h.value;if("begin"===f.fldCharType){a+=1,n.push(f);continue}if("end"===f.fldCharType){if(0===(a-=1)){c=l,n.push(f);break}n.push(f);continue}n.push(f)}else 1===a&&h instanceof MR&&u.push(h)}if(!(c<0||0===u.length))return new Kq(s,u,n,i)}}}}function Gx(){rX=!1}function qx(){rX||(rX=!0,je({id:Uq}),Ct({featureId:Uq,wmlLocalName:"fldSimple",tryParse:function(e){return _x(e)}}),bt({featureId:Uq,wmlLocalName:"fldChar",tryParse:function(e){return jx(e)}}),bt({featureId:Uq,wmlLocalName:"instrText",tryParse:function(e){return zx(e)}}))}function Xx(e){for(var t=[],r=Ux(e),n=0;n<r.length;n+=1){var i=r[n];if(void 0!==i&&i.item instanceof RR&&i.item.value instanceof Yq&&"begin"===i.item.value.fldCharType){var o=Wx(r,n);void 0!==o&&t.push(o)}}return t}function Yx(e){for(var t=[],r=Ux(e),n=0;n<r.length;n+=1){var i=r[n];if(void 0!==i&&i.item instanceof RR&&i.item.value instanceof Yq&&"begin"===i.item.value.fldCharType){var o=Wx(r,n),a=Bx(i.item.value,o);void 0!==a&&t.push(a)}}return t}function Zx(e){for(var t=[],r=e.trim(),n=0;n<r.length;){for(;n<r.length&&void 0!==(o=r[n])&&/\s/.test(o);)n+=1;if(n>=r.length)break;if('"'!==r[n]){for(var i="";n<r.length;){var o=r[n];if(void 0===o||/\s/.test(o)||'"'===o)break;i+=o,n+=1}i.length>0&&t.push(i)}else{n+=1;for(var a="";n<r.length&&void 0!==(o=r[n])&&'"'!==o;)a+=o,n+=1;n<r.length&&'"'===r[n]&&(n+=1),t.push(a)}}return t}function Kx(e){for(var t=Zx(e),r=null!=t[0]?t[0]:"",n=new Map,i=1;i<t.length;){var o=t[i];if(void 0===o)break;if(o.startsWith("\\")){var a=t[i+1];void 0===a||a.startsWith("\\")?(n.set(o,""),i+=1):(n.set(o,a),i+=2)}else i+=1}return{type:r,instruction:e,switches:n}}function Jx(e){var t,r,n=[],i=Ux(e),o=0;try{for(var a=zq(e.items),l=a.next();!l.done;l=a.next()){var s=l.value;if(s instanceof _G)n.push(s);else if(Qx(s))void 0!==(h=wx("simple",s.value,void 0,e,s.value.instruction))&&n.push(h);else if(s instanceof MR||s instanceof RR&&s.featureId===Uq&&(s.value instanceof Yq||s.value instanceof Zq)){var u=o;o+=1;var c=i[u];if(void 0!==c&&c.item instanceof RR&&c.item.value instanceof Yq&&"begin"===c.item.value.fldCharType){var d=Wx(i,u);if(void 0!==d){var h=wx("complex",void 0,d,e,d.instruction);void 0!==h&&n.push(h)}}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}function $x(e){var t=[];return Mt(e,function(e){t.push.apply(t,Mq(Jx(e)))}),t}function Qx(e){return e instanceof _R&&e.featureId===Uq&&e.value instanceof Xq}function eC(e){return Wq.has(e)}function tC(e,t){switch(t){case Hq.Page:return" PAGE ";case Hq.NumPages:return" NUMPAGES ";case Hq.If:return" IF ";case Hq.MergeField:return" MERGEFIELD "+e+" ";case Hq.Hyperlink:return" HYPERLINK ";default:return t}}function rC(e,t){switch(t){case Hq.MergeField:return"«"+e+"»";case Hq.Page:case Hq.NumPages:return"1";case Hq.If:case Hq.Hyperlink:return"";default:return t}}function nC(e,t,r){return aC(e,t,r.result)}function iC(e){return Xx(e).map(function(e){return e.instruction})}function oC(e){return Kx(e).type}function aC(e,t,r){var n=t.trim();if(0===n.length)throw new $N("content/invalid-field","Field instruction must not be empty");var i=new Yq("begin",void 0,void 0,[]);e.appendFeatureRunItem(Uq,i);var o=new Zq(" "+n+" ",!1);e.appendFeatureRunItem(Uq,o);var a=new Yq("separate",void 0,void 0,[]);e.appendFeatureRunItem(Uq,a);var l=e.appendText(r),s=new Yq("end",void 0,void 0,[]);e.appendFeatureRunItem(Uq,s);var u=new Kq(n,[l],[i,o,a,s],[o]),c=wx("complex",void 0,u,e,n);return void 0!==c?c:new nX("complex",void 0,u,e)}function lC(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===cA||""===e.namespaceUri)});return null==r?void 0:r.value}function sC(e){var t,r,n,i,o,a,l;try{for(var s=iX(ct(e)),u=s.next();!u.done;u=s.next()){var c=u.value;if(ut(c,"name"))o=lC(c,"val");else if(ut(c,"category"))try{for(var d=iX(ct(c)),h=d.next();!h.done;h=d.next()){var f=h.value;ut(f,"name")?a=lC(f,"val"):ut(f,"gallery")&&(l=lC(f,"val"))}}catch(e){n={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}if(void 0!==o&&0!==o.length)return{name:o,category:a,gallery:l}}function uC(e){var t,r;try{for(var n=iX(ct(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(ut(o,"docPartPr"))return sC(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function cC(e){var t,r,n,i;if(ut(e,"glossaryDocument")){var o=[];try{for(var a=iX(ct(e)),l=a.next();!l.done;l=a.next()){var s=l.value;if(ut(s,"docParts"))try{for(var u=iX(ct(s)),c=u.next();!c.done;c=u.next()){var d=c.value;if(ut(d,"docPart")){var h=uC(d);void 0!==h&&o.push(h)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return{docParts:o}}}function dC(e){if(0!==e.byteLength)try{return cC(d(cX.decode(e)))}catch(e){return}}function hC(e){var t;if(void 0===e)return new hX(void 0,dX,!1);var r=(t=dC(e.data),null!=t?t:dX);return new hX(e.data,r,!1)}function fC(){fX=!1}function pC(){fX||(fX=!0,je({id:oX}),Ye({featureId:oX,relationshipTypes:[aX,lX],defaultRelativeTarget:"glossary/document.xml",partName:uX,contentType:sX,loadPart:function(e,t){return hC(e)}}))}function vC(e){var t=e.featurePart(oX);if(void 0===t||!(t instanceof hX))throw new $N("feature/not-registered","Glossary document part was not loaded; call registerGlossaryFeature() before WordDocument.open");return t}function mC(e){return pX.has(e)}function yC(t){if(void 0===t||!mC(t))return e.PageNumberStyle.Arabic;switch(t){case"decimal":return e.PageNumberStyle.Arabic;case"upperRoman":return e.PageNumberStyle.UpperRoman;case"lowerRoman":return e.PageNumberStyle.LowerRoman;case"upperLetter":return e.PageNumberStyle.UpperLetter;case"lowerLetter":return e.PageNumberStyle.LowerLetter;case"ordinal":return e.PageNumberStyle.Ordinal;case"cardinalText":return e.PageNumberStyle.CardinalText;case"ordinalText":return e.PageNumberStyle.OrdinalText;case"numberInDash":return e.PageNumberStyle.NumberInDash;case"chicago":return e.PageNumberStyle.Chicago;default:return e.PageNumberStyle.Arabic}}function gC(t){switch(t){case e.SectionBreakCode.NewPage:return"newPage";case e.SectionBreakCode.Continuous:return"continuous";case e.SectionBreakCode.NewColumn:return"nextColumn";case e.SectionBreakCode.EvenPage:return"evenPage";case e.SectionBreakCode.OddPage:return"oddPage";default:return"newPage"}}function bC(t){switch(t){case void 0:case"newPage":return e.SectionBreakCode.NewPage;case"continuous":return e.SectionBreakCode.Continuous;case"nextColumn":return e.SectionBreakCode.NewColumn;case"evenPage":return e.SectionBreakCode.EvenPage;case"oddPage":return e.SectionBreakCode.OddPage;default:return e.SectionBreakCode.NewPage}}function wC(e){return new Error("sections: "+e)}function PC(e,t){var r=zr(e);if(!Number.isFinite(r)||r<0||r>vX)throw wC(t+" must be in 0…"+String(vX)+" twips (0–22 in)");return e}function SC(t){switch(t){case e.PageOrientation.Portrait:case e.PageOrientation.Landscape:return t;default:throw wC("orientation must be PageOrientation.Portrait or PageOrientation.Landscape")}}function xC(t){switch(t){case e.SectionBreakCode.NewPage:case e.SectionBreakCode.Continuous:case e.SectionBreakCode.NewColumn:case e.SectionBreakCode.EvenPage:case e.SectionBreakCode.OddPage:return t;default:throw wC("breakCode must be a valid SectionBreakCode value")}}function CC(e){if(!mC(e))throw wC("pageNumberStyle is not a supported PageNumberStyle value");return e}function IC(e,t){if(!Number.isInteger(e)||e<1)throw wC(t+" must be an integer ≥ 1");return e}function VC(e,t){if(!Number.isInteger(e)||e<0)throw wC(t+" must be a non-negative integer");return e}function TC(e){if(!Number.isInteger(e)||e<1||e>mX)throw wC("columns.count must be an integer in 1…"+String(mX));return e}function kC(e,t){void 0===t&&(t=yX),TC(e),PC(t,"spacing");var r=new wX;return r.setSpacing(t),r.setEqualWidthCount(e),r.setSeparator(!1),r}function FC(e){var t,r,n=OC(e,"equalWidth"),i=!0;if(void 0!==n){if(void 0===(l=AC(n)))return;i=l}var o=OC(e,"sep"),a=!1;if(void 0!==o){var l=AC(o);if(void 0===l)return;a=l}var s=yX,u=OC(e,"space");if(void 0!==u){var c=NC(u);if(void 0===c)return;s=Ur(c)}var d=1,h=OC(e,"num");if(void 0!==h){if(!/^\d+$/.test(h))return;if((d=Number.parseInt(h,10))<1||d>mX)return}var f=[];try{for(var p=bX(ct(e)),v=p.next();!v.done;v=p.next()){var m=v.value;if(!ut(m,"col"))return;var y=OC(m,"w");if(void 0===y)return;var g=NC(y);if(void 0===g)return;var b=yX,w=OC(m,"space");if(void 0!==w){var P=NC(w);if(void 0===P)return;b=Ur(P)}if(f.push({width:Ur(g),space:b}),f.length>mX)return}}catch(e){t={error:e}}finally{try{v&&!v.done&&(r=p.return)&&r.call(p)}finally{if(t)throw t.error}}!i&&f.length>0?d=f.length:i&&0===f.length&&void 0===h&&(d=1);var S=new wX;return S.replaceFromParsed({equalWidth:i,separator:a,spacing:s,count:d,columns:f}),S}function DC(e){var t,r,n,i,o=[],a=e.equalWidth,l=e.count,s=e.spacing,u=e.separator;a||o.push(ht("equalWidth","0")),1!==l&&o.push(ht("num",String(l))),s!==yX&&o.push(ht("space",String(zr(s)))),u&&o.push(ht("sep","1"));var c=[];if(a)try{for(var d=bX(e),h=d.next();!h.done;h=d.next()){var f=h.value,p=[ht("w",String(zr(f.width)))];f.spacing!==yX&&p.push(ht("space",String(zr(f.spacing)))),c.push(pt("col",{attributes:p}))}}catch(e){n={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}else try{for(var v=bX(e),m=v.next();!m.done;m=v.next()){var f=m.value,p=[ht("w",String(zr(f.width)))];f.spacing!==yX&&p.push(ht("space",String(zr(f.spacing)))),c.push(pt("col",{attributes:p}))}}catch(e){t={error:e}}finally{try{m&&!m.done&&(r=v.return)&&r.call(v)}finally{if(t)throw t.error}}return pt("cols",{attributes:o,children:0===c.length?void 0:c})}function OC(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===FE||""===e.namespaceUri)});return null==r?void 0:r.value}function NC(e){if(void 0!==e&&/^-?\d+$/.test(e)){var t=Number.parseInt(e,10);if(!(t<0||t>31680))return t}}function AC(e){if(void 0===e||0===e.length)return!0;var t=e.trim().toLowerCase();return"true"===t||"1"===t||"on"===t||"false"!==t&&"0"!==t&&"off"!==t&&void 0}function EC(e,t){return new _L(e,t)}function LC(e,t){CX.set(e,t)}function RC(e,t){LC(e,t)}function BC(e){return CX.get(e)}function _C(){return FX.createDefaultLetter()}function jC(e){if("object"!=typeof e||null===e)return!1;var t=e;return!("header"!==t.kind&&"footer"!==t.kind||"default"!==t.refType&&"first"!==t.refType&&"even"!==t.refType)}function MC(e,t){if(jC(e))return e;if(void 0===t)throw wC("header/footer refType is required");return{kind:e,refType:t}}function zC(e){return pt("header"===e.kind?"headerReference":"footerReference",{attributes:[{namespaceUri:IX,localName:"id",prefix:"r",value:e.relationshipId},ht("type",e.refType)]})}function UC(t,r,n){var i=[ht("w",String(zr(t))),ht("h",String(zr(r)))];return n===e.PageOrientation.Landscape&&i.push(ht("orient","landscape")),pt("pgSz",{attributes:i})}function HC(e,t,r,n,i,o,a){return pt("pgMar",{attributes:[ht("top",String(zr(e))),ht("right",String(zr(t))),ht("bottom",String(zr(r))),ht("left",String(zr(n))),ht("header",String(zr(i))),ht("footer",String(zr(o))),ht("gutter",String(zr(a)))]})}function WC(e){var t=[];if(void 0!==e.firstPageTray&&t.push(ht("first",String(e.firstPageTray))),void 0!==e.otherPagesTray&&t.push(ht("other",String(e.otherPagesTray))),0!==t.length)return pt("paperSrc",{attributes:t})}function GC(e){var t=[ht("countBy",String(e.countBy))];return void 0!==e.restart&&"newPage"!==e.restart&&t.push(ht("restart",e.restart)),void 0!==e.startAt&&t.push(ht("start",String(e.startAt))),void 0!==e.distanceFromText&&t.push(ht("distance",String(zr(e.distanceFromText)))),pt("lnNumType",{attributes:t})}function qC(e,t,r){var n=[ht("fmt",e)];return void 0!==t&&n.push(ht("start",String(t))),void 0!==r&&(n.push(ht("chapStyle",String(r.headingLevel))),"hyphen"!==r.separator&&n.push(ht("chapSep",r.separator))),pt("pgNumType",{attributes:n})}function XC(t){return t!==e.BorderStyle.None&&t!==e.BorderStyle.Nil}function YC(e){return void 0!==e&&("none"!==e.style&&"nil"!==e.style)}function ZC(e,t){if(YC(t)){var r=Math.round(8*t.widthPoints),n=[ht("val",t.style),ht("sz",String(r)),ht("space",String(Math.round(t.offsetPoints)))];return"auto"!==t.color&&n.push(ht("color",t.color)),pt(e,{attributes:n})}}function KC(e){var t=[],r=void 0===e.top?void 0:ZC("top",e.top),n=void 0===e.left?void 0:ZC("left",e.left),i=void 0===e.bottom?void 0:ZC("bottom",e.bottom),o=void 0===e.right?void 0:ZC("right",e.right);void 0!==r&&t.push(r),void 0!==n&&t.push(n),void 0!==i&&t.push(i),void 0!==o&&t.push(o);var a=[];if("front"!==e.zOrder&&a.push(ht("zOrder",e.zOrder)),"allPages"!==e.applyTo&&a.push(ht("display",e.applyTo)),"text"!==e.measureFrom&&a.push(ht("offsetFrom",e.measureFrom)),0!==t.length||0!==a.length)return pt("pgBorders",{attributes:a,children:t})}function JC(e){return{firstPageTray:void 0===e.firstPageTray?void 0:VC(e.firstPageTray,"firstPageTray"),otherPagesTray:void 0===e.otherPagesTray?void 0:VC(e.otherPagesTray,"otherPagesTray")}}function $C(e){if(!Number.isInteger(e.countBy)||e.countBy<1)throw wC("lineNumberingStep must be an integer ≥ 1");var t=e.restart;if(void 0!==t)switch(t){case"newPage":case"newSection":case"continuous":break;default:throw wC("lineNumbering.restart must be 'newPage', 'newSection', or 'continuous'")}if(void 0!==e.startAt&&(!Number.isInteger(e.startAt)||e.startAt<0))throw wC("lineNumbering wire startAt must be an integer ≥ 0");var r=void 0===e.distanceFromText?void 0:PC(e.distanceFromText,"lineNumberingDistanceFromText");return{countBy:e.countBy,restart:t,startAt:e.startAt,distanceFromText:r}}function QC(e){var t=e.headingLevel;if(!Number.isInteger(t)||t<1||t>9)throw wC("chapterNumbering.headingLevel must be an integer in 1…9");var r=e.separator;switch(r){case"hyphen":case"period":case"colon":case"emDash":case"enDash":break;default:throw wC("chapterNumbering.separator is invalid")}return{headingLevel:t,separator:r}}function eI(t){switch(t){case e.PageVerticalAlignment.Top:case"top":return e.PageVerticalAlignment.Top;case e.PageVerticalAlignment.Center:case"center":return e.PageVerticalAlignment.Center;case e.PageVerticalAlignment.Both:case"both":return e.PageVerticalAlignment.Both;case e.PageVerticalAlignment.Bottom:case"bottom":return e.PageVerticalAlignment.Bottom;default:throw wC("verticalAlignment must be a valid VerticalAlignment value")}}function tI(e,t){if("number"!=typeof e.widthPoints||Number.isNaN(e.widthPoints)||e.widthPoints<.25||e.widthPoints>12)throw wC(t+".widthPoints must be in 0.25–12");if("number"!=typeof e.offsetPoints||Number.isNaN(e.offsetPoints)||e.offsetPoints<0||e.offsetPoints>31)throw wC(t+".offsetPoints must be in 0…31");if(!VX.has(e.style))throw wC(t+".style is not a supported border style");if("string"!=typeof e.color||0===e.color.length)throw wC(t+".color must be a non-empty string");return e}function rI(e){var t=e.applyTo;if("allPages"!==t&&"firstPage"!==t&&"notFirstPage"!==t)throw wC("pageBorders.applyTo is invalid");var r=e.measureFrom;if("text"!==r&&"page"!==r)throw wC("pageBorders.measureFrom is invalid");var n=e.zOrder;if("front"!==n&&"back"!==n)throw wC("pageBorders.zOrder is invalid");return{applyTo:t,measureFrom:r,zOrder:n,top:void 0===e.top?void 0:tI(e.top,"pageBorders.top"),left:void 0===e.left?void 0:tI(e.left,"pageBorders.left"),bottom:void 0===e.bottom?void 0:tI(e.bottom,"pageBorders.bottom"),right:void 0===e.right?void 0:tI(e.right,"pageBorders.right")}}function nI(e,t){if(!VX.has(e))throw wC(t+" must be a valid BorderStyle value");return e}function iI(e,t){if("number"!=typeof e||Number.isNaN(e)||e<.25||e>12)throw wC(t+" must be in 0.25–12 points");return e}function oI(t){switch(t){case e.LineNumberingMode.Continuous:case e.LineNumberingMode.RestartPage:case e.LineNumberingMode.RestartSection:return t;default:throw wC("lineNumberingMode is invalid")}}function aI(t){return VX.has(t)?t:e.BorderStyle.None}function lI(e){return new Error("sections: "+e)}function sI(e){var t=e.attributes.find(function(e){return"id"===e.localName&&e.namespaceUri===LX});return null==t?void 0:t.value}function uI(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===FE||""===e.namespaceUri)});return null==r?void 0:r.value}function cI(e){if(void 0!==e&&/^-?\d+$/.test(e)){var t=Number.parseInt(e,10);if(!(t<0||t>vX))return t}}function dI(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}function hI(e){if(void 0===e||0===e.length)return!0;var t=e.trim().toLowerCase();return"true"===t||"1"===t||"on"===t||"false"!==t&&"0"!==t&&"off"!==t&&void 0}function fI(e){var t=ut(e,"headerReference")?"header":ut(e,"footerReference")?"footer":void 0;if(void 0!==t){var r=sI(e),n=uI(e,"type"),i="default"===n||"first"===n||"even"===n?n:void 0;if(void 0!==r&&void 0!==i)return{kind:t,refType:i,relationshipId:r}}}function pI(e){var t=vt(e);if("newPage"===t||"continuous"===t||"nextColumn"===t||"evenPage"===t||"oddPage"===t)return t}function vI(t){var r=cI(uI(t,"w")),n=cI(uI(t,"h"));if(void 0!==r&&void 0!==n){var i,o=uI(t,"orient");return"landscape"===o?i=e.PageOrientation.Landscape:"portrait"===o&&(i=e.PageOrientation.Portrait),{width:Ur(r),height:Ur(n),orientation:i}}}function mI(e){var t=cI(uI(e,"top")),r=cI(uI(e,"right")),n=cI(uI(e,"bottom")),i=cI(uI(e,"left")),o=cI(uI(e,"header")),a=cI(uI(e,"footer")),l=cI(uI(e,"gutter"));if(void 0!==t&&void 0!==r&&void 0!==n&&void 0!==i&&void 0!==o&&void 0!==a&&void 0!==l)return{top:Ur(t),right:Ur(r),bottom:Ur(n),left:Ur(i),header:Ur(o),footer:Ur(a),gutter:Ur(l)}}function yI(e){var t,r,n=uI(e,"first"),i=uI(e,"other");if((void 0===n||void 0!==(t=dI(n)))&&!(void 0!==i&&void 0===(r=dI(i))||void 0===t&&void 0===r))return{firstPageTray:t,otherPagesTray:r}}function gI(e){var t=uI(e,"countBy");if(void 0!==t&&/^\d+$/.test(t)){var r=Number.parseInt(t,10);if(!(r<1)){var n,i=uI(e,"restart");if(void 0!==i){if("newPage"!==i&&"newSection"!==i&&"continuous"!==i)return;n="newPage"===i?void 0:i}var o,a=uI(e,"start");if(void 0!==a){if(!/^\d+$/.test(a))return;o=Number.parseInt(a,10)}var l,s=uI(e,"distance");if(void 0!==s){var u=cI(s);if(void 0===u)return;l=Ur(u)}return{countBy:r,restart:n,startAt:o,distanceFromText:l}}}}function bI(e){if("hyphen"===e||"period"===e||"colon"===e||"emDash"===e||"enDash"===e)return e}function wI(e){var t=uI(e,"fmt");if(void 0===t||"decimal"===t||"upperRoman"===t||"lowerRoman"===t||"upperLetter"===t||"lowerLetter"===t||"ordinal"===t||"cardinalText"===t||"ordinalText"===t||"numberInDash"===t||"chicago"===t){var r,n,i=yC(t),o=uI(e,"start");if(void 0!==o){if(!/^\d+$/.test(o))return;var a=Number.parseInt(o,10);if(a<1)return;r=a,n=!0}var l,s=uI(e,"chapStyle"),u=uI(e,"chapSep");if(void 0!==s){if(!/^\d+$/.test(s))return;var c=Number.parseInt(s,10);if(c<1||c>9)return;var d="hyphen";if(void 0!==u){var h=bI(u);if(void 0===h)return;d=h}l={headingLevel:c,separator:d}}else if(void 0!==u)return;return{pageStartingNumber:r,restartPageNumbering:n,pageNumberStyle:i,chapterNumbering:l,pageNumberingPresent:!0}}}function PI(e){var t,r,n=(t=vt(e),null!=t?t:uI(e,"val"));if(void 0!==n&&zX.has(n)){var i=n,o=uI(e,"sz"),a=.5;if(void 0!==o){if(!/^\d+$/.test(o))return;if((a=Number.parseInt(o,10)/8)<.25||a>12)return}var l=uI(e,"space"),s=0;if(void 0!==l){if(!/^\d+$/.test(l))return;if((s=Number.parseInt(l,10))<0||s>31)return}return{style:i,widthPoints:a,offsetPoints:s,color:(r=uI(e,"color"),null!=r?r:"auto")}}}function SI(e){var t,r,n=uI(e,"display"),i="allPages";if(void 0!==n){if("allPages"!==n&&"firstPage"!==n&&"notFirstPage"!==n)return;i=n}var o=uI(e,"offsetFrom"),a="text";if(void 0!==o){if("text"!==o&&"page"!==o)return;a=o}var l=uI(e,"zOrder"),s="front";if(void 0!==l){if("front"!==l&&"back"!==l)return;s=l}var u,c,d,h;try{for(var f=NX(ct(e)),p=f.next();!p.done;p=f.next()){var v=p.value;if(ut(v,"top")){if(void 0===(u=PI(v)))return}else if(ut(v,"left")){if(void 0===(c=PI(v)))return}else if(ut(v,"bottom")){if(void 0===(d=PI(v)))return}else{if(!ut(v,"right"))return;if(void 0===(h=PI(v)))return}}}catch(e){t={error:e}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(t)throw t.error}}return{applyTo:i,measureFrom:a,zOrder:s,top:u,left:c,bottom:d,right:h}}function xI(e){var t=vt(e);if("top"===t||"center"===t||"both"===t||"bottom"===t)return t}function CI(e){var t,r;if(void 0!==e&&ut(e,"sectPr")){var n,i,o,a,l,s,u,c,d,h,f,p,v,m,y,g,b,w,P,S,x,C,I=[],V=[],T=[],k=!1,F=!1;try{for(var D=NX(ct(e)),O=D.next();!O.done;O=D.next()){var N=O.value,A=fI(N);if(void 0===A)if(ut(N,"type")&&void 0===n){if(void 0!==(_=pI(N))){n=bC("newPage"===_?void 0:_),F=!0;continue}F?V.push(N):I.push(N)}else if(ut(N,"pgSz")&&void 0===i){if(void 0!==(_=vI(N))){i=_.width,o=_.height,a=_.orientation,F=!0;continue}F?V.push(N):I.push(N)}else if(ut(N,"pgMar")&&void 0===l){if(void 0!==(_=mI(N))){l=_.left,s=_.top,u=_.right,c=_.bottom,d=_.header,h=_.footer,f=_.gutter,F=!0;continue}F?V.push(N):I.push(N)}else if(ut(N,"paperSrc")&&void 0===p){if(void 0!==(_=yI(N))){p=_,F=!0;continue}F?V.push(N):I.push(N)}else if(ut(N,"pgBorders")&&void 0===v){if(void 0!==(_=SI(N))){v=_,F=!0;continue}F?V.push(N):I.push(N)}else if(ut(N,"lnNumType")&&void 0===m){if(void 0!==(_=gI(N))){m=_,F=!0;continue}F?V.push(N):I.push(N)}else if(ut(N,"pgNumType")&&void 0===P){if(void 0!==(_=wI(N))){y=_.pageStartingNumber,g=_.restartPageNumbering,b=_.pageNumberStyle,w=_.chapterNumbering,P=!0,F=!0;continue}F?V.push(N):I.push(N)}else if(ut(N,"cols")&&void 0===S){if(void 0!==(_=FC(N))){S=_,F=!0;continue}var E=uI(N,"num"),L=uI(N,"space"),R=uI(N,"equalWidth"),B=uI(N,"sep");if(!(void 0!==E&&"1"!==E||void 0!==L&&L!==String(zr(yX))||void 0!==R&&!0!==hI(R)||void 0!==B&&!1!==hI(B)||0!==ct(N).length)){F=!0;continue}F?V.push(N):I.push(N)}else if(ut(N,"vAlign")&&void 0===x){var _=xI(N);if(void 0!==_){x="top"===_?void 0:_,F=!0;continue}F?V.push(N):I.push(N)}else if(ut(N,"bidi")&&void 0===C){if(!0===(j=Er(N))||!1===j){C=!0===j,F=!0;continue}F?V.push(N):I.push(N)}else if(ut(N,"titlePg")){var j=Er(N);if(!0===j){k=!0,F=!0;continue}if(!1===j){k=!1,F=!0;continue}F?V.push(N):I.push(N)}else F?V.push(N):I.push(N);else T.push(A)}}catch(e){t={error:e}}finally{try{O&&!O.done&&(r=D.return)&&r.call(D)}finally{if(t)throw t.error}}return FX.createFromParsedValues({attributes:e.attributes,prefix:I,suffix:V,headerFooterReferences:T,breakCode:n,pageWidth:void 0!==i?i:RX,pageHeight:void 0!==o?o:BX,orientation:a,marginLeft:void 0!==l?l:_X,marginTop:void 0!==s?s:_X,marginRight:void 0!==u?u:_X,marginBottom:void 0!==c?c:_X,headerDistance:void 0!==d?d:jX,footerDistance:void 0!==h?h:jX,gutter:void 0!==f?f:MX,paperSource:p,pageBorders:v,lineNumbering:m,pageStartingNumber:y,restartPageNumbering:g,pageNumberStyle:b,chapterNumbering:w,pageNumberingPresent:P,columns:S,verticalAlignment:x,bidi:C,differentFirstPage:k})}}function II(e){e.lineNumberingStep=1}function VI(e,t){return void 0===e.headerFooterReferenceId(t)}function TI(e,t){return DX(this,void 0,void 0,function(){var r,n;return OX(this,function(i){if(!ze(EX))throw lI("unlinkFromPrevious requires the headers-footers feature (import @syncfusion/ej2-docx/headers-footers)");if(void 0===(r=BC(e)))throw lI("unlinkFromPrevious requires section properties associated with a document");return n=require("../headers-footers/index"),"header"===t.kind?n.setSectionHeader(r,e,"",t.refType):n.setSectionFooter(r,e,"",t.refType),[2]})})}function kI(){void 0===PX&&(PX=mB.create.bind(mB),mB.create=function(){var e=PX(),t=_C();return LC(t,e),e.replaceFinalSectionPropertiesModel(t),e})}function FI(){void 0!==PX&&(mB.create=PX,PX=void 0)}function DI(e){var t=e.pageSetup;if(t instanceof FX)return t;var r=_C();return LC(r,e.owningDocument()),e.setPageSetup(r),r}function OI(){var e=lB.prototype;Object.defineProperty(e,"breakCode",{configurable:!0,enumerable:!0,get:function(){return DI(this).breakCode},set:function(e){DI(this).breakCode=e}}),Object.defineProperty(e,"columns",{configurable:!0,enumerable:!0,get:function(){return DI(this).columns}}),Object.defineProperty(e,"addColumn",{configurable:!0,enumerable:!1,writable:!0,value:function(e,t){return DI(this).columns.add(e,t)}})}function NI(){UX=!1,FI(),ul(),dl(),vl(),yl();try{delete GR.prototype.sectionBreak}catch(e){}}function AI(){var e=Object.getOwnPropertyDescriptor(GR.prototype,"sectionBreak");(void 0===e||void 0===e.get&&void 0===e.set)&&Object.defineProperty(GR.prototype,"sectionBreak",{configurable:!0,enumerable:!0,get:function(){return MI(this)},set:function(e){zI(this,e)}})}function EI(){UX||(UX=!0,je({id:AX}),kI(),OI(),AI(),pl(function(e){return CI(e)}),ml(function(e,t){e instanceof FX&&LC(e,t)}),sl(function(e){if(!(e instanceof FX))throw new TypeError("Expected PageSetup");return e.cloneDeep()}),cl(function(){return _C()}))}function LI(e){return e instanceof FX}function RI(e){var t=e.finalSectionPropertiesModel();if(LI(t))return LC(t,e),t;var r=e.bodySectPr();if(void 0!==r){var n=CI(r);if(void 0!==n)return LC(n,e),e.replaceFinalSectionPropertiesModel(n),n}}function BI(e){var t=e.sectionBreakPropertiesModel();if(LI(t))return LC(t,e.owningDocument()),t;var r=e.sectionBreakSectPr();if(void 0!==r){var n=CI(r);if(void 0!==n)return LC(n,e.owningDocument()),e.replaceSectionBreakPropertiesModel(n),n}}function _I(e){return RI(e)}function jI(e,t){LC(t,e),e.replaceFinalSectionPropertiesModel(t)}function MI(e){return BI(e)}function zI(e,t){var r=e.owningDocument();void 0!==t?(LC(t,r),e.replaceSectionBreakPropertiesModel(t)):(e.replaceSectionBreakPropertiesModel(void 0),e.replaceSectionBreakSectPr(void 0)),r.repartitionFromBodyBlocks()}function UI(e){var t=RI(e);if(void 0!==t)return t;var r=_C();return LC(r,e),e.replaceFinalSectionPropertiesModel(r),r}function HI(e){return-1!==eY.indexOf(e)?"header":-1!==tY.indexOf(e)?"footer":void 0}function WI(e){return"header"===e?$X:QX}function GI(e){return"header"===e?"hdr":"ftr"}function qI(e){return e.slice("/word/".length)}function XI(e){var t,r,n,i;try{for(var o=GX(e),a=o.next();!a.done;a=o.next()){var l=a.value;if("paragraph"===l.type){try{for(var s=GX(l.paragraph.items),u=s.next();!u.done;u=s.next()){var c=u.value;if(c instanceof MR)return c.text}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return""}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}function YI(e,t){return void 0===t&&(t=oY),[{type:"paragraph",paragraph:GR.fromXml(pt("p",{children:[pt("r",{children:[pt("t",{children:[{kind:"text",value:e}]})]})]}),t)}]}function ZI(e,t){return new aY(e,t)}function KI(e,t){"object"==typeof e&&null!==e&&"bindDocument"in e&&e.bindDocument.call(e,t)}function JI(e){if("object"==typeof e&&null!==e&&"releaseContent"in e){var t=e.releaseContent;"function"==typeof t&&t.call(e)}}function $I(e,t){var r,n,i=ZI(e,t.relationshipId);try{for(var o=GX(t.blocks),a=o.next();!a.done;a=o.next()){var l=a.value;"paragraph"===l.type?l.paragraph.attach(i):"feature"===l.type&&KI(l.value,e)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}function QI(e){var t,r;try{for(var n=GX(e),i=n.next();!i.done;i=n.next()){var o=i.value;"paragraph"===o.type?o.paragraph.detach():"feature"===o.type&&JI(o.value)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function eV(e,t,r){var n=d(nY.decode(e.data));if(ut(n,GI(r))){var i=Ma(n.children,Ue());return{partName:e.name,relationshipId:t.id,relationshipType:t.type,kind:r,rootExtra:{attributes:n.attributes,namespaceDeclarations:n.namespaceDeclarations.length>0?n.namespaceDeclarations:[{prefix:"w",namespaceUri:cA}]},blocks:i,dirty:!1,pendingRelationship:void 0}}}function tV(e,t){""!==e&&sY.set(e,t)}function rV(e,t,r){var n,i;try{for(var o=GX(t.blocks),a=o.next();!a.done;a=o.next()){var l=a.value;"paragraph"===l.type?l.paragraph.attach(r):"feature"===l.type&&KI(l.value,e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}r.replaceItemsSilent(t.blocks.slice())}function nV(e,t,r){if(""!==t){var n=sV(e).entryForRelationship(t);void 0!==n&&(n.blocks=r.rawBlocks().slice(),n.dirty=!0)}}function iV(e,t,r,n,i){void 0===n&&(n="default");var o=sY.get(t);if(void 0!==o)return o;var a=sV(e).entryForRelationship(t),l=void 0!==a?a.blocks.slice():[],s=new iB(i,r,n,l,e,t);return void 0!==a&&rV(e,a,s),s.bindLifecycleHandlers(function(){},function(){nV(e,s.relationshipId,s)}),tV(t,s),s}function oV(e,t,r){var n=e.owningDocument(),i=new iB(e,t,r,[],n,""),o=function(){if(""===i.relationshipId){var o=e.pageSetup;if(o instanceof FX){var a=o.headerFooterReferenceId(t,r);if(void 0!==a){var l=sV(n);if(l.hasRelationship(a)){i.bindRelationshipId(a),tV(a,i);var s=l.entryForRelationship(a);void 0!==s&&rV(n,s,i)}}}}},a=function(){if(o(),""===i.relationshipId){var a=aV(e),l=sV(n).ensurePart(t,a,r,SV(n),xV(n));a.setHeaderFooterReference(t,r,l.relationshipId),i.bindRelationshipId(l.relationshipId),tV(l.relationshipId,i),rV(n,l.entry,i)}};return i.bindLifecycleHandlers(function(){a()},function(){""!==i.relationshipId&&nV(n,i.relationshipId,i)}),o(),i}function aV(e){var t=e.owningDocument(),r=t.sections,n=r.indexOf(e);if(n>=0&&n===r.count-1){var i=UI(t);return e.setPageSetup(i),i}var o=e.pageSetup;if(o instanceof FX)return LC(o,t),o;var a=_C();LC(a,t),e.setPageSetup(a);for(var l=e.body.listBlocks(),s=l.length-1;s>=0;s-=1){var u=l[s];if(void 0!==u&&"paragraph"===u.type){zI(u.paragraph,a);break}}return a}function lV(e){if(e instanceof lY)return!0;if(null===e||"object"!=typeof e)return!1;var t=e;return!0===t[ZX]||"function"==typeof t.bindDocument&&"function"==typeof t.ensurePart&&"function"==typeof t.setSimpleText&&"function"==typeof t.textForRelationship&&"function"==typeof t.applyToPackage}function sV(e){var t=e.featurePart(YX);if(lV(t))return t.bindDocument(e),t;if(void 0!==t)throw new $N("feature/not-registered","Headers/footers feature state was replaced with an unexpected part type");if(!ze(YX))throw new $N("feature/not-registered","Headers/footers feature is not registered; call registerHeadersFootersFeature() before use");var r=new lY(new Map);return r.bindDocument(e),e.setFeaturePart(YX,r),r}function uV(e){return sV(e).relationshipIds("header").map(function(t){return iV(e,t,"header")})}function cV(e){return sV(e).relationshipIds("footer").map(function(t){return iV(e,t,"footer")})}function dV(e,t,r){void 0===r&&(r="default");var n=t.headerFooterReferenceId("header",r);if(void 0!==n&&sV(e).hasRelationship(n))return iV(e,n,"header",r)}function hV(e,t,r){void 0===r&&(r="default");var n=t.headerFooterReferenceId("footer",r);if(void 0!==n&&sV(e).hasRelationship(n))return iV(e,n,"footer",r)}function fV(e){var t=_I(e);if(void 0!==t)return dV(e,t,"default")}function pV(e){var t=_I(e);if(void 0!==t)return hV(e,t,"default")}function vV(e){var t=_I(e);if(void 0!==t)return dV(e,t,"first")}function mV(e){var t=_I(e);if(void 0!==t)return dV(e,t,"even")}function yV(e){var t=_I(e);if(void 0!==t)return hV(e,t,"first")}function gV(e){var t=_I(e);if(void 0!==t)return hV(e,t,"even")}function bV(e){var t=pt(GI(e.kind),{attributes:e.rootExtra.attributes,namespaceDeclarations:e.rootExtra.namespaceDeclarations,children:za(e.blocks)});return iY.encode(y(t))}function wV(e,t){for(var r="header"===e?"header":"footer",n=1;t.has(W(q("/word/"+r+String(n)+".xml")));)n+=1;return q("/word/"+r+String(n)+".xml")}function PV(e,t){var r,n,i=Fe(e,t),o=new Map;try{for(var a=GX(i.items),l=a.next();!l.done;l=a.next()){var s=l.value,u=HI(s.type);if(void 0!==u){var c=ke(e,ie(s.target,t));if(void 0!==c){var d=eV(c,s,u);void 0!==d&&o.set(d.partName,d)}}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return new lY(o)}function SV(e){var t,r,n=q("/word/document.xml"),i=new Set;try{for(var o=GX(Fe(e.opcPackage(),n).items),a=o.next();!a.done;a=o.next()){var l=a.value;i.add(l.id)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}function xV(e){var t,r,n=new Set;try{for(var i=GX(e.opcPackage().parts),o=i.next();!o.done;o=i.next()){var a=o.value;n.add(W(a.name))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function CV(e){var t=_I(e);if(void 0!==t)return t;var r=_C();return jI(e,r),r}function IV(){uY=!1,sY.clear(),il(),ll()}function VV(){uY||(uY=!0,je({id:YX}),tt({featureId:YX,relationshipTypes:rY,loadParts:function(e,t){return PV(e,t.mainPartName)}}),nl({createHeader:function(e,t){return oV(e,"header",t)},createFooter:function(e,t){return oV(e,"footer",t)}}),al(function(e,t){var r=e.pageSetup;if(r instanceof FX){var n=e.owningDocument();if(t)return r.setHeaderFooterReference("header","default",void 0),r.setHeaderFooterReference("header","first",void 0),r.setHeaderFooterReference("header","even",void 0),r.setHeaderFooterReference("footer","default",void 0),r.setHeaderFooterReference("footer","first",void 0),void r.setHeaderFooterReference("footer","even",void 0);jV(n,r,"default"),jV(n,r,"first"),jV(n,r,"even"),MV(n,r,"default"),MV(n,r,"first"),MV(n,r,"even")}},function(e){var t=e.pageSetup;return!(t instanceof FX)||!(void 0!==t.headerFooterReferenceId("header","default")||void 0!==t.headerFooterReferenceId("header","first")||void 0!==t.headerFooterReferenceId("header","even")||void 0!==t.headerFooterReferenceId("footer","default")||void 0!==t.headerFooterReferenceId("footer","first")||void 0!==t.headerFooterReferenceId("footer","even"))}))}function TV(e){var t=sV(e),r=_I(e),n=null==r?void 0:r.headerFooterReferenceId("header","default");return t.textForRelationship(n)}function kV(e){var t=sV(e),r=_I(e),n=null==r?void 0:r.headerFooterReferenceId("footer","default");return t.textForRelationship(n)}function FV(e,t){var r=CV(e);AV(e,r,t,"default"),jI(e,r)}function DV(e,t){var r=CV(e);EV(e,r,t,"default"),jI(e,r)}function OV(e,t,r){void 0===r&&(r="default");var n=sV(e),i=t.headerFooterReferenceId("header",r);return n.textForRelationship(i)}function NV(e,t,r){void 0===r&&(r="default");var n=sV(e),i=t.headerFooterReferenceId("footer",r);return n.textForRelationship(i)}function AV(e,t,r,n){void 0===n&&(n="default");var i=sV(e),o=i.ensurePart("header",t,n,SV(e),xV(e)),a=o.entry,l=o.relationshipId;i.setSimpleText(a,r),t.setHeaderFooterReference("header",n,l)}function EV(e,t,r,n){void 0===n&&(n="default");var i=sV(e),o=i.ensurePart("footer",t,n,SV(e),xV(e)),a=o.entry,l=o.relationshipId;i.setSimpleText(a,r),t.setHeaderFooterReference("footer",n,l)}function LV(e,t,r,n){if(void 0===n&&(n="default"),!sV(e).hasRelationship(r))throw new $N("content/invalid-header-footer-reference","Header/footer relationship "+r+" is not loaded in this document");t.setHeaderFooterReference("header",n,r)}function RV(e,t,r,n){if(void 0===n&&(n="default"),!sV(e).hasRelationship(r))throw new $N("content/invalid-header-footer-reference","Header/footer relationship "+r+" is not loaded in this document");t.setHeaderFooterReference("footer",n,r)}function BV(e){var t=BC(e);if(void 0===t)throw new Error("sections: header/footer association requires section properties associated with a document (use section.pageSetup on a document section)");return t}function _V(e){return void 0===e?"default":e}function jV(e,t,r){var n=sV(e).ensurePart("header",t,r,SV(e),xV(e));return t.setHeaderFooterReference("header",r,n.relationshipId),iV(e,n.relationshipId,"header",r)}function MV(e,t,r){var n=sV(e).ensurePart("footer",t,r,SV(e),xV(e));return t.setHeaderFooterReference("footer",r,n.relationshipId),iV(e,n.relationshipId,"footer",r)}function zV(e,t){var r=e.endsWith("Header");Object.defineProperty(FX.prototype,e,{configurable:!0,enumerable:!1,get:function(){var e=BV(this);return r?jV(e,this,t):MV(e,this,t)},set:function(n){var i=BV(this);if(void 0===n)return void this.setHeaderFooterReference(r?"header":"footer",t,void 0);if(!(n instanceof iB))throw new $N("argument/invalid",e+" setter expects HeaderFooter | undefined");if(r){if("header"!==n.kind)throw new $N("argument/invalid",e+" setter expects a header HeaderFooter");return void LV(i,this,n.relationshipId,t)}if("footer"!==n.kind)throw new $N("argument/invalid",e+" setter expects a footer HeaderFooter");RV(i,this,n.relationshipId,t)}})}function UV(e,t,r,n){void 0===n&&(n="default");var i=MI(t);void 0===i&&(i=_C()),AV(e,i,r,n),zI(t,i)}function HV(e,t,r,n){void 0===n&&(n="default");var i=MI(t);void 0===i&&(i=_C()),EV(e,i,r,n),zI(t,i)}function WV(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===cA||""===e.namespaceUri)});return null==r?void 0:r.value}function GV(e){switch(e){case"catalog":case"envelopes":case"mailingLabels":case"formLetters":case"email":case"fax":return e;default:return}}function qV(e){switch(e){case"newDocument":case"printer":case"email":case"fax":return e;default:return}}function XV(e,t){return e.find(function(e){return ut(e,t)})}function YV(e){if(void 0===e||!ut(e,"settings"))return{present:!1,mainDocumentType:void 0,dataType:void 0,destination:void 0};var t=XV(ct(e),"mailMerge");if(void 0===t)return{present:!1,mainDocumentType:void 0,dataType:void 0,destination:void 0};var r=ct(t),n=XV(r,"mainDocumentType"),i=XV(r,"dataType"),o=XV(r,"destination");return{present:!0,mainDocumentType:GV(void 0===n?void 0:WV(n,"val")),dataType:void 0===i?void 0:WV(i,"val"),destination:qV(void 0===o?void 0:WV(o,"val"))}}function ZV(e){var t,r;if(void 0===e)return 0;var n=d(hY.decode(e));if("recipients"!==n.localName)return 0;var i=0;try{for(var o=cY(ct(n)),a=o.next();!a.done;a=o.next())"recipientData"===a.value.localName&&(i+=1)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}function KV(e,t,r){var n,i;try{for(var o=cY(Fe(e,t).items),a=o.next();!a.done;a=o.next()){var l=a.value;if(-1!==r.indexOf(l.type)&&l.targetMode!==sE.External){var s=ke(e,ie(l.target,t));if(void 0!==s)return{name:s.name,data:s.data}}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function JV(e,t,r){var n,i,o=[];try{for(var a=cY(Fe(e,t).items),l=a.next();!l.done;l=a.next()){var s=l.value;-1!==r.indexOf(s.type)&&s.targetMode===sE.External&&o.push(s.target)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}function $V(e,t){var r=KV(e,t,fY);if(void 0===r)return new mY({present:!1,mainDocumentType:void 0,dataType:void 0,destination:void 0},void 0,0,[]);var n=YV(d(hY.decode(r.data))),i=KV(e,r.name,pY),o=JV(e,r.name,vY);return new mY(n,null==i?void 0:i.data,ZV(null==i?void 0:i.data),o)}function QV(){yY=!1}function eT(){yY||(yY=!0,je({id:dY}),tt({featureId:dY,relationshipTypes:pY,loadParts:function(e,t){return $V(e,t.mainPartName)}}))}function tT(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)}),null==r?void 0:r.value}function rT(e){if(void 0!==e&&/^-?\d+$/.test(e))return Number.parseInt(e,10)}function nT(e){if("normal"===e||"separator"===e||"continuationSeparator"===e||"continuationNotice"===e)return e}function iT(e,t){return e<=0||"separator"===t||"continuationSeparator"===t||"continuationNotice"===t}function oT(e){return"footnote"===e?"footnotes":"endnotes"}function aT(e){return"footnote"===e?"footnote":"endnote"}function lT(e){return"footnote"===e?TY:kY}function sT(e){return"footnote"===e?IY:VY}function uT(e){return e.slice("/word/".length)}function cT(e){return-1!==FY.indexOf(e)?"footnote":-1!==DY.indexOf(e)?"endnote":void 0}function dT(e){var t,r,n,i;try{for(var o=wY(e),a=o.next();!a.done;a=o.next()){var l=a.value;if("paragraph"===l.type)try{for(var s=wY(l.paragraph.items),u=s.next();!u.done;u=s.next()){var c=u.value;if(c instanceof MR)return c.text}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}function hT(e,t,r){return new AY(e,t,r)}function fT(e,t){"object"==typeof e&&null!==e&&"bindDocument"in e&&e.bindDocument.call(e,t)}function pT(e){if("object"==typeof e&&null!==e&&"releaseContent"in e){var t=e.releaseContent;"function"==typeof t&&t.call(e)}}function vT(e,t,r){var n,i,o=hT(e,t,r.noteId);try{for(var a=wY(r.blocks),l=a.next();!l.done;l=a.next()){var s=l.value;"paragraph"===s.type?s.paragraph.attach(o):"feature"===s.type&&fT(s.value,e)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}function mT(e){var t,r;try{for(var n=wY(e),i=n.next();!i.done;i=n.next()){var o=i.value;"paragraph"===o.type?o.paragraph.detach():"feature"===o.type&&pT(o.value)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function yT(e,t){return void 0===t&&(t=NY),Ma([pt("p",{children:[pt("r",{children:[pt("t",{children:[{kind:"text",value:e}]})]})]})],t)}function gT(e){var t=aT(e);return[{noteId:-1,noteType:"separator",blocks:[],preservedXml:pt(t,{attributes:[ht("type","separator"),ht("id","-1")],children:[pt("p",{children:[pt("r",{children:[pt("separator")]})]})]})},{noteId:0,noteType:"continuationSeparator",blocks:[],preservedXml:pt(t,{attributes:[ht("type","continuationSeparator"),ht("id","0")],children:[pt("p",{children:[pt("r",{children:[pt("continuationSeparator")]})]})]})}]}function bT(e){var t,r,n=aT(e.kind),i=[];try{for(var o=wY(e.entries),a=o.next();!a.done;a=o.next()){var l=a.value;if(void 0===l.preservedXml){var s=[ht("id",String(l.noteId))];void 0!==l.noteType&&"normal"!==l.noteType&&s.push(ht("type",l.noteType)),i.push(pt(n,{attributes:s,children:za(l.blocks)}))}else i.push(l.preservedXml)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}var u=pt(oT(e.kind),{attributes:e.rootExtra.attributes,namespaceDeclarations:e.rootExtra.namespaceDeclarations.length>0?e.rootExtra.namespaceDeclarations:[{prefix:"w",namespaceUri:SY}],children:i});return CY.encode(y(u))}function wT(e,t,r){var n,i,o=d(xY.decode(e.data));if(ut(o,oT(r))){var a=[],l=aT(r);try{for(var s=wY(ct(o)),u=s.next();!u.done;u=s.next()){var c=u.value;if(ut(c,l)){var h=rT(tT(c,"id"));if(void 0!==h){var f=nT(tT(c,"type"));iT(h,f)?a.push({noteId:h,noteType:f,blocks:[],preservedXml:c}):a.push({noteId:h,noteType:null!=f?f:"normal",blocks:Ma(c.children,NY),preservedXml:void 0})}}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return{partName:e.name,relationshipId:t.id,relationshipType:t.type,kind:r,rootExtra:{attributes:o.attributes,namespaceDeclarations:o.namespaceDeclarations.length>0?o.namespaceDeclarations:[{prefix:"w",namespaceUri:SY}]},entries:a,dirty:!1,pendingRelationship:void 0}}}function PT(e,t){var r=q("/word/"+("footnote"===e?"footnotes.xml":"endnotes.xml"));if(!t.has(W(r)))return r;for(var n=2;t.has(W(q("/word/"+e+String(n)+".xml")));)n+=1;return q("/word/"+e+String(n)+".xml")}function ST(e){var t,r,n=0;try{for(var i=wY(e),o=i.next();!o.done;o=i.next()){var a=o.value;a.noteId>n&&!iT(a.noteId,a.noteType)&&(n=a.noteId)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n+1}function xT(e,t){var r,n,i=new Map;try{for(var o=wY(Fe(e,t).items),a=o.next();!a.done;a=o.next()){var l=a.value,s=cT(l.type);if(void 0!==s){var u=ke(e,ie(l.target,t));if(void 0!==u){var c=wT(u,l,s);void 0!==c&&i.set(s,c)}}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return new RY(i)}function CT(e){var t,r,n=q("/word/WordDocument.xml"),i=new Set;try{for(var o=wY(Fe(e.opcPackage(),n).items),a=o.next();!a.done;a=o.next()){var l=a.value;i.add(l.id)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}function IT(e){var t,r,n=new Set;try{for(var i=wY(e.opcPackage().parts),o=i.next();!o.done;o=i.next()){var a=o.value;n.add(W(a.name))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function VT(){jY=!1}function TT(){jY||(jY=!0,je({id:PY}),tt({featureId:PY,relationshipTypes:OY,loadParts:function(e,t){return xT(e,t.mainPartName)}}),bt({featureId:PY,wmlLocalName:"footnoteReference",tryParse:function(e){if(ut(e,"footnoteReference")){var t=rT(tT(e,"id"));if(void 0!==t)return new EY(t)}}}),bt({featureId:PY,wmlLocalName:"endnoteReference",tryParse:function(e){if(ut(e,"endnoteReference")){var t=rT(tT(e,"id"));if(void 0!==t)return new LY(t)}}}))}function kT(e){var t=e.featurePart(PY);if(t instanceof RY)return t.bindDocument(e),t;if(void 0!==t)throw new $N("feature/not-registered","Notes feature state was replaced with an unexpected part type");if(!ze(PY))throw new $N("feature/not-registered","Notes feature is not registered; call registerNotesFeature() before use");var r=new RY(new Map);return r.bindDocument(e),e.setFeaturePart(PY,r),r}function FT(e){var t=MY.get(e);return void 0===t&&(t=new Map,MY.set(e,t)),t}function DT(e){var t=zY.get(e);return void 0===t&&(t=new Map,zY.set(e,t)),t}function OT(e,t){var r=FT(e),n=r.get(t);if(void 0!==n)return n;var i=new BY(e,t);return r.set(t,i),i}function NT(e,t){var r=DT(e),n=r.get(t);if(void 0!==n)return n;var i=new _Y(e,t);return r.set(t,i),i}function AT(e,t){return OT(e,t.noteId)}function ET(e,t){return NT(e,t.noteId)}function LT(e){var t=[],r=new Set;return Mt(e,function(n){var i,o;try{for(var a=wY(MT(n)),l=a.next();!l.done;l=a.next()){var s=l.value;r.has(s.noteId)||(r.add(s.noteId),t.push(OT(e,s.noteId)))}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}),t}function RT(e){var t=[],r=new Set;return Mt(e,function(n){var i,o;try{for(var a=wY(zT(n)),l=a.next();!l.done;l=a.next()){var s=l.value;r.has(s.noteId)||(r.add(s.noteId),t.push(NT(e,s.noteId)))}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}),t}function BT(e){TT();var t=WY.get(e);if(void 0!==t)return t.rebuildIndexProperties(),t;var r=new UY(e);return r.rebuildIndexProperties(),WY.set(e,r),r}function _T(e){TT();var t=GY.get(e);if(void 0!==t)return t.rebuildIndexProperties(),t;var r=new HY(e);return r.rebuildIndexProperties(),GY.set(e,r),r}function jT(e,t){var r,n,i=[];try{for(var o=wY(e.items),a=o.next();!a.done;a=o.next()){var l=a.value;t(l)&&i.push(l.value)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i}function MT(e){return jT(e,ZT)}function zT(e){return jT(e,KT)}function UT(e,t){return kT(e).textForNote("footnote",t.noteId)}function HT(e,t){return kT(e).textForNote("endnote",t.noteId)}function WT(t,r,n){var i=kT(t);i.ensurePart("footnote",CT(t),IT(t));var o=i.addNormalEntry("footnote",n),a=new EY(o);return r.appendFeatureRunItem(PY,a).wireGroup.characterFormat.subSuperScript=e.SubSuperScript.SuperScript,a}function GT(t,r,n){var i=kT(t);i.ensurePart("endnote",CT(t),IT(t));var o=i.addNormalEntry("endnote",n),a=new LY(o);return r.appendFeatureRunItem(PY,a).wireGroup.characterFormat.subSuperScript=e.SubSuperScript.SuperScript,a}function qT(e,t){var r,n;try{for(var i=wY(e.items),o=i.next();!o.done;o=i.next()){var a=o.value;if(a instanceof RR&&a.featureId===PY&&a.value===t)return void e.removeFeatureRunItem(t)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}throw new $N("content/unknown-note","Note reference is not in this paragraph")}function XT(e,t,r){qT(t,r),kT(e).removeNormalEntry("footnote",r.noteId)}function YT(e,t,r){qT(t,r),kT(e).removeNormalEntry("endnote",r.noteId)}function ZT(e){return e instanceof RR&&e.featureId===PY&&e.value instanceof EY}function KT(e){return e instanceof RR&&e.featureId===PY&&e.value instanceof LY}function JT(e,t){var r,n;if(0===t.length)return e;var i=new Set(e.items.map(function(e){return e.id})),o=KY(e.items);try{for(var a=JY(t),l=a.next();!l.done;l=a.next()){for(var s=l.value,u=s.id;i.has(u);)u=ae(i);i.add(u),o.push(YY({},s,{id:u}))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return me(o,e.opaque)}function $T(e){return e.slice("/word/".length)}function QT(e){for(var t=1;e.has(W(""+QY+String(t)+eZ));)t+=1;return q(""+QY+String(t)+eZ)}function ek(e,t){for(var r=tk(e),n=1;t.has(W(""+tZ+String(n)+"."+r));)n+=1;return q(""+tZ+String(n)+"."+r)}function tk(e){return e===uq?"jpeg":"png"}function rk(e){return SS(e)}function nk(e,t){var r,n,i,o,a=new Set;try{for(var l=JY(e.opcPackage().parts),s=l.next();!s.done;s=l.next()){var u=s.value;a.add(W(u.name))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}try{for(var c=JY(t.pendingPartNames()),d=c.next();!d.done;d=c.next()){var h=d.value;a.add(W(h))}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return a}function ik(e,t,r){var n=ak(e,r.partName);return n=lk(n,r.partName),n=sk(n,t,function(e){return e.id!==r.relationshipId})}function ok(e,t,r){var n=ak(e,r.partName);return n=lk(n,r.partName),n=sk(n,t,function(e){return e.id!==r.relationshipId})}function ak(e,t){var r=W(t),n=e.parts.filter(function(e){return W(e.name)!==r});return n.length===e.parts.length?e:YY({},e,{parts:n})}function lk(e,t){return YY({},e,{contentTypes:{records:e.contentTypes.records.filter(function(e){return!("override"===e.kind&&e.partName===t)})}})}function sk(e,t,r){var n=Fe(e,t),i=n.items.filter(r);return i.length===n.items.length?e:Le(e,t,me(i,n.opaque))}function uk(e){return e===qY||e===XY}function ck(e){return e===mq}function dk(e){if(e.contentType===sq||e.contentType===uq)return e.contentType}function hk(e,t){var r,n,i=Fe(e,t),o=new Map,a=new Map,l=new Map;try{for(var s=JY(i.items),u=s.next();!u.done;u=s.next()){var c=u.value;if(uk(c.type)){if(c.targetMode===sE.External){a.set(c.id,{relationshipId:c.id,target:c.target,relationshipType:c.type,pendingRelationship:void 0});continue}if(c.type===XY)continue;var d=ke(e,fk(c.target,t));if(void 0===d)continue;o.set(d.name,{partName:d.name,relationshipId:c.id,relationshipType:c.type,contentType:d.contentType,data:d.data,dirty:!1,pendingRelationship:void 0})}else if(ck(c.type)&&c.targetMode!==sE.External){var h=ke(e,fk(c.target,t));if(void 0!==h){var f=dk(h);void 0!==f&&l.set(h.name,{partName:h.name,relationshipId:c.id,relationshipType:c.type,contentType:f,data:h.data,dirty:!1,pendingRelationship:void 0})}}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return new rZ(o,a,l)}function fk(e,t){return q(e.startsWith("/")?e:""+t.slice(0,t.lastIndexOf("/")+1)+e)}function pk(e){return e.children.filter(function(e){return"element"===e.kind})}function vk(e,t,r){var n;return n=e.attributes.find(function(e){return e.namespaceUri===t&&e.localName===r}),null==n?void 0:n.value}function mk(e){var t,r;try{for(var n=iZ(pk(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.namespaceUri===lZ&&o.localName===hZ)return{oleElement:o,wireForm:"office"};if(o.namespaceUri===sZ&&(o.localName===fZ||o.localName===pZ))return{oleElement:o,wireForm:"wml"}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function yk(e,t,r){return{element:e,oleElement:t,wireForm:r}}function gk(e){if("wml"===e.wireForm)return e.oleElement.localName===pZ?uZ.Link:uZ.Embed;var t=vk(e.oleElement,"","Type");return t===vZ.Link?uZ.Link:t===vZ.Embed?uZ.Embed:void 0}function bk(e){return"wml"===e.wireForm?vk(e.oleElement,"","progId"):vk(e.oleElement,"","ProgID")}function wk(e){return"wml"===e.wireForm?vk(e.oleElement,"","shapeId"):vk(e.oleElement,"","ShapeID")}function Pk(e){if("wml"!==e.wireForm){var t=vk(e.oleElement,"","DrawAspect");return t===mZ.Content?cZ.Content:t===mZ.Icon?cZ.Icon:void 0}var r=vk(e.oleElement,"","drawAspect");return r===gZ.Content?cZ.Content:r===gZ.Icon?cZ.Icon:void 0}function Sk(e){return"wml"===e.wireForm?void 0:vk(e.oleElement,"","ObjectID")}function xk(e){if("wml"!==e.wireForm){var t=vk(e.oleElement,"","UpdateMode");return t===yZ.Always?dZ.Always:t===yZ.OnCall?dZ.OnCall:void 0}if(e.oleElement.localName===pZ){var r=vk(e.oleElement,"","updateMode");return r===bZ.Always?dZ.Always:r===bZ.OnCall?dZ.OnCall:void 0}}function Ck(e){var t=e.trim().toLowerCase();return"t"===t||"true"===t||"on"===t||"f"!==t&&"false"!==t&&"off"!==t&&"0"!==t&&void 0}function Ik(e){var t=e.trim().toLowerCase();return"f"===t||"false"===t||"off"===t||"0"===t}function Vk(e){if("wml"===e.wireForm){if(e.oleElement.localName!==pZ)return;var t=vk(e.oleElement,"","lockedField");return void 0===t?void 0:Ck(t)}var r=pk(e.oleElement).find(function(e){return e.namespaceUri===lZ&&"LockedField"===e.localName});if(void 0!==r){var n=r.children.find(function(e){return"text"===e.kind});return void 0===n||Ck(n.value)}}function Tk(e){if("office"===e.wireForm){var t=pk(e.oleElement).find(function(e){return e.namespaceUri===lZ&&"LinkType"===e.localName}),r=(null==t?void 0:t.children).find(function(e){return"text"===e.kind});return null==r?void 0:r.value}}function kk(e){if("wml"===e.wireForm)return vk(e.oleElement,"","fieldCodes");var t=pk(e.oleElement).find(function(e){return e.namespaceUri===lZ&&"FieldCodes"===e.localName}),r=(null==t?void 0:t.children).find(function(e){return"text"===e.kind});return null==r?void 0:r.value}function Fk(e){var t=e.trim();if(t.endsWith("pt")){var r=Number(t.slice(0,-2));return Number.isFinite(r)?r:void 0}var n=Number(t);return Number.isFinite(n)?Ur(n):void 0}function Dk(e){var t,r=(t=vk(e.element,sZ,"dxaOrig"),null!=t?t:vk(e.element,"","dxaOrig"));return void 0===r?void 0:Fk(r)}function Ok(e){var t,r=(t=vk(e.element,sZ,"dyaOrig"),null!=t?t:vk(e.element,"","dyaOrig"));return void 0===r?void 0:Fk(r)}function Nk(e,t,r,n,i){var o=e.attributes.findIndex(function(e){return e.namespaceUri===t&&e.localName===r});if(void 0===n)return o<0?e:nZ({},e,{attributes:e.attributes.filter(function(e,t){return t!==o})});var a=e.attributes[o],l=void 0!==a?a.prefix:i,s={namespaceUri:t,localName:r,prefix:l,value:n};return o>=0?nZ({},e,{attributes:e.attributes.map(function(e,t){return t===o?s:e})}):nZ({},e,{attributes:aZ(e.attributes,[s])})}function Ak(e,t){var r=t(pk(e)),n=e.children.filter(function(e){return"text"===e.kind});return nZ({},e,{children:aZ(n,r)})}function Ek(e){return{kind:"element",namespaceUri:e.namespaceUri,localName:e.localName,prefix:e.prefix,attributes:e.attributes.map(function(e){return nZ({},e)}),namespaceDeclarations:e.namespaceDeclarations.map(function(e){return nZ({},e)}),children:e.children.map(function(e){return"element"===e.kind?Ek(e):{kind:"text",value:e.value}})}}function Lk(e,t,r){throw new $N("content/invalid-ole-object","Invalid OleObject "+e+' "'+String(t)+'"; expected one of: '+r.join(", "))}function Rk(e,t,r,n){var i;return-1===r.indexOf(t)&&Lk(e,t,n),i=n[r.indexOf(t)],null!=i?i:t}function Bk(e,t){return"wml"===e.wireForm?Rk("drawAspect",t,wZ,ai(gZ)):Rk("DrawAspect",t,wZ,ai(mZ))}function _k(e,t){return"wml"===e.wireForm?Rk("updateMode",t,PZ,ai(bZ)):Rk("UpdateMode",t,PZ,ai(yZ))}function jk(e){var t=zr(e);if(t<=0||!Number.isFinite(t))throw new $N("content/invalid-ole-object","OleObject original size must be a positive point value");return String(t)}function Mk(e,t){var r=Ek(e.element),n=mk(r);if(void 0===n)throw new $N("content/invalid-ole-object","OLE object element lost its OLE child");var i=n.oleElement,o=r,a="office"===e.wireForm;if("originalWidth"in t&&(o=Nk(o,sZ,"dxaOrig",void 0===t.originalWidth?void 0:jk(t.originalWidth),"w")),"originalHeight"in t&&(o=Nk(o,sZ,"dyaOrig",void 0===t.originalHeight?void 0:jk(t.originalHeight),"w")),"type"in t&&a){l=t.type;i=void 0===l?Nk(i,"","Type",void 0,""):l===uZ.Link?Nk(i,"","Type",vZ.Link,""):Nk(i,"","Type",vZ.Embed,"")}if("progId"in t&&(i=Nk(i,"",a?"ProgID":"progId",t.progId,"")),"shapeId"in t&&(i=Nk(i,"",a?"ShapeID":"shapeId",t.shapeId,"")),"drawAspect"in t){l=t.drawAspect;i=Nk(i,"",a?"DrawAspect":"drawAspect",void 0===l?void 0:Bk(e,l),"")}if("objectId"in t&&a&&(i=Nk(i,"","ObjectID",t.objectId,"")),"updateMode"in t){l=t.updateMode;(a||e.oleElement.localName===pZ)&&(i=Nk(i,"",a?"UpdateMode":"updateMode",void 0===l?void 0:_k(e,l),""))}if(a)i=Ak(i,function(e){var r=e;return"linkTypeDescription"in t&&(r=zk(r,"LinkType",t.linkTypeDescription)),"lockedField"in t&&(r=zk(r,"LockedField",void 0===t.lockedField?void 0:t.lockedField?"t":"f")),"fieldCodes"in t&&(r=zk(r,"FieldCodes",t.fieldCodes)),r});else if("lockedField"in t||"fieldCodes"in t){if("lockedField"in t){var l=t.lockedField;i=Nk(i,"","lockedField",void 0===l?void 0:l?"true":"false","")}"fieldCodes"in t&&(i=Nk(i,"","fieldCodes",t.fieldCodes,""))}return o=nZ({},o,{children:o.children.map(function(e){return"element"===e.kind&&e===n.oleElement?i:e})}),{element:o,oleElement:i,wireForm:e.wireForm}}function zk(e,t,r){var n=e.filter(function(e){return!(e.namespaceUri===lZ&&e.localName===t)});if(void 0===r)return n;var i={kind:"element",namespaceUri:lZ,localName:t,prefix:"o",attributes:[],namespaceDeclarations:[],children:[{kind:"text",value:r}]},o=["LinkType","LockedField","FieldCodes"],a=o.indexOf(t),l=n.findIndex(function(e){if(e.namespaceUri!==lZ)return!1;var t=o.indexOf(e.localName);return t>=0&&t>a});return l<0?aZ(n,[i]):aZ(n.slice(0,l),[i],n.slice(l))}function Uk(e,t,r){return vk(e,t,r)}function Hk(e){return pk(e)}function Wk(e){return Ik(e)}function Gk(e){var t=new Uint8Array(e.byteLength);return t.set(e),t}function qk(e,t){var r=e.element,n=r.children.findIndex(function(t){return"element"===t.kind&&(t===e.oleElement||t.namespaceUri===e.oleElement.namespaceUri&&t.localName===e.oleElement.localName)});if(n<0)return e;var i=r.children[n];if(void 0===i||"element"!==i.kind)return e;var o=i.attributes.map(function(e){return"http://schemas.openxmlformats.org/officeDocument/2006/relationships"===e.namespaceUri&&"id"===e.localName?SZ({},e,{value:t}):e}),a=SZ({},i,{attributes:o});return{element:SZ({},r,{children:r.children.map(function(e,t){return t===n?a:e})}),oleElement:a,wireForm:e.wireForm}}function Xk(e){var t,r,n,i;try{for(var o=xZ(e.children),a=o.next();!a.done;a=o.next()){var l=a.value;if("element"===l.kind&&l.namespaceUri===kZ&&"shape"===l.localName)try{for(var s=xZ(l.children),u=s.next();!u.done;u=s.next()){var c=u.value;if("element"===c.kind&&c.namespaceUri===kZ&&"imagedata"===c.localName){var d=Uk(c,FZ,"id");if(void 0!==d&&d.length>0)return d}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}function Yk(e,t){for(var r,n,i,o=e.element,a=-1,l=0;l<o.children.length;l++)if(void 0!==(y=o.children[l])&&"element"===y.kind&&y.namespaceUri===kZ&&"shape"===y.localName){a=l,i=y;break}if(void 0===i)return e;for(var s,u=-1,l=0;l<i.children.length;l++)if(void 0!==(y=i.children[l])&&"element"===y.kind&&y.namespaceUri===kZ&&"imagedata"===y.localName){u=l,s=y;break}if(void 0===s)return e;var c=s.attributes.some(function(e){return e.namespaceUri===FZ&&"id"===e.localName})?s.attributes.map(function(e){return e.namespaceUri===FZ&&"id"===e.localName?SZ({},e,{value:t}):e}):IZ(s.attributes,[{namespaceUri:FZ,prefix:"r",localName:"id",value:t}]),d=SZ({},s,{attributes:c}),h=SZ({},i,{children:i.children.map(function(e,t){return t===u?d:e})}),f=SZ({},o,{children:o.children.map(function(e,t){return t===a?h:e})}),p=e.oleElement;if(e.oleElement===i)p=h;else try{for(var v=xZ(f.children),m=v.next();!m.done;m=v.next()){var y=m.value;if("element"===y.kind&&y.namespaceUri===e.oleElement.namespaceUri&&y.localName===e.oleElement.localName){p=y;break}}}catch(e){r={error:e}}finally{try{m&&!m.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}return{element:f,oleElement:p,wireForm:e.wireForm}}function Zk(e,t){DZ.set(e,t)}function Kk(e){return DZ.get(e)}function Jk(e){if(ut(e,"object")){var t=mk(e);if(void 0!==t)return new TZ(e,t.oleElement)}}function $k(){OZ=!1}function Qk(){OZ||(OZ=!0,je({id:VZ}),tt({featureId:VZ,relationshipTypes:[qY],loadParts:function(e,t){return hk(e,t.mainPartName)}}),_t({featureId:VZ,materialize:function(e){var t=e.featurePart(VZ);t instanceof rZ&&t.materializePending(e,nF(e))}}),bt({featureId:VZ,wmlLocalName:"object",tryParse:Jk}))}function eF(e){return e instanceof RR&&e.featureId===VZ&&e.value instanceof TZ}function tF(e){var t,r,n=[];try{for(var i=xZ(e),o=i.next();!o.done;o=i.next()){var a=o.value;eF(a)&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function rF(e){return tF(e.items.toArray())}function nF(e){var t,r,n,i,o=[];try{for(var a=xZ(e.listBlocks()),l=a.next();!l.done;l=a.next()){var s=l.value;if("paragraph"===s.type)try{for(var u=xZ(rF(s.paragraph)),c=u.next();!c.done;c=u.next()){var d=c.value;Zk(d,e),o.push(d)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return o}function iF(e){var t=e.progId;if("string"!=typeof t||0===t.length)throw new $N("content/invalid-ole-object",'appendOleObject requires a non-empty progId (e.g. "Excel.Sheet.12")');var r,n=void 0!==e.bytes,i="string"==typeof e.linkTarget&&e.linkTarget.length>0,o=void 0!==e.updateMode||void 0!==e.lockedField||void 0!==e.fieldCodes||void 0!==e.linkTypeDescription;if("embed"===(r=e.linkType===uZ.Link?"link":e.linkType===uZ.Embed?"embed":i&&!n?"link":"embed")&&o)throw new $N("content/invalid-ole-object","updateMode, lockedField, fieldCodes, and linkTypeDescription apply only to linked OLE objects");if("embed"===r&&i)throw new $N("content/invalid-ole-object","linkTarget applies only to linked OLE objects");if("link"===r&&n)throw new $N("content/invalid-ole-object","payload bytes apply only to embedded OLE objects; linked objects store an external target string only");var a,l,s=oF("width",null!=e.width?e.width:72),u=oF("height",null!=e.height?e.height:72),c=!0===e.displayAsIcon?cZ.Icon:cZ.Content;if(void 0!==e.iconBytes){var d=e.iconBytes;if(!(d instanceof Uint8Array)||0===d.byteLength)throw new $N("content/invalid-ole-object","appendOleObject iconBytes must be a non-empty PNG or JPEG byte sequence");var h=wS(d);if(void 0===h)throw new $N("content/invalid-ole-object","appendOleObject iconBytes must sniff as image/png or image/jpeg");a=Gk(d),l=h}var f={progId:t,width:s,height:u,drawAspect:c,name:e.name,description:e.description,iconBytes:a,iconContentType:l};if("link"===r){var p=e.linkTarget;if("string"!=typeof p||0===p.length)throw new $N("content/invalid-ole-object","appendOleObject link path requires a non-empty linkTarget string");var v=e.updateMode===dZ.OnCall?dZ.OnCall:dZ.Always;return SZ({kind:"link"},f,{linkTarget:p,updateMode:v,lockedField:e.lockedField,fieldCodes:e.fieldCodes,linkTypeDescription:e.linkTypeDescription})}var m=e.bytes;if(!(m instanceof Uint8Array)||0===m.byteLength)throw new $N("content/invalid-ole-object","appendOleObject embed requires non-empty bytes for the embedded object");return SZ({kind:"embed"},f,{bytes:m,contentType:null!=e.contentType?e.contentType:$Y})}function oF(e,t){var r=t;if("number"!=typeof r||!Number.isFinite(r))throw new $N("content/invalid-ole-object","OleObject "+e+" must be a finite point value");if(r<0)throw new $N("content/invalid-ole-object","OleObject "+e+" must be a positive point value");if(zr(t)<=0)throw new $N("content/invalid-ole-object","OleObject "+e+" must be a positive point value");return t}function aF(){return LZ=(LZ+1)%(NZ+1),"_"+String(LZ)}function lF(){var e="_x0000_i"+String(AZ);return AZ+=1,e}function sF(){var e=(EZ=(EZ+1)%4294967295).toString(16).toUpperCase();return e.length>=8?e:new Array(8-e.length+1).join("0")+e}function uF(e,t){return"width:"+cF(e)+"pt;height:"+cF(t)+"pt"}function cF(e){var t=Math.round(100*e)/100;return Number.isInteger(t),String(t)}function dF(e,t,r,n,i,o){return void 0===i&&(i=[]),void 0===o&&(o=[]),{kind:"element",namespaceUri:e,prefix:t,localName:r,attributes:n,namespaceDeclarations:IZ(o),children:i}}function hF(e){var t=lF(),r="urn:schemas-microsoft-com:vml",n="http://schemas.microsoft.com/office/word/2010/wordml",i="http://schemas.openxmlformats.org/officeDocument/2006/relationships",o=[{namespaceUri:"",prefix:"",localName:"id",value:t},{namespaceUri:"",prefix:"",localName:"type",value:"#_x0000_t75"},{namespaceUri:"",prefix:"",localName:"style",value:uF(e.width,e.height)},{namespaceUri:lZ,prefix:"o",localName:"ole",value:""}];void 0!==e.name&&o.push({namespaceUri:"",prefix:"",localName:"alt",value:e.name}),void 0!==e.description&&o.push({namespaceUri:"",prefix:"",localName:"title",value:e.description});var a=[];if(void 0!==e.iconBytes&&void 0!==e.iconContentType){var l=[{namespaceUri:i,prefix:"r",localName:"id",value:""}];void 0!==e.description&&l.push({namespaceUri:lZ,prefix:"o",localName:"title",value:e.description}),a.push(dF(r,"v","imagedata",l))}var s=dF(r,"v","shape",o,a),u=[{namespaceUri:"",prefix:"",localName:"Type",value:"link"===e.kind?"Link":"Embed"},{namespaceUri:"",prefix:"",localName:"ProgID",value:e.progId},{namespaceUri:"",prefix:"",localName:"ShapeID",value:t},{namespaceUri:"",prefix:"",localName:"DrawAspect",value:e.drawAspect===cZ.Icon?"Icon":"Content"}];"link"===e.kind?u.push({namespaceUri:"",prefix:"",localName:"UpdateMode",value:e.updateMode===dZ.OnCall?"OnCall":"Always"}):u.push({namespaceUri:"",prefix:"",localName:"ObjectID",value:aF()}),u.push({namespaceUri:i,prefix:"r",localName:"id",value:""});var c=[];"link"===e.kind&&("string"==typeof e.linkTypeDescription&&c.push(dF(lZ,"o","LinkType",[],[{kind:"text",value:e.linkTypeDescription}])),void 0!==e.lockedField&&c.push(dF(lZ,"o","LockedField",[],[{kind:"text",value:e.lockedField?"t":"f"}])),"string"==typeof e.fieldCodes&&c.push(dF(lZ,"o","FieldCodes",[],[{kind:"text",value:e.fieldCodes}])));var d=dF(lZ,"o","OLEObject",u,c);return{element:dF(RZ,"w","object",[{namespaceUri:RZ,prefix:"w",localName:"dxaOrig",value:String(zr(e.width))},{namespaceUri:RZ,prefix:"w",localName:"dyaOrig",value:String(zr(e.height))},{namespaceUri:n,prefix:"w14",localName:"anchorId",value:sF()}],[s,d],[{prefix:"w14",namespaceUri:n},{prefix:"v",namespaceUri:r},{prefix:"o",namespaceUri:lZ},{prefix:"r",namespaceUri:i}]),oleElement:d,shapeId:t}}function fF(e){var t=e.owningDocument().featurePart(VZ);if(void 0===t||!(t instanceof rZ))throw new $N("feature/not-registered","OLE object catalog was not loaded; call registerOleObjectFeature() before WordDocument.open");return t}function pF(e,t){var r=iF(t),n=fF(e),i=hF(r),o=new TZ(i.element,i.oleElement);return Zk(o,e.owningDocument()),"link"===r.kind?(o.registerPendingLinkTarget(),n.registerPendingLink(o,r.linkTarget)):(o.registerPendingPayload(r.bytes,r.contentType),n.registerPendingEmbed(o,r.bytes,r.contentType)),void 0!==r.iconBytes&&void 0!==r.iconContentType&&(o.registerPendingIconMedia(),n.registerPendingIcon(o,r.iconBytes,r.iconContentType)),e.appendFeatureRunItem(VZ,o),o}function vF(e,t,r){var n,i;try{for(var o=xZ(t.items),a=o.next();!a.done;a=o.next()){var l=a.value;if(eF(l)&&l.value===r){t.removeFeatureRunItem(r);var s=mF(e);if(void 0!==s)if(r.isPendingRelationship()?r.linked?s.discardPendingLink(r):s.discardPendingEmbed(r):void 0!==r.relationshipId&&r.relationshipId.length>0&&s.removeEntry(r.relationshipId),r.isPendingIcon())s.discardPendingIcon(r);else{var u=r.imageRelationshipId;void 0!==u&&u.length>0&&s.removeIconEntry(u)}return}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}throw new $N("content/invalid-ole-object","OLE object is not in this paragraph")}function mF(e){var t=e.featurePart(VZ);return t instanceof rZ?t:void 0}function yF(e){var t=mF(e);if(void 0===t)throw new $N("feature/not-registered","OLE object catalog was not loaded; call registerOleObjectFeature() before WordDocument.open");return t}function gF(e){return e.children.filter(function(e){return"element"===e.kind})}function bF(e){var t,r,n="";try{for(var i=BZ(e.children),o=i.next();!o.done;o=i.next()){var a=o.value;"text"===a.kind&&(n+=a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function wF(e,t){return e.namespaceUri===GZ&&e.localName===t}function PF(e,t){return e.namespaceUri===qZ&&e.localName===t}function SF(e,t){return{kind:"element",namespaceUri:GZ,localName:e,prefix:"",attributes:[],namespaceDeclarations:[],children:t.length>0?[{kind:"text",value:t}]:[]}}function xF(e,t){return{kind:"element",namespaceUri:qZ,localName:e,prefix:"dc",attributes:[],namespaceDeclarations:[],children:t.length>0?[{kind:"text",value:t}]:[]}}function CF(e){var t,r;if(void 0===e)return new ZZ([],[],[],void 0,void 0,void 0,void 0,void 0,!1);var n=d(XZ.decode(e));if("coreProperties"!==n.localName||n.namespaceUri!==GZ)return new ZZ([],[],[],void 0,void 0,void 0,void 0,void 0,!1);var i,o,a,l,s,u=[];try{for(var c=BZ(gF(n)),h=c.next();!h.done;h=c.next()){var f=h.value;PF(f,"title")&&void 0===i?i=bF(f):PF(f,"creator")&&void 0===o?o=bF(f):PF(f,"subject")&&void 0===a?a=bF(f):PF(f,"description")&&void 0===l?l=bF(f):wF(f,"keywords")&&void 0===s?s=bF(f):PF(f,"title")||PF(f,"creator")||PF(f,"subject")||PF(f,"description")||wF(f,"keywords")||u.push(f)}}catch(e){t={error:e}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}return new ZZ(n.attributes,n.namespaceDeclarations,u,i,o,a,l,s,!1)}function IF(e){var t=At(e,zZ),r=CF(void 0===t?void 0:t.part.data),n=void 0===t?UZ:t.part.name,i=void 0===t?void 0:t.relationship.id;return new KZ(r,n,i)}function VF(){JZ=!1}function TF(){JZ||(JZ=!0,je({id:MZ}),kt({featureId:MZ,loadParts:function(e,t){return IF(e)}}))}function kF(e){var t=e.featurePart(MZ);if(void 0===t||!(t instanceof KZ))throw new $N("feature/not-registered","Properties parts were not loaded; call registerPropertiesFeature() before WordDocument.open");return t}function FF(e,t){var r=kF(e);t(r.core),r.ensureCorePart(e.opcPackage())}function DF(e){return kF(e).core.title}function OF(e,t){FF(e,function(e){e.title=t})}function NF(e){return kF(e).core.creator}function AF(e,t){FF(e,function(e){e.creator=t})}function EF(e){return kF(e).core.subject}function LF(e,t){FF(e,function(e){e.subject=t})}function RF(e){return kF(e).core.description}function BF(e,t){FF(e,function(e){e.description=t})}function _F(e){return kF(e).core.keywords}function jF(e,t){FF(e,function(e){e.keywords=t})}function MF(e,t){var r;return r=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||"w"===e.prefix)}),null==r?void 0:r.value}function zF(e){if(void 0!==e&&/^\d+$/.test(e))return Number.parseInt(e,10)}function UF(e,t){var r,n,i=[],o=[];try{for(var a=eK(ct(e)),l=a.next();!l.done;l=a.next()){var s=l.value;if(ut(s,"r")){var u=MR.fromXml(s,t);o.push(u),i.push({type:"textRange",run:u})}else i.push({type:"opaque",xml:s})}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return t.hydrateRuns(o),i}function HF(e,t,r){var n=[ht("id",String(e)),ht("author",t)];return void 0!==r&&r.length>0&&n.push(ht("date",r)),n}function WF(e){switch(e){case"ins":return"insertion";case"del":return"deletion";case"moveFrom":return"moveFrom";case"moveTo":return"moveTo"}}function GF(e){var t,r,n="";try{for(var i=eK(e.runs),o=i.next();!o.done;o=i.next())n+=o.value.text}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function qF(e){return new oK(e)}function XF(e,t){var r=zF(MF(e,"id")),n=MF(e,"author");if(void 0===r||void 0===n||0===n.length)return new iK(t,-1,"",void 0,new nK,[],e);var i=new nK,o=UF(e,i);return new iK(t,r,n,MF(e,"date"),i,o,void 0)}function YF(e,t){if(ut(e,"moveFrom"===t?"moveFromRangeStart":"moveToRangeStart")){var r=zF(MF(e,"id")),n=MF(e,"name"),i=MF(e,"author"),o=MF(e,"date");if(void 0!==r&&void 0!==n&&0!==n.length&&void 0!==i&&0!==i.length&&void 0!==o&&0!==o.length)return new aK(t,r,n,i,o)}}function ZF(e,t){if(ut(e,"moveFrom"===t?"moveFromRangeEnd":"moveToRangeEnd")){var r=zF(MF(e,"id"));if(void 0!==r)return new lK(t,r)}}function KF(e){var t,r,n=[];try{for(var i=eK(e),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof _R&&a.value instanceof iK&&n.push(a.value)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function JF(e){var t,r,n=[];try{for(var i=eK(e),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof _R&&((a.value instanceof aK||a.value instanceof lK)&&n.push(a.value))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function $F(){sK=!1}function QF(e){Ct({featureId:tK,wmlLocalName:e,tryParse:function(t){if(ut(t,e))return XF(t,e)}}),We({featureId:tK,wmlLocalName:e,tryParse:function(t,r){if(ut(t,e))return XF(t,e)}})}function eD(){var e,t;if(!sK){sK=!0,je({id:tK});try{for(var r=eK(rK),n=r.next();!n.done;n=r.next())QF(n.value)}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}Ct({featureId:tK,wmlLocalName:"moveFromRangeStart",tryParse:function(e){return YF(e,"moveFrom")}}),Ct({featureId:tK,wmlLocalName:"moveFromRangeEnd",tryParse:function(e){return ZF(e,"moveFrom")}}),Ct({featureId:tK,wmlLocalName:"moveToRangeStart",tryParse:function(e){return YF(e,"moveTo")}}),Ct({featureId:tK,wmlLocalName:"moveToRangeEnd",tryParse:function(e){return ZF(e,"moveTo")}})}}function tD(e){return KF(e.items.toArray())}function rD(e){var t,r,n,i,o=[],a=new Set,l=function(e){a.has(e)||(a.add(e),o.push(e))};try{for(var s=eK(e.listBlocks()),u=s.next();!u.done;u=s.next()){var c=u.value;if("paragraph"!==c.type)"feature"===c.type&&c.value instanceof iK&&l(c.value);else try{for(var d=eK(tD(c.paragraph)),h=d.next();!h.done;h=d.next()){var f=h.value;l(f)}}catch(e){n={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return Mt(e,function(e){var t,r;try{for(var n=eK(tD(e)),i=n.next();!i.done;i=n.next()){var o=i.value;l(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}),o}function nD(e){return rD(e).map(function(e){return new oK(e)})}function iD(e){return JF(e.items.toArray())}function oD(e){return e instanceof _R&&e.featureId===tK&&e.value instanceof iK}function aD(e){return e instanceof _R&&e.featureId===tK&&(e.value instanceof aK||e.value instanceof lK)}function lD(e){var t=e.attributes.find(function(e){return"id"===e.localName&&(e.namespaceUri===hK||"r"===e.prefix||""===e.namespaceUri)});return null==t?void 0:t.value}function sD(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===cA||""===e.namespaceUri)});return null==r?void 0:r.value}function uD(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===cA||""===e.namespaceUri)});return null==r?void 0:r.value}function cD(e){var t,r;if(void 0===e||!ut(e,"background"))return{present:!1,color:void 0,themeColor:void 0,themeTint:void 0,themeShade:void 0,hasDrawing:!1};var n=!1;try{for(var i=CK(ct(e)),o=i.next();!o.done;o=i.next())if(ut(o.value,"drawing")){n=!0;break}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return{present:!0,color:uD(e,"color"),themeColor:uD(e,"themeColor"),themeTint:uD(e,"themeTint"),themeShade:uD(e,"themeShade"),hasDrawing:n}}function dD(e,t){return new IK(e.preservedBackground(),t)}function hD(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===cA||""===e.namespaceUri)});return null==r?void 0:r.value}function fD(e){if(void 0!==e&&0!==e.length){var t=e.trim().toLowerCase();return"true"===t||"1"===t||"on"===t||"false"!==t&&"0"!==t&&"off"!==t&&void 0}}function pD(e,t){return ht(e,t?"true":"false")}function vD(e){if(void 0!==e)switch(e){case"none":case"readOnly":case"comments":case"trackedChanges":case"forms":return e;default:return}}function mD(e){var t=e.attributes.find(function(e){return"val"===e.localName&&(e.namespaceUri===cA||""===e.namespaceUri)});return null==t?void 0:t.value}function yD(e){var t=mD(e);if(void 0!==t){var r=Number(t);return Number.isNaN(r)?void 0:Ur(r)}}function gD(e){return pt("defaultTabStop",{attributes:[ht("val",String(zr(e)))]})}function bD(e){var t=mD(e);if(void 0!==t&&OK.has(t))return t}function wD(e){return pt("characterSpacingControl",{attributes:[ht("val",e)]})}function PD(e){return"pageBottom"===e||"beneathText"===e||"sectEnd"===e||"docEnd"===e}function SD(e){return"sectEnd"===e||"docEnd"===e}function xD(e){return"continuous"===e||"eachSect"===e||"eachPage"===e}function CD(e){return LK.has(e)}function ID(e){if(void 0!==e&&/^-?\d+$/.test(e))return Number.parseInt(e,10)}function VD(e){return"val"===e.localName&&(e.namespaceUri===cA||""===e.namespaceUri)}function TD(e){if(!CD(e))throw new RangeError("numberFormat is not a supported NoteNumberFormat: "+e)}function kD(e){if(!PD(e))throw new RangeError("position is not a supported FootnotePosition: "+e)}function FD(e){if(!SD(e))throw new RangeError("position is not a supported EndnotePosition: "+e)}function DD(e){if(!xD(e))throw new RangeError("numberingRestart is not a supported NoteNumberingRestart: "+e)}function OD(e){return{numberFormat:void 0,numberingStart:void 0,numberingRestart:void 0,numFmtExtraAttributes:[],numFmtChildren:[],numFmtNamespaceDeclarations:[],residualChildren:[],leftoverAttributes:[],namespaceDeclarations:[],onDirty:e}}function ND(e,t,r){var n,i,o=OD(t);o.leftoverAttributes=AK(e.attributes),o.namespaceDeclarations=e.namespaceDeclarations;var a=!1,l=!1,s=!1,u=!1;try{for(var c=EK(ct(e)),d=c.next();!d.done;d=c.next()){var h=d.value;if(!ut(h,"pos")||a)if(!ut(h,"numFmt")||l)if(!ut(h,"numStart")||s)if(!ut(h,"numRestart")||u)o.residualChildren.push(h);else{u=!0;var f=vt(h);if(void 0!==f&&xD(f)){o.numberingRestart=f;continue}o.residualChildren.push(h)}else{s=!0;var p=ID(vt(h));if(void 0!==p){o.numberingStart=p;continue}o.residualChildren.push(h)}else{if(l=!0,void 0!==(f=vt(h))&&CD(f)){o.numberFormat=f,o.numFmtExtraAttributes=h.attributes.filter(function(e){return!VD(e)}),o.numFmtChildren=AK(h.children),o.numFmtNamespaceDeclarations=h.namespaceDeclarations;continue}o.residualChildren.push(h)}else{if(a=!0,r(vt(h)))continue;o.residualChildren.push(h)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return o}function AD(e,t,r){var n,i,o=[];void 0!==t&&o.push(pt("pos",{attributes:[ht("val",t)]})),void 0!==r.numberFormat&&o.push(pt("numFmt",{attributes:AK([ht("val",r.numberFormat)],r.numFmtExtraAttributes),namespaceDeclarations:r.numFmtNamespaceDeclarations,children:r.numFmtChildren})),void 0!==r.numberingStart&&o.push(pt("numStart",{attributes:[ht("val",String(r.numberingStart))]})),void 0!==r.numberingRestart&&o.push(pt("numRestart",{attributes:[ht("val",r.numberingRestart)]}));try{for(var a=EK(r.residualChildren),l=a.next();!l.done;l=a.next()){var s=l.value;o.push(s)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return pt(e,{attributes:r.leftoverAttributes,namespaceDeclarations:r.namespaceDeclarations,children:o})}function ED(e){return"none"===e||"fullPage"===e||"bestFit"===e||"textFit"===e}function LD(e){return"none"===e||"print"===e||"outline"===e||"masterPages"===e||"normal"===e||"web"===e}function RD(e){if(ut(e,"documentProtection"))return new $K(DK.fromElement(e));if(ut(e,"attachedTemplate"))return new QK(fK.fromElement(e));if(ut(e,"compat"))return new eJ(xK.fromElement(e));if(ut(e,"footnotePr"))return new tJ(RK.fromElement(e));if(ut(e,"endnotePr"))return new rJ(BK.fromElement(e));var t=qK.tryFromElement(e);if(void 0!==t)return t;var r=XK.tryFromElement(e);if(void 0!==r)return r;var n=YK.tryFromElement(e);if(void 0!==n)return n;var i=ZK.tryFromElement(e);if(void 0!==i)return i;var o=JK.tryFromElement(e);return void 0!==o?o:new KK(e)}function BD(e){return e.localName}function _D(e,t){return e.findIndex(function(e){return e.localName===t})}function jD(e,t,r){var n=_D(e,t);if(void 0===r)return void(n>=0&&e.splice(n,1));if(n>=0)return void(e[n]=r);for(var i=WK.indexOf(t),o=e.length,a=0;a<e.length;a+=1){var l=e[a];if(void 0!==l){var s=WK.indexOf(l.localName);if(s>=0&&(i<0||s>i)){o=a;break}}}e.splice(o,0,r)}function MD(e){return e.map(function(e){return e.serialize()})}function zD(e,t){if("number"!=typeof t||!Number.isFinite(t)||t<0)throw new oA(e+" must be a finite non-negative number")}function UD(t){if(void 0===t)return e.ZoomType.None;switch(t){case"none":return e.ZoomType.None;case"fullPage":return e.ZoomType.FullPage;case"bestFit":return e.ZoomType.BestFit;case"textFit":return e.ZoomType.TextFit;default:return e.ZoomType.None}}function HD(t){return t===e.CompatibilityMode.Word2007?e.CompatibilityMode.Word2007:t===e.CompatibilityMode.Word2010?e.CompatibilityMode.Word2010:(e.CompatibilityMode.Word2013,e.CompatibilityMode.Word2013)}function WD(e){zK=e.settingsFor,UK=e.registerSettingsFeature,HK=e.attachedTemplateTarget}function GD(e){if(void 0===zK)throw new oA("Document settings facades are not bound; load @syncfusion/ej2-docx settings feature first");return zK(e)}function qD(e){void 0!==UK&&UK();var t=lJ.get(e);if(void 0!==t)return t;var r=new oJ(e);return lJ.set(e,r),r}function XD(e){void 0!==UK&&UK();var t=sJ.get(e);if(void 0!==t)return t;var r=new aJ(e);return sJ.set(e,r),r}function YD(){uJ||(uJ=!0,void 0!==UK&&UK(),Object.defineProperty(mB.prototype,"viewSetup",{configurable:!0,enumerable:!1,get:function(){return qD(this)}}),Object.defineProperty(mB.prototype,"settings",{configurable:!0,enumerable:!1,get:function(){return XD(this)}}),Object.defineProperty(mB.prototype,"trackRevisions",{configurable:!0,enumerable:!1,get:function(){return!0===GD(this).trackRevisions()},set:function(e){GD(this).setTrackRevisions(!!e||void 0)}}),Object.defineProperty(mB.prototype,"defaultTabStop",{configurable:!0,enumerable:!1,get:function(){var e=GD(this).defaultTabStop();return void 0===e?iJ:e},set:function(e){zD("defaultTabStop",e),GD(this).setDefaultTabStop(e)}}),Object.defineProperty(mB.prototype,"attachedTemplate",{configurable:!0,enumerable:!1,get:function(){var e=GD(this).attachedTemplate();if(void 0!==e)return void 0!==HK&&HK(this),e}}))}function ZD(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(e.namespaceUri===cA||""===e.namespaceUri)});return null==r?void 0:r.value}function KD(e){var t,r,n,i;if(ut(e,"webSettings")){var o,a,l=!1,s=0;try{for(var u=dJ(ct(e)),c=u.next();!c.done;c=u.next()){var d=c.value;if(ut(d,"encoding"))o=ZD(d,"val");else if(ut(d,"frameset"))l=!0;else if(ut(d,"divs"))try{for(var h=dJ(ct(d)),f=h.next();!f.done;f=h.next())ut(f.value,"div")&&(s+=1)}catch(e){n={error:e}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}else ut(d,"optimizeForBrowser")&&(a=ZD(d,"target"))}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return{encoding:o,hasFrameset:l,divCount:s,optimizeForBrowserTarget:a}}}function JD(e){return KD(d(yJ.decode(e)))}function $D(e){var t;if(void 0===e)return new bJ(void 0,cJ({},gJ),!1);var r=(t=JD(e.data),null!=t?t:cJ({},gJ));return new bJ(e.data,r,!1)}function QD(){wJ=!1}function eO(){wJ||(wJ=!0,je({id:hJ}),Ye({featureId:hJ,relationshipTypes:[fJ,pJ],defaultRelativeTarget:"webSettings.xml",partName:mJ,contentType:vJ,loadPart:function(e,t){return $D(e)}}))}function tO(e){eO();var t=e.featurePart(hJ);if(void 0===t||!(t instanceof bJ))throw new $N("feature/not-registered","Web settings part was not loaded; call registerSettingsFeature() before WordDocument.open");return t}function rO(e){var t,r,n=xe(e);try{for(var i=PJ(Fe(e,n).items),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.type===IJ||a.type===VJ)return ie(a.target,n)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}function nO(e,t,r){var n,i;try{for(var o=PJ(Fe(e,t).items),a=o.next();!a.done;a=o.next()){var l=a.value;if(l.id===r){if(-1===kJ.indexOf(l.type))return;return l.targetMode===sE.External?l.target:ie(l.target,t)}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function iO(e){if(void 0===e)return aO();var t=d(DJ.decode(e.data));if(!ut(t,"settings"))return new NJ([],[],[],!1);var r=ct(t).map(function(e){return RD(e)});return new NJ(t.attributes,t.namespaceDeclarations,r,!1)}function oO(){return xJ([new XK(jK.create(100,"none")),new YK(36),new ZK("doNotCompress"),new eJ(xK.createDefault())],ct(d('<w:settings xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"><w:clrSchemeMapping/></w:settings>')).map(function(e){return RD(e)}))}function aO(){return new NJ([],[],oO(),!0)}function lO(){AJ=!1,QD()}function sO(){AJ||(AJ=!0,eO(),je({id:CJ}),Ye({featureId:CJ,relationshipTypes:[IJ,VJ],defaultRelativeTarget:"settings.xml",partName:FJ,contentType:TJ,loadPart:function(e,t){return iO(e)}}),_t({featureId:CJ,materialize:function(e){e.featurePart(CJ)instanceof NJ||e.setFeaturePart(CJ,aO())}}))}function uO(e){var t=e.featurePart(CJ);if(t instanceof NJ)return t;if(!AJ)throw new $N("feature/not-registered","Settings part was not loaded; call registerSettingsFeature() before WordDocument.open or WordDocument.create");var r=aO();return e.setFeaturePart(CJ,r),r}function cO(e){var t=uO(e).attachedTemplateRelationshipId();if(void 0!==t){var r=rO(e.opcPackage());if(void 0!==r)return nO(e.opcPackage(),r,t)}}function dO(e){return dD(e,uO(e).displayBackgroundShape())}function hO(e){var t,r,n=new Map;if(void 0===e||0===e.length)return n;try{for(var i=EJ(e.split(";")),o=i.next();!o.done;o=i.next()){var a=o.value.trim();if(0!==a.length){var l=a.indexOf(":");if(!(l<=0)){var s=a.slice(0,l).trim().toLowerCase(),u=a.slice(l+1).trim();0!==s.length&&n.set(s,u)}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function fO(e,t){var r=e.attributes.find(function(e){return e.localName===t&&(""===e.namespaceUri||e.namespaceUri===LJ)});return null==r?void 0:r.value}function pO(e,t){return e.namespaceUri===LJ&&e.localName===t}function vO(e,t){var r,n;try{for(var i=EJ(ct(e)),o=i.next();!o.done;o=i.next())if(pO(o.value,t))return!0}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1}function mO(e,t){var r,n,i,o,a;if("absolute"!==(r=e.get("position"),null!=r?r:"").toLowerCase())return!1;if("center"!==(n=e.get("mso-position-horizontal"),null!=n?n:"").toLowerCase())return!1;if("center"!==(i=e.get("mso-position-vertical"),null!=i?i:"").toLowerCase())return!1;if("margin"!==(o=e.get("mso-position-horizontal-relative"),null!=o?o:"").toLowerCase())return!1;if("margin"!==(a=e.get("mso-position-vertical-relative"),null!=a?a:"").toLowerCase())return!1;if(!0===(null==t?void 0:t.requireNegativeZIndexWhenPresent)){var l=e.get("z-index");if(void 0!==l){var s=Number.parseFloat(l);if(!Number.isFinite(s)||s>=0)return!1}}return!0}function yO(e){return void 0!==e&&(e===BJ||e===_J)}function gO(e){var t;return!!pO(e,"shape")&&(!!vO(e,"textpath")&&(fO(e,"type")===RJ&&(!!(t=fO(e,"id"),null!=t?t:"").startsWith(jJ)||mO(hO(fO(e,"style"))))))}function bO(e){var t;return!!pO(e,"shape")&&(!!vO(e,"imagedata")&&(!!yO(fO(e,"type"))&&(!!(t=fO(e,"id"),null!=t?t:"").startsWith(MJ)||mO(hO(fO(e,"style")),{requireNegativeZIndexWhenPresent:!0}))))}function wO(e){return zJ.get(e)}function PO(e,t){if(void 0===t)return void zJ.delete(e);zJ.set(e,t)}function SO(e){zJ.delete(e)}function xO(e,t){if("number"!=typeof t||!Number.isFinite(t))throw new RangeError(e+" must be a finite number")}function CO(e,t){if(void 0!==t){if(xO(e,t),t<=0)throw new RangeError(e+" must be greater than zero");return t}}function IO(e){if(!ZJ.has(e))throw new RangeError("layout must be Horizontal or Diagonal");return e}function VO(e){if(!KJ.has(e))throw new RangeError("imageType must be Jpeg or Png");return e}function TO(e){var t=new Uint8Array(e.byteLength);return t.set(e),t}function kO(e){if(void 0!==e){var t={};return void 0!==e.shapeId&&(t.shapeId=e.shapeId),void 0!==e.shapeType&&(t.shapeType=e.shapeType),void 0!==e.styleAttribute&&(t.styleAttribute=e.styleAttribute),void 0!==e.fillcolor&&(t.fillcolor=e.fillcolor),void 0!==e.extraShapeAttributes&&(t.extraShapeAttributes=HJ({},e.extraShapeAttributes)),void 0!==e.extraChildXml&&(t.extraChildXml=GJ(e.extraChildXml)),void 0!==e.fillOpacity&&(t.fillOpacity=e.fillOpacity),void 0!==e.unresolvedImageNote&&(t.unresolvedImageNote=e.unresolvedImageNote),void 0!==e.extensions&&(t.extensions=HJ({},e.extensions)),t}}function FO(e){var t,r;return t=s$.get(e),r=null==t?void 0:t.physicalByPartKey,null!=r?r:new Map}function DO(e){u$.add(e),c$.add(e),s$.has(e)||s$.set(e,{physicalByPartKey:new Map,completed:!0})}function OO(e){void 0!==e&&(s$.delete(e),u$.delete(e),c$.delete(e))}function NO(e,t,r){var n;return n=e.attributes.find(function(e){return e.namespaceUri===t&&e.localName===r}),null==n?void 0:n.value}function AO(e,t){var r,n;try{for(var i=e$(ct(e)),o=i.next();!o.done;o=i.next()){var a=o.value;if(pO(a,t))return a}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function EO(e,t){var r,n,i={},o=!1;try{for(var a=e$(e),l=a.next();!l.done;l=a.next()){var s=t$(l.value,2),u=s[0],c=s[1];t.has(u)||(i[u]=c,o=!0)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o?i:void 0}function LO(e){return""!==e.prefix?e.prefix+":"+e.localName:""!==e.namespaceUri&&e.namespaceUri!==LJ?"{"+e.namespaceUri+"}"+e.localName:e.localName}function RO(e){if(void 0!==e){var t=/^([+-]?(?:\d+(?:\.\d*)?|\.\d+))\s*pt$/i.exec(e.trim());if(null===t){var r=Number.parseFloat(e);return Number.isFinite(r)?r:void 0}var n=Number.parseFloat(null!=t[1]?t[1]:"");return Number.isFinite(n)?n:void 0}}function BO(e){var t=e.trim();return(t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"))&&(t=t.slice(1,-1)),t}function _O(e){var t=e.get("rotation");if(void 0!==t&&""!==t.trim()){var r=Number.parseFloat(t);return Number.isFinite(r)?r:void 0}}function jO(e){return void 0===e||0===e?{layout:XJ.Horizontal,customRotation:void 0}:315===e?{layout:XJ.Diagonal,customRotation:void 0}:{layout:XJ.Diagonal,customRotation:e}}function MO(e){var t=AO(e,"fill");if(void 0===t)return{state:"unknown",fillOpacity:void 0};var r=fO(t,"opacity");if(void 0===r||""===r.trim())return{state:"unknown",fillOpacity:void 0};var n=r.trim().toLowerCase();if("1"===n||"1.0"===n||"100%"===n||"65536f"===n)return{state:"opaque",fillOpacity:r};var i=Number.parseFloat(n);if(Number.isFinite(i)){if(i<1)return{state:"transparent",fillOpacity:r};if(1===i)return{state:"opaque",fillOpacity:r}}return{state:"unknown",fillOpacity:r}}function zO(e,t,r,n,i,o,a){var l,s,u,c,d,h,f,p,v,m,g,b,w=[],P=!1,S=!1,x=!1;try{for(var C=e$(ct(e)),I=C.next();!I.done;I=C.next()){var V=I.value;!pO(V,"textpath")||P?!pO(V,"fill")||S?!pO(V,"imagedata")||x?w.push(y(V)):x=!0:S=!0:P=!0}}catch(e){l={error:e}}finally{try{I&&!I.done&&(s=C.return)&&s.call(C)}finally{if(l)throw l.error}}var T={};try{for(var k=e$(e.attributes),F=k.next();!F.done;F=k.next())(M=""===(Y=F.value).namespaceUri||Y.namespaceUri===LJ)&&o$.has(Y.localName)||(T[LO(Y)]=Y.value)}catch(e){u={error:e}}finally{try{F&&!F.done&&(c=k.return)&&c.call(k)}finally{if(u)throw u.error}}var D={},O=EO(t,a$);if(void 0!==O)try{for(var N=e$(li(O)),A=N.next();!A.done;A=N.next()){var E=t$(A.value,2),L=E[0],R=E[1];D["style."+L]=R}}catch(e){d={error:e}}finally{try{A&&!A.done&&(h=N.return)&&h.call(N)}finally{if(d)throw d.error}}if(void 0!==r){var B=new Set(["string","on","style"]);try{for(var _=e$(r.attributes),j=_.next();!j.done;j=_.next()){var M=""===(Y=j.value).namespaceUri||Y.namespaceUri===LJ;M&&B.has(Y.localName)||(D["textpath."+LO(Y)]=Y.value)}}catch(e){f={error:e}}finally{try{j&&!j.done&&(p=_.return)&&p.call(_)}finally{if(f)throw f.error}}var z=EO(n,l$);if(void 0!==z)try{for(var U=e$(li(z)),H=U.next();!H.done;H=U.next()){var W=t$(H.value,2),L=W[0],R=W[1];D["textpathStyle."+L]=R}}catch(e){v={error:e}}finally{try{H&&!H.done&&(m=U.return)&&m.call(U)}finally{if(v)throw v.error}}}if(void 0!==o){var G=new Set(["id","gain","blacklevel"]);try{for(var q=e$(o.attributes),X=q.next();!X.done;X=q.next()){var Y=X.value;Y.namespaceUri===n$&&"id"===Y.localName||((""===Y.namespaceUri||Y.namespaceUri===LJ||Y.namespaceUri===r$)&&G.has(Y.localName)?"gain"!==Y.localName&&"blacklevel"!==Y.localName||(D["imagedata."+Y.localName]=Y.value):D["imagedata."+LO(Y)]=Y.value)}}catch(e){g={error:e}}finally{try{X&&!X.done&&(b=q.return)&&b.call(q)}finally{if(g)throw g.error}}}var Z={},K=fO(e,"id");void 0!==K&&(Z.shapeId=K);var J=fO(e,"type");void 0!==J&&(Z.shapeType=J);var $=fO(e,"style");void 0!==$&&(Z.styleAttribute=$);var Q=fO(e,"fillcolor");if(void 0!==Q&&(Z.fillcolor=Q),Object.keys(T).length>0&&(Z.extraShapeAttributes=T),w.length>0&&(Z.extraChildXml=w),void 0!==i&&(Z.fillOpacity=i),void 0!==o){var ee=NO(o,n$,"id");void 0!==ee&&(Z.imageRelationshipId=ee)}return void 0!==a&&(Z.unresolvedImageNote=a),Object.keys(D).length>0&&(Z.extensions=D),Z}function UO(e,t,r){e.setParseResidual(t),void 0!==r&&e.setCustomRotationDegrees(r)}function HO(e,t){e.setParseResidual(t)}function WO(e){var t,r=hO(fO(e,"style")),n=AO(e,"textpath"),i=hO(void 0===n?void 0:fO(n,"style")),o=void 0===n?"":(t=fO(n,"string"),null!=t?t:""),a=i.get("font-family"),l=void 0===a?void 0:BO(a),s=RO(i.get("font-size")),u=fO(e,"fillcolor"),c=RO(r.get("width")),d=RO(r.get("height")),h=jO(_O(r)),f=h.layout,p=h.customRotation,v=MO(e),m=v.state,y=v.fillOpacity,g={layout:f};void 0!==l&&l.length>0&&(g.fontName=l),void 0!==s&&s>0&&(g.size=s),void 0!==u&&(g.color=u),void 0!==c&&c>0&&(g.width=c),void 0!==d&&d>0&&(g.height=d);var b=new $J(o,g);return b.setSemitransparentState(m),UO(b,zO(e,r,n,i,y,void 0,void 0),p),b}function GO(e){var t,r,n,i,o=(t=fO(e,"gain"),r=null!=t?t:NO(e,r$,"gain"),null!=r?r:NO(e,"","gain")),a=(n=fO(e,"blacklevel"),i=null!=n?n:NO(e,r$,"blacklevel"),null!=i?i:NO(e,"","blacklevel"));return void 0!==o&&void 0!==a}function qO(e){if(void 0!==e){var t=e.toLowerCase();return t===uq||"image/jpg"===t?YJ.Jpeg:t===sq?YJ.Png:void 0}}function XO(e,t,r){var n=NO(r,n$,"id");if(void 0===n||0===n.length)return{bytes:void 0,imageType:void 0,unresolvedNote:"missing-r-id",relationshipId:void 0};if(void 0===e)return{bytes:void 0,imageType:void 0,unresolvedNote:"no-package",relationshipId:n};var i;try{i=Fe(e,t)}catch(e){return{bytes:void 0,imageType:void 0,unresolvedNote:"no-header-rels",relationshipId:n}}var o=i.items.find(function(e){return e.id===n});if(void 0===o)return{bytes:void 0,imageType:void 0,unresolvedNote:"missing-rel:"+n,relationshipId:n};if(i$.has(o.type),/^https?:/i.test(o.target)||/^mailto:/i.test(o.target))return{bytes:void 0,imageType:void 0,unresolvedNote:"external-target",relationshipId:n};var a;try{a=ie(o.target,t)}catch(e){return{bytes:void 0,imageType:void 0,unresolvedNote:"bad-target",relationshipId:n}}var l=ke(e,a);return void 0===l?{bytes:void 0,imageType:void 0,unresolvedNote:"missing-part:"+a,relationshipId:n}:{bytes:l.data,imageType:qO(l.contentType),unresolvedNote:void 0,relationshipId:n}}function YO(e,t,r){var n=hO(fO(e,"style")),i=AO(e,"imagedata"),o=RO(n.get("width")),a=RO(n.get("height")),l=void 0!==i&&GO(i),s=void 0===i?{bytes:void 0,imageType:void 0,unresolvedNote:"missing-imagedata",relationshipId:void 0}:XO(t,r,i),u={washout:l};void 0!==s.imageType&&(u.imageType=s.imageType),void 0!==o&&o>0&&(u.width=o),void 0!==a&&a>0&&(u.height=a);var c=new QJ(s.bytes,u);return void 0===s.bytes&&(c.imageData=void 0),HO(c,zO(e,n,void 0,new Map,void 0,i,s.unresolvedNote)),c}function ZO(e){var t,r,n=[];try{for(var i=e$(ct(e)),o=i.next();!o.done;o=i.next()){var a=o.value;pO(a,"shape")&&n.push(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function KO(e,t){var r,n;if(ut(e,"pict"))return void t(e);try{for(var i=e$(ct(e)),o=i.next();!o.done;o=i.next())KO(o.value,t)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}function JO(e,t){var r,n,i,o;try{for(var a=e$(e),l=a.next();!l.done;l=a.next()){var s=l.value;if("opaque"!==s.type){if("paragraph"===s.type)try{for(var u=e$(s.paragraph.items),c=u.next();!c.done;c=u.next()){var d=c.value;(d instanceof jR||d instanceof BR)&&KO(d.xml,t)}}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}else KO(s.xml,t)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}function $O(e,t,r){var n;return JO(e,function(e){var i,o;if(void 0===n)try{for(var a=e$(ZO(e)),l=a.next();!l.done;l=a.next()){var s=l.value;if(gO(s))return void(n=WO(s));if(bO(s))return void(n=YO(s,t,r))}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}),n}function QO(e){var t,r;if(!u$.has(e)){u$.add(e);var n,i=new Map;try{n=sV(e)}catch(t){return void s$.set(e,{physicalByPartKey:i,completed:!0})}var o;try{o=e.opcPackage()}catch(e){o=void 0}var a=new Set;try{for(var l=e$(n.relationshipIds("header")),s=l.next();!s.done;s=l.next()){var u=s.value,c=n.entryForRelationship(u);if(void 0!==c){var d=W(c.partName);if(!a.has(d)){a.add(d);var h=$O(c.blocks,o,c.partName);void 0!==h&&i.set(d,h)}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}s$.set(e,{physicalByPartKey:i,completed:!0})}}function eN(e,t,r){if(!c$.has(e)){if(void 0!==t())return void c$.add(e);var n=s$.get(e);if(void 0!==n){var i=fV(e);if(void 0===i)return void c$.add(e);var o;try{o=sV(e)}catch(t){return void c$.add(e)}var a=o.entryForRelationship(i.relationshipId);if(void 0===a)return void c$.add(e);var l=n.physicalByPartKey.get(W(a.partName));void 0!==l&&r(l),c$.add(e)}}}function tN(e,t,r){QO(e),eN(e,t,r)}function rN(e){return-1!==g$.indexOf(e)}function nN(e,t){var r=W(t),n=e.parts.filter(function(e){return W(e.name)!==r});return n.length===e.parts.length?e:d$({},e,{parts:n})}function iN(e,t){return d$({},e,{contentTypes:{records:e.contentTypes.records.filter(function(e){return!("override"===e.kind&&e.partName===t)})}})}function oN(e,t,r){var n=Fe(e,t),i=n.items.filter(r);return i.length===n.items.length?e:Le(e,t,me(i,n.opaque))}function aN(e,t){var r,n,i,o,a,l,s=W(t),u=function(e,t){if("External"===e.targetMode)return!1;try{return W(ie(e.target,t))===s}catch(e){return!1}};try{for(var c=h$(e.packageRelationships.items),d=c.next();!d.done;d=c.next())if(u(y=d.value))return!0}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}try{for(var h=h$(e.partRelationships),f=h.next();!f.done;f=h.next()){var p=f.value;try{for(var v=h$(p.relationships.items),m=v.next();!m.done;m=v.next()){var y=m.value;if(u(y,p.source))return!0}}catch(e){a={error:e}}finally{try{m&&!m.done&&(l=v.return)&&l.call(v)}finally{if(a)throw a.error}}}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}return!1}function lN(e){V$.add(e)}function sN(e){return V$.has(e)}function uN(e){V$.delete(e)}function cN(){}function dN(e){var t=e.featurePart(v$);if(t instanceof T$)return t;var r=new T$;return e.setFeaturePart(v$,r),r}function hN(e){var t,r,n=q("/word/document.xml"),i=new Set;try{for(var o=h$(Fe(e.opcPackage(),n).items),a=o.next();!a.done;a=o.next()){var l=a.value;i.add(l.id)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}function fN(e){var t,r,n=new Set;try{for(var i=h$(e.opcPackage().parts),o=i.next();!o.done;o=i.next()){var a=o.value;n.add(W(a.name))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function pN(e){var t,r,n=[];try{for(var i=h$(e.listBlocks()),o=i.next();!o.done;o=i.next()){var a=o.value;if("paragraph"===a.type){var l=MI(a.paragraph);void 0!==l&&n.push(l)}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}var s=_I(e);return void 0!==s&&n.push(s),n}function vN(e,t){var r,n,i,o,a=hN(e),l=fN(e);try{for(var s=h$(pN(e)),u=s.next();!u.done;u=s.next()){var c=u.value;try{for(var d=h$(I$),h=d.next();!h.done;h=d.next()){var f=h.value,p=t.ensurePart("header",c,f,a,l).relationshipId;c.setHeaderFooterReference("header",f,p),a.add(p)}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}function mN(e){var t,r,n=[];try{for(var i=h$(ct(e)),o=i.next();!o.done;o=i.next()){var a=o.value;pO(a,"shape")&&n.push(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function yN(e){var t,r;try{for(var n=h$(mN(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(gO(o)||bO(o))return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1}function gN(e){var t,r;if(ut(e,"pict"))return yN(e);try{for(var n=h$(ct(e)),i=n.next();!i.done;i=n.next())if(gN(i.value))return!0}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1}function bN(e){return e instanceof jR&&gN(e.xml)}function wN(e){var t=e.items;return 0===t.length||t.every(function(e){return bN(e)})}function PN(e){var t,r,n=[],i=!1;try{for(var o=h$(e.blocks),a=o.next();!a.done;a=o.next()){var l=a.value;if("opaque"!==l.type)if("paragraph"===l.type){var s=l.paragraph,u=!1;if(s.items.some(bN)){if(u=!0,wN(s)){i=!0;continue}var c=s.snapshot(),d=c.items.filter(function(e){return!bN(e)});d.length!==c.items.length&&(s.hydrate(d$({},c,{items:d})),i=!0)}u&&wN(s)?i=!0:n.push(l)}else n.push(l);else{if(gN(l.xml)){i=!0;continue}n.push(l)}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i&&(e.blocks=n,e.dirty=!0),i}function SN(e){var t,r,n,i,o=new Set,a=function(e){var t,r,n,i;try{for(var l=h$(e.attributes),s=l.next();!s.done;s=l.next()){var u=s.value;"id"!==u.localName||u.namespaceUri!==y$&&"r"!==u.prefix||o.add(u.value),u.namespaceUri!==y$||"embed"!==u.localName&&"link"!==u.localName||o.add(u.value)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}try{for(var c=h$(ct(e)),d=c.next();!d.done;d=c.next()){var h=d.value;a(h)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}};try{for(var l=h$(e.blocks),s=l.next();!s.done;s=l.next()){var u=s.value;if("opaque"!==u.type){if("paragraph"===u.type){try{for(var c=h$(u.paragraph.items),d=c.next();!d.done;d=c.next()){var h=d.value;(h instanceof jR||h instanceof BR)&&a(h.xml)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}try{a(u.paragraph.toOpenXml())}catch(e){}}}else a(u.xml)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return o}function xN(e,t,r,n){var i,o,a,l,s=dN(e),u=SN(r);try{for(var c=h$(s.stagedHeaderRelIds(t)),d=c.next();!d.done;d=c.next()){var h=d.value;u.add(h)}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}s.stageHeaderImageRelFilter(t,u);var f=e.opcPackage(),p=Fe(f,t);try{for(var v=h$(p.items),m=v.next();!m.done;m=v.next()){var y=m.value;if(rN(y.type)&&!u.has(y.id))try{var g=ie(y.target,t);if(n.has(W(g)))continue;if(void 0===ke(f,g))continue;s.stageMediaRemoval(g)}catch(e){}}}catch(e){a={error:e}}finally{try{m&&!m.done&&(l=v.return)&&l.call(v)}finally{if(a)throw a.error}}}function CN(e,t){return{namespaceUri:"",localName:e,prefix:"",value:t}}function IN(e,t){var r,n,i;return{kind:"element",namespaceUri:LJ,localName:e,prefix:"v",attributes:(r=null==t?void 0:t.attributes,null!=r?r:[]),namespaceDeclarations:(n=null==t?void 0:t.namespaceDeclarations,null!=n?n:[]),children:(i=null==t?void 0:t.children,null!=i?i:[])}}function VN(e){return Number.isInteger(e)?String(e):String(Math.round(1e3*e)/1e3)}function TN(e){var t=e.getCustomRotationDegrees();return void 0!==t?t:e.layout===XJ.Horizontal?0:315}function kN(e){return{width:null!=e.width?e.width:b$,height:null!=e.height?e.height:w$}}function FN(e){var t=kN(e),r=t.width,n=t.height,i=TN(e);return["position:absolute","margin-left:0","margin-top:0","width:"+VN(r)+"pt","height:"+VN(n)+"pt","rotation:"+VN(i),"z-index:"+P$,"mso-position-horizontal:center","mso-position-horizontal-relative:margin","mso-position-vertical:center","mso-position-vertical-relative:margin"].join(";")}function DN(e){return'font-family:"'+e.fontName.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'";font-size:'+VN(e.size)+"pt"}function ON(e,t,r){var n,i;if(void 0===(null==t?void 0:t.extraShapeAttributes))return e;var o=p$(e),a=new Set(e.map(function(e){return e.localName}));try{for(var l=h$(li(t.extraShapeAttributes)),s=l.next();!s.done;s=l.next()){var u=f$(s.value,2),c=u[0],d=u[1];r.has(c)||a.has(c)||(o.push(CN(c,d)),a.add(c))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return o}function NN(e){var t,r;if(void 0===(null==e?void 0:e.extraChildXml)||0===e.extraChildXml.length)return[];var n=[];try{for(var i=h$(e.extraChildXml),o=i.next();!o.done;o=i.next()){var a=o.value;try{n.push(d(a))}catch(e){}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function AN(e,t){var r,n,i=e.getParseResidual(),o=new Set(["id","type","style","fillcolor","stroked","filled"]),a=ON([CN("id",t),CN("type",RJ),CN("style",FN(e)),CN("fillcolor",e.color),CN("stroked","f")],i,o),l=[];e.semitransparent?l.push(IN("fill",{attributes:[CN("opacity",".5")]})):l.push(IN("fill",{attributes:[CN("opacity","1")]})),l.push(IN("textpath",{attributes:[CN("on","t"),CN("string",e.text),CN("style",DN(e))]}));try{for(var s=h$(NN(i)),u=s.next();!u.done;u=s.next()){var c=u.value;"element"===c.kind&&pO(c,"fill")||("element"===c.kind&&pO(c,"textpath")||l.push(c))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return pt("pict",{children:[IN("shape",{attributes:a,children:l,namespaceDeclarations:[{prefix:"v",namespaceUri:LJ},{prefix:"o",namespaceUri:m$},{prefix:"r",namespaceUri:y$}]})]})}function EN(e){var t=e.imageData;if(void 0!==t){var r=bS(t);if(void 0!==r)return{width:.75*r.width,height:.75*r.height}}return{width:100,height:100}}function LN(e){var t=EN(e),r=e.width,n=e.height;if(void 0!==r&&void 0!==n)return{width:r,height:n};if(void 0!==r)return{width:r,height:r*(i=t.height/(0===t.width?1:t.width))};if(void 0!==n){var i=t.width/(0===t.height?1:t.height);return{width:n*i,height:n}}var o=e.scaling/100;return{width:t.width*o,height:t.height*o}}function RN(e){var t=LN(e),r=t.width,n=t.height;return["position:absolute","margin-left:0","margin-top:0","width:"+VN(r)+"pt","height:"+VN(n)+"pt","z-index:"+S$,"mso-position-horizontal:center","mso-position-horizontal-relative:margin","mso-position-vertical:center","mso-position-vertical-relative:margin"].join(";")}function BN(e){var t=e.imageData;if(void 0===t||0===t.byteLength)throw new $N("content/invalid-image","Picture watermark has no image bytes to serialize");var r=wS(t);if(void 0!==r)return r;if(e.imageType===YJ.Jpeg)return uq;if(e.imageType===YJ.Png)return sq;throw new $N("content/invalid-image","Picture watermark image bytes are not a supported JPEG or PNG payload")}function _N(e){return SS(e)}function jN(e,t){for(var r=e===uq?"jpeg":"png",n=1;t.has(W(q("/word/media/image"+String(n)+"."+r)));)n+=1;return q("/word/media/image"+String(n)+"."+r)}function MN(e){return e.slice("/word/".length)}function zN(e,t,r){var n,i,o=e.getParseResidual(),a=new Set(["id","type","style","filled","stroked","fillcolor"]),l=ON([CN("id",t),CN("type",BJ),CN("style",RN(e)),CN("filled","f"),CN("stroked","f")],o,a),s=[{namespaceUri:y$,localName:"id",prefix:"r",value:r},{namespaceUri:m$,localName:"title",prefix:"o",value:""}];e.washout&&(s.push(CN("gain",x$)),s.push(CN("blacklevel",C$)));var u=[IN("imagedata",{attributes:s})];try{for(var c=h$(NN(o)),d=c.next();!d.done;d=c.next()){var h=d.value;"element"===h.kind&&pO(h,"imagedata")||u.push(h)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return pt("pict",{children:[IN("shape",{attributes:l,children:u,namespaceDeclarations:[{prefix:"v",namespaceUri:LJ},{prefix:"o",namespaceUri:m$},{prefix:"r",namespaceUri:y$}]})]})}function UN(e){var t,r,n=new Set;try{for(var i=h$(e.relationshipIds("header")),o=i.next();!o.done;o=i.next())!function(t){var r,i,o,a,l=e.entryForRelationship(t);if(void 0===l)return"continue";var s=function(e){var t,r;if(pO(e,"shape")){var i=e.attributes.find(function(e){return"id"===e.localName});void 0!==i&&n.add(i.value)}try{for(var o=h$(ct(e)),a=o.next();!a.done;a=o.next()){var l=a.value;s(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}};try{for(var u=h$(l.blocks),c=u.next();!c.done;c=u.next()){var d=c.value;if("opaque"===d.type)s(d.xml);else if("paragraph"===d.type)try{for(var h=h$(d.paragraph.items),f=h.next();!f.done;f=h.next()){var p=f.value;(p instanceof jR||p instanceof BR)&&s(p.xml)}}catch(e){o={error:e}}finally{try{f&&!f.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}(o.value)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function HN(e,t){for(var r=1;t.has(""+e+String(r));)r+=1;var n=""+e+String(r);return t.add(n),n}function WN(e,t,r){e.appendParagraphForRelationship(t).appendParagraphItem(new jR(r))}function GN(e,t,r){var n,i,o,a,l,s,u=BN(t),c=t.imageData;if(void 0===c||0===c.byteLength)throw new $N("content/invalid-image","Picture watermark has no image bytes to serialize");var d,h=e.opcPackage(),f=fN(e),p=_N(c);try{for(var v=h$(h.parts),m=v.next();!m.done;m=v.next()){var y=m.value;if(y.contentType===u&&(String(y.name).includes("/word/media/")&&y.data.byteLength===c.byteLength&&_N(y.data)===p)){d=y.name;break}}}catch(e){n={error:e}}finally{try{m&&!m.done&&(i=v.return)&&i.call(v)}finally{if(n)throw n.error}}var g=dN(e);void 0===d&&(d=jN(u,f),f.add(W(d)),g.stageMedia({partName:d,contentType:u,data:c}));var b=new Map,w=MN(d);try{for(var P=h$(r),S=P.next();!S.done;S=P.next()){var x=S.value,C=W(x);if(!b.has(C)){var I=Fe(h,x),V=I.items.find(function(e){return e.type===mq&&e.target===w}),T=void 0;if(void 0!==V)T=V.id;else{var k=new Set(I.items.map(function(e){return e.id}));try{for(var F=h$(b.values()),D=F.next();!D.done;D=F.next()){var O=D.value;k.add(O)}}catch(e){l={error:e}}finally{try{D&&!D.done&&(s=F.return)&&s.call(F)}finally{if(l)throw l.error}}var N={id:T=ae(k),type:mq,target:w,extraAttributes:[],children:[]};g.stageHeaderRel(x,N)}b.set(C,T)}}}catch(e){o={error:e}}finally{try{S&&!S.done&&(a=P.return)&&a.call(P)}finally{if(o)throw o.error}}return{relIdByHeaderPartKey:b,contentType:u,data:c,mediaPartName:d}}function qN(e,t){var r,n,i,o,a=new Set,l=[];try{for(var s=h$(pN(e)),u=s.next();!u.done;u=s.next()){var c=u.value;try{for(var d=h$(I$),h=d.next();!h.done;h=d.next()){var f=h.value,p=c.headerFooterReferenceId("header",f);if(void 0!==p){var v=t.entryForRelationship(p);if(void 0!==v){var m=W(v.partName);a.has(m)||(a.add(m),l.push({relationshipId:p,partName:v.partName}))}}}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return l}function XN(e){var t,r,n,i,o,a,l,s,u,c,d,h,f;if(sN(e)){var p;try{p=sV(e)}catch(e){return}var v=wO(e);void 0!==v&&vN(e,p);var m=qN(e,p),y=UN(p),g=new Set;try{for(var b=h$(m),w=b.next();!w.done;w=b.next()){V=w.value;void 0!==(_=p.entryForRelationship(V.relationshipId))&&PN(_)}}catch(e){t={error:e}}finally{try{w&&!w.done&&(r=b.return)&&r.call(b)}finally{if(t)throw t.error}}if(void 0===v){try{for(var P=h$(m),S=P.next();!S.done;S=P.next()){V=S.value;void 0!==(_=p.entryForRelationship(V.relationshipId))&&xN(e,V.partName,_,g)}}catch(e){n={error:e}}finally{try{S&&!S.done&&(i=P.return)&&i.call(P)}finally{if(n)throw n.error}}return void uN(e)}if(v.type===qJ.TextWatermark){var x=v;try{for(var C=h$(m),I=C.next();!I.done;I=C.next()){var V=I.value,T=AN(x,E=HN(jJ,y));WN(p,V.relationshipId,T)}}catch(e){o={error:e}}finally{try{I&&!I.done&&(a=C.return)&&a.call(C)}finally{if(o)throw o.error}}try{for(var k=h$(m),F=k.next();!F.done;F=k.next()){V=F.value;void 0!==(_=p.entryForRelationship(V.relationshipId))&&xN(e,V.partName,_,g)}}catch(e){l={error:e}}finally{try{F&&!F.done&&(s=k.return)&&s.call(k)}finally{if(l)throw l.error}}return void uN(e)}var D=v,O=GN(e,D,m.map(function(e){return e.partName}));g.add(W(O.mediaPartName));try{for(var N=h$(m),A=N.next();!A.done;A=N.next()){var V=A.value,E=HN(MJ,y),L=(f=O.relIdByHeaderPartKey.get(W(V.partName)),null!=f?f:O.relIdByHeaderPartKey.values().next().value);if(void 0===L)throw new $N("content/invalid-image","Picture watermark failed to allocate a header image relationship");T=zN(D,E,L);WN(p,V.relationshipId,T)}}catch(e){u={error:e}}finally{try{A&&!A.done&&(c=N.return)&&c.call(N)}finally{if(u)throw u.error}}try{for(var R=h$(m),B=R.next();!B.done;B=R.next()){var V=B.value,_=p.entryForRelationship(V.relationshipId);void 0!==_&&xN(e,V.partName,_,g)}}catch(e){d={error:e}}finally{try{B&&!B.done&&(h=R.return)&&h.call(R)}finally{if(d)throw d.error}}uN(e)}}function YN(e){return new T$}function ZN(){F$=!1,OO()}function KN(){F$||(F$=!0,je({id:k$}),_t({featureId:k$,materialize:function(e){XN(e)}}),kt({featureId:k$,loadParts:function(e){return YN()}}))}for(var JN=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),$N=function(e){function t(t,r,n){var i=this.constructor,o=e.call(this,r)||this;return o.name=i.name,o.code=t,void 0!==n&&void 0!==n.cause&&(o.cause=n.cause),Object.setPrototypeOf(o,i.prototype),o}return JN(t,e),t}(Error),QN=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return JN(t,e),t}($N),eA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return JN(t,e),t}($N),tA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return JN(t,e),t}($N),rA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return JN(t,e),t}($N),nA=function(e){function t(t,r){return e.call(this,"content/unsupported",t,r)||this}return JN(t,e),t}($N),iA=function(e){function t(t,r){return e.call(this,"model/detached-object",t,r)||this}return JN(t,e),t}($N),oA=function(e){function t(t,r){return e.call(this,"argument/invalid",t,r)||this}return JN(t,e),t}($N),aA=function(e){function t(t,r){return e.call(this,"io/error",t,r)||this}return JN(t,e),t}($N),lA={totalUncompressedSize:536870912,compressionRatio:200,entryCount:1e4,singlePartUncompressedSize:134217728,xmlNestingDepth:256,xmlAttributeCount:4096,textNodeLength:33554432,relationshipCountPerPart:1e4},sA="http://www.w3.org/XML/1998/namespace",uA="http://www.w3.org/2000/xmlns/",cA="http://schemas.openxmlformats.org/wordprocessingml/2006/main",dA="http://purl.oclc.org/ooxml/wordprocessingml/main",hA=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},fA=function(){function e(e){this.pos=0,this.source=e}return e.prototype.eof=function(){return this.pos>=this.source.length},e.prototype.peek=function(){return this.source.charAt(this.pos)},e.prototype.startsWith=function(e){return this.source.startsWith(e,this.pos)},e.prototype.advance=function(e){void 0===e&&(e=1),this.pos+=e},e.prototype.skipWhitespace=function(){for(;!this.eof();){var e=this.peek();if(" "!==e&&"\t"!==e&&"\n"!==e&&"\r"!==e)break;this.advance()}},e}(),pA=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},vA=new Uint32Array(256),mA=0;mA<256;mA+=1){for(var yA=mA,gA=0;gA<8;gA+=1)yA=1==(1&yA)?3988292384^yA>>>1:yA>>>1;vA[mA]=yA>>>0}var bA=15,wA=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],PA=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],SA=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],xA=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],CA=function(){function e(e){this.input=e,this.buffer=0,this.bitsLeft=0,this.offset=0}return e.prototype.bits=function(e){for(;this.bitsLeft<e;){if(this.offset>=this.input.length)throw new Error("Truncated DEFLATE stream");this.buffer|=this.input[this.offset++]<<this.bitsLeft,this.bitsLeft+=8}var t=this.buffer&(1<<e)-1;return this.buffer>>>=e,this.bitsLeft-=e,t},e.prototype.align=function(){this.buffer=0,this.bitsLeft=0},e.prototype.bytes=function(e){if(this.align(),this.offset+e>this.input.length)throw new Error("Truncated DEFLATE stored block");var t=this.input.subarray(this.offset,this.offset+e);return this.offset+=e,t},e.prototype.u16=function(){if(this.align(),this.offset+2>this.input.length)throw new Error("Truncated DEFLATE stored block");var e=this.input[this.offset]|this.input[this.offset+1]<<8;return this.offset+=2,e},e}(),IA=function(){function e(e){this.counts=[],this.firstCode=[],this.symbolIndex=[];for(var t=[],r=0;r<=bA;r++)t[r]=0;for(r=0;r<e.length;r++){var n=e[r];if(n>bA)throw new Error("Invalid DEFLATE Huffman length");n>0&&(t[n]+=1)}var i=[],o=0;t[0]=0;for(l=1;l<=bA;l++)o=o+t[l-1]<<1,i[l]=o,this.firstCode[l]=o,this.counts[l]=t[l];this.symbolIndex=[];for(l=0;l<=bA;l++)this.symbolIndex[l]=0;for(var a=0,l=1;l<=bA;l++)this.symbolIndex[l]=a,a+=t[l];this.symbols=[];for(r=0;r<e.length;r++)this.symbols[r]=0;for(var s=0;s<e.length;s++){var u=e[s];if(0!==u){var c=this.symbolIndex[u]+(i[u]-this.firstCode[u]);this.symbols[c]=s,i[u]+=1}}}return e.prototype.decode=function(e){for(var t=0,r=1;r<=bA;r++){t=t<<1|e.bits(1);var n=this.counts[r];if(0!==n){var i=this.firstCode[r];if(t>=i&&t<i+n)return this.symbols[this.symbolIndex[r]+(t-i)]}}throw new Error("Invalid DEFLATE Huffman code")},e}(),VA=function(){for(var e=[],t=0;t<288;t++)e[t]=t<144?8:t<256?9:t<280?7:8;return new IA(e)}(),TA=function(){for(var e=[],t=0;t<30;t++)e[t]=5;return new IA(e)}(),kA=function(){function e(e){this.maxOutputLength=e,this.bytes=new Uint8Array(256),this.length=0}return e.prototype.push=function(e){this.ensure(1),this.bytes[this.length++]=e},e.prototype.copy=function(e,t){if(e<=0||e>this.length)throw new Error("Invalid DEFLATE distance");this.ensure(t);for(var r=this.length-e,n=0;n<t;n++)this.bytes[this.length++]=this.bytes[r+n]},e.prototype.finish=function(){return this.bytes.slice(0,this.length)},e.prototype.ensure=function(e){if(this.length+e>this.maxOutputLength)throw new RangeError("Inflated size exceeds limit "+String(this.maxOutputLength));if(!(this.length+e<=this.bytes.length)){for(var t=this.bytes.length;t<this.length+e;)t*=2;t>this.maxOutputLength&&(t=this.maxOutputLength);var r=new Uint8Array(t);r.set(this.bytes.subarray(0,this.length)),this.bytes=r}},e}(),FA=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},DA=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},OA=101010256,NA=33639248,AA=67324752,EA=0,LA=8,RA=1,BA=2048,_A=Uint8Array.of(208,207,17,224,161,177,26,225),jA=42476,MA=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},zA=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},UA=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(zA(arguments[t]));return e},HA=67324752,WA=33639248,GA=101010256,qA=0,XA=20,YA=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},ZA="[Content_Types].xml",KA="http://schemas.openxmlformats.org/package/2006/content-types",JA="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml",$A="application/vnd.openxmlformats-package.relationships+xml",QA=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},eE=".rels",tE=function(){return(tE=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},rE=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},nE=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},iE=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(nE(arguments[t]));return e},oE="http://schemas.openxmlformats.org/package/2006/relationships",aE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",lE="http://purl.oclc.org/ooxml/officeDocument/relationships/officeDocument",sE={Internal:"Internal",External:"External"},uE=/^[A-Za-z_][\w.-]*$/,cE=function(){return(cE=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},dE=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},hE=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(dE(arguments[t]));return e},fE=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},pE=new TextEncoder,vE=new TextDecoder("utf-8"),mE=new Map,yE=new Map,gE=function(){return(gE=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},bE=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},wE=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},PE=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(wE(arguments[t]));return e},SE=[],xE=function(){return(xE=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},CE=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},IE=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},VE=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(IE(arguments[t]));return e},TE=[],kE=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},FE=cA,DE=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},OE=new Map,NE=new Map,AE=function(){return(AE=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},EE=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},LE=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},RE=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(LE(arguments[t]));return e},BE=[],_E=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},jE=[],ME=new Map,zE=function(){return(zE=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},UE=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},HE=Be("bibliography"),WE=new TextDecoder("utf-8"),GE="http://schemas.openxmlformats.org/officeDocument/2006/bibliography",qE="http://purl.oclc.org/ooxml/officeDocument/bibliography",XE=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml","http://purl.oclc.org/ooxml/officeDocument/relationships/customXml"],YE={present:!1,sourceCount:0,styleName:void 0,selectedStyle:void 0,sourceTags:[]},ZE=function(){function e(e){this.metadata=e}return e.prototype.present=function(){return this.metadata.present},e.prototype.sourceCount=function(){return this.metadata.sourceCount},e.prototype.styleName=function(){return this.metadata.styleName},e.prototype.selectedStyle=function(){return this.metadata.selectedStyle},e.prototype.sourceTags=function(){return this.metadata.sourceTags},e.prototype.isDirty=function(){return!1},e.prototype.applyToPackage=function(e,t){return e},e}(),KE=!1;Jt();var JE=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},$E=[],QE="http://schemas.openxmlformats.org/markup-compatibility/2006",eL=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},tL=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},rL=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},nL=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},iL=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},oL=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(iL(arguments[t]));return e},aL={Lax:"lax",Strict:"strict"},lL=function(){return(lL=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},sL=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},uL=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(sL(arguments[t]));return e},cL=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},dL=Be("alt-chunk"),hL=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk","http://purl.oclc.org/ooxml/officeDocument/relationships/aFChunk"],fL="http://schemas.openxmlformats.org/officeDocument/2006/relationships",pL=function(){function e(e){this.element=e}return e.prototype.bindDocument=function(e){this.documentOwner=e},Object.defineProperty(e.prototype,"relationshipId",{get:function(){return Ir(this.element)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var e=this.relationshipId;if(void 0!==e&&void 0!==this.documentOwner){var t=this.documentOwner.opcPackage();return Vr(t,xe(t),e)}},enumerable:!0,configurable:!0}),e.prototype.toOpenXml=function(){return this.element},e}(),vL=!1,mL=12700,yL=36e4,gL=36e3,bL=9525,wL=20,PL=2,SL=72,xL={EMU_PER_INCH:914400,EMU_PER_PT:mL,EMU_PER_TWIP:635,EMU_PER_HALF_POINT:6350,EMU_PER_CM:yL,EMU_PER_MM:gL,EMU_PER_PX_96DPI:bL,TWIPS_PER_PT:wL,HALF_POINTS_PER_PT:PL,PT_PER_INCH:SL};!function(e){e[e.Transparent=0]="Transparent",e[e.AliceBlue=1]="AliceBlue",e[e.AntiqueWhite=2]="AntiqueWhite",e[e.Aqua=3]="Aqua",e[e.Aquamarine=4]="Aquamarine",e[e.Azure=5]="Azure",e[e.Beige=6]="Beige",e[e.Bisque=7]="Bisque",e[e.Black=8]="Black",e[e.BlanchedAlmond=9]="BlanchedAlmond",e[e.Blue=10]="Blue",e[e.BlueViolet=11]="BlueViolet",e[e.Brown=12]="Brown",e[e.BurlyWood=13]="BurlyWood",e[e.CadetBlue=14]="CadetBlue",e[e.Chartreuse=15]="Chartreuse",e[e.Chocolate=16]="Chocolate",e[e.Coral=17]="Coral",e[e.CornflowerBlue=18]="CornflowerBlue",e[e.Cornsilk=19]="Cornsilk",e[e.Crimson=20]="Crimson",e[e.Cyan=21]="Cyan",e[e.DarkBlue=22]="DarkBlue",e[e.DarkCyan=23]="DarkCyan",e[e.DarkGoldenrod=24]="DarkGoldenrod",e[e.DarkGray=25]="DarkGray",e[e.DarkGreen=26]="DarkGreen",e[e.DarkKhaki=27]="DarkKhaki",e[e.DarkMagenta=28]="DarkMagenta",e[e.DarkOliveGreen=29]="DarkOliveGreen",e[e.DarkOrange=30]="DarkOrange",e[e.DarkOrchid=31]="DarkOrchid",e[e.DarkRed=32]="DarkRed",e[e.DarkSalmon=33]="DarkSalmon",e[e.DarkSeaGreen=34]="DarkSeaGreen",e[e.DarkSlateBlue=35]="DarkSlateBlue",e[e.DarkSlateGray=36]="DarkSlateGray",e[e.DarkTurquoise=37]="DarkTurquoise",e[e.DarkViolet=38]="DarkViolet",e[e.DeepPink=39]="DeepPink",e[e.DeepSkyBlue=40]="DeepSkyBlue",e[e.DimGray=41]="DimGray",e[e.DodgerBlue=42]="DodgerBlue",e[e.Firebrick=43]="Firebrick",e[e.FloralWhite=44]="FloralWhite",e[e.ForestGreen=45]="ForestGreen",e[e.Fuchsia=46]="Fuchsia",e[e.Gainsboro=47]="Gainsboro",e[e.GhostWhite=48]="GhostWhite",e[e.Gold=49]="Gold",e[e.Goldenrod=50]="Goldenrod",e[e.Gray=51]="Gray",e[e.Green=52]="Green",e[e.GreenYellow=53]="GreenYellow",e[e.Honeydew=54]="Honeydew",e[e.HotPink=55]="HotPink",e[e.IndianRed=56]="IndianRed",e[e.Indigo=57]="Indigo",e[e.Ivory=58]="Ivory",e[e.Khaki=59]="Khaki",e[e.Lavender=60]="Lavender",e[e.LavenderBlush=61]="LavenderBlush",e[e.LawnGreen=62]="LawnGreen",e[e.LemonChiffon=63]="LemonChiffon",e[e.LightBlue=64]="LightBlue",e[e.LightCoral=65]="LightCoral",e[e.LightCyan=66]="LightCyan",e[e.LightGoldenrodYellow=67]="LightGoldenrodYellow",e[e.LightGreen=68]="LightGreen",e[e.LightGray=69]="LightGray",e[e.LightPink=70]="LightPink",e[e.LightSalmon=71]="LightSalmon",e[e.LightSeaGreen=72]="LightSeaGreen",e[e.LightSkyBlue=73]="LightSkyBlue",e[e.LightSlateGray=74]="LightSlateGray",e[e.LightSteelBlue=75]="LightSteelBlue",e[e.LightYellow=76]="LightYellow",e[e.Lime=77]="Lime",e[e.LimeGreen=78]="LimeGreen",e[e.Linen=79]="Linen",e[e.Magenta=80]="Magenta",e[e.Maroon=81]="Maroon",e[e.MediumAquamarine=82]="MediumAquamarine",e[e.MediumBlue=83]="MediumBlue",e[e.MediumOrchid=84]="MediumOrchid",e[e.MediumPurple=85]="MediumPurple",e[e.MediumSeaGreen=86]="MediumSeaGreen",e[e.MediumSlateBlue=87]="MediumSlateBlue",e[e.MediumSpringGreen=88]="MediumSpringGreen",e[e.MediumTurquoise=89]="MediumTurquoise",e[e.MediumVioletRed=90]="MediumVioletRed",e[e.MidnightBlue=91]="MidnightBlue",e[e.MintCream=92]="MintCream",e[e.MistyRose=93]="MistyRose",e[e.Moccasin=94]="Moccasin",e[e.NavajoWhite=95]="NavajoWhite",e[e.Navy=96]="Navy",e[e.OldLace=97]="OldLace",e[e.Olive=98]="Olive",e[e.OliveDrab=99]="OliveDrab",e[e.Orange=100]="Orange",e[e.OrangeRed=101]="OrangeRed",e[e.Orchid=102]="Orchid",e[e.PaleGoldenrod=103]="PaleGoldenrod",e[e.PaleGreen=104]="PaleGreen",e[e.PaleTurquoise=105]="PaleTurquoise",e[e.PaleVioletRed=106]="PaleVioletRed",e[e.PapayaWhip=107]="PapayaWhip",e[e.PeachPuff=108]="PeachPuff",e[e.Peru=109]="Peru",e[e.Pink=110]="Pink",e[e.Plum=111]="Plum",e[e.PowderBlue=112]="PowderBlue",e[e.Purple=113]="Purple",e[e.Red=114]="Red",e[e.RosyBrown=115]="RosyBrown",e[e.RoyalBlue=116]="RoyalBlue",e[e.SaddleBrown=117]="SaddleBrown",e[e.Salmon=118]="Salmon",e[e.SandyBrown=119]="SandyBrown",e[e.SeaGreen=120]="SeaGreen",e[e.SeaShell=121]="SeaShell",e[e.Sienna=122]="Sienna",e[e.Silver=123]="Silver",e[e.SkyBlue=124]="SkyBlue",e[e.SlateBlue=125]="SlateBlue",e[e.SlateGray=126]="SlateGray",e[e.Snow=127]="Snow",e[e.SpringGreen=128]="SpringGreen",e[e.SteelBlue=129]="SteelBlue",e[e.Tan=130]="Tan",e[e.Teal=131]="Teal",e[e.Thistle=132]="Thistle",e[e.Tomato=133]="Tomato",e[e.Turquoise=134]="Turquoise",e[e.Violet=135]="Violet",e[e.Wheat=136]="Wheat",e[e.White=137]="White",e[e.WhiteSmoke=138]="WhiteSmoke",e[e.Yellow=139]="Yellow",e[e.YellowGreen=140]="YellowGreen"}(e.Color||(e.Color={}));var CL={};CL[e.Color.Transparent]="",CL[e.Color.AliceBlue]="F0F8FF",CL[e.Color.AntiqueWhite]="FAEBD7",CL[e.Color.Aqua]="00FFFF",CL[e.Color.Aquamarine]="7FFFD4",CL[e.Color.Azure]="F0FFFF",CL[e.Color.Beige]="F5F5DC",CL[e.Color.Bisque]="FFE4C4",CL[e.Color.Black]="000000",CL[e.Color.BlanchedAlmond]="FFEBCD",CL[e.Color.Blue]="0000FF",CL[e.Color.BlueViolet]="8A2BE2",CL[e.Color.Brown]="A52A2A",CL[e.Color.BurlyWood]="DEB887",CL[e.Color.CadetBlue]="5F9EA0",CL[e.Color.Chartreuse]="7FFF00",CL[e.Color.Chocolate]="D2691E",CL[e.Color.Coral]="FF7F50",CL[e.Color.CornflowerBlue]="6495ED",CL[e.Color.Cornsilk]="FFF8DC",CL[e.Color.Crimson]="DC143C",CL[e.Color.Cyan]="00FFFF",CL[e.Color.DarkBlue]="00008B",CL[e.Color.DarkCyan]="008B8B",CL[e.Color.DarkGoldenrod]="B8860B",CL[e.Color.DarkGray]="A9A9A9",CL[e.Color.DarkGreen]="006400",CL[e.Color.DarkKhaki]="BDB76B",CL[e.Color.DarkMagenta]="8B008B",CL[e.Color.DarkOliveGreen]="556B2F",CL[e.Color.DarkOrange]="FF8C00",CL[e.Color.DarkOrchid]="9932CC",CL[e.Color.DarkRed]="8B0000",CL[e.Color.DarkSalmon]="E9967A",CL[e.Color.DarkSeaGreen]="8FBC8F",CL[e.Color.DarkSlateBlue]="483D8B",CL[e.Color.DarkSlateGray]="2F4F4F",CL[e.Color.DarkTurquoise]="00CED1",CL[e.Color.DarkViolet]="9400D3",CL[e.Color.DeepPink]="FF1493",CL[e.Color.DeepSkyBlue]="00BFFF",CL[e.Color.DimGray]="696969",CL[e.Color.DodgerBlue]="1E90FF",CL[e.Color.Firebrick]="B22222",CL[e.Color.FloralWhite]="FFFAF0",CL[e.Color.ForestGreen]="228B22",CL[e.Color.Fuchsia]="FF00FF",CL[e.Color.Gainsboro]="DCDCDC",CL[e.Color.GhostWhite]="F8F8FF",CL[e.Color.Gold]="FFD700",CL[e.Color.Goldenrod]="DAA520",CL[e.Color.Gray]="808080",CL[e.Color.Green]="008000",CL[e.Color.GreenYellow]="ADFF2F",CL[e.Color.Honeydew]="F0FFF0",CL[e.Color.HotPink]="FF69B4",CL[e.Color.IndianRed]="CD5C5C",CL[e.Color.Indigo]="4B0082",CL[e.Color.Ivory]="FFFFF0",CL[e.Color.Khaki]="F0E68C",CL[e.Color.Lavender]="E6E6FA",CL[e.Color.LavenderBlush]="FFF0F5",CL[e.Color.LawnGreen]="7CFC00",CL[e.Color.LemonChiffon]="FFFACD",CL[e.Color.LightBlue]="ADD8E6",CL[e.Color.LightCoral]="F08080",CL[e.Color.LightCyan]="E0FFFF",CL[e.Color.LightGoldenrodYellow]="FAFAD2",CL[e.Color.LightGreen]="90EE90",CL[e.Color.LightGray]="D3D3D3",CL[e.Color.LightPink]="FFB6C1",CL[e.Color.LightSalmon]="FFA07A",CL[e.Color.LightSeaGreen]="20B2AA",CL[e.Color.LightSkyBlue]="87CEFA",CL[e.Color.LightSlateGray]="778899",CL[e.Color.LightSteelBlue]="B0C4DE",CL[e.Color.LightYellow]="FFFFE0",CL[e.Color.Lime]="00FF00",CL[e.Color.LimeGreen]="32CD32",CL[e.Color.Linen]="FAF0E6",CL[e.Color.Magenta]="FF00FF",CL[e.Color.Maroon]="800000",CL[e.Color.MediumAquamarine]="66CDAA",CL[e.Color.MediumBlue]="0000CD",CL[e.Color.MediumOrchid]="BA55D3",CL[e.Color.MediumPurple]="9370DB",CL[e.Color.MediumSeaGreen]="3CB371",CL[e.Color.MediumSlateBlue]="7B68EE",CL[e.Color.MediumSpringGreen]="00FA9A",CL[e.Color.MediumTurquoise]="48D1CC",CL[e.Color.MediumVioletRed]="C71585",CL[e.Color.MidnightBlue]="191970",CL[e.Color.MintCream]="F5FFFA",CL[e.Color.MistyRose]="FFE4E1",CL[e.Color.Moccasin]="FFE4B5",CL[e.Color.NavajoWhite]="FFDEAD",CL[e.Color.Navy]="000080",CL[e.Color.OldLace]="FDF5E6",CL[e.Color.Olive]="808000",CL[e.Color.OliveDrab]="6B8E23",CL[e.Color.Orange]="FFA500",CL[e.Color.OrangeRed]="FF4500",CL[e.Color.Orchid]="DA70D6",CL[e.Color.PaleGoldenrod]="EEE8AA",CL[e.Color.PaleGreen]="98FB98",CL[e.Color.PaleTurquoise]="AFEEEE",CL[e.Color.PaleVioletRed]="DB7093",CL[e.Color.PapayaWhip]="FFEFD5",CL[e.Color.PeachPuff]="FFDAB9",CL[e.Color.Peru]="CD853F",CL[e.Color.Pink]="FFC0CB",CL[e.Color.Plum]="DDA0DD",CL[e.Color.PowderBlue]="B0E0E6",CL[e.Color.Purple]="800080",CL[e.Color.Red]="FF0000",CL[e.Color.RosyBrown]="BC8F8F",CL[e.Color.RoyalBlue]="4169E1",CL[e.Color.SaddleBrown]="8B4513",CL[e.Color.Salmon]="FA8072",CL[e.Color.SandyBrown]="F4A460",CL[e.Color.SeaGreen]="2E8B57",CL[e.Color.SeaShell]="FFF5EE",CL[e.Color.Sienna]="A0522D",CL[e.Color.Silver]="C0C0C0",CL[e.Color.SkyBlue]="87CEEB",CL[e.Color.SlateBlue]="6A5ACD",CL[e.Color.SlateGray]="708090",CL[e.Color.Snow]="FFFAFA",CL[e.Color.SpringGreen]="00FF7F",CL[e.Color.SteelBlue]="4682B4",CL[e.Color.Tan]="D2B48C",CL[e.Color.Teal]="008080",CL[e.Color.Thistle]="D8BFD8",CL[e.Color.Tomato]="FF6347",CL[e.Color.Turquoise]="40E0D0",CL[e.Color.Violet]="EE82EE",CL[e.Color.Wheat]="F5DEB3",CL[e.Color.White]="FFFFFF",CL[e.Color.WhiteSmoke]="F5F5F5",CL[e.Color.Yellow]="FFFF00",CL[e.Color.YellowGreen]="9ACD32";var IL={};!function(){for(var e=Object.keys(CL),t=0;t<e.length;t++){var r=Number(e[t]),n=CL[r];void 0!==n&&n.length>0&&(IL[n.toUpperCase()]=r)}}(),function(e){e[e.None=0]="None",e[e.af_ZA=1078]="af_ZA",e[e.sq_AL=1052]="sq_AL",e[e.am_ET=1118]="am_ET",e[e.ar_SA=1025]="ar_SA",e[e.ar_IQ=2049]="ar_IQ",e[e.ar_EG=3073]="ar_EG",e[e.ar_LY=4097]="ar_LY",e[e.ar_DZ=5121]="ar_DZ",e[e.ar_MA=6145]="ar_MA",e[e.ar_TN=7169]="ar_TN",e[e.ar_OM=8193]="ar_OM",e[e.ar_YE=9217]="ar_YE",e[e.ar_SY=10241]="ar_SY",e[e.ar_JO=11265]="ar_JO",e[e.ar_LB=12289]="ar_LB",e[e.ar_KW=13313]="ar_KW",e[e.ar_AE=14337]="ar_AE",e[e.ar_BH=15361]="ar_BH",e[e.ar_QA=16385]="ar_QA",e[e.hy_AM=1067]="hy_AM",e[e.as_IN=1101]="as_IN",e[e.az_AZ_Latn=1068]="az_AZ_Latn",e[e.az_AZ_Cyrl=2092]="az_AZ_Cyrl",e[e.eu_ES=1069]="eu_ES",e[e.be_BY=1059]="be_BY",e[e.bn_IN=1093]="bn_IN",e[e.bn_BD=2117]="bn_BD",e[e.bs_BA_Latn=5146]="bs_BA_Latn",e[e.bs_BA_Cyrl=8218]="bs_BA_Cyrl",e[e.bg_BG=1026]="bg_BG",e[e.my_MM=1109]="my_MM",e[e.ca_ES=1027]="ca_ES",e[e.zh_TW=1028]="zh_TW",e[e.zh_CN=2052]="zh_CN",e[e.zh_HK=3076]="zh_HK",e[e.zh_SG=4100]="zh_SG",e[e.zh_MO=5124]="zh_MO",e[e.hr_HR=1050]="hr_HR",e[e.hr_BA=4122]="hr_BA",e[e.cs_CZ=1029]="cs_CZ",e[e.da_DK=1030]="da_DK",e[e.prs_AF=1164]="prs_AF",e[e.dv_MV=1125]="dv_MV",e[e.nl_NL=1043]="nl_NL",e[e.nl_BE=2067]="nl_BE",e[e.en_US=1033]="en_US",e[e.en_GB=2057]="en_GB",e[e.en_AU=3081]="en_AU",e[e.en_CA=4105]="en_CA",e[e.en_NZ=5129]="en_NZ",e[e.en_IE=6153]="en_IE",e[e.en_ZA=7177]="en_ZA",e[e.en_JM=8201]="en_JM",e[e.en_CB=9225]="en_CB",e[e.en_BZ=10249]="en_BZ",e[e.en_TT=11273]="en_TT",e[e.en_ZW=12297]="en_ZW",e[e.en_PH=13321]="en_PH",e[e.en_IN=16393]="en_IN",e[e.en_MY=17417]="en_MY",e[e.en_SG=18441]="en_SG",e[e.et_EE=1061]="et_EE",e[e.fo_FO=1080]="fo_FO",e[e.fil_PH=1124]="fil_PH",e[e.fi_FI=1035]="fi_FI",e[e.fr_FR=1036]="fr_FR",e[e.fr_BE=2060]="fr_BE",e[e.fr_CA=3084]="fr_CA",e[e.fr_CH=4108]="fr_CH",e[e.fr_LU=5132]="fr_LU",e[e.fr_MC=6156]="fr_MC",e[e.fy_NL=1122]="fy_NL",e[e.gl_ES=1110]="gl_ES",e[e.ka_GE=1079]="ka_GE",e[e.de_DE=1031]="de_DE",e[e.de_CH=2055]="de_CH",e[e.de_AT=3079]="de_AT",e[e.de_LU=4103]="de_LU",e[e.de_LI=5127]="de_LI",e[e.el_GR=1032]="el_GR",e[e.gu_IN=1095]="gu_IN",e[e.ha_NG_Latn=1128]="ha_NG_Latn",e[e.he_IL=1037]="he_IL",e[e.hi_IN=1081]="hi_IN",e[e.hu_HU=1038]="hu_HU",e[e.is_IS=1039]="is_IS",e[e.ig_NG=1136]="ig_NG",e[e.id_ID=1057]="id_ID",e[e.iu_CA_Latn=2141]="iu_CA_Latn",e[e.iu_CA_Cans=1117]="iu_CA_Cans",e[e.ga_IE=2108]="ga_IE",e[e.xh_ZA=1076]="xh_ZA",e[e.zu_ZA=1077]="zu_ZA",e[e.it_IT=1040]="it_IT",e[e.it_CH=2064]="it_CH",e[e.ja_JP=1041]="ja_JP",e[e.kn_IN=1099]="kn_IN",e[e.kk_KZ=1087]="kk_KZ",e[e.km_KH=1107]="km_KH",e[e.quc_GT=1158]="quc_GT",e[e.rw_RW=1159]="rw_RW",e[e.sw_KE=1089]="sw_KE",e[e.kok_IN=1111]="kok_IN",e[e.ko_KR=1042]="ko_KR",e[e.ky_KG=1088]="ky_KG",e[e.lo_LA=1108]="lo_LA",e[e.lv_LV=1062]="lv_LV",e[e.lt_LT=1063]="lt_LT",e[e.dsb_DE=2094]="dsb_DE",e[e.lb_LU=1134]="lb_LU",e[e.mk_MK=1071]="mk_MK",e[e.ms_MY=1086]="ms_MY",e[e.ms_BN=2110]="ms_BN",e[e.ml_IN=1100]="ml_IN",e[e.mt_MT=1082]="mt_MT",e[e.mi_NZ=1153]="mi_NZ",e[e.arn_CL=1146]="arn_CL",e[e.mr_IN=1102]="mr_IN",e[e.mn_MN=1104]="mn_MN",e[e.mn_CN=2128]="mn_CN",e[e.ne_NP=1121]="ne_NP",e[e.nb_NO=1044]="nb_NO",e[e.nn_NO=2068]="nn_NO",e[e.oc_FR=1154]="oc_FR",e[e.or_IN=1096]="or_IN",e[e.ps_AF=1123]="ps_AF",e[e.fa_IR=1065]="fa_IR",e[e.pl_PL=1045]="pl_PL",e[e.pt_BR=1046]="pt_BR",e[e.pt_PT=2070]="pt_PT",e[e.pa_IN=1094]="pa_IN",e[e.quz_BO=1131]="quz_BO",e[e.quz_EC=2155]="quz_EC",e[e.quz_PE=3179]="quz_PE",e[e.ro_RO=1048]="ro_RO",e[e.rm_CH=1047]="rm_CH",e[e.ru_RU=1049]="ru_RU",e[e.smn_FI=9275]="smn_FI",e[e.smj_NO=4155]="smj_NO",e[e.smj_SE=5179]="smj_SE",e[e.se_NO=3131]="se_NO",e[e.se_SE=1083]="se_SE",e[e.se_FI=2107]="se_FI",e[e.sms_FI=8251]="sms_FI",e[e.sma_NO=6203]="sma_NO",e[e.sma_SE=7227]="sma_SE",e[e.sa_IN=1103]="sa_IN",e[e.sr_SP_Cyrl=3098]="sr_SP_Cyrl",e[e.sr_SP_Latn=2074]="sr_SP_Latn",e[e.sr_BA_Cyrl=7194]="sr_BA_Cyrl",e[e.sr_BA_Latn=5146]="sr_BA_Latn",e[e.nso_ZA=1132]="nso_ZA",e[e.tn_ZA=1074]="tn_ZA",e[e.si_LK=1115]="si_LK",e[e.sk_SK=1051]="sk_SK",e[e.sl_SI=1060]="sl_SI",e[e.es_ES_tradnl=1034]="es_ES_tradnl",e[e.es_MX=2058]="es_MX",e[e.es_ES=3082]="es_ES",e[e.es_GT=4106]="es_GT",e[e.es_CR=5130]="es_CR",e[e.es_PA=6154]="es_PA",e[e.es_DO=7178]="es_DO",e[e.es_VE=8202]="es_VE",e[e.es_CO=9226]="es_CO",e[e.es_PE=10250]="es_PE",e[e.es_AR=11274]="es_AR",e[e.es_EC=12298]="es_EC",e[e.es_CL=13322]="es_CL",e[e.es_UY=14346]="es_UY",e[e.es_PY=15370]="es_PY",e[e.es_BO=16394]="es_BO",e[e.es_SV=17418]="es_SV",e[e.es_HN=18442]="es_HN",e[e.es_NI=19466]="es_NI",e[e.es_PR=20490]="es_PR",e[e.es_US=21514]="es_US",e[e.sv_SE=1053]="sv_SE",e[e.sv_FI=2077]="sv_FI",e[e.syr_SY=1114]="syr_SY",e[e.tg_TJ_Cyrl=1064]="tg_TJ_Cyrl",e[e.ta_IN=1097]="ta_IN",e[e.tt_RU=1092]="tt_RU",e[e.te_IN=1098]="te_IN",e[e.th_TH=1054]="th_TH",e[e.bo_CN=1105]="bo_CN",e[e.ti_ER=2163]="ti_ER",e[e.ti_ET=1139]="ti_ET",e[e.ts_ZA=1073]="ts_ZA",e[e.tr_TR=1055]="tr_TR",e[e.tk_TM=1090]="tk_TM",e[e.uk_UA=1058]="uk_UA",e[e.hsb_DE=1070]="hsb_DE",e[e.ur_PK=1056]="ur_PK",e[e.ug_CN=1152]="ug_CN",e[e.uz_UZ_Latn=1091]="uz_UZ_Latn",e[e.uz_UZ_Cyrl=2115]="uz_UZ_Cyrl",e[e.vi_VN=1066]="vi_VN",e[e.cy_GB=1106]="cy_GB",e[e.wo_SN=1160]="wo_SN",e[e.sah_RU=1157]="sah_RU",e[e.ii_CN=1144]="ii_CN",e[e.yo_NG=1130]="yo_NG"}(e.LocaleIDs||(e.LocaleIDs={}));var VL={},TL={};!function(){function t(e,t){VL[e]=t,TL[t.toLowerCase()]=e}t(e.LocaleIDs.af_ZA,"af-ZA"),t(e.LocaleIDs.sq_AL,"sq-AL"),t(e.LocaleIDs.am_ET,"am-ET"),t(e.LocaleIDs.ar_SA,"ar-SA"),t(e.LocaleIDs.ar_IQ,"ar-IQ"),t(e.LocaleIDs.ar_EG,"ar-EG"),t(e.LocaleIDs.ar_LY,"ar-LY"),t(e.LocaleIDs.ar_DZ,"ar-DZ"),t(e.LocaleIDs.ar_MA,"ar-MA"),t(e.LocaleIDs.ar_TN,"ar-TN"),t(e.LocaleIDs.ar_OM,"ar-OM"),t(e.LocaleIDs.ar_YE,"ar-YE"),t(e.LocaleIDs.ar_SY,"ar-SY"),t(e.LocaleIDs.ar_JO,"ar-JO"),t(e.LocaleIDs.ar_LB,"ar-LB"),t(e.LocaleIDs.ar_KW,"ar-KW"),t(e.LocaleIDs.ar_AE,"ar-AE"),t(e.LocaleIDs.ar_BH,"ar-BH"),t(e.LocaleIDs.ar_QA,"ar-QA"),t(e.LocaleIDs.hy_AM,"hy-AM"),t(e.LocaleIDs.as_IN,"as-IN"),t(e.LocaleIDs.az_AZ_Latn,"az-Latn-AZ"),t(e.LocaleIDs.az_AZ_Cyrl,"az-Cyrl-AZ"),t(e.LocaleIDs.eu_ES,"eu-ES"),t(e.LocaleIDs.be_BY,"be-BY"),t(e.LocaleIDs.bn_IN,"bn-IN"),t(e.LocaleIDs.bn_BD,"bn-BD"),t(e.LocaleIDs.bs_BA_Latn,"bs-Latn-BA"),t(e.LocaleIDs.bs_BA_Cyrl,"bs-Cyrl-BA"),t(e.LocaleIDs.bg_BG,"bg-BG"),t(e.LocaleIDs.my_MM,"my-MM"),t(e.LocaleIDs.ca_ES,"ca-ES"),t(e.LocaleIDs.zh_TW,"zh-TW"),t(e.LocaleIDs.zh_CN,"zh-CN"),t(e.LocaleIDs.zh_HK,"zh-HK"),t(e.LocaleIDs.zh_SG,"zh-SG"),t(e.LocaleIDs.zh_MO,"zh-MO"),t(e.LocaleIDs.hr_HR,"hr-HR"),t(e.LocaleIDs.hr_BA,"hr-BA"),t(e.LocaleIDs.cs_CZ,"cs-CZ"),t(e.LocaleIDs.da_DK,"da-DK"),t(e.LocaleIDs.prs_AF,"prs-AF"),t(e.LocaleIDs.dv_MV,"dv-MV"),t(e.LocaleIDs.nl_NL,"nl-NL"),t(e.LocaleIDs.nl_BE,"nl-BE"),t(e.LocaleIDs.en_US,"en-US"),t(e.LocaleIDs.en_GB,"en-GB"),t(e.LocaleIDs.en_AU,"en-AU"),t(e.LocaleIDs.en_CA,"en-CA"),t(e.LocaleIDs.en_NZ,"en-NZ"),t(e.LocaleIDs.en_IE,"en-IE"),t(e.LocaleIDs.en_ZA,"en-ZA"),t(e.LocaleIDs.en_JM,"en-JM"),t(e.LocaleIDs.en_CB,"en-029"),t(e.LocaleIDs.en_BZ,"en-BZ"),t(e.LocaleIDs.en_TT,"en-TT"),t(e.LocaleIDs.en_ZW,"en-ZW"),t(e.LocaleIDs.en_PH,"en-PH"),t(e.LocaleIDs.en_IN,"en-IN"),t(e.LocaleIDs.en_MY,"en-MY"),t(e.LocaleIDs.en_SG,"en-SG"),t(e.LocaleIDs.et_EE,"et-EE"),t(e.LocaleIDs.fo_FO,"fo-FO"),t(e.LocaleIDs.fil_PH,"fil-PH"),t(e.LocaleIDs.fi_FI,"fi-FI"),t(e.LocaleIDs.fr_FR,"fr-FR"),t(e.LocaleIDs.fr_BE,"fr-BE"),t(e.LocaleIDs.fr_CA,"fr-CA"),t(e.LocaleIDs.fr_CH,"fr-CH"),t(e.LocaleIDs.fr_LU,"fr-LU"),t(e.LocaleIDs.fr_MC,"fr-MC"),t(e.LocaleIDs.fy_NL,"fy-NL"),t(e.LocaleIDs.gl_ES,"gl-ES"),t(e.LocaleIDs.ka_GE,"ka-GE"),t(e.LocaleIDs.de_DE,"de-DE"),t(e.LocaleIDs.de_CH,"de-CH"),t(e.LocaleIDs.de_AT,"de-AT"),t(e.LocaleIDs.de_LU,"de-LU"),t(e.LocaleIDs.de_LI,"de-LI"),t(e.LocaleIDs.el_GR,"el-GR"),t(e.LocaleIDs.gu_IN,"gu-IN"),t(e.LocaleIDs.ha_NG_Latn,"ha-Latn-NG"),t(e.LocaleIDs.he_IL,"he-IL"),t(e.LocaleIDs.hi_IN,"hi-IN"),t(e.LocaleIDs.hu_HU,"hu-HU"),t(e.LocaleIDs.is_IS,"is-IS"),t(e.LocaleIDs.ig_NG,"ig-NG"),t(e.LocaleIDs.id_ID,"id-ID"),t(e.LocaleIDs.iu_CA_Latn,"iu-Latn-CA"),t(e.LocaleIDs.iu_CA_Cans,"iu-Cans-CA"),t(e.LocaleIDs.ga_IE,"ga-IE"),t(e.LocaleIDs.xh_ZA,"xh-ZA"),t(e.LocaleIDs.zu_ZA,"zu-ZA"),t(e.LocaleIDs.it_IT,"it-IT"),t(e.LocaleIDs.it_CH,"it-CH"),t(e.LocaleIDs.ja_JP,"ja-JP"),t(e.LocaleIDs.kn_IN,"kn-IN"),t(e.LocaleIDs.kk_KZ,"kk-KZ"),t(e.LocaleIDs.km_KH,"km-KH"),t(e.LocaleIDs.quc_GT,"quc-GT"),t(e.LocaleIDs.rw_RW,"rw-RW"),t(e.LocaleIDs.sw_KE,"sw-KE"),t(e.LocaleIDs.kok_IN,"kok-IN"),t(e.LocaleIDs.ko_KR,"ko-KR"),t(e.LocaleIDs.ky_KG,"ky-KG"),t(e.LocaleIDs.lo_LA,"lo-LA"),t(e.LocaleIDs.lv_LV,"lv-LV"),t(e.LocaleIDs.lt_LT,"lt-LT"),t(e.LocaleIDs.dsb_DE,"dsb-DE"),t(e.LocaleIDs.lb_LU,"lb-LU"),t(e.LocaleIDs.mk_MK,"mk-MK"),t(e.LocaleIDs.ms_MY,"ms-MY"),t(e.LocaleIDs.ms_BN,"ms-BN"),t(e.LocaleIDs.ml_IN,"ml-IN"),t(e.LocaleIDs.mt_MT,"mt-MT"),t(e.LocaleIDs.mi_NZ,"mi-NZ"),t(e.LocaleIDs.arn_CL,"arn-CL"),t(e.LocaleIDs.mr_IN,"mr-IN"),t(e.LocaleIDs.mn_MN,"mn-MN"),t(e.LocaleIDs.mn_CN,"mn-Mong-CN"),t(e.LocaleIDs.ne_NP,"ne-NP"),t(e.LocaleIDs.nb_NO,"nb-NO"),t(e.LocaleIDs.nn_NO,"nn-NO"),t(e.LocaleIDs.oc_FR,"oc-FR"),t(e.LocaleIDs.or_IN,"or-IN"),t(e.LocaleIDs.ps_AF,"ps-AF"),t(e.LocaleIDs.fa_IR,"fa-IR"),t(e.LocaleIDs.pl_PL,"pl-PL"),t(e.LocaleIDs.pt_BR,"pt-BR"),t(e.LocaleIDs.pt_PT,"pt-PT"),t(e.LocaleIDs.pa_IN,"pa-IN"),t(e.LocaleIDs.quz_BO,"quz-BO"),t(e.LocaleIDs.quz_EC,"quz-EC"),t(e.LocaleIDs.quz_PE,"quz-PE"),t(e.LocaleIDs.ro_RO,"ro-RO"),t(e.LocaleIDs.rm_CH,"rm-CH"),t(e.LocaleIDs.ru_RU,"ru-RU"),t(e.LocaleIDs.smn_FI,"smn-FI"),t(e.LocaleIDs.smj_NO,"smj-NO"),t(e.LocaleIDs.smj_SE,"smj-SE"),t(e.LocaleIDs.se_NO,"se-NO"),t(e.LocaleIDs.se_SE,"se-SE"),t(e.LocaleIDs.se_FI,"se-FI"),t(e.LocaleIDs.sms_FI,"sms-FI"),t(e.LocaleIDs.sma_NO,"sma-NO"),t(e.LocaleIDs.sma_SE,"sma-SE"),t(e.LocaleIDs.sa_IN,"sa-IN"),t(e.LocaleIDs.sr_SP_Cyrl,"sr-Cyrl-CS"),t(e.LocaleIDs.sr_SP_Latn,"sr-Latn-CS"),t(e.LocaleIDs.sr_BA_Cyrl,"sr-Cyrl-BA"),t(e.LocaleIDs.sr_BA_Latn,"sr-Latn-BA"),t(e.LocaleIDs.nso_ZA,"nso-ZA"),t(e.LocaleIDs.tn_ZA,"tn-ZA"),t(e.LocaleIDs.si_LK,"si-LK"),t(e.LocaleIDs.sk_SK,"sk-SK"),t(e.LocaleIDs.sl_SI,"sl-SI"),t(e.LocaleIDs.es_ES_tradnl,"es-ES_tradnl"),t(e.LocaleIDs.es_MX,"es-MX"),t(e.LocaleIDs.es_ES,"es-ES"),t(e.LocaleIDs.es_GT,"es-GT"),t(e.LocaleIDs.es_CR,"es-CR"),t(e.LocaleIDs.es_PA,"es-PA"),t(e.LocaleIDs.es_DO,"es-DO"),t(e.LocaleIDs.es_VE,"es-VE"),t(e.LocaleIDs.es_CO,"es-CO"),t(e.LocaleIDs.es_PE,"es-PE"),t(e.LocaleIDs.es_AR,"es-AR"),t(e.LocaleIDs.es_EC,"es-EC"),t(e.LocaleIDs.es_CL,"es-CL"),t(e.LocaleIDs.es_UY,"es-UY"),t(e.LocaleIDs.es_PY,"es-PY"),t(e.LocaleIDs.es_BO,"es-BO"),t(e.LocaleIDs.es_SV,"es-SV"),t(e.LocaleIDs.es_HN,"es-HN"),t(e.LocaleIDs.es_NI,"es-NI"),t(e.LocaleIDs.es_PR,"es-PR"),t(e.LocaleIDs.es_US,"es-US"),t(e.LocaleIDs.sv_SE,"sv-SE"),t(e.LocaleIDs.sv_FI,"sv-FI"),t(e.LocaleIDs.syr_SY,"syr-SY"),t(e.LocaleIDs.tg_TJ_Cyrl,"tg-Cyrl-TJ"),t(e.LocaleIDs.ta_IN,"ta-IN"),t(e.LocaleIDs.tt_RU,"tt-RU"),t(e.LocaleIDs.te_IN,"te-IN"),t(e.LocaleIDs.th_TH,"th-TH"),t(e.LocaleIDs.bo_CN,"bo-CN"),t(e.LocaleIDs.ti_ER,"ti-ER"),t(e.LocaleIDs.ti_ET,"ti-ET"),t(e.LocaleIDs.ts_ZA,"ts-ZA"),t(e.LocaleIDs.tr_TR,"tr-TR"),t(e.LocaleIDs.tk_TM,"tk-TM"),t(e.LocaleIDs.uk_UA,"uk-UA"),t(e.LocaleIDs.hsb_DE,"hsb-DE"),t(e.LocaleIDs.ur_PK,"ur-PK"),t(e.LocaleIDs.ug_CN,"ug-CN"),t(e.LocaleIDs.uz_UZ_Latn,"uz-Latn-UZ"),t(e.LocaleIDs.uz_UZ_Cyrl,"uz-Cyrl-UZ"),t(e.LocaleIDs.vi_VN,"vi-VN"),t(e.LocaleIDs.cy_GB,"cy-GB"),t(e.LocaleIDs.wo_SN,"wo-SN"),t(e.LocaleIDs.sah_RU,"sah-RU"),t(e.LocaleIDs.ii_CN,"ii-CN"),t(e.LocaleIDs.yo_NG,"yo-NG"),TL["sr-cyrl-rs"]=e.LocaleIDs.sr_SP_Cyrl,TL["sr-latn-rs"]=e.LocaleIDs.sr_SP_Latn,TL["az-az"]=e.LocaleIDs.az_AZ_Latn,TL["zh-chs"]=e.LocaleIDs.zh_CN,TL["zh-cht"]=e.LocaleIDs.zh_TW,TL["zh-hans"]=e.LocaleIDs.zh_CN,TL["zh-hant"]=e.LocaleIDs.zh_TW}(),function(e){e[e.None=0]="None",e[e.SuperScript=1]="SuperScript",e[e.SubScript=2]="SubScript"}(e.SubSuperScript||(e.SubSuperScript={})),function(e){e[e.None=0]="None",e[e.Single=1]="Single",e[e.Words=2]="Words",e[e.Double=3]="Double",e[e.Dotted=4]="Dotted",e[e.Thick=6]="Thick",e[e.Dash=7]="Dash",e[e.DotDash=9]="DotDash",e[e.DotDotDash=10]="DotDotDash",e[e.Wavy=11]="Wavy",e[e.DottedHeavy=20]="DottedHeavy",e[e.DashHeavy=23]="DashHeavy",e[e.DotDashHeavy=25]="DotDashHeavy",e[e.DotDotDashHeavy=26]="DotDotDashHeavy",e[e.WavyHeavy=27]="WavyHeavy",e[e.DashLong=39]="DashLong",e[e.DashLongHeavy=55]="DashLongHeavy",e[e.WavyDouble=43]="WavyDouble"}(e.UnderlineStyle||(e.UnderlineStyle={}));var kL=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},FL=new Set(["rStyle","rFonts","b","bCs","i","iCs","caps","smallCaps","strike","dstrike","outline","shadow","emboss","imprint","snapToGrid","vanish","webHidden","noProof","hidden","specVanish","color","spacing","w","kern","position","sz","szCs","highlight","u","vertAlign","lang","em","effect","shd","bdr","cs","rtl"]),DL=new Set(["rPrChange","oMath","eastAsianLayout","fitText"]),OL=new Set(["black","blue","cyan","darkBlue","darkCyan","darkGray","darkGreen","darkMagenta","darkRed","darkYellow","green","lightGray","magenta","none","red","white","yellow"]),NL=new Set(["single","words","double","thick","dotted","dottedHeavy","dash","dashedHeavy","dashLong","dashLongHeavy","dotDash","dotDashHeavy","dotDotDash","dotDotDashHeavy","wave","wavyHeavy","wavyDouble","none"]),AL=new Set(["none","dot","comma","circle","underDot"]),EL=new Set(["none","blinkBackground","lights","antsBlack","antsRed","shimmer","sparkle","movie"]),LL={bold:!1,italic:!1,strikethrough:!1,doubleStrikethrough:!1,allCaps:!1,smallCaps:!1,hidden:!1,emboss:!1,engrave:!1,outline:!1,shadow:!1,noProof:!1,webHidden:!1,fontSize:10,fontName:"Times New Roman",fontNameAscii:"Times New Roman",fontNameNonFarEast:"Times New Roman",fontNameFarEast:"Times New Roman",fontNameBidi:"Times New Roman",underlineStyle:e.UnderlineStyle.None,underlineColor:e.Color.Transparent,textColor:e.Color.Transparent,highlightColor:e.Color.Transparent,textBackgroundColor:e.Color.Transparent,subSuperScript:e.SubSuperScript.None,characterSpacing:0,position:0,kerning:0,scaling:100,localeId:1033,localeIdBidi:1025,localeIdFarEast:1033,bidi:!1,complexScript:!1,boldBidi:!1,italicBidi:!1,fontSizeBidi:10,emphasisMark:"none",textEffect:"none",specVanish:!1,snapToGrid:!0},RL=function(){function t(e){this.rPrExtra=[],this.host=e}return t.prototype.mutate=function(){this.host.notifyCharacterFormatMutation()},t.prototype.effective=function(e){var t=this.host.resolveEffectiveCharacterValue,r=void 0!==t?t.call(this.host,e):void 0;return void 0!==r?r:void 0},t.prototype.effectiveOrDefault=function(e,t){var r=this.effective(e);return void 0!==r?r:t},Object.defineProperty(t.prototype,"bold",{get:function(){return void 0!==this.boldValue?this.boldValue:this.effective("bold")},set:function(e){this.boldValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"italic",{get:function(){return void 0!==this.italicValue?this.italicValue:this.effective("italic")},set:function(e){this.italicValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"strikethrough",{get:function(){return void 0!==this.strikeValue?this.strikeValue:this.effective("strikethrough")},set:function(e){this.strikeValue=e,!0===e&&(this.doubleStrikeValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"doubleStrikethrough",{get:function(){return void 0!==this.doubleStrikeValue?this.doubleStrikeValue:this.effective("doubleStrikethrough")},set:function(e){this.doubleStrikeValue=e,!0===e&&(this.strikeValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"allCaps",{get:function(){return void 0!==this.allCapsValue?this.allCapsValue:this.effective("allCaps")},set:function(e){this.allCapsValue=e,!0===e&&(this.smallCapsValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"smallCaps",{get:function(){return void 0!==this.smallCapsValue?this.smallCapsValue:this.effective("smallCaps")},set:function(e){this.smallCapsValue=e,!0===e&&(this.allCapsValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hidden",{get:function(){return void 0!==this.vanishValue?this.vanishValue:this.effective("hidden")},set:function(e){this.vanishValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"emboss",{get:function(){return void 0!==this.embossValue?this.embossValue:this.effective("emboss")},set:function(e){this.embossValue=e,!0===e&&(this.imprintValue=void 0,this.outlineValue=void 0,this.shadowValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"engrave",{get:function(){return void 0!==this.imprintValue?this.imprintValue:this.effective("engrave")},set:function(e){this.imprintValue=e,!0===e&&(this.embossValue=void 0,this.outlineValue=void 0,this.shadowValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outline",{get:function(){return void 0!==this.outlineValue?this.outlineValue:this.effective("outline")},set:function(e){this.outlineValue=e,!0===e&&(this.embossValue=void 0,this.imprintValue=void 0,this.shadowValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shadow",{get:function(){return void 0!==this.shadowValue?this.shadowValue:this.effective("shadow")},set:function(e){this.shadowValue=e,!0===e&&(this.embossValue=void 0,this.imprintValue=void 0,this.outlineValue=void 0),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"noProof",{get:function(){return void 0!==this.noProofValue?this.noProofValue:this.effective("noProof")},set:function(e){this.noProofValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"webHidden",{get:function(){return void 0!==this.webHiddenValue?this.webHiddenValue:this.effective("webHidden")},set:function(e){this.webHiddenValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontSize",{get:function(){return void 0!==this.fontSizeValue?Wr(this.fontSizeValue):this.effectiveOrDefault("fontSize",LL.fontSize)},set:function(e){if(void 0===e)return this.fontSizeValue=void 0,void this.mutate();Tn("fontSize",e),this.fontSizeValue=en(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontName",{get:function(){if(void 0!==this.fontsValue){if(void 0!==this.fontsValue.ascii)return this.fontsValue.ascii;if(void 0!==this.fontsValue.hAnsi)return this.fontsValue.hAnsi}return this.effectiveOrDefault("fontName",LL.fontName)},set:function(e){if(void 0===e){if(void 0===this.fontsValue)return;return this.fontsValue.ascii=void 0,this.fontsValue.hAnsi=void 0,Dn(this.fontsValue)&&(this.fontsValue=void 0),void this.mutate()}var t=Fn(this.fontsValue);t.ascii=e,t.hAnsi=e,void 0!==t.eastAsia&&(t.eastAsia=e),void 0!==t.cs&&(t.cs=e),this.fontsValue=t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontNameAscii",{get:function(){return void 0!==this.fontsValue&&void 0!==this.fontsValue.ascii?this.fontsValue.ascii:this.effectiveOrDefault("fontNameAscii",LL.fontNameAscii)},set:function(e){var t=Fn(this.fontsValue);t.ascii=e,this.fontsValue=Dn(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontNameNonFarEast",{get:function(){return void 0!==this.fontsValue&&void 0!==this.fontsValue.hAnsi?this.fontsValue.hAnsi:this.effectiveOrDefault("fontNameNonFarEast",LL.fontNameNonFarEast)},set:function(e){var t=Fn(this.fontsValue);t.hAnsi=e,this.fontsValue=Dn(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontNameFarEast",{get:function(){return void 0!==this.fontsValue&&void 0!==this.fontsValue.eastAsia?this.fontsValue.eastAsia:this.effectiveOrDefault("fontNameFarEast",LL.fontNameFarEast)},set:function(e){var t=Fn(this.fontsValue);t.eastAsia=e,this.fontsValue=Dn(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontNameBidi",{get:function(){return void 0!==this.fontsValue&&void 0!==this.fontsValue.cs?this.fontsValue.cs:this.effectiveOrDefault("fontNameBidi",LL.fontNameBidi)},set:function(e){var t=Fn(this.fontsValue);t.cs=e,this.fontsValue=Dn(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"underlineStyle",{get:function(){return void 0!==this.underlineStyleValue?Pn(this.underlineStyleValue):this.effectiveOrDefault("underlineStyle",LL.underlineStyle)},set:function(e){if(void 0===e)return this.underlineStyleValue=void 0,this.underlineColorValue=void 0,void this.mutate();this.underlineStyleValue=Sn(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"underlineColor",{get:function(){if(void 0!==this.underlineColorValue){var t=ei(this.underlineColorValue);return void 0!==t?t:e.Color.Transparent}var r=this.effective("underlineColor");return"transparent"===r?e.Color.Transparent:void 0!==r?r:LL.underlineColor},set:function(e){this.underlineColorValue=Qn(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textColor",{get:function(){if(void 0!==this.textColorValue){var t=ei(this.textColorValue);return void 0!==t?t:e.Color.Transparent}var r=this.effective("textColor");return"transparent"===r?e.Color.Transparent:void 0!==r?r:LL.textColor},set:function(e){this.textColorValue=Qn(e),this.textColorTheme=void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"highlightColor",{get:function(){if(void 0!==this.highlightValue)return mn(this.highlightValue);var t=this.effective("highlightColor");return"transparent"===t?e.Color.Transparent:void 0!==t?t:LL.highlightColor},set:function(e){if(void 0===e)return this.highlightValue=void 0,void this.mutate();this.highlightValue=vn(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textBackgroundColor",{get:function(){if(void 0!==this.shadingValue&&void 0!==this.shadingValue.fill){var t=ei(this.shadingValue.fill);return void 0!==t?t:e.Color.Transparent}var r=this.effective("textBackgroundColor");return"transparent"===r?e.Color.Transparent:void 0!==r?r:LL.textBackgroundColor},set:function(e){if(void 0===e)return this.shadingValue=void 0,void this.mutate();var t=pn(e);this.shadingValue={pattern:"clear",fill:t},this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subSuperScript",{get:function(){return void 0!==this.vertAlignValue?bn(this.vertAlignValue):this.effectiveOrDefault("subSuperScript",LL.subSuperScript)},set:function(e){if(void 0===e)return this.vertAlignValue=void 0,void this.mutate();this.vertAlignValue=wn(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"characterSpacing",{get:function(){return void 0!==this.characterSpacingValue?Ur(this.characterSpacingValue):this.effectiveOrDefault("characterSpacing",LL.characterSpacing)},set:function(e){if(void 0===e)return this.characterSpacingValue=void 0,void this.mutate();kn("characterSpacing",e),this.characterSpacingValue=zr(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){return void 0!==this.positionValue?Wr(this.positionValue):this.effectiveOrDefault("position",LL.position)},set:function(e){if(void 0===e)return this.positionValue=void 0,void this.mutate();kn("position",e),this.positionValue=xn(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"kerning",{get:function(){return void 0!==this.kerningValue?Wr(this.kerningValue):this.effectiveOrDefault("kerning",LL.kerning)},set:function(e){if(void 0===e)return this.kerningValue=void 0,void this.mutate();if(e<0)throw new RangeError("kerning must be non-negative, got "+String(e));var t=xn(e);if(t<0)throw new RangeError("kerning must be non-negative, got "+String(t)+" half-points");this.kerningValue=t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scaling",{get:function(){return void 0!==this.characterScaleValue?this.characterScaleValue:this.effectiveOrDefault("scaling",LL.scaling)},set:function(e){if(void 0!==e&&(!Number.isInteger(e)||e<1||e>600))throw new RangeError("scaling must be an integer 1–600, got "+String(e));this.characterScaleValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"border",{get:function(){return void 0!==this.borderValue?this.borderValue:this.effective("border")},set:function(e){this.borderValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localeId",{get:function(){var e=$n(this.languageValue,"latin");return void 0!==e?e:this.effectiveOrDefault("localeId",LL.localeId)},set:function(e){this.languageValue=Jn(this.languageValue,"latin",e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localeIdBidi",{get:function(){var e=$n(this.languageValue,"bidi");return void 0!==e?e:this.effectiveOrDefault("localeIdBidi",LL.localeIdBidi)},set:function(e){this.languageValue=Jn(this.languageValue,"bidi",e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localeIdFarEast",{get:function(){var e=$n(this.languageValue,"eastAsia");return void 0!==e?e:this.effectiveOrDefault("localeIdFarEast",LL.localeIdFarEast)},set:function(e){this.languageValue=Jn(this.languageValue,"eastAsia",e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"characterStyle",{get:function(){return this.styleIdValue},set:function(e){this.styleIdValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bidi",{get:function(){return void 0!==this.bidiValue?this.bidiValue:this.effective("bidi")},set:function(e){this.bidiValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"complexScript",{get:function(){return void 0!==this.complexScriptValue?this.complexScriptValue:this.effective("complexScript")},set:function(e){this.complexScriptValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"boldBidi",{get:function(){return void 0!==this.boldBidiValue?this.boldBidiValue:this.effective("boldBidi")},set:function(e){this.boldBidiValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"italicBidi",{get:function(){return void 0!==this.italicBidiValue?this.italicBidiValue:this.effective("italicBidi")},set:function(e){this.italicBidiValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontSizeBidi",{get:function(){return void 0!==this.fontSizeBidiValue?Wr(this.fontSizeBidiValue):this.effectiveOrDefault("fontSizeBidi",LL.fontSizeBidi)},set:function(e){if(void 0===e)return this.fontSizeBidiValue=void 0,void this.mutate();Tn("fontSizeBidi",e),this.fontSizeBidiValue=en(e),this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"emphasisMark",{get:function(){return void 0!==this.emphasisValue?this.emphasisValue:this.effectiveOrDefault("emphasisMark",LL.emphasisMark)},set:function(e){this.emphasisValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textEffect",{get:function(){return void 0!==this.textEffectValue?this.textEffectValue:this.effectiveOrDefault("textEffect",LL.textEffect)},set:function(e){this.textEffectValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"specVanish",{get:function(){return void 0!==this.specVanishValue?this.specVanishValue:this.effective("specVanish")},set:function(e){this.specVanishValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"snapToGrid",{get:function(){return void 0!==this.snapToGridValue?this.snapToGridValue:this.effective("snapToGrid")},set:function(e){this.snapToGridValue=e,this.mutate()},enumerable:!0,configurable:!0}),t.prototype.assign=function(e){void 0!==e.bold&&(this.bold=e.bold),void 0!==e.italic&&(this.italic=e.italic),void 0!==e.strikethrough&&(this.strikethrough=e.strikethrough),void 0!==e.doubleStrikethrough&&(this.doubleStrikethrough=e.doubleStrikethrough),void 0!==e.allCaps&&(this.allCaps=e.allCaps),void 0!==e.smallCaps&&(this.smallCaps=e.smallCaps),void 0!==e.hidden&&(this.hidden=e.hidden),void 0!==e.emboss&&(this.emboss=e.emboss),void 0!==e.engrave&&(this.engrave=e.engrave),void 0!==e.outline&&(this.outline=e.outline),void 0!==e.shadow&&(this.shadow=e.shadow),void 0!==e.noProof&&(this.noProof=e.noProof),void 0!==e.webHidden&&(this.webHidden=e.webHidden),void 0!==e.fontSize&&(this.fontSize=e.fontSize),void 0!==e.fontName&&(this.fontName=e.fontName),void 0!==e.fontNameBidi&&(this.fontNameBidi=e.fontNameBidi),void 0!==e.underlineStyle&&(this.underlineStyle=e.underlineStyle),void 0!==e.underlineColor&&(this.underlineColor=e.underlineColor),void 0!==e.textColor&&(this.textColor=e.textColor),void 0!==e.highlightColor&&(this.highlightColor=e.highlightColor),void 0!==e.textBackgroundColor&&(this.textBackgroundColor=e.textBackgroundColor),void 0!==e.subSuperScript&&(this.subSuperScript=e.subSuperScript),void 0!==e.characterSpacing&&(this.characterSpacing=e.characterSpacing),void 0!==e.position&&(this.position=e.position),void 0!==e.kerning&&(this.kerning=e.kerning),void 0!==e.scaling&&(this.scaling=e.scaling),void 0!==e.border&&(this.border=e.border),void 0!==e.localeId&&(this.localeId=e.localeId),void 0!==e.localeIdBidi&&(this.localeIdBidi=e.localeIdBidi),void 0!==e.localeIdFarEast&&(this.localeIdFarEast=e.localeIdFarEast),void 0!==e.characterStyle&&(this.characterStyle=e.characterStyle),void 0!==e.bidi&&(this.bidi=e.bidi),void 0!==e.complexScript&&(this.complexScript=e.complexScript),void 0!==e.boldBidi&&(this.boldBidi=e.boldBidi),void 0!==e.italicBidi&&(this.italicBidi=e.italicBidi),void 0!==e.fontSizeBidi&&(this.fontSizeBidi=e.fontSizeBidi),void 0!==e.emphasisMark&&(this.emphasisMark=e.emphasisMark),void 0!==e.textEffect&&(this.textEffect=e.textEffect)},t.prototype.clear=function(){this.styleIdValue=void 0,this.boldValue=void 0,this.italicValue=void 0,this.strikeValue=void 0,this.doubleStrikeValue=void 0,this.vanishValue=void 0,this.legacyHiddenValue=void 0,this.noProofValue=void 0,this.fontSizeValue=void 0,this.fontSizeBidiValue=void 0,this.textColorValue=void 0,this.textColorTheme=void 0,this.highlightValue=void 0,this.shadingValue=void 0,this.underlineStyleValue=void 0,this.underlineColorValue=void 0,this.vertAlignValue=void 0,this.smallCapsValue=void 0,this.allCapsValue=void 0,this.fontsValue=void 0,this.characterScaleValue=void 0,this.kerningValue=void 0,this.characterSpacingValue=void 0,this.positionValue=void 0,this.borderValue=void 0,this.languageValue=void 0,this.embossValue=void 0,this.imprintValue=void 0,this.outlineValue=void 0,this.shadowValue=void 0,this.webHiddenValue=void 0,this.bidiValue=void 0,this.complexScriptValue=void 0,this.boldBidiValue=void 0,this.italicBidiValue=void 0,this.emphasisValue=void 0,this.textEffectValue=void 0,this.specVanishValue=void 0,this.snapToGridValue=void 0,this.mutate()},t.prototype.hydrate=function(e){this.rPrExtra=e.rPrExtra,this.styleIdValue=e.styleIdValue,this.boldValue=e.boldValue,this.italicValue=e.italicValue,this.strikeValue=e.strikeValue,this.doubleStrikeValue=e.doubleStrikeValue,this.vanishValue=e.vanishValue,this.legacyHiddenValue=e.legacyHiddenValue,this.noProofValue=e.noProofValue,this.fontSizeValue=e.fontSizeValue,this.fontSizeBidiValue=e.fontSizeBidiValue,this.textColorValue=e.textColorValue,this.textColorTheme=e.textColorTheme,this.highlightValue=e.highlightValue,this.shadingValue=e.shadingValue,this.underlineStyleValue=e.underlineStyleValue,this.underlineColorValue=e.underlineColorValue,this.vertAlignValue=e.vertAlignValue,this.smallCapsValue=e.smallCapsValue,this.allCapsValue=e.allCapsValue,this.fontsValue=e.fontsValue,this.characterScaleValue=e.characterScaleValue,this.kerningValue=e.kerningValue,this.characterSpacingValue=e.characterSpacingValue,this.positionValue=e.positionValue,this.borderValue=e.borderValue,this.languageValue=e.languageValue,this.embossValue=e.embossValue,this.imprintValue=e.imprintValue,this.outlineValue=e.outlineValue,this.shadowValue=e.shadowValue,this.webHiddenValue=e.webHiddenValue,this.bidiValue=e.bidiValue,this.complexScriptValue=e.complexScriptValue,this.boldBidiValue=e.boldBidiValue,this.italicBidiValue=e.italicBidiValue,this.emphasisValue=e.emphasisValue,this.textEffectValue=e.textEffectValue,this.specVanishValue=e.specVanishValue,this.snapToGridValue=e.snapToGridValue},t.prototype.snapshot=function(){return{rPrExtra:this.rPrExtra,styleIdValue:this.styleIdValue,boldValue:this.boldValue,italicValue:this.italicValue,strikeValue:this.strikeValue,doubleStrikeValue:this.doubleStrikeValue,vanishValue:this.vanishValue,legacyHiddenValue:this.legacyHiddenValue,noProofValue:this.noProofValue,fontSizeValue:this.fontSizeValue,fontSizeBidiValue:this.fontSizeBidiValue,textColorValue:this.textColorValue,textColorTheme:this.textColorTheme,highlightValue:this.highlightValue,shadingValue:this.shadingValue,underlineStyleValue:this.underlineStyleValue,underlineColorValue:this.underlineColorValue,vertAlignValue:this.vertAlignValue,smallCapsValue:this.smallCapsValue,allCapsValue:this.allCapsValue,fontsValue:this.fontsValue,characterScaleValue:this.characterScaleValue,kerningValue:this.kerningValue,characterSpacingValue:this.characterSpacingValue,positionValue:this.positionValue,borderValue:this.borderValue,languageValue:this.languageValue,embossValue:this.embossValue,imprintValue:this.imprintValue,outlineValue:this.outlineValue,shadowValue:this.shadowValue,webHiddenValue:this.webHiddenValue,bidiValue:this.bidiValue,complexScriptValue:this.complexScriptValue,boldBidiValue:this.boldBidiValue,italicBidiValue:this.italicBidiValue,emphasisValue:this.emphasisValue,textEffectValue:this.textEffectValue,specVanishValue:this.specVanishValue,snapToGridValue:this.snapToGridValue}},t.prototype.buildRPrChildren=function(){return oi(this.snapshot())},t.prototype.fontsRecord=function(){return this.fontsValue},t}(),BL={Left:"start",Center:"center",Right:"end",Justify:"justify"};!function(e){e.Portrait="portrait",e.Landscape="landscape"}(e.PageOrientation||(e.PageOrientation={})),function(e){e.Arabic="decimal",e.UpperRoman="upperRoman",e.LowerRoman="lowerRoman",e.UpperLetter="upperLetter",e.LowerLetter="lowerLetter",e.Ordinal="ordinal",e.CardinalText="cardinalText",e.OrdinalText="ordinalText",e.NumberInDash="numberInDash",e.Chicago="chicago"}(e.PageNumberStyle||(e.PageNumberStyle={})),function(e){e.Continuous="continuous",e.RestartPage="newPage",e.RestartSection="newSection"}(e.LineNumberingMode||(e.LineNumberingMode={})),function(e){e[e.DefaultBin=1]="DefaultBin",e[e.UpperBin=1]="UpperBin",e[e.LowerBin=2]="LowerBin",e[e.MiddleBin=3]="MiddleBin",e[e.ManualFeed=4]="ManualFeed",e[e.EnvelopeFeed=5]="EnvelopeFeed",e[e.EnvelopeManualFeed=6]="EnvelopeManualFeed",e[e.AutoSheetFeed=7]="AutoSheetFeed",e[e.TractorFeed=8]="TractorFeed",e[e.SmallFormatBin=9]="SmallFormatBin",e[e.LargeFormatBin=10]="LargeFormatBin",e[e.LargeCapacityBin=11]="LargeCapacityBin",e[e.Cassette=14]="Cassette",e[e.FormSource=15]="FormSource"}(e.PrinterPaperTray||(e.PrinterPaperTray={})),function(e){e.Top="top",e.Center="center",e.Both="both",e.Bottom="bottom"}(e.PageVerticalAlignment||(e.PageVerticalAlignment={})),function(e){e.Text="text",e.PageEdge="page"}(e.PageBorderOffsetFrom||(e.PageBorderOffsetFrom={})),function(e){e.AllPages="allPages",e.FirstPage="firstPage",e.NotFirstPage="notFirstPage"}(e.PageBordersApplyType||(e.PageBordersApplyType={})),function(e){e.Nil="nil",e.None="none",e.Single="single",e.Thick="thick",e.Double="double",e.Dotted="dotted",e.Dashed="dashed",e.DotDash="dotDash",e.DotDotDash="dotDotDash",e.Triple="triple",e.ThinThickSmallGap="thinThickSmallGap",e.ThickThinSmallGap="thickThinSmallGap",e.ThinThickThinSmallGap="thinThickThinSmallGap",e.ThinThickMediumGap="thinThickMediumGap",e.ThickThinMediumGap="thickThinMediumGap",e.ThinThickThinMediumGap="thinThickThinMediumGap",e.ThinThickLargeGap="thinThickLargeGap",e.ThickThinLargeGap="thickThinLargeGap",e.ThinThickThinLargeGap="thinThickThinLargeGap",e.Wave="wave",e.DoubleWave="doubleWave",e.DashSmallGap="dashSmallGap",e.DashDotStroked="dashDotStroked",e.ThreeDEmboss="threeDEmboss",e.ThreeDEngrave="threeDEngrave",e.Outset="outset",e.Inset="inset"}(e.BorderStyle||(e.BorderStyle={}));var _L=function(){function e(e,t){this.widthValue=e,this.heightValue=t,this.changeListener=void 0}return e.prototype.setChangeListener=function(e){this.changeListener=e},e.prototype.replace=function(e,t,r){this.widthValue=e,this.heightValue=t,r&&void 0!==this.changeListener&&this.changeListener(e,t)},Object.defineProperty(e.prototype,"width",{get:function(){return this.widthValue},set:function(e){this.widthValue=e,void 0!==this.changeListener&&this.changeListener(this.widthValue,this.heightValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.heightValue},set:function(e){this.heightValue=e,void 0!==this.changeListener&&this.changeListener(this.widthValue,this.heightValue)},enumerable:!0,configurable:!0}),e}(),jL=function(){return(jL=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},ML=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},zL={Auto:"auto",AtLeast:"atLeast",Exact:"exact"},UL={Left:"left",Center:"center",Right:"right"},HL=new Set(["auto","dxa","nil","pct"]),WL=32,GL=64,qL=128,XL=256,YL=512,ZL=1024,KL=["firstRow","lastRow","firstColumn","lastColumn","oddVBand","evenVBand","oddHBand","evenHBand","firstRowLastColumn","firstRowFirstColumn","lastRowLastColumn","lastRowFirstColumn"],JL={val:!0,firstRow:!0,lastRow:!0,firstColumn:!0,lastColumn:!0,oddVBand:!0,evenVBand:!0,oddHBand:!0,evenHBand:!0,firstRowFirstColumn:!0,firstRowLastColumn:!0,lastRowFirstColumn:!0,lastRowLastColumn:!0},$L=function(){return($L=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},QL=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},eR={Left:"left",Center:"center",Right:"right",Decimal:"decimal",Bar:"bar",Clear:"clear",Num:"num",Start:"start",End:"end"},tR={NoLeader:"none",Dot:"dot",Heavy:"heavy",Hyphen:"hyphen",MiddleDot:"middleDot",Single:"single"},rR=function(){function e(e,t,r){void 0===e&&(e=0),void 0===t&&(t=eR.Left),void 0===r&&(r=tR.NoLeader),this.positionValue=e,this.justificationValue=t,this.leaderValue=r}return Object.defineProperty(e.prototype,"position",{get:function(){return this.positionValue},set:function(e){this.positionValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"justification",{get:function(){return this.justificationValue},set:function(e){this.justificationValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignment",{get:function(){return this.justificationValue},set:function(e){this.justificationValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leader",{get:function(){return this.leaderValue},set:function(e){this.leaderValue=e},enumerable:!0,configurable:!0}),e.prototype.toBagStop=function(){var e={position:this.positionValue,alignment:this.justificationValue};return this.leaderValue!==tR.NoLeader?{position:this.positionValue,alignment:this.justificationValue,leader:this.leaderValue}:e},e.fromTabStop=function(t){return new e(t.position,t.alignment,void 0!==t.leader?t.leader:tR.NoLeader)},e}(),nR=function(){function e(e){this.owner=e}return Object.defineProperty(e.prototype,"count",{get:function(){var e=this.owner.tabStops;return void 0!==e?e.length:0},enumerable:!0,configurable:!0}),e.prototype.item=function(e){var t=this.owner.tabStops;if(!(void 0===t||e<0||e>=t.length))return rR.fromTabStop(t[e])},e.prototype.add=function(e,t,r){return this.addTab(e,t,r)},e.prototype.addTab=function(e,t,r){var n=new rR(void 0!==e?e:0,void 0!==t?t:eR.Left,void 0!==r?r:tR.NoLeader),i=this.owner.tabStops,o=void 0!==i?i.slice():[];return o.push(n.toBagStop()),this.owner.tabStops=o,n},e.prototype.removeAt=function(e){var t=this.owner.tabStops;if(void 0===t||e<0||e>=t.length)throw new RangeError("TabCollection.removeAt: index out of range");if(1===t.length)return void(this.owner.tabStops=void 0);var r=t.slice();r.splice(e,1),this.owner.tabStops=r},e.prototype.removeByPosition=function(e){var t=this.owner.tabStops;if(void 0!==t){for(var r=-1,n=0;n<t.length;n++)if(t[n].position===e){r=n;break}r<0||this.removeAt(r)}},e.prototype.clear=function(){this.owner.tabStops=void 0},e}(),iR=function(){function e(e,t){this.owner=e,this.edge=t}return e.prototype.read=function(){var e=this.owner.readBordersBag();return void 0!==e?e[this.edge]:void 0},e.prototype.write=function(e){var t=this.owner.readBordersBag(),r=void 0!==t?$L({},t):{};void 0===e?delete r[this.edge]:r[this.edge]=e;var n=void 0===r.top&&void 0===r.left&&void 0===r.bottom&&void 0===r.right&&void 0===r.between&&void 0===r.bar;this.owner.writeBordersBag(n?void 0:r)},Object.defineProperty(e.prototype,"borderType",{get:function(){var e=this.read();return void 0!==e?e.style:"none"},set:function(e){var t=this.read();this.write({style:e,color:void 0!==t?t.color:void 0,size:void 0!==t?t.size:void 0,space:void 0!==t?t.space:void 0})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){var e=this.read();return void 0!==e&&void 0!==e.color?e.color:"auto"},set:function(e){var t=this.read();this.write({style:void 0!==t?t.style:"single",color:Co(e),size:void 0!==t?t.size:void 0,space:void 0!==t?t.space:void 0})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineWidth",{get:function(){var e=this.read();return void 0!==e&&void 0!==e.size?e.size/8:0},set:function(e){var t=this.read();this.write({style:void 0!==t?t.style:"single",color:void 0!==t?t.color:void 0,size:Math.round(8*e),space:void 0!==t?t.space:void 0})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"space",{get:function(){var e=this.read();return void 0!==e&&void 0!==e.space?e.space:0},set:function(e){var t=this.read();this.write({style:void 0!==t?t.style:"single",color:void 0!==t?t.color:void 0,size:void 0!==t?t.size:void 0,space:e})},enumerable:!0,configurable:!0}),e}(),oR=function(){function e(e){this.owner=e}return Object.defineProperty(e.prototype,"top",{get:function(){return void 0===this.topFace&&(this.topFace=new iR(this.owner,"top")),this.topFace},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return void 0===this.leftFace&&(this.leftFace=new iR(this.owner,"left")),this.leftFace},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return void 0===this.bottomFace&&(this.bottomFace=new iR(this.owner,"bottom")),this.bottomFace},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return void 0===this.rightFace&&(this.rightFace=new iR(this.owner,"right")),this.rightFace},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"between",{get:function(){return void 0===this.betweenFace&&(this.betweenFace=new iR(this.owner,"between")),this.betweenFace},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bar",{get:function(){return void 0===this.barFace&&(this.barFace=new iR(this.owner,"bar")),this.barFace},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"borderType",{set:function(e){this.top.borderType=e,this.left.borderType=e,this.bottom.borderType=e,this.right.borderType=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{set:function(e){this.top.color=e,this.left.color=e,this.bottom.color=e,this.right.color=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineWidth",{set:function(e){this.top.lineWidth=e,this.left.lineWidth=e,this.bottom.lineWidth=e,this.right.lineWidth=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"space",{set:function(e){this.top.space=e,this.left.space=e,this.bottom.space=e,this.right.space=e},enumerable:!0,configurable:!0}),e}(),aR=new Set(["lr","rl","tb","tbV","rlV","lrV","btLr","lrTb","lrTbV","tbLrV","tbRl","tbRlV"]),lR=new Set(["auto","top","center","baseline","bottom"]),sR=new Set(["clear","solid","horzStripe","vertStripe","reverseDiagStripe","diagStripe","horzCross","diagCross","thinHorzStripe","thinVertStripe","thinReverseDiagStripe","thinDiagStripe","thinHorzCross","thinDiagCross","pct5","pct10","pct12","pct15","pct20","pct25","pct30","pct35","pct37","pct40","pct45","pct50","pct55","pct60","pct62","pct65","pct70","pct75","pct80","pct85","pct87","pct90","pct95"]),uR=new Set(ai(e.BorderStyle)),cR={horizontalAlignment:"start",keepFollow:!1,keepLines:!1,pageBreakBefore:!1,pageBreakAfter:!1,widowControl:!0,bidi:!1,outlineLevel:9,leftIndent:0,rightIndent:0,firstLineIndent:0,beforeSpacing:0,afterSpacing:0,beforeAutospacing:!1,afterAutospacing:!1,beforeLines:0,afterLines:0,lineSpacing:12,lineSpacingRule:"auto",lineSpacingCount:1,backColor:"",foreColor:"",suppressAutoHyphens:!1,suppressLineNumbers:!1,contextualSpacing:!1,mirrorIndents:!1,adjustRightIndent:!1,baselineAlignment:"auto",snapToGrid:!0,wordWrap:!0,overflowPunctuation:!0,autoSpaceDE:!1,autoSpaceDN:!1},dR=function(){function e(e){this.pPrExtra=[],this.host=e}return e.prototype.mutate=function(){this.host.notifyParagraphFormatMutation()},e.prototype.effective=function(e){var t=this.host.resolveEffectiveParagraphValue,r=void 0!==t?t.call(this.host,e):void 0;return void 0!==r?r:void 0},e.prototype.effectiveOrDefault=function(e,t){var r=this.effective(e);return void 0!==r?r:t},Object.defineProperty(e.prototype,"horizontalAlignment",{get:function(){if(void 0!==this.jcRaw){var e=si(this.jcRaw);if(void 0!==e)return e}return this.effective("horizontalAlignment")},set:function(e){if(void 0===e)return this.jcRaw=void 0,void this.mutate();(void 0===this.jcRaw?void 0:si(this.jcRaw))!==e&&(this.jcRaw=ui(e),this.mutate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepFollow",{get:function(){return void 0!==this.keepNextValue?this.keepNextValue:this.effective("keepFollow")},set:function(e){this.keepNextValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepLines",{get:function(){return void 0!==this.keepLinesValue?this.keepLinesValue:this.effective("keepLines")},set:function(e){this.keepLinesValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pageBreakBefore",{get:function(){return void 0!==this.pageBreakBeforeValue?this.pageBreakBeforeValue:this.effective("pageBreakBefore")},set:function(e){this.pageBreakBeforeValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pageBreakAfter",{get:function(){return void 0!==this.pageBreakAfterValue?this.pageBreakAfterValue:this.effective("pageBreakAfter")},set:function(e){this.pageBreakAfterValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widowControl",{get:function(){return void 0!==this.widowControlValue?this.widowControlValue:this.effective("widowControl")},set:function(e){this.widowControlValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bidi",{get:function(){return void 0!==this.bidiValue?this.bidiValue:this.effective("bidi")},set:function(e){this.bidiValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outlineLevel",{get:function(){return void 0!==this.outlineLevelValue?this.outlineLevelValue:this.effective("outlineLevel")},set:function(e){if(void 0===e)return this.outlineLevelValue=void 0,void this.mutate();Do(e),this.outlineLevelValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftIndent",{get:function(){if(void 0!==this.indentsValue){if(void 0!==this.indentsValue.left)return Ur(this.indentsValue.left);if(void 0!==this.indentsValue.start)return Ur(this.indentsValue.start)}return this.effective("leftIndent")},set:function(e){var t=No(this.indentsValue);if(void 0===e)return t.left=void 0,this.indentsValue=Ao(t)?void 0:t,void this.mutate();To("leftIndent",e),t.left=Math.round(20*e),t.start=void 0,t.leftChars=void 0,this.indentsValue=Ao(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightIndent",{get:function(){if(void 0!==this.indentsValue){if(void 0!==this.indentsValue.right)return Ur(this.indentsValue.right);if(void 0!==this.indentsValue.end)return Ur(this.indentsValue.end)}return this.effective("rightIndent")},set:function(e){var t=No(this.indentsValue);if(void 0===e)return t.right=void 0,this.indentsValue=Ao(t)?void 0:t,void this.mutate();To("rightIndent",e),t.right=Math.round(20*e),t.end=void 0,t.rightChars=void 0,this.indentsValue=Ao(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstLineIndent",{get:function(){if(void 0!==this.indentsValue){if(void 0!==this.indentsValue.firstLine)return Ur(this.indentsValue.firstLine);if(void 0!==this.indentsValue.hanging)return-Ur(this.indentsValue.hanging)}return this.effective("firstLineIndent")},set:function(e){var t=No(this.indentsValue);if(void 0===e)return t.firstLine=void 0,t.hanging=void 0,this.indentsValue=Ao(t)?void 0:t,void this.mutate();To("firstLineIndent",e),e<0?(t.firstLine=void 0,t.hanging=Math.round(20*-e)):(t.firstLine=Math.round(20*e),t.hanging=void 0),t.firstLineChars=void 0,this.indentsValue=Ao(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"beforeSpacing",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.before?Ur(this.spacingValue.before):this.effective("beforeSpacing")},set:function(e){var t=Eo(this.spacingValue);if(void 0===e)return t.before=void 0,this.spacingValue=Lo(t)?void 0:t,void this.mutate();ko("beforeSpacing",e),t.before=Math.round(20*e),!0===t.beforeAutospacing&&(t.beforeAutospacing=void 0),t.beforeLines=void 0,this.spacingValue=Lo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"afterSpacing",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.after?Ur(this.spacingValue.after):this.effective("afterSpacing")},set:function(e){var t=Eo(this.spacingValue);if(void 0===e)return t.after=void 0,this.spacingValue=Lo(t)?void 0:t,void this.mutate();ko("afterSpacing",e),t.after=Math.round(20*e),!0===t.afterAutospacing&&(t.afterAutospacing=void 0),t.afterLines=void 0,this.spacingValue=Lo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"beforeAutospacing",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.beforeAutospacing?this.spacingValue.beforeAutospacing:this.effective("beforeAutospacing")},set:function(e){var t=Eo(this.spacingValue);t.beforeAutospacing=e,this.spacingValue=Lo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"afterAutospacing",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.afterAutospacing?this.spacingValue.afterAutospacing:this.effective("afterAutospacing")},set:function(e){var t=Eo(this.spacingValue);t.afterAutospacing=e,this.spacingValue=Lo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"beforeLines",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.beforeLines?this.spacingValue.beforeLines:this.effective("beforeLines")},set:function(e){var t=Eo(this.spacingValue);t.beforeLines=e,this.spacingValue=Lo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"afterLines",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.afterLines?this.spacingValue.afterLines:this.effective("afterLines")},set:function(e){var t=Eo(this.spacingValue);t.afterLines=e,this.spacingValue=Lo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineSpacing",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.line&&"auto"!==this.spacingValue.lineRule?Ur(this.spacingValue.line):this.effective("lineSpacing")},set:function(e){var t=Eo(this.spacingValue);if(void 0===e)return t.line=void 0,"exact"!==t.lineRule&&"atLeast"!==t.lineRule||(t.lineRule=void 0),this.spacingValue=Lo(t)?void 0:t,void this.mutate();Fo(e),t.line=Math.round(20*e),t.lineRule="atLeast"===t.lineRule?"atLeast":"exact",this.spacingValue=Lo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineSpacingRule",{get:function(){return void 0!==this.spacingValue&&void 0!==this.spacingValue.lineRule?this.spacingValue.lineRule:this.effective("lineSpacingRule")},set:function(e){var t=Eo(this.spacingValue);t.lineRule=e,this.spacingValue=Lo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineSpacingCount",{get:function(){return void 0!==this.spacingValue&&"auto"===this.spacingValue.lineRule&&void 0!==this.spacingValue.line?this.spacingValue.line/240:this.effective("lineSpacingCount")},set:function(e){var t=Eo(this.spacingValue);if(void 0===e)return"auto"===t.lineRule&&(t.line=void 0,t.lineRule=void 0),this.spacingValue=Lo(t)?void 0:t,void this.mutate();if(e<0||e>100)throw new RangeError("lineSpacingCount must be in [0, 100], got "+String(e));t.line=Math.round(240*e),t.lineRule="auto",this.spacingValue=Lo(t)?void 0:t,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabStops",{get:function(){return void 0!==this.tabStopsValue?this.tabStopsValue:this.effective("tabStops")},set:function(e){this.tabStopsValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabs",{get:function(){return void 0===this.tabsCollection&&(this.tabsCollection=new nR(this)),this.tabsCollection},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"borders",{get:function(){return void 0===this.bordersFace&&(this.bordersFace=new oR(this)),this.bordersFace},enumerable:!0,configurable:!0}),e.prototype.setBorders=function(e){this.bordersValue=e,this.mutate()},e.prototype.readBordersBag=function(){return void 0!==this.bordersValue?this.bordersValue:this.effective("borders")},e.prototype.writeBordersBag=function(e){this.bordersValue=e,this.mutate()},Object.defineProperty(e.prototype,"backColor",{get:function(){return void 0!==this.shadingValue&&void 0!==this.shadingValue.fill?this.shadingValue.fill:this.effectiveOrDefault("backColor",cR.backColor)},set:function(e){var t=void 0===this.shadingValue?{}:$L({},this.shadingValue);if(void 0===e)t.fill=void 0;else{var r=Io(e);Oo("backColor",r),t.fill=r}this.shadingValue=Ro(t)?t:void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"foreColor",{get:function(){return void 0!==this.shadingValue&&void 0!==this.shadingValue.color?this.shadingValue.color:this.effectiveOrDefault("foreColor",cR.foreColor)},set:function(e){var t=void 0===this.shadingValue?{}:$L({},this.shadingValue);if(void 0===e)t.color=void 0;else{var r=Io(e);Oo("foreColor",r),t.color=r}this.shadingValue=Ro(t)?t:void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shadingPattern",{get:function(){return void 0!==this.shadingValue&&void 0!==this.shadingValue.pattern?this.shadingValue.pattern:this.effective("shadingPattern")},set:function(e){var t=void 0===this.shadingValue?{}:$L({},this.shadingValue);if(void 0===e)t.pattern=void 0;else{if(!sR.has(e))throw new $N("content/invalid-shading-pattern",'shadingPattern must be an ST_Shd pattern token, got "'+e+'"');t.pattern=e}this.shadingValue=Ro(t)?t:void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"suppressAutoHyphens",{get:function(){return void 0!==this.suppressAutoHyphensValue?this.suppressAutoHyphensValue:this.effectiveOrDefault("suppressAutoHyphens",cR.suppressAutoHyphens)},set:function(e){this.suppressAutoHyphensValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"suppressLineNumbers",{get:function(){return void 0!==this.suppressLineNumbersValue?this.suppressLineNumbersValue:this.effectiveOrDefault("suppressLineNumbers",cR.suppressLineNumbers)},set:function(e){this.suppressLineNumbersValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contextualSpacing",{get:function(){return void 0!==this.contextualSpacingValue?this.contextualSpacingValue:this.effectiveOrDefault("contextualSpacing",cR.contextualSpacing)},set:function(e){this.contextualSpacingValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mirrorIndents",{get:function(){return void 0!==this.mirrorIndentsValue?this.mirrorIndentsValue:this.effectiveOrDefault("mirrorIndents",cR.mirrorIndents)},set:function(e){this.mirrorIndentsValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"adjustRightIndent",{get:function(){return void 0!==this.adjustRightIndentValue?this.adjustRightIndentValue:this.effectiveOrDefault("adjustRightIndent",cR.adjustRightIndent)},set:function(e){this.adjustRightIndentValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textDirection",{get:function(){return void 0!==this.textDirectionValue?this.textDirectionValue:this.effective("textDirection")},set:function(e){if(void 0===e)return this.textDirectionValue=void 0,this.textDirectionRaw=void 0,void this.mutate();if(!aR.has(e))throw new $N("content/invalid-text-direction",'textDirection must be an ST_TextDirection token, got "'+e+'"');this.textDirectionValue=e,this.textDirectionRaw=void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baselineAlignment",{get:function(){return void 0!==this.baselineAlignmentValue?this.baselineAlignmentValue:this.effective("baselineAlignment")},set:function(e){if(void 0===e)return this.baselineAlignmentValue=void 0,this.baselineAlignmentRaw=void 0,void this.mutate();if(!lR.has(e))throw new $N("content/invalid-baseline-alignment",'baselineAlignment must be an ST_TextAlignment token, got "'+e+'"');this.baselineAlignmentValue=e,this.baselineAlignmentRaw=void 0,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snapToGrid",{get:function(){return void 0!==this.snapToGridValue?this.snapToGridValue:this.effectiveOrDefault("snapToGrid",cR.snapToGrid)},set:function(e){this.snapToGridValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wordWrap",{get:function(){return void 0!==this.wordWrapValue?this.wordWrapValue:this.effectiveOrDefault("wordWrap",cR.wordWrap)},set:function(e){this.wordWrapValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overflowPunctuation",{get:function(){return void 0!==this.overflowPunctuationValue?this.overflowPunctuationValue:this.effectiveOrDefault("overflowPunctuation",cR.overflowPunctuation)},set:function(e){this.overflowPunctuationValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoSpaceDE",{get:function(){return void 0!==this.autoSpaceDEValue?this.autoSpaceDEValue:this.effectiveOrDefault("autoSpaceDE",cR.autoSpaceDE)},set:function(e){this.autoSpaceDEValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoSpaceDN",{get:function(){return void 0!==this.autoSpaceDNValue?this.autoSpaceDNValue:this.effectiveOrDefault("autoSpaceDN",cR.autoSpaceDN)},set:function(e){this.autoSpaceDNValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"kinsoku",{get:function(){return this.kinsokuValue},set:function(e){this.kinsokuValue=e,this.mutate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topLinePunctuation",{get:function(){return this.topLinePunctuationValue},set:function(e){this.topLinePunctuationValue=e,this.mutate()},enumerable:!0,configurable:!0}),e.prototype.textDirectionRawValue=function(){return this.textDirectionRaw},e.prototype.baselineAlignmentRawValue=function(){return this.baselineAlignmentRaw},e.prototype.assign=function(e){void 0!==e.horizontalAlignment&&(this.horizontalAlignment=e.horizontalAlignment),void 0!==e.keepFollow&&(this.keepFollow=e.keepFollow),void 0!==e.keepLines&&(this.keepLines=e.keepLines),void 0!==e.pageBreakBefore&&(this.pageBreakBefore=e.pageBreakBefore),void 0!==e.pageBreakAfter&&(this.pageBreakAfter=e.pageBreakAfter),void 0!==e.widowControl&&(this.widowControl=e.widowControl),void 0!==e.bidi&&(this.bidi=e.bidi),void 0!==e.outlineLevel&&(this.outlineLevel=e.outlineLevel),void 0!==e.leftIndent&&(this.leftIndent=e.leftIndent),void 0!==e.rightIndent&&(this.rightIndent=e.rightIndent),void 0!==e.firstLineIndent&&(this.firstLineIndent=e.firstLineIndent),void 0!==e.beforeSpacing&&(this.beforeSpacing=e.beforeSpacing),void 0!==e.afterSpacing&&(this.afterSpacing=e.afterSpacing),void 0!==e.beforeAutospacing&&(this.beforeAutospacing=e.beforeAutospacing),void 0!==e.afterAutospacing&&(this.afterAutospacing=e.afterAutospacing),void 0!==e.beforeLines&&(this.beforeLines=e.beforeLines),void 0!==e.afterLines&&(this.afterLines=e.afterLines),void 0!==e.lineSpacing&&(this.lineSpacing=e.lineSpacing),void 0!==e.lineSpacingRule&&(this.lineSpacingRule=e.lineSpacingRule),void 0!==e.lineSpacingCount&&(this.lineSpacingCount=e.lineSpacingCount),void 0!==e.tabStops&&(this.tabStops=e.tabStops),void 0!==e.borders&&this.setBorders(e.borders),void 0!==e.backColor&&(this.backColor=e.backColor),void 0!==e.foreColor&&(this.foreColor=e.foreColor),void 0!==e.shadingPattern&&(this.shadingPattern=e.shadingPattern),void 0!==e.suppressAutoHyphens&&(this.suppressAutoHyphens=e.suppressAutoHyphens),void 0!==e.suppressLineNumbers&&(this.suppressLineNumbers=e.suppressLineNumbers),void 0!==e.contextualSpacing&&(this.contextualSpacing=e.contextualSpacing),void 0!==e.mirrorIndents&&(this.mirrorIndents=e.mirrorIndents),void 0!==e.adjustRightIndent&&(this.adjustRightIndent=e.adjustRightIndent),void 0!==e.textDirection&&(this.textDirection=e.textDirection),void 0!==e.baselineAlignment&&(this.baselineAlignment=e.baselineAlignment),void 0!==e.snapToGrid&&(this.snapToGrid=e.snapToGrid),void 0!==e.wordWrap&&(this.wordWrap=e.wordWrap),void 0!==e.overflowPunctuation&&(this.overflowPunctuation=e.overflowPunctuation),void 0!==e.autoSpaceDE&&(this.autoSpaceDE=e.autoSpaceDE),void 0!==e.autoSpaceDN&&(this.autoSpaceDN=e.autoSpaceDN)},e.prototype.clear=function(){this.jcRaw=void 0,this.keepNextValue=void 0,this.keepLinesValue=void 0,this.pageBreakBeforeValue=void 0,this.pageBreakAfterValue=void 0,this.widowControlValue=void 0,this.bidiValue=void 0,this.outlineLevelValue=void 0,this.indentsValue=void 0,this.spacingValue=void 0,this.tabStopsValue=void 0,this.bordersValue=void 0,this.shadingValue=void 0,this.suppressAutoHyphensValue=void 0,this.suppressLineNumbersValue=void 0,this.contextualSpacingValue=void 0,this.mirrorIndentsValue=void 0,this.adjustRightIndentValue=void 0,this.textDirectionValue=void 0,this.textDirectionRaw=void 0,this.baselineAlignmentValue=void 0,this.baselineAlignmentRaw=void 0,this.snapToGridValue=void 0,this.wordWrapValue=void 0,this.overflowPunctuationValue=void 0,this.autoSpaceDEValue=void 0,this.autoSpaceDNValue=void 0,this.kinsokuValue=void 0,this.topLinePunctuationValue=void 0,this.mutate()},e.prototype.hydrate=function(e){this.pPrExtra=e.pPrExtra,this.jcRaw=e.jcRaw,this.keepNextValue=e.keepNextValue,this.keepLinesValue=e.keepLinesValue,this.pageBreakAfterValue=e.pageBreakAfterValue,this.pageBreakBeforeValue=e.pageBreakBeforeValue,this.widowControlValue=e.widowControlValue,this.bidiValue=e.bidiValue,this.outlineLevelValue=e.outlineLevelValue,this.indentsValue=e.indentsValue,this.spacingValue=e.spacingValue,this.tabStopsValue=e.tabStopsValue,this.bordersValue=e.bordersValue,this.shadingValue=e.shadingValue,this.suppressAutoHyphensValue=e.suppressAutoHyphensValue,this.suppressLineNumbersValue=e.suppressLineNumbersValue,this.contextualSpacingValue=e.contextualSpacingValue,this.mirrorIndentsValue=e.mirrorIndentsValue,this.adjustRightIndentValue=e.adjustRightIndentValue,this.textDirectionValue=e.textDirectionValue,this.textDirectionRaw=e.textDirectionRaw,this.baselineAlignmentValue=e.baselineAlignmentValue,this.baselineAlignmentRaw=e.baselineAlignmentRaw,this.snapToGridValue=e.snapToGridValue,this.wordWrapValue=e.wordWrapValue,this.overflowPunctuationValue=e.overflowPunctuationValue,this.autoSpaceDEValue=e.autoSpaceDEValue,this.autoSpaceDNValue=e.autoSpaceDNValue,this.kinsokuValue=e.kinsokuValue,this.topLinePunctuationValue=e.topLinePunctuationValue},e.prototype.snapshot=function(){return{pPrExtra:this.pPrExtra,jcRaw:this.jcRaw,keepNextValue:this.keepNextValue,keepLinesValue:this.keepLinesValue,pageBreakAfterValue:this.pageBreakAfterValue,pageBreakBeforeValue:this.pageBreakBeforeValue,widowControlValue:this.widowControlValue,bidiValue:this.bidiValue,outlineLevelValue:this.outlineLevelValue,indentsValue:this.indentsValue,spacingValue:this.spacingValue,tabStopsValue:this.tabStopsValue,bordersValue:this.bordersValue,shadingValue:this.shadingValue,suppressAutoHyphensValue:this.suppressAutoHyphensValue,suppressLineNumbersValue:this.suppressLineNumbersValue,contextualSpacingValue:this.contextualSpacingValue,mirrorIndentsValue:this.mirrorIndentsValue,adjustRightIndentValue:this.adjustRightIndentValue,textDirectionValue:this.textDirectionValue,textDirectionRaw:this.textDirectionRaw,baselineAlignmentValue:this.baselineAlignmentValue,baselineAlignmentRaw:this.baselineAlignmentRaw,snapToGridValue:this.snapToGridValue,wordWrapValue:this.wordWrapValue,overflowPunctuationValue:this.overflowPunctuationValue,autoSpaceDEValue:this.autoSpaceDEValue,autoSpaceDNValue:this.autoSpaceDNValue,kinsokuValue:this.kinsokuValue,topLinePunctuationValue:this.topLinePunctuationValue}},e.prototype.extraChildren=function(){return this.pPrExtra},e.prototype.readCnfStyle=function(){for(var e=0;e<this.pPrExtra.length;e+=1){var t=this.pPrExtra[e];if(ut(t,"cnfStyle")){var r=Ui(t);return Wi(r)?void 0:r}}},e.prototype.writeCnfStyle=function(e){try{this.mutate()}catch(e){}for(var t,r=-1,n=0;n<this.pPrExtra.length;n+=1){var i=this.pPrExtra[n];if(ut(i,"cnfStyle")){t=i,r=n;break}}if(void 0===e)return void(r>=0&&this.pPrExtra.splice(r,1));var o=Hi(ji(e),t);r>=0?this.pPrExtra[r]=o:this.pPrExtra.push(o)},e.prototype.buildPPrChildren=function(e){return na(this.snapshot(),e)},e}(),hR=new Set(["keepNext","keepLines","pageBreakBefore","widowControl","bidi","jc","outlineLvl","ind","spacing","tabs","pBdr","shd","suppressLineNumbers","suppressAutoHyphens","contextualSpacing","textDirection","textAlignment","adjustRightInd","overflowPunct","autoSpaceDE","autoSpaceDN","snapToGrid","wordWrap","mirrorIndents","kinsoku","topLinePunct"]),fR=new Set(["framePr","suppressOverlap","textboxTightWrap","divId","cnfStyle","pPrChange"]),pR=new Set(["left","center","right","decimal","bar","clear","num","start","end"]),vR=new Set(["none","dot","heavy","hyphen","middleDot","underscore"]),mR=function(){function e(){this.ownerValue=void 0,this.documentContextValue=void 0,this.wasRemovedValue=!1}return Object.defineProperty(e.prototype,"owner",{get:function(){return this.ownerValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"documentContext",{get:function(){return this.documentContextValue},enumerable:!0,configurable:!0}),e.prototype.setDocumentContext=function(e){this.documentContextValue=e,this.wasRemovedValue=!1},e.prototype.attach=function(e){this.ownerValue=e,this.wasRemovedValue=!1},e.prototype.detach=function(){void 0!==this.ownerValue&&(this.wasRemovedValue=!0,this.documentContextValue=void 0),this.ownerValue=void 0,this.onDetached()},e.prototype.onDetached=function(){},e.prototype.assertAttached=function(){if(void 0===this.ownerValue)throw new iA("This paragraph item is no longer attached");this.ownerValue.assertAttachedItem(this)},e.prototype.mutate=function(){if(void 0!==this.ownerValue)return void this.ownerValue.assertAttachedItem(this);if(this.wasRemovedValue||void 0===this.documentContextValue)throw new iA("This paragraph item is no longer attached")},e}();!function(e){e[e.WordDocument=0]="WordDocument",e[e.Section=1]="Section",e[e.TextBody=2]="TextBody",e[e.HeaderFooter=3]="HeaderFooter",e[e.Paragraph=4]="Paragraph",e[e.AlternateChunk=5]="AlternateChunk",e[e.BlockContentControl=6]="BlockContentControl",e[e.InlineContentControl=7]="InlineContentControl",e[e.RowContentControl=8]="RowContentControl",e[e.CellContentControl=9]="CellContentControl",e[e.StructureDocumentTag=10]="StructureDocumentTag",e[e.StructureDocumentTagInline=11]="StructureDocumentTagInline",e[e.StructureDocumentTagRow=12]="StructureDocumentTagRow",e[e.StructureDocumentTagCell=13]="StructureDocumentTagCell",e[e.SDTBlockContent=14]="SDTBlockContent",e[e.SDTInlineContent=15]="SDTInlineContent",e[e.SDTRowContent=16]="SDTRowContent",e[e.SDTCellContent=17]="SDTCellContent",e[e.Table=18]="Table",e[e.TableRow=19]="TableRow",e[e.TableCell=20]="TableCell",e[e.TextRange=21]="TextRange",e[e.Picture=22]="Picture",e[e.Field=23]="Field",e[e.FieldMark=24]="FieldMark",e[e.MergeField=25]="MergeField",e[e.SeqField=26]="SeqField",e[e.EmbededField=27]="EmbededField",e[e.ControlField=28]="ControlField",e[e.TextFormField=29]="TextFormField",e[e.DropDownFormField=30]="DropDownFormField",e[e.CheckBox=31]="CheckBox",e[e.BookmarkStart=32]="BookmarkStart",e[e.BookmarkEnd=33]="BookmarkEnd",e[e.Shape=34]="Shape",e[e.Comment=35]="Comment",e[e.Footnote=36]="Footnote",e[e.TextBox=37]="TextBox",e[e.Break=38]="Break",e[e.Symbol=39]="Symbol",e[e.TOC=40]="TOC",e[e.XmlParaItem=41]="XmlParaItem",e[e.Undefined=42]="Undefined",e[e.Chart=43]="Chart",e[e.SmartArt=44]="SmartArt",e[e.Canvas=45]="Canvas",e[e.CommentMark=46]="CommentMark",e[e.CommentEnd=47]="CommentEnd",e[e.OleObject=48]="OleObject",e[e.AbsoluteTab=49]="AbsoluteTab",e[e.AutoShape=50]="AutoShape",e[e.EditableRangeStart=51]="EditableRangeStart",e[e.EditableRangeEnd=52]="EditableRangeEnd",e[e.GroupShape=53]="GroupShape",e[e.ChildShape=54]="ChildShape",e[e.ChildGroupShape=55]="ChildGroupShape",e[e.Math=56]="Math",e[e.Ink=57]="Ink"}(e.EntityType||(e.EntityType={}));var yR,gR,bR,wR,PR,SR,xR,CR,IR=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),VR=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&(r[n[i]]=e[n[i]]);return r},TR=function(e){var t="function"==typeof ER&&e[ER.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},kR={PageBreak:"page",ColumnBreak:"column",LineBreak:"line",TextWrappingBreak:"textWrapping"},FR={None:"none",Left:"left",Right:"right",All:"all"},DR=function(){function e(e){this.extraAttributesValue=null!=e?e:[]}return Object.defineProperty(e.prototype,"characterFormat",{get:function(){return void 0===this.characterFormatField&&(this.characterFormatField=new RL(this)),this.characterFormatField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraAttributes",{get:function(){return this.extraAttributesValue},enumerable:!0,configurable:!0}),e.prototype.setExtraAttributes=function(e){this.extraAttributesValue=e},e.prototype.notifyCharacterFormatMutation=function(){},e.prototype.hydrateCharacterFormat=function(e){this.characterFormat.hydrate(e)},e.prototype.snapshotCharacterFormat=function(){return this.characterFormat.snapshot()},e}(),OR=function(e){function t(t){var r=e.call(this)||this;return r.wireGroupValue=null!=t?t:new DR,r}return IR(t,e),Object.defineProperty(t.prototype,"wireGroup",{get:function(){return this.wireGroupValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"characterFormat",{get:function(){return this.wireGroupValue.characterFormat},enumerable:!0,configurable:!0}),t.prototype.notifyCharacterFormatMutation=function(){this.mutate()},t}(mR),NR=function(t){function r(r){var n=t.call(this,r)||this;return n.type=e.EntityType.AbsoluteTab,n}return IR(r,t),r}(OR),AR=function(e){function t(t){var r=e.call(this,t)||this;return r.type="carriageReturn",r}return IR(t,e),t}(OR),ER=function(t){function r(r,n,i){var o=t.call(this,i)||this;return o.type=e.EntityType.Symbol,o.fontValue=r,o.charValue=n,o}return IR(r,t),Object.defineProperty(r.prototype,"font",{get:function(){return this.fontValue},set:function(e){this.mutate(),this.fontValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"char",{get:function(){return this.charValue},set:function(e){this.mutate(),this.charValue=e},enumerable:!0,configurable:!0}),r}(OR),LR=function(t){function r(r,n,i,o){var a=t.call(this,o)||this;return a.type=e.EntityType.Break,a.breakTypeValue=r,void 0!==n&&n!==FR.None?a.clearValue=n:a.clearValue=void 0,a.extrasValue=null!=i?i:[],a}return IR(r,t),Object.defineProperty(r.prototype,"breakType",{get:function(){return this.breakTypeValue},set:function(e){this.mutate(),this.breakTypeValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"clear",{get:function(){return this.clearValue},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"extras",{get:function(){return this.extrasValue},enumerable:!0,configurable:!0}),r}(OR),RR=function(e){function t(t,r,n){var i=e.call(this,n)||this;return i.type="featureRun",i.featureId=t,i.value=r,i}return IR(t,e),t}(OR),BR=function(e){function t(t,r){var n=e.call(this,r)||this;return n.type="opaqueRun",n.xml=t,n}return IR(t,e),t}(OR),_R=function(e){function t(t,r){var n=e.call(this)||this;return n.type="featureInline",n.featureId=t,n.value=r,n}return IR(t,e),t.prototype.onDetached=function(){null!=this.value.releaseContent&&this.value.releaseContent()},t}(mR),jR=function(e){function t(t){var r=e.call(this)||this;return r.type="opaque",r.xml=t,r}return IR(t,e),t}(mR),MR=function(t){function r(r,n){var i=t.call(this,n)||this;if(i.type=e.EntityType.TextRange,i.textValue="",i.xmlSpacePreserveValue=!1,void 0===r)return i;var o=r;return"function"==typeof o.assertAttachedItem?(i.attach(o),i):(i.setDocumentContext(r),i)}return IR(r,t),Object.defineProperty(r.prototype,"text",{get:function(){return this.textValue},set:function(e){if(this.mutate(),e.length>lA.textNodeLength)throw new tA("security/limit-exceeded","w:t exceeds the text node length limit");this.textValue=e,this.xmlSpacePreserveValue=sa(e)},enumerable:!0,configurable:!0}),r.prototype.applyCharacterFormat=function(e){if(e instanceof RL)return void this.characterFormat.hydrate(e.snapshot());this.characterFormat.assign(e)},Object.defineProperty(r.prototype,"xmlSpacePreserve",{get:function(){return this.xmlSpacePreserveValue},enumerable:!0,configurable:!0}),r.prototype.setTextFromParse=function(e,t){this.textValue=e,this.xmlSpacePreserveValue=t},r.prototype.toOpenXml=function(){return Ia(this)},r.fromXml=function(e,t){for(var n,i,o=ya(e,t),a=0;a<o.length;a+=1)if(o[a]instanceof r)return o[a];var l,s=new DR(e.attributes);try{for(var u=TR(ct(e)),c=u.next();!c.done;c=u.next()){var d=c.value;ut(d,"rPr")&&(l=qn(d))}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}var h=new r(t,s);return void 0!==l&&s.hydrateCharacterFormat(l),h},r.prototype.hydrate=function(e){this.wireGroup.setExtraAttributes(e.extraAttributes),this.textValue=e.text,this.xmlSpacePreserveValue=e.xmlSpacePreserve;e.extraAttributes,e.text,e.xmlSpacePreserve;var t=VR(e,["extraAttributes","text","xmlSpacePreserve"]);this.wireGroup.hydrateCharacterFormat(t)},r.prototype.snapshot=function(){var e=this.characterFormat.snapshot();return{extraAttributes:this.wireGroup.extraAttributes,text:this.textValue,xmlSpacePreserve:this.xmlSpacePreserveValue,rPrExtra:e.rPrExtra,styleIdValue:e.styleIdValue,boldValue:e.boldValue,italicValue:e.italicValue,strikeValue:e.strikeValue,doubleStrikeValue:e.doubleStrikeValue,vanishValue:e.vanishValue,legacyHiddenValue:e.legacyHiddenValue,noProofValue:e.noProofValue,fontSizeValue:e.fontSizeValue,fontSizeBidiValue:e.fontSizeBidiValue,textColorValue:e.textColorValue,textColorTheme:e.textColorTheme,highlightValue:e.highlightValue,shadingValue:e.shadingValue,underlineStyleValue:e.underlineStyleValue,underlineColorValue:e.underlineColorValue,vertAlignValue:e.vertAlignValue,smallCapsValue:e.smallCapsValue,allCapsValue:e.allCapsValue,fontsValue:e.fontsValue,characterScaleValue:e.characterScaleValue,kerningValue:e.kerningValue,characterSpacingValue:e.characterSpacingValue,positionValue:e.positionValue,borderValue:e.borderValue,languageValue:e.languageValue,embossValue:e.embossValue,imprintValue:e.imprintValue,outlineValue:e.outlineValue,shadowValue:e.shadowValue,webHiddenValue:e.webHiddenValue,bidiValue:e.bidiValue,complexScriptValue:e.complexScriptValue,boldBidiValue:e.boldBidiValue,italicBidiValue:e.italicBidiValue,emphasisValue:e.emphasisValue,textEffectValue:e.textEffectValue,specVanishValue:e.specVanishValue,snapToGridValue:e.snapToGridValue}},r}(OR),zR=MR,UR=Ia,HR=function(){function e(e){this.host=e,this.items=[],this.cachedCount=0,this.rebuildIndexProperties()}return Object.defineProperty(e.prototype,"count",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this.count},enumerable:!0,configurable:!0}),e.prototype.add=function(e){this.insert(this.items.length,e)},e.prototype.insert=function(e,t){if(this.host.assertMutable(),e<0||e>this.items.length)throw new RangeError("Paragraph item index "+String(e)+" is out of range");this.assertNotOwned(t),this.items.splice(e,0,t),t.attach(this.host),this.rebuildIndexProperties()},e.prototype.remove=function(e){this.host.assertMutable();var t=Oa(this.items,e);if(-1===t)throw new iA("This paragraph item is no longer in its paragraph");var r=this.items[t];this.items.splice(t,1),r.detach(),this.rebuildIndexProperties()},e.prototype.removeAt=function(e){if(this.host.assertMutable(),e<0||e>=this.items.length)throw new RangeError("Paragraph item index "+String(e)+" is out of range");var t=this.items[e];this.items.splice(e,1),t.detach(),this.rebuildIndexProperties()},e.prototype.clear=function(){this.host.assertMutable(),this.detachAll(),this.items.length=0,this.rebuildIndexProperties()},e.prototype.containsIdentity=function(e){return-1!==this.indexOfIdentity(e)},e.prototype.indexOf=function(e){return Oa(this.items,e)},e.prototype.indexOfIdentity=function(e){for(var t=0;t<this.items.length;t+=1)if(this.items[t]===e)return t;return-1},e.prototype.toArray=function(){for(var e=[],t=0;t<this.items.length;t+=1)e.push(Da(this.items[t]));return e},e.prototype.snapshot=function(){return this.items.slice()},e.prototype.forEach=function(e){for(var t=0;t<this.items.length;t+=1)e(Da(this.items[t]),t)},e.prototype.some=function(e){for(var t=0;t<this.items.length;t+=1)if(e(Da(this.items[t]),t))return!0;return!1},e.prototype.every=function(e){for(var t=0;t<this.items.length;t+=1)if(!e(Da(this.items[t]),t))return!1;return!0},e.prototype.filter=function(e){for(var t=[],r=0;r<this.items.length;r+=1){var n=Da(this.items[r]);e(n,r)&&t.push(n)}return t},e.prototype.find=function(e){for(var t=0;t<this.items.length;t+=1){var r=Da(this.items[t]);if(e(r,t))return r}},e.prototype.findIndex=function(e){for(var t=0;t<this.items.length;t+=1)if(e(Da(this.items[t]),t))return t;return-1},e.prototype.map=function(e){for(var t=[],r=0;r<this.items.length;r+=1)t.push(e(Da(this.items[r]),r));return t},e.prototype[Symbol.iterator]=function(){var e=this.items.slice(),t=0;return{next:function(){if(t>=e.length)return{done:!0,value:void 0};var r=Da(e[t]);return t+=1,{done:!1,value:r}}}},e.prototype.hydrate=function(e){this.detachAll(),this.items.length=0;for(var t=0;t<e.length;t+=1){var r=e[t];this.items.push(r),r.attach(this.host)}this.rebuildIndexProperties()},e.prototype.addFromParse=function(e){this.items.push(e),e.attach(this.host),this.rebuildIndexProperties()},e.prototype.detachAll=function(){for(var e=0;e<this.items.length;e+=1)this.items[e].detach()},e.prototype.reattachAll=function(){for(var e=0;e<this.items.length;e+=1)this.items[e].attach(this.host)},e.prototype.assertNotOwned=function(e){if(void 0!==e.owner){if(e.owner===this.host&&this.containsIdentity(e))throw new iA("Paragraph item is already in this paragraph");throw new iA("Paragraph item is already attached")}},e.prototype.rebuildIndexProperties=function(){for(var e=this.items.length,t=this.cachedCount,r=t>e?t:e,n=0;n<r;n+=1){var i=String(n);if(n<e){var o=Da(this.items[n]);Object.defineProperty(this,i,{value:o,writable:!1,enumerable:!0,configurable:!0})}else delete this[i]}this.cachedCount=e},e}(),WR=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},GR=function(){function e(e){this.owner=e,this.extraAttributes=[],this.numPrExtra=[],this.sectionBreakSectPrElement=void 0,this.paragraphItems=new HR(this),this.paragraphFormatField=void 0,this.breakCharacterFormatField=void 0,this.listFormatField=void 0}return Object.defineProperty(e.prototype,"paragraphFormat",{get:function(){return void 0===this.paragraphFormatField&&(this.paragraphFormatField=new dR(this)),this.paragraphFormatField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"breakCharacterFormat",{get:function(){return void 0===this.breakCharacterFormatField&&(this.breakCharacterFormatField=new RL(this)),this.breakCharacterFormatField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"listFormat",{get:function(){if(void 0===this.listFormatField){if(void 0===yR)throw new $N("feature/not-registered","ListFormat is unavailable; register the numbering feature before accessing paragraph.listFormat");this.listFormatField=yR(this)}return this.listFormatField},enumerable:!0,configurable:!0}),e.prototype.notifyParagraphFormatMutation=function(){this.mutate()},e.prototype.notifyCharacterFormatMutation=function(){this.mutate()},e.prototype.detach=function(){this.owner=void 0,this.paragraphItems.detachAll()},e.prototype.attach=function(e){this.owner=e,this.paragraphItems.reattachAll()},e.prototype.assertAttachedItem=function(e){if(this.mutate(),!this.paragraphItems.containsIdentity(e))throw new iA("This paragraph item is no longer in its paragraph")},e.prototype.assertMutable=function(){this.mutate()},e.prototype.mutate=function(){if(void 0===this.owner)throw new iA("This paragraph is no longer in a document");this.owner.assertAttachedParagraph(this)},e.prototype.owningDocument=function(){if(void 0===this.owner)throw new iA("This paragraph is no longer in a document");return this.owner.owningDocument()},Object.defineProperty(e.prototype,"styleId",{get:function(){return this.styleIdValue},set:function(e){this.mutate(),this.styleIdValue=e},enumerable:!0,configurable:!0}),e.prototype.applyStyle=function(e){throw new Error("Styles feature is not loaded")},e.prototype.resolveEffectiveCharacterValue=function(e){},e.prototype.resolveEffectiveParagraphValue=function(e){},Object.defineProperty(e.prototype,"numId",{get:function(){return this.numIdValue},set:function(e){this.mutate(),this.numIdValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"listLevel",{get:function(){return this.listLevelValue},set:function(e){this.mutate(),this.listLevelValue=e},enumerable:!0,configurable:!0}),e.prototype.getConditionalFormatting=function(){return this.paragraphFormat.readCnfStyle()},e.prototype.setConditionalFormatting=function(e){this.paragraphFormat.writeCnfStyle(e)},Object.defineProperty(e.prototype,"isInCell",{get:function(){var e=this.owner;return void 0!==e&&"tableCell"===e.bodyOwnerKind},enumerable:!0,configurable:!0}),e.prototype.sectionBreakSectPr=function(){return this.sectionBreakSectPrElement},e.prototype.replaceSectionBreakSectPr=function(e){void 0!==this.owner&&this.mutate(),this.sectionBreakSectPrElement=e,void 0!==e&&(this.sectionBreakPropertiesModelValue=void 0)},e.prototype.sectionBreakPropertiesModel=function(){return this.sectionBreakPropertiesModelValue},e.prototype.replaceSectionBreakPropertiesModel=function(e){void 0!==this.owner&&this.mutate(),this.sectionBreakPropertiesModelValue=e,void 0!==e&&(this.sectionBreakSectPrElement=void 0)},Object.defineProperty(e.prototype,"items",{get:function(){return this.paragraphItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){for(var e=[],t=this.paragraphItems.snapshot(),r=[],n=0;n<t.length;n+=1){var i=t[n];if(!(void 0!==i&&"object"==typeof i&&"fieldType"in i)||"fieldMarkType"in i){if(void 0!==i&&"object"==typeof i&&"fieldMarkType"in i){var o=i;if("separate"===o.fieldMarkType){if(r.length>0){var a=r[r.length-1];void 0!==a&&(a.phase="result")}continue}if("end"===o.fieldMarkType){r.length>0&&r.pop();continue}}(0===r.length||"result"===r[r.length-1].phase)&&(i instanceof MR?e.push(i.text):i instanceof NR&&e.push("\t"))}else r.push({phase:"instruction"})}return e.join("")},enumerable:!0,configurable:!0}),e.prototype.appendTextRange=function(){this.mutate();var e=new MR;return this.paragraphItems.add(e),e},e.prototype.appendText=function(e,t){this.mutate();for(var r,n=new DR,i=pa(e,n),o=0;o<i.length;o+=1){var a=i[o];void 0!==a&&(this.paragraphItems.add(a),void 0===r&&a instanceof MR&&(r=a))}return void 0===r&&(r=new MR(void 0,n),this.paragraphItems.add(r)),null!=t&&void 0!==t.bold&&(r.characterFormat.bold=t.bold),null!=t&&void 0!==t.italic&&(r.characterFormat.italic=t.italic),null!=t&&void 0!==t.fontSize&&(r.characterFormat.fontSize=t.fontSize),r},e.prototype.appendBreak=function(e,t){this.mutate();var r=null==t?void 0:t.clear,n=da(e,null!=r?r:FR.None);return this.paragraphItems.add(n),n},e.prototype.appendSymbol=function(e,t){this.mutate();var r=ha(e,t);return this.paragraphItems.add(r),r},e.prototype.appendFeatureRunItem=function(e,t){this.mutate();var r=new RR(e,t,new DR);return this.paragraphItems.add(r),r},e.prototype.appendFeatureInline=function(e,t){this.mutate();var r=new _R(e,t);return this.paragraphItems.add(r),r},e.prototype.insertFeatureInlineAt=function(e,t,r){this.mutate();var n=new _R(t,r);return this.paragraphItems.insert(e,n),n},e.prototype.removeFeatureInline=function(e){this.mutate();for(var t=this.paragraphItems.snapshot(),r=0;r<t.length;r+=1){var n=t[r];if(n instanceof _R&&n.value===e)return void this.paragraphItems.removeAt(r)}throw new iA("This inline is no longer in its paragraph")},e.prototype.removeFeatureRunItem=function(e){this.mutate();for(var t=this.paragraphItems.snapshot(),r=0;r<t.length;r+=1){var n=t[r];if(n instanceof RR&&n.value===e)return void this.paragraphItems.removeAt(r)}throw new iA("This item is no longer in its paragraph")},e.prototype.appendParagraphItem=function(e){this.mutate(),this.paragraphItems.add(e)},e.prototype.removeTextRange=function(e){this.mutate();var t=this.paragraphItems.indexOfIdentity(e);if(-1===t)throw new iA("This text range is no longer in its paragraph");this.paragraphItems.removeAt(t)},e.prototype.toOpenXml=function(){return Ra(this)},e.fromXml=function(e,t){return La(e,t)},e.prototype.hydrate=function(e){this.extraAttributes=e.extraAttributes,this.styleIdValue=e.styleIdValue,this.numIdValue=e.numIdValue,this.listLevelValue=e.listLevelValue,this.numPrExtra=e.numPrExtra,this.sectionBreakSectPrElement=e.sectionBreakSectPr;for(var t=0;t<e.items.length;t+=1){var r=e.items[t];void 0!==r.owner&&r.detach()}this.paragraphItems.hydrate(e.items),this.paragraphFormat.hydrate(e.paragraphFormat),void 0!==e.breakCharacterFormat&&this.breakCharacterFormat.hydrate(e.breakCharacterFormat)},e.prototype.snapshot=function(){return{extraAttributes:this.extraAttributes,styleIdValue:this.styleIdValue,numIdValue:this.numIdValue,listLevelValue:this.listLevelValue,numPrExtra:this.numPrExtra,sectionBreakSectPr:void 0!==this.sectionBreakPropertiesModelValue?this.sectionBreakPropertiesModelValue.toOpenXml():this.sectionBreakSectPrElement,items:this.paragraphItems.snapshot(),paragraphFormat:this.paragraphFormat.snapshot(),breakCharacterFormat:this.breakCharacterFormat.snapshot()}},e}(),qR=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},XR=[],YR=function(){function e(e){this.cachedLength=0,this.host=e,this.rebuildIndexProperties()}return Object.defineProperty(e.prototype,"count",{get:function(){return this.project().length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this.count},enumerable:!0,configurable:!0}),e.prototype.add=function(e){return this.insert(this.count,e)},e.prototype.insert=function(e,t){if(!Xa(t))throw new TypeError("BodyItemCollection accepts only Paragraph, Table, or block content control instances");var r=this.project();if(e<0||e>r.length)throw new RangeError("Body item index "+String(e)+" is out of range");this.assertNotOwned(t);var n=qa(t),i=this.host.rawBlocks(),o=this.rawIndexForPublicInsert(e,r,i);return this.insertRawBlockAt(o,n),t},e.prototype.remove=function(e){var t=Ja(this.host.rawBlocks(),e);if(-1===t)throw new iA("Body item is not in this body");this.removeRawBlockAt(t)},e.prototype.removeAt=function(e){var t=this.project();if(e<0||e>=t.length)throw new RangeError("Body item index "+String(e)+" is out of range");var r=t[e],n=Ja(this.host.rawBlocks(),r);if(-1===n)throw new iA("Body item is not in this body");this.removeRawBlockAt(n)},e.prototype.clear=function(){var e=this.host.rawBlocks();if(0===e.length)return this.rebuildIndexProperties(),void this.notifyHostBodyItemsChanged();var t=e.slice();this.host.replaceRawBlocks([]);for(var r=0;r<t.length;r+=1){var n=t[r];"paragraph"===n.type?n.paragraph.detach():"feature"===n.type&&Za(n.value)}this.rebuildIndexProperties(),this.notifyHostBodyItemsChanged()},e.prototype.indexOf=function(e){for(var t=this.project(),r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},e.prototype.toArray=function(){return this.project()},e.prototype.forEach=function(e){for(var t=this.project(),r=0;r<t.length;r+=1)e(t[r],r)},e.prototype.some=function(e){for(var t=this.project(),r=0;r<t.length;r+=1)if(e(t[r],r))return!0;return!1},e.prototype.filter=function(e){for(var t=this.project(),r=[],n=0;n<t.length;n+=1){var i=t[n];e(i,n)&&r.push(i)}return r},e.prototype.find=function(e){for(var t=this.project(),r=0;r<t.length;r+=1){var n=t[r];if(e(n,r))return n}},e.prototype.map=function(e){for(var t=this.project(),r=[],n=0;n<t.length;n+=1)r.push(e(t[n],n));return r},e.prototype[Symbol.iterator]=function(){var e=this.project(),t=0;return{next:function(){if(t>=e.length)return{done:!0,value:void 0};var r=e[t];return t+=1,{done:!1,value:r}}}},e.prototype.syncFromHost=function(){this.rebuildIndexProperties()},e.prototype.insertRawBlockAt=function(e,t){var r=this.host.rawBlocks();if(e<0||e>r.length)throw new RangeError("Body item index "+String(e)+" is out of range");var n=this.host.owningDocument();"paragraph"===t.type?t.paragraph.attach(this.host):"feature"===t.type&&Ya(t.value,n);var i=r.slice();i.splice(e,0,t),this.host.replaceRawBlocks(i),Ar([t],n),this.rebuildIndexProperties(),this.notifyHostBodyItemsChanged()},e.prototype.removeRawBlockAt=function(e){var t=this.host.rawBlocks();if(e<0||e>=t.length)throw new RangeError("Body item index "+String(e)+" is out of range");var r=t[e],n=t.slice();n.splice(e,1),this.host.replaceRawBlocks(n),"paragraph"===r.type?r.paragraph.detach():"feature"===r.type&&Za(r.value),this.rebuildIndexProperties(),this.notifyHostBodyItemsChanged()},e.prototype.appendRawBlock=function(e){this.insertRawBlockAt(this.host.rawBlocks().length,e)},e.prototype.indexOfRawBlock=function(e){var t=this.host.rawBlocks(),r=t.indexOf(e);if(-1!==r)return r;for(var n=0;n<t.length;n+=1)if(Ka(t[n],e))return n;return-1},e.prototype.project=function(){for(var e=this.host.rawBlocks(),t=[],r=0;r<e.length;r+=1){var n=Ga(e[r]);void 0!==n&&t.push(n)}return t},e.prototype.rawIndexForPublicInsert=function(e,t,r){if(e===t.length)return r.length;var n=Ja(r,t[e]);if(-1===n)throw new iA("Body item index is inconsistent");return n},e.prototype.assertNotOwned=function(e){if(-1!==Ja(this.host.rawBlocks(),e))throw new iA("Body item is already in this body");if(e instanceof GR)try{if(e.owningDocument()!==this.host.owningDocument())throw new iA("Body item belongs to another document");throw new iA("Body item is already attached")}catch(e){if(e instanceof iA&&"This paragraph is no longer in a document"===e.message)return;if(e instanceof iA)throw e;throw e}if("object"==typeof e&&null!==e&&"owningDocument"in e){var t=e.owningDocument;if("function"==typeof t){var r=void 0;try{r=t.call(e)}catch(e){r=void 0}if(void 0!==r){if(r!==this.host.owningDocument())throw new iA("Body item belongs to another document");throw new iA("Body item is already attached")}}}},e.prototype.rebuildIndexProperties=function(){for(var e=this.project(),t=e.length,r=this.cachedLength,n=r>t?r:t,i=0;i<n;i+=1){var o=String(i);if(i<t){var a=e[i];Object.defineProperty(this,o,{value:a,writable:!1,enumerable:!0,configurable:!0})}else delete this[o]}this.cachedLength=t},e.prototype.notifyHostBodyItemsChanged=function(){var e=this.host.notifyBodyItemsChanged;"function"==typeof e&&e.call(this.host)},e}(),ZR=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),KR=function(){return(KR=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},JR=function(){function e(e,t,r){this.cachedLength=0,this.items=e,this.typeFilter=t,this.factory=r,this.rebuildIndexProperties()}return Object.defineProperty(e.prototype,"count",{get:function(){return this.list().length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this.count},enumerable:!0,configurable:!0}),e.prototype.add=function(e){return this.insert(this.count,e)},e.prototype.insert=function(e,t){var r=this.list();if(e<0||e>r.length)throw new RangeError("Index "+String(e)+" is out of range");var n;if(void 0!==t)n=t;else{if(void 0===this.factory)throw new TypeError("No item provided and no factory is registered for this collection");n=this.factory()}if(!this.typeFilter(n))throw new TypeError("Item type does not match this collection");var i=this.bodyIndexForTypedInsert(e,r);return this.items.insert(i,n),this.rebuildIndexProperties(),n},e.prototype.remove=function(e){if(-1===this.items.indexOf(e)||!this.typeFilter(e))throw new iA("Item is not in this collection");this.items.remove(e),this.rebuildIndexProperties()},e.prototype.removeAt=function(e){var t=this.list();if(e<0||e>=t.length)throw new RangeError("Index "+String(e)+" is out of range");this.items.remove(t[e]),this.rebuildIndexProperties()},e.prototype.indexOf=function(e){for(var t=this.list(),r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},e.prototype.toArray=function(){return this.list()},e.prototype.forEach=function(e){for(var t=this.list(),r=0;r<t.length;r+=1)e(t[r],r)},e.prototype.some=function(e){for(var t=this.list(),r=0;r<t.length;r+=1)if(e(t[r],r))return!0;return!1},e.prototype.filter=function(e){for(var t=this.list(),r=[],n=0;n<t.length;n+=1){var i=t[n];e(i,n)&&r.push(i)}return r},e.prototype.find=function(e){for(var t=this.list(),r=0;r<t.length;r+=1){var n=t[r];if(e(n,r))return n}},e.prototype.map=function(e){for(var t=this.list(),r=[],n=0;n<t.length;n+=1)r.push(e(t[n],n));return r},e.prototype[Symbol.iterator]=function(){var e=this.list(),t=0;return{next:function(){if(t>=e.length)return{done:!0,value:void 0};var r=e[t];return t+=1,{done:!1,value:r}}}},e.prototype.syncFromHost=function(){this.rebuildIndexProperties()},e.prototype.setFactory=function(e){this.factory=e},e.prototype.list=function(){for(var e=[],t=this.items.count,r=0;r<t;r+=1){var n=this.items[r];void 0!==n&&this.typeFilter(n)&&e.push(n)}return e},e.prototype.bodyIndexForTypedInsert=function(e,t){if(e===t.length)return this.items.count;var r=t[e],n=this.items.indexOf(r);if(-1===n)throw new iA("Typed collection index is inconsistent");return n},e.prototype.rebuildIndexProperties=function(){for(var e=this.list(),t=e.length,r=this.cachedLength,n=r>t?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t},e}(),$R=function(e){function t(t,r){return e.call(this,t,function(e){return e instanceof GR},r)||this}return ZR(t,e),t}(JR),QR=function(e){function t(t,r,n){return e.call(this,t,r,n)||this}return ZR(t,e),t}(JR),eB=function(e){function t(t,r,n){return e.call(this,t,r,n)||this}return ZR(t,e),t}(JR),tB={},rB=function(){function e(e,t,r){void 0===t&&(t=[]),this.document=e,this.section=r,this.itemList=t.slice(),this.itemsInstance=new YR(this),this.paragraphsInstance=new $R(this.itemsInstance,function(){return new GR(void 0)});for(var n=0;n<this.itemList.length;n+=1){var i=this.itemList[n];"paragraph"===i.type&&i.paragraph.attach(this)}}return Object.defineProperty(e.prototype,"items",{get:function(){return this.itemsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paragraphs",{get:function(){return this.paragraphsInstance},enumerable:!0,configurable:!0}),e.prototype.owningSection=function(){return this.section},e.prototype.setOwningSection=function(e){this.section=e},e.prototype.setOwningDocument=function(e){this.document=e},e.prototype.owningDocument=function(){if(void 0!==this.section)return this.section.owningDocument();if(void 0!==this.document)return this.document;throw new iA("Body is not attached to a document")},e.prototype.rawBlocks=function(){return this.itemList},e.prototype.replaceRawBlocks=function(e){this.itemList=e.slice()},e.prototype.assertAttachedParagraph=function(e){if(!this.itemList.some(function(t){return"paragraph"===t.type&&t.paragraph===e}))throw new iA("This paragraph is no longer in the document")},e.prototype.listBlocks=function(){return this.itemList},e.prototype.replaceItems=function(e){for(var t=this.itemList,r=0;r<t.length;r+=1)if("paragraph"===(a=t[r]).type){for(var n=!1,i=0;i<e.length;i+=1){var o=e[i];if("paragraph"===o.type&&o.paragraph===a.paragraph){n=!0;break}}n||a.paragraph.detach()}this.itemList=e.slice();for(r=0;r<this.itemList.length;r+=1){var a=this.itemList[r];"paragraph"===a.type&&a.paragraph.attach(this)}this.itemsInstance.syncFromHost(),this.syncTypedViews()},e.prototype.appendRawBlock=function(e){this.itemsInstance.appendRawBlock(e)},e.prototype.insertRawBlockAt=function(e,t){this.itemsInstance.insertRawBlockAt(e,t)},e.prototype.removeRawBlockAt=function(e){this.itemsInstance.removeRawBlockAt(e)},e.prototype.listParagraphs=function(){for(var e=[],t=0;t<this.itemList.length;t+=1){var r=this.itemList[t];"paragraph"===r.type&&e.push(r.paragraph)}return e},e.prototype.appendParagraph=function(e){var t=this.paragraphsInstance.add();return void 0!==(null==e?void 0:e.style)&&t.applyStyle(e.style),void 0!==(null==e?void 0:e.text)&&t.appendText(e.text),t},e.prototype.insertParagraph=function(e){return this.paragraphsInstance.insert(e)},e.prototype.removeParagraph=function(e){this.paragraphsInstance.remove(e)},e.prototype.syncParagraphs=function(){this.syncTypedViews()},e.prototype.notifyBodyItemsChanged=function(){this.syncTypedViews()},e.prototype.syncTypedViews=function(){this.paragraphsInstance.syncFromHost();var e=this.owningSection();void 0!==e&&e.syncCollections()},e}(),nB=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),iB=function(e){function t(t,r,n,i,o,a){void 0===i&&(i=[]),void 0===a&&(a="");var l=this,s=void 0!==o?o:void 0!==t?function(){try{return t.owningDocument()}catch(e){return}}():void 0;return l=e.call(this,s,i,t)||this,l.kindValue=r,l.refTypeValue=n,l.relationshipIdValue=a,l.materializeHandler=void 0,l.syncHandler=void 0,l.suppressSync=!1,l.requireFeatureOnMutate=!1,l}return nB(t,e),Object.defineProperty(t.prototype,"kind",{get:function(){return this.kindValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"refType",{get:function(){return this.refTypeValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"relationshipId",{get:function(){return this.relationshipIdValue},enumerable:!0,configurable:!0}),t.prototype.bindRelationshipId=function(e){this.relationshipIdValue=e},t.prototype.bindLifecycleHandlers=function(e,t){this.materializeHandler=e,this.syncHandler=t,this.requireFeatureOnMutate=!1},t.prototype.markFeatureRequiredOnMutate=function(){this.requireFeatureOnMutate=!0},t.prototype.replaceItemsSilent=function(t){this.suppressSync=!0;try{e.prototype.replaceItems.call(this,t)}finally{this.suppressSync=!1}},t.prototype.replaceRawBlocks=function(t){this.ensureMaterializedForMutation(),e.prototype.replaceRawBlocks.call(this,t),this.runSync()},t.prototype.replaceItems=function(t){this.ensureMaterializedForMutation(),e.prototype.replaceItems.call(this,t),this.runSync()},t.prototype.assertAttachedParagraph=function(t){this.ensureMaterializedForMutation(),e.prototype.assertAttachedParagraph.call(this,t),this.runSync()},t.prototype.ensureMaterializedForMutation=function(){if(!this.suppressSync){if(this.requireFeatureOnMutate)throw new Error("Headers/footers feature is not registered; call registerHeadersFootersFeature() before mutating header/footer content");void 0!==this.materializeHandler&&this.materializeHandler()}},t.prototype.runSync=function(){this.suppressSync||void 0!==this.syncHandler&&this.syncHandler()},t}(rB),oB=function(){function e(e){this.section=e,this.linkToPreviousValue=!0}return e.prototype.bindSection=function(e){this.section=e},Object.defineProperty(e.prototype,"oddHeader",{get:function(){return this.headerSlot("default","oddHeaderInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstPageHeader",{get:function(){return this.headerSlot("first","firstPageHeaderInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"evenHeader",{get:function(){return this.headerSlot("even","evenHeaderInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"oddFooter",{get:function(){return this.footerSlot("default","oddFooterInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstPageFooter",{get:function(){return this.footerSlot("first","firstPageFooterInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"evenFooter",{get:function(){return this.footerSlot("even","evenFooterInstance")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkToPrevious",{get:function(){return this.computeLinkToPrevious()},set:function(e){this.linkToPreviousValue=e;var t=bR;if(void 0!==t&&void 0!==this.section)return void t(this.section,e);!e&&this.section},enumerable:!0,configurable:!0}),e.prototype.computeLinkToPrevious=function(){var e=wR;return void 0!==e&&void 0!==this.section?e(this.section):this.linkToPreviousValue},e.prototype.headerSlot=function(e,t){var r=this[t];if(void 0!==r)return r;var n=this.createHeader(e);return this[t]=n,n},e.prototype.footerSlot=function(e,t){var r=this[t];if(void 0!==r)return r;var n=this.createFooter(e);return this[t]=n,n},e.prototype.createHeader=function(e){var t=this.section,r=gR;return void 0!==t&&void 0!==r?r.createHeader(t,e):this.createUnregisteredPlaceholder("header",e)},e.prototype.createFooter=function(e){var t=this.section,r=gR;return void 0!==t&&void 0!==r?r.createFooter(t,e):this.createUnregisteredPlaceholder("footer",e)},e.prototype.createUnregisteredPlaceholder=function(e,t){var r=new iB(this.section,e,t,[]);return r.markFeatureRequiredOnMutate(),r},e}(),aB=function(){function e(e,t){if(this.cachedLength=0,t.length<1)throw new iA("Document must have at least one section");this.document=e,this.list=t.slice();for(var r=0;r<this.list.length;r+=1)this.list[r].bindDocument(e);this.rebuildIndexProperties()}return Object.defineProperty(e.prototype,"count",{get:function(){return this.list.length},enumerable:!0,configurable:!0}),e.prototype.add=function(){var e=fl(this.list[this.list.length-1]),t=new lB(this.document,[],e);return this.list.push(t),t.bindDocument(this.document),this.rebuildIndexProperties(),t},e.prototype.insert=function(e){if(e<0||e>this.list.length)throw new RangeError("Section index "+String(e)+" is out of range");if(e===this.list.length)return this.add();var t=fl(this.list[0===e?0:e-1]),r=new lB(this.document,[],t);return this.list.splice(e,0,r),r.bindDocument(this.document),this.rebuildIndexProperties(),r},e.prototype.remove=function(e){var t=this.list.indexOf(e);if(-1===t)throw new iA("Section is not in this document");this.removeAt(t)},e.prototype.removeAt=function(e){if(e<0||e>=this.list.length)throw new RangeError("Section index "+String(e)+" is out of range");if(this.list.length<=1)throw new iA("Cannot remove the last section");this.list.splice(e,1),this.rebuildIndexProperties()},e.prototype.indexOf=function(e){return this.list.indexOf(e)},e.prototype[Symbol.iterator]=function(){var e=this.list.slice(),t=0;return{next:function(){if(t>=e.length)return{done:!0,value:void 0};var r=e[t];return t+=1,{done:!1,value:r}}}},e.prototype.replaceAll=function(e){if(e.length<1)throw new iA("Document must have at least one section");this.list=e.slice();for(var t=0;t<this.list.length;t+=1)this.list[t].bindDocument(this.document);this.rebuildIndexProperties()},e.prototype.asArray=function(){return this.list},e.prototype.rebuildIndexProperties=function(){for(var e=this.list,t=e.length,r=this.cachedLength,n=r>t?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t},e}(),lB=function(){function e(e,t,r){if(void 0===t&&(t=[]),this.document=e,this.bodyInstance=new rB(e,t,this),this.pageSetupModel=r,void 0===this.pageSetupModel){var n=hl();void 0!==n&&(this.pageSetupModel=n())}this.headersFootersInstance=new oB(this),this.paragraphsInstance=new $R(this.bodyInstance.items,function(){return new GR(void 0)}),this.tablesInstance=tl(this.bodyInstance.items),this.blockContentControlsInstance=rl(this.bodyInstance.items)}return Object.defineProperty(e.prototype,"body",{get:function(){return this.bodyInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paragraphs",{get:function(){return this.paragraphsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tables",{get:function(){return this.tablesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"blockContentControls",{get:function(){return this.blockContentControlsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"headersFooters",{get:function(){return this.headersFootersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pageSetup",{get:function(){if(void 0===this.pageSetupModel){var e=hl();void 0!==e&&(this.pageSetupModel=e())}if(void 0===this.pageSetupModel)throw new iA("Section.pageSetup requires the sections feature (import @syncfusion/ej2-docx or @syncfusion/ej2-docx/sections)");return this.pageSetupModel},enumerable:!0,configurable:!0}),e.prototype.internalPageSetupModel=function(){return this.pageSetupModel},e.prototype.setPageSetup=function(e){if(void 0!==e)return void(this.pageSetupModel=e);var t=hl();this.pageSetupModel=void 0!==t?t():void 0},e.prototype.owningDocument=function(){if(void 0===this.document)throw new iA("Section is not attached to a document");return this.document},e.prototype.bindDocument=function(e){this.headersFootersInstance.bindSection(this),this.document=e,this.bodyInstance.setOwningDocument(e),this.bodyInstance.setOwningSection(this),void 0!==this.pageSetupModel&&gl(this.pageSetupModel,e)},e.prototype.syncCollections=function(){this.bodyInstance.items.syncFromHost(),this.paragraphsInstance.syncFromHost(),this.tablesInstance.syncFromHost(),this.blockContentControlsInstance.syncFromHost()},e}(),sB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",uB=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{s(n.next(e))}catch(e){o(e)}}function l(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(a,l)}s((n=n.apply(e,t||[])).next())})},cB=function(e,t){function r(e){return function(t){return n([e,t])}}function n(r){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,o=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(a=s.trys,!(a=a.length>0&&a[a.length-1])&&(6===r[0]||2===r[0])){s=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){s.label=r[1];break}if(6===r[0]&&s.label<a[1]){s.label=a[1],a=r;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(r);break}a[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],o=0}finally{i=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}var i,o,a,l,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return l={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l},dB=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},hB=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},fB=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(hB(arguments[t]));return e},pB=new TextEncoder,vB=new TextDecoder("utf-8"),mB=function(){function e(e,t,r,n,i,o){var a,l;this.pkg=e,this.rootExtra=t,this.background=r,this.sectPr=i,this.finalSectionModel=void 0,this.featureParts=o;var s=new lB(this,n);this.sectionsInstance=new aB(this,[s]);var u=s.body;try{for(var c=dB(u.listBlocks()),d=c.next();!d.done;d=c.next()){var h=d.value;"paragraph"!==h.type?"feature"===h.type&&Wl(h.value,this):h.paragraph.attach(u)}}catch(e){a={error:e}}finally{try{d&&!d.done&&(l=c.return)&&l.call(c)}finally{if(a)throw a.error}}Ar(u.listBlocks(),this),s.syncCollections()}return e.create=function(){Ol();var t=Se(),r=xe(t),n=new GR(void 0);return new e(t,{attributes:[],namespaceDeclarations:[{prefix:"w",namespaceUri:cA}]},void 0,[{type:"paragraph",paragraph:n}],void 0,Gl(Je(t,r),nt(t,r),Dt(t)))},e.fromPackage=function(t,r){var n,i,o,a,l,s;Ol();var u=xe(t),c=ke(t,u);if(void 0===c)throw new iA("Main document part is missing");var h=d(vB.decode(c.data),r);mr(h);var f;try{for(var p=dB(h.children),v=p.next();!v.done;v=p.next())if("element"===(x=v.value).kind&&ut(x,"background")){f=x;break}}catch(e){n={error:e}}finally{try{v&&!v.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}var m,y=Gl(Je(t,u,r),nt(t,u,r),Dt(t,r)),g=wr(h),b=Ue(),w=[];try{for(var P=dB(g.children),S=P.next();!S.done;S=P.next()){var x=S.value;"element"===x.kind&&(ut(x,"sectPr")?m=x:w.push.apply(w,fB(Ma([x],b))))}}catch(e){o={error:e}}finally{try{S&&!S.done&&(a=P.return)&&a.call(P)}finally{if(o)throw o.error}}var C=new e(t,{attributes:h.attributes,namespaceDeclarations:h.namespaceDeclarations.length>0?h.namespaceDeclarations:[{prefix:"w",namespaceUri:cA}]},f,[],void 0,y);C.hydratePartitionedSections(w,m);try{for(var I=dB(y.values()),V=I.next();!V.done;V=I.next()){var T=V.value;null==T.afterMainDocumentLoad||T.afterMainDocumentLoad(C)}}catch(e){l={error:e}}finally{try{V&&!V.done&&(s=I.return)&&s.call(I)}finally{if(l)throw l.error}}return C},e.prototype.hydratePartitionedSections=function(e,t){for(var r,n,i=Sl(e,t),o=[],a=0;a<i.length;a+=1){var l=i[a],s=bl(l.properties),u=void 0!==s&&"function"==typeof s.toOpenXml?s:void 0,c=new lB(this,l.items,u);if(o.push(c),gl(u,this),!l.isFinal&&void 0!==u){var d=l.items,h=d[d.length-1];void 0!==h&&"paragraph"===h.type&&h.paragraph.replaceSectionBreakPropertiesModel(u)}}this.sectionsInstance.replaceAll(o),this.sectPr=void 0,this.finalSectionModel=void 0;var f=i[i.length-1],p=o[o.length-1];if(void 0!==f&&void 0!==p){var v=bl(f.properties);void 0!==v&&"function"==typeof v.toOpenXml?(this.finalSectionModel=v,p.setPageSetup(this.finalSectionModel),gl(this.finalSectionModel,this),this.sectPr=void 0):void 0!==t?"element"===t.kind?(this.sectPr=t,p.setPageSetup(void 0)):(this.finalSectionModel=t,p.setPageSetup(this.finalSectionModel),gl(this.finalSectionModel,this)):p.setPageSetup(void 0)}for(a=0;a<o.length;a+=1){var m=(c=o[a]).body;try{for(var y=dB(m.listBlocks()),g=y.next();!g.done;g=y.next()){var b=g.value;"paragraph"!==b.type?"feature"===b.type&&Wl(b.value,this):b.paragraph.attach(m)}}catch(e){r={error:e}}finally{try{g&&!g.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}Ar(m.listBlocks(),this),c.syncCollections()}},e.prototype.repartitionFromBodyBlocks=function(){var e=this.finalSectionPropertiesModel(),t=void 0!==e?e:this.sectPr;this.hydratePartitionedSections(this.listBlocks().slice(),t)},e.open=function(t,r){if("string"==typeof t){if(void 0!==r&&"base64"===r.format){var n={format:"base64",limits:r.limits};return e.openSync(t,n)}return e.openSync(t,r)}return e.openSync(t,r)},e.openAsync=function(e,t){return Bl(e,t)},e.openSync=function(t,r){var n=Ul(t,r);return e.fromPackage(Ie(n,null==r?void 0:r.limits),null==r?void 0:r.limits)},e.load=function(t,r){if("string"==typeof t){if(void 0!==r&&"base64"===r.format){var n={format:"base64",limits:r.limits};return e.open(t,n)}return e.open(t,r)}return e.open(t,r)},e.loadAsync=function(e,t){return Bl(e,t)},e.loadSync=function(t,r){if("string"==typeof t){if(void 0!==r&&"base64"===r.format){var n={format:"base64",limits:r.limits};return e.openSync(t,n)}return e.openSync(t,r)}return e.openSync(t,r)},Object.defineProperty(e.prototype,"sections",{get:function(){return this.sectionsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastSection",{get:function(){var e=this.sectionsInstance.count,t=this.sectionsInstance[e-1];if(void 0===t)throw new iA("Document must have at least one section");return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastParagraph",{get:function(){var e=this.lastSection.body.listParagraphs(),t=e[e.length-1];if(void 0===t)throw new iA("Last section has no block-level paragraph (model invariant violated)");return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"body",{get:function(){return this.firstSectionBody()},enumerable:!0,configurable:!0}),e.prototype.appendParagraph=function(e){return this.body.appendParagraph(e)},e.prototype.addSection=function(){return this.sectionsInstance.add()},e.prototype.assertAttachedParagraph=function(e){var t,r;try{for(var n=dB(this.sectionsInstance.asArray()),i=n.next();!i.done;i=n.next())if(i.value.body.listBlocks().some(function(t){return"paragraph"===t.type&&t.paragraph===e}))return}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}throw new iA("This paragraph is no longer in the document")},e.prototype.owningDocument=function(){return this},Object.defineProperty(e.prototype,"altChunks",{get:function(){return Or(this.listBlocks())},enumerable:!0,configurable:!0}),e.prototype.firstSectionBody=function(){var e=this.sectionsInstance[0];if(void 0===e)throw new iA("Document must have at least one section");return e.body},e.prototype.listParagraphs=function(){var e,t,r=[];try{for(var n=dB(this.sectionsInstance.asArray()),i=n.next();!i.done;i=n.next())for(var o=i.value.body.listParagraphs(),a=0;a<o.length;a+=1)r.push(o[a])}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},e.prototype.listBlocks=function(){var e,t,r=[];try{for(var n=dB(this.sectionsInstance.asArray()),i=n.next();!i.done;i=n.next())for(var o=i.value.body.listBlocks(),a=0;a<o.length;a+=1)r.push(o[a])}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},e.prototype.appendBlock=function(e){this.firstSectionBody().appendRawBlock(e)},e.prototype.insertBlockAt=function(e,t){this.firstSectionBody().insertRawBlockAt(e,t)},e.prototype.insertParagraphAtBlockIndex=function(e){var t=new GR(void 0);return this.insertBlockAt(e,{type:"paragraph",paragraph:t}),t},e.prototype.insertParagraph=function(e){return this.firstSectionBody().paragraphs.insert(e)},e.prototype.removeParagraph=function(e){this.firstSectionBody().paragraphs.remove(e)},e.prototype.removeBlockAt=function(e){this.firstSectionBody().removeRawBlockAt(e)},e.prototype.toOpenXml=function(){var e=this,t=this.sectionsInstance.asArray(),r=za(Il(t.map(function(r,n){return{listBlocks:function(){return r.body.listBlocks()},pageSetup:r.internalPageSetupModel(),pageSetupXml:n===t.length-1&&void 0===r.internalPageSetupModel()?e.sectPr:void 0,replaceItems:function(e){r.body.replaceItems(e);for(var t=0;t<e.length;t+=1){var n=e[t];"paragraph"===n.type&&n.paragraph.attach(r.body)}},isLast:n===t.length-1}}))),n=this.bodySectPr();void 0!==n&&r.push(n);var i=[];return void 0!==this.background&&i.push(this.background),i.push(pt("body",{children:r})),pt("document",{attributes:this.rootExtra.attributes,namespaceDeclarations:this.rootExtra.namespaceDeclarations,children:i})},e.prototype.preservedBackground=function(){return this.background},e.prototype.bodySectPr=function(){if(void 0!==this.finalSectionModel)return this.finalSectionModel.toOpenXml();var e=this.sectionsInstance.asArray(),t=e[e.length-1],r=null==t?void 0:t.internalPageSetupModel();return void 0!==r?r.toOpenXml():this.sectPr},e.prototype.replaceBodySectPr=function(e){this.finalSectionModel=void 0,this.sectPr=e;var t=this.sectionsInstance.asArray(),r=t[t.length-1];void 0!==r&&r.setPageSetup(void 0)},e.prototype.finalSectionPropertiesModel=function(){if(void 0!==this.finalSectionModel)return this.finalSectionModel;var e=this.sectionsInstance.asArray(),t=e[e.length-1];return null==t?void 0:t.internalPageSetupModel()},e.prototype.replaceFinalSectionPropertiesModel=function(e){this.finalSectionModel=e,void 0!==e&&(this.sectPr=void 0);var t=this.sectionsInstance.asArray(),r=t[t.length-1];void 0!==r&&r.setPageSetup(e),void 0!==e&&gl(e,this)},e.prototype.featurePart=function(e){return this.featureParts.get(e)},e.prototype.setFeaturePart=function(e,t){this.featureParts.set(e,t)},e.prototype.opcPackage=function(){return this.pkg},e.prototype.saveSync=function(e){var t=this.saveSyncBytes();return null!=e&&"base64"===e.format?zl(t):t},e.prototype.saveSyncBytes=function(){var e,t;Ut(this);var r=xe(this.pkg),n=this.pkg,i=new Map,o=new Map,a=new Map;try{for(var l=dB(this.featureParts),s=l.next();!s.done;s=l.next()){var u=hB(s.value,2),c=u[0],d=u[1];Cr(d)?o.set(c,d):xr(d)?a.set(c,d):i.set(c,d)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}n=Nt(n=Qe(n=at(n,r,o),r,i),a);var h=y(this.toOpenXml());return n=De(n,r,pB.encode(h)),this.pkg=n,Te(n)},e.prototype.save=function(e){return uB(this,void 0,void 0,function(){var t;return cB(this,function(r){switch(r.label){case 0:return t=this.saveSyncBytes(),void 0===e?[2,t]:"object"==typeof e&&"base64"===e.format?[2,zl(t)]:[4,Ll(e,t)];case 1:return r.sent(),[2]}})})},e}(),yB=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},gB=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(yB(arguments[t]));return e},bB=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},wB=Be("bookmarks"),PB=["id","name","colFirst","colLast"],SB=function(){function e(e,t,r){$l(t),this.bookmarkIdValue=e,this.nameValue=t,this.firstColumnValue=null==r?void 0:r.firstColumn,this.lastColumnValue=null==r?void 0:r.lastColumn,this.residual=void 0!==(null==r?void 0:r.residualAttributes)?gB(r.residualAttributes):[]}return Object.defineProperty(e.prototype,"bookmarkId",{get:function(){return this.bookmarkIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.nameValue},set:function(e){$l(e),this.nameValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstColumn",{get:function(){return this.firstColumnValue},set:function(e){void 0!==e&&Ql(e,"firstColumn"),this.firstColumnValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastColumn",{get:function(){return this.lastColumnValue},set:function(e){void 0!==e&&Ql(e,"lastColumn"),this.lastColumnValue=e},enumerable:!0,configurable:!0}),e.prototype.setBookmarkId=function(e){this.bookmarkIdValue=e},e.prototype.isPendingBookmarkId=function(){return this.bookmarkIdValue<0},e.prototype.residualAttributes=function(){return this.residual},e.prototype.releaseContent=function(){},e.prototype.toOpenXml=function(){var e=[ht("id",String(this.bookmarkIdValue)),ht("name",this.nameValue)];return void 0!==this.firstColumnValue&&e.push(ht("colFirst",String(this.firstColumnValue))),void 0!==this.lastColumnValue&&e.push(ht("colLast",String(this.lastColumnValue))),e.push.apply(e,gB(this.residual)),pt("bookmarkStart",{attributes:e})},e}(),xB=function(){function e(e,t){this.bookmarkIdValue=e,this.nameValue=void 0!==t?t:""}return Object.defineProperty(e.prototype,"bookmarkId",{get:function(){return this.bookmarkIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.nameValue},set:function(e){e.length>0&&$l(e),this.nameValue=e},enumerable:!0,configurable:!0}),e.prototype.setBookmarkId=function(e){this.bookmarkIdValue=e},e.prototype.isPendingBookmarkId=function(){return this.bookmarkIdValue<0},e.prototype.releaseContent=function(){},e.prototype.toOpenXml=function(){return pt("bookmarkEnd",{attributes:[ht("id",String(this.bookmarkIdValue))]})},e}(),CB=function(){function e(e,t){this.startMarkerValue=e,this.endMarkerValue=t,0===this.endMarkerValue.name.length&&e.name.length>0&&(this.endMarkerValue.name=e.name)}return Object.defineProperty(e.prototype,"name",{get:function(){return this.startMarkerValue.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bookmarkStart",{get:function(){return this.startMarkerValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bookmarkEnd",{get:function(){return this.endMarkerValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstColumn",{get:function(){return this.startMarkerValue.firstColumn},set:function(e){this.startMarkerValue.firstColumn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastColumn",{get:function(){return this.startMarkerValue.lastColumn},set:function(e){this.startMarkerValue.lastColumn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bookmarkId",{get:function(){return this.startMarkerValue.bookmarkId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startMarker",{get:function(){return this.startMarkerValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endMarker",{get:function(){return this.endMarkerValue},enumerable:!0,configurable:!0}),e}(),IB=new WeakMap,VB=function(){function e(e){this.cachedLength=0,this.document=e}return Object.defineProperty(e.prototype,"count",{get:function(){return this.rebuildIndexProperties(),this.cachedLength},enumerable:!0,configurable:!0}),e.prototype.itemAt=function(e){return us(this.document)[e]},e.prototype.findByName=function(e){return ds(this.document,e)},e.prototype.remove=function(e){fs(this.document,e),this.rebuildIndexProperties()},e.prototype.removeAt=function(e){var t=us(this.document);if(e<0||e>=t.length)throw new RangeError("Bookmark index "+String(e)+" is out of range");fs(this.document,t[e]),this.rebuildIndexProperties()},e.prototype.clear=function(){for(var e=us(this.document).slice(),t=0;t<e.length;t+=1)fs(this.document,e[t]);this.rebuildIndexProperties()},e.prototype[Symbol.iterator]=function(){var e=us(this.document).slice(),t=0;return{next:function(){if(t>=e.length)return{done:!0,value:void 0};var r=e[t];return t+=1,{done:!1,value:r}}}},e.prototype.rebuildIndexProperties=function(){for(var e=us(this.document),t=e.length,r=this.cachedLength,n=r>t?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t},e}(),TB=new WeakMap;Object.defineProperty(mB.prototype,"bookmarks",{configurable:!0,enumerable:!1,get:function(){return ps(this)}});var kB=!1;GR.prototype.appendBookmarkStart=function(e){$l(e);var t=ls(this.owningDocument()),r=new SB(t,e);return this.appendFeatureInline(wB,r),r},GR.prototype.appendBookmarkEnd=function(e){var t=new xB(e.bookmarkId,e.name);return this.appendFeatureInline(wB,t),t},GR.prototype.appendBookmark=function(e,t){$l(e);var r=ls(this.owningDocument()),n=new SB(r,e);this.appendFeatureInline(wB,n);var i=null==t?void 0:t.text;void 0!==i&&i.length>0&&this.appendText(i);var o=new xB(r,e);return this.appendFeatureInline(wB,o),new CB(n,o)},Qt(function(){ms()}),ms();var FB=function(){return(FB=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},DB=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},OB="http://schemas.microsoft.com/office/2011/relationships/commentsExtended",NB="http://schemas.microsoft.com/office/2011/relationships/people",AB="http://schemas.microsoft.com/office/2016/09/relationships/commentsIds",EB="http://schemas.microsoft.com/office/2018/08/relationships/commentsExtensible",LB="http://schemas.microsoft.com/office/word/2012/wordml",RB="http://schemas.microsoft.com/office/word/2016/wordml/cid",BB="http://schemas.microsoft.com/office/word/2018/wordml/cex",_B=new TextDecoder("utf-8"),jB={extendedEntryCount:0,extendedEntries:[],peopleCount:0,peopleAuthors:[],idsEntryCount:0,extensibleEntryCount:0},MB={extended:void 0,people:void 0,ids:void 0,extensible:void 0},zB=function(){function e(e){this.metadata=e}return e.prototype.extendedPresent=function(){return void 0!==this.metadata.extended},e.prototype.extendedEntryCount=function(){var e;return e=null==this.metadata.extended?void 0:this.metadata.extended.extendedEntryCount,null!=e?e:0},e.prototype.extendedEntries=function(){var e;return e=null==this.metadata.extended?void 0:this.metadata.extended.extendedEntries,null!=e?e:[]},e.prototype.peoplePresent=function(){return void 0!==this.metadata.people},e.prototype.peopleCount=function(){var e;return e=null==this.metadata.people?void 0:this.metadata.people.peopleCount,null!=e?e:0},e.prototype.peopleAuthors=function(){var e;return e=null==this.metadata.people?void 0:this.metadata.people.peopleAuthors,null!=e?e:[]},e.prototype.idsPresent=function(){return void 0!==this.metadata.ids},e.prototype.idsEntryCount=function(){var e;return e=null==this.metadata.ids?void 0:this.metadata.ids.idsEntryCount,null!=e?e:0},e.prototype.extensiblePresent=function(){return void 0!==this.metadata.extensible},e.prototype.extensibleEntryCount=function(){var e;return e=null==this.metadata.extensible?void 0:this.metadata.extensible.extensibleEntryCount,null!=e?e:0},e}(),UB=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),HB=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},WB=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},GB=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(WB(arguments[t]));return e},qB=Be("content-controls"),XB="http://schemas.microsoft.com/office/word/2010/wordml",YB="http://schemas.microsoft.com/office/word/2012/wordml",ZB="w14",KB="w15",JB="Segoe UI Symbol",$B="2612",QB="2610",e_={RichText:"richText",Text:"plainText",Picture:"picture",ComboBox:"comboBox",DropDownList:"dropDownList",Date:"date",CheckBox:"checkbox"},t_={BoundingBox:"boundingBox",Tags:"tags",Hidden:"hidden"},r_={Gregorian:"gregorian",Hijri:"hijri",Hebrew:"hebrew",Taiwan:"taiwan",Japan:"japan",Thai:"thai",Korea:"korea",Saka:"saka",GregorianArabic:"gregorianArabic",GregorianMiddleEastFrench:"gregorianMiddleEastFrench",GregorianTransliteratedEnglish:"gregorianTransliteratedEnglish",GregorianTransliteratedFrench:"gregorianTransliteratedFrench",GregorianUsLocale:"gregorianUsLocale"},n_={DateStorageDate:"date",DateStorageDateTime:"dateTime",DateStorageText:"text"},i_=function(){function e(e){this.fontValue=null!=e?e.font:void 0,this.valueValue=null!=e?e.value:void 0,this.onChange=void 0}return e.prototype.bind=function(e){this.onChange=e},e.prototype.dirty=function(){void 0!==this.onChange&&this.onChange()},Object.defineProperty(e.prototype,"font",{get:function(){return this.fontValue},set:function(e){this.fontValue=e,this.dirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.valueValue},set:function(e){this.valueValue=e,this.dirty()},enumerable:!0,configurable:!0}),e}(),o_=function(){function e(){this.displayTextValue=void 0,this.valueValue=void 0,this.onChange=void 0}return e.prototype.bind=function(e){this.onChange=e},e.prototype.dirty=function(){void 0!==this.onChange&&this.onChange()},Object.defineProperty(e.prototype,"displayText",{get:function(){return this.displayTextValue},set:function(e){this.displayTextValue=e,this.dirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.valueValue},set:function(e){this.valueValue=e,this.dirty()},enumerable:!0,configurable:!0}),e}(),a_=function(){function e(e){this.items=null!=e?e.slice():[],this.onChange=void 0}return e.prototype.bind=function(e){this.onChange=e;for(var t=0;t<this.items.length;t++)this.items[t].bind(e)},e.prototype.dirty=function(){void 0!==this.onChange&&this.onChange()},Object.defineProperty(e.prototype,"count",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),e.prototype.getItem=function(e){if(e<0||e>=this.items.length)throw new RangeError("List item index out of range");return this.items[e]},e.prototype.toArray=function(){return this.items.slice()},e.prototype.add=function(e){void 0!==this.onChange&&e.bind(this.onChange),this.items.push(e),this.dirty()},e.prototype.clear=function(){this.items.length=0,this.dirty()},e.prototype.asReadonly=function(){return this.items},e}(),l_=function(){function e(e){var t=this,r=null!=e?e:{};this.tagValue=r.tag,this.titleValue=r.title,this.idValue=r.id;var n=void 0!==r.lock?Ts(r.lock):{lockContentControl:!0===r.lockContentControl,lockContents:!0===r.lockContents};this.lockContentControlValue=n.lockContentControl,this.lockContentsValue=n.lockContents,this.placeholderDocPartValue=r.placeholderDocPart,this.dataBindingValue=r.dataBinding,this.typeValue=r.type,this.temporaryValue=!0===r.temporary,this.appearanceValue=r.appearance,this.colorValue=r.color,this.themeColorValue=r.themeColor,this.themeTintValue=r.themeTint,this.themeShadeValue=r.themeShade,this.isCheckedValue=!0===r.isChecked,this.checkedStateValue=null!=r.checkedState?r.checkedState:new i_("checkbox"===r.type?{font:JB,value:$B}:void 0),this.uncheckedStateValue=null!=r.uncheckedState?r.uncheckedState:new i_("checkbox"===r.type?{font:JB,value:QB}:void 0),this.fullDateValue=r.fullDate,this.dateDisplayFormatValue=r.dateDisplayFormat,this.dateDisplayLocaleValue=r.dateDisplayLocale,this.dateStorageFormatValue=r.dateStorageFormat,this.dateCalendarTypeValue=r.dateCalendarType,this.contentControlListItemsValue=new a_(r.listItems),this.lastValueValue=r.lastValue,this.multilineValue=r.multiline,this.residualChildrenValue=null!=r.residualChildren?r.residualChildren:[],this.leftoverAttributesValue=null!=r.leftoverAttributes?r.leftoverAttributes:[],this.namespaceDeclarationsValue=null!=r.namespaceDeclarations?r.namespaceDeclarations:[],this.owner=void 0;var i=function(){t.markDirty()};this.checkedStateValue.bind(i),this.uncheckedStateValue.bind(i),this.contentControlListItemsValue.bind(i)}return e.prototype.bindOwner=function(e){this.owner=e},e.prototype.markDirty=function(){void 0!==this.owner&&this.owner.markSdtPrDirty()},e.prototype.clearPayloadsForType=function(e){"checkbox"!==e&&(this.isCheckedValue=!1,this.checkedStateValue.font=void 0,this.checkedStateValue.value=void 0,this.uncheckedStateValue.font=void 0,this.uncheckedStateValue.value=void 0),"date"!==e&&(this.fullDateValue=void 0,this.dateDisplayFormatValue=void 0,this.dateDisplayLocaleValue=void 0,this.dateStorageFormatValue=void 0,this.dateCalendarTypeValue=void 0),"comboBox"!==e&&"dropDownList"!==e&&(this.contentControlListItemsValue.clear(),this.lastValueValue=void 0),"plainText"!==e&&(this.multilineValue=void 0)},Object.defineProperty(e.prototype,"tag",{get:function(){return this.tagValue},set:function(e){this.tagValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.titleValue},set:function(e){this.titleValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.idValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockContentControl",{get:function(){return this.lockContentControlValue},set:function(e){this.lockContentControlValue=!0===e,this.lockContentControlValue&&(this.temporaryValue=!1),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockContents",{get:function(){return this.lockContentsValue},set:function(e){this.lockContentsValue=!0===e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockWire",{get:function(){return ks(this.lockContentControlValue,this.lockContentsValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholderDocPart",{get:function(){return this.placeholderDocPartValue},set:function(e){this.placeholderDocPartValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataBinding",{get:function(){return this.dataBindingValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.typeValue},set:function(e){Xs(e),this.typeValue=e,this.clearPayloadsForType(e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isTemporary",{get:function(){return this.temporaryValue},set:function(e){this.temporaryValue=!0===e,this.temporaryValue&&(this.lockContentControlValue=!1),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"temporary",{get:function(){return this.temporaryValue},set:function(e){this.isTemporary=!0===e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"appearance",{get:function(){return this.appearanceValue},set:function(e){this.appearanceValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.colorValue},set:function(e){this.colorValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"themeColor",{get:function(){return this.themeColorValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"themeTint",{get:function(){return this.themeTintValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"themeShade",{get:function(){return this.themeShadeValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isChecked",{get:function(){return this.isCheckedValue},set:function(e){this.isCheckedValue=!0===e,"checkbox"!==this.typeValue&&(this.typeValue="checkbox",this.clearPayloadsForType("checkbox"),this.isCheckedValue=!0===e),this.markDirty(),void 0!==this.owner&&this.owner.synchronizeCheckboxContent()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checkedState",{get:function(){return this.checkedStateValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uncheckedState",{get:function(){return this.uncheckedStateValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullDate",{get:function(){return this.fullDateValue},set:function(e){this.fullDateValue=e,void 0!==e&&"date"!==this.typeValue&&(this.typeValue="date",this.clearPayloadsForType("date"),this.fullDateValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateDisplayFormat",{get:function(){return this.dateDisplayFormatValue},set:function(e){this.dateDisplayFormatValue=e,void 0!==e&&"date"!==this.typeValue&&(this.typeValue="date",this.clearPayloadsForType("date"),this.dateDisplayFormatValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateDisplayLocale",{get:function(){return this.dateDisplayLocaleValue},set:function(e){this.dateDisplayLocaleValue=e,void 0!==e&&"date"!==this.typeValue&&(this.typeValue="date",this.clearPayloadsForType("date"),this.dateDisplayLocaleValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateStorageFormat",{get:function(){return this.dateStorageFormatValue},set:function(e){this.dateStorageFormatValue=e,void 0!==e&&"date"!==this.typeValue&&(this.typeValue="date",this.clearPayloadsForType("date"),this.dateStorageFormatValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateCalendarType",{get:function(){return this.dateCalendarTypeValue},set:function(e){this.dateCalendarTypeValue=e,void 0!==e&&"date"!==this.typeValue&&(this.typeValue="date",this.clearPayloadsForType("date"),this.dateCalendarTypeValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentControlListItems",{get:function(){return this.contentControlListItemsValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastValue",{get:function(){return this.lastValueValue},set:function(e){this.lastValueValue=e,void 0!==e&&"comboBox"!==this.typeValue&&"dropDownList"!==this.typeValue&&(this.typeValue="dropDownList",this.clearPayloadsForType(this.typeValue),this.lastValueValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiline",{get:function(){return this.multilineValue},set:function(e){this.multilineValue=e,void 0!==e&&(this.typeValue="plainText",this.clearPayloadsForType("plainText"),this.multilineValue=e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"residualChildren",{get:function(){return this.residualChildrenValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftoverAttributes",{get:function(){return this.leftoverAttributesValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"namespaceDeclarations",{get:function(){return this.namespaceDeclarationsValue},enumerable:!0,configurable:!0}),e}(),s_=new Map([["comboBox","comboBox"],["date","date"],["dropDownList","dropDownList"],["picture","picture"],["richText","richText"],["text","plainText"]]),u_=new Map([["comboBox","comboBox"],["date","date"],["dropDownList","dropDownList"],["picture","picture"],["richText","richText"],["plainText","text"],["checkbox","checkbox"]]),c_=new Set(["equation","docPartObj","docPartList","citation","group","bibliography"]),d_=new Set(["comboBox","date","dropDownList","picture","richText","plainText","checkbox"]),h_={assertAttachedItem:function(){}},f_=function(){function e(e,t,r,n,i){void 0===i&&(i=!1),this.propertiesValue=e,this.sdtPr=t,this.sdtEndPrRaw=r,this.preservedXml=n,this.documentOwner=void 0,this.rebuildSdtPr=i,this.rebuildSdtEndPr=!1,this.breakFormatDirty=!1,this.breakCharacterFormatInstance=new RL(this),void 0!==r&&this.hydrateBreakCharacterFormat(r),void 0!==this.propertiesValue&&this.propertiesValue.bindOwner(this)}return Object.defineProperty(e.prototype,"contentControlProperties",{get:function(){return this.ensureProperties()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.propertiesValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"breakCharacterFormat",{get:function(){return this.breakCharacterFormatInstance},enumerable:!0,configurable:!0}),e.prototype.notifyCharacterFormatMutation=function(){this.breakFormatDirty=!0,this.rebuildSdtEndPr=!0},e.prototype.hydrateBreakCharacterFormat=function(e){var t,r;try{for(var n=HB(ct(e)),i=n.next();!i.done;i=n.next()){var o=i.value;if(ut(o,"rPr")){var a=qn(o);return this.breakCharacterFormatInstance.hydrate(a),this.breakFormatDirty=!1,void(this.rebuildSdtEndPr=!1)}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.prototype.serializeSdtEndPr=function(){if(this.rebuildSdtEndPr||this.breakFormatDirty){var e=this.breakCharacterFormatInstance.buildRPrChildren();if(0===e.length&&void 0===this.sdtEndPrRaw)return;return pt("sdtEndPr",{children:[pt("rPr",{children:e})]})}return this.sdtEndPrRaw},e.prototype.markSdtPrDirty=function(){this.rebuildSdtPr=!0},e.prototype.synchronizeCheckboxContent=function(){},e.prototype.ensureProperties=function(){return void 0===this.propertiesValue&&(this.propertiesValue=new l_({}),this.propertiesValue.bindOwner(this)),this.propertiesValue},Object.defineProperty(e.prototype,"title",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.title},set:function(e){this.ensureProperties().title=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tag",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.tag},set:function(e){this.ensureProperties().tag=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockContentControl",{get:function(){return this.ensureProperties().lockContentControl},set:function(e){this.ensureProperties().lockContentControl=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockContents",{get:function(){return this.ensureProperties().lockContents},set:function(e){this.ensureProperties().lockContents=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholderText",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.placeholderDocPart},set:function(e){this.ensureProperties().placeholderDocPart=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.type},set:function(e){this.ensureProperties().type=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isTemporary",{get:function(){return this.ensureProperties().isTemporary},set:function(e){this.ensureProperties().isTemporary=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"appearance",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.appearance},set:function(e){this.ensureProperties().appearance=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.color},set:function(e){this.ensureProperties().color=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isChecked",{get:function(){return this.ensureProperties().isChecked},set:function(e){this.ensureProperties().isChecked=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checkedState",{get:function(){return this.ensureProperties().checkedState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uncheckedState",{get:function(){return this.ensureProperties().uncheckedState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullDate",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.fullDate},set:function(e){this.ensureProperties().fullDate=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateDisplayFormat",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.dateDisplayFormat},set:function(e){this.ensureProperties().dateDisplayFormat=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateDisplayLocale",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.dateDisplayLocale},set:function(e){this.ensureProperties().dateDisplayLocale=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateStorageFormat",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.dateStorageFormat},set:function(e){this.ensureProperties().dateStorageFormat=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateCalendarType",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.dateCalendarType},set:function(e){this.ensureProperties().dateCalendarType=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentControlListItems",{get:function(){return this.ensureProperties().contentControlListItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastValue",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.lastValue},set:function(e){this.ensureProperties().lastValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiline",{get:function(){return null==this.propertiesValue?void 0:this.propertiesValue.multiline},set:function(e){this.ensureProperties().multiline=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"blockContentControl",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inlineContentControl",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.releaseContent=function(){},e.prototype.bindDocument=function(e){this.documentOwner=e},e.prototype.owningDocument=function(){if(void 0===this.documentOwner)throw new iA("This content control is not bound to a document");return this.documentOwner},e.prototype.buildSdtShell=function(e){if(void 0!==this.preservedXml)return this.preservedXml;var t=[];this.rebuildSdtPr&&void 0!==this.propertiesValue?t.push(su(this.propertiesValue)):void 0!==this.sdtPr?t.push(this.sdtPr):void 0!==this.propertiesValue&&t.push(su(this.propertiesValue));var r=this.serializeSdtEndPr();return void 0!==r&&t.push(r),t.push(pt("sdtContent",{children:e})),pt("sdt",{children:t})},e.prototype.toOpenXml=function(){return this.buildSdtShell([])},e}(),p_=function(e){function t(t,r,n,i,o,a,l){var s,u;void 0===a&&(a=!1);var c=e.call(this,t,r,n,o,a)||this;c.isBlockLevel=!0,c.bodyInstance=new rB(l,null!=i?i:[]);try{for(var d=HB(c.bodyInstance.rawBlocks()),h=d.next();!h.done;h=d.next()){var f=h.value;"paragraph"===f.type&&f.paragraph.attach(c)}}catch(e){s={error:e}}finally{try{h&&!h.done&&(u=d.return)&&u.call(d)}finally{if(s)throw s.error}}return c}return UB(t,e),Object.defineProperty(t.prototype,"body",{get:function(){return this.bodyInstance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"blockContentControl",{get:function(){var e,t,r=[];try{for(var n=HB(this.bodyInstance.rawBlocks()),i=n.next();!i.done;i=n.next()){var o=Ga(i.value);void 0!==o&&r.push(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},enumerable:!0,configurable:!0}),t.prototype.releaseContent=function(){cu(this.bodyInstance.rawBlocks())},t.prototype.bindDocument=function(t){var r,n;e.prototype.bindDocument.call(this,t),this.bodyInstance.setOwningDocument(t);try{for(var i=HB(this.bodyInstance.rawBlocks()),o=i.next();!o.done;o=i.next()){var a=o.value;"paragraph"===a.type&&a.paragraph.attach(this),"feature"===a.type&&a.value instanceof f_&&a.value.bindDocument(t)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},t.prototype.assertAttachedParagraph=function(e){var t,r,n=!1;try{for(var i=HB(this.bodyInstance.rawBlocks()),o=i.next();!o.done;o=i.next()){var a=o.value;if("paragraph"===a.type&&a.paragraph===e){n=!0;break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}if(!n)throw new iA("Paragraph is not in this content control")},t.prototype.toOpenXml=function(){return this.buildSdtShell(za(this.bodyInstance.rawBlocks()))},t}(f_),v_=function(t){function r(r,n,i,o,a,l){void 0===l&&(l=!1);var s=t.call(this,r,n,i,a,l)||this;return s.entityType=e.EntityType.InlineContentControl,s.paragraphItemsInstance=new HR(s),s.itemOwner=void 0,void 0!==o&&o.length>0&&s.paragraphItemsInstance.hydrate(o),s}return UB(r,t),Object.defineProperty(r.prototype,"paragraphItems",{get:function(){return this.paragraphItemsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"inlineContentControl",{get:function(){var e,t,r=[];try{for(var n=HB(this.paragraphItemsInstance),i=n.next();!i.done;i=n.next()){var o=i.value;o instanceof MR?r.push({type:"textRange",run:o}):o instanceof _R?r.push({type:"feature",featureId:o.featureId,value:o.value}):o instanceof jR?r.push({type:"opaque",xml:o.xml}):"function"==typeof o.toOpenXml&&r.push({type:"opaque",xml:o.toOpenXml()})}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"owner",{get:function(){return this.itemOwner},enumerable:!0,configurable:!0}),r.prototype.attach=function(e){this.itemOwner=e,this.paragraphItemsInstance.reattachAll()},r.prototype.detach=function(){this.paragraphItemsInstance.detachAll(),this.itemOwner=void 0},r.prototype.assertAttachedItem=function(e){if(!this.paragraphItemsInstance.containsIdentity(e))throw new iA("Paragraph item is not in this content control")},r.prototype.assertMutable=function(){},r.prototype.releaseContent=function(){var e,t;try{for(var n=HB(this.paragraphItemsInstance),i=n.next();!i.done;i=n.next()){var o=i.value;o instanceof r?o.releaseContent():o instanceof _R&&o.value instanceof f_&&o.value.releaseContent()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},r.prototype.synchronizeCheckboxContent=function(){var e=this.properties;if(void 0!==e&&"checkbox"===e.type){var t=e.isChecked?e.checkedState:e.uncheckedState,r=e.isChecked?"☒":"☐";if(void 0!==t.value&&/^[0-9A-Fa-f]{1,6}$/.test(t.value)){var n=Number.parseInt(t.value,16);n<=1114111&&(r=String.fromCodePoint(n))}var i=GB(this.paragraphItemsInstance),o=1===i.length?i[0]:void 0;if(o instanceof MR)return void(o.text=r);if(0===i.length)try{var a=new MR(this.owningDocument());a.text=r,this.paragraphItemsInstance.add(a)}catch(e){}}},r.prototype.bindDocument=function(e){var r,n;t.prototype.bindDocument.call(this,e);try{for(var i=HB(this.paragraphItemsInstance),o=i.next();!o.done;o=i.next()){var a=o.value;a instanceof f_?a.bindDocument(e):a instanceof _R&&a.value instanceof f_&&a.value.bindDocument(e)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}this.synchronizeCheckboxContent()},r.prototype.toOpenXml=function(){return this.buildSdtShell(ka(GB(this.paragraphItemsInstance)))},r}(f_);Object.defineProperty(rB.prototype,"addBlockContentControl",{value:function(e){var t=mu(e);return this.appendRawBlock({type:"feature",featureId:qB,value:t}),t.bindDocument(this.owningDocument()),t},writable:!0,configurable:!0}),Object.defineProperty(mB.prototype,"addBlockContentControl",{value:function(e){return this.firstSectionBody().addBlockContentControl(e)},writable:!0,configurable:!0}),Object.defineProperty(GR.prototype,"appendInlineContentControl",{value:function(e){var t=yu(e);this.appendFeatureInline(qB,t);try{t.bindDocument(this.owningDocument())}catch(e){}return t},writable:!0,configurable:!0});var m_=!1,y_=qB;Qt(function(){bu()}),bu();var g_=function(){return(g_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},b_=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&(r[n[i]]=e[n[i]]);return r},w_=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},P_=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},S_=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(P_(arguments[t]));return e},x_=Be("comments"),C_=cA,I_=new TextDecoder("utf-8"),V_=new TextEncoder,T_="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",k_="application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml",F_=[T_,"http://purl.oclc.org/ooxml/officeDocument/relationships/comments"],D_={assertAttachedParagraph:function(){},owningDocument:function(){throw new iA("Comment content is not in a WordDocument")}},O_={assertAttachedItem:function(){}},N_=function(){function e(e){this.commentId=e}return e.prototype.releaseContent=function(){},e.prototype.toOpenXml=function(){return pt("commentRangeStart",{attributes:[ht("id",String(this.commentId))]})},e}(),A_=function(){function e(e){this.commentId=e}return e.prototype.releaseContent=function(){},e.prototype.toOpenXml=function(){return pt("commentRangeEnd",{attributes:[ht("id",String(this.commentId))]})},e}(),E_=function(){function e(e){this.commentId=e}return e.prototype.toOpenXml=function(){return pt("commentReference",{attributes:[ht("id",String(this.commentId))]})},e}(),L_=function(){function e(e,t,r,n,i){this.commentId=e,this.author=t,this.date="string"==typeof r?Nu(r):r,this.anchorRuns=n,this.reference=i}return e}(),R_=function(){function e(e,t){this.WordDocument=e,this.id=t}return Object.defineProperty(e.prototype,"commentId",{get:function(){return this.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"author",{get:function(){var e,t;return e=oc(this.WordDocument).entryFor(this.id),t=null==e?void 0:e.author,null!=t?t:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"initials",{get:function(){var e;return e=oc(this.WordDocument).entryFor(this.id),null==e?void 0:e.initials},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"date",{get:function(){var e;return Nu((e=oc(this.WordDocument).entryFor(this.id),null==e?void 0:e.date))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paragraphs",{get:function(){return oc(this.WordDocument).paragraphsFor(this.id)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ancestor",{get:function(){return oc(this.WordDocument).ancestorFor(this.WordDocument,this.id)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"done",{get:function(){var e,t;return e=oc(this.WordDocument).entryFor(this.id),null!=(t=null==e?void 0:e.done)&&t},enumerable:!0,configurable:!0}),e.prototype.captureReferenceRunFormatting=function(e){this.referenceRunFormatting=Tu(e)},e.prototype.applyDefaultReferenceRunStyle=function(){void 0===this.referenceRunFormatting&&(this.referenceRunFormatting=ku("CommentReference"))},e.prototype.releaseContent=function(){},e.prototype.toOpenXml=function(){var e=null!=this.referenceRunFormatting?this.referenceRunFormatting:ku();return Fu(this.id,e)},e}(),B_=function(){function e(e,t){this.commentViews=new Map,this.state=e,this.extensionParts=t}return e.prototype.extensions=function(){return this.extensionParts},e.prototype.elevateMainStoryReferences=function(e){var t,r,n=new Set;try{for(var i=w_(e.listParagraphs()),o=i.next();!o.done;o=i.next())Hu(e,o.value,this,n)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},e.prototype.afterMainDocumentLoad=function(e){this.elevateMainStoryReferences(e)},e.prototype.commentInstanceFor=function(e,t){var r=this.commentViews.get(t);if(void 0!==r)return r;var n=new R_(e,t);return this.commentViews.set(t,n),n},e.prototype.isDirty=function(){return!0===(null==this.state?void 0:this.state.dirty)||void 0!==(null==this.state?void 0:this.state.pendingRelationship)},e.prototype.applyToPackage=function(e,t){var r=this.state;if(void 0===r||!r.dirty&&void 0===r.pendingRelationship)return e;var n=Ru(r),i=null!=r.pendingRelationship?r.pendingRelationship:Fe(e,t).items.find(function(e){return e.id===r.relationshipId}),o=lt(e,t,r.partName,k_,n,i);return r.dirty=!1,r.pendingRelationship=void 0,o},e.prototype.ensurePart=function(e,t){if(void 0!==this.state)return this.state;var r=_u(t),n=ae(e),i={partName:r,relationshipId:n,relationshipType:T_,rootExtra:{attributes:[],namespaceDeclarations:[{prefix:"w",namespaceUri:C_}]},entries:[],dirty:!0,pendingRelationship:{id:n,type:T_,target:Au(r),extraAttributes:[],children:[]}};return this.state=i,i},e.prototype.addEntry=function(e,t,r,n,i){var o=this.state;if(void 0===o)throw new $N("content/unknown-comment","Comments part is not loaded");var a=ju(o.entries,e);return o.entries=S_(o.entries,[{commentId:a,author:t,initials:Lu(i),date:Lu(n),blocks:Du(r),preservedXml:void 0,done:void 0,lastParaId:void 0,parentParaId:void 0}]),o.dirty=!0,a},e.prototype.entryFor=function(e){return(null==this.state?void 0:this.state.entries).find(function(t){return t.commentId===e})},e.prototype.ancestorFor=function(e,t){var r=this.state;if(void 0!==r){var n=r.entries.findIndex(function(e){return e.commentId===t});if(!(n<0)){var i=null==r.entries[n]?void 0:r.entries[n].parentParaId;if(void 0!==i&&0!==i.length)for(var o=n-1;o>=0;o-=1){var a=r.entries[o];if(void 0!==a&&void 0===a.preservedXml&&a.lastParaId===i)return this.commentInstanceFor(e,a.commentId)}}}},e.prototype.commentIds=function(){var e,t;if(void 0===this.state)return[];var r=[];try{for(var n=w_(this.state.entries),i=n.next();!i.done;i=n.next()){var o=i.value;void 0===o.preservedXml&&r.push(o.commentId)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},e.prototype.comments=function(e){var t=this;return this.commentIds().map(function(r){return t.commentInstanceFor(e,r)})},e.prototype.paragraphsFor=function(e){var t,r,n=this.entryFor(e);if(void 0===n||void 0!==n.preservedXml)return[];var i=[];try{for(var o=w_(n.blocks),a=o.next();!a.done;a=o.next()){var l=a.value;"paragraph"===l.type&&i.push(l.paragraph)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},e.prototype.textFor=function(e){var t=this.entryFor(e);if(void 0!==t&&void 0===t.preservedXml)return Ou(t.blocks)},e.prototype.removeEntry=function(e){var t=this.state;if(void 0===t)throw new $N("content/unknown-comment","Comments part is not loaded");var r=t.entries.filter(function(t){return t.commentId!==e});if(r.length===t.entries.length)throw new $N("content/unknown-comment","Comment id "+String(e)+" is not in this WordDocument");t.entries=r,this.commentViews.delete(e),t.dirty=!0},e}(),__=!1,j_=function(){function e(e){this.cachedLength=0,this.document=e}return Object.defineProperty(e.prototype,"count",{get:function(){return this.rebuildIndexProperties(),this.cachedLength},enumerable:!0,configurable:!0}),e.prototype.itemAt=function(e){return oc(this.document).comments(this.document)[e]},e.prototype[Symbol.iterator]=function(){var e=oc(this.document).comments(this.document).slice(),t=0;return{next:function(){if(t>=e.length)return{done:!0,value:void 0};var r=e[t];return t+=1,{done:!1,value:r}}}},e.prototype.rebuildIndexProperties=function(){for(var e=oc(this.document).comments(this.document),t=e.length,r=this.cachedLength,n=r>t?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t},e}(),M_=new WeakMap;Object.defineProperty(mB.prototype,"comments",{configurable:!0,enumerable:!1,get:function(){return ic(this)}}),GR.prototype.appendComment=function(e,t){return gc(this,e,t)},Qt(function(){nc()}),nc();var z_=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},U_=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},H_=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(U_(arguments[t]));return e},W_=Be("custom-xml"),G_=new TextDecoder("utf-8"),q_="http://schemas.openxmlformats.org/officeDocument/2006/customXml",X_=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml","http://purl.oclc.org/ooxml/officeDocument/relationships/customXml"],Y_=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps","http://purl.oclc.org/ooxml/officeDocument/relationships/customXmlProps"],Z_=function(){function e(e,t){this.placeholder=e,this.attributes=t}return e}(),K_={assertAttachedItem:function(){}},J_=function(){function e(e,t,r,n,i,o,a){this.elementName=e,this.uri=t,this.properties=r,this.customXmlPr=n,this.blocks=i,this.inlines=o,this.preservedXml=a}return Object.defineProperty(e.prototype,"blockContent",{get:function(){return this.blocks},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inlineContent",{get:function(){return this.inlines},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstParagraphText",{get:function(){var e,t,r,n;if(void 0!==this.blocks)try{for(var i=z_(this.blocks),o=i.next();!o.done;o=i.next()){var a=o.value;if("paragraph"===a.type)try{for(var l=z_(a.paragraph.items),s=l.next();!s.done;s=l.next()){var u=s.value;if(u instanceof MR&&u.text.length>0)return u.text}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},enumerable:!0,configurable:!0}),e.prototype.releaseContent=function(){void 0!==this.blocks&&Fc(this.blocks),void 0!==this.inlines&&Dc(this.inlines)},e.prototype.toOpenXml=function(){if(void 0!==this.preservedXml)return this.preservedXml;var e=[ht("element",this.elementName)];void 0!==this.uri&&this.uri.length>0&&e.push(ht("uri",this.uri));var t=[];return void 0!==this.customXmlPr&&t.push(this.customXmlPr),void 0!==this.blocks?t.push.apply(t,H_(za(this.blocks))):void 0!==this.inlines&&t.push.apply(t,H_(kc(this.inlines))),pt("customXml",{attributes:e,children:t})},e}(),$_=function(){function e(e,t,r,n,i,o,a){this.partName=e,this.data=t,this.contentType=r,this.itemId=n,this.propertiesPartName=i,this.propertiesData=o,this.propertiesContentType=a}return e}(),Q_=function(){function e(e){this.storageItems=e}return Object.defineProperty(e.prototype,"items",{get:function(){return this.storageItems},enumerable:!0,configurable:!0}),e.prototype.isDirty=function(){return!1},e.prototype.applyToPackage=function(e,t){return e},e}(),ej=!1;Mc();var tj,rj={nil:e.BorderStyle.Nil,none:e.BorderStyle.None,single:e.BorderStyle.Single,thick:e.BorderStyle.Thick,double:e.BorderStyle.Double,dotted:e.BorderStyle.Dotted,dashed:e.BorderStyle.Dashed,dotDash:e.BorderStyle.DotDash,dotDotDash:e.BorderStyle.DotDotDash,triple:e.BorderStyle.Triple,thinThickSmallGap:e.BorderStyle.ThinThickSmallGap,thickThinSmallGap:e.BorderStyle.ThickThinSmallGap,thinThickThinSmallGap:e.BorderStyle.ThinThickThinSmallGap,thinThickMediumGap:e.BorderStyle.ThinThickMediumGap,thickThinMediumGap:e.BorderStyle.ThickThinMediumGap,thinThickThinMediumGap:e.BorderStyle.ThinThickThinMediumGap,thinThickLargeGap:e.BorderStyle.ThinThickLargeGap,thickThinLargeGap:e.BorderStyle.ThickThinLargeGap,thinThickThinLargeGap:e.BorderStyle.ThinThickThinLargeGap,wave:e.BorderStyle.Wave,doubleWave:e.BorderStyle.DoubleWave,dashSmallGap:e.BorderStyle.DashSmallGap,dashDotStroked:e.BorderStyle.DashDotStroked,threeDEmboss:e.BorderStyle.ThreeDEmboss,threeDEngrave:e.BorderStyle.ThreeDEngrave,outset:e.BorderStyle.Outset,inset:e.BorderStyle.Inset},nj=function(){for(var e={},t=Object.keys(rj),r=0;r<t.length;r+=1){var n=t[r];e[rj[n]]=n}return e}(),ij=function(){return(ij=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},oj=["top","bottom","left","right","insideH","insideV"],aj=["top","bottom","left","right"],lj=e.BorderStyle.None,sj=function(){function e(e,t){this.host=e,this.key=t}return e.prototype.current=function(){var e=this.host.readEdge(this.key);return void 0!==e?e:{}},e.prototype.commit=function(e){var t=void 0!==e.style||void 0!==e.color||void 0!==e.size||void 0!==e.space||void 0!==e.shadow;this.host.writeEdge(this.key,t?e:void 0)},e.prototype.styleWireForCommit=function(e){return void 0!==e.style?e.style:"single"},Object.defineProperty(e.prototype,"borderType",{get:function(){var e=this.current().style;if(void 0===e)return lj;var t=qc(e);return void 0!==t?t:lj},set:function(e){if(!Kc(e))throw new RangeError("Unsupported BorderStyle value");var t=this.current();this.commit({style:Xc(e),color:t.color,size:t.size,space:t.space,shadow:t.shadow})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){var e=this.current().color;return void 0!==e?e:"auto"},set:function(e){var t=Jc(e),r=this.current();this.commit({style:this.styleWireForCommit(r),color:t,size:r.size,space:r.space,shadow:r.shadow})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineWidth",{get:function(){var e=this.current().size;return void 0!==e?e/8:0},set:function(e){Zc(e,"Border lineWidth");var t=this.current();this.commit({style:this.styleWireForCommit(t),color:t.color,size:Math.round(8*e),space:t.space,shadow:t.shadow})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shadow",{get:function(){var e=this.current().shadow;return void 0!==e&&e},set:function(e){if("boolean"!=typeof e)throw new RangeError("Border shadow must be a boolean");var t=this.current();this.commit({style:this.styleWireForCommit(t),color:t.color,size:t.size,space:t.space,shadow:e})},enumerable:!0,configurable:!0}),e.prototype.readSpacePoints=function(){var e=this.current().space;return void 0!==e?e:0},e.prototype.writeSpacePoints=function(e){Zc(e,"Borders space");var t=this.current();this.commit({style:this.styleWireForCommit(t),color:t.color,size:t.size,space:e,shadow:t.shadow})},e}(),uj=function(){function e(e,t){void 0===t&&(t=!0),this.host=e,this.includeInside=t,this.topBorder=new sj(e,"top"),this.bottomBorder=new sj(e,"bottom"),this.leftBorder=new sj(e,"left"),this.rightBorder=new sj(e,"right"),this.horizontalBorder=new sj(e,"insideH"),this.verticalBorder=new sj(e,"insideV")}return Object.defineProperty(e.prototype,"top",{get:function(){return this.topBorder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.bottomBorder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.leftBorder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.rightBorder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontal",{get:function(){return this.horizontalBorder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"vertical",{get:function(){return this.verticalBorder},enumerable:!0,configurable:!0}),e.prototype.aggregateKeys=function(){return this.includeInside?oj:aj},e.prototype.edgeAt=function(e){return new sj(this.host,e)},Object.defineProperty(e.prototype,"borderType",{get:function(){for(var e,t=this.aggregateKeys(),r=!1,n=0;n<t.length;n+=1){var i=this.edgeAt(t[n]).borderType;if(r){if(i!==e)return lj}else e=i,r=!0}return void 0!==e?e:lj},set:function(e){if(!Kc(e))throw new RangeError("Unsupported BorderStyle value");for(var t=this.aggregateKeys(),r=0;r<t.length;r+=1)this.edgeAt(t[r]).borderType=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){for(var e,t=this.aggregateKeys(),r=!1,n=0;n<t.length;n+=1){var i=this.edgeAt(t[n]).color;if(r){if(i!==e)return"auto"}else e=i,r=!0}return void 0!==e?e:"auto"},set:function(e){for(var t=this.aggregateKeys(),r=0;r<t.length;r+=1)this.edgeAt(t[r]).color=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineWidth",{get:function(){for(var e,t=this.aggregateKeys(),r=!1,n=0;n<t.length;n+=1){var i=this.edgeAt(t[n]).lineWidth;if(r){if(i!==e)return 0}else e=i,r=!0}return void 0!==e?e:0},set:function(e){Zc(e,"Borders lineWidth");for(var t=this.aggregateKeys(),r=0;r<t.length;r+=1)this.edgeAt(t[r]).lineWidth=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"space",{get:function(){for(var e,t=this.aggregateKeys(),r=!1,n=0;n<t.length;n+=1){var i=this.edgeAt(t[n]).readSpacePoints();if(r){if(i!==e)return 0}else e=i,r=!0}return void 0!==e?e:0},set:function(e){Zc(e,"Borders space");for(var t=this.aggregateKeys(),r=0;r<t.length;r+=1)this.edgeAt(t[r]).writeSpacePoints(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shadow",{get:function(){for(var e,t=this.aggregateKeys(),r=!1,n=0;n<t.length;n+=1){var i=this.edgeAt(t[n]).shadow;if(r){if(i!==e)return!1}else e=i,r=!0}return void 0!==e&&e},set:function(e){if("boolean"!=typeof e)throw new RangeError("Borders shadow must be a boolean");for(var t=this.aggregateKeys(),r=0;r<t.length;r+=1)this.edgeAt(t[r]).shadow=e},enumerable:!0,configurable:!0}),e}(),cj=function(){function e(e){this.host=e,this.indexedCount=0,this.rebuildIndexProperties()}return Object.defineProperty(e.prototype,"count",{get:function(){return this.host.listRows().length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this.count},enumerable:!0,configurable:!0}),e.prototype.syncFromHost=function(){this.rebuildIndexProperties()},e.prototype.add=function(){return this.insert(this.count)},e.prototype.insert=function(e){var t=this.host.listRows().slice();if(e<0||e>t.length)throw new RangeError("Row index "+String(e)+" is out of range");var r=this.host.createEmptyRow();return t.splice(e,0,r),this.host.replaceRows(t),this.host.bindRow(r),this.rebuildIndexProperties(),r},e.prototype.remove=function(e){var t=this.host.listRows().indexOf(e);if(-1===t)throw new iA("This row is no longer in its table");this.removeAt(t)},e.prototype.removeAt=function(e){var t=this.host.listRows().slice();if(e<0||e>=t.length)throw new RangeError("Row index "+String(e)+" is out of range");if(t.length<=this.host.minRowCount())throw new iA("A table must retain at least one row");t.splice(e,1),this.host.replaceRows(t),this.rebuildIndexProperties()},e.prototype.get=function(e){var t=this.host.listRows();if(e<0||e>=t.length)throw new RangeError("Row index "+String(e)+" is out of range");return t[e]},e.prototype.indexOf=function(e){return this.host.listRows().indexOf(e)},e.prototype.toArray=function(){return this.host.listRows().slice()},e.prototype.forEach=function(e){for(var t=this.host.listRows(),r=0;r<t.length;r+=1)e(t[r],r)},e.prototype[Symbol.iterator]=function(){return this.host.listRows().slice()[Symbol.iterator]()},e.prototype.rebuildIndexProperties=function(){for(var e=this,t=this.host,r=t.listRows().length,n=this.indexedCount>r?this.indexedCount:r,i=0;i<n+8;i+=1)Object.prototype.hasOwnProperty.call(e,i)&&delete e[i];for(i=0;i<r;i+=1)Object.defineProperty(e,i,{get:function(e){return function(){var r=t.listRows();if(!(e<0||e>=r.length))return r[e]}}(i),enumerable:!0,configurable:!0});this.indexedCount=r},e}(),dj=function(){function e(e){this.host=e,this.indexedCount=0,this.rebuildIndexProperties()}return Object.defineProperty(e.prototype,"count",{get:function(){return this.host.listCells().length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this.count},enumerable:!0,configurable:!0}),e.prototype.syncFromHost=function(){this.rebuildIndexProperties()},e.prototype.add=function(){return this.insert(this.count)},e.prototype.insert=function(e){var t=this.host.listCells().slice();if(e<0||e>t.length)throw new RangeError("Cell index "+String(e)+" is out of range");var r=this.host.createEmptyCell();return t.splice(e,0,r),this.host.replaceCells(t),this.host.bindCell(r),this.rebuildIndexProperties(),r},e.prototype.remove=function(e){var t=this.host.listCells().indexOf(e);if(-1===t)throw new iA("This cell is no longer in its row");this.removeAt(t)},e.prototype.removeAt=function(e){var t=this.host.listCells().slice();if(e<0||e>=t.length)throw new RangeError("Cell index "+String(e)+" is out of range");if(t.length<=this.host.minCellCount())throw new iA("A table row must retain at least one cell");t.splice(e,1),this.host.replaceCells(t),this.rebuildIndexProperties()},e.prototype.get=function(e){var t=this.host.listCells();if(e<0||e>=t.length)throw new RangeError("Cell index "+String(e)+" is out of range");return t[e]},e.prototype.indexOf=function(e){return this.host.listCells().indexOf(e)},e.prototype.toArray=function(){return this.host.listCells().slice()},e.prototype.forEach=function(e){for(var t=this.host.listCells(),r=0;r<t.length;r+=1)e(t[r],r)},e.prototype[Symbol.iterator]=function(){return this.host.listCells().slice()[Symbol.iterator]()},e.prototype.rebuildIndexProperties=function(){for(var e=this,t=this.host,r=t.listCells().length,n=this.indexedCount>r?this.indexedCount:r,i=0;i<n+8;i+=1)Object.prototype.hasOwnProperty.call(e,i)&&delete e[i];for(i=0;i<r;i+=1)Object.defineProperty(e,i,{get:function(e){return function(){var r=t.listCells();if(!(e<0||e>=r.length))return r[e]}}(i),enumerable:!0,configurable:!0});this.indexedCount=r},e}(),hj=function(){function e(e){this.host=e}return Object.defineProperty(e.prototype,"left",{get:function(){var e=this.host.read();return void 0!==e&&void 0!==e.left?e.left:0},set:function(e){this.writeSide("left",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){var e=this.host.read();return void 0!==e&&void 0!==e.right?e.right:0},set:function(e){this.writeSide("right",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){var e=this.host.read();return void 0!==e&&void 0!==e.top?e.top:0},set:function(e){this.writeSide("top",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){var e=this.host.read();return void 0!==e&&void 0!==e.bottom?e.bottom:0},set:function(e){this.writeSide("bottom",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"all",{get:function(){var e=this.top;return this.bottom===e&&this.left===e&&this.right,e},set:function(e){this.host.write({top:e,bottom:e,left:e,right:e})},enumerable:!0,configurable:!0}),e.prototype.writeSide=function(e,t){var r=this.host.read(),n="top"===e?t:void 0!==r?r.top:void 0,i="bottom"===e?t:void 0!==r?r.bottom:void 0,o="left"===e?t:void 0!==r?r.left:void 0,a="right"===e?t:void 0!==r?r.right:void 0;this.host.write({top:n,bottom:i,left:o,right:a})},e}(),fj=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},pj=new Set([zL.Auto,zL.AtLeast,zL.Exact]),vj=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},mj={top:Ur(0),left:Ur(0),bottom:Ur(0),right:Ur(0)},yj={Top:"top",Center:"center",Bottom:"bottom"},gj=new Set(["lr","rl","tb","btLr","lrV","rlV"]),bj=function(){return(bj=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},wj=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},Pj={leftFromText:!0,rightFromText:!0,topFromText:!0,bottomFromText:!0,vertAnchor:!0,horzAnchor:!0,tblpX:!0,tblpY:!0,tblpXSpec:!0,tblpYSpec:!0},Sj=function(){return(Sj=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},xj={None:"none",Start:"start",Continue:"continue"},Cj={Margin:"margin",Page:"page",Column:"column"},Ij={Margin:"margin",Page:"page",Paragraph:"paragraph"},Vj=function(){function e(e){this.host=e}return e.prototype.readBag=function(){var e=nh(this.host.readTblPr());return void 0!==e?e:{}},e.prototype.writeBag=function(e){this.host.writeTblPr(oh(this.host.readTblPr(),e))},Object.defineProperty(e.prototype,"horizontalPosition",{get:function(){var e=this.readBag().horizontalPosition;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:e,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalPosition",{get:function(){var e=this.readBag().verticalPosition;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:e,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalOrigin",{get:function(){var e=this.readBag().horizontalOrigin;return void 0!==e?e:Cj.Margin},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:e,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalOrigin",{get:function(){var e=this.readBag().verticalOrigin;return void 0!==e?e:Ij.Margin},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:e,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceFromTop",{get:function(){var e=this.readBag().distanceFromTop;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:e,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceFromBottom",{get:function(){var e=this.readBag().distanceFromBottom;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:e,distanceFromLeft:t.distanceFromLeft,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceFromLeft",{get:function(){var e=this.readBag().distanceFromLeft;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:e,distanceFromRight:t.distanceFromRight,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceFromRight",{get:function(){var e=this.readBag().distanceFromRight;return void 0!==e?e:0},set:function(e){var t=this.readBag();this.writeBag({horizontalPosition:t.horizontalPosition,verticalPosition:t.verticalPosition,horizontalOrigin:t.horizontalOrigin,verticalOrigin:t.verticalOrigin,distanceFromTop:t.distanceFromTop,distanceFromBottom:t.distanceFromBottom,distanceFromLeft:t.distanceFromLeft,distanceFromRight:e,unknownAttributes:t.unknownAttributes})},enumerable:!0,configurable:!0}),e}(),Tj=function(){function e(e){var t=this;this.host=e,this.bordersInstance=new uj($c(function(){return to(t.host.readTblPr())},function(e){t.host.writeTblPr(ro(t.host.readTblPr(),e))}),!0);var r={read:function(){return no(t.host.readTblPr())},write:function(e){t.host.writeTblPr(io(t.host.readTblPr(),e))}};this.paddingsInstance=new hj(r),this.positioningInstance=new Vj(e)}return Object.defineProperty(e.prototype,"borders",{get:function(){return this.bordersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddings",{get:function(){return this.paddingsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"positioning",{get:function(){return this.positioningInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalAlignment",{get:function(){var e=Zi(this.host.readTblPr());return void 0!==e?e:"left"},set:function(e){if("left"!==e&&"center"!==e&&"right"!==e)throw new RangeError("Unsupported TableAlignment value");this.host.writeTblPr(Ki(this.host.readTblPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellSpacing",{get:function(){var e=oo(this.host.readTblPr());return void 0!==e?e:0},set:function(e){if("number"!=typeof e||!isFinite(e)||e<0)throw new RangeError("cellSpacing must be a finite non-negative number");this.host.writeTblPr(ao(this.host.readTblPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backColor",{get:function(){return ah(lo(this.host.readTblPr()))},set:function(e){var t=lo(this.host.readTblPr()),r=void 0===e?void 0:lh(e);this.host.writeTblPr(so(this.host.readTblPr(),sh(r,t)));var n=this.host.applyTableBackColorToCells;void 0!==n&&n.call(this.host,r)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapAround",{get:function(){return void 0!==nh(this.host.readTblPr())},set:function(e){if(e)return void(void 0===nh(this.host.readTblPr())&&this.host.writeTblPr(oh(this.host.readTblPr(),{})));this.host.writeTblPr(oh(this.host.readTblPr(),void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAutoResized",{get:function(){return"fixed"!==go(this.host.readTblPr())},set:function(e){var t=e?"autoFit":"fixed";this.host.writeTblPr(bo(this.host.readTblPr(),t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preferredWidth",{get:function(){return Qi(this.host.readTblPr())},set:function(e){this.host.writeTblPr(eo(this.host.readTblPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){return go(this.host.readTblPr())},set:function(e){this.host.writeTblPr(bo(this.host.readTblPr(),e))},enumerable:!0,configurable:!0}),e}(),kj=function(){function e(e){this.host=e}return Object.defineProperty(e.prototype,"isBreakAcrossPages",{get:function(){return!0!==ad(this.host.readTrPr())},set:function(e){this.host.writeTrPr(ld(this.host.readTrPr(),!e||void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backColor",{get:function(){return ah(hd(this.host.readTrPr()))},set:function(e){var t=hd(this.host.readTrPr()),r=void 0===e?void 0:lh(e);this.host.writeTrPr(fd(this.host.readTrPr(),sh(r,t)))},enumerable:!0,configurable:!0}),e}(),Fj=function(){function e(e){var t=this;this.host=e,this.bordersInstance=new uj(Qc(function(){return Od(t.host.readTcPr())},function(e){t.host.writeTcPr(Nd(t.host.readTcPr(),e))}),!1);var r={read:function(){return Rd(t.host.readTcPr())},write:function(e){t.host.writeTcPr(_d(t.host.readTcPr(),e))}};this.paddingsInstance=new hj(r)}return Object.defineProperty(e.prototype,"backColor",{get:function(){return ah(Ad(this.host.readTcPr()))},set:function(e){var t=Ad(this.host.readTcPr()),r=void 0===e?void 0:lh(e);this.host.writeTcPr(Ld(this.host.readTcPr(),sh(r,t)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"borders",{get:function(){return this.bordersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddings",{get:function(){return this.paddingsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlignment",{get:function(){var e=Hd(this.host.readTcPr());return void 0!==e?e:"top"},set:function(e){if("top"!==e&&"center"!==e&&"bottom"!==e)throw new RangeError("Unsupported verticalAlignment value");this.host.writeTcPr(Wd(this.host.readTcPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textDirection",{get:function(){var e=zd(this.host.readTcPr());return void 0!==e?e:"lr"},set:function(e){if("lr"!==e&&"rl"!==e&&"tb"!==e&&"btLr"!==e&&"lrV"!==e&&"rlV"!==e)throw new RangeError("Unsupported textDirection value");this.host.writeTcPr(Ud(this.host.readTcPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapText",{get:function(){return!0!==Gd(this.host.readTcPr())},set:function(e){this.host.writeTcPr(qd(this.host.readTcPr(),!e||void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fitText",{get:function(){return!0===Xd(this.host.readTcPr())},set:function(e){this.host.writeTcPr(Yd(this.host.readTcPr(),!!e||void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnSpan",{get:function(){var e=Sd(this.host.readTcPr());return void 0!==e&&e>0?e:1},set:function(e){this.host.writeTcPr(Cd(this.host.readTcPr(),e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalMerge",{get:function(){return uh(Td(this.host.readTcPr()))},set:function(e){this.host.writeTcPr(kd(this.host.readTcPr(),ch(e)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalMerge",{get:function(){return uh(xd(this.host.readTcPr()))},set:function(e){this.host.writeTcPr(Id(this.host.readTcPr(),ch(e)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"samePaddingsAsTable",{get:function(){return Bd(this.host.readTcPr())},set:function(e){this.host.writeTcPr(jd(this.host.readTcPr(),e))},enumerable:!0,configurable:!0}),e}(),Dj=function(){return(Dj=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},Oj=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},Nj={spacing:void 0,indentation:void 0,keepNext:void 0,keepLines:void 0,pageBreakBefore:void 0,widowControl:void 0,contextualSpacing:void 0,outlineLevel:void 0},Aj='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="0E2841"/></a:dk2><a:lt2><a:srgbClr val="E8E8E8"/></a:lt2><a:accent1><a:srgbClr val="156082"/></a:accent1><a:accent2><a:srgbClr val="E97132"/></a:accent2><a:accent3><a:srgbClr val="196B24"/></a:accent3><a:accent4><a:srgbClr val="0F9ED5"/></a:accent4><a:accent5><a:srgbClr val="A02B93"/></a:accent5><a:accent6><a:srgbClr val="4EA72E"/></a:accent6><a:hlink><a:srgbClr val="467886"/></a:hlink><a:folHlink><a:srgbClr val="96607D"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Aptos Display" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Angsana New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Aptos" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游明朝"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Cordia New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{2E142A2C-CD16-42D6-873A-C26D2A0506FA}" vid="{1BDDFF52-6CD6-40A5-AB3C-68EB2F1E4D0A}"/></a:ext></a:extLst></a:theme>',Ej=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},Lj=Be("theme"),Rj=new TextEncoder,Bj="http://schemas.openxmlformats.org/drawingml/2006/main",_j="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",jj="http://purl.oclc.org/ooxml/officeDocument/relationships/theme",Mj="application/vnd.openxmlformats-officedocument.theme+xml",zj=q("/word/theme/theme1.xml"),Uj=new TextDecoder("utf-8"),Hj=["majorEastAsia","majorBidi","majorAscii","majorHAnsi","minorEastAsia","minorBidi","minorAscii","minorHAnsi"],Wj=function(){function e(e,t,r){this.bytes=e,this.metadata=t,this.dirty=r}return e.prototype.name=function(){return null==this.metadata?void 0:this.metadata.name},e.prototype.colorSchemeName=function(){return null==this.metadata?void 0:this.metadata.colorSchemeName},e.prototype.fontSchemeName=function(){return null==this.metadata?void 0:this.metadata.fontSchemeName},e.prototype.formatSchemeName=function(){return null==this.metadata?void 0:this.metadata.formatSchemeName},e.prototype.typefaceFor=function(e){var t=null==this.metadata?void 0:this.metadata.fontScheme;if(void 0!==t)return wh(t,e)},e.prototype.isDirty=function(){return this.dirty},e.prototype.serialize=function(){return void 0!==this.bytes?this.bytes:new Uint8Array(0)},e}(),Gj=!1,qj=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},Xj={bold:void 0,boldCs:void 0,italic:void 0,italicCs:void 0,fontSize:void 0,fontSizeCs:void 0,kerning:void 0,asciiFont:void 0,hAnsiFont:void 0,eastAsiaFont:void 0,csFont:void 0,fontHint:void 0,asciiTheme:void 0,hAnsiTheme:void 0,eastAsiaTheme:void 0,csTheme:void 0,underline:void 0,color:void 0,vertAlign:void 0,lang:void 0},Yj=new Set(["single","words","double","thick","dotted","dottedHeavy","dash","dashedHeavy","dashLong","dashLongHeavy","dotDash","dashDotHeavy","dotDotDash","dashDotDotHeavy","wave","wavyHeavy","wavyDouble","none"]),Zj=new Set(["baseline","superscript","subscript"]),Kj=new Set(["default","eastAsia"]),Jj=/^([0-9A-Fa-f]{6}|auto)$/,$j=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Qj=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat($j(arguments[t]));return e},eM=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},tM=new Set(["paragraph","character","table","numbering"]),rM=new Set(["name","aliases","basedOn","next","link","autoRedefine","hidden","uiPriority","semiHidden","unhideWhenUsed","qFormat","locked"]),nM=function(){function e(e,t,r,n,i,o){void 0===o&&(o=[]),this.styleIdValue=e,this.typeValue=t,this.defaultValue=r,this.customStyleValue=n,this.children=i,this.extraAttributes=o}return Object.defineProperty(e.prototype,"styleId",{get:function(){return this.styleIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.typeValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"default",{get:function(){return this.defaultValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"customStyle",{get:function(){return this.customStyleValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return rf(this.children,"name")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"aliases",{get:function(){return rf(this.children,"aliases")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"basedOn",{get:function(){return rf(this.children,"basedOn")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"next",{get:function(){return rf(this.children,"next")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"link",{get:function(){return rf(this.children,"link")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uiPriority",{get:function(){return ef(tf(this.children,"uiPriority"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoRedefine",{get:function(){return nf(this.children,"autoRedefine")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return nf(this.children,"hidden")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"semiHidden",{get:function(){return nf(this.children,"semiHidden")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unhideWhenUsed",{get:function(){return nf(this.children,"unhideWhenUsed")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"qFormat",{get:function(){return nf(this.children,"qFormat")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locked",{get:function(){return nf(this.children,"locked")},enumerable:!0,configurable:!0}),e.prototype.runProperties=function(){return jh(tf(this.children,"rPr"))},e.prototype.serialize=function(){var e,t,r=[];void 0!==this.typeValue&&r.push(ht("type",this.typeValue)),r.push(ht("styleId",this.styleIdValue)),void 0!==this.defaultValue&&r.push(ht("default",this.defaultValue?"1":"0")),void 0!==this.customStyleValue&&r.push(ht("customStyle",this.customStyleValue?"1":"0")),r.push.apply(r,Qj(this.extraAttributes));var n=[],i=this.name;n.push(pt("name",{attributes:[ht("val",null!=i?i:this.styleIdValue)]}));var o=this.aliases;void 0!==o&&n.push(pt("aliases",{attributes:[ht("val",o)]}));var a=this.basedOn;void 0!==a&&n.push(pt("basedOn",{attributes:[ht("val",a)]}));var l=this.next;void 0!==l&&n.push(pt("next",{attributes:[ht("val",l)]}));var s=this.link;void 0!==s&&n.push(pt("link",{attributes:[ht("val",s)]}));var u=this.autoRedefine;void 0!==u&&n.push(Lr("autoRedefine",u));var c=this.hidden;void 0!==c&&n.push(Lr("hidden",c));var d=this.uiPriority;void 0!==d&&n.push(pt("uiPriority",{attributes:[ht("val",String(d))]}));var h=this.semiHidden;void 0!==h&&n.push(Lr("semiHidden",h));var f=this.unhideWhenUsed;void 0!==f&&n.push(Lr("unhideWhenUsed",f));var p=this.qFormat;void 0!==p&&n.push(Lr("qFormat",p));var v=this.locked;void 0!==v&&n.push(Lr("locked",v));try{for(var m=eM(this.children),y=m.next();!y.done;y=m.next()){var g=y.value;ut(g,g.localName)&&rM.has(g.localName)||n.push(g)}}catch(t){e={error:t}}finally{try{y&&!y.done&&(t=m.return)&&t.call(m)}finally{if(e)throw e.error}}return pt("style",{attributes:r,children:n})},e}(),iM=function(){return(iM=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},oM=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},aM=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(oM(arguments[t]));return e},lM=iM({},Xj,{asciiFont:"Times New Roman",hAnsiFont:"Times New Roman",eastAsiaFont:"Times New Roman",fontSize:12,fontSizeCs:12,lang:{val:"en-US",eastAsia:"zh-TW",bidi:"ar-SA"}}),sM=[16,14,13,12,12,11,11,11,11],uM={Normal:"Normal",Heading1:"Heading1",Heading2:"Heading2"},cM={TableNormal:"TableNormal",TableGrid:"TableGrid",LightShading:"LightShading",LightShadingAccent1:"LightShading-Accent1",LightShadingAccent2:"LightShading-Accent2",LightShadingAccent3:"LightShading-Accent3",LightShadingAccent4:"LightShading-Accent4",LightShadingAccent5:"LightShading-Accent5",LightShadingAccent6:"LightShading-Accent6"},dM=[{styleId:"Normal",displayName:"Normal",type:"paragraph",isDefault:!0,isQuickFormat:!0,paragraphFormatting:iM({},Nj,{spacing:{}}),characterFormatting:lM},{styleId:"DefaultParagraphFont",displayName:"Default Paragraph Font",type:"character",isDefault:!0,uiPriority:1,isSemiHidden:!0,unhideWhenUsed:!0},{styleId:"TableNormal",displayName:"Normal Table",type:"table",isDefault:!0,uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,tableFormatting:function(){var e=function(e,t){return pt(e,{attributes:[ht("w",t),ht("type","dxa")]})};return[pt("tblPr",{children:[pt("tblInd",{attributes:[ht("w","0"),ht("type","dxa")]}),pt("tblCellMar",{children:[e("top","0"),e("left","108"),e("bottom","0"),e("right","108")]})]})]}()},{styleId:"NoList",displayName:"No List",type:"numbering",isDefault:!0,uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0},{styleId:"TableGrid",displayName:"Table Grid",type:"table",basedOn:"TableNormal",tableFormatting:function(){var e=function(e){return pt(e,{attributes:[ht("val","single"),ht("sz","4"),ht("space","0"),ht("color","000000")]})};return[pt("tblPr",{children:[pt("tblInd",{attributes:[ht("w","0"),ht("type","dxa")]}),pt("tblBorders",{children:[e("top"),e("left"),e("bottom"),e("right"),e("insideH"),e("insideV")]})]})]}()},pf("LightShading","Light Shading","000000","E7E6E6"),pf("LightShading-Accent1","Light Shading Accent 1","accent1","D6DCE4"),pf("LightShading-Accent2","Light Shading Accent 2","accent2","F7D9C8"),pf("LightShading-Accent3","Light Shading Accent 3","accent3","E2EFD9"),pf("LightShading-Accent4","Light Shading Accent 4","accent4","FFF2CC"),pf("LightShading-Accent5","Light Shading Accent 5","accent5","DDEBF7"),pf("LightShading-Accent6","Light Shading Accent 6","accent6","FCE4D6"),{styleId:"Hyperlink",displayName:"Hyperlink",type:"character",basedOn:"DefaultParagraphFont",characterFormatting:iM({},Xj,{color:"0000FF",underline:{kind:"single",color:void 0}})},cf(1),cf(2),cf(3),cf(4),cf(5),cf(6),cf(7),cf(8),cf(9),{styleId:"NoSpacing",displayName:"No Spacing",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:1,isQuickFormat:!0,paragraphFormatting:iM({},Nj,{spacing:{after:0,lineSpacing:12,lineRule:"auto"}})},{styleId:"Title",displayName:"Title",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:10,isQuickFormat:!0,paragraphFormatting:iM({},Nj,{spacing:{after:0,lineSpacing:12,lineRule:"auto"}}),characterFormatting:iM({},Xj,{asciiFont:"Calibri Light",hAnsiFont:"Calibri Light",eastAsiaFont:"Calibri Light",csFont:"Calibri Light",fontSize:28,fontSizeCs:28,kerning:14})},{styleId:"Subtitle",displayName:"Subtitle",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:11,isQuickFormat:!0,characterFormatting:iM({},Xj,{color:"595959",asciiFont:"Calibri Light",hAnsiFont:"Calibri Light",eastAsiaFont:"Calibri Light",csFont:"Calibri Light",fontSize:12,fontSizeCs:12,italic:!0,italicCs:!0})},{styleId:"BodyText",displayName:"Body Text",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0},{styleId:"BodyText2",displayName:"Body Text 2",type:"paragraph",basedOn:"BodyText",next:"BodyText",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:iM({},Xj,{fontSize:11,fontSizeCs:11})},{styleId:"BodyText3",displayName:"Body Text 3",type:"paragraph",basedOn:"BodyText",next:"BodyText",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:iM({},Xj,{fontSize:10,fontSizeCs:10})},{styleId:"Caption",displayName:"Caption",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:35,isQuickFormat:!0,paragraphFormatting:iM({},Nj,{spacing:{after:6,lineSpacing:12,lineRule:"auto"}}),characterFormatting:iM({},Xj,{color:"595959",italic:!0,italicCs:!0,fontSize:9,fontSizeCs:9})},{styleId:"Quote",displayName:"Quote",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:29,isQuickFormat:!0,paragraphFormatting:iM({},Nj,{indentation:{left:18,right:18}}),characterFormatting:iM({},Xj,{color:"595959",italic:!0,italicCs:!0})},{styleId:"IntenseQuote",displayName:"Intense Quote",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:30,isQuickFormat:!0,paragraphFormatting:iM({},Nj,{indentation:{left:18,right:18}}),characterFormatting:iM({},Xj,{color:"595959",italic:!0,italicCs:!0})},{styleId:"ListParagraph",displayName:"List Paragraph",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:34,isQuickFormat:!0,paragraphFormatting:iM({},Nj,{contextualSpacing:!0,indentation:{left:18,hanging:18}})},{styleId:"List",displayName:"List",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0},{styleId:"List2",displayName:"List 2",type:"paragraph",basedOn:"List",next:"List",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:36}})},{styleId:"List3",displayName:"List 3",type:"paragraph",basedOn:"List",next:"List",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:54}})},{styleId:"ListBullet",displayName:"List Bullet",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isQuickFormat:!0,paragraphFormatting:iM({},Nj,{indentation:{left:36,hanging:18}})},{styleId:"ListBullet2",displayName:"List Bullet 2",type:"paragraph",basedOn:"ListBullet",next:"ListBullet",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:72,hanging:18}})},{styleId:"ListBullet3",displayName:"List Bullet 3",type:"paragraph",basedOn:"ListBullet",next:"ListBullet",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:108,hanging:18}})},{styleId:"ListNumber",displayName:"List Number",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isQuickFormat:!0,paragraphFormatting:iM({},Nj,{indentation:{left:36,hanging:18}})},{styleId:"ListNumber2",displayName:"List Number 2",type:"paragraph",basedOn:"ListNumber",next:"ListNumber",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:72,hanging:18}})},{styleId:"ListNumber3",displayName:"List Number 3",type:"paragraph",basedOn:"ListNumber",next:"ListNumber",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:108,hanging:18}})},{styleId:"Header",displayName:"Header",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{spacing:{after:0,lineSpacing:12,lineRule:"auto"}}),characterFormatting:iM({},Xj)},{styleId:"Footer",displayName:"Footer",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{spacing:{after:0,lineSpacing:12,lineRule:"auto"}}),characterFormatting:iM({},Xj)},hf("FootnoteText","Footnote Text"),hf("EndnoteText","Endnote Text"),hf("CommentText","Annotation Text"),{styleId:"TOCHeading",displayName:"TOC Heading",type:"paragraph",basedOn:"Heading1",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,isQuickFormat:!0},{styleId:"TOC1",displayName:"toc 1",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{spacing:{after:5}})},{styleId:"TOC2",displayName:"toc 2",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:11}})},{styleId:"TOC3",displayName:"toc 3",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:22}})},{styleId:"TOC4",displayName:"toc 4",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:33}})},{styleId:"TOC5",displayName:"toc 5",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:44}})},{styleId:"TOC6",displayName:"toc 6",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:55}})},{styleId:"TOC7",displayName:"toc 7",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:66}})},{styleId:"TOC8",displayName:"toc 8",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:77}})},{styleId:"TOC9",displayName:"toc 9",type:"paragraph",basedOn:"Normal",next:"Normal",uiPriority:39,isSemiHidden:!0,unhideWhenUsed:!0,paragraphFormatting:iM({},Nj,{indentation:{left:88}})},{styleId:"FollowedHyperlink",displayName:"Followed Hyperlink",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:iM({},Xj,{color:"800080",underline:{kind:"single",color:void 0}})},{styleId:"Strong",displayName:"Strong",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:iM({},Xj,{bold:!0,boldCs:!0})},{styleId:"Emphasis",displayName:"Emphasis",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:iM({},Xj,{italic:!0,italicCs:!0})},{styleId:"IntenseEmphasis",displayName:"Intense Emphasis",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:iM({},Xj,{color:"0070C0"})},{styleId:"SubtleEmphasis",displayName:"Subtle Emphasis",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:iM({},Xj,{color:"0070C0"})},{styleId:"BookTitle",displayName:"Book Title",type:"character",basedOn:"DefaultParagraphFont",uiPriority:99,isSemiHidden:!0,unhideWhenUsed:!0,characterFormatting:iM({},Xj,{asciiFont:"Times New Roman",hAnsiFont:"Times New Roman",eastAsiaFont:"Times New Roman",csFont:"Times New Roman",fontSize:20,fontSizeCs:20,kerning:10,italic:!0,italicCs:!0})},df("FootnoteReference","Footnote Reference"),df("EndnoteReference","Endnote Reference"),df("CommentReference","Annotation Reference")],hM=Object.freeze(dM.map(vf)),fM=new Map(hM.map(function(e){return[e.styleId,e]})),pM=new Map(hM.map(function(e){return[lf(e.displayName),e]})),vM=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},mM=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},yM=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(mM(arguments[t]));return e},gM=function(){function e(e,t,r){void 0===r&&(r=[]),this.rPrDefaultElement=e,this.pPrDefaultElement=t,this.extras=r}return e.prototype.rPrDefault=function(){return this.rPrDefaultElement},e.prototype.runProperties=function(){var e,t;if(void 0===this.rPrDefaultElement)return Xj;try{for(var r=vM(ct(this.rPrDefaultElement)),n=r.next();!n.done;n=r.next()){var i=n.value;if(ut(i,"rPr"))return jh(i)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return Xj},e.prototype.pPrDefault=function(){return this.pPrDefaultElement},e.prototype.paragraphProperties=function(){var e,t;if(void 0===this.pPrDefaultElement)return Nj;try{for(var r=vM(ct(this.pPrDefaultElement)),n=r.next();!n.done;n=r.next()){var i=n.value;if(ut(i,"pPr"))return fh(i)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return Nj},e.prototype.serialize=function(){var e=[];return void 0!==this.rPrDefaultElement&&e.push(this.rPrDefaultElement),void 0!==this.pPrDefaultElement&&e.push(this.pPrDefaultElement),e.push.apply(e,yM(this.extras)),pt("docDefaults",{children:e})},e}(),bM=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},wM=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},PM=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(wM(arguments[t]));return e},SM=[{styleId:"Normal",type:"paragraph"},{styleId:"DefaultParagraphFont",type:"character"},{styleId:"TableNormal",type:"table"},{styleId:"NoList",type:"numbering"},{styleId:"TableGrid",type:"table"},{styleId:"Hyperlink",type:"character"}],xM=function(){function e(){this.byId=new Map,this.ordered=[]}return e.prototype.getStyle=function(e){return this.byId.get(e)},e.prototype.findStyleByDisplayName=function(e){var t,r,n=e.trim().toLowerCase().replace(/\s+/g,"");if(0!==n.length)try{for(var i=bM(this.ordered),o=i.next();!o.done;o=i.next()){var a=o.value,l=a.name;if(void 0!==l&&l.trim().toLowerCase().replace(/\s+/g,"")===n)return a}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},e.prototype.addStyle=function(e){this.byId.has(e.styleId)||(this.ordered.push(e),this.byId.set(e.styleId,e))},e.prototype.styles=function(){return PM(this.ordered)},e}(),CM=function(){return(CM=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},IM=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},VM=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(IM(arguments[t]));return e},TM=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},kM=function(){function e(e,t,r,n,i,o,a){void 0===a&&(a=[]),this.nameValue=e,this.lockedValue=t,this.uiPriorityValue=r,this.semiHiddenValue=n,this.unhideWhenUsedValue=i,this.qFormatValue=o,this.extraAttributes=a}return Object.defineProperty(e.prototype,"name",{get:function(){return this.nameValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locked",{get:function(){return this.lockedValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uiPriority",{get:function(){return this.uiPriorityValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"semiHidden",{get:function(){return this.semiHiddenValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unhideWhenUsed",{get:function(){return this.unhideWhenUsedValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"qFormat",{get:function(){return this.qFormatValue},enumerable:!0,configurable:!0}),e.prototype.serialize=function(){var e=VM([ht("name",this.nameValue)],this.extraAttributes);return void 0!==this.lockedValue&&e.push(ht("locked",this.lockedValue?"1":"0")),void 0!==this.uiPriorityValue&&e.push(ht("uiPriority",String(this.uiPriorityValue))),void 0!==this.semiHiddenValue&&e.push(ht("semiHidden",this.semiHiddenValue?"1":"0")),void 0!==this.unhideWhenUsedValue&&e.push(ht("unhideWhenUsed",this.unhideWhenUsedValue?"1":"0")),void 0!==this.qFormatValue&&e.push(ht("qFormat",this.qFormatValue?"1":"0")),pt("lsdException",{attributes:e})},e}(),FM=function(){function e(e,t,r,n,i,o,a,l,s){void 0===l&&(l=[]),void 0===s&&(s=[]),this.defLockedStateValue=e,this.defUIPriorityValue=t,this.defSemiHiddenValue=r,this.defUnhideWhenUsedValue=n,this.defQFormatValue=i,this.countValue=o,this.exceptionsList=a,this.extraAttributes=l,this.extras=s}return Object.defineProperty(e.prototype,"defLockedState",{get:function(){return this.defLockedStateValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defUIPriority",{get:function(){return this.defUIPriorityValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defSemiHidden",{get:function(){return this.defSemiHiddenValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defUnhideWhenUsed",{get:function(){return this.defUnhideWhenUsedValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defQFormat",{get:function(){return this.defQFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this.countValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"exceptions",{get:function(){return this.exceptionsList},enumerable:!0,configurable:!0}),e.prototype.serialize=function(){var e=VM(this.extraAttributes);void 0!==this.defLockedStateValue&&e.push(ht("defLockedState",this.defLockedStateValue?"1":"0")),void 0!==this.defUIPriorityValue&&e.push(ht("defUIPriority",String(this.defUIPriorityValue))),void 0!==this.defSemiHiddenValue&&e.push(ht("defSemiHidden",this.defSemiHiddenValue?"1":"0")),void 0!==this.defUnhideWhenUsedValue&&e.push(ht("defUnhideWhenUsed",this.defUnhideWhenUsedValue?"1":"0")),void 0!==this.defQFormatValue&&e.push(ht("defQFormat",this.defQFormatValue?"1":"0")),void 0!==this.countValue&&e.push(ht("count",String(this.countValue)));var t=this.exceptionsList.map(function(e){return e.serialize()});return t.push.apply(t,VM(this.extras)),pt("latentStyles",{attributes:e,children:t})},e}(),DM=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),OM=new Set(["name","aliases","basedOn","next","link","autoRedefine","hidden","uiPriority","semiHidden","unhideWhenUsed","qFormat","locked"]),NM=function(){function e(e,t,r,n){if(0===e.length)throw new oA("Style id must not be empty");this.styleIdValue=e,this.typeValue=t,this.defaultValue=r,this.customStyleValue=n,this.nameValue=void 0,this.aliasesValue=void 0,this.basedOnIdValue=void 0,this.nextIdValue=void 0,this.linkIdValue=void 0,this.uiPriorityValue=void 0,this.autoRedefineValue=void 0,this.hiddenValue=void 0,this.semiHiddenValue=void 0,this.unhideWhenUsedValue=void 0,this.qFormatValue=void 0,this.lockedValue=void 0,this.extraAttributesValue=[],this.opaqueChildrenValue=[],this.ownerValue=void 0,this.attachedValue=!1,this.suppressDirty=!1,this.characterFormatValue=new RL(this)}return Object.defineProperty(e.prototype,"styleId",{get:function(){return this.styleIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.typeValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDefault",{get:function(){return this.defaultValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"customStyle",{get:function(){return this.customStyleValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.nameValue},set:function(e){this.ensureAttached(),this.nameValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"characterFormat",{get:function(){return this.characterFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"owner",{get:function(){return this.ownerValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAttached",{get:function(){return this.attachedValue&&void 0!==this.ownerValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"basedOnId",{get:function(){return this.basedOnIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseStyle",{get:function(){if(void 0!==this.basedOnIdValue&&0!==this.basedOnIdValue.length&&void 0!==this.ownerValue){var e=this.ownerValue.lookupStyle(this.basedOnIdValue);if(void 0!==e&&(void 0===this.typeValue||void 0===e.type||e.type===this.typeValue))return e}},enumerable:!0,configurable:!0}),e.prototype.applyBaseStyle=function(e){if(this.ensureAttached(),void 0===e)return this.basedOnIdValue=void 0,void this.markDirty();var t;if("string"==typeof e){if(0===e.length)throw new oA("Base style id must not be empty");if(void 0===this.ownerValue)throw new iA("Cannot resolve base style on a detached style");if(void 0===(t=this.ownerValue.lookupStyle(e)))return this.basedOnIdValue=e,void this.markDirty()}else t=e;if(t===this)throw new $N("styles/circular-based-on",'Style "'+this.styleIdValue+'" cannot be based on itself');if(!t.isAttached||t.owner!==this.ownerValue)throw new $N("argument/invalid","Base style must belong to the same document styles collection");if(void 0!==this.typeValue&&void 0!==t.type&&t.type!==this.typeValue)throw new $N("styles/invalid-based-on",'Style "'+this.styleIdValue+'" basedOn "'+t.styleId+'" is a '+String(t.type)+" style; expected "+this.typeValue);var r=t,n=new Set;for(n.add(this.styleIdValue);void 0!==r;){if(n.has(r.styleId))throw new $N("styles/circular-based-on",'Circular basedOn relationship on style "'+this.styleIdValue+'"');n.add(r.styleId);var i=r.basedOnId;if(void 0===i||void 0===this.ownerValue)break;r=this.ownerValue.lookupStyle(i)}this.basedOnIdValue=t.styleId,this.markDirty()},Object.defineProperty(e.prototype,"nextStyleId",{get:function(){return this.nextIdValue},set:function(e){this.ensureAttached(),this.nextIdValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkStyleId",{get:function(){return this.linkIdValue},set:function(e){this.ensureAttached(),this.linkIdValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uiPriority",{get:function(){return this.uiPriorityValue},set:function(e){this.ensureAttached(),this.uiPriorityValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isQuickStyle",{get:function(){return this.qFormatValue},set:function(e){this.ensureAttached(),this.qFormatValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSemiHidden",{get:function(){return this.semiHiddenValue},set:function(e){this.ensureAttached(),this.semiHiddenValue=e,this.markDirty()},enumerable:!0,configurable:!0}),e.prototype.notifyCharacterFormatMutation=function(){this.ensureAttached(),this.markDirty()},e.prototype.attach=function(e){if(!this.attachedValue||this.ownerValue!==e){if(this.attachedValue&&void 0!==this.ownerValue&&this.ownerValue!==e)throw new $N("argument/invalid",'Style "'+this.styleIdValue+'" is already owned by another document');this.ownerValue=e,this.attachedValue=!0}},e.prototype.detach=function(){this.attachedValue=!1,this.ownerValue=void 0},e.prototype.remove=function(){this.ensureAttached();var e=this.ownerValue;if(void 0===e)throw new iA('Style "'+this.styleIdValue+'" is detached from its document');var t=e;if("function"!=typeof t.remove)throw new oA('Style "'+this.styleIdValue+'" owner does not support removal');t.remove(this)},e.prototype.clearReferencesToStyleId=function(e){this.basedOnIdValue===e&&(this.basedOnIdValue=void 0),this.nextIdValue===e&&(this.nextIdValue=void 0),this.linkIdValue===e&&(this.linkIdValue=void 0)},e.prototype.hydrateFromDocxStyle=function(e){this.suppressDirty=!0;try{var t=e.serialize(),r=ct(t);this.nameValue=tp(r,"name"),this.aliasesValue=tp(r,"aliases"),this.basedOnIdValue=tp(r,"basedOn"),this.nextIdValue=tp(r,"next"),this.linkIdValue=tp(r,"link"),this.uiPriorityValue=np(ep(r,"uiPriority")),this.autoRedefineValue=rp(r,"autoRedefine"),this.hiddenValue=rp(r,"hidden"),this.semiHiddenValue=rp(r,"semiHidden"),this.unhideWhenUsedValue=rp(r,"unhideWhenUsed"),this.qFormatValue=rp(r,"qFormat"),this.lockedValue=rp(r,"locked"),this.customStyleValue=e.customStyle;var n=ep(r,"rPr");this.characterFormatValue.hydrate(Jf(n));var i=ep(r,"pPr");this.hydrateParagraphFormat($f(i));for(var o=[],a=0;a<r.length;a+=1){var l=r[a];if(void 0!==l){if(ut(l,l.localName)){if(OM.has(l.localName))continue;if("pPr"===l.localName||"rPr"===l.localName)continue}o.push(l)}}this.opaqueChildrenValue=o;var s=new Set(["styleId","type","default","customStyle"]);this.extraAttributesValue=t.attributes.filter(function(e){return!(s.has(e.localName)&&(e.namespaceUri===FE||""===e.namespaceUri))})}finally{this.suppressDirty=!1}},e.prototype.hydrateParagraphFormat=function(e){},e.prototype.serializeParagraphProperties=function(e){},e.prototype.serialize=function(){var e=[];void 0!==this.typeValue&&e.push(ht("type",this.typeValue)),e.push(ht("styleId",this.styleIdValue)),void 0!==this.defaultValue&&e.push(ht("default",this.defaultValue?"1":"0")),void 0!==this.customStyleValue&&e.push(ht("customStyle",this.customStyleValue?"1":"0"));for(o=0;o<this.extraAttributesValue.length;o+=1)e.push(this.extraAttributesValue[o]);var t=[],r=null!=this.nameValue?this.nameValue:this.styleIdValue;t.push(pt("name",{attributes:[ht("val",r)]})),void 0!==this.aliasesValue&&t.push(pt("aliases",{attributes:[ht("val",this.aliasesValue)]})),void 0!==this.basedOnIdValue&&t.push(pt("basedOn",{attributes:[ht("val",this.basedOnIdValue)]})),void 0!==this.nextIdValue&&t.push(pt("next",{attributes:[ht("val",this.nextIdValue)]})),void 0!==this.linkIdValue&&t.push(pt("link",{attributes:[ht("val",this.linkIdValue)]})),ip(t,"autoRedefine",this.autoRedefineValue),ip(t,"hidden",this.hiddenValue),void 0!==this.uiPriorityValue&&t.push(pt("uiPriority",{attributes:[ht("val",String(this.uiPriorityValue))]})),ip(t,"semiHidden",this.semiHiddenValue),ip(t,"unhideWhenUsed",this.unhideWhenUsedValue),ip(t,"qFormat",this.qFormatValue),ip(t,"locked",this.lockedValue);for(o=0;o<this.opaqueChildrenValue.length;o+=1)t.push(this.opaqueChildrenValue[o]);this.serializeParagraphProperties(t);for(var n=this.characterFormatValue.buildRPrChildren(),i=[],o=0;o<n.length;o+=1){var a=n[o];ut(a,"rStyle")||i.push(a)}return i.length>0&&t.push(pt("rPr",{children:i})),pt("style",{attributes:e,children:t})},e.prototype.characterFormatSnapshot=function(){return this.characterFormatValue.snapshot()},e.prototype.toDocxStyle=function(){var e=of(this.serialize());return void 0!==e?e:new nM(this.styleIdValue,this.typeValue,this.defaultValue,this.customStyleValue,ct(this.serialize()).slice())},e.prototype.replaceShell=function(e){if(e.styleId!==this.styleIdValue)throw new $N("argument/invalid",'Cannot replace style shell: styleId "'+e.styleId+'" does not match "'+this.styleIdValue+'"');this.hydrateFromDocxStyle(e),this.markDirty()},e.prototype.normalizedName=function(){var e=this.nameValue;return lf(void 0!==e&&e.length>0?e:this.styleIdValue)},e.prototype.getOpaqueChildren=function(){return this.opaqueChildrenValue},e.prototype.setOpaqueChildren=function(e){this.opaqueChildrenValue=e.slice(),this.markDirty()},e.prototype.ensureAttached=function(){if(!this.attachedValue||void 0===this.ownerValue)throw new iA('Style "'+this.styleIdValue+'" is detached from its document')},e.prototype.markDirty=function(){this.suppressDirty||void 0!==this.ownerValue&&this.ownerValue.markStylesDirty()},e.prototype.seedIdentity=function(e,t){this.suppressDirty=!0;try{this.nameValue=e,this.basedOnIdValue=t}finally{this.suppressDirty=!1}},e.prototype.hydrateCharacterSnapshot=function(e){this.suppressDirty=!0;try{this.characterFormatValue.hydrate(e)}finally{this.suppressDirty=!1}},e.prototype.setBasedOnIdInternal=function(e){this.basedOnIdValue=e},e.prototype.setMetaInternal=function(e){void 0!==e.nextId&&(this.nextIdValue=e.nextId),void 0!==e.linkId&&(this.linkIdValue=e.linkId),void 0!==e.uiPriority&&(this.uiPriorityValue=e.uiPriority),void 0!==e.semiHidden&&(this.semiHiddenValue=e.semiHidden),void 0!==e.unhideWhenUsed&&(this.unhideWhenUsedValue=e.unhideWhenUsed),void 0!==e.qFormat&&(this.qFormatValue=e.qFormat),void 0!==e.aliases&&(this.aliasesValue=e.aliases),void 0!==e.autoRedefine&&(this.autoRedefineValue=e.autoRedefine),void 0!==e.hidden&&(this.hiddenValue=e.hidden),void 0!==e.locked&&(this.lockedValue=e.locked)},Object.defineProperty(e.prototype,"nextIdInternal",{get:function(){return this.nextIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkIdInternal",{get:function(){return this.linkIdValue},enumerable:!0,configurable:!0}),e}(),AM=function(e){function t(t,r,n){var i=e.call(this,t,"paragraph",r,n)||this;return i.paragraphFormatValue=new dR(i),i}return DM(t,e),Object.defineProperty(t.prototype,"paragraphFormat",{get:function(){return this.paragraphFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseParagraphStyle",{get:function(){var e=this.baseStyle;if(e instanceof t)return e},enumerable:!0,configurable:!0}),t.prototype.notifyParagraphFormatMutation=function(){this.ensureAttached(),this.markDirty()},t.prototype.hydrateParagraphFormat=function(e){this.paragraphFormatValue.hydrate(e)},t.prototype.serializeParagraphProperties=function(e){var t=this.paragraphFormatValue.buildPPrChildren();t.length>0&&e.push(pt("pPr",{children:t}))},t.prototype.paragraphFormatSnapshot=function(){return this.paragraphFormatValue.snapshot()},t.createMinimal=function(e){var r=new t(e,void 0,!0);return r.seedIdentity(e,void 0),r},t.fromDocxStyle=function(e){var r=new t(e.styleId,e.default,e.customStyle);return r.hydrateFromDocxStyle(e),r},t}(NM),EM=function(e){function t(t,r,n){return e.call(this,t,"character",r,n)||this}return DM(t,e),Object.defineProperty(t.prototype,"baseCharacterStyle",{get:function(){var e=this.baseStyle;if(e instanceof t)return e},enumerable:!0,configurable:!0}),t.createMinimal=function(e){var r=new t(e,void 0,!0);return r.seedIdentity(e,void 0),r},t.fromDocxStyle=function(e){var r=new t(e.styleId,e.default,e.customStyle);return r.hydrateFromDocxStyle(e),r},t}(NM),LM=function(e){function t(t,r,n,i){return e.call(this,t,r,n,i)||this}return DM(t,e),t.prototype.hydrateParagraphFormat=function(e){if(void 0===this.paragraphFormatValue){var t=this;this.paragraphFormatValue=new dR({notifyParagraphFormatMutation:function(){t.ensureAttached(),t.markDirty()}})}this.paragraphFormatValue.hydrate(e)},t.prototype.serializeParagraphProperties=function(e){if(void 0!==this.paragraphFormatValue){var t=this.paragraphFormatValue.buildPPrChildren();t.length>0&&e.push(pt("pPr",{children:t}))}},t.fromDocxStyle=function(e){var r=new t(e.styleId,e.type,e.default,e.customStyle);return r.hydrateFromDocxStyle(e),r},t}(NM),RM=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),BM=function(){return(BM=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},_M={WholeTable:"wholeTable",FirstRow:"firstRow",LastRow:"lastRow",FirstColumn:"firstColumn",LastColumn:"lastColumn",OddColumnBand:"band1Vert",EvenColumnBand:"band2Vert",OddRowBand:"band1Horz",EvenRowBand:"band2Horz",TopLeftCell:"nwCell",TopRightCell:"neCell",BottomLeftCell:"swCell",BottomRightCell:"seCell"},jM={wholeTable:!0,firstRow:!0,lastRow:!0,firstColumn:!0,lastColumn:!0,band1Vert:!0,band2Vert:!0,band1Horz:!0,band2Horz:!0,nwCell:!0,neCell:!0,swCell:!0,seCell:!0},MM={pPr:0,rPr:1,tblPr:2,trPr:3,tcPr:4,tblStylePr:5},zM={pPr:0,rPr:1,tblPr:2,trPr:3,tcPr:4},UM=function(){function e(e){this.owner=e}return e.prototype.readTblPr=function(){return this.owner.readBaseChild("tblPr")},e.prototype.writeTblPr=function(e){this.owner.writeBaseChild("tblPr",e)},Object.defineProperty(e.prototype,"borders",{get:function(){if(void 0===this.bordersInstance){var e=this,t={readEdge:function(t){var r=e.readTblPr();if(void 0!==r){var n=to(r);return void 0!==n?n[t]:void 0}},writeEdge:function(t,r){var n=void 0!==e.readTblPr()?e.readTblPr():pt("tblPr"),i=void 0!==to(n)?BM({},to(n)):{};void 0===r?delete i[t]:i[t]=r;var o=Object.keys(i).length>0?i:void 0;e.writeTblPr(ro(n,o))}};this.bordersInstance=new uj(t)}return this.bordersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellSpacing",{get:function(){var e=this.readTblPr();return void 0!==e?oo(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():pt("tblPr");this.writeTblPr(ao(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftIndent",{get:function(){var e=this.readTblPr();return void 0!==e?Ji(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():pt("tblPr");this.writeTblPr($i(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddings",{get:function(){if(void 0===this.paddingsInstance){var e=this,t={read:function(){var t=e.readTblPr();return void 0!==t?no(t):void 0},write:function(t){var r=void 0!==e.readTblPr()?e.readTblPr():pt("tblPr");e.writeTblPr(io(r,t))}};this.paddingsInstance=new hj(t)}return this.paddingsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preferredWidth",{get:function(){var e=this.readTblPr();return void 0!==e?Qi(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():pt("tblPr");this.writeTblPr(eo(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignment",{get:function(){var e=this.readTblPr();return void 0!==e?Zi(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():pt("tblPr");this.writeTblPr(Ki(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){var e=this.readTblPr();return void 0!==e?go(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():pt("tblPr");this.writeTblPr(bo(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shading",{get:function(){var e=this.readTblPr();return void 0!==e?lo(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():pt("tblPr");this.writeTblPr(so(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rowStripe",{get:function(){var e=this.readTblPr();return void 0!==e?wo(e):void 0},set:function(e){if(void 0!==e&&!isFinite(e))throw new RangeError("TableStyle rowStripe must be a finite number or undefined, got "+String(e));var t=void 0!==this.readTblPr()?this.readTblPr():pt("tblPr");this.writeTblPr(Po(t,void 0!==e?Math.trunc(e):void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnStripe",{get:function(){var e=this.readTblPr();return void 0!==e?So(e):void 0},set:function(e){if(void 0!==e&&!isFinite(e))throw new RangeError("TableStyle columnStripe must be a finite number or undefined, got "+String(e));var t=void 0!==this.readTblPr()?this.readTblPr():pt("tblPr");this.writeTblPr(xo(t,void 0!==e?Math.trunc(e):void 0))},enumerable:!0,configurable:!0}),e}(),HM=function(){function e(e,t){void 0===t&&(t=!1),this.owner=e,this.isConditional=t}return e.prototype.readTrPr=function(){return this.isConditional?this.owner.readChild("trPr"):this.owner.readBaseChild("trPr")},e.prototype.writeTrPr=function(e){if(this.isConditional)return void this.owner.writeChild("trPr",e);this.owner.writeBaseChild("trPr",e)},Object.defineProperty(e.prototype,"height",{get:function(){var e=id(this.readTrPr());return void 0!==e?e.value:void 0},set:function(e){var t=this.readTrPr();if(void 0===e)return void this.writeTrPr(od(t,void 0));var r=id(t),n=void 0!==r&&void 0!==r.rule?r.rule:"atLeast";this.writeTrPr(od(t,{value:e,rule:n}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allowBreakAcrossPages",{get:function(){var e=ad(this.readTrPr());return void 0===e||!e},set:function(e){var t=this.readTrPr();this.writeTrPr(ld(t,!e||void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHeader",{get:function(){return!0===sd(this.readTrPr())},set:function(e){var t=this.readTrPr();this.writeTrPr(ud(t,!!e||void 0))},enumerable:!0,configurable:!0}),e}(),WM=function(){function e(e,t){void 0===t&&(t=!1),this.owner=e,this.isConditional=t}return e.prototype.readTcPr=function(){return this.isConditional?this.owner.readChild("tcPr"):this.owner.readBaseChild("tcPr")},e.prototype.writeTcPr=function(e){if(this.isConditional)return void this.owner.writeChild("tcPr",e);this.owner.writeBaseChild("tcPr",e)},Object.defineProperty(e.prototype,"borders",{get:function(){if(void 0===this.bordersInstance){var e=this,t={readEdge:function(t){var r=e.readTcPr();if(void 0!==r){var n=Od(r);return void 0!==n?n[t]:void 0}},writeEdge:function(t,r){var n=void 0!==e.readTcPr()?e.readTcPr():pt("tcPr"),i=void 0!==Od(n)?BM({},Od(n)):{};void 0===r?delete i[t]:i[t]=r;var o=Object.keys(i).length>0?i:void 0;e.writeTcPr(Nd(n,o))}};this.bordersInstance=new uj(t)}return this.bordersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddings",{get:function(){if(void 0===this.paddingsInstance){var e=this,t={read:function(){var t=e.readTcPr();return void 0!==t?Rd(t):void 0},write:function(t){var r=void 0!==e.readTcPr()?e.readTcPr():pt("tcPr");e.writeTcPr(_d(r,t))}};this.paddingsInstance=new hj(t)}return this.paddingsInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){var e=this.readTcPr(),t=void 0!==e?Ad(e):void 0;if(void 0!==t&&void 0!==t.fill)return fn(t.fill)},set:function(e){var t=void 0!==this.readTcPr()?this.readTcPr():pt("tcPr"),r=Ad(t);if(void 0===e){if(void 0===r)return;var n=BM({},r);delete n.fill;a=void 0===n.fill&&void 0===n.color&&void 0===n.pattern;return void this.writeTcPr(Ld(t,a?void 0:n))}var i=pn(e);if(0===i.length){if(void 0===r)return;var o=BM({},r);delete o.fill;var a=void 0===o.fill&&void 0===o.color&&void 0===o.pattern;return void this.writeTcPr(Ld(t,a?void 0:o))}var l=void 0!==r&&void 0!==r.pattern&&r.pattern.length>0?r.pattern:"clear",s={fill:i,color:void 0!==r&&void 0!==r.color&&r.color.length>0?r.color:"auto",pattern:l};this.writeTcPr(Ld(t,s))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlignment",{get:function(){var e=this.readTcPr();return void 0!==e?Hd(e):void 0},set:function(e){var t=void 0!==this.readTcPr()?this.readTcPr():pt("tcPr");this.writeTcPr(Wd(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textDirection",{get:function(){var e=this.readTcPr();return void 0!==e?zd(e):void 0},set:function(e){var t=void 0!==this.readTcPr()?this.readTcPr():pt("tcPr");this.writeTcPr(Ud(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preferredWidth",{get:function(){var e=this.readTcPr();return void 0!==e?Fd(e):void 0},set:function(e){var t=void 0!==this.readTcPr()?this.readTcPr():pt("tcPr");this.writeTcPr(Dd(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalMerge",{get:function(){var e=this.readTcPr();return void 0!==e?Td(e):void 0},set:function(e){var t=void 0!==this.readTcPr()?this.readTcPr():pt("tcPr");this.writeTcPr(kd(t,e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalMerge",{get:function(){var e=this.readTcPr();return void 0!==e?xd(e):void 0},set:function(e){var t=void 0!==this.readTcPr()?this.readTcPr():pt("tcPr");this.writeTcPr(Id(t,e))},enumerable:!0,configurable:!0}),e}(),GM=function(){function e(e,t,r){this.parent=e,this.typeValue=t,this.element=r}return Object.defineProperty(e.prototype,"conditionalFormattingType",{get:function(){return this.typeValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"characterFormat",{get:function(){if(void 0===this.characterFormatInstance){this.characterFormatInstance=new RL(this);var e=this.readChild("rPr");void 0!==e&&this.characterFormatInstance.hydrate(qn(e))}return this.characterFormatInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paragraphFormat",{get:function(){if(void 0===this.paragraphFormatInstance){this.paragraphFormatInstance=new dR(this);var e=this.readChild("pPr");void 0!==e&&this.paragraphFormatInstance.hydrate(Yo(e))}return this.paragraphFormatInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rowProperties",{get:function(){return void 0===this.rowPropertiesInstance&&(this.rowPropertiesInstance=new HM(this,!0)),this.rowPropertiesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellProperties",{get:function(){return void 0===this.cellPropertiesInstance&&(this.cellPropertiesInstance=new WM(this,!0)),this.cellPropertiesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tableProperties",{get:function(){return void 0===this.tablePropertiesInstance&&(this.tablePropertiesInstance=new qM(this)),this.tablePropertiesInstance},enumerable:!0,configurable:!0}),e.prototype.notifyCharacterFormatMutation=function(){this.syncFormatsToElement(),this.parent.replaceConditionalElement(this.typeValue,this.element)},e.prototype.notifyParagraphFormatMutation=function(){this.syncFormatsToElement(),this.parent.replaceConditionalElement(this.typeValue,this.element)},e.prototype.notifyStructureMutation=function(){this.parent.replaceConditionalElement(this.typeValue,this.element)},e.prototype.syncFormatsToElement=function(){if(void 0!==this.characterFormatInstance){e=oi(this.characterFormatInstance.snapshot());this.writeChildInternal("rPr",e.length>0?pt("rPr",{children:e}):void 0,!1)}if(void 0!==this.paragraphFormatInstance){var e=na(this.paragraphFormatInstance.snapshot());this.writeChildInternal("pPr",e.length>0?pt("pPr",{children:e}):void 0,!1)}},e.prototype.readChild=function(e){for(var t=ct(this.element),r=0;r<t.length;r+=1)if(ut(t[r],e))return t[r]},e.prototype.writeChild=function(e,t){this.writeChildInternal(e,t,!0)},e.prototype.writeChildInternal=function(e,t,r){for(var n=ct(this.element),i=[],o=!1,a=0;a<n.length;a+=1){var l=n[a];ut(l,e)?(o||void 0===t||i.push(t),o=!0):i.push(l)}o||void 0===t||i.push(t);var s=hp(i);this.element=pt("tblStylePr",{attributes:this.element.attributes,namespaceDeclarations:this.element.namespaceDeclarations,children:s}),r&&this.notifyStructureMutation()},e.prototype.toElement=function(){return this.syncFormatsToElement(),this.element=fp(this.element),this.element},e}(),qM=function(){function e(e){this.owner=e}return e.prototype.readTblPr=function(){return this.owner.readChild("tblPr")},e.prototype.writeTblPr=function(e){this.owner.writeChild("tblPr",e)},Object.defineProperty(e.prototype,"borders",{get:function(){if(void 0===this.bordersInstance){var e=this,t={readEdge:function(t){var r=e.readTblPr();if(void 0!==r){var n=to(r);return void 0!==n?n[t]:void 0}},writeEdge:function(t,r){var n=void 0!==e.readTblPr()?e.readTblPr():pt("tblPr"),i=void 0!==to(n)?BM({},to(n)):{};void 0===r?delete i[t]:i[t]=r;var o=Object.keys(i);e.writeTblPr(ro(n,o.length>0?i:void 0))}};this.bordersInstance=new uj(t)}return this.bordersInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shading",{get:function(){var e=this.readTblPr();return void 0!==e?lo(e):void 0},set:function(e){var t=void 0!==this.readTblPr()?this.readTblPr():pt("tblPr");this.writeTblPr(so(t,e))},enumerable:!0,configurable:!0}),e}(),XM=function(){function e(e){this.owner=e}return Object.defineProperty(e.prototype,"count",{get:function(){return this.owner.listConditional().length},enumerable:!0,configurable:!0}),e.prototype.item=function(e){var t=this.owner.listConditional();if(e<0||e>=t.length)throw new RangeError("Conditional formatting index out of range");return t[e]},e.prototype.findByType=function(e){for(var t=this.owner.listConditional(),r=0;r<t.length;r+=1)if(t[r].conditionalFormattingType===e)return t[r]},e.prototype.add=function(e){var t=this.findByType(e);if(void 0!==t)return t;var r=pt("tblStylePr",{attributes:[ht("type",e)],children:[]});return this.owner.addConditionalElement(e,r)},e.prototype.clear=function(){this.owner.clearConditionals()},e}(),YM=function(e){function t(t,r){var n=e.call(this,t.styleId,"table",t.default,t.customStyle)||this;return n.host=r,n.paragraphFormatValue=new dR(n),n.hydrateFromDocxStyle(t),n}return RM(t,e),t.prototype.bindHost=function(e){this.host=e},Object.defineProperty(t.prototype,"paragraphFormat",{get:function(){return this.paragraphFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tableProperties",{get:function(){return void 0===this.tablePropertiesInstance&&(this.tablePropertiesInstance=new UM(this)),this.tablePropertiesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowProperties",{get:function(){return void 0===this.rowPropertiesInstance&&(this.rowPropertiesInstance=new HM(this,!1)),this.rowPropertiesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cellProperties",{get:function(){return void 0===this.cellPropertiesInstance&&(this.cellPropertiesInstance=new WM(this,!1)),this.cellPropertiesInstance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"conditionalFormattingStyles",{get:function(){return void 0===this.conditionalCollection&&(this.conditionalCollection=new XM(this)),this.conditionalCollection},enumerable:!0,configurable:!0}),t.prototype.hydrateParagraphFormat=function(e){this.paragraphFormatValue.hydrate(e)},t.prototype.serializeParagraphProperties=function(e){var t=this.paragraphFormatValue.buildPPrChildren();t.length>0&&e.push(pt("pPr",{children:t}))},t.prototype.serialize=function(){return pp(e.prototype.serialize.call(this))},t.prototype.notifyCharacterFormatMutation=function(){e.prototype.notifyCharacterFormatMutation.call(this),this.notifyHost()},t.prototype.notifyParagraphFormatMutation=function(){this.ensureAttached(),this.markDirty(),this.notifyHost()},t.prototype.notifyHost=function(){void 0!==this.host&&this.host.notifyTableStyleMutation()},t.prototype.readBaseChild=function(e){for(var t=ct(this.toDocxStyle().serialize()),r=0;r<t.length;r+=1)if(ut(t[r],e))return t[r]},t.prototype.writeBaseChild=function(e,t){for(var r=this.toDocxStyle(),n=r.serialize(),i=ct(n),o=[],a=!1,l=0;l<i.length;l+=1){var s=i[l];ut(s,e)&&"tblStylePr"!==e?(a||void 0===t||o.push(t),a=!0):o.push(s)}a||void 0===t||o.push(t),this.replaceShellFromChildren(r,n,o),this.conditionalCache=void 0,this.notifyHost()},t.prototype.replaceShellFromChildren=function(e,t,r){var n=pp(pt("style",{attributes:t.attributes,namespaceDeclarations:t.namespaceDeclarations,children:r})),i=ct(n),o=of(n);void 0!==o?this.replaceShell(o):this.replaceShell(new nM(this.styleId,"table",void 0,void 0,i.slice()))},t.prototype.listConditional=function(){if(void 0!==this.conditionalCache)return this.conditionalCache;for(var e=ct(this.toDocxStyle().serialize()),t=[],r=0;r<e.length;r+=1){var n=e[r];if(ut(n,"tblStylePr")){var i=void 0!==vt(n)?vt(n):vp(n,"type");void 0!==i&&sp(i)&&t.push(new GM(this,i,n))}}return this.conditionalCache=t,t},t.prototype.addConditionalElement=function(e,t){var r=fp(t),n=this.toDocxStyle(),i=n.serialize(),o=ct(i).slice();return o.push(r),this.replaceShellFromChildren(n,i,o),this.conditionalCache=void 0,this.notifyHost(),new GM(this,e,r)},t.prototype.replaceConditionalElement=function(e,t){for(var r=fp(t),n=this.toDocxStyle(),i=n.serialize(),o=ct(i),a=[],l=!1,s=0;s<o.length;s+=1){var u=o[s];ut(u,"tblStylePr")&&(void 0!==vt(u)?vt(u):vp(u,"type"))===e?l||(a.push(r),l=!0):a.push(u)}l||a.push(r),this.replaceShellFromChildren(n,i,a),this.conditionalCache=void 0,this.notifyHost()},t.prototype.clearConditionals=function(){var e=this.toDocxStyle(),t=e.serialize(),r=ct(t).filter(function(e){return!ut(e,"tblStylePr")});this.replaceShellFromChildren(e,t,r),this.conditionalCache=void 0,this.notifyHost()},t}(NM),ZM=function(){function e(e,t,r){void 0===r&&(r=[]),this.cachedLength=0,this.document=e,this.host=t,this.styleList=[],this.styleById=new Map,this.pendingParagraphStyles=new Set,this.pendingCharacterStyles=new Set,this.pendingTableStyles=new Set,this.projected=new Map,this.document;for(var n=0;n<r.length;n+=1){var i=r[n];this.attachAndIndex(i,!1)}}return Object.defineProperty(e.prototype,"ownerDocument",{get:function(){return this.document},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this.rebuildIndexProperties(),this.styleList.length},enumerable:!0,configurable:!0}),e.prototype.itemAt=function(e){return this.styleList[e]},e.prototype[Symbol.iterator]=function(){var e=this.styleList.slice(),t=0;return{next:function(){if(t>=e.length)return{done:!0,value:void 0};var r=e[t];return t+=1,{done:!1,value:r}}}},e.prototype.getStyle=function(e){return this.styleById.get(e)},e.prototype.findById=function(e){return this.getStyle(e)},e.prototype.getParagraphStyle=function(e){var t=this.styleById.get(e);if(t instanceof AM)return t},e.prototype.getCharacterStyle=function(e){var t=this.styleById.get(e);if(t instanceof EM)return t},e.prototype.getTableStyle=function(e){var t=this.styleById.get(e);if(t instanceof YM)return t},e.prototype.findByName=function(e){var t=lf(e);if(0!==t.length)for(var r=0;r<this.styleList.length;r+=1){var n=this.styleList[r];if(n.normalizedName()===t)return n}},e.prototype.hasStyle=function(e){return this.styleById.has(e)||this.pendingParagraphStyles.has(e)||this.pendingCharacterStyles.has(e)||this.pendingTableStyles.has(e)},e.prototype.addParagraphStyle=function(e){this.assertNewId(e);var t=AM.createMinimal(e);return this.attachAndIndex(t,!0),t},e.prototype.addCharacterStyle=function(e){this.assertNewId(e);var t=EM.createMinimal(e);return this.attachAndIndex(t,!0),t},e.prototype.addTableStyle=function(e){var t=this,r=e.trim();if(0===r.length)throw new oA("Table style name must not be empty");var n=mp(r);0===n.length&&(n="TableStyle"),n=yp(n,function(e){return t.styleById.has(e)});var i=new nM(n,"table",void 0,!0,[pt("name",{attributes:[ht("val",r)]})]);return this.appendFromDocxShell(i,!0)},e.prototype.ensureParagraphStyle=function(e){var t=this.getParagraphStyle(e);if(void 0!==t)return t;this.ensureStyle(e,"paragraph");var r=this.getParagraphStyle(e);if(void 0===r){var n=this.findByName(e);if(n instanceof AM)return n;throw new $N("styles/undefined-style",'Failed to ensure paragraph style "'+e+'"')}return r},e.prototype.ensureCharacterStyle=function(e){var t=this.getCharacterStyle(e);if(void 0!==t)return t;this.ensureStyle(e,"character");var r=this.getCharacterStyle(e);if(void 0===r){var n=this.findByName(e);if(n instanceof EM)return n;throw new $N("styles/undefined-style",'Failed to ensure character style "'+e+'"')}return r},e.prototype.ensureTableStyle=function(e){var t=this.getTableStyle(e);if(void 0!==t)return t;this.ensureStyle(e,"table");var r=this.getTableStyle(e);if(void 0===r){var n=this.findByName(e);if(n instanceof YM)return n;throw new $N("styles/undefined-style",'Failed to ensure table style "'+e+'"')}return r},e.prototype.remove=function(e){var t="string"==typeof e?e:e.styleId,r=this.styleById.get(t);if(void 0===r)return!1;if("string"!=typeof e&&e!==r)throw new oA("Style instance is not the collection entry for its styleId");"function"==typeof this.host.purgeContentStyleReferences&&this.host.purgeContentStyleReferences(this.document,t),this.purgeCatalogReferencesTo(t,r);var n=this.styleList.indexOf(r);return n>=0&&this.styleList.splice(n,1),this.styleById.delete(t),this.projected.delete(t),this.pendingParagraphStyles.delete(t),this.pendingCharacterStyles.delete(t),this.pendingTableStyles.delete(t),"function"==typeof this.host.forgetProjectedStyle&&this.host.forgetProjectedStyle(t),r.detach(),this.host.markStylesDirty(),this.rebuildIndexProperties(),!0},e.prototype.purgeCatalogReferencesTo=function(e,t){for(var r=0;r<this.styleList.length;r+=1){var n=this.styleList[r];n!==t&&n.clearReferencesToStyleId(e)}},e.prototype.stylesInOrder=function(){return this.styleList},e.prototype.markStylesDirty=function(){this.projected.clear(),this.host.markStylesDirty()},e.prototype.lookupStyle=function(e){return this.styleById.get(e)},e.prototype.findStyleByDisplayName=function(e){var t=this.findByName(e);if(void 0!==t)return this.projectDocxStyle(t.styleId)},e.prototype.addStyle=function(e){if(e instanceof nM){if(this.styleById.has(e.styleId))return;return void this.appendFromDocxShell(e,!0)}if(!this.styleById.has(e.styleId)){if(e.isAttached&&e.owner!==this)throw new $N("argument/invalid",'Style "'+e.styleId+'" is owned by another document');this.attachAndIndex(e,!0)}},e.prototype.hydrateFromDocxStyles=function(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];this.styleById.has(n.styleId)||this.appendFromDocxShell(n,t)}},e.prototype.replaceFromDocxStyles=function(e,t){for(var r=0;r<this.styleList.length;r+=1)this.styleList[r].detach();this.styleList.length=0,this.styleById.clear(),this.projected.clear(),this.hydrateFromDocxStyles(e,t),this.rebuildIndexProperties()},e.prototype.registerPendingParagraphStyle=function(e){0===e.length||this.styleById.has(e)||this.pendingParagraphStyles.add(e)},e.prototype.registerPendingCharacterStyle=function(e){0===e.length||this.styleById.has(e)||this.pendingCharacterStyles.add(e)},e.prototype.registerPendingTableStyle=function(e){0===e.length||this.styleById.has(e)||this.pendingTableStyles.add(e)},e.prototype.materializePendingIds=function(e,t,r){var n=Array.from(this.pendingParagraphStyles);this.pendingParagraphStyles.clear();for(a=0;a<n.length;a+=1){l=n[a];this.styleById.has(l)||this.ensureStyle(l,"paragraph"),void 0!==(s=this.styleById.get(l))&&s.styleId!==l?e(l,s.styleId):void 0===s&&void 0!==(u=this.findByName(l))&&u.styleId!==l&&e(l,u.styleId)}var i=Array.from(this.pendingCharacterStyles);this.pendingCharacterStyles.clear();for(a=0;a<i.length;a+=1){l=i[a];this.styleById.has(l)||this.ensureStyle(l,"character"),void 0!==(s=this.styleById.get(l))&&s.styleId!==l?t(l,s.styleId):void 0===s&&void 0!==(u=this.findByName(l))&&u.styleId!==l&&t(l,u.styleId)}if(void 0!==r){var o=Array.from(this.pendingTableStyles);this.pendingTableStyles.clear();for(var a=0;a<o.length;a+=1){var l=o[a];this.styleById.has(l)||this.ensureStyle(l,"table");var s=this.styleById.get(l);if(void 0!==s&&s.styleId!==l)r(l,s.styleId);else if(void 0===s){var u=this.findByName(l);void 0!==u&&u.styleId!==l&&r(l,u.styleId)}}}else this.pendingTableStyles.clear()},e.prototype.asDocxLookup=function(){var e=this;return{getStyle:function(t){return e.projectDocxStyle(t)},findStyleByDisplayName:function(t){return e.findStyleByDisplayName(t)},addStyle:function(t){e.styleById.has(t.styleId)||e.appendFromDocxShell(t,!0)}}},e.prototype.projectDocxStyles=function(){for(var e=[],t=0;t<this.styleList.length;t+=1){var r=this.projectDocxStyle(this.styleList[t].styleId);void 0!==r&&e.push(r)}return e},e.prototype.projectDocxStyle=function(e){var t=this.projected.get(e);if(void 0!==t)return t;var r=this.styleById.get(e);if(void 0!==r){var n=r.toDocxStyle();return this.projected.set(e,n),n}},e.prototype.ensureStyle=function(e,t){if(0===e.length)throw new $N("content/invalid-style-id","Style id must not be empty");if(!this.styleById.has(e)){if("paragraph"===t||"character"===t){try{Df(this.asDocxLookup(),e,t)}catch(e){}if(this.styleById.has(e))return}var r=Af(this.asDocxLookup(),e,t);if(void 0!==r)return void(this.styleById.has(r.styleId)||this.appendFromDocxShell(r,!0));if("table"===t){var n=af(e,"table");return void this.appendFromDocxShell(n,!0)}var i=lp(e,t);this.attachAndIndex(i,!0)}},e.prototype.assertNewId=function(e){if(0===e.length)throw new oA("Style id must not be empty");if(this.styleById.has(e))throw new $N("argument/invalid",'Style id "'+e+'" already exists in this document')},e.prototype.appendFromDocxShell=function(e,t){var r,n=this;return r="table"===e.type?new YM(e,{notifyTableStyleMutation:function(){n.projected.delete(e.styleId),n.host.markStylesDirty()}}):op(e),this.attachAndIndex(r,t),this.projected.set(r.styleId,e),r},e.prototype.attachAndIndex=function(e,t){if(!this.styleById.has(e.styleId)){if(e instanceof YM){var r=this;e.bindHost({notifyTableStyleMutation:function(){r.projected.delete(e.styleId),r.host.markStylesDirty()}})}e.attach(this),this.styleList.push(e),this.styleById.set(e.styleId,e),t&&this.host.markStylesDirty(),this.rebuildIndexProperties()}},e.prototype.rebuildIndexProperties=function(){for(var e=this.styleList,t=e.length,r=this.cachedLength,n=r>t?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t},e}(),KM=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},JM=Be("styles-with-effects"),$M="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects",QM="application/vnd.ms-word.stylesWithEffects+xml",ez=q("/word/stylesWithEffects.xml"),tz=new TextDecoder("utf-8"),rz=function(){function e(e,t,r){this.bytes=e,this.styleIdList=t,this.dirty=r}return e.prototype.present=function(){return void 0!==this.bytes},e.prototype.styleIds=function(){return this.styleIdList},e.prototype.styleCount=function(){return this.styleIdList.length},e.prototype.isDirty=function(){return this.dirty},e.prototype.serialize=function(){return void 0!==this.bytes?this.bytes:new Uint8Array(0)},e}(),nz=!1,iz=function(e,t){function r(e){return function(t){return n([e,t])}}function n(r){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,o=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(a=s.trys,!(a=a.length>0&&a[a.length-1])&&(6===r[0]||2===r[0])){s=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){s.label=r[1];break}if(6===r[0]&&s.label<a[1]){s.label=a[1],a=r;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(r);break}a[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],o=0}finally{i=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}var i,o,a,l,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return l={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l},oz=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},az=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},lz=function(){function e(e){this.part=e}return e.prototype.boundPart=function(){return this.part},Object.defineProperty(e.prototype,"size",{get:function(){return Vp(this.part).length},enumerable:!0,configurable:!0}),e.prototype.set=function(e,t){var r=Ip(e,"Font name"),n=Ip(t,"Alternate font name");return this.part.appendFont(r).alternateName=n,this},e.prototype.get=function(e){var t;if(null!==e&&void 0!==e){var r=String(e).trim();if(0!==r.length){var n=(t=this.part.font(r),null==t?void 0:t.alternateName);if(void 0!==n&&0!==n.trim().length)return n}}},e.prototype.has=function(e){return void 0!==this.get(e)},e.prototype.delete=function(e){if(null===e||void 0===e)return!1;var t=String(e).trim();if(0===t.length)return!1;var r=this.part.font(t);return void 0!==r&&(void 0!==r.alternateName&&0!==r.alternateName.trim().length&&(r.alternateName=void 0,!0))},e.prototype.clear=function(){var e,t;try{for(var r=oz(this.part.fonts()),n=r.next();!n.done;n=r.next()){var i=n.value;void 0!==i.alternateName&&(i.alternateName=void 0)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.entries=function(){return iz(this,function(e){switch(e.label){case 0:return[5,oz(Vp(this.part))];case 1:return e.sent(),[2]}})},e.prototype.keys=function(){var e,t,r,n,i,o,a;return iz(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,7]),r=oz(Vp(this.part)),n=r.next(),l.label=1;case 1:return n.done?[3,4]:(i=az(n.value,1),o=i[0],[4,o]);case 2:l.sent(),l.label=3;case 3:return n=r.next(),[3,1];case 4:return[3,7];case 5:return a=l.sent(),e={error:a},[3,7];case 6:try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}return[7];case 7:return[2]}})},e.prototype.values=function(){var e,t,r,n,i,o,a;return iz(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,7]),r=oz(Vp(this.part)),n=r.next(),l.label=1;case 1:return n.done?[3,4]:(i=az(n.value,2),o=i[1],[4,o]);case 2:l.sent(),l.label=3;case 3:return n=r.next(),[3,1];case 4:return[3,7];case 5:return a=l.sent(),e={error:a},[3,7];case 6:try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}return[7];case 7:return[2]}})},e.prototype[Symbol.iterator]=function(){return this.entries()},e}(),sz=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},uz=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(sz(arguments[t]));return e},cz=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},dz="http://schemas.openxmlformats.org/officeDocument/2006/relationships",hz={Decorative:"decorative",Modern:"modern",Roman:"roman",Script:"script",Swiss:"swiss",Auto:"auto"},fz={Fixed:"fixed",Variable:"variable",Default:"default"},pz={Regular:"regular",Bold:"bold",Italic:"italic",BoldItalic:"boldItalic"},vz=new Set(ai(hz)),mz=new Set(ai(fz)),yz=(tj={},tj[pz.Regular]="embedRegular",tj[pz.Bold]="embedBold",tj[pz.Italic]="embedItalic",tj[pz.BoldItalic]="embedBoldItalic",tj),gz={embedRegular:pz.Regular,embedBold:pz.Bold,embedItalic:pz.Italic,embedBoldItalic:pz.BoldItalic},bz=function(){function e(e,t,r){this.nameValue=e,this.alternateNameValue=t.alternateName,this.panoseValue=t.panose,this.charsetValue=t.charset,this.familyValue=t.family,this.familyRawValue=t.familyRaw,this.notTrueTypeValue=t.notTrueType,this.pitchValue=t.pitch,this.pitchRawValue=t.pitchRaw,this.signatureValue=t.signature,this.embeds=void 0!==t.embeds?t.embeds.map(Tp):[],this.residualChildren=void 0!==t.residualChildren?uz(t.residualChildren):[],this.extraAttributes=void 0!==t.extraAttributes?uz(t.extraAttributes):[],this.markDirty=r}return Object.defineProperty(e.prototype,"name",{get:function(){return this.nameValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alternateName",{get:function(){return this.alternateNameValue},set:function(e){if(void 0===e||0===e.trim().length){if(void 0===this.alternateNameValue)return;return this.alternateNameValue=void 0,void this.markDirty()}this.alternateNameValue!==e&&(this.alternateNameValue=e,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alternateNames",{get:function(){var e,t;if(void 0===this.alternateNameValue)return[];var r=[];try{for(var n=cz(this.alternateNameValue.split(",")),i=n.next();!i.done;i=n.next()){var o=i.value.trim();o.length>0&&r.push(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"panose",{get:function(){return this.panoseValue},set:function(e){var t=Fp(e);this.panoseValue!==t&&(this.panoseValue=t,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"charset",{get:function(){return this.charsetValue},set:function(e){var t=Fp(e);this.charsetValue!==t&&(this.charsetValue=t,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"family",{get:function(){return this.familyValue},set:function(e){if(void 0===e){if(void 0===this.familyValue&&void 0===this.familyRawValue)return;return this.familyValue=void 0,this.familyRawValue=void 0,void this.markDirty()}Dp(e),this.familyValue===e&&void 0===this.familyRawValue||(this.familyValue=e,this.familyRawValue=void 0,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"notTrueType",{get:function(){return this.notTrueTypeValue},set:function(e){this.notTrueTypeValue!==e&&(this.notTrueTypeValue=e,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pitch",{get:function(){return this.pitchValue},set:function(e){if(void 0===e){if(void 0===this.pitchValue&&void 0===this.pitchRawValue)return;return this.pitchValue=void 0,this.pitchRawValue=void 0,void this.markDirty()}Op(e),this.pitchValue===e&&void 0===this.pitchRawValue||(this.pitchValue=e,this.pitchRawValue=void 0,this.markDirty())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"signature",{get:function(){return this.signatureValue},set:function(e){if(void 0===e){if(void 0===this.signatureValue)return;return this.signatureValue=void 0,void this.markDirty()}var t={usb0:e.usb0,usb1:e.usb1,usb2:e.usb2,usb3:e.usb3,csb0:e.csb0,csb1:e.csb1};Ap(this.signatureValue,t)||(this.signatureValue=t,this.markDirty())},enumerable:!0,configurable:!0}),e.prototype.embedRefs=function(){return this.embeds.map(kp)},e.prototype.embedRef=function(e){Np(e);var t=this.embeds.find(function(t){return t.slot===e});return void 0===t?void 0:kp(t)},e.prototype.clearEmbed=function(e){Np(e);var t=this.embeds.findIndex(function(t){return t.slot===e});t<0||(this.embeds.splice(t,1),this.markDirty())},e.prototype.serialize=function(){var e,t,r=[];void 0!==this.alternateNameValue&&r.push(pt("altName",{attributes:[ht("val",this.alternateNameValue)]})),void 0!==this.panoseValue&&r.push(pt("panose1",{attributes:[ht("val",this.panoseValue)]})),void 0!==this.charsetValue&&r.push(pt("charset",{attributes:[ht("val",this.charsetValue)]}));var n=null!=this.familyValue?this.familyValue:this.familyRawValue;void 0!==n&&r.push(pt("family",{attributes:[ht("val",n)]})),void 0!==this.notTrueTypeValue&&r.push(Lr("notTrueType",this.notTrueTypeValue));var i=null!=this.pitchValue?this.pitchValue:this.pitchRawValue;void 0!==i&&r.push(pt("pitch",{attributes:[ht("val",i)]})),void 0!==this.signatureValue&&r.push(_p(this.signatureValue));var o=this;try{for(var a=cz([pz.Regular,pz.Bold,pz.Italic,pz.BoldItalic]),l=a.next();!l.done;l=a.next())!function(e){var t=o.embeds.find(function(t){return t.slot===e});void 0!==t&&r.push(zp(t))}(l.value)}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return r.push.apply(r,uz(this.residualChildren)),pt("font",{attributes:uz([ht("name",this.nameValue)],this.extraAttributes),children:r})},e}(),wz=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Pz=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(wz(arguments[t]));return e},Sz=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},xz=Be("font-table"),Cz="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",Iz="http://purl.oclc.org/ooxml/officeDocument/relationships/fontTable",Vz="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml",Tz=q("/word/fontTable.xml"),kz=new TextDecoder("utf-8"),Fz=new TextEncoder,Dz=function(){function e(e,t,r,n,i,o,a){this.bytes=e,this.fontEntries=t,this.rootExtrasBeforeFonts=Pz(r),this.rootExtrasAfterFonts=Pz(n),this.rootAttributes=Pz(i),this.rootNamespaceDeclarations=o.length>0?Pz(o):[{prefix:"w",namespaceUri:cA}],this.dirty=a}return e.prototype.fontNames=function(){return this.fontEntries.map(function(e){return e.name})},e.prototype.hasFont=function(e){return void 0!==this.font(e)},e.prototype.fonts=function(){return this.fontEntries},e.prototype.font=function(e){var t=Gp(e);return this.fontEntries.find(function(e){return Gp(e.name)===t})},e.prototype.appendFont=function(e){var t=this,r=e.trim();if(0===r.length)throw new $N("content/unsupported","Font name must not be empty");var n=this.font(r);if(void 0!==n)return n;var i=Wp(r,function(){t.markDirty()});return this.fontEntries.push(i),this.markDirty(),i},e.prototype.substituteFont=function(e){var t;return t=this.font(e),null==t?void 0:t.alternateName},e.prototype.isDirty=function(){return this.dirty},e.prototype.markDirty=function(){this.dirty=!0,this.bytes=void 0},e.prototype.serialize=function(){if(!this.dirty)return void 0!==this.bytes?this.bytes:new Uint8Array(0);var e=Pz(this.rootExtrasBeforeFonts,this.fontEntries.map(function(e){return e.serialize()}),this.rootExtrasAfterFonts),t=pt("fonts",{namespaceDeclarations:this.rootNamespaceDeclarations,attributes:this.rootAttributes,children:e});return Fz.encode(y(t))},e}(),Oz=!1,Nz=new WeakMap;Object.defineProperty(mB.prototype,"fontSubstitutionTable",{configurable:!0,enumerable:!1,get:function(){return Jp(this)}}),Zp();var Az=function(){return(Az=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},Ez=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},Lz=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Rz=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Lz(arguments[t]));return e},Bz=function(){function e(e){this._ilvl=e.ilvl,this._start=e.start,this._numFmt=e.numFmt,this._lvlText=e.lvlText,this._isLgl=e.isLgl,this._lvlJc=e.lvlJc,this._lvlPicBulletId=e.lvlPicBulletId,this.extraAttributes=null!=e.extraAttributes?e.extraAttributes:[],this.extras=null!=e.extras?e.extras.slice():[]}return Object.defineProperty(e.prototype,"ilvl",{get:function(){return this._ilvl},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),e.prototype.setStart=function(e){this._start=e},Object.defineProperty(e.prototype,"numFmt",{get:function(){return this._numFmt},enumerable:!0,configurable:!0}),e.prototype.setNumFmt=function(e){this._numFmt=e},Object.defineProperty(e.prototype,"lvlText",{get:function(){return this._lvlText},enumerable:!0,configurable:!0}),e.prototype.setLvlText=function(e){this._lvlText=e},Object.defineProperty(e.prototype,"isLgl",{get:function(){return this._isLgl},enumerable:!0,configurable:!0}),e.prototype.setIsLgl=function(e){this._isLgl=e},Object.defineProperty(e.prototype,"lvlJc",{get:function(){return this._lvlJc},enumerable:!0,configurable:!0}),e.prototype.setLvlJc=function(e){this._lvlJc=e},Object.defineProperty(e.prototype,"lvlPicBulletId",{get:function(){return this._lvlPicBulletId},enumerable:!0,configurable:!0}),e.prototype.getExtras=function(){return this.extras},e.prototype.setExtraElement=function(e,t){for(var r=[],n=!1,i=0;i<this.extras.length;i+=1){var o=this.extras[i];void 0!==o&&ut(o,e)?n||void 0===t||(r.push(t),n=!0):void 0!==o&&r.push(o)}if(!n&&void 0!==t)if("pPr"===e||"rPr"===e||"legacy"===e)r.push(t);else{for(var a=r.length,i=0;i<r.length;i+=1){var l=r[i];if(void 0!==l&&(ut(l,"pPr")||ut(l,"rPr")||ut(l,"legacy"))){a=i;break}}r.splice(a,0,t)}this.extras=r},e.prototype.findExtra=function(e){for(var t=0;t<this.extras.length;t+=1){var r=this.extras[t];if(void 0!==r&&ut(r,e))return r}},e.prototype.toOpenXml=function(){var e,t,r=[];void 0!==this._start&&r.push(pt("start",{attributes:[ht("val",String(this._start))]})),void 0!==this._numFmt&&r.push(pt("numFmt",{attributes:[ht("val",this._numFmt)]}));var n=new Set(["start","numFmt"]),i=new Set(["isLgl","lvlText","lvlPicBulletId","lvlJc"]),o=[],a=[],l=!1;try{for(var s=Ez(this.extras),u=s.next();!u.done;u=s.next()){var c=u.value;(ut(c,"pPr")||ut(c,"rPr")||ut(c,"legacy"))&&(l=!0),l||ut(c,"pPr")||ut(c,"rPr")||ut(c,"legacy")||ut(c,"lvlJc")?a.push(c):n.has(c.localName)||i.has(c.localName)||o.push(c)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}return r.push.apply(r,Rz(o)),void 0!==this._isLgl&&r.push(iv("isLgl",this._isLgl)),void 0!==this._lvlText&&r.push(pt("lvlText",{attributes:[ht("val",this._lvlText)]})),void 0!==this._lvlPicBulletId&&r.push(pt("lvlPicBulletId",{attributes:[ht("val",String(this._lvlPicBulletId))]})),void 0!==this._lvlJc&&r.push(pt("lvlJc",{attributes:[ht("val",this._lvlJc)]})),r.push.apply(r,Rz(a)),pt("lvl",{attributes:Rz([ht("ilvl",String(this._ilvl))],this.extraAttributes),children:r})},e}(),_z=[{lvlText:"",font:"Symbol"},{lvlText:"o",font:"Courier New"},{lvlText:"",font:"Wingdings"}],jz=[{numFmt:"decimal",lvlJc:"left"},{numFmt:"lowerLetter",lvlJc:"right"},{numFmt:"lowerRoman",lvlJc:"left"}],Mz=function(){return(Mz=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},zz=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Uz=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(zz(arguments[t]));return e},Hz=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},Wz=new Set(["singleLevel","multilevel","hybridMultilevel"]),Gz=function(){function e(e){this._abstractNumId=e.abstractNumId,this._multiLevelType=e.multiLevelType,this._name=e.name,this._styleLink=e.styleLink,this._numStyleLink=e.numStyleLink,this._levels=null!=e.levels?e.levels.slice():[],this.extraAttributes=null!=e.extraAttributes?e.extraAttributes:[],this.prefixExtras=null!=e.prefixExtras?e.prefixExtras:[],this.suffixExtras=null!=e.suffixExtras?e.suffixExtras:[]}return Object.defineProperty(e.prototype,"abstractNumId",{get:function(){return this._abstractNumId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiLevelType",{get:function(){return this._multiLevelType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.setName=function(e){this._name=e},Object.defineProperty(e.prototype,"styleLink",{get:function(){return this._styleLink},enumerable:!0,configurable:!0}),e.prototype.setStyleLink=function(e){this._styleLink=e},Object.defineProperty(e.prototype,"numStyleLink",{get:function(){return this._numStyleLink},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"levels",{get:function(){return this._levels},enumerable:!0,configurable:!0}),e.prototype.toOpenXml=function(){var e,t,r=Uz(this.prefixExtras);void 0!==this._multiLevelType&&r.push(pt("multiLevelType",{attributes:[ht("val",this._multiLevelType)]})),void 0!==this._name&&r.push(pt("name",{attributes:[ht("val",this._name)]})),void 0!==this._styleLink&&r.push(pt("styleLink",{attributes:[ht("val",this._styleLink)]})),void 0!==this._numStyleLink&&r.push(pt("numStyleLink",{attributes:[ht("val",this._numStyleLink)]}));try{for(var n=Hz(this._levels),i=n.next();!i.done;i=n.next()){var o=i.value;r.push(o.toOpenXml())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r.push.apply(r,Uz(this.suffixExtras)),pt("abstractNum",{attributes:Uz([ht("abstractNumId",String(this._abstractNumId))],this.extraAttributes),children:r})},e}();Object.defineProperty(GR.prototype,"listString",{get:function(){return cv(this)},configurable:!0});var qz=["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],Xz=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"],Yz="あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん",Zz="いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす",Kz=function(){return(Kz=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},Jz=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},$z=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Jz(arguments[t]));return e},Qz=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},eU=function(){function e(e){this._ilvl=e.ilvl,this._startOverride=e.startOverride,this._level=e.level,this.extraAttributes=null!=e.extraAttributes?e.extraAttributes:[],this.extras=null!=e.extras?e.extras:[]}return Object.defineProperty(e.prototype,"ilvl",{get:function(){return this._ilvl},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startOverride",{get:function(){return this._startOverride},enumerable:!0,configurable:!0}),e.prototype.setStartOverride=function(e){this._startOverride=e},Object.defineProperty(e.prototype,"level",{get:function(){return this._level},enumerable:!0,configurable:!0}),e.prototype.toOpenXml=function(){var e=[];return void 0!==this._startOverride&&e.push(pt("startOverride",{attributes:[ht("val",String(this._startOverride))]})),void 0!==this._level&&e.push(this._level.toOpenXml()),e.push.apply(e,$z(this.extras)),pt("lvlOverride",{attributes:$z([ht("ilvl",String(this._ilvl))],this.extraAttributes),children:e})},e}(),tU=function(){function e(e){this._numId=e.numId,this._abstractNumId=e.abstractNumId,this._levelOverrides=null!=e.levelOverrides?$z(e.levelOverrides):[],this.extraAttributes=null!=e.extraAttributes?e.extraAttributes:[],this.prefixExtras=null!=e.prefixExtras?e.prefixExtras:[],this.suffixExtras=null!=e.suffixExtras?e.suffixExtras:[]}return Object.defineProperty(e.prototype,"numId",{get:function(){return this._numId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"abstractNumId",{get:function(){return this._abstractNumId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"levelOverrides",{get:function(){return this._levelOverrides},enumerable:!0,configurable:!0}),e.prototype.setStartOverride=function(e,t){var r=this._levelOverrides.find(function(t){return t.ilvl===e});if(void 0!==r)return void r.setStartOverride(t);this._levelOverrides.push(new eU({ilvl:e,startOverride:t}))},e.prototype.toOpenXml=function(){var e,t,r=$z(this.prefixExtras,[pt("abstractNumId",{attributes:[ht("val",String(this._abstractNumId))]})]);try{for(var n=Qz(this._levelOverrides),i=n.next();!i.done;i=n.next()){var o=i.value;r.push(o.toOpenXml())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r.push.apply(r,$z(this.suffixExtras)),pt("num",{attributes:$z([ht("numId",String(this._numId))],this.extraAttributes),children:r})},e}(),rU=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},nU=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(rU(arguments[t]));return e},iU=function(){function e(e){this._numPicBulletId=e.numPicBulletId,this.children=null!=e.children?e.children:[],this.extraAttributes=null!=e.extraAttributes?e.extraAttributes:[]}return Object.defineProperty(e.prototype,"numPicBulletId",{get:function(){return this._numPicBulletId},enumerable:!0,configurable:!0}),e.prototype.toOpenXml=function(){return pt("numPicBullet",{attributes:nU([ht("numPicBulletId",String(this._numPicBulletId))],this.extraAttributes),children:this.children})},e}(),oU=function(){return(oU=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},aU=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},lU=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(aU(arguments[t]));return e},sU=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}};Na(function(e){return new CU(e)});var uU=Be("numbering"),cU="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",dU="http://purl.oclc.org/ooxml/officeDocument/relationships/numbering",hU="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml",fU=q("/word/numbering.xml"),pU=new TextEncoder,vU=function(){function e(e){var t,r,n,i,o,a;this.rootPrefix=lU(null!=e.rootPrefix?e.rootPrefix:[]),this.rootSuffix=lU(null!=e.rootSuffix?e.rootSuffix:[]),this.pictureBulletList=lU(null!=e.pictureBullets?e.pictureBullets:[]),this.abstractNumberingList=lU(null!=e.abstractNumberings?e.abstractNumberings:[]),this.numberingList=lU(null!=e.numberings?e.numberings:[]),this.abstractById=new Map,this.numberingById=new Map,this.pictureById=new Map;try{for(var l=sU(this.pictureBulletList),s=l.next();!s.done;s=l.next()){var u=s.value;this.pictureById.set(u.numPicBulletId,u)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}try{for(var c=sU(this.abstractNumberingList),d=c.next();!d.done;d=c.next()){var h=d.value;this.abstractById.set(h.abstractNumId,h)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}try{for(var f=sU(this.numberingList),p=f.next();!p.done;p=f.next()){var v=p.value;this.numberingById.set(v.numId,v)}}catch(e){o={error:e}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}this.numIdMacAtCleanupValue=e.numIdMacAtCleanup,this.pendingNumIds=new Set,this.pendingDecimalNumIds=new Set,this.dirty=e.dirty}return Object.defineProperty(e.prototype,"pictureBullets",{get:function(){return this.pictureBulletList},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"abstractNumberings",{get:function(){return this.abstractNumberingList},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberings",{get:function(){return this.numberingList},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numIdMacAtCleanup",{get:function(){return this.numIdMacAtCleanupValue},enumerable:!0,configurable:!0}),e.prototype.getAbstractNumbering=function(e){return this.abstractById.get(e)},e.prototype.getNumbering=function(e){return this.numberingById.get(e)},e.prototype.getPictureBullet=function(e){return this.pictureById.get(e)},e.prototype.hasInstance=function(e){return this.numberingById.has(e)||this.pendingNumIds.has(e)},e.prototype.ensureInstance=function(e,t){if(void 0===t&&(t="bullet"),e<1)throw new $N("content/invalid-num-id","Numbering instance id must be at least 1");if(!this.numberingById.has(e)){var r=this.nextAbstractNumId(),n=lv(r,t),i=Fv(e,r);this.abstractNumberingList.push(n),this.abstractById.set(r,n),this.numberingList.push(i),this.numberingById.set(e,i),this.dirty=!0}},e.prototype.createBulletInstance=function(){var e=this.nextNumId();return this.pendingNumIds.add(e),e},e.prototype.createDecimalInstance=function(){var e=this.nextNumId();return this.pendingDecimalNumIds.add(e),this.pendingNumIds.add(e),e},e.prototype.registerAbstract=function(e){if(this.abstractById.has(e.abstractNumId))throw new $N("content/invalid-num-id","Abstract numbering id "+String(e.abstractNumId)+" already exists");this.abstractNumberingList.push(e),this.abstractById.set(e.abstractNumId,e),this.dirty=!0},e.prototype.allocateAbstractNumId=function(){return this.nextAbstractNumId()},e.prototype.createInstanceFromAbstract=function(e,t){if(!this.abstractById.has(e))throw new $N("content/invalid-num-id","Abstract numbering id "+String(e)+" is not defined");var r=this.nextNumId(),n=Fv(r,e);return void 0!==t&&n.setStartOverride(0,t),this.numberingList.push(n),this.numberingById.set(r,n),this.dirty=!0,r},e.prototype.markDirty=function(){this.dirty=!0},e.prototype.registerPendingInstance=function(e,t){void 0===t&&(t="bullet"),this.numberingById.has(e)||(this.pendingNumIds.add(e),"decimal"===t&&this.pendingDecimalNumIds.add(e))},e.prototype.isPendingDecimal=function(e){return this.pendingDecimalNumIds.has(e)},e.prototype.materializePending=function(e){var t,r,n=this,i=[],o=new Set;Mt(e,function(e){var t=e.numId;void 0===t||t<1||n.numberingById.has(t)||o.has(t)||(o.add(t),i.push(t))});try{for(var a=sU(i),l=a.next();!l.done;l=a.next()){var s=l.value,u=this.pendingDecimalNumIds.has(s)?"decimal":"bullet";this.ensureInstance(s,u),this.pendingNumIds.delete(s),this.pendingDecimalNumIds.delete(s)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},e.prototype.isDirty=function(){return this.dirty},e.prototype.serialize=function(){var e,t,r,n,i,o,a=lU(this.rootPrefix);try{for(var l=sU(this.pictureBulletList),s=l.next();!s.done;s=l.next()){var u=s.value;a.push(u.toOpenXml())}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}try{for(var c=sU(this.abstractNumberingList),d=c.next();!d.done;d=c.next()){var h=d.value;a.push(h.toOpenXml())}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}try{for(var f=sU(this.numberingList),p=f.next();!p.done;p=f.next()){var v=p.value;a.push(v.toOpenXml())}}catch(e){i={error:e}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}void 0!==this.numIdMacAtCleanupValue&&a.push(pt("numIdMacAtCleanup",{attributes:[ht("val",String(this.numIdMacAtCleanupValue))]})),a.push.apply(a,lU(this.rootSuffix));var m=pt("numbering",{namespaceDeclarations:[{prefix:"w",namespaceUri:cA}],children:a});return pU.encode(y(m))},e.prototype.nextNumId=function(){var e,t,r,n,i=0;try{for(var o=sU(this.numberingById.keys()),a=o.next();!a.done;a=o.next())(u=a.value)>i&&(i=u)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}try{for(var l=sU(this.pendingNumIds),s=l.next();!s.done;s=l.next()){var u=s.value;u>i&&(i=u)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return i+1},e.prototype.nextAbstractNumId=function(){var e,t,r=-1;try{for(var n=sU(this.abstractById.keys()),i=n.next();!i.done;i=n.next()){var o=i.value;o>r&&(r=o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r+1},e}(),mU=!1;Object.defineProperty(GR.prototype,"numbering",{set:function(e){_v(this,e)}}),Qt(function(){Rv()}),Rv(),function(e){e.Bulleted="bulleted",e.Numbered="numbered"}(e.ListType||(e.ListType={})),function(e){e.Arabic="arabic",e.LeadingZero="leadingZero",e.Letter="letter",e.LetterLow="letterLow",e.Roman="roman",e.RomanLow="romanLow",e.Ordinal="ordinal",e.OrdinalText="ordinalText",e.CardinalText="cardinalText",e.Bullet="bullet",e.NoNumber="noNumber",e.FarEast="farEast",e.Special="special",e.Hebrew1="hebrew1",e.Hebrew2="hebrew2",e.HindiArabic="hindiArabic",e.HindiCardinalText="hindiCardinalText",e.HindiLetter1="hindiLetter1",e.HindiLetter2="hindiLetter2",e.ChineseCounting="chineseCounting",e.ChineseCountingThousand="chineseCountingThousand",e.ChineseLegalSimplified="chineseLegalSimplified",e.JapaneseCounting="japaneseCounting",e.JapaneseDigitalTenThousand="japaneseDigitalTenThousand",e.JapaneseLegal="japaneseLegal",e.KoreanCounting="koreanCounting",e.KoreanDigital="koreanDigital",e.KoreanDigital2="koreanDigital2",e.KoreanLegal="koreanLegal",e.Aiueo="aiueo",e.AiueoFullWidth="aiueoFullWidth",e.Iroha="iroha",e.IrohaFullWidth="irohaFullWidth",e.Ganada="ganada",e.Chosung="chosung",e.DecimalEnclosedCircle="decimalEnclosedCircle",e.DecimalFullWidth="decimalFullWidth",e.DecimalHalfWidth="decimalHalfWidth",e.DecimalEnclosedFullstop="decimalEnclosedFullstop",e.DecimalEnclosedParen="decimalEnclosedParen",e.DecimalEnclosedCircleChinese="decimalEnclosedCircleChinese",e.IdeographEnclosedCircle="ideographEnclosedCircle",e.IdeographTraditional="ideographTraditional",e.IdeographZodiac="ideographZodiac",e.IdeographZodiacTraditional="ideographZodiacTraditional",e.TaiwaneseCounting="taiwaneseCounting",e.TaiwaneseCountingThousand="taiwaneseCountingThousand",e.TaiwaneseDigital="taiwaneseDigital",e.None="none",e.Custom="custom"}(e.ListPatternType||(e.ListPatternType={})),function(e){e.Tab="tab",e.Space="space",e.Nothing="nothing"}(e.FollowCharacterType||(e.FollowCharacterType={})),function(e){e.Left="left",e.Center="center",e.Right="right"}(e.ListNumberAlignment||(e.ListNumberAlignment={}));var yU={arabic:"decimal",leadingZero:"decimalZero",letter:"upperLetter",letterLow:"lowerLetter",roman:"upperRoman",romanLow:"lowerRoman",ordinal:"ordinal",ordinalText:"ordinalText",cardinalText:"cardinalText",bullet:"bullet",noNumber:"none",none:"none",hebrew1:"hebrew1",hebrew2:"hebrew2",hindiArabic:"hindiNumbers",hindiCardinalText:"hindiCounting",hindiLetter1:"hindiVowels",hindiLetter2:"hindiConsonants",chineseCounting:"chineseCounting",chineseCountingThousand:"chineseCountingThousand",chineseLegalSimplified:"chineseLegalSimplified",japaneseCounting:"japaneseCounting",japaneseDigitalTenThousand:"japaneseDigitalTenThousand",japaneseLegal:"japaneseLegal",koreanCounting:"koreanCounting",koreanDigital:"koreanDigital",koreanDigital2:"koreanDigital2",koreanLegal:"koreanLegal",aiueo:"aiueo",aiueoFullWidth:"aiueoFullWidth",iroha:"iroha",irohaFullWidth:"irohaFullWidth",ganada:"ganada",chosung:"chosung",decimalEnclosedCircle:"decimalEnclosedCircle",decimalFullWidth:"decimalFullWidth",decimalHalfWidth:"decimalHalfWidth",decimalEnclosedFullstop:"decimalEnclosedFullstop",decimalEnclosedParen:"decimalEnclosedParen",decimalEnclosedCircleChinese:"decimalEnclosedCircleChinese",ideographEnclosedCircle:"ideographEnclosedCircle",ideographTraditional:"ideographTraditional",ideographZodiac:"ideographZodiac",ideographZodiacTraditional:"ideographZodiacTraditional",taiwaneseCounting:"taiwaneseCounting",taiwaneseCountingThousand:"taiwaneseCountingThousand",taiwaneseDigital:"taiwaneseDigital",farEast:"ideographTraditional",special:"bullet",custom:"decimal"},gU={decimal:e.ListPatternType.Arabic,decimalZero:e.ListPatternType.LeadingZero,upperLetter:e.ListPatternType.Letter,lowerLetter:e.ListPatternType.LetterLow,upperRoman:e.ListPatternType.Roman,lowerRoman:e.ListPatternType.RomanLow,ordinal:e.ListPatternType.Ordinal,ordinalText:e.ListPatternType.OrdinalText,cardinalText:e.ListPatternType.CardinalText,bullet:e.ListPatternType.Bullet,none:e.ListPatternType.None,hebrew1:e.ListPatternType.Hebrew1,hebrew2:e.ListPatternType.Hebrew2,hindiNumbers:e.ListPatternType.HindiArabic,hindiCounting:e.ListPatternType.HindiCardinalText,hindiVowels:e.ListPatternType.HindiLetter1,hindiConsonants:e.ListPatternType.HindiLetter2,chineseCounting:e.ListPatternType.ChineseCounting,chineseCountingThousand:e.ListPatternType.ChineseCountingThousand,chineseLegalSimplified:e.ListPatternType.ChineseLegalSimplified,japaneseCounting:e.ListPatternType.JapaneseCounting,japaneseDigitalTenThousand:e.ListPatternType.JapaneseDigitalTenThousand,japaneseLegal:e.ListPatternType.JapaneseLegal,koreanCounting:e.ListPatternType.KoreanCounting,koreanDigital:e.ListPatternType.KoreanDigital,koreanDigital2:e.ListPatternType.KoreanDigital2,koreanLegal:e.ListPatternType.KoreanLegal,aiueo:e.ListPatternType.Aiueo,aiueoFullWidth:e.ListPatternType.AiueoFullWidth,iroha:e.ListPatternType.Iroha,irohaFullWidth:e.ListPatternType.IrohaFullWidth,ganada:e.ListPatternType.Ganada,chosung:e.ListPatternType.Chosung,decimalEnclosedCircle:e.ListPatternType.DecimalEnclosedCircle,decimalFullWidth:e.ListPatternType.DecimalFullWidth,decimalHalfWidth:e.ListPatternType.DecimalHalfWidth,decimalEnclosedFullstop:e.ListPatternType.DecimalEnclosedFullstop,decimalEnclosedParen:e.ListPatternType.DecimalEnclosedParen,decimalEnclosedCircleChinese:e.ListPatternType.DecimalEnclosedCircleChinese,ideographEnclosedCircle:e.ListPatternType.IdeographEnclosedCircle,ideographTraditional:e.ListPatternType.IdeographTraditional,ideographZodiac:e.ListPatternType.IdeographZodiac,ideographZodiacTraditional:e.ListPatternType.IdeographZodiacTraditional,taiwaneseCounting:e.ListPatternType.TaiwaneseCounting,taiwaneseCountingThousand:e.ListPatternType.TaiwaneseCountingThousand,taiwaneseDigital:e.ListPatternType.TaiwaneseDigital},bU=function(){function t(e,t){this.owner=e,this.level=t,this.suppressDirty=!1,this.characterFormatValue=new RL(this),this.paragraphFormatValue=new dR(this),this.hydrateFormatsFromLevel()}return Object.defineProperty(t.prototype,"listStyle",{get:function(){return this.owner},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"levelNumber",{get:function(){return this.level.ilvl},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"patternType",{get:function(){return zv(this.level.numFmt)},set:function(t){if("string"!=typeof t||!Hv(t))throw new oA("patternType must be a ListPatternType value");if(this.level.setNumFmt(Mv(t)),t===e.ListPatternType.Bullet){var r=this.level.lvlText;(void 0===r||r.indexOf("%")>=0)&&this.level.setLvlText("")}else if(t!==e.ListPatternType.NoNumber&&t!==e.ListPatternType.None){var n=Qv(this.level.lvlText,this.level.ilvl);if(0===n.body.length||n.body.indexOf("%")<0){var i="%"+String(this.level.ilvl+1);this.level.setLvlText(em(n.prefix,i,n.suffix.length>0?n.suffix:"."))}}this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startAt",{get:function(){var e=this.level.start;return void 0!==e?e:1},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||Math.floor(e)!==e||e<0)throw new oA("startAt must be a non-negative integer");this.level.setStart(e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"levelText",{get:function(){var e=this.level.lvlText;return void 0!==e?e:""},set:function(e){if("string"!=typeof e)throw new oA("levelText must be a string");this.level.setLvlText(e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numberPrefix",{get:function(){return rm(Qv(this.level.lvlText,this.level.ilvl).prefix)},set:function(e){if("string"!=typeof e)throw new oA("numberPrefix must be a string");var t=Qv(this.level.lvlText,this.level.ilvl),r=t.body;(0===r.length||r.indexOf("%")<0)&&(r="bullet"===this.level.numFmt?"":"%"+String(this.level.ilvl+1));var n=tm(e);this.level.setLvlText(em(n,r,t.suffix)),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numberSuffix",{get:function(){return rm(Qv(this.level.lvlText,this.level.ilvl).suffix)},set:function(e){if("string"!=typeof e)throw new oA("numberSuffix must be a string");var t=Qv(this.level.lvlText,this.level.ilvl),r=t.body;(0===r.length||r.indexOf("%")<0)&&(r="bullet"===this.level.numFmt?"":"%"+String(this.level.ilvl+1));var n=tm(e);this.level.setLvlText(em(t.prefix,r,n)),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bulletCharacter",{get:function(){if("bullet"!==this.level.numFmt)return"";var e=this.level.lvlText;return void 0!==e?e:""},set:function(e){if("string"!=typeof e)throw new oA("bulletCharacter must be a string");this.level.setNumFmt("bullet"),this.level.setLvlText(e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"followCharacter",{get:function(){var t=this.level.findExtra("suff"),r=void 0!==t?vt(t):void 0;return"space"===r?e.FollowCharacterType.Space:"nothing"===r?e.FollowCharacterType.Nothing:e.FollowCharacterType.Tab},set:function(t){if("string"!=typeof t||!Wv(t))throw new oA("followCharacter must be a FollowCharacterType value");var r="tab";t===e.FollowCharacterType.Space?r="space":t===e.FollowCharacterType.Nothing&&(r="nothing"),this.level.setExtraElement("suff",pt("suff",{attributes:[ht("val",r)]})),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numberAlignment",{get:function(){var t=this.level.lvlJc;return"center"===t?e.ListNumberAlignment.Center:"right"===t?e.ListNumberAlignment.Right:e.ListNumberAlignment.Left},set:function(e){if("string"!=typeof e||!Gv(e))throw new oA("numberAlignment must be a ListNumberAlignment value");this.level.setLvlJc(e),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabSpaceAfter",{get:function(){var e=this.level.findExtra("pPr");if(void 0===e)return 0;for(var t=ct(e),r=0;r<t.length;r+=1){var n=t[r];if(ut(n,"tabs"))for(var i=ct(n),o=0;o<i.length;o+=1){var a=i[o];if(ut(a,"tab")){var l=Yv(a,"pos");if(void 0!==l)return Ur(l)}}}return 0},set:function(e){Xv("tabSpaceAfter",e);var t=zr(e),r=this.level.findExtra("pPr");void 0===r&&(r=pt("pPr",{children:[]}));var n=ct(r).slice().filter(function(e){return!ut(e,"tabs")});n.push(pt("tabs",{children:[pt("tab",{attributes:[ht("val","left"),ht("pos",String(t))]})]})),this.level.setExtraElement("pPr",pt("pPr",{attributes:r.attributes.slice(),children:n})),this.suppressDirty=!0;try{this.paragraphFormatValue.hydrate($f(this.level.findExtra("pPr")))}finally{this.suppressDirty=!1}this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numberPosition",{get:function(){var e=Jv(this.level.findExtra("pPr")),t=Yv(e,"left"),r=Yv(e,"hanging");return void 0===t?0:Ur(t-(void 0!==r?r:0))},set:function(e){qv("numberPosition",e);var t=zr(e),r=Kv(this.level.findExtra("pPr")),n=Jv(r),i=Yv(n,"hanging");r=$v(r,n=Zv(n,"left",t+(void 0!==i?i:0))),this.level.setExtraElement("pPr",r),this.suppressDirty=!0;try{this.paragraphFormatValue.hydrate($f(r))}finally{this.suppressDirty=!1}this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textPosition",{get:function(){var e=Yv(Jv(this.level.findExtra("pPr")),"left");return void 0!==e?Ur(e):0},set:function(e){qv("textPosition",e);var t=zr(e),r=Kv(this.level.findExtra("pPr")),n=Jv(r),i=t-zr(this.numberPosition);i<0&&(i=0),r=$v(r,n=Zv(n=Zv(n,"left",t),"hanging",i)),this.level.setExtraElement("pPr",r),this.suppressDirty=!0;try{this.paragraphFormatValue.hydrate($f(r))}finally{this.suppressDirty=!1}this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"restartLevel",{get:function(){var e=this.level.findExtra("lvlRestart"),t=void 0!==e?vt(e):void 0;return void 0!==t&&/^\d+$/.test(t)?parseInt(t,10):this.level.ilvl},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||Math.floor(e)!==e||e<0||e>8)throw new oA("restartLevel must be an integer from 0 through 8");this.level.setExtraElement("lvlRestart",pt("lvlRestart",{attributes:[ht("val",String(e))]})),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLegalStyleNumbering",{get:function(){return!0===this.level.isLgl},set:function(e){if("boolean"!=typeof e)throw new oA("isLegalStyleNumbering must be a boolean");this.level.setIsLgl(!!e||void 0),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"linkedParagraphStyleName",{get:function(){var e=this.level.findExtra("pStyle"),t=void 0!==e?vt(e):void 0;return void 0!==t?t:""},set:function(e){if("string"!=typeof e)throw new oA("linkedParagraphStyleName must be a string");var t=e.trim();0===t.length?this.level.setExtraElement("pStyle",void 0):this.level.setExtraElement("pStyle",pt("pStyle",{attributes:[ht("val",t)]})),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"characterFormat",{get:function(){return this.characterFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paragraphFormat",{get:function(){return this.paragraphFormatValue},enumerable:!0,configurable:!0}),t.prototype.notifyCharacterFormatMutation=function(){if(!this.suppressDirty){var e=this.characterFormatValue.buildRPrChildren?this.characterFormatValue.buildRPrChildren():void 0,t=[];void 0!==e?t=e:void 0!==(this.characterFormatValue.snapshot?this.characterFormatValue.snapshot():void 0)&&(t=nm(this.characterFormatValue)),0===t.length?this.level.setExtraElement("rPr",void 0):this.level.setExtraElement("rPr",pt("rPr",{children:t})),this.markDirty()}},t.prototype.notifyParagraphFormatMutation=function(){if(!this.suppressDirty){var e=this.paragraphFormatValue.buildPPrChildren();0===e.length?this.level.setExtraElement("pPr",void 0):this.level.setExtraElement("pPr",pt("pPr",{children:e})),this.markDirty()}},t.prototype.hydrateFormatsFromLevel=function(){this.suppressDirty=!0;try{var e=this.level.findExtra("rPr");this.characterFormatValue.hydrate(void 0!==e?Jf(e):qn(pt("rPr")));var t=this.level.findExtra("pPr");this.paragraphFormatValue.hydrate(void 0!==t?$f(t):Vo())}finally{this.suppressDirty=!1}},t.prototype.markDirty=function(){this.owner.markNumberingDirty()},t}(),wU=function(){function e(e){this.items=e}return Object.defineProperty(e.prototype,"count",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),e.prototype.getItem=function(e){if("number"!=typeof e||!Number.isFinite(e)||Math.floor(e)!==e||e<0||e>8)throw new oA("level index must be an integer from 0 through 8");var t=this.items[e];if(void 0===t)throw new $N("content/invalid-num-id","List level "+String(e)+" is not defined");return t},e}(),PU=function(){function e(e){this.document=e.document,this.styleIdValue=e.styleId,this.displayName=e.displayName,this.listTypeValue=e.listType,this.abstractNumId=e.abstractNumId,this.levelsValue=new wU(e.levels)}return Object.defineProperty(e.prototype,"name",{get:function(){return this.displayName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"listType",{get:function(){return this.listTypeValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"levels",{get:function(){return this.levelsValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styleId",{get:function(){return this.styleIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"abstractId",{get:function(){return this.abstractNumId},enumerable:!0,configurable:!0}),e.prototype.markNumberingDirty=function(){jv(this.document).markDirty()},e}(),SU=new WeakMap;Object.defineProperty(mB.prototype,"addListStyle",{value:function(e,t){return im(this,e,t)},writable:!0,configurable:!0});var xU,CU=function(){function t(e){this.paragraph=e}return Object.defineProperty(t.prototype,"ownerParagraph",{get:function(){return this.paragraph},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"listId",{get:function(){return this.paragraph.numId},set:function(e){if(void 0===e)return void this.removeList();if("number"!=typeof e||!Number.isFinite(e)||e<1||Math.floor(e)!==e)throw new oA("listId must be a positive integer");var t=this.catalog();if(void 0===t.getNumbering(e)){if(!t.hasInstance(e))throw new $N("content/invalid-num-id","Numbering instance "+String(e)+" is not defined in this document");t.registerPendingInstance(e)}else t.registerPendingInstance(e);this.paragraph.numId=e,void 0===this.paragraph.listLevel&&(this.paragraph.listLevel=0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"listLevelNumber",{get:function(){return this.paragraph.listLevel},set:function(e){if(void 0===e){if(void 0===this.paragraph.numId)return void(this.paragraph.listLevel=void 0);throw new oA("listLevelNumber cannot be cleared while the paragraph remains in a list")}this.assertLevel(e),this.assertLevelExistsOnAbstract(e),this.paragraph.listLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isList",{get:function(){return void 0!==this.paragraph.numId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"listType",{get:function(){var t=this.numberFormat;if(void 0!==t)return"bullet"===t?e.ListType.Bulleted:e.ListType.Numbered},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numberFormat",{get:function(){var e=this.resolvedListLevel;return void 0===e?void 0:e.numFmt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"levelText",{get:function(){var e=this.resolvedListLevel;return void 0===e?void 0:e.lvlText},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"listStyleName",{get:function(){return this.listStyleNameValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startAt",{get:function(){var e=this.paragraph.numId;if(void 0!==e){var t=this.activeLevelIndex();try{var r=this.catalog().getNumbering(e);if(void 0!==r){var n=r.levelOverrides.find(function(e){return e.ilvl===t});if(void 0!==n&&void 0!==n.startOverride)return n.startOverride}}catch(e){}var i=this.resolvedListLevel;return void 0===i?void 0:i.start}},set:function(e){if(void 0===e)throw new oA("startAt cannot be cleared; pass a non-negative integer");this.assertStartAt(e);var t=this.paragraph.numId;if(void 0===t)throw new $N("content/not-in-list","Paragraph is not in a list; apply a list style before setting startAt");var r=this.catalog();if(void 0===r.getNumbering(t)){var n=this.inferEnsureFormat();r.ensureInstance(t,n)}var i=r.getNumbering(t);if(void 0===i)throw new $N("content/invalid-num-id","Numbering instance "+String(t)+" could not be resolved");i.setStartOverride(this.activeLevelIndex(),e),r.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"abstractNumId",{get:function(){var e=this.resolvedList;return void 0===e?void 0:e.abstractNumId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiLevelType",{get:function(){var e=this.resolvedAbstractList;return void 0===e?void 0:e.multiLevelType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){var e=this.resolvedAbstractList;return void 0===e?void 0:e.name},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"resolvedList",{get:function(){var e=this.paragraph.numId;if(void 0!==e)try{return this.catalog().getNumbering(e)}catch(e){return}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"resolvedAbstractList",{get:function(){var e=this.resolvedList;if(void 0!==e)try{return this.catalog().getAbstractNumbering(e.abstractNumId)}catch(e){return}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"resolvedListLevel",{get:function(){var e=this.paragraph.numId;if(void 0!==e){var t=this.activeLevelIndex();try{return lm(this.catalog(),e,t)}catch(e){return}}},enumerable:!0,configurable:!0}),t.prototype.applyDefBulletStyle=function(){var e=this.catalog().createBulletInstance();this.paragraph.numId=e,this.paragraph.listLevel=0,this.listStyleNameValue=void 0},t.prototype.applyDefNumberedStyle=function(){var e=this.catalog().createDecimalInstance();this.paragraph.numId=e,this.paragraph.listLevel=0,this.listStyleNameValue=void 0},t.prototype.applyStyle=function(e){if("string"!=typeof e||""===e.trim())throw new oA("styleName must be a non-empty string");var t=e.trim(),r=this.paragraph.owningDocument();if(void 0===xU)throw new $N("feature/not-registered","Styles part is required to apply a list style; ensure styles are registered");var n;try{n=xU(r)}catch(e){throw new $N("feature/not-registered","Styles part is required to apply a list style; ensure styles are registered",e instanceof Error?{cause:e}:void 0)}var i=void 0!==n.getStyle(t)?n.getStyle(t):n.findStyleByDisplayName(t);if(void 0===i)throw new $N("styles/undefined-style",'Style "'+t+'" is not defined in this document');if("numbering"!==i.type)throw new $N("styles/invalid-type-for-target",'Style "'+i.styleId+'" is a '+String(i.type)+" style and cannot be used as a numbering style");var o=sm(this.catalog(),i.styleId,i.name);this.paragraph.numId=o,this.paragraph.listLevel=0,this.listStyleNameValue=void 0!==i.name?i.name:i.styleId},t.prototype.continueListNumbering=function(){var e,t=this,r=!1;if(Mt(this.paragraph.owningDocument(),function(n){if(!r)return n===t.paragraph?void(r=!0):void(void 0!==n.numId&&(e=n))}),void 0===e||void 0===e.numId)throw new $N("content/no-preceding-list","No preceding list paragraph is available to continue");var n=void 0!==this.paragraph.listLevel?this.paragraph.listLevel:void 0!==e.listLevel?e.listLevel:0;this.paragraph.numId=e.numId,this.paragraph.listLevel=n;try{this.catalog().registerPendingInstance(e.numId)}catch(e){}},t.prototype.restartNumbering=function(e){var t=this.paragraph.numId;if(void 0===t)throw new $N("content/not-in-list","Paragraph is not in a list; apply a list style before restarting");void 0!==e&&this.assertStartAt(e);var r=this.catalog();void 0===r.getNumbering(t)&&r.ensureInstance(t,this.inferEnsureFormat());var n=r.getNumbering(t);if(void 0===n)throw new $N("content/invalid-num-id","Numbering instance "+String(t)+" could not be resolved");var i=this.activeLevelIndex(),o=void 0!==e?e:1,a=r.createInstanceFromAbstract(n.abstractNumId),l=r.getNumbering(a);if(void 0===l)throw new $N("content/invalid-num-id","Failed to create restarted numbering instance");l.setStartOverride(i,o),r.markDirty(),this.paragraph.numId=a,this.paragraph.listLevel=i},t.prototype.increaseIndentLevel=function(){if(void 0!==this.paragraph.numId){var e=this.activeLevelIndex();e>=8||(this.paragraph.listLevel=e+1)}},t.prototype.decreaseIndentLevel=function(){if(void 0!==this.paragraph.numId){var e=this.activeLevelIndex();e<=0||(this.paragraph.listLevel=e-1)}},t.prototype.removeList=function(){this.paragraph.numId=void 0,this.paragraph.listLevel=void 0,this.listStyleNameValue=void 0},t.prototype.catalog=function(){return Bv(this.paragraph.owningDocument())},t.prototype.activeLevelIndex=function(){var e=this.paragraph.listLevel;return void 0!==e?e:0},t.prototype.assertLevel=function(e){if("number"!=typeof e||!Number.isFinite(e)||Math.floor(e)!==e)throw new oA("list level must be an integer from 0 through 8");if(e<0||e>8)throw new oA("list level must be an integer from 0 through 8")},t.prototype.assertStartAt=function(e){if("number"!=typeof e||!Number.isFinite(e)||Math.floor(e)!==e)throw new oA("startAt must be a finite integer");if(e<0)throw new oA("startAt must be a non-negative integer")},t.prototype.assertLevelExistsOnAbstract=function(e){var t=this.paragraph.numId;if(void 0!==t)try{var r=this.catalog(),n=r.getNumbering(t);if(void 0===n)return;var i=r.getAbstractNumbering(n.abstractNumId);if(void 0===i)return;var o=n.levelOverrides.find(function(t){return t.ilvl===e});if(void 0!==o&&void 0!==o.level)return;if(void 0===i.levels.find(function(t){return t.ilvl===e}))throw new $N("content/invalid-list-level","List level "+String(e)+" does not exist on numbering instance "+String(t))}catch(e){if(e instanceof $N||e instanceof oA)throw e}},t.prototype.inferEnsureFormat=function(){var e=this.paragraph.numId;if(void 0===e)return"bullet";try{if(this.catalog().isPendingDecimal(e))return"decimal";var t=this.numberFormat;if(void 0!==t&&"bullet"!==t)return"decimal"}catch(e){}return"bullet"},t}(),IU=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},VU=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(IU(arguments[t]));return e},TU=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}};!function(e){xU=e}(function(e){return mm(e)});var kU=Be("styles"),FU="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",DU="http://purl.oclc.org/ooxml/officeDocument/relationships/styles",OU="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml",NU=q("/word/styles.xml"),AU=new TextDecoder("utf-8"),EU=new TextEncoder,LU=function(){function e(e,t,r,n,i,o){var a,l;this.docDefaultsValue=e,this.latentStylesValue=t,this.shellList=VU(r),this.shellById=new Map;try{for(var s=TU(this.shellList),u=s.next();!u.done;u=s.next()){var c=u.value;this.shellById.set(c.styleId,c)}}catch(e){a={error:e}}finally{try{u&&!u.done&&(l=s.return)&&l.call(s)}finally{if(a)throw a.error}}this.collection=void 0,this.projectedById=new Map,this.rootExtrasBeforeStyles=n,this.rootExtrasAfterStyles=i,this.pendingParagraphStyles=new Set,this.pendingCharacterStyles=new Set,this.pendingTableStyles=new Set,this.dirty=o}return e.prototype.markStylesDirty=function(){this.dirty=!0},e.prototype.forgetProjectedStyle=function(e){this.projectedById.delete(e),this.shellById.delete(e),this.pendingParagraphStyles.delete(e),this.pendingCharacterStyles.delete(e),this.pendingTableStyles.delete(e),this.shellList.length>0&&(this.shellList=this.shellList.filter(function(t){return t.styleId!==e}))},e.prototype.purgeContentStyleReferences=function(e,t){Cm(e,t)},e.prototype.bindLiveCollection=function(e){if(this.collection!==e){if(this.collection=e,this.shellList.length>0){var t=this.takeShells();e.replaceFromDocxStyles(t,!1)}for(var r=Array.from(this.pendingParagraphStyles),n=0;n<r.length;n+=1)e.registerPendingParagraphStyle(r[n]);this.pendingParagraphStyles.clear();for(var i=Array.from(this.pendingCharacterStyles),n=0;n<i.length;n+=1)e.registerPendingCharacterStyle(i[n]);this.pendingCharacterStyles.clear();for(var o=Array.from(this.pendingTableStyles),n=0;n<o.length;n+=1)e.registerPendingTableStyle(o[n]);this.pendingTableStyles.clear(),this.projectedById.clear()}},e.prototype.takeShells=function(){var e=this.shellList.slice();return this.shellList=[],this.shellById.clear(),e},e.prototype.liveCollection=function(){return this.collection},Object.defineProperty(e.prototype,"styles",{get:function(){if(void 0!==this.collection){for(var e=this.collection.stylesInOrder(),t=[],r=0;r<e.length;r+=1){var n=e[r].styleId,i=this.projectedById.get(n);void 0===i&&void 0!==(i=this.collection.projectDocxStyle(n))&&this.projectedById.set(n,i),void 0!==i&&t.push(i)}return t}return this.shellList},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"docDefaults",{get:function(){return this.docDefaultsValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"latentStyles",{get:function(){return this.latentStylesValue},enumerable:!0,configurable:!0}),e.prototype.getStyle=function(e){if(void 0!==this.collection){var t=this.projectedById.get(e);if(void 0!==t)return t;var r=this.collection.projectDocxStyle(e);return void 0!==r&&this.projectedById.set(e,r),r}return this.shellById.get(e)},e.prototype.hasStyle=function(e){return void 0!==this.collection?this.collection.hasStyle(e):this.shellById.has(e)||this.pendingParagraphStyles.has(e)||this.pendingCharacterStyles.has(e)||this.pendingTableStyles.has(e)},e.prototype.docDefaultsRunProperties=function(){var e=this.docDefaultsValue;return void 0===e?Xj:e.runProperties()},e.prototype.docDefaultsParagraphProperties=function(){var e=this.docDefaultsValue;return void 0===e?Nj:e.paragraphProperties()},e.prototype.styleRunProperties=function(e){if(void 0!==this.collection){var t=this.collection.getStyle(e);if(void 0===t)return;return Yf(t.characterFormatSnapshot())}var r=this.shellById.get(e);if(void 0!==r)return r.runProperties()},e.prototype.styleBasedOn=function(e){if(void 0!==this.collection){var t=this.collection.getStyle(e);if(void 0===t)return;return t.basedOnId}var r;return r=this.shellById.get(e),null==r?void 0:r.basedOn},e.prototype.ensureParagraphStyle=function(e){if(void 0!==this.collection)return void this.collection.ensureParagraphStyle(e);this.ensureStyle(e,"paragraph")},e.prototype.ensureCharacterStyle=function(e){if(void 0!==this.collection)return void this.collection.ensureCharacterStyle(e);this.ensureStyle(e,"character")},e.prototype.ensureTableStyle=function(e){if(void 0!==this.collection)return void this.collection.ensureTableStyle(e);this.ensureStyle(e,"table")},e.prototype.registerPendingParagraphStyle=function(e){if(void 0!==this.collection)return void this.collection.registerPendingParagraphStyle(e);this.shellById.has(e)||this.pendingParagraphStyles.add(e)},e.prototype.registerPendingCharacterStyle=function(e){if(void 0!==this.collection)return void this.collection.registerPendingCharacterStyle(e);this.shellById.has(e)||this.pendingCharacterStyles.add(e)},e.prototype.registerPendingTableStyle=function(e){if(void 0!==this.collection)return void this.collection.registerPendingTableStyle(e);this.shellById.has(e)||this.pendingTableStyles.add(e)},e.prototype.materializePending=function(e){var t=this;cm(e);var r=this.collection;if(void 0!==r)return Mt(e,function(e){var t,n,i=e.styleId;void 0!==i&&i.length>0&&!r.hasStyle(i)&&(r.ensureParagraphStyle(i),void 0!==(u=r.getStyle(i))&&u.styleId!==i&&(e.styleId=u.styleId));try{for(var o=TU(e.items),a=o.next();!a.done;a=o.next()){var l=a.value;if(l instanceof MR){var s=l.characterFormat.characterStyle;if(void 0!==s&&s.length>0&&!r.hasStyle(s)){r.ensureCharacterStyle(s);var u=r.getStyle(s);void 0!==u&&u.styleId!==s&&(l.characterFormat.characterStyle=u.styleId)}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}}),Tm(e,function(e){var t=e.styleId;if(void 0!==t&&t.length>0&&!r.hasStyle(t)){r.ensureTableStyle(t);var n=r.getStyle(t);void 0!==n&&n.styleId!==t&&(e.styleId=n.styleId)}}),void r.materializePendingIds(function(t,r){Mt(e,function(e){e.styleId===t&&(e.styleId=r)})},function(t,r){Mt(e,function(e){var n,i;try{for(var o=TU(e.items),a=o.next();!a.done;a=o.next()){var l=a.value;l instanceof MR&&(l.characterFormat.characterStyle===t&&(l.characterFormat.characterStyle=r))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}})},function(t,r){Tm(e,function(e){e.styleId===t&&(e.styleId=r)})});Mt(e,function(e){var r,n,i=e.styleId;void 0===i||t.shellById.has(i)||(t.ensureStyle(i,"paragraph"),t.pendingParagraphStyles.delete(i),void 0!==(u=t.shellById.get(i))&&u.styleId!==i&&(e.styleId=u.styleId));try{for(var o=TU(e.items),a=o.next();!a.done;a=o.next()){var l=a.value;if(l instanceof MR){var s=l.characterFormat.characterStyle;if(void 0!==s&&!t.shellById.has(s)){t.ensureStyle(s,"character"),t.pendingCharacterStyles.delete(s);var u=t.shellById.get(s);void 0!==u&&u.styleId!==s&&(l.characterFormat.characterStyle=u.styleId)}}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}),Tm(e,function(e){var r=e.styleId;if(void 0!==r&&!t.shellById.has(r)){t.ensureStyle(r,"table"),t.pendingTableStyles.delete(r);var n=t.shellById.get(r);void 0!==n&&n.styleId!==r&&(e.styleId=n.styleId)}}),this.pendingParagraphStyles.clear(),this.pendingCharacterStyles.clear(),this.pendingTableStyles.clear()},e.prototype.isDirty=function(){return this.dirty},e.prototype.serialize=function(){var e,t,r=[];if(void 0!==this.docDefaultsValue&&r.push(this.docDefaultsValue.serialize()),void 0!==this.latentStylesValue&&r.push(this.latentStylesValue.serialize()),r.push.apply(r,VU(this.rootExtrasBeforeStyles)),void 0!==this.collection)for(var n=this.collection.stylesInOrder(),i=0;i<n.length;i+=1)r.push(n[i].serialize());else try{for(var o=TU(this.shellList),a=o.next();!a.done;a=o.next()){var l=a.value;r.push(l.serialize())}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}r.push.apply(r,VU(this.rootExtrasAfterStyles));var s=pt("styles",{namespaceDeclarations:[{prefix:"w",namespaceUri:cA}],children:r});return EU.encode(y(s))},e.prototype.ensureStyle=function(e,t){if(0===e.length)throw new $N("content/invalid-style-id","Style id must not be empty");if(!this.shellById.has(e)&&void 0===Af(this,e,t)){var r=af(e,t);this.shellList.push(r),this.shellById.set(e,r),this.markStylesDirty()}},e.prototype.findStyleByDisplayName=function(e){if(void 0!==this.collection){var t=this.collection.findByName(e);if(void 0===t)return;var r=this.projectedById.get(t.styleId);if(void 0!==r)return r;var n=this.collection.projectDocxStyle(t.styleId);return void 0!==n&&this.projectedById.set(t.styleId,n),n}var i=lf(e);if(0!==i.length)return this.shellList.find(function(e){var t=e.name;return void 0!==t&&lf(t)===i})},e.prototype.addStyle=function(e){if(void 0!==this.collection){if(void 0!==this.collection.getStyle(e.styleId))return;return this.collection.hydrateFromDocxStyles([e],!0),void this.projectedById.delete(e.styleId)}this.shellById.has(e.styleId)||(this.shellList.push(e),this.shellById.set(e.styleId,e),this.markStylesDirty())},e}(),RU=new WeakMap,BU=!1;GR.prototype.applyStyle=function(e){var t,r,n=e,i=mm(this.owningDocument()),o=bm(i,n),a=Df(i,n,o);if("character"!==o)this.styleId=a.styleId;else{var l=a.styleId;this.breakCharacterFormat.characterStyle=l;try{for(var s=TU(this.items),u=s.next();!u.done;u=s.next()){var c=u.value;c instanceof MR&&(c.characterFormat.characterStyle=l)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}}},GR.prototype.resolveEffectiveCharacterValue=function(e){try{for(var t=this.owningDocument(),r=mm(t),n=cm(t),i=new Set,o=this.styleId;void 0!==o&&""!==o&&!i.has(o);){i.add(o);var a=n.getStyle(o);if(void 0===a)break;var l=wm(a.characterFormat,e);if(void 0!==l)return l;var s=a.baseStyle;o=void 0===s?void 0:s.styleId}var u=Sm(r.docDefaultsRunProperties(),e);if(void 0!==u&&"textColor"!==e)return u}catch(e){}},GR.prototype.resolveEffectiveParagraphValue=function(e){try{for(var t=this.owningDocument(),r=mm(t),n=cm(t),i=new Set,o=this.styleId;void 0!==o&&""!==o&&!i.has(o);){i.add(o);var a=n.getStyle(o);if(void 0!==a&&a instanceof AM){var l=Pm(a.paragraphFormat,e);if(void 0!==l)return l;o=void 0===(s=a.baseParagraphStyle)?void 0:s.styleId}else{if(void 0===a)break;var s=a.baseStyle;o=void 0===s?void 0:s.styleId}}var u=xm(r.docDefaultsParagraphProperties(),e);if(void 0!==u)return u}catch(e){}},Object.defineProperty(mB.prototype,"styles",{get:function(){return cm(this)},configurable:!0}),Object.defineProperty(mB.prototype,"addTableStyle",{value:function(e){return cm(this).addTableStyle(e)},writable:!0,configurable:!0}),Object.defineProperty(mB.prototype,"themes",{get:function(){return Dh(this)},configurable:!0}),vm();var _U=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),jU={FitToContent:"fitToContent",FitToWindow:"fitToWindow",FixedColumnWidth:"fixedColumnWidth"},MU=1440,zU=468,UU=Be("tables"),HU=function(){function e(e,t,r,n){this.prefixMarkup=e,this.tblPr=t,this.tblGrid=r,this.tableRows=n,this.documentOwner=void 0,this.rowsInstance=new cj(this),this.tableFormatInstance=new Tj(this),this.conditionalFormattingDirty=!1}return Object.defineProperty(e.prototype,"rows",{get:function(){return this.rowsInstance},enumerable:!0,configurable:!0}),e.prototype.listRows=function(){return this.tableRows},e.prototype.replaceRows=function(e){if(e.length<1)throw new iA("A table must retain at least one row");for(var t=this.tableRows,r=0;r<t.length;r+=1)-1===e.indexOf(t[r])&&t[r].setOwnerTable(void 0);this.tableRows=e;for(r=0;r<e.length;r+=1)e[r].setOwnerTable(this);this.rowsInstance.syncFromHost(),this.markConditionalFormattingDirty()},e.prototype.createEmptyRow=function(){return this.buildEmptyRow()},e.prototype.bindRow=function(e){if(e.setOwnerTable(this),void 0!==this.documentOwner){e.bindDocument(this.documentOwner);for(var t=e.listCells(),r=0;r<t.length;r+=1)t[r].bindDocument(this.documentOwner)}},e.prototype.minRowCount=function(){return 1},e.prototype.readTblPr=function(){return this.tblPr},e.prototype.writeTblPr=function(e){this.tblPr=e},e.prototype.applyTableBackColorToCells=function(e){for(var t=this.tableRows,r=0;r<t.length;r+=1)for(var n=t[r].listCells(),i=0;i<n.length;i+=1){var o=n[i],a=Ad(o.readTcPr());if(void 0!==e){var l=void 0!==a&&void 0!==a.pattern&&a.pattern.length>0?a.pattern:"clear",s={fill:e,color:void 0!==a&&void 0!==a.color&&a.color.length>0?a.color:"auto",pattern:l};o.writeTcPr(Ld(o.readTcPr(),s))}else{if(void 0===a)continue;if(!!(void 0!==a.pattern&&"clear"!==a.pattern||void 0!==a.color&&"auto"!==a.color))continue;o.writeTcPr(Ld(o.readTcPr(),void 0))}}},Object.defineProperty(e.prototype,"tableFormat",{get:function(){return this.tableFormatInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return ho(this.tblPr)},set:function(e){this.tblPr=fo(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"description",{get:function(){return po(this.tblPr)},set:function(e){this.tblPr=vo(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indentFromLeft",{get:function(){return Ji(this.tblPr)},set:function(e){this.tblPr=$i(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){for(var e=this.gridColumnWidthsTwips(),t=0,r=0;r<e.length;r+=1)t+=e[r];return t<=0?0:Ur(t)},set:function(e){if(!isFinite(e)||e<0)throw new RangeError("Table width must be a non-negative finite number of points, got "+String(e));this.tblPr=eo(this.tblPr,{type:"dxa",value:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preferredWidth",{get:function(){return Qi(this.tblPr)},set:function(e){this.tblPr=eo(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layout",{get:function(){return go(this.tblPr)},set:function(e){this.tblPr=bo(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"look",{get:function(){return uo(this.tblPr)},set:function(e){this.tblPr=co(this.tblPr,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rowBandSize",{get:function(){return wo(this.tblPr)},set:function(e){if(void 0!==e&&!isFinite(e))throw new RangeError("Table rowBandSize must be a finite number or undefined, got "+String(e));this.tblPr=Po(this.tblPr,void 0!==e?Math.trunc(e):void 0),this.markConditionalFormattingDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnBandSize",{get:function(){return So(this.tblPr)},set:function(e){if(void 0!==e&&!isFinite(e))throw new RangeError("Table columnBandSize must be a finite number or undefined, got "+String(e));this.tblPr=xo(this.tblPr,void 0!==e?Math.trunc(e):void 0),this.markConditionalFormattingDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styleId",{get:function(){return mo(this.tblPr)},set:function(e){this.tblPr=yo(this.tblPr,e),this.markConditionalFormattingDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styleName",{get:function(){return mo(this.tblPr)},enumerable:!0,configurable:!0}),e.prototype.applyStyle=function(e){if(void 0===this.documentOwner)throw new iA("Cannot apply a table style to a table that is not attached to a document");var t;t="string"==typeof e?e:e.styleId;var r=Df(mm(this.documentOwner),t,"table");this.tblPr=yo(this.tblPr,r.styleId),this.markConditionalFormattingDirty()},Object.defineProperty(e.prototype,"applyStyleForFirstRow",{get:function(){var e=this.look;return void 0!==e&&!0===e.firstRow},set:function(e){this.mergeTableLook({firstRow:!0===e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"applyStyleForLastRow",{get:function(){var e=this.look;return void 0!==e&&!0===e.lastRow},set:function(e){this.mergeTableLook({lastRow:!0===e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"applyStyleForFirstColumn",{get:function(){var e=this.look;return void 0!==e&&!0===e.firstCol},set:function(e){this.mergeTableLook({firstCol:!0===e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"applyStyleForLastColumn",{get:function(){var e=this.look;return void 0!==e&&!0===e.lastCol},set:function(e){this.mergeTableLook({lastCol:!0===e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"applyStyleForBandedRows",{get:function(){var e=this.look;return void 0===e||!0!==e.noHBand},set:function(e){this.mergeTableLook({noHBand:!0!==e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"applyStyleForBandedColumns",{get:function(){var e=this.look;return void 0===e||!0!==e.noVBand},set:function(e){this.mergeTableLook({noVBand:!0!==e})},enumerable:!0,configurable:!0}),e.prototype.mergeTableLook=function(e){var t=this.look,r={firstRow:void 0!==e.firstRow?e.firstRow:void 0!==t?t.firstRow:void 0,lastRow:void 0!==e.lastRow?e.lastRow:void 0!==t?t.lastRow:void 0,firstCol:void 0!==e.firstCol?e.firstCol:void 0!==t?t.firstCol:void 0,lastCol:void 0!==e.lastCol?e.lastCol:void 0!==t?t.lastCol:void 0,noHBand:void 0!==e.noHBand?e.noHBand:void 0!==t?t.noHBand:void 0,noVBand:void 0!==e.noVBand?e.noVBand:void 0!==t?t.noVBand:void 0};this.tblPr=co(this.tblPr,r),this.markConditionalFormattingDirty()},e.prototype.markConditionalFormattingDirty=function(){this.conditionalFormattingDirty=!0},e.prototype.updateConditionalFormatting=function(){var e=this.styleId,t=this.tableRows,r=t.length,n=function(e){for(var t=e.listParagraphs(),r=0;r<t.length;r+=1)t[r].setConditionalFormatting(void 0)};if(void 0===e||0===e.length)return function(){for(var e=0;e<r;e+=1){var i=t[e];i.setConditionalFormatting(void 0);for(var o=i.listCells(),a=0;a<o.length;a+=1){var l=o[a];l.setConditionalFormatting(void 0),n(l)}}}(),void(this.conditionalFormattingDirty=!1);var i,o=this.documentOwner;if(void 0!==o)try{i=cm(o).getTableStyle(e)}catch(e){i=void 0}if(void 0===i)return void(this.conditionalFormattingDirty=!1);var a=i.conditionalFormattingStyles;if(0===a.count)return void(this.conditionalFormattingDirty=!1);for(var l=function(e){return void 0!==a.findByType(e)},s=this.applyStyleForFirstRow,u=this.applyStyleForLastRow,c=this.applyStyleForFirstColumn,d=this.applyStyleForLastColumn,h=this.applyStyleForBandedRows,f=this.applyStyleForBandedColumns,p=0;p<r;p+=1){var v=t[p],m=p,y=l(_M.FirstRow)&&s&&0===m,g=l(_M.LastRow)&&u&&0!==m&&m===r-1,b=!1,w=!1;l(_M.OddRowBand)&&h&&m!==r-1&&m%2==1&&(b=!0),l(_M.EvenRowBand)&&h&&0!==m&&m!==r-1&&m%2==0&&(w=!0);var P=ji({firstRow:y,lastRow:g,oddHBand:b,evenHBand:w});v.setConditionalFormatting(P);for(var S=v.listCells(),x=S.length,C=0;C<x;C+=1){var I=S[C],V=C,T=ji({firstColumn:l(_M.FirstColumn)&&0===V&&c,lastColumn:l(_M.LastColumn)&&0!==V&&V===x-1&&d,oddVBand:l(_M.OddColumnBand)&&V!==x-1&&V%2==1&&f,evenVBand:l(_M.EvenColumnBand)&&0!==V&&V!==x-1&&V%2==0&&f,firstRowLastColumn:l(_M.TopRightCell)&&0===m&&0!==V&&V===x-1&&s&&d,firstRowFirstColumn:l(_M.TopLeftCell)&&0===m&&0===V&&s&&c,lastRowLastColumn:l(_M.BottomRightCell)&&0!==m&&m===r-1&&0!==V&&V===x-1&&u&&d,lastRowFirstColumn:l(_M.BottomLeftCell)&&0!==m&&m===r-1&&0===V&&u&&c});zi(T)?I.setConditionalFormatting(T):I.setConditionalFormatting(void 0),n(I)}}this.conditionalFormattingDirty=!1},Object.defineProperty(e.prototype,"owner",{get:function(){return this.documentOwner},enumerable:!0,configurable:!0}),e.prototype.resetCells=function(e,t){if(e<1||t<1)throw new RangeError("Table must have at least one row and one column");for(var r=[],n=0;n<e;n+=1)r.push(this.buildEmptyRowWithColumns(t));this.tableRows=r,this.rowsInstance.syncFromHost(),void 0!==this.documentOwner&&this.bindDocument(this.documentOwner),Mm(this,t),this.reapplyTableBackColorToCells(),this.markConditionalFormattingDirty()},e.prototype.autoFit=function(e){switch(e){case jU.FitToContent:return void this.applyFitToContent();case jU.FitToWindow:return void this.applyFitToWindow();case jU.FixedColumnWidth:return void this.applyFixedColumnWidth();default:var t=e;throw new RangeError("Unsupported AutoFitType: "+String(t))}},e.prototype.appendRow=function(){return this.rowsInstance.add()},e.prototype.insertRow=function(e){return this.rowsInstance.insert(e)},e.prototype.removeRow=function(e){this.rowsInstance.remove(e)},e.prototype.applyHorizontalMerge=function(e,t,r){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(r))throw new RangeError("applyHorizontalMerge indexes must be integers");if(t>r)throw new RangeError("applyHorizontalMerge range is inverted or empty");var n=this.tableRows[e];if(void 0===n)throw new RangeError("applyHorizontalMerge row index is out of bounds");var i=n.listCells();if(t<0||r>=i.length)throw new RangeError("applyHorizontalMerge cell index is out of bounds");if(t!==r){var o=i[t],a=i[r],l=Lm(n,o),s=Lm(n,a)+Am(a)-1;if(l<0||s<l)throw new RangeError("applyHorizontalMerge could not resolve grid columns");this.mergeCells({fromRow:e,fromColumn:l,toRow:e,toColumn:s})}},e.prototype.applyVerticalMerge=function(e,t,r){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(r))throw new RangeError("applyVerticalMerge indexes must be integers");if(t>r)throw new RangeError("applyVerticalMerge range is inverted or empty");if(t<0||r>=this.tableRows.length)throw new RangeError("applyVerticalMerge row index is out of bounds");if(e<0||e>=this.columnCount())throw new RangeError("applyVerticalMerge column index is out of bounds");t!==r&&this.mergeCells({fromRow:t,fromColumn:e,toRow:r,toColumn:e})},e.prototype.mergeCells=function(e){var t,r,n=e.fromRow,i=e.fromColumn,o=e.toRow,a=e.toColumn;if(!(Number.isInteger(n)&&Number.isInteger(i)&&Number.isInteger(o)&&Number.isInteger(a)))throw new RangeError("mergeCells range coordinates must be integers");if(n>o||i>a)throw new RangeError("mergeCells range is inverted or empty");if(n<0||i<0||o>=this.tableRows.length)throw new RangeError("mergeCells range is out of bounds");if(a>=this.columnCount())throw new RangeError("mergeCells range is out of bounds");var l=o-n+1,s=a-i+1;if(1===l&&1===s){var u=this.tableRows[n];if(void 0===u)throw new RangeError("mergeCells range is out of bounds");var c=Em(u,i);if(void 0===c)throw new RangeError("mergeCells range is out of bounds");return c.cell}for(var d,h=[],f=n;f<=o;f+=1){if(void 0===(P=this.tableRows[f]))throw new RangeError("mergeCells range is out of bounds");for(var p=i;p<=a;){var v=Em(P,p);if(void 0===v)throw new RangeError("mergeCells range is out of bounds");if(v.startColumn<i||v.startColumn+Am(v.cell)-1>a)throw new RangeError("mergeCells range partially overlaps an existing merged cell");f===n&&v.startColumn===i?d=v.cell:v.cell!==d&&h.push(v.cell),p=v.startColumn+Am(v.cell)}}if(void 0===d)throw new RangeError("mergeCells could not resolve origin cell");for(var m=0;m<h.length;m+=1)this.moveCellContentInto(d,h[m]);for(var y=new Map,f=n;f<=o;f+=1){var g=this.tableRows[f];if(void 0===g)throw new RangeError("mergeCells range is out of bounds");for(var b=g.listCells(),w=0;w<b.length;w+=1){T=b[w];y.set(T,Am(T))}}d.gridSpan=s>1?s:void 0,d.verticalMerge=l>1?"restart":void 0;for(f=n;f<=o;f+=1){var P=this.tableRows[f];if(void 0===P)throw new RangeError("mergeCells range is out of bounds");for(var S=[],x=0,C=!1,I=P.listCells(),V=0;V<I.length;V+=1){var T=I[V],k=(t=y.get(T),null!=t?t:Am(T)),F=x,D=x+k-1;x+=k,D>=i&&F<=a?f!==n||T!==d?f>n&&F===i&&!C&&(T.gridSpan=s>1?s:void 0,T.verticalMerge="continue",this.ensureAtLeastOneParagraph(T),S.push(T),C=!0):(S.push(T),C=!0):S.push(T)}if(f>n&&!C){var O=this.createBoundEmptyCell();O.gridSpan=s>1?s:void 0,O.verticalMerge="continue";for(var N=0,A=0;N<S.length&&A<i;){var E=S[N];if(void 0===E)break;A+=(r=y.get(E),null!=r?r:Am(E)),N+=1}S.splice(N,0,O)}if(S.length<1)throw new iA("mergeCells would leave a row with no cells");P.replaceCells(S)}return this.markConditionalFormattingDirty(),d},e.prototype.splitCell=function(e){var t=this.getMergeRegion(e);if(void 0===t||t.origin!==e)throw new RangeError("splitCell requires a merge origin cell in this table");for(var r=t.fromRow,n=t.fromColumn,i=t.toRow,o=t.toColumn,a=[],l=[t.origin],s=0;s<t.continuations.length;s+=1)l.push(t.continuations[s]);for(var u=r;u<=i;u+=1){var c=this.tableRows[u];if(void 0!==c){for(var d=[],h=0,f=c.listCells(),p=0;p<f.length;p+=1){var v=f[p],m=Am(v),y=h;h+=m;for(var g=!1,b=0;b<l.length;b+=1)if(l[b]===v){g=!0;break}if(g)for(var w=y;w<y+m;w+=1)if(w<n||w>o){var P=this.createBoundEmptyCell();d.push(P),a.push(P)}else{var S=void 0;u===r&&w===n?((S=t.origin).gridSpan=void 0,S.verticalMerge=void 0):w===y&&v!==t.origin?((S=v).gridSpan=void 0,S.verticalMerge=void 0,this.ensureAtLeastOneParagraph(S)):S=this.createBoundEmptyCell(),d.push(S),a.push(S)}else d.push(v)}if(d.length<1)throw new iA("splitCell would leave a row with no cells");c.replaceCells(d)}}return this.markConditionalFormattingDirty(),a},e.prototype.getMergeRegion=function(e){for(var t=-1,r=0;r<this.tableRows.length;r+=1){var n=null==this.tableRows[r]?void 0:this.tableRows[r].listCells();if(void 0!==n&&-1!==n.indexOf(e)){t=r;break}}if(!(t<0)){var i=this.tableRows[t];if(void 0!==i){var o=Lm(i,e);if(!(o<0)){var a=Am(e),l=e.verticalMerge;if(!(a<=1&&void 0===l)){var s=t,u=e;if("continue"===l){for(var c=!1,d=t-1;d>=0;d-=1){var h=this.tableRows[d];if(void 0===h)break;var f=Em(h,o);if(void 0===f||f.startColumn!==o)break;if(Am(f.cell)!==a)break;if("restart"===f.cell.verticalMerge){s=d,u=f.cell,c=!0;break}if("continue"!==f.cell.verticalMerge)break}if(!c)return{fromRow:t,fromColumn:o,toRow:t,toColumn:o+a-1,origin:e,continuations:[]}}var p=Am(u),v=this.tableRows[s];if(void 0!==v){var m=Lm(v,u);if(!(m<0)){var y=m+p-1,g=s,b=[];if("restart"===u.verticalMerge)for(d=s+1;d<this.tableRows.length;d+=1){var w=this.tableRows[d];if(void 0===w)break;var P=Em(w,m);if(void 0===P||P.startColumn!==m||Am(P.cell)!==p||"continue"!==P.cell.verticalMerge)break;g=d,b.push(P.cell)}if(!(p<=1&&void 0===u.verticalMerge))return{fromRow:s,fromColumn:m,toRow:g,toColumn:y,origin:u,continuations:b}}}}}}}},e.prototype.moveCellContentInto=function(e,t){if(e!==t){if(Rm(e)&&Rm(t)){var r=new GR(void 0);e.appendRawBlock({type:"paragraph",paragraph:r})}var n=t.listBlocks().slice();t.replaceItems([]);for(var i=0;i<n.length;i+=1)e.appendRawBlock(n[i]);this.ensureAtLeastOneParagraph(t)}},e.prototype.ensureAtLeastOneParagraph=function(e){0===e.listParagraphs().length&&e.appendParagraph()},e.prototype.createBoundEmptyCell=function(){var e=new GU(this.documentOwner,[]);return void 0!==this.documentOwner&&e.bindDocument(this.documentOwner),this.paintTableBackColorOntoCell(e),e},e.prototype.reapplyTableBackColorToCells=function(){var e=lo(this.tblPr),t=void 0===e?void 0:e.fill;void 0!==t&&0!==t.length&&this.applyTableBackColorToCells(t)},e.prototype.paintTableBackColorOntoCell=function(e){var t=lo(this.tblPr);if(void 0!==t&&void 0!==t.fill&&0!==t.fill.length){var r=void 0!==t.pattern&&t.pattern.length>0?t.pattern:"clear",n=void 0!==t.color&&t.color.length>0?t.color:"auto",i={fill:t.fill,color:n,pattern:r};e.writeTcPr(Ld(e.readTcPr(),i))}},e.prototype.bindDocument=function(e){this.documentOwner=e;for(var t=0;t<this.tableRows.length;t+=1){var r=this.tableRows[t];r.bindDocument(e);for(var n=r.listCells(),i=0;i<n.length;i+=1)n[i].bindDocument(e)}},e.prototype.toOpenXml=function(){this.conditionalFormattingDirty&&this.updateConditionalFormatting();for(var e=[],t=0;t<this.prefixMarkup.length;t+=1)e.push(this.prefixMarkup[t]);e.push(this.tblPr),e.push(this.tblGrid);for(var r=0;r<this.tableRows.length;r+=1)e.push(this.tableRows[r].toOpenXml());return pt("tbl",{children:e})},e.prototype.columnCount=function(){for(var e=0,t=ct(this.tblGrid),r=0;r<t.length;r+=1)ut(t[r],"gridCol")&&(e+=1);if(e>0)return e;var n=this.tableRows[0];if(void 0===n)return 1;var i=n.listCells().length;return i>0?i:1},e.prototype.gridColumnWidthsTwips=function(){for(var e=[],t=ct(this.tblGrid),r=0;r<t.length;r+=1){var n=t[r];if(ut(n,"gridCol")){var i=ci(di(n,"w"));e.push(void 0!==i&&i>0?i:MU)}}if(e.length>0)return e;for(var o=this.columnCount(),a=[],r=0;r<o;r+=1)a.push(MU);return a},e.prototype.cellWidthFromGridTwips=function(e,t,r){for(var n=0,i=0;i<r;i+=1){var o=e[t+i];n+=void 0!==o&&o>0?o:MU}return n>0?n:MU*Math.max(r,1)},e.prototype.applyFitToContent=function(){this.layout="autoFit",this.preferredWidth=Dm();for(var e=0;e<this.tableRows.length;e+=1)for(var t=this.tableRows[e].listCells(),r=0;r<t.length;r+=1)t[r].preferredWidth=Dm()},e.prototype.applyFitToWindow=function(){for(var e=this.gridColumnWidthsTwips(),t=0,r=0;r<e.length;r+=1)t+=e[r];var n=t>0?t:MU;this.layout="autoFit",this.preferredWidth={type:"pct",value:Ur(5e3)};for(var i=0;i<this.tableRows.length;i+=1)for(var o=0,a=this.tableRows[i].listCells(),l=0;l<a.length;l+=1){var s=a[l],u=Am(s),c=s.preferredWidth;if("pct"!==(null==c?void 0:c.type)){var d=this.cellWidthFromGridTwips(e,o,u),h=Math.max(0,Math.round(d/n*5e3));s.preferredWidth={type:"pct",value:Ur(h)}}o+=u}},e.prototype.applyFixedColumnWidth=function(){var e=this.gridColumnWidthsTwips();this.layout="fixed",this.preferredWidth=Dm();for(var t=0;t<this.tableRows.length;t+=1)for(var r=0,n=this.tableRows[t].listCells(),i=0;i<n.length;i+=1){var o=n[i],a=Am(o),l=this.cellWidthFromGridTwips(e,r,a);o.preferredWidth={type:"dxa",value:Ur(l)},r+=a}},e.prototype.buildEmptyRow=function(){return this.buildEmptyRowWithColumns(this.columnCount())},e.prototype.buildEmptyRowWithColumns=function(e){for(var t=[],r=0;r<e;r+=1)t.push(this.createBoundEmptyCell());var n=new WU([],void 0,t,this);if(void 0!==this.documentOwner){n.bindDocument(this.documentOwner);for(var i=0;i<t.length;i+=1)t[i].bindDocument(this.documentOwner)}return n},e.prototype.effectiveCellWidthPoints=function(e){for(var t=this.tableRows,r=0;r<t.length;r+=1)for(var n=t[r].listCells(),i=0,o=0;o<n.length;o+=1){var a=n[o],l=Am(a);if(a===e)return Ur(this.cellWidthFromGridTwips(this.gridColumnWidthsTwips(),i,l));i+=l}return Ur(MU)},e}(),WU=function(){function e(e,t,r,n){this.rowExtras=e,this.trPr=t,this.tableCells=r,this.boundDocument=void 0,this.ownerTableRef=n,this.cellsInstance=new dj(this),this.rowFormatInstance=new kj(this);for(var i=0;i<r.length;i+=1)r[i].setOwnerRow(this)}return e.prototype.setOwnerTable=function(e){this.ownerTableRef=e},Object.defineProperty(e.prototype,"cells",{get:function(){return this.cellsInstance},enumerable:!0,configurable:!0}),e.prototype.listCells=function(){return this.tableCells},e.prototype.replaceCells=function(e){if(e.length<1)throw new iA("A table row must retain at least one cell");for(var t=this.tableCells,r=0;r<t.length;r+=1)-1===e.indexOf(t[r])&&t[r].setOwnerRow(void 0);this.tableCells=e;for(r=0;r<e.length;r+=1)e[r].setOwnerRow(this);this.cellsInstance.syncFromHost(),void 0!==this.ownerTableRef&&this.ownerTableRef.markConditionalFormattingDirty()},e.prototype.createEmptyCell=function(){var e=new GU(this.boundDocument,[]);return e.setOwnerRow(this),void 0!==this.boundDocument&&e.bindDocument(this.boundDocument),void 0!==this.ownerTableRef&&this.ownerTableRef.paintTableBackColorOntoCell(e),e},e.prototype.bindCell=function(e){e.setOwnerRow(this),void 0!==this.boundDocument&&e.bindDocument(this.boundDocument)},e.prototype.minCellCount=function(){return 1},e.prototype.getOwnerTableOrUndefined=function(){return this.ownerTableRef},e.prototype.readTrPr=function(){return this.trPr},e.prototype.writeTrPr=function(e){this.trPr=e},Object.defineProperty(e.prototype,"rowFormat",{get:function(){return this.rowFormatInstance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ownerTable",{get:function(){if(void 0===this.ownerTableRef)throw new iA("This row is no longer attached to a table");return this.ownerTableRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){var e=id(this.trPr);return void 0===e?0:e.value},set:function(e){if(!isFinite(e)||e<0)throw new RangeError("Row height must be a non-negative finite number of points, got "+String(e));var t=id(this.trPr),r=void 0!==t?t.rule:"auto";if(0===e&&"auto"===r)return void(this.trPr=od(this.trPr,void 0));this.trPr=od(this.trPr,{value:e,rule:r})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"heightType",{get:function(){var e=id(this.trPr);return void 0===e?"auto":e.rule},set:function(e){if("auto"!==e&&"exact"!==e&&"atLeast"!==e)throw new RangeError("Invalid row heightType: "+String(e));var t=id(this.trPr),r=void 0!==t?t.value:0;if("auto"===e&&0===r)return void(this.trPr=od(this.trPr,void 0));this.trPr=od(this.trPr,{value:r,rule:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHeader",{get:function(){return!0===sd(this.trPr)},set:function(e){this.trPr=ud(this.trPr,!0===e||void 0)},enumerable:!0,configurable:!0}),e.prototype.bindDocument=function(e){this.boundDocument=e;for(var t=0;t<this.tableCells.length;t+=1)this.tableCells[t].bindDocument(e)},e.prototype.getConditionalFormatting=function(){return pd(this.trPr)},e.prototype.setConditionalFormatting=function(e){this.trPr=vd(this.trPr,e)},e.prototype.toOpenXml=function(){for(var e=[],t=0;t<this.rowExtras.length;t+=1)e.push(this.rowExtras[t]);void 0!==this.trPr&&e.push(this.trPr);for(t=0;t<this.tableCells.length;t+=1)e.push(this.tableCells[t].toOpenXml());return pt("tr",{children:e})},e}(),GU=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.bodyOwnerKind="tableCell",n.tcPrValue=void 0,n.cellFormatInstance=new Fj(n),n.ownerRowRef=void 0,n.reattachNestedTables(),n}return _U(t,e),t.prototype.setOwnerRow=function(e){this.ownerRowRef=e},t.prototype.applyTcPr=function(e){this.tcPrValue=e},t.prototype.readTcPr=function(){return this.tcPrValue},t.prototype.writeTcPr=function(e){this.tcPrValue=e},Object.defineProperty(t.prototype,"cellFormat",{get:function(){return this.cellFormatInstance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"gridSpan",{get:function(){return Sd(this.tcPrValue)},set:function(e){this.tcPrValue=Cd(this.tcPrValue,e);var t=this.ownerRowRef;if(void 0!==t){var r=t.getOwnerTableOrUndefined();void 0!==r&&r.markConditionalFormattingDirty()}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"verticalMerge",{get:function(){return xd(this.tcPrValue)},set:function(e){this.tcPrValue=Id(this.tcPrValue,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preferredWidth",{get:function(){return Fd(this.tcPrValue)},set:function(e){this.tcPrValue=Dd(this.tcPrValue,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){var e=Fd(this.tcPrValue);if(void 0!==e&&"dxa"===e.type)return e.value;var t=this.ownerRowRef;if(void 0===t)return Ur(MU);var r;try{r=t.ownerTable}catch(e){r=void 0}return void 0===r?Ur(MU):r.effectiveCellWidthPoints(this)},set:function(e){if(!isFinite(e)||e<0)throw new RangeError("Cell width must be a non-negative finite number of points, got "+String(e));this.tcPrValue=Dd(this.tcPrValue,{type:"dxa",value:e})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){for(var e=[],t=this.listParagraphs(),r=0;r<t.length;r+=1)e.push(t[r].text);return e.join("")},set:function(e){var t=this.listParagraphs()[0];if(void 0===t&&(t=this.appendParagraph()),t.text.length>0||0===e.length)return this.replaceItems([]),void(t=this.appendParagraph({text:e}));t.appendText(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nestedTables",{get:function(){for(var e=[],t=this.listBlocks(),r=0;r<t.length;r+=1){var n=t[r];"feature"===n.type&&n.featureId===UU&&n.value instanceof HU&&e.push(n.value)}return e},enumerable:!0,configurable:!0}),t.prototype.bindDocument=function(e){this.setOwningDocument(e),this.reattachNestedTables();for(var t=this.listBlocks(),r=0;r<t.length;r+=1){var n=t[r];"feature"===n.type&&n.featureId===UU&&n.value instanceof HU&&n.value.bindDocument(e)}},t.prototype.reattachNestedTables=function(){var e;try{e=this.owningDocument()}catch(t){e=void 0}for(var t=this.listBlocks(),r=0;r<t.length;r+=1){var n=t[r];"feature"===n.type&&n.featureId===UU&&n.value instanceof HU&&void 0!==e&&n.value.bindDocument(e)}},t.prototype.getConditionalFormatting=function(){return Jd(this.tcPrValue)},t.prototype.setConditionalFormatting=function(e){this.tcPrValue=$d(this.tcPrValue,e)},t.prototype.toOpenXml=function(){var e=[];void 0!==this.tcPrValue&&e.push(this.tcPrValue);var t=this.listBlocks();if(0===t.length)e.push(pt("p"));else for(var r=za(t),n=0;n<r.length;n+=1)e.push(r[n]);return pt("tc",{children:e})},t}(rB),qU=!1,XU=UU;Object.defineProperty(rB.prototype,"appendTable",{value:function(){var e=zm(1,1);this.appendRawBlock({type:"feature",featureId:UU,value:e});try{var t=this.owningDocument();e.bindDocument(t)}catch(e){}Mm(e,1);var r=this.listBlocks(),n=r.length>0?r[r.length-1]:void 0,i=!1;return void 0!==n&&"paragraph"===n.type&&void 0!==n.paragraph&&(i=0===n.paragraph.items.length),i||this.appendParagraph(),e},writable:!0,configurable:!0}),Object.defineProperty(mB.prototype,"appendTable",{value:function(){return this.firstSectionBody().appendTable()},writable:!0,configurable:!0}),Qt(function(){Ym()}),Ym();var YU=[],ZU=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},KU=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ZU(arguments[t]));return e},JU={Inline:"inline",Anchored:"anchored"},$U={Inline:"inline",None:"none",Square:"square",Tight:"tight",Through:"through",TopAndBottom:"topAndBottom"},QU={Margin:"margin",Page:"page",Column:"column",Character:"character",LeftMargin:"leftMargin",RightMargin:"rightMargin",InsideMargin:"insideMargin",OutsideMargin:"outsideMargin"},eH={Margin:"margin",Page:"page",Paragraph:"paragraph",Line:"line",TopMargin:"topMargin",BottomMargin:"bottomMargin",InsideMargin:"insideMargin",OutsideMargin:"outsideMargin"},tH={Left:"left",Right:"right",Center:"center",Inside:"inside",Outside:"outside",None:"none",Unknown:"unknown"},rH=[tH.Left,tH.Right,tH.Center,tH.Inside,tH.Outside],nH=ai(tH),iH={Top:"top",Bottom:"bottom",Center:"center",Inside:"inside",Outside:"outside",None:"none",Unknown:"unknown"},oH=[iH.Top,iH.Bottom,iH.Center,iH.Inside,iH.Outside],aH=ai(iH),lH=new Set(ai(JU)),sH=new Set(ai($U)),uH=new Set(ai(QU)),cH=new Set(ai(eH)),dH=new Set(nH),hH=new Set(aH),fH=new Set(rH),pH=new Set(oH),vH=lH,mH=sH,yH=uH,gH=cH,bH=dH,wH=fH,PH=hH,SH=pH,xH={Both:"bothSides",Left:"left",Right:"right",Largest:"largest",Unknown:"unknown"},CH=ai(xH),IH=CH.filter(function(e){return e!==xH.Unknown}),VH=new Set(CH),TH=new Set(IH),kH=VH,FH=TH,DH={Line:"line",LineInv:"lineInv",Triangle:"triangle",RtTriangle:"rtTriangle",Rect:"rect",Diamond:"diamond",Parallelogram:"parallelogram",Trapezoid:"trapezoid",NonIsoscelesTrapezoid:"nonIsoscelesTrapezoid",Pentagon:"pentagon",Hexagon:"hexagon",Heptagon:"heptagon",Octagon:"octagon",Decagon:"decagon",Dodecagon:"dodecagon",Star4:"star4",Star5:"star5",Star6:"star6",Star7:"star7",Star8:"star8",Star10:"star10",Star12:"star12",Star16:"star16",Star24:"star24",Star32:"star32",RoundRect:"roundRect",Round1Rect:"round1Rect",Round2SameRect:"round2SameRect",Round2DiagRect:"round2DiagRect",SnipRoundRect:"snipRoundRect",Snip1Rect:"snip1Rect",Snip2SameRect:"snip2SameRect",Snip2DiagRect:"snip2DiagRect",Plaque:"plaque",Ellipse:"ellipse",Teardrop:"teardrop",HomePlate:"homePlate",Chevron:"chevron",PieWedge:"pieWedge",Pie:"pie",BlockArc:"blockArc",Donut:"donut",NoSmoking:"noSmoking",RightArrow:"rightArrow",LeftArrow:"leftArrow",UpArrow:"upArrow",DownArrow:"downArrow",StripedRightArrow:"stripedRightArrow",NotchedRightArrow:"notchedRightArrow",BentUpArrow:"bentUpArrow",LeftRightArrow:"leftRightArrow",UpDownArrow:"upDownArrow",LeftUpArrow:"leftUpArrow",LeftRightUpArrow:"leftRightUpArrow",QuadArrow:"quadArrow",LeftArrowCallout:"leftArrowCallout",RightArrowCallout:"rightArrowCallout",UpArrowCallout:"upArrowCallout",DownArrowCallout:"downArrowCallout",LeftRightArrowCallout:"leftRightArrowCallout",UpDownArrowCallout:"upDownArrowCallout",QuadArrowCallout:"quadArrowCallout",BentArrow:"bentArrow",UturnArrow:"uturnArrow",CircularArrow:"circularArrow",LeftCircularArrow:"leftCircularArrow",LeftRightCircularArrow:"leftRightCircularArrow",CurvedRightArrow:"curvedRightArrow",CurvedLeftArrow:"curvedLeftArrow",CurvedUpArrow:"curvedUpArrow",CurvedDownArrow:"curvedDownArrow",SwooshArrow:"swooshArrow",Cube:"cube",Can:"can",LightningBolt:"lightningBolt",Heart:"heart",Sun:"sun",Moon:"moon",SmileyFace:"smileyFace",IrregularSeal1:"irregularSeal1",IrregularSeal2:"irregularSeal2",FoldedCorner:"foldedCorner",Bevel:"bevel",Frame:"frame",HalfFrame:"halfFrame",Corner:"corner",DiagStripe:"diagStripe",Chord:"chord",Arc:"arc",LeftBracket:"leftBracket",RightBracket:"rightBracket",LeftBrace:"leftBrace",RightBrace:"rightBrace",BracketPair:"bracketPair",BracePair:"bracePair",StraightConnector1:"straightConnector1",BentConnector2:"bentConnector2",BentConnector3:"bentConnector3",BentConnector4:"bentConnector4",BentConnector5:"bentConnector5",CurvedConnector2:"curvedConnector2",CurvedConnector3:"curvedConnector3",CurvedConnector4:"curvedConnector4",CurvedConnector5:"curvedConnector5",Callout1:"callout1",Callout2:"callout2",Callout3:"callout3",AccentCallout1:"accentCallout1",AccentCallout2:"accentCallout2",AccentCallout3:"accentCallout3",BorderCallout1:"borderCallout1",BorderCallout2:"borderCallout2",BorderCallout3:"borderCallout3",AccentBorderCallout1:"accentBorderCallout1",AccentBorderCallout2:"accentBorderCallout2",AccentBorderCallout3:"accentBorderCallout3",WedgeRectCallout:"wedgeRectCallout",WedgeRoundRectCallout:"wedgeRoundRectCallout",WedgeEllipseCallout:"wedgeEllipseCallout",CloudCallout:"cloudCallout",Cloud:"cloud",Ribbon:"ribbon",Ribbon2:"ribbon2",EllipseRibbon:"ellipseRibbon",EllipseRibbon2:"ellipseRibbon2",LeftRightRibbon:"leftRightRibbon",VerticalScroll:"verticalScroll",HorizontalScroll:"horizontalScroll",Wave:"wave",DoubleWave:"doubleWave",Plus:"plus",FlowChartProcess:"flowChartProcess",FlowChartDecision:"flowChartDecision",FlowChartInputOutput:"flowChartInputOutput",FlowChartPredefinedProcess:"flowChartPredefinedProcess",FlowChartInternalStorage:"flowChartInternalStorage",FlowChartDocument:"flowChartDocument",FlowChartMultidocument:"flowChartMultidocument",FlowChartTerminator:"flowChartTerminator",FlowChartPreparation:"flowChartPreparation",FlowChartManualInput:"flowChartManualInput",FlowChartManualOperation:"flowChartManualOperation",FlowChartConnector:"flowChartConnector",FlowChartPunchedCard:"flowChartPunchedCard",FlowChartPunchedTape:"flowChartPunchedTape",FlowChartSummingJunction:"flowChartSummingJunction",FlowChartOr:"flowChartOr",FlowChartCollate:"flowChartCollate",FlowChartSort:"flowChartSort",FlowChartExtract:"flowChartExtract",FlowChartMerge:"flowChartMerge",FlowChartOfflineStorage:"flowChartOfflineStorage",FlowChartOnlineStorage:"flowChartOnlineStorage",FlowChartMagneticTape:"flowChartMagneticTape",FlowChartMagneticDisk:"flowChartMagneticDisk",FlowChartMagneticDrum:"flowChartMagneticDrum",FlowChartDisplay:"flowChartDisplay",FlowChartDelay:"flowChartDelay",FlowChartAlternateProcess:"flowChartAlternateProcess",FlowChartOffpageConnector:"flowChartOffpageConnector",ActionButtonBlank:"actionButtonBlank",ActionButtonHome:"actionButtonHome",ActionButtonHelp:"actionButtonHelp",ActionButtonInformation:"actionButtonInformation",ActionButtonForwardNext:"actionButtonForwardNext",ActionButtonBackPrevious:"actionButtonBackPrevious",ActionButtonEnd:"actionButtonEnd",ActionButtonBeginning:"actionButtonBeginning",ActionButtonReturn:"actionButtonReturn",ActionButtonDocument:"actionButtonDocument",ActionButtonSound:"actionButtonSound",ActionButtonMovie:"actionButtonMovie",Gear6:"gear6",Gear9:"gear9",Funnel:"funnel",MathPlus:"mathPlus",MathMinus:"mathMinus",MathMultiply:"mathMultiply",MathDivide:"mathDivide",MathEqual:"mathEqual",MathNotEqual:"mathNotEqual",CornerTabs:"cornerTabs",SquareTabs:"squareTabs",PlaqueTabs:"plaqueTabs",ChartX:"chartX",ChartStar:"chartStar",ChartPlus:"chartPlus"},OH=ai(DH),NH=new Set(OH),AH={Unknown:"unknown",Rectangle:"rect",RoundedRectangle:"roundRect",SnipSingleCornerRectangle:"snip1Rect",SnipSameSideCornerRectangle:"snip2SameRect",SnipDiagonalCornerRectangle:"snip2DiagRect",SnipAndRoundSingleCornerRectangle:"snipRoundRect",RoundSingleCornerRectangle:"round1Rect",RoundSameSideCornerRectangle:"round2SameRect",RoundDiagonalCornerRectangle:"round2DiagRect",Oval:"ellipse",IsoscelesTriangle:"triangle",RightTriangle:"rtTriangle",Parallelogram:"parallelogram",Trapezoid:"trapezoid",NonIsoscelesTrapezoid:"nonIsoscelesTrapezoid",Diamond:"diamond",RegularPentagon:"pentagon",Hexagon:"hexagon",Heptagon:"heptagon",Octagon:"octagon",Decagon:"decagon",Dodecagon:"dodecagon",Pie:"pie",PieWedge:"pieWedge",Chord:"chord",Teardrop:"teardrop",Frame:"frame",HalfFrame:"halfFrame",LShape:"corner",DiagonalStripe:"diagStripe",Cross:"plus",Plaque:"plaque",Can:"can",Cube:"cube",Bevel:"bevel",Donut:"donut",NoSymbol:"noSmoking",BlockArc:"blockArc",FoldedCorner:"foldedCorner",SmileyFace:"smileyFace",Heart:"heart",LightningBolt:"lightningBolt",Sun:"sun",Moon:"moon",Cloud:"cloud",Arc:"arc",DoubleBracket:"bracketPair",DoubleBrace:"bracePair",LeftBracket:"leftBracket",RightBracket:"rightBracket",LeftBrace:"leftBrace",RightBrace:"rightBrace",RightArrow:"rightArrow",LeftArrow:"leftArrow",UpArrow:"upArrow",DownArrow:"downArrow",LeftRightArrow:"leftRightArrow",UpDownArrow:"upDownArrow",QuadArrow:"quadArrow",LeftRightUpArrow:"leftRightUpArrow",BentArrow:"bentArrow",UTurnArrow:"uturnArrow",LeftUpArrow:"leftUpArrow",BentUpArrow:"bentUpArrow",CurvedRightArrow:"curvedRightArrow",CurvedLeftArrow:"curvedLeftArrow",CurvedUpArrow:"curvedUpArrow",CurvedDownArrow:"curvedDownArrow",StripedRightArrow:"stripedRightArrow",NotchedRightArrow:"notchedRightArrow",Pentagon:"homePlate",Chevron:"chevron",RightArrowCallout:"rightArrowCallout",LeftArrowCallout:"leftArrowCallout",UpArrowCallout:"upArrowCallout",DownArrowCallout:"downArrowCallout",LeftRightArrowCallout:"leftRightArrowCallout",UpDownArrowCallout:"upDownArrowCallout",QuadArrowCallout:"quadArrowCallout",CircularArrow:"circularArrow",LeftCircularArrow:"leftCircularArrow",LeftRightCircularArrow:"leftRightCircularArrow",SwooshArrow:"swooshArrow",MathPlus:"mathPlus",MathMinus:"mathMinus",MathMultiply:"mathMultiply",MathDivision:"mathDivide",MathEqual:"mathEqual",MathNotEqual:"mathNotEqual",FlowChartProcess:"flowChartProcess",FlowChartAlternateProcess:"flowChartAlternateProcess",FlowChartDecision:"flowChartDecision",FlowChartData:"flowChartInputOutput",FlowChartPredefinedProcess:"flowChartPredefinedProcess",FlowChartInternalStorage:"flowChartInternalStorage",FlowChartDocument:"flowChartDocument",FlowChartMultiDocument:"flowChartMultidocument",FlowChartTerminator:"flowChartTerminator",FlowChartPreparation:"flowChartPreparation",FlowChartManualInput:"flowChartManualInput",FlowChartManualOperation:"flowChartManualOperation",FlowChartConnector:"flowChartConnector",FlowChartOffPageConnector:"flowChartOffpageConnector",FlowChartCard:"flowChartPunchedCard",FlowChartPunchedTape:"flowChartPunchedTape",FlowChartSummingJunction:"flowChartSummingJunction",FlowChartOr:"flowChartOr",FlowChartCollate:"flowChartCollate",FlowChartSort:"flowChartSort",FlowChartExtract:"flowChartExtract",FlowChartMerge:"flowChartMerge",FlowChartStoredData:"flowChartOfflineStorage",FlowChartDelay:"flowChartDelay",FlowChartSequentialAccessStorage:"flowChartMagneticTape",FlowChartMagneticDisk:"flowChartMagneticDisk",FlowChartDirectAccessStorage:"flowChartMagneticDrum",FlowChartDisplay:"flowChartDisplay",FlowChartOnlineStorage:"flowChartOnlineStorage",Explosion1:"irregularSeal1",Explosion2:"irregularSeal2",Star4Point:"star4",Star5Point:"star5",Star6Point:"star6",Star7Point:"star7",Star8Point:"star8",Star10Point:"star10",Star12Point:"star12",Star16Point:"star16",Star24Point:"star24",Star32Point:"star32",UpRibbon:"ribbon",DownRibbon:"ribbon2",CurvedUpRibbon:"ellipseRibbon",CurvedDownRibbon:"ellipseRibbon2",LeftRightRibbon:"leftRightRibbon",VerticalScroll:"verticalScroll",HorizontalScroll:"horizontalScroll",Wave:"wave",DoubleWave:"doubleWave",RectangularCallout:"wedgeRectCallout",RoundedRectangularCallout:"wedgeRoundRectCallout",OvalCallout:"wedgeEllipseCallout",CloudCallout:"cloudCallout",LineCallout1:"callout1",LineCallout2:"callout2",LineCallout3:"callout3",LineCallout1AccentBar:"accentCallout1",LineCallout2AccentBar:"accentCallout2",LineCallout3AccentBar:"accentCallout3",LineCallout1NoBorder:"borderCallout1",LineCallout2NoBorder:"borderCallout2",LineCallout3NoBorder:"borderCallout3",LineCallout1BorderAndAccentBar:"accentBorderCallout1",LineCallout2BorderAndAccentBar:"accentBorderCallout2",LineCallout3BorderAndAccentBar:"accentBorderCallout3",StraightConnector:"straightConnector1",BentConnector2:"bentConnector2",BentConnector3:"bentConnector3",BentConnector4:"bentConnector4",BentConnector5:"bentConnector5",CurvedConnector2:"curvedConnector2",CurvedConnector3:"curvedConnector3",CurvedConnector4:"curvedConnector4",CurvedConnector5:"curvedConnector5",ActionButtonBlank:"actionButtonBlank",ActionButtonHome:"actionButtonHome",ActionButtonHelp:"actionButtonHelp",ActionButtonInformation:"actionButtonInformation",ActionButtonForwardNext:"actionButtonForwardNext",ActionButtonBackPrevious:"actionButtonBackPrevious",ActionButtonEnd:"actionButtonEnd",ActionButtonBeginning:"actionButtonBeginning",ActionButtonReturn:"actionButtonReturn",ActionButtonDocument:"actionButtonDocument",ActionButtonSound:"actionButtonSound",ActionButtonMovie:"actionButtonMovie",Gear6:"gear6",Gear9:"gear9",Funnel:"funnel",CornerTabs:"cornerTabs",SquareTabs:"squareTabs",PlaqueTabs:"plaqueTabs",ChartX:"chartX",ChartStar:"chartStar",ChartPlus:"chartPlus",Custom:"custom"},EH=ai(AH),LH=new Set(EH),RH=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},BH={Solid:"solid",Dot:"dot",Dash:"dash",LargeDash:"lgDash",DashDot:"dashDot",LargeDashDot:"lgDashDot",LargeDashDotDot:"lgDashDotDot",SystemDash:"sysDash",SystemDot:"sysDot",SystemDashDot:"sysDashDot",SystemDashDotDot:"sysDashDotDot",Unknown:"unknown"},_H=ai(BH),jH=_H.filter(function(e){return e!==BH.Unknown}),MH=new Set(_H),zH=new Set(jH),UH={Round:"rnd",Square:"sq",Flat:"flat"},HH=ai(UH),WH={None:"none",Triangle:"triangle",Stealth:"stealth",Diamond:"diamond",Oval:"oval",Arrow:"arrow"},GH=ai(WH),qH=["sm","med","lg"],XH={Solid:"solid",None:"none",Theme:"theme",Unknown:"unknown"},YH=new Set(HH),ZH=new Set(GH),KH=new Set(qH),JH=20116800,$H=/^[0-9a-fA-F]{6}$/,QH={Single:"single"},eW={None:"none",Triangle:"triangle",Stealth:"stealth",Diamond:"diamond",Oval:"oval",Arrow:"arrow"},tW={Small:"sm",Medium:"med",Large:"lg"},rW=function(){return(rW=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},nW=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},iW=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},oW=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(iW(arguments[t]));return e},aW="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",lW="http://schemas.openxmlformats.org/drawingml/2006/main",sW="http://schemas.openxmlformats.org/officeDocument/2006/relationships",uW="http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cW="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",dW="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",hW="urn:schemas-microsoft-com:vml",fW="urn:schemas-microsoft-com:office:word",pW=QE,vW=12700,mW=6e4,yW="http://schemas.openxmlformats.org/drawingml/2006/diagram",gW="http://purl.oclc.org/ooxml/drawingml/diagram",bW="http://schemas.openxmlformats.org/drawingml/2006/chart",wW="http://purl.oclc.org/ooxml/drawingml/chart",PW="http://schemas.microsoft.com/office/word/2010/wordprocessingInk",SW="http://schemas.microsoft.com/office/word/2010/wordml",xW=114300,CW=Be("drawing"),IW={Shape:"shape",TextBox:"textBox",Group:"group",Canvas:"canvas",Unknown:"unknown"},VW=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},TW=["t","ctr","b","just","dist"],kW=["overflow","ellipsis","clip"],FW=["overflow","clip"],DW=["horz","vert","vert270","wordArtVert","eaVert","mongolianVert","wordArtVertRtl"],OW=["none","square"],NW=1e3,AW=1e5,EW=new Set(TW),LW=new Set(kW),RW=new Set(FW),BW=new Set(DW),_W=new Set(OW),jW={Horizontal:"horz",Vertical:"vert",Vertical270:"vert270",WordArtVertical:"wordArtVert",EastAsianVertical:"eaVert",MongolianVertical:"mongolianVert",WordArtVerticalRtl:"wordArtVertRtl"},MW={Top:"t",Center:"ctr",Bottom:"b",Justified:"just",Distributed:"dist"},zW=e.Color.White,UW=function(){function t(e){this.owner=e}return Object.defineProperty(t.prototype,"fill",{get:function(){var e=this.owner.readShapeFillState();return void 0!==e&&"none"!==e.kind},set:function(e){if(!0!==e&&!1!==e)throw new RangeError("FillFormat.fill must be a boolean");if(!e)return void this.owner.writeShapeFillState({kind:"none"});var t=this.owner.readShapeFillState();if(void 0!==t&&"solid"===t.kind)return void this.owner.writeShapeFillState(t);this.owner.writeShapeFillState(Hb())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){var t=this.owner.readShapeFillState();if(void 0===t||"solid"!==t.kind)return e.Color.Transparent;var r=fn(t.srgb);return void 0!==r?r:e.Color.Transparent},set:function(t){if("number"!=typeof t||!Number.isFinite(t))throw new RangeError("FillFormat.color must be a Color enum member");if(t===e.Color.Transparent)return void this.owner.writeShapeFillState({kind:"none"});var r=pn(t);if(0===r.length)throw new RangeError("FillFormat.color could not be serialized to sRGB");var n=this.owner.readShapeFillState(),i=void 0!==n&&"solid"===n.kind?n.alpha:void 0;this.owner.writeShapeFillState(void 0!==i?{kind:"solid",srgb:r,alpha:i}:{kind:"solid",srgb:r})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transparency",{get:function(){var e=this.owner.readShapeFillState();return void 0===e||"solid"!==e.kind?0:ky(e.alpha)},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0||e>100)throw new RangeError("FillFormat.transparency must be a finite number from 0 through 100");var t=this.owner.readShapeFillState();void 0!==t&&"solid"===t.kind||(t=Hb());var r=t,n=Ty(e);this.owner.writeShapeFillState(n>=1e5?{kind:"solid",srgb:r.srgb}:{kind:"solid",srgb:r.srgb,alpha:n})},enumerable:!0,configurable:!0}),t}(),HW=function(){return(HW=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},WW=e.Color.Black,GW=12700,qW=BH.Solid,XW=function(){function t(e){this.owner=e}return Object.defineProperty(t.prototype,"line",{get:function(){var e=this.owner.readShapeLineState();return void 0!==e&&e.kind!==XH.None},set:function(e){if(!0!==e&&!1!==e)throw new RangeError("LineFormat.line must be a boolean");if(!e)return void this.owner.writeShapeLineState(qb());this.owner.writeShapeLineState(Xb(this.owner.readShapeLineState()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){var t=this.owner.readShapeLineState();if(void 0===t||t.kind!==XH.Solid||void 0===t.srgbColor)return e.Color.Transparent;var r=fn(t.srgbColor);return void 0!==r?r:e.Color.Transparent},set:function(t){if("number"!=typeof t||!Number.isFinite(t))throw new RangeError("LineFormat.color must be a Color enum member");if(t===e.Color.Transparent)return void this.owner.writeShapeLineState(qb());var r=pn(t);if(0===r.length)throw new RangeError("LineFormat.color could not be serialized to sRGB");var n=Xb(this.owner.readShapeLineState());this.owner.writeShapeLineState(HW({},n,{kind:XH.Solid,srgbColor:r,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dashStyle",{get:function(){var e=this.owner.readShapeLineState();return void 0===e||void 0===e.dash?BH.Solid:my(e.dash)?e.dash:BH.Unknown},set:function(e){if(!my(e))throw new RangeError('Invalid LineFormat.dashStyle "'+String(e)+'"');if(e===BH.Unknown)throw new RangeError("LineFormat.dashStyle cannot be set to LineDashing.Unknown");var t=Xb(this.owner.readShapeLineState());this.owner.writeShapeLineState(HW({},t,{kind:XH.Solid,dash:e,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"capStyle",{get:function(){var e=this.owner.readShapeLineState();return void 0===e||void 0===e.cap?UH.Flat:e.cap},set:function(e){if(!gy(e))throw new RangeError('Invalid LineFormat.capStyle "'+String(e)+'"');var t=Xb(this.owner.readShapeLineState());this.owner.writeShapeLineState(HW({},t,{kind:XH.Solid,cap:e,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return QH.Single},set:function(e){if(e!==QH.Single)throw new RangeError('Invalid LineFormat.style "'+String(e)+'"; only LineStyle.Single is supported');this.owner.writeShapeLineState(Xb(this.owner.readShapeLineState()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"weight",{get:function(){var e=this.owner.readShapeLineState();if(void 0!==e&&void 0!==e.widthEmu)return Hr(e.widthEmu)},set:function(e){if(void 0===e){var t=Xb(this.owner.readShapeLineState());return void this.owner.writeShapeLineState(HW({},t,{kind:XH.Solid,widthEmu:void 0,residual:!1}))}if("number"!=typeof e||!Number.isFinite(e)||e<0)throw new RangeError("LineFormat.weight must be a finite non-negative number of points");var r;try{r=Br(0===e?1e-4:e),0===e&&(r=0)}catch(e){if(e instanceof RangeError)throw new RangeError("LineFormat.weight must be a finite non-negative number of points");throw e}var n=Xb(this.owner.readShapeLineState());this.owner.writeShapeLineState(HW({},n,{kind:XH.Solid,widthEmu:r,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transparency",{get:function(){var e=this.owner.readShapeLineState();return void 0===e||e.kind!==XH.Solid?0:ky(e.alpha)},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0||e>100)throw new RangeError("LineFormat.transparency must be a finite number from 0 through 100");var t=this.owner.readShapeLineState();if(void 0===t||t.kind!==XH.Solid)throw new $N("content/invalid-shape","LineFormat.transparency requires an explicit solid line; set color or line first");var r=Ty(e);this.owner.writeShapeLineState(HW({},t,{alpha:r>=1e5?void 0:r,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"beginArrowheadStyle",{get:function(){var e=this.owner.readShapeLineState(),t=void 0!==e?e.beginArrowType:void 0;return void 0!==t?t:eW.None},set:function(e){if(!by(e))throw new RangeError('Invalid LineFormat.beginArrowheadStyle "'+String(e)+'"');var t=Xb(this.owner.readShapeLineState());this.owner.writeShapeLineState(HW({},t,{kind:XH.Solid,beginArrowType:e,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endArrowheadStyle",{get:function(){var e=this.owner.readShapeLineState(),t=void 0!==e?e.endArrowType:void 0;return void 0!==t?t:eW.None},set:function(e){if(!by(e))throw new RangeError('Invalid LineFormat.endArrowheadStyle "'+String(e)+'"');var t=Xb(this.owner.readShapeLineState());this.owner.writeShapeLineState(HW({},t,{kind:XH.Solid,endArrowType:e,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"beginArrowheadSize",{get:function(){var e=this.owner.readShapeLineState();return void 0!==e?e.beginArrowSize:void 0},set:function(e){if(void 0!==e&&!wy(e))throw new RangeError('Invalid LineFormat.beginArrowheadSize "'+String(e)+'"');var t=Xb(this.owner.readShapeLineState());this.owner.writeShapeLineState(HW({},t,{kind:XH.Solid,beginArrowSize:e,residual:!1}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endArrowheadSize",{get:function(){var e=this.owner.readShapeLineState();return void 0!==e?e.endArrowSize:void 0},set:function(e){if(void 0!==e&&!wy(e))throw new RangeError('Invalid LineFormat.endArrowheadSize "'+String(e)+'"');var t=Xb(this.owner.readShapeLineState());this.owner.writeShapeLineState(HW({},t,{kind:XH.Solid,endArrowSize:e,residual:!1}))},enumerable:!0,configurable:!0}),t}(),YW=function(){function e(e){this.owner=e}return Object.defineProperty(e.prototype,"textWrappingStyle",{get:function(){return this.owner.readWrapStyle()},set:function(e){cy("textWrappingStyle",e,mH),this.owner.writeWrapStyle(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textWrappingType",{get:function(){return this.owner.readWrapType()},set:function(e){if(e===xH.Unknown)throw new RangeError("WrapFormat.textWrappingType cannot be set to TextWrappingType.Unknown");cy("textWrappingType",e,kH),this.owner.writeWrapType(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allowOverlap",{get:function(){return this.owner.readAllowOverlap()},set:function(e){if(!0!==e&&!1!==e)throw new RangeError("WrapFormat.allowOverlap must be a boolean");this.owner.writeAllowOverlap(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceTop",{get:function(){return this.owner.readDistanceTop()},set:function(e){if("number"!=typeof e||!Number.isFinite(e))throw new RangeError("WrapFormat.distanceTop must be a finite number of points");this.owner.writeDistanceTop(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceBottom",{get:function(){return this.owner.readDistanceBottom()},set:function(e){if("number"!=typeof e||!Number.isFinite(e))throw new RangeError("WrapFormat.distanceBottom must be a finite number of points");this.owner.writeDistanceBottom(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceLeft",{get:function(){return this.owner.readDistanceLeft()},set:function(e){if("number"!=typeof e||!Number.isFinite(e))throw new RangeError("WrapFormat.distanceLeft must be a finite number of points");this.owner.writeDistanceLeft(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceRight",{get:function(){return this.owner.readDistanceRight()},set:function(e){if("number"!=typeof e||!Number.isFinite(e))throw new RangeError("WrapFormat.distanceRight must be a finite number of points");this.owner.writeDistanceRight(e)},enumerable:!0,configurable:!0}),e}(),ZW=function(){function e(e){this.owner=e}return Object.defineProperty(e.prototype,"left",{get:function(){return this.owner.readInternalMarginLeft()},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0)throw new RangeError("InternalMargin.left must be a finite non-negative number of points");this.owner.writeInternalMarginLeft(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.owner.readInternalMarginTop()},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0)throw new RangeError("InternalMargin.top must be a finite non-negative number of points");this.owner.writeInternalMarginTop(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.owner.readInternalMarginRight()},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0)throw new RangeError("InternalMargin.right must be a finite non-negative number of points");this.owner.writeInternalMarginRight(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.owner.readInternalMarginBottom()},set:function(e){if("number"!=typeof e||!Number.isFinite(e)||e<0)throw new RangeError("InternalMargin.bottom must be a finite non-negative number of points");this.owner.writeInternalMarginBottom(e)},enumerable:!0,configurable:!0}),e}(),KW=function(){function e(e){this.owner=e,this.internalMarginValue=new ZW(e)}return Object.defineProperty(e.prototype,"textDirection",{get:function(){var e=this.owner.readTextFrameDirection();return void 0!==e?e:jW.Horizontal},set:function(e){if(!Sb(e))throw new RangeError('Invalid TextFrame.textDirection "'+String(e)+'"');if("unknown"===e)throw new RangeError("TextFrame.textDirection cannot be set to Unknown");this.owner.writeTextFrameDirection(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textVerticalAlignment",{get:function(){var e=this.owner.readTextFrameVerticalAlignment();return void 0!==e?e:MW.Top},set:function(e){if(!bb(e))throw new RangeError('Invalid TextFrame.textVerticalAlignment "'+String(e)+'"');if("unknown"===e)throw new RangeError("TextFrame.textVerticalAlignment cannot be set to Unknown");this.owner.writeTextFrameVerticalAlignment(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"internalMargin",{get:function(){return this.internalMarginValue},enumerable:!0,configurable:!0}),e}(),JW=function(){return(JW=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},$W=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},QW=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},eG=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(QW(arguments[t]));return e},tG=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},rG=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},nG=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(rG(arguments[t]));return e},iG=!1,oG=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),aG=function(){return(aG=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},lG=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},sG=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},uG=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(sG(arguments[t]));return e},cG=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.hostShape=t,i}return oG(t,e),t.prototype.replaceRawBlocks=function(t){e.prototype.replaceRawBlocks.call(this,t),this.hostShape.syncTxbxBlocksFromBody(this.rawBlocks())},t.prototype.owningDocument=function(){try{return e.prototype.owningDocument.call(this)}catch(e){return this.hostShape.internalOwningDocument()}},t}(rB),dG=function(){function e(e){this.shape=e}return e.prototype.assertAttachedParagraph=function(e){if(!Iw(this.shape.internalBlocks(),e))throw new iA("Paragraph is not in this text box")},e.prototype.owningDocument=function(){return this.shape.internalOwningDocument()},e}(),hG=function(){function e(e,t){var r,n;if(this.horizontalModeled=!1,this.verticalModeled=!1,"string"==typeof e){if(void 0===t)throw new TypeError("DrawingShape residual element is required");this.encodingValue=e,this.residual=t,this.dirtyMode="clean";var i=mb(t)?yb(t):db(t);return this.nameValue=i.name,this.titleValue=i.title,this.descriptionValue=i.description,this.docPrIdValue=i.docPrId,this.distancesModeled=!1,this.behindDocumentModeled=!1,this.fillModeled=!1,this.lineModeled=!1,this.txbxBodyModeled=!1,this.bodyPrModeled=!1,this.childrenValue=[],this.childrenModeled=!1,this.childrenCache=void 0,void(this.parentGroup=void 0)}if(this.encodingValue=e.encoding,this.residual=e.residual,this.dirtyMode=e.dirty,this.nameValue=e.name,this.titleValue=e.title,this.descriptionValue=e.description,this.docPrIdValue=e.docPrId,this.placementValue=e.placement,this.widthValue=e.width,this.heightValue=e.height,this.presetGeometryValue=e.presetGeometry,this.rotationValue=e.rotation,this.lockAspectRatioValue=e.lockAspectRatio,this.flipHorizontalValue=e.flipHorizontal,this.flipVerticalValue=e.flipVertical,this.wrappingValue=e.wrapping,this.wrappingTypeValue=e.wrapType,this.distanceTopValue=e.distanceTop,this.distanceBottomValue=e.distanceBottom,this.distanceLeftValue=e.distanceLeft,this.distanceRightValue=e.distanceRight,this.behindDocumentValue=e.behindDocument,this.distancesModeled=void 0!==e.distanceTop||void 0!==e.distanceBottom||void 0!==e.distanceLeft||void 0!==e.distanceRight,this.behindDocumentModeled=void 0!==e.behindDocument,this.horizontalOriginValue=e.horizontalOrigin,this.verticalOriginValue=e.verticalOrigin,this.horizontalPositionValue=e.horizontalPosition,this.verticalPositionValue=e.verticalPosition,this.horizontalAlignmentValue=e.horizontalAlignment,this.verticalAlignmentValue=e.verticalAlignment,this.horizontalModeled=void 0!==e.horizontalPosition||void 0!==e.horizontalAlignment||void 0!==e.horizontalOrigin,this.verticalModeled=void 0!==e.verticalPosition||void 0!==e.verticalAlignment||void 0!==e.verticalOrigin,this.lockAnchorValue=e.lockAnchor,this.allowOverlapValue=e.allowOverlap,this.layoutInCellValue=e.layoutInCell,this.fillValue=e.fill,this.fillModeled=void 0!==e.fill,this.lineValue=e.line,this.lineModeled=void 0!==e.line,this.txbxBodyModeled=void 0!==e.txbxContent,this.bodyPrModeled=void 0!==e.bodyPrElement,void 0!==e.bodyPrElement&&(this.bodyPrValue=Rb(e.bodyPrElement)),this.childrenValue=void 0!==e.children?uG(e.children):[],this.childrenModeled=void 0!==e.children,this.childrenCache=void 0,this.parentGroup=void 0,this.childrenModeled)try{for(var o=lG(this.childrenValue),a=o.next();!a.done;a=o.next())a.value.parentGroup=this}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}return e.prototype.encoding=function(){return this.encodingValue},e.prototype.placement=function(){if(void 0!==this.placementValue)return this.placementValue;if("vml"===this.encodingValue)return"unknown";var e=this.drawingRoot();return void 0===e?"unknown":void 0!==zy(e,aW,"anchor")?"anchor":void 0!==zy(e,aW,"inline")?"inline":"unknown"},e.prototype.variant=function(){if("vml"===this.encodingValue)return tw(this.residual);if(this.childrenModeled)return"group";if(mb(this.residual))return"grpSp"===this.residual.localName?"group":this.txbxBodyModeled?"textBox":void 0!==this.presetGeometryValue||"structure"===this.dirtyMode?"shape":void 0!==zy(this.residual,uW,"txbx")?"textBox":"shape";var e=this.drawingRoot();if(void 0!==e){var t=Qb(e);if("group"===t||"canvas"===t)return t}return void 0!==this.presetGeometryValue&&"structure"===this.dirtyMode?this.txbxBodyModeled?"textBox":"shape":void 0===e?"unknown":Qb(e)},e.prototype.children=function(){if("vml"===this.encodingValue)return[];if(this.childrenModeled)return this.childrenValue;if(void 0!==this.childrenCache)return this.childrenCache;var e=this.parseNestedChildrenFromResidual();return this.childrenCache=e,e},Object.defineProperty(e.prototype,"name",{get:function(){return void 0!==this.nameValue?this.nameValue:this.readResidualIdentity().name},set:function(e){this.nameValue=e,this.markIdentityDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return"clean"!==this.dirtyMode||void 0!==this.titleValue?this.titleValue:this.readResidualIdentity().title},set:function(e){this.titleValue=e,this.markIdentityDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alternativeText",{get:function(){return"clean"!==this.dirtyMode||void 0!==this.descriptionValue?this.descriptionValue:this.readResidualIdentity().description},set:function(e){this.descriptionValue=e,this.markIdentityDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillFormat",{get:function(){return void 0===this.fillFormatValue&&(this.fillFormatValue=new UW(this)),this.fillFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineFormat",{get:function(){return void 0===this.lineFormatValue&&(this.lineFormatValue=new XW(this)),this.lineFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapFormat",{get:function(){return void 0===this.wrapFormatValue&&(this.wrapFormatValue=new YW(this)),this.wrapFormatValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textFrame",{get:function(){return void 0===this.textFrameValue&&(this.textFrameValue=new KW(this)),this.textFrameValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textBody",{get:function(){if(this.ensureTextBodyAccessible(),void 0===this.textBodyValue){var e,t=this.readTxbxState();try{e=this.internalOwningDocument()}catch(t){e=void 0}this.textBodyValue=new cG(this,e,t.blocks),this.syncTxbxBlocksFromBody(this.textBodyValue.rawBlocks())}return this.textBodyValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoShapeType",{get:function(){if("vml"===this.encodingValue)return AH.Unknown;if(this.readSpPrState().useCustomGeometry)return AH.Custom;var e=this.presetGeometryToken;return void 0!==e&&fy(e)?e:AH.Unknown},enumerable:!0,configurable:!0}),e.prototype.readShapeFillState=function(){if(this.fillModeled)return this.fillValue;if("vml"!==this.encodingValue)return this.readSpPrState().fill},e.prototype.writeShapeFillState=function(e){if(void 0!==e&&"solid"!==e.kind&&"none"!==e.kind)throw new RangeError('Fill kind "'+String(e.kind)+'" cannot be authored; use solid or none');this.fillValue=e,this.fillModeled=!0,this.markStructureDirty()},e.prototype.readShapeLineState=function(){if(this.lineModeled)return this.lineValue;if("vml"!==this.encodingValue)return this.readSpPrState().line},e.prototype.writeShapeLineState=function(e){if(void 0!==e&&"solid"!==e.kind&&"none"!==e.kind)throw new RangeError('Line kind "'+String(e.kind)+'" cannot be authored; use solid or none');if(void 0!==e&&"solid"===e.kind&&void 0===e.srgbColor)throw new RangeError("Solid line requires an sRGB color");this.lineValue=e,this.lineModeled=!0,this.markStructureDirty()},e.prototype.readWrapStyle=function(){return this.wrappingStyleInternal},e.prototype.writeWrapStyle=function(e){this.wrappingStyleInternal=e},e.prototype.readWrapType=function(){return void 0!==this.wrappingTypeValue?this.wrappingTypeValue:"vml"===this.encodingValue?xH.Both:kg(this.residual).wrapType},e.prototype.writeWrapType=function(e){if(e===xH.Unknown)throw new RangeError("WrapFormat.textWrappingType cannot be set to TextWrappingType.Unknown");cy("wrapType",e,kH),this.wrappingTypeValue=e,this.markStructureDirty()},e.prototype.readAllowOverlap=function(){return this.allowOverlapInternal},e.prototype.writeAllowOverlap=function(e){this.allowOverlapInternal=e},e.prototype.readDistanceTop=function(){return this.distanceTopInternal},e.prototype.writeDistanceTop=function(e){this.distanceTopInternal=e},e.prototype.readDistanceBottom=function(){return this.distanceBottomInternal},e.prototype.writeDistanceBottom=function(e){this.distanceBottomInternal=e},e.prototype.readDistanceLeft=function(){return this.distanceLeftInternal},e.prototype.writeDistanceLeft=function(e){this.distanceLeftInternal=e},e.prototype.readDistanceRight=function(){return this.distanceRightInternal},e.prototype.writeDistanceRight=function(e){this.distanceRightInternal=e},e.prototype.readTextFrameDirection=function(){return this.textDirection},e.prototype.writeTextFrameDirection=function(e){this.textDirection=e},e.prototype.readTextFrameVerticalAlignment=function(){return this.verticalAnchor},e.prototype.writeTextFrameVerticalAlignment=function(e){this.verticalAnchor=e},e.prototype.readInternalMarginLeft=function(){return this.readInsetPoints("left",91440)},e.prototype.writeInternalMarginLeft=function(e){this.writeInsetPoints("left",e)},e.prototype.readInternalMarginTop=function(){return this.readInsetPoints("top",45720)},e.prototype.writeInternalMarginTop=function(e){this.writeInsetPoints("top",e)},e.prototype.readInternalMarginRight=function(){return this.readInsetPoints("right",91440)},e.prototype.writeInternalMarginRight=function(e){this.writeInsetPoints("right",e)},e.prototype.readInternalMarginBottom=function(){return this.readInsetPoints("bottom",45720)},e.prototype.writeInternalMarginBottom=function(e){this.writeInsetPoints("bottom",e)},e.prototype.readBodyInsets=function(){return this.insets},e.prototype.writeBodyInsets=function(e){this.insets=e},e.prototype.readInsetPoints=function(e,t){var r,n=this.readBodyInsets();return void 0!==n&&(r="left"===e?n.left:"top"===e?n.top:"right"===e?n.right:n.bottom),void 0!==r?r:Hr(t)},e.prototype.writeInsetPoints=function(e,t){var r=this.readBodyInsets()||{},n={left:r.left,top:r.top,right:r.right,bottom:r.bottom};"left"===e?n.left=t:"top"===e?n.top=t:"right"===e?n.right=t:n.bottom=t,this.writeBodyInsets(n)},e.prototype.ensureTextBodyAccessible=function(){this.readTxbxState(),this.markTxbxBodyModeled()},e.prototype.syncTxbxBlocksFromBody=function(e){this.readTxbxState().blocks=e,this.markTxbxBodyModeled(),this.markStructureDirty()},e.prototype.appendShape=function(e,t,r){var n=this.variant();if("group"!==n&&"canvas"!==n)throw new $N("content/invalid-shape",'appendShape is only valid on group or canvas hosts; variant is "'+n+'"');if(!vy(e))throw new $N("content/invalid-shape",'Invalid autoShapeType "'+String(e)+'"; expected a preset AutoShapeType token');var i,o;try{i=Br(t),o=Br(r)}catch(e){if(e instanceof RangeError)throw new $N("content/invalid-shape","Shape width and height must be positive point values",{cause:e});throw e}if(!(i>0&&o>0))throw new $N("content/invalid-shape","Shape width and height must be positive point values");var a=this.allocateNestedDocPrId(),l=Hb(),s=Wb(),u=lg({placement:"anchor",widthEmu:i,heightEmu:o,presetGeometry:e,docPrId:a,name:"Shape",title:void 0,description:void 0,rotation:0,flipHorizontal:!1,flipVertical:!1,lockAspectRatio:!0,txbxContent:void 0,bodyPr:void 0,fill:l,line:sw(s)});this.ensureChildrenModeled();var c=new fG(aw({encoding:"drawingml",residual:u,dirty:"structure",name:"Shape",title:void 0,description:void 0,docPrId:a,width:t,height:r,presetGeometry:e,rotation:0,lockAspectRatio:!0,flipHorizontal:!1,flipVertical:!1,fill:l,line:s}));return c.parentGroup=this,this.childrenValue.push(c),this.childrenModeled=!0,this.childrenCache=void 0,this.markStructureDirty(),this.notifyParentOfChildDirty(),c},e.prototype.extent=function(){if(void 0!==this.widthValue&&void 0!==this.heightValue)return{width:this.widthValue,height:this.heightValue};if("vml"!==this.encodingValue){var e=Mg(this.residual);return void 0!==e.widthEmu&&void 0!==e.heightEmu?{width:Hr(e.widthEmu),height:Hr(e.heightEmu)}:void 0}},e.prototype.extentEmu=function(){var e=this.extent();if(void 0!==e)return{width:Br(e.width),height:Br(e.height)}},Object.defineProperty(e.prototype,"width",{get:function(){if(void 0!==this.widthValue)return this.widthValue;if("vml"!==this.encodingValue){var e=Mg(this.residual);return void 0!==e.widthEmu?Hr(e.widthEmu):void 0}},set:function(e){this.widthValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){if(void 0!==this.heightValue)return this.heightValue;if("vml"!==this.encodingValue){var e=Mg(this.residual);return void 0!==e.heightEmu?Hr(e.heightEmu):void 0}},set:function(e){this.heightValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return void 0!==this.rotationValue?this.rotationValue:"vml"===this.encodingValue?0:Mg(this.residual).rotation},set:function(e){if(!Number.isFinite(e))throw new RangeError('Invalid rotation value "'+String(e)+'"; expected a finite number');this.rotationValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockAspectRatio",{get:function(){return void 0!==this.lockAspectRatioValue?this.lockAspectRatioValue:"vml"!==this.encodingValue&&Mg(this.residual).lockAspectRatio},set:function(e){this.lockAspectRatioValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"flipHorizontal",{get:function(){return void 0!==this.flipHorizontalValue?this.flipHorizontalValue:"vml"!==this.encodingValue&&Mg(this.residual).flipHorizontal},set:function(e){this.flipHorizontalValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"flipVertical",{get:function(){return void 0!==this.flipVerticalValue?this.flipVerticalValue:"vml"!==this.encodingValue&&Mg(this.residual).flipVertical},set:function(e){this.flipVerticalValue=e,this.markLayoutDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrappingStyleInternal",{get:function(){return void 0!==this.wrappingValue?this.wrappingValue:"vml"===this.encodingValue?$U.None:kg(this.residual).wrapping},set:function(e){cy("wrappingStyle",e,mH),this.wrappingValue=e,e===$U.Inline?this.placementValue="inline":this.placementValue="anchor",this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceTopInternal",{get:function(){return this.readDistancePoints("top")},set:function(e){this.distanceTopValue=e,this.distancesModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceBottomInternal",{get:function(){return this.readDistancePoints("bottom")},set:function(e){this.distanceBottomValue=e,this.distancesModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceLeftInternal",{get:function(){return this.readDistancePoints("left")},set:function(e){this.distanceLeftValue=e,this.distancesModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distanceRightInternal",{get:function(){return this.readDistancePoints("right")},set:function(e){this.distanceRightValue=e,this.distancesModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isBelowText",{get:function(){return void 0!==this.behindDocumentValue?this.behindDocumentValue:"vml"!==this.encodingValue&&kg(this.residual).behindDocument},set:function(e){this.behindDocumentValue=e,this.behindDocumentModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalOrigin",{get:function(){if(void 0!==this.horizontalOriginValue)return this.horizontalOriginValue;if("vml"===this.encodingValue)return QU.Column;var e=Fg(this.residual).horizontalOrigin;return void 0!==e?e:QU.Column},set:function(e){void 0!==e&&cy("horizontalOrigin",e,yH),this.horizontalModeled=!0,this.horizontalOriginValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalOrigin",{get:function(){if(void 0!==this.verticalOriginValue)return this.verticalOriginValue;if("vml"===this.encodingValue)return eH.Paragraph;var e=Fg(this.residual).verticalOrigin;return void 0!==e?e:eH.Paragraph},set:function(e){void 0!==e&&cy("verticalOrigin",e,gH),this.verticalModeled=!0,this.verticalOriginValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalPosition",{get:function(){if(void 0!==this.horizontalPositionValue)return this.horizontalPositionValue;if("vml"!==this.encodingValue)return Fg(this.residual).horizontalPosition},set:function(e){this.horizontalModeled=!0,this.horizontalPositionValue=e,void 0!==e&&(this.horizontalAlignmentValue=void 0),this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalPosition",{get:function(){if(void 0!==this.verticalPositionValue)return this.verticalPositionValue;if("vml"!==this.encodingValue)return Fg(this.residual).verticalPosition},set:function(e){this.verticalModeled=!0,this.verticalPositionValue=e,void 0!==e&&(this.verticalAlignmentValue=void 0),this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalAlignment",{get:function(){if(void 0!==this.horizontalAlignmentValue)return this.horizontalAlignmentValue;if(void 0!==this.horizontalPositionValue)return tH.None;if("vml"===this.encodingValue)return tH.None;var e=Fg(this.residual).horizontalAlignment;return void 0!==e?e:tH.None},set:function(e){if(void 0!==e){if(e===tH.Unknown)throw new RangeError("horizontalAlignment cannot be set to HorizontalAlignment.Unknown");cy("horizontalAlignment",e,bH),this.horizontalPositionValue=void 0}this.horizontalModeled=!0,this.horizontalAlignmentValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlignment",{get:function(){if(void 0!==this.verticalAlignmentValue)return this.verticalAlignmentValue;if(void 0!==this.verticalPositionValue)return iH.None;if("vml"===this.encodingValue)return iH.None;var e=Fg(this.residual).verticalAlignment;return void 0!==e?e:iH.None},set:function(e){if(void 0!==e){if(e===iH.Unknown)throw new RangeError("verticalAlignment cannot be set to VerticalAlignment.Unknown");cy("verticalAlignment",e,PH),this.verticalPositionValue=void 0}this.verticalModeled=!0,this.verticalAlignmentValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockAnchor",{get:function(){return void 0!==this.lockAnchorValue?this.lockAnchorValue:"vml"!==this.encodingValue&&kg(this.residual).lockAnchor},set:function(e){this.lockAnchorValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allowOverlapInternal",{get:function(){return void 0!==this.allowOverlapValue?this.allowOverlapValue:"vml"!==this.encodingValue&&kg(this.residual).allowOverlap},set:function(e){this.allowOverlapValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutInCell",{get:function(){return void 0!==this.layoutInCellValue?this.layoutInCellValue:"vml"!==this.encodingValue&&kg(this.residual).layoutInCell},set:function(e){this.layoutInCellValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),e.prototype.readSpPrState=function(){if(void 0===this.spPrState){var e=Fy(this.residual);this.spPrState={presetGeometry:e.presetGeometry,useCustomGeometry:e.useCustomGeometry,fill:e.fill,line:e.line,hasThemeStyle:e.hasThemeStyle}}return this.spPrState},Object.defineProperty(e.prototype,"presetGeometryToken",{get:function(){if(void 0!==this.presetGeometryValue)return this.presetGeometryValue;if("vml"!==this.encodingValue)return this.readSpPrState().presetGeometry},set:function(e){if(void 0!==e&&!fy(e))throw new RangeError('Invalid presetGeometry value "'+e+'"; expected an ST_ShapeType token');this.presetGeometryValue=e,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillInternal",{get:function(){if(this.fillModeled)return this.fillValue;if("vml"!==this.encodingValue)return this.readSpPrState().fill},set:function(e){if(void 0!==e&&"solid"!==e.kind&&"none"!==e.kind)throw new RangeError('Fill kind "'+String(e.kind)+'" cannot be authored; use solid or none');this.fillValue=e,this.fillModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineInternal",{get:function(){if(this.lineModeled)return this.lineValue;if("vml"!==this.encodingValue)return this.readSpPrState().line},set:function(e){if(void 0!==e&&"solid"!==e.kind&&"none"!==e.kind)throw new RangeError('Line kind "'+String(e.kind)+'" cannot be authored; use solid or none');this.lineValue=e,this.lineModeled=!0,this.markStructureDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasThemeStyle",{get:function(){return"vml"!==this.encodingValue&&this.readSpPrState().hasThemeStyle},enumerable:!0,configurable:!0}),e.prototype.readTxbxState=function(){if(void 0===this.txbxState){if("vml"===this.encodingValue)return this.txbxState={present:!1,blocks:[],residualTxbx:void 0,residualTxbxContent:void 0},this.txbxState;var e=Eb(this.residual),t=void 0!==e?Lb(e):void 0,r=void 0!==t?ig(t,this.textBoxOwnerForParse()):[];this.txbxState={present:void 0!==e,blocks:r,residualTxbx:e,residualTxbxContent:t}}return this.txbxState},e.prototype.textBoxOwnerForParse=function(){return void 0===this.textBoxOwner&&(this.textBoxOwner=new dG(this)),this.textBoxOwner},e.prototype.isTextBox=function(){return"vml"!==this.encodingValue&&(!!this.txbxBodyModeled||void 0!==Eb(this.residual))},e.prototype.hasVmlFallback=function(){return"vml"!==this.encodingValue&&ew(this.residual)},e.prototype.requireTextBox=function(){if(!this.isTextBox())throw new $N("content/invalid-shape","Text box body APIs require a textBox variant shape (wps:txbx). Author one with appendShape({ textBox: true }) or edit a loaded text box.");return this.readTxbxState()},e.prototype.readBodyPrState=function(){return this.bodyPrModeled&&void 0!==this.bodyPrValue?this.bodyPrValue:(void 0===this.bodyPrValue&&("vml"===this.encodingValue?this.bodyPrValue={verticalAnchor:void 0,anchorCenter:void 0,textDirection:void 0,textWrapInside:void 0,verticalOverflow:void 0,horizontalOverflow:void 0,fromWordArt:void 0,insets:void 0,autoFit:void 0,hasPresetTextWarp:!1,residual:!1}:this.bodyPrValue=Rb(this.residual)),this.bodyPrValue)},e.prototype.writeBodyPrField=function(e){if("vml"===this.encodingValue)throw new $N("content/invalid-shape","VML leaves do not carry wps:bodyPr; convert to DrawingML to model text body properties");this.bodyPrValue=e,this.bodyPrModeled=!0,this.markStructureDirty()},Object.defineProperty(e.prototype,"verticalAnchor",{get:function(){return this.readBodyPrState().verticalAnchor},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(aG({},t,{verticalAnchor:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"anchorCenter",{get:function(){return this.readBodyPrState().anchorCenter},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(aG({},t,{anchorCenter:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textDirection",{get:function(){return this.readBodyPrState().textDirection},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(aG({},t,{textDirection:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textWrapInside",{get:function(){return this.readBodyPrState().textWrapInside},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(aG({},t,{textWrapInside:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalOverflow",{get:function(){return this.readBodyPrState().verticalOverflow},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(aG({},t,{verticalOverflow:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalOverflow",{get:function(){return this.readBodyPrState().horizontalOverflow},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(aG({},t,{horizontalOverflow:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fromWordArt",{get:function(){return this.readBodyPrState().fromWordArt},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(aG({},t,{fromWordArt:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"insets",{get:function(){return this.readBodyPrState().insets},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(aG({},t,{insets:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoFit",{get:function(){return this.readBodyPrState().autoFit},set:function(e){var t=this.readBodyPrState();this.writeBodyPrField(aG({},t,{autoFit:e}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bodyPrResidual",{get:function(){return"vml"!==this.encodingValue&&this.readBodyPrState().residual},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasPresetTextWarp",{get:function(){return"vml"!==this.encodingValue&&this.readBodyPrState().hasPresetTextWarp},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"blocks",{get:function(){return this.requireTextBox(),this.textBody.items.toArray()},enumerable:!0,configurable:!0}),e.prototype.insertBodyItemAt=function(e,t){return this.requireTextBox(),this.textBody.items.insert(e,t)},e.prototype.removeBodyItemAt=function(e){this.requireTextBox(),this.textBody.items.removeAt(e)},e.prototype.removeBodyItem=function(e){this.requireTextBox(),this.textBody.items.remove(e)},e.prototype.internalBlocks=function(){return void 0!==this.textBodyValue?this.textBodyValue.rawBlocks():void 0!==this.txbxState?this.txbxState.blocks:this.readTxbxState().blocks},e.prototype.internalOwningDocument=function(){var e=this.anchoringParagraph;if(void 0!==e)return e.owningDocument();throw new iA("This drawing shape is not attached to a document paragraph")},e.prototype.getAnchoringParagraph=function(){return this.anchoringParagraph},e.prototype.bindAnchoringParagraph=function(e){this.anchoringParagraph=e},e.prototype.relationshipIds=function(){return rw(this.residual)},e.prototype.toOpenXml=function(){if(void 0!==this.txbxState&&"vml"!==this.encodingValue){var e=this.readTxbxState();if("clean"===this.dirtyMode){r=this.replaceTxbxContentInResidual(Jb(this.residual),e);return this.hasDirtyNestedChildren()&&(r=this.rewriteResidualNestedChildren(r)),r}if("identity"===this.dirtyMode){var t=mb(this.residual)?gb(Jb(this.residual),{name:this.nameValue,title:this.titleValue,description:this.descriptionValue,docPrId:this.docPrIdValue}):fb(Jb(this.residual),{name:this.nameValue,title:this.titleValue,description:this.descriptionValue,docPrId:this.docPrIdValue}),r=this.replaceTxbxContentInResidual(t,e);return this.hasDirtyNestedChildren()&&(r=this.rewriteResidualNestedChildren(r)),r}if("layout"===this.dirtyMode){if(void 0===this.widthValue||void 0===this.heightValue)throw new $N("content/invalid-shape","Layout-dirty drawing shape is missing width or height");var n=Br(this.widthValue),i=Br(this.heightValue),r=pb(this.residual,{widthEmu:n,heightEmu:i,rotation:null!=this.rotationValue?this.rotationValue:0,flipHorizontal:null!=this.flipHorizontalValue&&this.flipHorizontalValue,flipVertical:null!=this.flipVerticalValue&&this.flipVerticalValue,lockAspectRatio:null!=this.lockAspectRatioValue&&this.lockAspectRatioValue,name:this.nameValue,title:this.titleValue,description:this.descriptionValue,docPrId:this.docPrIdValue});return r=this.replaceTxbxContentInResidual(r,e),this.hasDirtyNestedChildren()&&(r=this.rewriteResidualNestedChildren(r)),r}}if("clean"===this.dirtyMode)return this.hasDirtyNestedChildren()?this.rewriteResidualNestedChildren(Jb(this.residual)):this.residual;if("identity"===this.dirtyMode){var o={name:this.nameValue,title:this.titleValue,description:this.descriptionValue,docPrId:this.docPrIdValue},r=mb(this.residual)?gb(this.residual,o):fb(this.residual,o);return this.hasDirtyNestedChildren()&&(r=this.rewriteResidualNestedChildren(r===this.residual?Jb(this.residual):r)),r}if("layout"===this.dirtyMode){if(void 0===this.widthValue||void 0===this.heightValue)throw new $N("content/invalid-shape","Layout-dirty drawing shape is missing width or height");var a=Br(this.widthValue),l=Br(this.heightValue),r=pb(this.residual,{widthEmu:a,heightEmu:l,rotation:null!=this.rotationValue?this.rotationValue:0,flipHorizontal:null!=this.flipHorizontalValue&&this.flipHorizontalValue,flipVertical:null!=this.flipVerticalValue&&this.flipVerticalValue,lockAspectRatio:null!=this.lockAspectRatioValue&&this.lockAspectRatioValue,name:this.nameValue,title:this.titleValue,description:this.descriptionValue,docPrId:this.docPrIdValue});return this.hasDirtyNestedChildren()&&(r=this.rewriteResidualNestedChildren(r)),r}var s=null!=this.placementValue?this.placementValue:"anchor",u=void 0===this.widthValue?void 0:Br(this.widthValue),c=void 0===this.heightValue?void 0:Br(this.heightValue),d=void 0===this.distanceTopValue?void 0:_r(this.distanceTopValue),h=void 0===this.distanceBottomValue?void 0:_r(this.distanceBottomValue),f=void 0===this.distanceLeftValue?void 0:_r(this.distanceLeftValue),p=void 0===this.distanceRightValue?void 0:_r(this.distanceRightValue),v=void 0===this.horizontalPositionValue?void 0:_r(this.horizontalPositionValue),m=void 0===this.verticalPositionValue?void 0:_r(this.verticalPositionValue),y=null!=this.docPrIdValue?this.docPrIdValue:1,g=null!=this.wrappingValue?this.wrappingValue:"inline"===s?$U.Inline:$U.None,b=this.variant();if(this.childrenModeled||"group"===b||"canvas"===b){if(void 0===u||void 0===c)throw new $N("content/invalid-shape","Authored drawing group is missing width or height");this.ensureChildrenModeled();var w=this.childrenValue.map(function(e){return e.toOpenXml()});return ub(ow({placement:s,widthEmu:u,heightEmu:c,docPrId:y,name:null!=this.nameValue?this.nameValue:"Group",title:this.titleValue,description:this.descriptionValue,rotation:null!=this.rotationValue?this.rotationValue:0,flipHorizontal:null!=this.flipHorizontalValue&&this.flipHorizontalValue,flipVertical:null!=this.flipVerticalValue&&this.flipVerticalValue,lockAspectRatio:null==this.lockAspectRatioValue||this.lockAspectRatioValue,wrapping:g,distanceTopEmu:d,distanceBottomEmu:h,distanceLeftEmu:f,distanceRightEmu:p,behindDocument:this.behindDocumentValue,horizontalOrigin:this.horizontalOriginValue,verticalOrigin:this.verticalOriginValue,horizontalPositionEmu:v,verticalPositionEmu:m,horizontalAlignment:this.horizontalAlignmentValue,verticalAlignment:this.verticalAlignmentValue,horizontalModeled:this.horizontalModeled,verticalModeled:this.verticalModeled,lockAnchor:this.lockAnchorValue,allowOverlap:this.allowOverlapValue,layoutInCell:this.layoutInCellValue,preservedHost:this.residual,layoutDirty:!0,children:w}))}if(mb(this.residual)){if(void 0===u||void 0===c)throw new $N("content/invalid-shape","Authored nested drawing shape is missing width or height");var P=this.presetGeometryValue;if(void 0===P)throw new $N("content/invalid-shape","Authored nested drawing shape is missing presetGeometry");var S=void 0;(void 0!==this.txbxState||this.txbxBodyModeled)&&(S=ng((e=this.readTxbxState()).blocks.length>0?e.blocks:Kb()));var x=this.bodyPrModeled?zb(null!=this.bodyPrValue?this.bodyPrValue:{}):void 0,C=this.fillModeled?lw(this.fillValue):void 0,I=this.lineModeled?sw(this.lineValue):void 0;return lg({placement:"anchor",widthEmu:u,heightEmu:c,presetGeometry:P,docPrId:y,name:null!=this.nameValue?this.nameValue:"Shape",title:this.titleValue,description:this.descriptionValue,rotation:null!=this.rotationValue?this.rotationValue:0,flipHorizontal:null!=this.flipHorizontalValue&&this.flipHorizontalValue,flipVertical:null!=this.flipVerticalValue&&this.flipVerticalValue,lockAspectRatio:null==this.lockAspectRatioValue||this.lockAspectRatioValue,txbxContent:S,bodyPr:x,fill:C,line:I})}var V=this.presetGeometryValue;if(void 0===u||void 0===c||void 0===V)throw new $N("content/invalid-shape","Authored drawing shape is missing size or presetGeometry");var T;(void 0!==this.txbxState||this.txbxBodyModeled)&&(T=ng((e=this.readTxbxState()).blocks.length>0?e.blocks:Kb()));var k=this.bodyPrModeled?zb(null!=this.bodyPrValue?this.bodyPrValue:{}):void 0;return sb(iw({placement:s,widthEmu:u,heightEmu:c,presetGeometry:V,docPrId:y,name:null!=this.nameValue?this.nameValue:"Shape",title:this.titleValue,description:this.descriptionValue,rotation:null!=this.rotationValue?this.rotationValue:0,flipHorizontal:null!=this.flipHorizontalValue&&this.flipHorizontalValue,flipVertical:null!=this.flipVerticalValue&&this.flipVerticalValue,lockAspectRatio:null==this.lockAspectRatioValue||this.lockAspectRatioValue,wrapping:g,wrapType:this.readWrapType(),distanceTopEmu:d,distanceBottomEmu:h,distanceLeftEmu:f,distanceRightEmu:p,behindDocument:this.behindDocumentValue,horizontalOrigin:this.horizontalOriginValue,verticalOrigin:this.verticalOriginValue,horizontalPositionEmu:v,verticalPositionEmu:m,horizontalAlignment:this.horizontalAlignmentValue,verticalAlignment:this.verticalAlignmentValue,horizontalModeled:this.horizontalModeled,verticalModeled:this.verticalModeled,lockAnchor:this.lockAnchorValue,allowOverlap:this.allowOverlapValue,layoutInCell:this.layoutInCellValue,preservedHost:this.residual,layoutDirty:!0,txbxContent:T,bodyPr:k,fill:this.fillModeled?lw(this.fillValue):void 0,line:this.lineModeled?sw(this.lineValue):void 0}))},e.prototype.replaceTxbxContentInResidual=function(e,t){var r=Eb(e);if(void 0===r)return e;var n=ng(t.blocks.length>0?t.blocks:Kb()),i=r.children.filter(function(e){return!("element"===e.kind&&"txbxContent"===e.localName)});return r.children=uG(i,[function(){return pt("txbxContent",{children:n})}()]),e},e.prototype.drawingRoot=function(){var e;return e=cb(this.residual),null!=e?e:ut(this.residual,"drawing")?this.residual:void 0},e.prototype.markIdentityDirty=function(){if("structure"===this.dirtyMode||"layout"===this.dirtyMode)return void this.notifyParentOfChildDirty();if("clean"===this.dirtyMode){var e=this.readResidualIdentity();void 0===this.nameValue&&(this.nameValue=e.name),void 0===this.titleValue&&(this.titleValue=e.title),void 0===this.descriptionValue&&(this.descriptionValue=e.description),void 0===this.docPrIdValue&&(this.docPrIdValue=e.docPrId)}this.dirtyMode="identity",this.notifyParentOfChildDirty()},e.prototype.markLayoutDirty=function(){if("structure"===this.dirtyMode)return void this.notifyParentOfChildDirty();"clean"!==this.dirtyMode&&"identity"!==this.dirtyMode||this.hydrateIdentityAndLayoutFromResidual(),this.dirtyMode="layout",this.notifyParentOfChildDirty()},e.prototype.markTxbxBodyModeled=function(){this.txbxBodyModeled=!0},e.prototype.markStructureDirty=function(){if("structure"!==this.dirtyMode){if(this.hydrateIdentityAndLayoutFromResidual(),"vml"!==this.encodingValue){var e=kg(this.residual);void 0===this.placementValue&&(this.placementValue=e.placement),void 0===this.wrappingValue&&(this.wrappingValue=e.wrapping),this.distancesModeled||(void 0===this.distanceTopValue&&void 0!==e.distanceTopEmu&&(this.distanceTopValue=Hr(e.distanceTopEmu)),void 0===this.distanceBottomValue&&void 0!==e.distanceBottomEmu&&(this.distanceBottomValue=Hr(e.distanceBottomEmu)),void 0===this.distanceLeftValue&&void 0!==e.distanceLeftEmu&&(this.distanceLeftValue=Hr(e.distanceLeftEmu)),void 0===this.distanceRightValue&&void 0!==e.distanceRightEmu&&(this.distanceRightValue=Hr(e.distanceRightEmu))),this.behindDocumentModeled||void 0!==this.behindDocumentValue||(this.behindDocumentValue=e.behindDocument),void 0===this.presetGeometryValue&&(this.presetGeometryValue=e.presetGeometry);var t=Fg(this.residual);void 0===this.horizontalOriginValue&&(this.horizontalOriginValue=t.horizontalOrigin),void 0===this.horizontalPositionValue&&void 0!==t.horizontalPositionEmu&&(this.horizontalPositionValue=Hr(t.horizontalPositionEmu)),void 0===this.horizontalAlignmentValue&&(this.horizontalAlignmentValue=t.horizontalAlignment),void 0===this.verticalOriginValue&&(this.verticalOriginValue=t.verticalOrigin),void 0===this.verticalPositionValue&&void 0!==t.verticalPositionEmu&&(this.verticalPositionValue=Hr(t.verticalPositionEmu)),void 0===this.verticalAlignmentValue&&(this.verticalAlignmentValue=t.verticalAlignment),void 0===this.lockAnchorValue&&(this.lockAnchorValue=e.lockAnchor),void 0===this.allowOverlapValue&&(this.allowOverlapValue=e.allowOverlap),void 0===this.layoutInCellValue&&(this.layoutInCellValue=e.layoutInCell)}this.spPrState=void 0}this.bodyPrModeled||(this.bodyPrValue=void 0),this.dirtyMode="structure",this.notifyParentOfChildDirty()},e.prototype.hydrateIdentityAndLayoutFromResidual=function(){var e=this.readResidualIdentity();if(void 0===this.nameValue&&(this.nameValue=e.name),void 0===this.titleValue&&(this.titleValue=e.title),void 0===this.descriptionValue&&(this.descriptionValue=e.description),void 0===this.docPrIdValue&&(this.docPrIdValue=e.docPrId),"vml"!==this.encodingValue){var t=Mg(this.residual);void 0===this.widthValue&&void 0!==t.widthEmu&&(this.widthValue=Hr(t.widthEmu)),void 0===this.heightValue&&void 0!==t.heightEmu&&(this.heightValue=Hr(t.heightEmu)),void 0===this.rotationValue&&(this.rotationValue=t.rotation),void 0===this.flipHorizontalValue&&(this.flipHorizontalValue=t.flipHorizontal),void 0===this.flipVerticalValue&&(this.flipVerticalValue=t.flipVertical),void 0===this.lockAspectRatioValue&&(this.lockAspectRatioValue=t.lockAspectRatio)}},e.prototype.readResidualIdentity=function(){return mb(this.residual)?yb(this.residual):db(this.residual)},e.prototype.parseNestedChildrenFromResidual=function(){var e,t;if("vml"===this.encodingValue)return[];var r=$b(this.residual);if(void 0===r)return[];var n=[];try{for(var i=lG(Yb(r)),o=i.next();!o.done;o=i.next()){var a=o.value;if(mb(a)){var l=kw("drawingml",a);l.parentGroup=this,n.push(l)}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return n},e.prototype.ensureChildrenModeled=function(){var e,t;if(!this.childrenModeled){var r=void 0!==this.childrenCache?this.childrenCache:this.parseNestedChildrenFromResidual();this.childrenValue=uG(r);try{for(var n=lG(this.childrenValue),i=n.next();!i.done;i=n.next())i.value.parentGroup=this}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.childrenModeled=!0,this.childrenCache=void 0}},e.prototype.allocateNestedDocPrId=function(){var e,t,r=null!=this.anchoringParagraph?this.anchoringParagraph:null==this.parentGroup?void 0:this.parentGroup.anchoringParagraph;if(void 0!==r)return bw(r);var n=null!=this.docPrIdValue?this.docPrIdValue:0;try{for(var i=lG(this.children()),o=i.next();!o.done;o=i.next()){var a=o.value.docPrIdValue;void 0!==a&&a>n&&(n=a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return n+1},e.prototype.hasDirtyNestedChildren=function(){var e,t;if("vml"===this.encodingValue)return!1;var r=this.childrenModeled?this.childrenValue:void 0!==this.childrenCache?this.childrenCache:void 0;if(void 0===r)return!1;try{for(var n=lG(r),i=n.next();!i.done;i=n.next()){var o=i.value;if("clean"!==o.dirtyMode||o.hasDirtyNestedChildren())return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return!1},e.prototype.rewriteResidualNestedChildren=function(e){var t,r;this.ensureChildrenModeled();var n=$b(e);if(void 0===n)return e;var i=this.childrenValue,o=0,a=[];try{for(var l=lG(n.children),s=l.next();!s.done;s=l.next()){var u=s.value;"element"===u.kind&&mb(u)?void 0!==(c=i[o])&&(a.push(c.toOpenXml()),o+=1):a.push(u)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}for(;o<i.length;){var c=i[o];if(void 0===c)break;a.push(c.toOpenXml()),o+=1}return n.children=a,e},e.prototype.notifyParentOfChildDirty=function(){var e=this.parentGroup;void 0!==e&&e.ensureChildrenModeled()},e.prototype.readDistancePoints=function(e){var t="top"===e?this.distanceTopValue:"bottom"===e?this.distanceBottomValue:"left"===e?this.distanceLeftValue:this.distanceRightValue;if(void 0!==t)return t;if("vml"===this.encodingValue)return 0;var r=kg(this.residual),n="top"===e?r.distanceTopEmu:"bottom"===e?r.distanceBottomEmu:"left"===e?r.distanceLeftEmu:r.distanceRightEmu;if(void 0!==n)return Hr(n);var i=this.placement();return"left"!==e&&"right"!==e||"anchor"!==i?0:Hr(xW)},e}(),fG=function(t){function r(r,n){var i=t.call(this,r,n)||this;return i.type=e.EntityType.Shape,i}return oG(r,t),Object.defineProperty(r.prototype,"items",{get:function(){return this.blocks},enumerable:!0,configurable:!0}),r.prototype.insertBodyItemAt=function(e,r){return t.prototype.insertBodyItemAt.call(this,e,r)},r.prototype.removeBodyItemAt=function(e){t.prototype.removeBodyItemAt.call(this,e)},r.prototype.removeBodyItem=function(e){t.prototype.removeBodyItem.call(this,e)},r}(hG),pG=function(t){function r(r,n){var i=t.call(this,r,n)||this;return i.type=e.EntityType.GroupShape,i}return oG(r,t),Object.defineProperty(r.prototype,"childShapes",{get:function(){return this.children()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"childItems",{get:function(){return this.children()},enumerable:!0,configurable:!0}),r.prototype.children=function(){return t.prototype.children.call(this)},r.prototype.add=function(e){var t;if(e instanceof hG?t=e:e instanceof RR&&e.value instanceof hG&&(t=e.value),void 0===t)throw new $N("content/invalid-shape","GroupShape.add requires a drawing shape paragraph item");if(t===this)throw new $N("content/invalid-shape","GroupShape cannot add itself");var r=t.getAnchoringParagraph();if(void 0!==r)for(var n=r.items.toArray(),i=n.length-1;i>=0;i-=1){var o=n[i];if(o instanceof RR&&o.value===t){r.removeFeatureRunItem(t);break}}t.parentGroup=this,this.ensureChildrenModeled(),this.childrenValue.push(t),this.childrenModeled=!0,this.childrenCache=void 0,this.markStructureDirty(),this.notifyParentOfChildDirty()},r.prototype.unGroup=function(){var e,t,r=uG(this.children());this.ensureChildrenModeled();try{for(var n=lG(r),i=n.next();!i.done;i=n.next())i.value.parentGroup=void 0}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.childrenValue=[],this.childrenModeled=!0,this.childrenCache=void 0,this.markStructureDirty(),r},r.prototype.appendShape=function(e,r,n){return t.prototype.appendShape.call(this,e,r,n)},r.prototype.writeShapeFillState=function(e){throw new $N("content/invalid-shape","Fill is not supported on GroupShape")},r.prototype.writeShapeLineState=function(e){throw new $N("content/invalid-shape","Line is not supported on GroupShape")},r.prototype.writeTextFrameDirection=function(e){throw new $N("content/invalid-shape","Text frame is not supported on GroupShape")},r.prototype.writeTextFrameVerticalAlignment=function(e){throw new $N("content/invalid-shape","Text frame is not supported on GroupShape")},r.prototype.ensureTextBodyAccessible=function(){throw new $N("content/invalid-shape","Text body is not supported on GroupShape")},r}(fG),vG=Hr(xW);GR.prototype.appendShape=function(e,t,r){return Nw(this,e,t,r)},GR.prototype.appendGroup=function(e){return Aw(this,e)},Qt(function(){Pw()}),Pw();var mG=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},yG=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(mG(arguments[t]));return e},gG=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},bG=Be("editable-ranges"),wG={None:"none",Everyone:"everyone",Administrators:"administrators",Contributors:"contributors",Editors:"editors",Owners:"owners",Current:"current"},PG=ai(wG),SG=["next","prev"],xG=["id","edGrp","ed","colFirst","colLast","displacedByCustomXml"],CG=function(){function e(e,t){this.rangeIdValue=e,this.editorGroupValue=null==t?void 0:t.editorGroup,this.editorValue=null==t?void 0:t.editor,this.columnFirstValue=null==t?void 0:t.columnFirst,this.columnLastValue=null==t?void 0:t.columnLast,this.displacedByCustomXmlValue=null==t?void 0:t.displacedByCustomXml,this.residual=void 0!==(null==t?void 0:t.residualAttributes)?yG(t.residualAttributes):[]}return Object.defineProperty(e.prototype,"rangeId",{get:function(){return this.rangeIdValue},enumerable:!0,configurable:!0}),e.prototype.setRangeId=function(e){this.rangeIdValue=e},e.prototype.isPendingRangeId=function(){return this.rangeIdValue<0},Object.defineProperty(e.prototype,"editorGroup",{get:function(){return this.editorGroupValue},set:function(e){this.editorGroupValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editor",{get:function(){return this.editorValue},set:function(e){this.editorValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnFirst",{get:function(){return this.columnFirstValue},set:function(e){this.columnFirstValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnLast",{get:function(){return this.columnLastValue},set:function(e){this.columnLastValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"displacedByCustomXml",{get:function(){return this.displacedByCustomXmlValue},set:function(e){this.displacedByCustomXmlValue=e},enumerable:!0,configurable:!0}),e.prototype.residualAttributes=function(){return this.residual},e.prototype.releaseContent=function(){},e.prototype.toOpenXml=function(){var e=[ht("id",String(this.rangeIdValue))];return void 0!==this.editorGroupValue&&e.push(ht("edGrp",this.editorGroupValue)),void 0!==this.editorValue&&e.push(ht("ed",this.editorValue)),void 0!==this.columnFirstValue&&e.push(ht("colFirst",String(this.columnFirstValue))),void 0!==this.columnLastValue&&e.push(ht("colLast",String(this.columnLastValue))),void 0!==this.displacedByCustomXmlValue&&e.push(ht("displacedByCustomXml",this.displacedByCustomXmlValue)),e.push.apply(e,yG(this.residual)),pt("permStart",{attributes:e})},e}(),IG=function(){function e(e,t){this.rangeIdValue=e,this.displacedByCustomXmlValue=null==t?void 0:t.displacedByCustomXml,this.residual=void 0!==(null==t?void 0:t.residualAttributes)?yG(t.residualAttributes):[]}return Object.defineProperty(e.prototype,"rangeId",{get:function(){return this.rangeIdValue},enumerable:!0,configurable:!0}),e.prototype.setRangeId=function(e){this.rangeIdValue=e},e.prototype.isPendingRangeId=function(){return this.rangeIdValue<0},Object.defineProperty(e.prototype,"displacedByCustomXml",{get:function(){return this.displacedByCustomXmlValue},set:function(e){this.displacedByCustomXmlValue=e},enumerable:!0,configurable:!0}),e.prototype.residualAttributes=function(){return this.residual},e.prototype.releaseContent=function(){},e.prototype.toOpenXml=function(){var e=[ht("id",String(this.rangeIdValue))];return void 0!==this.displacedByCustomXmlValue&&e.push(ht("displacedByCustomXml",this.displacedByCustomXmlValue)),e.push.apply(e,yG(this.residual)),pt("permEnd",{attributes:e})},e}(),VG=function(){function e(e,t){this.startMarkerValue=e,this.endMarkerValue=t}return Object.defineProperty(e.prototype,"rangeId",{get:function(){return this.startMarkerValue.rangeId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startMarker",{get:function(){return this.startMarkerValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endMarker",{get:function(){return this.endMarkerValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editorGroup",{get:function(){return this.startMarkerValue.editorGroup},set:function(e){this.startMarkerValue.editorGroup=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editor",{get:function(){return this.startMarkerValue.editor},set:function(e){this.startMarkerValue.editor=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnFirst",{get:function(){return this.startMarkerValue.columnFirst},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columnLast",{get:function(){return this.startMarkerValue.columnLast},enumerable:!0,configurable:!0}),e.prototype.markersShareParagraph=function(e){return zw(e,this)},e}(),TG=new WeakMap,kG=!1;GR.prototype.appendEditableRange=function(e,t){void 0===t&&(t={});var r=cP(this.owningDocument()),n=new CG(r,{editorGroup:t.editorGroup,editor:t.editor,columnFirst:t.columnFirst,columnLast:t.columnLast});this.appendFeatureInline(bG,n),this.appendText(e);var i=new IG(r);return this.appendFeatureInline(bG,i),nP(n,i)},GR.prototype.insertEditableRangeAt=function(e){return yP(this,e)};var FG=bG;fP();var DG,OG,NG=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),AG=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},EG=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(AG(arguments[t]));return e},LG=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},RG={Separator:"separate",End:"end"},BG=function(e){function t(t,r,n,i,o){var a=e.call(this)||this;return a.typeValue=t,a.fldLockValue=r,a.dirtyValue=n,a.extrasValue=i,a.wireGroupValue=null!=o?o:new DR,a}return NG(t,e),Object.defineProperty(t.prototype,"wireGroup",{get:function(){return this.wireGroupValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fieldMarkType",{get:function(){return this.typeValue},enumerable:!0,configurable:!0}),t.prototype.childElements=function(){return this.extrasValue},t.prototype.toOpenXml=function(){var e=[ht("fldCharType",this.typeValue)];return void 0!==this.fldLockValue&&e.push(ht("fldLock",this.fldLockValue?"1":"0")),void 0!==this.dirtyValue&&e.push(ht("dirty",this.dirtyValue?"1":"0")),pt("fldChar",{attributes:e,children:EG(this.extrasValue)})},t}(mR),_G=function(e){function t(t,r,n,i,o){var a=e.call(this)||this;return a.typeValue=t,a.fldLockValue=r,a.dirtyValue=n,a.extrasValue=i,a.wireGroupValue=null!=o?o:new DR,a}return NG(t,e),Object.defineProperty(t.prototype,"wireGroup",{get:function(){return this.wireGroupValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fieldType",{get:function(){return this.typeValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fieldCode",{get:function(){var e=this.findParagraph();return void 0===e?"":wP(gP(e,this))},set:function(e){if(0===e.trim().length)throw new $N("content/invalid-field","Field instruction must not be empty");var t=/^\s*(\S+)/.exec(e);if((null!==t?t[1].toUpperCase():"")!==this.typeValue)throw new $N("content/invalid-field","Field instruction keyword must match fieldType "+this.typeValue);var r=this.findParagraph();if(void 0===r)throw new $N("content/invalid-field","Field is not attached to a paragraph");var n=gP(r,this);if(n.length>0){var i=n[0];if(void 0!==i){var o=" "+e.trim()+" ";i.text=o;for(var a=1;a<n.length;a+=1){var l=n[a];void 0!==l&&(l.text="")}}}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fieldValue",{get:function(){return this.text},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){var e=this.findParagraph();return void 0===e?"":wP(bP(e,this))},set:function(e){var t=this.findParagraph();if(void 0===t)throw new $N("content/invalid-field","Field is not attached to a paragraph");var r=bP(t,this);if(0===r.length)throw new $N("content/invalid-field","Field has no text result");var n=r[0];if(void 0!==n){n.text=e;for(var i=1;i<r.length;i+=1){var o=r[i];void 0!==o&&(o.text="")}}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"characterFormat",{get:function(){var e=this.findParagraph();if(void 0===e)throw new $N("content/invalid-field","Field is not attached to a paragraph");var t=this.firstResultTextRange(e);if(void 0===t)throw new $N("content/invalid-field","Field does not contain a text result");return t.characterFormat},enumerable:!0,configurable:!0}),t.prototype.toOpenXml=function(){var e=[ht("fldCharType","begin")];return void 0!==this.fldLockValue&&e.push(ht("fldLock",this.fldLockValue?"1":"0")),void 0!==this.dirtyValue&&e.push(ht("dirty",this.dirtyValue?"1":"0")),pt("fldChar",{attributes:e,children:EG(this.extrasValue)})},t.prototype.findParagraph=function(){var e=this.owner;if(void 0!==e&&"object"==typeof e)return"items"in e?e:void 0},t.prototype.firstResultTextRange=function(e){var t=bP(e,this);return t.length>0?t[0]:void 0},t}(mR),jG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return NG(t,e),t}(_G),MG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return NG(t,e),Object.defineProperty(t.prototype,"fieldName",{get:function(){return PP(this.fieldCode).fieldName},set:function(e){var t=e.trim();if(0===t.length)throw new $N("content/invalid-field","MergeField fieldName must not be empty");var r=PP(this.fieldCode);r.fieldName=t,this.fieldCode=SP(r)},enumerable:!0,configurable:!0}),t}(_G),zG=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},UG=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},HG={Arabic:"arabic",UpperCaseRoman:"upperCaseRoman",LowerCaseRoman:"lowerCaseRoman",UpperCaseLetter:"upperCaseLetter",LowerCaseLetter:"lowerCaseLetter"},WG={Above:"above",Below:"below"},GG=(OG={},OG[HG.Arabic]="ARABIC",OG[HG.UpperCaseRoman]="ROMAN",OG[HG.LowerCaseRoman]="roman",OG[HG.UpperCaseLetter]="ALPHABETIC",OG[HG.LowerCaseLetter]="alphabetic",OG),qG=new Set(ai(HG)),XG=new Set(ai(WG)),YG=[[1e3,"M"],[900,"CM"],[500,"D"],[400,"CD"],[100,"C"],[90,"XC"],[50,"L"],[40,"XL"],[10,"X"],[9,"IX"],[5,"V"],[4,"IV"],[1,"I"]],ZG=new WeakMap,KG=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},JG=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(KG(arguments[t]));return e},$G=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},QG="Caption";CP(RP);var eq=function(){return(eq=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},tq=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},rq="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",nq="http://schemas.openxmlformats.org/drawingml/2006/main",iq="http://schemas.openxmlformats.org/drawingml/2006/picture",oq="http://schemas.openxmlformats.org/officeDocument/2006/relationships",aq=6e4,lq="http://schemas.openxmlformats.org/drawingml/2006/picture",sq="image/png",uq="image/jpeg",cq=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],dq=function(){return(dq=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},hq=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},fq=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(hq(arguments[t]));return e},pq=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},vq=Be("images"),mq="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",yq="http://purl.oclc.org/ooxml/officeDocument/relationships/image",gq=[mq,yq],bq="image/png",wq="image/jpeg",Pq=100,Sq=100,xq=function(){function t(t,r,n){if(this.type=e.EntityType.Picture,t instanceof mB)return this.relationshipIdValue="",this.widthValue=Pq,this.heightValue=Sq,this.nameValue="Picture",this.titleValue=void 0,this.descriptionValue=void 0,this.lockAspectRatioValue=!0,this.rotationValue=0,this.flipHorizontalValue=!1,this.flipVerticalValue=!1,this.placementValue=JU.Inline,this.wrappingValue=$U.Inline,this.horizontalOriginValue=void 0,this.verticalOriginValue=void 0,this.horizontalPositionValue=void 0,this.verticalPositionValue=void 0,this.horizontalAlignmentValue=void 0,this.verticalAlignmentValue=void 0,this.docPrIdValue=1,this.preservedHostValue=void 0,this.layoutDirtyValue=!0,this.hyperlinkRelationshipIdValue=void 0,this.hyperlinkTargetValue=void 0,void OP(this,t);var i="string"==typeof t?{relationshipId:t,width:r,height:n}:t,o=IS(i.placement,i.wrapping);this.relationshipIdValue=i.relationshipId,this.widthValue=i.width,this.heightValue=i.height,this.nameValue=null!=i.name?i.name:"Picture",this.titleValue=i.title,this.descriptionValue=i.description,this.lockAspectRatioValue=null==i.lockAspectRatio||i.lockAspectRatio,this.rotationValue=null!=i.rotation?i.rotation:0,this.flipHorizontalValue=null!=i.flipHorizontal&&i.flipHorizontal,this.flipVerticalValue=null!=i.flipVertical&&i.flipVertical,this.placementValue=o.placement,this.wrappingValue=o.wrapping,this.horizontalOriginValue=i.horizontalOrigin,this.verticalOriginValue=i.verticalOrigin,this.horizontalPositionValue=i.horizontalPosition,this.verticalPositionValue=i.verticalPosition,this.horizontalAlignmentValue=i.horizontalAlignment,this.verticalAlignmentValue=i.verticalAlignment,this.docPrIdValue=null!=i.docPrId?i.docPrId:1,this.preservedHostValue=i.preservedHost,this.layoutDirtyValue=null!=i.layoutDirty?i.layoutDirty:void 0===i.preservedHost,this.hyperlinkRelationshipIdValue=i.hyperlinkRelationshipId,this.hyperlinkTargetValue=i.hyperlinkTarget}return t.fromHostState=function(e){return new t(CS({relationshipId:e.relationshipId,width:Hr(e.widthEmu),height:Hr(e.heightEmu),name:e.name,title:e.title,description:e.description,lockAspectRatio:e.lockAspectRatio,rotation:e.rotation,flipHorizontal:e.flipHorizontal,flipVertical:e.flipVertical,placement:e.placement,wrapping:e.wrapping,horizontalOrigin:e.horizontalOrigin,verticalOrigin:e.verticalOrigin,horizontalPosition:e.horizontalPosition,verticalPosition:e.verticalPosition,horizontalAlignment:e.horizontalAlignment,verticalAlignment:e.verticalAlignment,docPrId:e.docPrId,preservedHost:e.preservedHost,layoutDirty:!1,hyperlinkRelationshipId:e.hyperlinkRelationshipId}))},Object.defineProperty(t.prototype,"width",{get:function(){return this.widthValue},set:function(e){this.widthValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.heightValue},set:function(e){this.heightValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hyperlinkRelationshipId",{get:function(){return this.hyperlinkRelationshipIdValue},set:function(e){this.hyperlinkRelationshipIdValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hyperlinkTarget",{get:function(){return this.hyperlinkTargetValue},set:function(e){this.hyperlinkTargetValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"relationshipId",{get:function(){return this.relationshipIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.nameValue},set:function(e){this.nameValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.titleValue},set:function(e){this.titleValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"description",{get:function(){return this.descriptionValue},set:function(e){this.descriptionValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lockAspectRatio",{get:function(){return this.lockAspectRatioValue},set:function(e){this.lockAspectRatioValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotation",{get:function(){return this.rotationValue},set:function(e){if(!Number.isFinite(e))throw new RangeError('Invalid rotation value "'+String(e)+'"; expected a finite number');this.rotationValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"flipHorizontal",{get:function(){return this.flipHorizontalValue},set:function(e){this.flipHorizontalValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"flipVertical",{get:function(){return this.flipVerticalValue},set:function(e){this.flipVerticalValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"placement",{get:function(){return this.placementValue},set:function(e){cy("placement",e,vH),this.placementValue=e,e===JU.Inline?this.wrappingValue=$U.Inline:this.wrappingValue===$U.Inline&&(this.wrappingValue=$U.None),this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textWrappingStyle",{get:function(){return this.wrappingValue},set:function(e){cy("textWrappingStyle",e,mH),this.wrappingValue=e,e===$U.Inline?this.placementValue=JU.Inline:this.placementValue=JU.Anchored,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wrapping",{get:function(){return this.textWrappingStyle},set:function(e){this.textWrappingStyle=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"horizontalOrigin",{get:function(){return this.horizontalOriginValue},set:function(e){void 0!==e&&cy("horizontalOrigin",e,yH),this.horizontalOriginValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"verticalOrigin",{get:function(){return this.verticalOriginValue},set:function(e){void 0!==e&&cy("verticalOrigin",e,gH),this.verticalOriginValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"horizontalPosition",{get:function(){return this.horizontalPositionValue},set:function(e){this.horizontalPositionValue=e,void 0!==e&&(this.horizontalAlignmentValue=void 0),this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"verticalPosition",{get:function(){return this.verticalPositionValue},set:function(e){this.verticalPositionValue=e,void 0!==e&&(this.verticalAlignmentValue=void 0),this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"horizontalAlignment",{get:function(){return this.horizontalAlignmentValue},set:function(e){void 0!==e&&(cy("horizontalAlignment",e,bH),this.horizontalPositionValue=void 0),this.horizontalAlignmentValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"verticalAlignment",{get:function(){return this.verticalAlignmentValue},set:function(e){void 0!==e&&(cy("verticalAlignment",e,PH),this.verticalPositionValue=void 0),this.verticalAlignmentValue=e,this.layoutDirtyValue=!0},enumerable:!0,configurable:!0}),t.prototype.isPendingRelationship=function(){return 0===this.relationshipIdValue.length},t.prototype.resolveRelationshipId=function(e){this.relationshipIdValue=e},t.prototype.applyAppendOptions=function(e){void 0!==e.name&&(this.name=e.name),void 0!==e.title&&(this.title=e.title),void 0!==e.description&&(this.description=e.description),void 0!==e.lockAspectRatio&&(this.lockAspectRatio=e.lockAspectRatio),void 0!==e.rotation&&(this.rotation=e.rotation),void 0!==e.flipHorizontal&&(this.flipHorizontal=e.flipHorizontal),void 0!==e.flipVertical&&(this.flipVertical=e.flipVertical);var t=void 0!==e.textWrappingStyle?e.textWrappingStyle:e.wrapping;void 0!==t?this.textWrappingStyle=t:void 0!==e.placement&&(this.placement=e.placement),void 0!==e.horizontalOrigin&&(this.horizontalOrigin=e.horizontalOrigin),void 0!==e.verticalOrigin&&(this.verticalOrigin=e.verticalOrigin),void 0!==e.horizontalAlignment&&(this.horizontalAlignment=e.horizontalAlignment),void 0!==e.verticalAlignment&&(this.verticalAlignment=e.verticalAlignment),void 0!==e.horizontalPosition&&(this.horizontalPosition=e.horizontalPosition),void 0!==e.verticalPosition&&(this.verticalPosition=e.verticalPosition)},t.prototype.addCaption=function(e,t,r){return IP()(this,e,t,r)},t.prototype.loadImage=function(e){var t=NP(this);if(void 0===t)throw new $N("model/detached-object","Picture is not attached to a document; cannot load image bytes");var r=MS(t),n=wS(e),i=null!=n?n:bq;if(this.isPendingRelationship())return void(void 0!==r.pendingBytesFor(this)?r.updatePendingBytes(this,e):r.registerPendingImage(this,e,i));r.replaceBytes(this.relationshipId,e)},t.prototype.toOpenXml=function(){if(0===this.relationshipIdValue.length)throw new $N("model/detached-object","Inline image relationship id is not materialized; save the document first");return mS({placement:this.placementValue,wrapping:this.wrappingValue,widthEmu:Br(this.widthValue),heightEmu:Br(this.heightValue),relationshipId:this.relationshipIdValue,name:this.nameValue,title:this.titleValue,description:this.descriptionValue,lockAspectRatio:this.lockAspectRatioValue,rotation:this.rotationValue,flipHorizontal:this.flipHorizontalValue,flipVertical:this.flipVerticalValue,horizontalOrigin:null!=this.horizontalOriginValue?this.horizontalOriginValue:QU.Column,verticalOrigin:null!=this.verticalOriginValue?this.verticalOriginValue:eH.Paragraph,horizontalPosition:this.horizontalPositionValue,verticalPosition:this.verticalPositionValue,horizontalAlignment:this.horizontalAlignmentValue,verticalAlignment:this.verticalAlignmentValue,docPrId:this.docPrIdValue,preservedHost:this.preservedHostValue,layoutDirty:this.layoutDirtyValue,hyperlinkRelationshipId:this.hyperlinkRelationshipIdValue})},t}(),Cq=function(){function e(e){this.entries=e,this.byRelationshipId=new Map(fq(e.values()).map(function(e){return[e.relationshipId,e]})),this.pendingRemovals=[],this.pendingImages=new Map}return e.prototype.removeEntry=function(e){var t=this.byRelationshipId.get(e);void 0!==t&&(this.entries.delete(t.partName),this.byRelationshipId.delete(e),this.pendingRemovals.push(t))},e.prototype.isDirty=function(){var e,t;if(this.pendingRemovals.length>0||this.pendingImages.size>0)return!0;try{for(var r=pq(this.entries.values()),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.dirty||void 0!==i.pendingRelationship)return!0}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return!1},e.prototype.applyToPackage=function(e,t){var r,n,i,o,a=e;try{for(var l=pq(this.entries.values()),s=l.next();!s.done;s=l.next())!function(e){if(!e.dirty&&void 0===e.pendingRelationship)return"continue";var r=null!=e.pendingRelationship?e.pendingRelationship:Fe(a,t).items.find(function(t){return t.id===e.relationshipId});a=lt(a,t,e.partName,e.contentType,e.data,r),e.dirty=!1,e.pendingRelationship=void 0}(d=s.value)}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}try{for(var u=pq(this.pendingRemovals),c=u.next();!c.done;c=u.next()){var d=c.value;a=NS(a,t,d)}}catch(e){i={error:e}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return this.pendingRemovals.length=0,a},e.prototype.bytesForRelationship=function(e){var t;return t=this.byRelationshipId.get(e),null==t?void 0:t.data},e.prototype.pendingBytesFor=function(e){var t;return t=this.pendingImages.get(e),null==t?void 0:t.bytes},e.prototype.registerPendingImage=function(e,t,r){this.pendingImages.set(e,{bytes:t,contentType:r})},e.prototype.discardPendingImage=function(e){this.pendingImages.delete(e)},e.prototype.updatePendingBytes=function(e,t){var r=this.pendingImages.get(e);if(void 0===r)throw new $N("content/unknown-image","Pending inline image was not found");this.pendingImages.set(e,dq({},r,{bytes:t}))},e.prototype.materializePending=function(e){var t=this;if(0!==this.pendingImages.size){var r=new Map;Mt(e,function(n){var i,o;try{for(var a=pq(zS(n)),l=a.next();!l.done;l=a.next()){var s=l.value;if(s.isPendingRelationship()){var u=t.pendingImages.get(s);if(void 0!==u){var c=TS(u.bytes),d=r.get(c);void 0===d&&(d=t.allocatePart(u.bytes,u.contentType,RS(e,t),BS(e,t)).relationshipId,r.set(c,d)),s.resolveRelationshipId(d),t.pendingImages.delete(s)}}}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}})}},e.prototype.pendingRelationshipIds=function(){return fq(this.byRelationshipId.keys())},e.prototype.pendingPartNames=function(){return fq(this.entries.keys())},e.prototype.allocatePart=function(e,t,r,n){for(var i=FS(t,n),o=ae(r);this.byRelationshipId.has(o);)o=ae(new Set(fq(r,[o])));var a={partName:i,relationshipId:o,relationshipType:mq,contentType:t,data:e,dirty:!0,pendingRelationship:{id:o,type:mq,target:kS(i),extraAttributes:[],children:[]}};return this.entries.set(i,a),this.byRelationshipId.set(o,a),{entry:a,relationshipId:o}},e.prototype.replaceBytes=function(e,t){var r=this.byRelationshipId.get(e);if(void 0===r)throw new $N("content/unknown-image","Image relationship "+e+" is not loaded");r.data=t;var n=wS(t);void 0!==n&&(r.contentType=n),r.dirty=!0},e.prototype.afterMainDocumentLoad=function(e){Mt(e,function(e){zS(e)})},e}(),Iq=!1;GR.prototype.appendImage=function(e,t){var r=null!=t?t:{},n=MS(this.owningDocument()),i=xS(e,r),o=void 0!==r.textWrappingStyle?r.textWrappingStyle:r.wrapping,a=new xq(CS({relationshipId:"",width:i.width,height:i.height,name:null!=r.name?r.name:"Picture",title:r.title,description:r.description,lockAspectRatio:null==r.lockAspectRatio||r.lockAspectRatio,rotation:null!=r.rotation?r.rotation:0,flipHorizontal:null!=r.flipHorizontal&&r.flipHorizontal,flipVertical:null!=r.flipVertical&&r.flipVertical,placement:r.placement,wrapping:o,horizontalOrigin:r.horizontalOrigin,verticalOrigin:r.verticalOrigin,horizontalPosition:r.horizontalPosition,verticalPosition:r.verticalPosition,horizontalAlignment:r.horizontalAlignment,verticalAlignment:r.verticalAlignment,layoutDirty:!0}));return n.registerPendingImage(a,e,i.contentType),OP(a,this.owningDocument()),this.appendFeatureRunItem(vq,a),a},Qt(function(){jS()}),jS();var Vq=function(){return(Vq=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},Tq=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},kq=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Tq(arguments[t]));return e},Fq=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},Dq=Be("hyperlinks"),Oq="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Nq=[Oq,"http://purl.oclc.org/ooxml/officeDocument/relationships/hyperlink"],Aq="http://schemas.openxmlformats.org/officeDocument/2006/relationships",Eq=function(){function e(){this.runs=[]}return e.prototype.assertAttachedItem=function(e){if(!(e instanceof MR)||this.runs.indexOf(e)<0)throw new iA("This run is no longer in its hyperlink")},e.prototype.appendRun=function(){var e=new MR(this);return this.runs=kq(this.runs,[e]),e},e.prototype.listRuns=function(){return this.runs},e.prototype.detachRuns=function(){var e,t;try{for(var r=Fq(this.runs),n=r.next();!n.done;n=r.next())n.value.detach()}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.runs=[]},e.prototype.hydrateRuns=function(e){var t,r;this.runs=e;try{for(var n=Fq(e),i=n.next();!i.done;i=n.next())i.value.attach(this)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e}(),Lq=function(){function e(e,t,r,n,i,o,a,l){this.runOwner=e,this.items=t,this.relationshipIdValue=r,this.anchor=n,this.tooltip=i,this.docLocation=o,this.tgtFrame=a,this.history=l}return Object.defineProperty(e.prototype,"relationshipId",{get:function(){return this.relationshipIdValue},enumerable:!0,configurable:!0}),e.prototype.resolveRelationshipId=function(e){this.relationshipIdValue=e},Object.defineProperty(e.prototype,"runs",{get:function(){return this.runOwner.listRuns()},enumerable:!0,configurable:!0}),e.prototype.releaseContent=function(){this.runOwner.detachRuns()},e.prototype.toOpenXml=function(){var e,t,r=[];void 0!==this.tgtFrame&&r.push(ht("tgtFrame",this.tgtFrame)),void 0!==this.tooltip&&r.push(ht("tooltip",this.tooltip)),void 0!==this.docLocation&&r.push(ht("docLocation",this.docLocation)),void 0!==this.history&&r.push(ht("history",this.history?"1":"0")),void 0!==this.anchor&&r.push(ht("anchor",this.anchor)),void 0!==this.relationshipIdValue&&r.push({namespaceUri:Aq,localName:"id",prefix:"r",value:this.relationshipIdValue});var n=[];try{for(var i=Fq(this.items),o=i.next();!o.done;o=i.next()){var a=o.value;"textRange"===a.type?n.push(UR(a.run)):n.push(a.xml)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return pt("hyperlink",{attributes:r,namespaceDeclarations:void 0!==this.relationshipIdValue?[{prefix:"r",namespaceUri:Aq}]:[],children:n})},e}(),Rq=function(){function e(e,t){this.byRelationshipId=e,this.pendingRemovals=[],this.pendingExternal=new Map,this.dirty=t}return e.prototype.removeEntry=function(e){this.byRelationshipId.has(e)&&(this.byRelationshipId.delete(e),this.pendingRemovals.push(e),this.dirty=!0)},e.prototype.isDirty=function(){return this.dirty||this.pendingRemovals.length>0||this.pendingExternal.size>0||kq(this.byRelationshipId.values()).some(function(e){return void 0!==e.pendingRelationship})},e.prototype.applyToPackage=function(e,t){var r,n,i,o,a=e,l=kq(this.byRelationshipId.values()).map(function(e){return e.pendingRelationship}).filter(function(e){return void 0!==e});if(l.length>0){var s=nx(Fe(a,t),l);try{for(var u=Fq(this.byRelationshipId.values()),c=u.next();!c.done;c=u.next())c.value.pendingRelationship=void 0}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}a=Le(a,t,s)}try{for(var d=Fq(this.pendingRemovals),h=d.next();!h.done;h=d.next())!function(e){a=sx(a,t,function(t){return t.id!==e})}(h.value)}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}return this.pendingRemovals.length=0,this.dirty=!1,a},e.prototype.relationshipIds=function(){return kq(this.byRelationshipId.keys())},e.prototype.targetForRelationship=function(e){var t;return t=this.byRelationshipId.get(e),null==t?void 0:t.target},e.prototype.registerPendingExternal=function(e,t,r){void 0===r&&(r=Oq),this.pendingExternal.set(e,{target:t,relationshipType:r}),this.dirty=!0},e.prototype.pendingTargetFor=function(e){var t;return t=this.pendingExternal.get(e),null==t?void 0:t.target},e.prototype.materializePending=function(e){var t=this;0!==this.pendingExternal.size&&Mt(e,function(r){var n,i;try{for(var o=Fq(hx(r)),a=o.next();!a.done;a=o.next()){var l=a.value;if(void 0===l.relationshipId){var s=t.pendingExternal.get(l);if(void 0!==s){var u=t.allocateExternalTarget(s.target,lx(e,t),s.relationshipType);l.resolveRelationshipId(u),t.pendingExternal.delete(l)}}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}})},e.prototype.allocateExternalTarget=function(e,t,r){void 0===r&&(r=Oq);for(var n=ae(t);this.byRelationshipId.has(n);)n=ae(new Set(kq(t,[n])));var i={id:n,type:r,target:e,targetMode:sE.External,extraAttributes:[],children:[]};return this.byRelationshipId.set(n,{relationshipId:n,target:e,relationshipType:r,pendingRelationship:i}),this.dirty=!0,n},e}(),Bq=!1;cx();var _q=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),jq=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Mq=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(jq(arguments[t]));return e},zq=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},Uq=Be("fields"),Hq={Page:"PAGE",NumPages:"NUMPAGES",If:"IF",MergeField:"MERGEFIELD",Hyperlink:"HYPERLINK"},Wq=new Map([[Hq.Page,Hq.Page],[Hq.NumPages,Hq.NumPages],[Hq.If,Hq.If],[Hq.MergeField,Hq.MergeField],[Hq.Hyperlink,Hq.Hyperlink]]),Gq={WebLink:"WebLink",EmailLink:"EmailLink",FileLink:"FileLink",Bookmark:"Bookmark"},qq=function(){function e(){this.runs=[]}return e.prototype.assertAttachedItem=function(e){if(!(e instanceof MR)||this.runs.indexOf(e)<0)throw new iA("This run is no longer in its field")},e.prototype.appendRun=function(){var e=new MR(this);return this.runs=Mq(this.runs,[e]),e},e.prototype.listRuns=function(){return this.runs},e.prototype.detachRuns=function(){var e,t;try{for(var r=zq(this.runs),n=r.next();!n.done;n=r.next())n.value.detach()}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.runs=[]},e.prototype.hydrateRuns=function(e){var t,r;this.runs=e;try{for(var n=zq(e),i=n.next();!i.done;i=n.next())i.value.attach(this)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e}(),Xq=function(){function e(e,t,r,n,i,o){this.runOwner=e,this.extras=t,this.items=r,this.instructionValue=n,this.fldLock=i,this.dirty=o}return Object.defineProperty(e.prototype,"instruction",{get:function(){return this.instructionValue},enumerable:!0,configurable:!0}),e.prototype.setInstruction=function(e){this.instructionValue=e},Object.defineProperty(e.prototype,"runs",{get:function(){return this.runOwner.listRuns()},enumerable:!0,configurable:!0}),e.prototype.releaseContent=function(){this.runOwner.detachRuns()},e.prototype.toOpenXml=function(){var e,t,r=[ht("instr",this.instructionValue)];void 0!==this.fldLock&&r.push(ht("fldLock",this.fldLock?"1":"0")),void 0!==this.dirty&&r.push(ht("dirty",this.dirty?"1":"0"));var n=Mq(this.extras);try{for(var i=zq(this.items),o=i.next();!o.done;o=i.next()){var a=o.value;"textRange"===a.type?n.push(UR(a.run)):n.push(a.xml)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return pt("fldSimple",{attributes:r,children:n})},e}(),Yq=function(){function e(e,t,r,n){this.fldCharType=e,this.fldLock=t,this.dirty=r,this.extras=n}return e.prototype.childElements=function(){return this.extras},e.prototype.toOpenXml=function(){var e=[ht("fldCharType",this.fldCharType)];return void 0!==this.fldLock&&e.push(ht("fldLock",this.fldLock?"1":"0")),void 0!==this.dirty&&e.push(ht("dirty",this.dirty?"1":"0")),pt("fldChar",{attributes:e,children:Mq(this.extras)})},e}(),Zq=function(){function e(e,t){this.textValue=e,this.xmlSpacePreserve=t}return Object.defineProperty(e.prototype,"text",{get:function(){return this.textValue},enumerable:!0,configurable:!0}),e.prototype.setText=function(e){this.textValue=e},e.prototype.toOpenXml=function(){return pt("instrText",{attributes:this.xmlSpacePreserve?[ft()]:[],children:[{kind:"text",value:this.textValue}]})},e}(),Kq=function(){function e(e,t,r,n){void 0===n&&(n=[]),this.instructionValue=e,this.resultRuns=t,this.markerValues=r,this.instructionTexts=n}return Object.defineProperty(e.prototype,"instruction",{get:function(){return this.instructionValue},enumerable:!0,configurable:!0}),e.prototype.setInstruction=function(e){var t,r;this.instructionValue=e;var n=e.trim(),i=0===n.length?" ":" "+n+" ",o=!1;try{for(var a=zq(this.instructionTexts),l=a.next();!l.done;l=a.next()){var s=l.value;o?s.setText(""):(s.setText(i),o=!0)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},e.prototype.allFeatureValues=function(){return this.markerValues},e}(),Jq=function(){function e(e,t,r,n){this.data=t,this.kindValue=r}return Object.defineProperty(e.prototype,"type",{get:function(){return this.kindValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return kx(this.data,"name")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return Fx(this.data,"enabled")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabIndex",{get:function(){return Dx(this.data,"tabIndex")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"helpText",{get:function(){return kx(this.data,"helpText")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusText",{get:function(){return kx(this.data,"statusText")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return Ax(this.data,"textInput","maxLength")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return Ox(this.data,"textInput","format")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultText",{get:function(){return Ox(this.data,"textInput","default")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return Nx(this.data,"checkBox","checked")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultChecked",{get:function(){return Nx(this.data,"checkBox","default")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"entries",{get:function(){var e,t,r=Tx(this.data,"ddList");if(void 0===r)return[];var n=[];try{for(var i=zq(ct(r)),o=i.next();!o.done;o=i.next()){var a=o.value;if(ut(a,"listEntry")){var l=vt(a);void 0!==l&&n.push(l)}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return Ax(this.data,"ddList","result")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedEntry",{get:function(){var e=this.selected;if(void 0!==e)return this.entries[e]},enumerable:!0,configurable:!0}),e}(),$q=function(){function e(e,t,r,n,i){this.kind=e,this.simple=t,this.complex=r,this.host=n,this.lockedType=i}return Object.defineProperty(e.prototype,"fieldCode",{get:function(){return"simple"===this.kind&&void 0!==this.simple?this.simple.instruction:void 0!==this.complex?this.complex.instruction:""},set:function(e){if(0===e.trim().length)throw new $N("content/invalid-field","Field instruction must not be empty");var t=bx(e);if(void 0===t||t!==this.lockedType)throw new $N("content/invalid-field","Field instruction keyword must match fieldType "+this.lockedType);if("simple"===this.kind&&void 0!==this.simple)return void this.simple.setInstruction(e);void 0!==this.complex&&this.complex.setInstruction(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fieldType",{get:function(){return this.lockedType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fieldValue",{get:function(){return this.readResultText()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.readResultText()},set:function(e){this.writeResultText(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"characterFormat",{get:function(){var e=this.firstResultRun();if(void 0===e)throw new $N("content/invalid-field","Field has no result run for characterFormat");return e.characterFormat},enumerable:!0,configurable:!0}),e.prototype.readResultText=function(){return"simple"===this.kind&&void 0!==this.simple?gx(this.simple.runs):void 0!==this.complex?gx(this.complex.resultRuns):""},e.prototype.writeResultText=function(e){var t=this.resultRuns();if(0===t.length)throw new $N("content/invalid-field","Field has no result run");var r=t[0];if(void 0===r)throw new $N("content/invalid-field","Field has no result run");r.text=e;for(var n=1;n<t.length;n+=1)t[n].text=""},e.prototype.resultRuns=function(){return"simple"===this.kind&&void 0!==this.simple?this.simple.runs:void 0!==this.complex?this.complex.resultRuns:[]},e.prototype.firstResultRun=function(){var e=this.resultRuns();return e.length>0?e[0]:void 0},e}(),Qq=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _q(t,e),t}($q),eX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _q(t,e),Object.defineProperty(t.prototype,"fieldName",{get:function(){return Px(this.fieldCode).fieldName},set:function(e){var t=e.trim();if(0===t.length)throw new $N("content/invalid-field","MergeField fieldName must not be empty");var r=Px(this.fieldCode);r.fieldName=t,this.fieldCode=xx(r)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textBefore",{get:function(){return Px(this.fieldCode).textBefore},set:function(e){var t=Px(this.fieldCode);t.textBefore=e,this.fieldCode=xx(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textAfter",{get:function(){return Px(this.fieldCode).textAfter},set:function(e){var t=Px(this.fieldCode);t.textAfter=e,this.fieldCode=xx(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateFormat",{get:function(){return Px(this.fieldCode).dateFormat},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numberFormat",{get:function(){return Px(this.fieldCode).numberFormat},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"prefix",{get:function(){return this.textBefore},enumerable:!0,configurable:!0}),t}($q),tX=function(){function e(e,t,r){e instanceof xq?(this.fieldValue=void 0,this.pictureValue=e,this.pictureUriValue=null!=t?t:"",this.pictureTypeValue=null!=r?r:Gq.WebLink):(this.fieldValue=e,this.pictureValue=void 0,this.pictureUriValue="",this.pictureTypeValue=Gq.WebLink)}return Object.defineProperty(e.prototype,"field",{get:function(){return this.fieldValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fieldType",{get:function(){if(void 0!==this.fieldValue)return this.fieldValue.fieldType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bookmarkName",{get:function(){return void 0===this.fieldValue?this.pictureTypeValue===Gq.Bookmark?this.pictureUriValue:"":Ix(this.fieldValue.fieldCode).bookmarkName},set:function(e){if(void 0===this.fieldValue)return this.pictureUriValue=e,void(this.pictureTypeValue=Gq.Bookmark);var t=Ix(this.fieldValue.fieldCode);t.bookmarkName=e,e.trim().length>0&&(t.type=Gq.Bookmark),this.fieldValue.fieldCode=Vx(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filePath",{get:function(){if(void 0===this.fieldValue)return this.pictureTypeValue===Gq.FileLink?this.pictureUriValue:"";var e=Ix(this.fieldValue.fieldCode);return e.type===Gq.FileLink?e.target:""},set:function(e){if(void 0===this.fieldValue)return this.pictureUriValue=e,void(this.pictureTypeValue=Gq.FileLink);var t=Ix(this.fieldValue.fieldCode);t.target=e,t.type=Gq.FileLink,this.fieldValue.fieldCode=Vx(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"localReference",{get:function(){return this.bookmarkName},set:function(e){this.bookmarkName=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pictureToDisplay",{get:function(){return this.pictureValue},set:function(e){if(void 0===this.pictureValue)throw new $N("content/invalid-field","pictureToDisplay is only supported on picture-backed hyperlinks");if(void 0===e)throw new $N("content/invalid-field","pictureToDisplay cannot be cleared on a picture-backed hyperlink");if(e!==this.pictureValue)throw new $N("content/invalid-field","pictureToDisplay cannot replace the linked picture in this phase")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textToDisplay",{get:function(){return void 0===this.fieldValue?"":this.fieldValue.text},set:function(e){if(void 0===this.fieldValue)throw new $N("content/invalid-field","textToDisplay is not supported on picture-backed hyperlinks");this.fieldValue.text=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return void 0===this.fieldValue?this.pictureTypeValue:Ix(this.fieldValue.fieldCode).type},set:function(e){if(void 0===this.fieldValue)return void(this.pictureTypeValue=e);var t=Ix(this.fieldValue.fieldCode);t.type=e,this.fieldValue.fieldCode=Vx(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uri",{get:function(){if(void 0===this.fieldValue)return this.pictureTypeValue===Gq.Bookmark?"":this.pictureUriValue;var e=Ix(this.fieldValue.fieldCode);return e.type===Gq.Bookmark?"":e.target},set:function(e){if(void 0===this.fieldValue)return this.pictureUriValue=e,/^mailto:/i.test(e.trim())?this.pictureTypeValue=Gq.EmailLink:this.pictureTypeValue===Gq.Bookmark&&(this.pictureTypeValue=Gq.WebLink),void(void 0!==this.pictureValue&&(this.pictureValue.hyperlinkTarget=e));var t=Ix(this.fieldValue.fieldCode);t.target=e,/^mailto:/i.test(e.trim())?t.type=Gq.EmailLink:t.type===Gq.Bookmark&&(t.type=Gq.WebLink),this.fieldValue.fieldCode=Vx(t)},enumerable:!0,configurable:!0}),e}(),rX=!1,nX=function(e){function t(t,r,n,i){return e.call(this,t,r,n,i,Hq.Page)||this}return _q(t,e),t}($q);GR.prototype.appendField=function(e,t){var r=null==e?"":String(e).trim();if(0===r.length)throw new $N("content/invalid-field","fieldName must not be empty");if(!eC(t))throw new $N("content/invalid-field","Unsupported fieldType");this.assertMutable();var n;n=t===Hq.If?new jG(Hq.If,void 0,void 0,[]):t===Hq.MergeField?new MG(Hq.MergeField,void 0,void 0,[]):new _G(t,void 0,void 0,[]),this.items.add(n);var i=new MR;this.items.add(i),i.text=tC(r,t);var o=new BG(RG.Separator,void 0,void 0,[]);this.items.add(o);var a=new MR;this.items.add(a),a.text=rC(r,t);var l=new BG(RG.End,void 0,void 0,[]);return this.items.add(l),n},GR.prototype.appendHyperlink=function(e,t,r){var n=null!=r?r:Gq.WebLink;if(t instanceof xq){var i=e;n!==Gq.EmailLink||/^mailto:/i.test(e)||(i="mailto:"+e);var o=dx(this.owningDocument()),a=new Set(o.relationshipIds()),l=o.allocateExternalTarget(i,a);return t.hyperlinkRelationshipId=l,t.hyperlinkTarget=i,new tX(t,i,n)}var s="string"==typeof t?t:"",u=" HYPERLINK ";u=n===Gq.Bookmark?" HYPERLINK \\l "+Sx(e)+" ":n===Gq.EmailLink?" HYPERLINK "+Sx(/^mailto:/i.test(e)?e:"mailto:"+e)+" ":" HYPERLINK "+Sx(e)+" ",this.assertMutable();var c=new _G(Hq.Hyperlink,void 0,void 0,[]);this.items.add(c);var d=new MR;this.items.add(d),d.text=u;var h=new BG(RG.Separator,void 0,void 0,[]);this.items.add(h);var f=new MR;this.items.add(f),f.text=s;var p=new BG(RG.End,void 0,void 0,[]);return this.items.add(p),new tX(c)},Qt(function(){qx()}),qx();var iX=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},oX=Be("glossary"),aX="http://schemas.openxmlformats.org/officeDocument/2006/relationships/glossaryDocument",lX="http://purl.oclc.org/ooxml/officeDocument/relationships/glossaryDocument",sX="application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml",uX=q("/glossary/document.xml"),cX=new TextDecoder("utf-8"),dX={docParts:[]},hX=function(){function e(e,t,r){this.bytes=e,this.metadata=t,this.dirty=r}return e.prototype.present=function(){return void 0!==this.bytes},e.prototype.docPartCount=function(){return this.metadata.docParts.length},e.prototype.docPartNames=function(){return this.metadata.docParts.map(function(e){return e.name})},e.prototype.docPartCategory=function(e){var t;return t=this.metadata.docParts.find(function(t){return t.name===e}),null==t?void 0:t.category},e.prototype.docPartGallery=function(e){var t;return t=this.metadata.docParts.find(function(t){return t.name===e}),null==t?void 0:t.gallery},e.prototype.isDirty=function(){return this.dirty},e.prototype.serialize=function(){return void 0!==this.bytes?this.bytes:new Uint8Array(0)},e}(),fX=!1;pC();var pX=new Set(["decimal","upperRoman","lowerRoman","upperLetter","lowerLetter","ordinal","cardinalText","ordinalText","numberInDash","chicago"]);!function(e){e.NewPage="NewPage",e.Continuous="Continuous",e.NewColumn="NewColumn",e.EvenPage="EvenPage",e.OddPage="OddPage"}(e.SectionBreakCode||(e.SectionBreakCode={}));var vX=31680,mX=45,yX=Ur(720),gX=function(){function e(e,t){this.widthValue=PC(e,"column.width"),this.spacingValue=PC(t,"column.spacing")}return Object.defineProperty(e.prototype,"width",{get:function(){return this.widthValue},set:function(e){this.widthValue=PC(e,"column.width")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spacing",{get:function(){return this.spacingValue},set:function(e){this.spacingValue=PC(e,"column.spacing")},enumerable:!0,configurable:!0}),e}(),bX=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},wX=function(){function e(){this.items=[],this.equalWidthValue=!0,this.separatorValue=!1,this.spacingValue=yX,this.equalWidthCount=1}return Object.defineProperty(e.prototype,"count",{get:function(){return this.equalWidthValue?this.equalWidthCount:0===this.items.length?1:this.items.length},enumerable:!0,configurable:!0}),e.prototype.add=function(e,t){if(void 0===t&&(t=yX),PC(e,"Column.width"),PC(t,"Column.space"),this.items.length>=mX)throw wC("text columns cannot exceed "+String(mX));this.equalWidthValue&&(this.equalWidthValue=!1,0===this.items.length&&this.equalWidthCount>1&&(this.equalWidthCount=1));var r=new gX(e,t);return this.items.push(r),r},e.prototype.item=function(e){if(Number.isInteger(e)&&!(e<0))return this.equalWidthValue,this.items[e]},e.prototype[Symbol.iterator]=function(){var e=this.items.slice(),t=0;return{next:function(){if(t>=e.length)return{done:!0,value:void 0};var r=e[t];return t+=1,{done:!1,value:r}}}},Object.defineProperty(e.prototype,"equalWidth",{get:function(){return this.equalWidthValue},enumerable:!0,configurable:!0}),e.prototype.setEqualWidth=function(e){this.equalWidthValue=!0===e,this.equalWidthValue&&this.equalWidthCount<1&&(this.equalWidthCount=1)},Object.defineProperty(e.prototype,"separator",{get:function(){return this.separatorValue},enumerable:!0,configurable:!0}),e.prototype.setSeparator=function(e){this.separatorValue=!0===e},Object.defineProperty(e.prototype,"spacing",{get:function(){return this.spacingValue},enumerable:!0,configurable:!0}),e.prototype.setSpacing=function(e){PC(e,"ColumnCollection.spacing"),this.spacingValue=e},e.prototype.setEqualWidthCount=function(e){TC(e),this.equalWidthCount=e,this.equalWidthValue=!0},e.prototype.replaceFromParsed=function(e){this.equalWidthValue=e.equalWidth,this.separatorValue=e.separator,this.spacingValue=e.spacing,this.equalWidthCount=e.count,this.items.length=0;for(var t=0;t<e.columns.length;t++){var r=e.columns[t];void 0!==r&&this.items.push(new gX(r.width,r.space))}!this.equalWidthValue&&this.items.length>0&&(this.equalWidthCount=this.items.length)},e.prototype.clearToDefault=function(){this.items.length=0,this.equalWidthValue=!0,this.separatorValue=!1,this.spacingValue=yX,this.equalWidthCount=1},e.prototype.cloneDeep=function(){var t=new e;return t.replaceFromParsed({equalWidth:this.equalWidthValue,separator:this.separatorValue,spacing:this.spacingValue,count:this.equalWidthCount,columns:this.items.map(function(e){return{width:e.width,space:e.spacing}})}),t},e.prototype.isDefault=function(){return this.isDefaultTextColumns()},e.prototype.isDefaultTextColumns=function(){return!!this.equalWidthValue&&(!this.separatorValue&&(1===this.equalWidthCount&&(this.spacingValue===yX&&0===this.items.length)))},e.prototype.toOpenXmlElement=function(){if(!this.isDefaultTextColumns())return DC(this)},e}();!function(){for(var e=wX.prototype,t=0;t<mX;t++)!function(t){var r=t;Object.defineProperty(e,r,{configurable:!0,enumerable:!1,get:function(){return this.item(r)}})}(t)}();var PX,SX=function(){function e(e,t,r,n){this.leftValue=e,this.topValue=t,this.rightValue=r,this.bottomValue=n}return Object.defineProperty(e.prototype,"all",{get:function(){return this.leftValue===this.topValue&&this.topValue===this.rightValue&&(this.rightValue,this.bottomValue),this.leftValue},set:function(e){var t=PC(e,"margins.all");this.leftValue=t,this.topValue=t,this.rightValue=t,this.bottomValue=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.leftValue},set:function(e){this.leftValue=PC(e,"margins.left")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.topValue},set:function(e){this.topValue=PC(e,"margins.top")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.rightValue},set:function(e){this.rightValue=PC(e,"margins.right")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.bottomValue},set:function(e){this.bottomValue=PC(e,"margins.bottom")},enumerable:!0,configurable:!0}),e.prototype.snapshot=function(){return{left:this.leftValue,top:this.topValue,right:this.rightValue,bottom:this.bottomValue}},e.prototype.replace=function(e,t,r,n){this.leftValue=PC(e,"margins.left"),this.topValue=PC(t,"margins.top"),this.rightValue=PC(r,"margins.right"),this.bottomValue=PC(n,"margins.bottom")},e}(),xX=function(){function e(){}return e.A3=EC(842,1190),e.A4=EC(595,842),e.A5=EC(421,595),e.A6=EC(297,421),e.B4=EC(709,1002),e.B5=EC(501,709),e.B6=EC(501,354),e.Letter=EC(612,792),e.HalfLetter=EC(396,612),e.Letter11x17=EC(792,1224),e.EnvelopeDL=EC(312,624),e.Quarto=EC(610,780),e.Statement=EC(396,612),e.Ledger=EC(1224,792),e.Tabloid=EC(792,1224),e.Note=EC(540,720),e.Legal=EC(612,1008),e.Flsa=EC(612,936),e.Executive=EC(522,756),e}(),CX=new WeakMap,IX="http://schemas.openxmlformats.org/officeDocument/2006/relationships",VX=new Set([e.BorderStyle.Nil,e.BorderStyle.None,e.BorderStyle.Single,e.BorderStyle.Thick,e.BorderStyle.Double,e.BorderStyle.Dotted,e.BorderStyle.Dashed,e.BorderStyle.DotDash,e.BorderStyle.DotDotDash,e.BorderStyle.Triple,e.BorderStyle.ThinThickSmallGap,e.BorderStyle.ThickThinSmallGap,e.BorderStyle.ThinThickThinSmallGap,e.BorderStyle.ThinThickMediumGap,e.BorderStyle.ThickThinMediumGap,e.BorderStyle.ThinThickThinMediumGap,e.BorderStyle.ThinThickLargeGap,e.BorderStyle.ThickThinLargeGap,e.BorderStyle.ThinThickThinLargeGap,e.BorderStyle.Wave,e.BorderStyle.DoubleWave,e.BorderStyle.DashSmallGap,e.BorderStyle.DashDotStroked,e.BorderStyle.ThreeDEmboss,e.BorderStyle.ThreeDEngrave,e.BorderStyle.Outset,e.BorderStyle.Inset]),TX=function(){function t(){this.spaceValue=0,this.styleValue=e.BorderStyle.None,this.colorWireValue="auto",this.widthPointsValue=.5}return Object.defineProperty(t.prototype,"space",{get:function(){return this.spaceValue},set:function(e){if(!Number.isInteger(e)||e<0||e>31)throw wC("borders.space must be an integer in 0…31");this.spaceValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.styleValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"colorWire",{get:function(){return this.colorWireValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"widthPoints",{get:function(){return this.widthPointsValue},enumerable:!0,configurable:!0}),t.prototype.applyCommon=function(e,t,r){this.styleValue=e,this.colorWireValue=t,this.widthPointsValue=r},t.prototype.loadFromParsed=function(e){this.styleValue=aI(e.style),this.colorWireValue=e.color,this.widthPointsValue=e.widthPoints,this.spaceValue=Math.round(e.offsetPoints)},t.prototype.toParsed=function(){if(XC(this.styleValue))return{style:this.styleValue,widthPoints:this.widthPointsValue,offsetPoints:this.spaceValue,color:this.colorWireValue}},t.prototype.cloneInto=function(e){e.spaceValue=this.spaceValue,e.styleValue=this.styleValue,e.colorWireValue=this.colorWireValue,e.widthPointsValue=this.widthPointsValue},t}(),kX=function(){function t(){this.borderTypeValue=e.BorderStyle.None,this.colorPublicValue=e.Color.Black,this.colorWireOverride=void 0,this.lineWidthValue=.5,this.topEdge=new TX,this.bottomEdge=new TX,this.leftEdge=new TX,this.rightEdge=new TX,this.applyToValue="allPages",this.measureFromValue="text",this.zOrderValue="front"}return Object.defineProperty(t.prototype,"borderType",{get:function(){return this.borderTypeValue},set:function(e){this.borderTypeValue=nI(e,"borders.borderType"),this.stampCommonToEdges()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this.colorPublicValue},set:function(t){if("number"!=typeof t||void 0===e.Color[t])throw wC("borders.color must be a Color enum value");this.colorPublicValue=t,this.colorWireOverride=void 0,this.stampCommonToEdges()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lineWidth",{get:function(){return this.lineWidthValue},set:function(e){this.lineWidthValue=iI(e,"borders.lineWidth"),this.stampCommonToEdges()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.topEdge},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.bottomEdge},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.leftEdge},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.rightEdge},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"applyTo",{get:function(){return this.applyToValue},enumerable:!0,configurable:!0}),t.prototype.setApplyTo=function(e){this.applyToValue=e},Object.defineProperty(t.prototype,"measureFrom",{get:function(){return this.measureFromValue},enumerable:!0,configurable:!0}),t.prototype.setMeasureFrom=function(e){this.measureFromValue=e},Object.defineProperty(t.prototype,"zOrder",{get:function(){return this.zOrderValue},enumerable:!0,configurable:!0}),t.prototype.loadFromParsed=function(t){this.applyToValue=t.applyTo,this.measureFromValue=t.measureFrom,this.zOrderValue=t.zOrder,void 0!==t.top&&this.topEdge.loadFromParsed(t.top),void 0!==t.left&&this.leftEdge.loadFromParsed(t.left),void 0!==t.bottom&&this.bottomEdge.loadFromParsed(t.bottom),void 0!==t.right&&this.rightEdge.loadFromParsed(t.right);var r=void 0!==t.top?t.top:void 0!==t.left?t.left:void 0!==t.bottom?t.bottom:t.right;if(void 0!==r){this.borderTypeValue=aI(r.style);var n=fn(r.color);void 0!==n?(this.colorPublicValue=n,this.colorWireOverride=void 0):(this.colorPublicValue=e.Color.Black,this.colorWireOverride=r.color),this.lineWidthValue=r.widthPoints}},t.prototype.toParsed=function(){var e=this.topEdge.toParsed(),t=this.leftEdge.toParsed(),r=this.bottomEdge.toParsed(),n=this.rightEdge.toParsed(),i=void 0!==e||void 0!==t||void 0!==r||void 0!==n,o="allPages"!==this.applyToValue||"text"!==this.measureFromValue||"front"!==this.zOrderValue;if(i||o)return{applyTo:this.applyToValue,measureFrom:this.measureFromValue,zOrder:this.zOrderValue,top:e,left:t,bottom:r,right:n}},t.prototype.copyFrom=function(e){this.borderTypeValue=e.borderTypeValue,this.colorPublicValue=e.colorPublicValue,this.colorWireOverride=e.colorWireOverride,this.lineWidthValue=e.lineWidthValue,this.applyToValue=e.applyToValue,this.measureFromValue=e.measureFromValue,this.zOrderValue=e.zOrderValue,e.topEdge.cloneInto(this.topEdge),e.bottomEdge.cloneInto(this.bottomEdge),e.leftEdge.cloneInto(this.leftEdge),e.rightEdge.cloneInto(this.rightEdge)},t.prototype.stampCommonToEdges=function(){var e=this.resolveColorWire();this.topEdge.applyCommon(this.borderTypeValue,e,this.lineWidthValue),this.bottomEdge.applyCommon(this.borderTypeValue,e,this.lineWidthValue),this.leftEdge.applyCommon(this.borderTypeValue,e,this.lineWidthValue),this.rightEdge.applyCommon(this.borderTypeValue,e,this.lineWidthValue)},t.prototype.resolveColorWire=function(){if(void 0!==this.colorWireOverride&&this.colorWireOverride.length>0)return this.colorWireOverride;if(this.colorPublicValue===e.Color.Transparent)return"auto";var t=pn(this.colorPublicValue);return t.length>0?t:"auto"},t}(),FX=function(){function t(){this.attributes=[],this.prefix=[],this.suffix=[],this.headerFooterReferencesValue=[],this.breakCodeValue=e.SectionBreakCode.NewPage,this.pageSizeValue=new _L(xX.Letter.width,xX.Letter.height),this.orientationValue=e.PageOrientation.Portrait,this.marginsValue=new SX(72,72,72,72),this.headerDistanceValue=36,this.footerDistanceValue=36,this.gutterValue=0,this.firstPageTrayValue=void 0,this.otherPagesTrayValue=void 0,this.paperSourcePresent=!1,this.bordersValue=new kX,this.lineNumberingPresent=!1,this.lineNumberingDistanceFromTextValue=0,this.lineNumberingModeValue=e.LineNumberingMode.RestartPage,this.lineNumberingStartValueValue=1,this.lineNumberingStepValue=1,this.pageStartingNumberValue=1,this.restartPageNumberingValue=!1,this.pageNumberStyleValue=e.PageNumberStyle.Arabic,this.chapterNumberingValue=void 0,this.pageNumberingPresent=!1,this.columnsValue=new wX,this.verticalAlignmentValue=e.PageVerticalAlignment.Top,this.bidiValue=!1,this.differentFirstPageValue=!1;var t=this;this.pageSizeValue.setChangeListener(function(r,n){PC(r,"pageSize.width"),PC(n,"pageSize.height"),t.orientationValue=n>=r?e.PageOrientation.Portrait:e.PageOrientation.Landscape})}return t.createDefaultLetter=function(){return new t},t.createFromParsedValues=function(r){var n=new t;if(void 0!==r.attributes&&(n.attributes=r.attributes.slice()),void 0!==r.prefix&&(n.prefix=r.prefix.slice()),void 0!==r.suffix&&(n.suffix=r.suffix.slice()),void 0!==r.headerFooterReferences&&(n.headerFooterReferencesValue=r.headerFooterReferences.slice()),void 0!==r.breakCode&&(n.breakCodeValue=r.breakCode),PC(r.pageWidth,"pageSize.width"),PC(r.pageHeight,"pageSize.height"),n.pageSizeValue.replace(r.pageWidth,r.pageHeight,!1),void 0!==r.orientation?n.orientationValue=SC(r.orientation):n.orientationValue=r.pageHeight>=r.pageWidth?e.PageOrientation.Portrait:e.PageOrientation.Landscape,n.marginsValue.replace(r.marginLeft,r.marginTop,r.marginRight,r.marginBottom),void 0!==r.headerDistance&&(n.headerDistanceValue=PC(r.headerDistance,"headerDistance")),void 0!==r.footerDistance&&(n.footerDistanceValue=PC(r.footerDistance,"footerDistance")),void 0!==r.gutter&&(n.gutterValue=PC(r.gutter,"gutter")),void 0!==r.paperSource){var i=JC(r.paperSource);n.firstPageTrayValue=i.firstPageTray,n.otherPagesTrayValue=i.otherPagesTray,n.paperSourcePresent=void 0!==i.firstPageTray||void 0!==i.otherPagesTray}if(void 0!==r.pageBorders){var o=rI(r.pageBorders);n.bordersValue.loadFromParsed(o)}if(void 0!==r.lineNumbering){var a=$C(r.lineNumbering);n.lineNumberingPresent=!0,n.lineNumberingStepValue=a.countBy,n.lineNumberingModeValue=void 0===a.restart||"newPage"===a.restart?e.LineNumberingMode.RestartPage:"newSection"===a.restart?e.LineNumberingMode.RestartSection:e.LineNumberingMode.Continuous,n.lineNumberingStartValueValue=void 0!==a.startAt?a.startAt+1:1,n.lineNumberingDistanceFromTextValue=void 0!==a.distanceFromText?a.distanceFromText:0}if(void 0!==r.pageStartingNumber&&(n.pageStartingNumberValue=IC(r.pageStartingNumber,"pageStartingNumber")),void 0!==r.restartPageNumbering&&(n.restartPageNumberingValue=!0===r.restartPageNumbering),void 0!==r.pageNumberStyle&&(n.pageNumberStyleValue=CC(r.pageNumberStyle)),void 0!==r.chapterNumbering&&(n.chapterNumberingValue=QC(r.chapterNumbering)),!0!==r.pageNumberingPresent&&void 0===r.pageStartingNumber&&!0!==r.restartPageNumbering&&void 0===r.pageNumberStyle&&void 0===r.chapterNumbering||(n.pageNumberingPresent=!0),void 0!==r.columns){var l=r.columns;n.columnsValue.replaceFromParsed({equalWidth:l.equalWidth,separator:l.separator,spacing:l.spacing,count:l.count,columns:Array.from(l).map(function(e){return{width:e.width,space:e.spacing}})})}return void 0!==r.verticalAlignment&&(n.verticalAlignmentValue=eI(r.verticalAlignment)),void 0!==r.bidi&&(n.bidiValue=!0===r.bidi),void 0!==r.differentFirstPage&&(n.differentFirstPageValue=!0===r.differentFirstPage),n},t.prototype.cloneDeep=function(){var e=t.createFromParsedValues({attributes:this.attributes,prefix:this.prefix,suffix:this.suffix,headerFooterReferences:this.headerFooterReferencesValue,breakCode:this.breakCodeValue,pageWidth:this.pageSizeValue.width,pageHeight:this.pageSizeValue.height,orientation:this.orientationValue,marginLeft:this.marginsValue.left,marginTop:this.marginsValue.top,marginRight:this.marginsValue.right,marginBottom:this.marginsValue.bottom,headerDistance:this.headerDistanceValue,footerDistance:this.footerDistanceValue,gutter:this.gutterValue,paperSource:this.snapshotPaperSource(),pageBorders:this.bordersValue.toParsed(),lineNumbering:this.snapshotLineNumbering(),pageStartingNumber:this.pageStartingNumberValue,restartPageNumbering:this.restartPageNumberingValue,pageNumberStyle:this.pageNumberStyleValue,chapterNumbering:this.chapterNumberingValue,bidi:this.bidiValue,pageNumberingPresent:this.pageNumberingPresent,columns:this.columnsValue.cloneDeep(),verticalAlignment:this.verticalAlignmentValue,differentFirstPage:this.differentFirstPageValue});return e.bordersValue.copyFrom(this.bordersValue),e},Object.defineProperty(t.prototype,"orientation",{get:function(){return this.orientationValue},set:function(t){var r=SC(t);if(r!==this.orientationValue){var n=this.pageSizeValue.width,i=this.pageSizeValue.height;r===e.PageOrientation.Landscape?n<i&&this.pageSizeValue.replace(i,n,!1):i<n&&this.pageSizeValue.replace(i,n,!1),this.orientationValue=r}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageSize",{get:function(){return this.pageSizeValue},set:function(e){if(null==e||"number"!=typeof e.width||"number"!=typeof e.height)throw wC("pageSize must provide numeric width and height");var t=PC(e.width,"pageSize.width"),r=PC(e.height,"pageSize.height");this.pageSizeValue.replace(t,r,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"margins",{get:function(){return this.marginsValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"headerDistance",{get:function(){return this.headerDistanceValue},set:function(e){this.headerDistanceValue=PC(e,"headerDistance")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"footerDistance",{get:function(){return this.footerDistanceValue},set:function(e){this.footerDistanceValue=PC(e,"footerDistance")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"borders",{get:function(){return this.bordersValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstPageTray",{get:function(){return void 0!==this.firstPageTrayValue?this.firstPageTrayValue:e.PrinterPaperTray.DefaultBin},set:function(e){this.firstPageTrayValue=VC(e,"firstPageTray"),this.paperSourcePresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"otherPagesTray",{get:function(){return void 0!==this.otherPagesTrayValue?this.otherPagesTrayValue:e.PrinterPaperTray.DefaultBin},set:function(e){this.otherPagesTrayValue=VC(e,"otherPagesTray"),this.paperSourcePresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"differentFirstPage",{get:function(){return this.differentFirstPageValue},set:function(e){this.differentFirstPageValue=!0===e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"differentOddAndEvenPages",{get:function(){var e,t=BC(this);if(void 0===t||!ze("settings"))return!1;try{var r=t.featurePart(Be("settings"));return void 0!==r&&!0===(e=r.evenAndOddHeaders,null==e?void 0:e())}catch(e){return!1}},set:function(e){if(!ze("settings"))throw wC("differentOddAndEvenPages requires the settings feature (import @syncfusion/ej2-docx/settings)");var t=BC(this);if(void 0===t)throw wC("differentOddAndEvenPages requires page setup associated with a document (use section.pageSetup on a document section)");var r=t.featurePart(Be("settings"));if(void 0===r||"function"!=typeof r.setEvenAndOddHeaders)throw wC("settings part was not loaded; register settings before WordDocument.open or ensure settings is imported");r.setEvenAndOddHeaders(!!e||void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageStartingNumber",{get:function(){return this.pageStartingNumberValue},set:function(e){this.pageStartingNumberValue=IC(e,"pageStartingNumber"),this.pageNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"restartPageNumbering",{get:function(){return this.restartPageNumberingValue},set:function(e){this.restartPageNumberingValue=!0===e,this.pageNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageNumberStyle",{get:function(){return this.pageNumberStyleValue},set:function(e){this.pageNumberStyleValue=CC(e),this.pageNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lineNumberingDistanceFromText",{get:function(){return this.lineNumberingDistanceFromTextValue},set:function(e){this.lineNumberingDistanceFromTextValue=PC(e,"lineNumberingDistanceFromText"),this.lineNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lineNumberingMode",{get:function(){return this.lineNumberingModeValue},set:function(e){this.lineNumberingModeValue=oI(e),this.lineNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lineNumberingStartValue",{get:function(){return this.lineNumberingStartValueValue},set:function(e){this.lineNumberingStartValueValue=IC(e,"lineNumberingStartValue"),this.lineNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lineNumberingStep",{get:function(){return this.lineNumberingStepValue},set:function(e){if(!Number.isInteger(e)||e<1)throw wC("lineNumberingStep must be an integer ≥ 1");this.lineNumberingStepValue=e,this.lineNumberingPresent=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"breakCode",{get:function(){return this.breakCodeValue},set:function(e){this.breakCodeValue=xC(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columns",{get:function(){return this.columnsValue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"headerFooterReferences",{get:function(){return this.headerFooterReferencesValue},enumerable:!0,configurable:!0}),t.prototype.headerFooterReferenceId=function(e,t){var r,n=MC(e,t);return r=this.headerFooterReferencesValue.find(function(e){return e.kind===n.kind&&e.refType===n.refType}),null==r?void 0:r.relationshipId},t.prototype.setHeaderFooterReference=function(e,t,r){var n,i;jC(e)?(n=e,i="string"==typeof t?t:void 0):(n=MC(e,"default"===t||"first"===t||"even"===t?t:void 0),i=r);var o=this.headerFooterReferencesValue.filter(function(e){return!(e.kind===n.kind&&e.refType===n.refType)});void 0!==i&&o.push({kind:n.kind,refType:n.refType,relationshipId:i}),this.headerFooterReferencesValue=o},Object.defineProperty(t.prototype,"gutter",{get:function(){return this.gutterValue},set:function(e){this.gutterValue=PC(e,"gutter")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"verticalAlignment",{get:function(){return this.verticalAlignmentValue},set:function(e){this.verticalAlignmentValue=eI(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bidi",{get:function(){return this.bidiValue},set:function(e){this.bidiValue=!0===e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageBorderOffsetFrom",{get:function(){return"page"===this.bordersValue.measureFrom?e.PageBorderOffsetFrom.PageEdge:e.PageBorderOffsetFrom.Text},set:function(t){if(t===e.PageBorderOffsetFrom.PageEdge)return void this.bordersValue.setMeasureFrom("page");if(t===e.PageBorderOffsetFrom.Text)return void this.bordersValue.setMeasureFrom("text");throw wC("pageBorderOffsetFrom is invalid")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageBordersApplyType",{get:function(){var t=this.bordersValue.applyTo;return"firstPage"===t?e.PageBordersApplyType.FirstPage:"notFirstPage"===t?e.PageBordersApplyType.NotFirstPage:e.PageBordersApplyType.AllPages},set:function(t){if(t===e.PageBordersApplyType.FirstPage)return void this.bordersValue.setApplyTo("firstPage");if(t===e.PageBordersApplyType.NotFirstPage)return void this.bordersValue.setApplyTo("notFirstPage");if(t===e.PageBordersApplyType.AllPages)return void this.bordersValue.setApplyTo("allPages");throw wC("pageBordersApplyType is invalid")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chapterNumbering",{get:function(){return this.chapterNumberingValue},set:function(e){this.chapterNumberingValue=void 0===e?void 0:QC(e),void 0!==e&&(this.pageNumberingPresent=!0)},enumerable:!0,configurable:!0}),t.prototype.snapshotPaperSource=function(){if(this.paperSourcePresent&&(void 0!==this.firstPageTrayValue||void 0!==this.otherPagesTrayValue))return{firstPageTray:this.firstPageTrayValue,otherPagesTray:this.otherPagesTrayValue}},t.prototype.snapshotLineNumbering=function(){if(this.lineNumberingPresent){var t=this.lineNumberingModeValue===e.LineNumberingMode.RestartPage?void 0:this.lineNumberingModeValue,r=this.lineNumberingStartValueValue-1;return{countBy:this.lineNumberingStepValue,restart:t,startAt:0!==r?r:void 0,distanceFromText:0!==this.lineNumberingDistanceFromTextValue?this.lineNumberingDistanceFromTextValue:void 0}}},t.prototype.toOpenXml=function(){for(var t=[],r=0;r<this.headerFooterReferencesValue.length;r++)t.push(zC(this.headerFooterReferencesValue[r]));for(var n=0;n<this.prefix.length;n++)t.push(this.prefix[n]);var i=gC(this.breakCodeValue);"newPage"!==i&&t.push(pt("type",{attributes:[ht("val",i)]})),t.push(UC(this.pageSizeValue.width,this.pageSizeValue.height,this.orientationValue)),t.push(HC(this.marginsValue.top,this.marginsValue.right,this.marginsValue.bottom,this.marginsValue.left,this.headerDistanceValue,this.footerDistanceValue,this.gutterValue));var o=this.snapshotPaperSource();if(void 0!==o){var a=WC(o);void 0!==a&&t.push(a)}var l=this.bordersValue.toParsed();if(void 0!==l){var s=KC(l);void 0!==s&&t.push(s)}var u=this.snapshotLineNumbering();void 0!==u&&t.push(GC(u)),this.pageNumberingPresent&&t.push(qC(this.pageNumberStyleValue,this.restartPageNumberingValue?this.pageStartingNumberValue:void 0,this.chapterNumberingValue));var c=this.columnsValue.toOpenXmlElement();void 0!==c&&t.push(c),this.verticalAlignmentValue!==e.PageVerticalAlignment.Top&&t.push(pt("vAlign",{attributes:[ht("val",this.verticalAlignmentValue)]})),this.bidiValue&&t.push(Lr("bidi",!0)),this.differentFirstPageValue&&t.push(Lr("titlePg",!0));for(var d=0;d<this.suffix.length;d++)t.push(this.suffix[d]);var h=this.headerFooterReferencesValue.length>0?[{prefix:"r",namespaceUri:IX}]:[];return pt("sectPr",{attributes:this.attributes,namespaceDeclarations:h,children:t})},t}(),DX=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{s(n.next(e))}catch(e){o(e)}}function l(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(a,l)}s((n=n.apply(e,t||[])).next())})},OX=function(e,t){function r(e){return function(t){return n([e,t])}}function n(r){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,o=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(a=s.trys,!(a=a.length>0&&a[a.length-1])&&(6===r[0]||2===r[0])){s=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){s.label=r[1];break}if(6===r[0]&&s.label<a[1]){s.label=a[1],a=r;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(r);break}a[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],o=0}finally{i=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}var i,o,a,l,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return l={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l},NX=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},AX=Be("sections"),EX="headers-footers",LX="http://schemas.openxmlformats.org/officeDocument/2006/relationships",RX=xX.Letter.width,BX=xX.Letter.height,_X=72,jX=36,MX=0,zX=new Set(["nil","none","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"]),UX=!1;Qt(function(){EI()}),EI();var HX=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},WX=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(HX(arguments[t]));return e},GX=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},qX=iB,XX=iB,YX=Be("headers-footers"),ZX=Symbol.for("@syncfusion/ej2-docx.HeadersFootersCatalog"),KX="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",JX="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",$X="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",QX="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",eY=[KX,"http://purl.oclc.org/ooxml/officeDocument/relationships/header"],tY=[JX,"http://purl.oclc.org/ooxml/officeDocument/relationships/footer"],rY=WX(eY,tY),nY=new TextDecoder("utf-8"),iY=new TextEncoder,oY={assertAttachedParagraph:function(){},owningDocument:function(){throw new iA("Header or footer content is not in a document")}},aY=function(){function e(e,t){this.document=e,this.relationshipId=t}return e.prototype.assertAttachedParagraph=function(e){var t=sV(this.document).entryForRelationship(this.relationshipId);if(void 0===t)throw new iA("Header or footer part is no longer loaded");if(!t.blocks.some(function(t){return"paragraph"===t.type&&t.paragraph===e}))throw new iA("This paragraph is no longer in its header or footer")},e.prototype.owningDocument=function(){return this.document},e}(),lY=function(){function e(e){var t,r;this.entries=e;var n=[];try{for(var i=GX(e.values()),o=i.next();!o.done;o=i.next()){var a=o.value;n.push([a.relationshipId,a])}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}this.byRelationshipId=new Map(n),this.catalogDirty=!1,this.boundDocument=void 0,this[ZX]=!0}return e.prototype.bindDocument=function(e){var t,r;this.boundDocument=e;try{for(var n=GX(this.entries.values()),i=n.next();!i.done;i=n.next())$I(e,i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.prototype.entryForRelationship=function(e){return this.byRelationshipId.get(e)},e.prototype.requireBoundDocument=function(){if(void 0===this.boundDocument)throw new $N("content/invalid-header-footer-reference","Headers/footers catalog is not bound to a document");return this.boundDocument},e.prototype.requireEntry=function(e){var t=this.byRelationshipId.get(e);if(void 0===t)throw new $N("content/invalid-header-footer-reference","Header/footer relationship "+e+" is not loaded in this document");return t},e.prototype.isDirty=function(){var e,t;if(this.catalogDirty)return!0;try{for(var r=GX(this.entries.values()),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.dirty||void 0!==i.pendingRelationship)return!0}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return!1},e.prototype.applyToPackage=function(e,t){var r,n,i=e;try{for(var o=GX(this.entries.values()),a=o.next();!a.done;a=o.next())!function(e){if(!e.dirty&&void 0===e.pendingRelationship)return"continue";var r=bV(e),n=null!=e.pendingRelationship?e.pendingRelationship:Fe(i,t).items.find(function(t){return t.id===e.relationshipId});i=lt(i,t,e.partName,WI(e.kind),r,n),e.dirty=!1,e.pendingRelationship=void 0}(a.value)}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return this.catalogDirty=!1,i},e.prototype.ensureDefaultPart=function(e,t,r,n){return this.ensurePart(e,t,"default",r,n)},e.prototype.ensurePart=function(e,t,r,n,i){var o=t.headerFooterReferenceId(e,r);if(void 0!==o){var a=this.byRelationshipId.get(o);if(void 0!==a)return{entry:a,relationshipId:o}}var l=new Set(WX(this.entries.keys()).map(function(e){return W(e)})),s=wV(e,new Set(WX(i,l))),u=ae(new Set(WX(n,this.byRelationshipId.keys()))),c="header"===e?KX:JX,d={partName:s,relationshipId:u,relationshipType:c,kind:e,rootExtra:{attributes:[],namespaceDeclarations:[{prefix:"w",namespaceUri:cA}]},blocks:[],dirty:!0,pendingRelationship:{id:u,type:c,target:qI(s),extraAttributes:[],children:[]}};return this.entries.set(s,d),this.byRelationshipId.set(u,d),this.catalogDirty=!0,{entry:d,relationshipId:u}},e.prototype.hasRelationship=function(e){return this.byRelationshipId.has(e)},e.prototype.relationshipIds=function(e){var t,r,n=[];try{for(var i=GX(this.entries.values()),o=i.next();!o.done;o=i.next()){var a=o.value;a.kind===e&&n.push(a.relationshipId)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},e.prototype.itemsForRelationship=function(e){var t,r,n=this.byRelationshipId.get(e);if(void 0===n)return[];void 0!==this.boundDocument&&$I(this.boundDocument,n);var i=[];try{for(var o=GX(n.blocks),a=o.next();!a.done;a=o.next()){var l=Ga(a.value);void 0!==l&&i.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},e.prototype.paragraphsForRelationship=function(e){var t,r,n=this.byRelationshipId.get(e);if(void 0===n)return[];void 0!==this.boundDocument&&$I(this.boundDocument,n);var i=[];try{for(var o=GX(this.itemsForRelationship(e)),a=o.next();!a.done;a=o.next()){var l=a.value;Ua(l)&&i.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},e.prototype.setSimpleText=function(e,t){var r=sY.get(e.relationshipId);if(QI(e.blocks),void 0!==r)e.blocks=YI(t,r),r.replaceItemsSilent(e.blocks.slice());else if(void 0!==this.boundDocument){var n=ZI(this.boundDocument,e.relationshipId);e.blocks=YI(t,n)}else e.blocks=YI(t);e.dirty=!0},e.prototype.setSimpleTextForRelationship=function(e,t){var r=this.requireEntry(e);this.setSimpleText(r,t)},e.prototype.insertBodyItemAtForRelationship=function(e,t,r){var n=this,i=this.requireBoundDocument(),o=this.requireEntry(e);if(!Xa(r))throw new TypeError("Unsupported body item type");var a=this.itemsForRelationship(e);if(t<0||t>a.length)throw new RangeError("Body item index "+String(t)+" is out of range");var l=qa(r),s=sY.get(e);"paragraph"===l.type?l.paragraph.attach(void 0!==s?s:ZI(i,e)):"feature"===l.type&&KI(l.value,i);var u;if(t===a.length)u=o.blocks.length;else{var c=a[t];if((u=o.blocks.findIndex(function(e){var t=Ga(e);return void 0!==t&&n.publicBodyItemsEqual(t,c)}))<0)throw new iA("Body item index is inconsistent")}var d=o.blocks.slice();return d.splice(u,0,l),o.blocks=d,o.dirty=!0,void 0!==s&&s.replaceItemsSilent(o.blocks.slice()),r},e.prototype.removeBodyItemAtForRelationship=function(e,t){var r=this,n=this.requireEntry(e),i=this.itemsForRelationship(e);if(t<0||t>=i.length)throw new RangeError("Body item index "+String(t)+" is out of range");var o=i[t];if(void 0===o)throw new RangeError("Body item index "+String(t)+" is out of range");var a=n.blocks.findIndex(function(e){var t=Ga(e);return void 0!==t&&r.publicBodyItemsEqual(t,o)});if(a<0)throw new iA("Body item index is inconsistent");var l=n.blocks[a];if(void 0===l)throw new RangeError("Body item index "+String(t)+" is out of range");var s=n.blocks.slice();s.splice(a,1),n.blocks=s,"paragraph"===l.type?l.paragraph.detach():"feature"===l.type&&JI(l.value),n.dirty=!0;var u=sY.get(e);void 0!==u&&u.replaceItemsSilent(n.blocks.slice())},e.prototype.removeBodyItemForRelationship=function(e,t){var r=this;if(-1===this.requireEntry(e).blocks.findIndex(function(e){var n=Ga(e);return void 0!==n&&r.publicBodyItemsEqual(n,t)}))throw new iA("Body item is not in this header or footer");for(var n=this.itemsForRelationship(e),i=-1,o=0;o<n.length;o+=1)if(this.publicBodyItemsEqual(n[o],t)){i=o;break}if(-1===i)throw new iA("Body item is not in this header or footer");this.removeBodyItemAtForRelationship(e,i)},e.prototype.appendParagraphForRelationship=function(e,t){var r=this.requireBoundDocument(),n=(this.requireEntry(e),sY.get(e)),i=void 0!==n?n:ZI(r,e),o=new GR(i);return this.insertBodyItemAtForRelationship(e,this.itemsForRelationship(e).length,o),void 0!==(null==t?void 0:t.style)&&o.applyStyle(t.style),void 0!==(null==t?void 0:t.text)&&o.appendText(t.text),o},e.prototype.insertParagraphForRelationship=function(e,t){var r=this.requireBoundDocument();this.requireEntry(e);var n=this.paragraphsForRelationship(e);if(t<0||t>n.length)throw new RangeError("Paragraph index "+String(t)+" is out of range");var i=sY.get(e),o=void 0!==i?i:ZI(r,e),a=new GR(o);if(t===n.length)this.insertBodyItemAtForRelationship(e,this.itemsForRelationship(e).length,a);else{var l=n[t];if(void 0===l)throw new RangeError("Paragraph index "+String(t)+" is out of range");var s=this.itemsForRelationship(e).findIndex(function(e){return Ua(e)&&e===l});if(s<0)throw new iA("Paragraph index is inconsistent");this.insertBodyItemAtForRelationship(e,s,a)}return a},e.prototype.removeParagraphForRelationship=function(e,t){this.removeBodyItemForRelationship(e,t)},e.prototype.clearForRelationship=function(e){var t=this.requireEntry(e);QI(t.blocks),t.blocks=[],t.dirty=!0;var r=sY.get(e);void 0!==r&&r.replaceItemsSilent([])},e.prototype.textForRelationship=function(e){if(void 0!==e){var t=this.byRelationshipId.get(e);if(void 0!==t)return XI(t.blocks)}},e.prototype.publicBodyItemsEqual=function(e,t){return e===t},e.prototype.storeBlocksEqual=function(e,t){return e.type===t.type&&("paragraph"===e.type&&"paragraph"===t.type?e.paragraph===t.paragraph:"feature"===e.type&&"feature"===t.type?e.featureId===t.featureId&&e.value===t.value:"opaque"===e.type&&"opaque"===t.type&&e.xml===t.xml)},e}(),sY=new Map,uY=!1;zV("oddHeader","default"),zV("oddFooter","default"),zV("firstPageHeader","first"),zV("firstPageFooter","first"),zV("evenHeader","even"),zV("evenFooter","even"),FX.prototype.header=function(e){return dV(BV(this),this,_V(e))},FX.prototype.footer=function(e){return hV(BV(this),this,_V(e))},FX.prototype.getOrCreateHeader=function(e){return jV(BV(this),this,_V(e))},FX.prototype.getOrCreateFooter=function(e){return MV(BV(this),this,_V(e))},FX.prototype.linkHeader=function(e,t){LV(BV(this),this,e.relationshipId,_V(t))},FX.prototype.linkFooter=function(e,t){RV(BV(this),this,e.relationshipId,_V(t))},FX.prototype.removeHeader=function(e){BV(this),this.setHeaderFooterReference("header",_V(e),void 0)},FX.prototype.removeFooter=function(e){BV(this),this.setHeaderFooterReference("footer",_V(e),void 0)},Qt(function(){VV()}),VV();var cY=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},dY=Be("mail-merge"),hY=new TextDecoder("utf-8"),fY=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","http://purl.oclc.org/ooxml/officeDocument/relationships/settings"],pY=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/recipientData","http://purl.oclc.org/ooxml/officeDocument/relationships/mailMergeRecipientData"],vY=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeSource","http://purl.oclc.org/ooxml/officeDocument/relationships/mailMergeSource","http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeHeaderSource","http://purl.oclc.org/ooxml/officeDocument/relationships/mailMergeHeaderSource"],mY=function(){function e(e,t,r,n){this.metadata=e,this.recipientsBytes=t,this.recipientCount=r,this.sourceTargets=n}return e.prototype.present=function(){return this.metadata.present},e.prototype.mainDocumentType=function(){return this.metadata.mainDocumentType},e.prototype.dataType=function(){return this.metadata.dataType},e.prototype.destination=function(){return this.metadata.destination},e.prototype.hasRecipientsPart=function(){return void 0!==this.recipientsBytes},e.prototype.recipientRecordCount=function(){return this.recipientCount},e.prototype.dataSourceTargets=function(){return this.sourceTargets},e.prototype.isDirty=function(){return!1},e.prototype.applyToPackage=function(e,t){return e},e}(),yY=!1;Object.defineProperty(mB.prototype,"mailMerge",{get:function(){var e=this.featurePart(dY);if(void 0===e||!(e instanceof mY))throw new $N("feature/not-registered","Mail merge catalog was not loaded; call registerMailMergeFeature() before WordDocument.open");return e}}),eT();var gY=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},bY=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(gY(arguments[t]));return e},wY=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},PY=Be("notes"),SY=cA,xY=new TextDecoder("utf-8"),CY=new TextEncoder,IY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",VY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",TY="application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml",kY="application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml",FY=[IY,"http://purl.oclc.org/ooxml/officeDocument/relationships/footnotes"],DY=[VY,"http://purl.oclc.org/ooxml/officeDocument/relationships/endnotes"],OY=bY(FY,DY),NY={assertAttachedParagraph:function(){},owningDocument:function(){throw new iA("Note content is not in a WordDocument")}},AY=function(){function e(e,t,r){this.WordDocument=e,this.kind=t,this.noteId=r}return e.prototype.assertAttachedParagraph=function(e){var t=kT(this.WordDocument).normalEntry(this.kind,this.noteId);if(void 0===t)throw new iA("Note part is no longer loaded");if(!t.blocks.some(function(t){return"paragraph"===t.type&&t.paragraph===e}))throw new iA("This paragraph is no longer in its note")},e.prototype.owningDocument=function(){return this.WordDocument},e}(),EY=function(){function e(e){this.noteId=e}return e.prototype.toOpenXml=function(){return pt("footnoteReference",{attributes:[ht("id",String(this.noteId))]})},e}(),LY=function(){function e(e){this.noteId=e}return e.prototype.toOpenXml=function(){return pt("endnoteReference",{attributes:[ht("id",String(this.noteId))]})},e}(),RY=function(){function e(e){this.parts=e,this.boundDocument=void 0}return e.prototype.bindDocument=function(e){var t,r,n,i;this.boundDocument=e;try{for(var o=wY(this.parts.values()),a=o.next();!a.done;a=o.next()){var l=a.value;try{for(var s=wY(l.entries),u=s.next();!u.done;u=s.next()){var c=u.value;void 0===c.preservedXml&&(iT(c.noteId,c.noteType)||vT(e,l.kind,c))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},e.prototype.requireBoundDocument=function(){if(void 0===this.boundDocument)throw new $N("content/unknown-note","Notes catalog is not bound to a WordDocument");return this.boundDocument},e.prototype.markPartDirty=function(e){var t=this.parts.get(e);if(void 0===t)throw new $N("content/unknown-note","Notes part is not loaded");t.dirty=!0},e.prototype.isDirty=function(){var e,t;try{for(var r=wY(this.parts.values()),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.dirty||void 0!==i.pendingRelationship)return!0}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return!1},e.prototype.applyToPackage=function(e,t){var r,n,i=e;try{for(var o=wY(this.parts.values()),a=o.next();!a.done;a=o.next())!function(e){if(!e.dirty&&void 0===e.pendingRelationship)return"continue";var r=bT(e),n=null!=e.pendingRelationship?e.pendingRelationship:Fe(i,t).items.find(function(t){return t.id===e.relationshipId});i=lt(i,t,e.partName,lT(e.kind),r,n),e.dirty=!1,e.pendingRelationship=void 0}(a.value)}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i},e.prototype.ensurePart=function(e,t,r){var n=this.parts.get(e);if(void 0!==n)return n;for(var i=PT(e,r),o=ae(t);bY(this.parts.values()).some(function(e){return e.relationshipId===o});)o=ae(new Set(bY(t,[o])));var a={partName:i,relationshipId:o,relationshipType:sT(e),kind:e,rootExtra:{attributes:[],namespaceDeclarations:[{prefix:"w",namespaceUri:SY}]},entries:gT(e),dirty:!0,pendingRelationship:{id:o,type:sT(e),target:uT(i),extraAttributes:[],children:[]}};return this.parts.set(e,a),a},e.prototype.addNormalEntry=function(e,t){var r=this.parts.get(e);if(void 0===r)throw new $N("content/unknown-note","Notes part is not loaded");var n=ST(r.entries),i=void 0!==this.boundDocument?yT(t,hT(this.boundDocument,e,n)):yT(t);return r.entries=bY(r.entries,[{noteId:n,noteType:"normal",blocks:i,preservedXml:void 0}]),r.dirty=!0,n},e.prototype.normalEntry=function(e,t){var r=this.parts.get(e);if(void 0!==r){var n=r.entries.find(function(e){return e.noteId===t});if(void 0!==n&&void 0===n.preservedXml&&!iT(n.noteId,n.noteType))return n}},e.prototype.requireNormalEntry=function(e,t){var r=this.normalEntry(e,t);if(void 0===r)throw new $N("content/unknown-note","Note id "+String(t)+" is not a modeled normal note");return r},e.prototype.textForNote=function(e,t){var r=this.normalEntry(e,t);if(void 0!==r)return dT(r.blocks)},e.prototype.itemsForNote=function(e,t){return this.blocksForNote(e,t)},e.prototype.blocksForNote=function(e,t){var r=this.normalEntry(e,t);if(void 0===r)return[];void 0!==this.boundDocument&&vT(this.boundDocument,e,r);for(var n=[],i=0;i<r.blocks.length;i+=1){var o=Ga(r.blocks[i]);void 0!==o&&n.push(o)}return n},e.prototype.paragraphsForNote=function(e,t){var r,n,i=this.normalEntry(e,t);if(void 0===i)return[];void 0!==this.boundDocument&&vT(this.boundDocument,e,i);var o=[];try{for(var a=wY(i.blocks),l=a.next();!l.done;l=a.next()){var s=l.value;"paragraph"===s.type&&o.push(s.paragraph)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o},e.prototype.setTextForNote=function(e,t,r){var n=this.parts.get(e);if(void 0===n)throw new $N("content/unknown-note","Notes part is not loaded");var i=n.entries.find(function(e){return e.noteId===t});if(void 0===i||void 0!==i.preservedXml)throw new $N("content/unknown-note","Note id "+String(t)+" is not a modeled normal note");if(iT(i.noteId,i.noteType))throw new $N("content/unknown-note","Note id "+String(t)+" is a separator or special note and cannot be edited");mT(i.blocks),void 0!==this.boundDocument?i.blocks=yT(r,hT(this.boundDocument,e,t)):i.blocks=yT(r),n.dirty=!0},e.prototype.insertBodyItemAtForNote=function(e,t,r,n){var i=this.requireBoundDocument(),o=this.requireNormalEntry(e,t);if(r<0||r>o.blocks.length)throw new RangeError("Body item index "+String(r)+" is out of range");var a=qa(n);"paragraph"===a.type?a.paragraph.attach(hT(i,e,t)):"feature"===a.type&&fT(a.value,i);var l=o.blocks.slice();return l.splice(r,0,a),o.blocks=l,this.markPartDirty(e),n},e.prototype.removeBodyItemAtForNote=function(e,t,r){var n=this.requireNormalEntry(e,t);if(r<0||r>=n.blocks.length)throw new RangeError("Body item index "+String(r)+" is out of range");var i=n.blocks[r];if(void 0===i)throw new RangeError("Body item index "+String(r)+" is out of range");var o=bY(n.blocks);o.splice(r,1),n.blocks=o,"paragraph"===i.type?i.paragraph.detach():"feature"===i.type&&pT(i.value),this.markPartDirty(e)},e.prototype.removeBodyItemForNote=function(e,t,r){for(var n=this.requireNormalEntry(e,t),i=-1,o=0;o<n.blocks.length;o+=1)if(Ga(n.blocks[o])===r){i=o;break}if(-1===i)throw new iA("Body item is not in this note");this.removeBodyItemAtForNote(e,t,i)},e.prototype.appendParagraphToNote=function(e,t,r){var n=this.requireBoundDocument(),i=this.requireNormalEntry(e,t),o=hT(n,e,t),a=new GR(o);return this.insertBodyItemAtForNote(e,t,i.blocks.length,a),void 0!==(null==r?void 0:r.style)&&a.applyStyle(r.style),void 0!==(null==r?void 0:r.text)&&a.appendText(r.text),a},e.prototype.appendTableToNote=function(e,t,r,n){this.requireBoundDocument();var i=this.requireNormalEntry(e,t),o=zm(r,n);return this.insertBodyItemAtForNote(e,t,i.blocks.length,o),o},e.prototype.appendBlockContentControlToNote=function(e,t,r){this.requireBoundDocument();var n=this.requireNormalEntry(e,t),i=mu(r);return this.insertBodyItemAtForNote(e,t,n.blocks.length,i),i},e.prototype.removeNormalEntry=function(e,t){var r=this.parts.get(e);if(void 0===r)throw new $N("content/unknown-note","Notes part is not loaded");var n=r.entries.filter(function(e){return e.noteId!==t});if(n.length===r.entries.length)throw new $N("content/unknown-note","Note id "+String(t)+" is not in this WordDocument");r.entries=n,r.dirty=!0},e}(),BY=function(){function e(e,t){this.WordDocument=e,this.id=t}return Object.defineProperty(e.prototype,"noteId",{get:function(){return this.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return kT(this.WordDocument).itemsForNote("footnote",this.id)},enumerable:!0,configurable:!0}),e.prototype.insertBodyItemAt=function(e,t){return kT(this.WordDocument).insertBodyItemAtForNote("footnote",this.id,e,t)},e.prototype.removeBodyItemAt=function(e){kT(this.WordDocument).removeBodyItemAtForNote("footnote",this.id,e)},e.prototype.removeBodyItem=function(e){kT(this.WordDocument).removeBodyItemForNote("footnote",this.id,e)},e}(),_Y=function(){function e(e,t){this.WordDocument=e,this.id=t}return Object.defineProperty(e.prototype,"noteId",{get:function(){return this.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return kT(this.WordDocument).itemsForNote("endnote",this.id)},enumerable:!0,configurable:!0}),e.prototype.insertBodyItemAt=function(e,t){return kT(this.WordDocument).insertBodyItemAtForNote("endnote",this.id,e,t)},e.prototype.removeBodyItemAt=function(e){kT(this.WordDocument).removeBodyItemAtForNote("endnote",this.id,e)},e.prototype.removeBodyItem=function(e){kT(this.WordDocument).removeBodyItemForNote("endnote",this.id,e)},e}(),jY=!1,MY=new WeakMap,zY=new WeakMap,UY=function(){function e(e){this.cachedLength=0,this.document=e}return Object.defineProperty(e.prototype,"count",{get:function(){return this.rebuildIndexProperties(),this.cachedLength},enumerable:!0,configurable:!0}),e.prototype.itemAt=function(e){return LT(this.document)[e]},e.prototype[Symbol.iterator]=function(){var e=LT(this.document).slice(),t=0;return{next:function(){if(t>=e.length)return{done:!0,value:void 0};var r=e[t];return t+=1,{done:!1,value:r}}}},e.prototype.rebuildIndexProperties=function(){for(var e=LT(this.document),t=e.length,r=this.cachedLength,n=r>t?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t},e}(),HY=function(){function e(e){this.cachedLength=0,this.document=e}return Object.defineProperty(e.prototype,"count",{get:function(){return this.rebuildIndexProperties(),this.cachedLength},enumerable:!0,configurable:!0}),e.prototype.itemAt=function(e){return RT(this.document)[e]},e.prototype[Symbol.iterator]=function(){var e=RT(this.document).slice(),t=0;return{next:function(){if(t>=e.length)return{done:!0,value:void 0};var r=e[t];return t+=1,{done:!1,value:r}}}},e.prototype.rebuildIndexProperties=function(){for(var e=RT(this.document),t=e.length,r=this.cachedLength,n=r>t?r:t,i=0;i<n;i+=1){var o=String(i);i<t?Object.defineProperty(this,o,{value:e[i],writable:!1,enumerable:!0,configurable:!0}):delete this[o]}this.cachedLength=t},e}(),WY=new WeakMap,GY=new WeakMap;Object.defineProperty(mB.prototype,"footnotes",{configurable:!0,enumerable:!1,get:function(){return BT(this)}}),Object.defineProperty(mB.prototype,"endnotes",{configurable:!0,enumerable:!1,get:function(){return _T(this)}}),GR.prototype.appendFootnote=function(e){var t=WT(this.owningDocument(),this,e);return OT(this.owningDocument(),t.noteId)},GR.prototype.appendEndnote=function(e){var t=GT(this.owningDocument(),this,e);return NT(this.owningDocument(),t.noteId)},TT();var qY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject",XY="http://schemas.microsoft.com/office/2019/04/relationships/oleObjectLinkLongPath",YY=function(){return(YY=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},ZY=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},KY=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ZY(arguments[t]));return e},JY=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},$Y="application/vnd.openxmlformats-officedocument.oleObject",QY="/word/embeddings/oleObject",eZ=".bin",tZ="/word/media/image",rZ=function(){function e(e,t,r){var n,i;void 0===t&&(t=new Map),void 0===r&&(r=new Map),this.entries=e,this.byRelationshipId=new Map(KY(e.values()).map(function(e){return[e.relationshipId,e]})),this.externalByRelationshipId=t,this.iconEntries=r,this.iconByRelationshipId=new Map(KY(r.values()).map(function(e){return[e.relationshipId,e]})),this.iconHashToRelationshipId=new Map;try{for(var o=JY(r.values()),a=o.next();!a.done;a=o.next()){var l=a.value;this.iconHashToRelationshipId.set(rk(l.data),l.relationshipId)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}this.pendingRemovals=[],this.pendingExternalRemovals=[],this.pendingIconRemovals=[],this.pendingEmbeds=new Map,this.pendingLinks=new Map,this.pendingIcons=new Map}return e.prototype.objects=function(){return KY(this.entries.values())},e.prototype.bytesForRelationship=function(e){var t;return t=this.byRelationshipId.get(e),null==t?void 0:t.data},e.prototype.targetForRelationship=function(e){var t;return t=this.externalByRelationshipId.get(e),null==t?void 0:t.target},e.prototype.iconBytesForRelationship=function(e){var t;return t=this.iconByRelationshipId.get(e),null==t?void 0:t.data},e.prototype.pendingBytesFor=function(e){var t;return t=this.pendingEmbeds.get(e),null==t?void 0:t.bytes},e.prototype.pendingTargetFor=function(e){var t;return t=this.pendingLinks.get(e),null==t?void 0:t.target},e.prototype.pendingIconBytesFor=function(e){var t;return t=this.pendingIcons.get(e),null==t?void 0:t.bytes},e.prototype.pendingPartNames=function(){return KY(this.entries.keys(),this.iconEntries.keys())},e.prototype.pendingRelationshipIds=function(){return KY(this.byRelationshipId.keys(),this.externalByRelationshipId.keys(),this.iconByRelationshipId.keys())},e.prototype.registerPendingEmbed=function(e,t,r){this.pendingEmbeds.set(e,{bytes:t,contentType:r})},e.prototype.registerPendingLink=function(e,t){this.pendingLinks.set(e,{target:t})},e.prototype.registerPendingIcon=function(e,t,r){this.pendingIcons.set(e,{bytes:t,contentType:r})},e.prototype.discardPendingEmbed=function(e){this.pendingEmbeds.delete(e)},e.prototype.discardPendingLink=function(e){this.pendingLinks.delete(e)},e.prototype.discardPendingIcon=function(e){this.pendingIcons.delete(e)},e.prototype.updatePendingBytes=function(e,t){var r=this.pendingEmbeds.get(e);if(void 0===r)throw new Error("Pending OLE object was not found");this.pendingEmbeds.set(e,YY({},r,{bytes:t}))},e.prototype.replaceBytes=function(e,t){var r=this.byRelationshipId.get(e);if(void 0===r)throw new Error("OLE object relationship "+e+" is not loaded");r.data=t,r.dirty=!0},e.prototype.removeEntry=function(e){var t=this.byRelationshipId.get(e);if(void 0!==t)return this.entries.delete(t.partName),this.byRelationshipId.delete(e),void this.pendingRemovals.push(t);this.externalByRelationshipId.has(e)&&(this.externalByRelationshipId.delete(e),this.pendingExternalRemovals.push(e))},e.prototype.removeIconEntry=function(e){var t=this.iconByRelationshipId.get(e);if(void 0!==t){this.iconEntries.delete(t.partName),this.iconByRelationshipId.delete(e);var r=rk(t.data);this.iconHashToRelationshipId.get(r)===e&&this.iconHashToRelationshipId.delete(r),this.pendingIconRemovals.push(t)}},e.prototype.isDirty=function(){var e,t,r,n,i,o;if(this.pendingRemovals.length>0||this.pendingExternalRemovals.length>0||this.pendingIconRemovals.length>0||this.pendingEmbeds.size>0||this.pendingLinks.size>0||this.pendingIcons.size>0)return!0;try{for(var a=JY(this.entries.values()),l=a.next();!l.done;l=a.next())if((h=l.value).dirty||void 0!==h.pendingRelationship)return!0}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}try{for(var s=JY(this.externalByRelationshipId.values()),u=s.next();!u.done;u=s.next())if(void 0!==(h=u.value).pendingRelationship)return!0}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}try{for(var c=JY(this.iconEntries.values()),d=c.next();!d.done;d=c.next()){var h=d.value;if(h.dirty||void 0!==h.pendingRelationship)return!0}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return!1},e.prototype.allocatePart=function(e,t,r,n){for(var i=QT(n),o=ae(r);this.byRelationshipId.has(o)||this.externalByRelationshipId.has(o)||this.iconByRelationshipId.has(o);)o=ae(new Set(KY(r,[o])));var a={partName:i,relationshipId:o,relationshipType:qY,contentType:t,data:e,dirty:!0,pendingRelationship:{id:o,type:qY,target:$T(i),extraAttributes:[],children:[]}};return this.entries.set(i,a),this.byRelationshipId.set(o,a),{entry:a,relationshipId:o}},e.prototype.allocateExternalTarget=function(e,t){for(var r=ae(t);this.byRelationshipId.has(r)||this.externalByRelationshipId.has(r)||this.iconByRelationshipId.has(r);)r=ae(new Set(KY(t,[r])));var n={id:r,type:qY,target:e,targetMode:sE.External,extraAttributes:[],children:[]};return this.externalByRelationshipId.set(r,{relationshipId:r,target:e,relationshipType:qY,pendingRelationship:n}),r},e.prototype.allocateIconPart=function(e,t,r,n){var i=rk(e),o=this.iconHashToRelationshipId.get(i);if(void 0!==o){var a=this.iconByRelationshipId.get(o);if(void 0!==a)return{entry:a,relationshipId:o}}for(var l=ek(t,n),s=ae(r);this.byRelationshipId.has(s)||this.externalByRelationshipId.has(s)||this.iconByRelationshipId.has(s);)s=ae(new Set(KY(r,[s])));var u={partName:l,relationshipId:s,relationshipType:mq,contentType:t,data:e,dirty:!0,pendingRelationship:{id:s,type:mq,target:$T(l),extraAttributes:[],children:[]}};return this.iconEntries.set(l,u),this.iconByRelationshipId.set(s,u),this.iconHashToRelationshipId.set(i,s),{entry:u,relationshipId:s}},e.prototype.materializePending=function(e,t){var r,n,i,o;if(0!==this.pendingEmbeds.size||0!==this.pendingLinks.size||0!==this.pendingIcons.size){var a=ot(e);try{for(var l=JY(this.pendingRelationshipIds()),s=l.next();!s.done;s=l.next()){var u=s.value;a.add(u)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}var c=nk(e,this);try{for(var d=JY(t),h=d.next();!h.done;h=d.next()){var f=h.value;if(f.isPendingRelationship()){var p=this.pendingEmbeds.get(f);if(void 0!==p){g=this.allocatePart(p.bytes,p.contentType,a,c);a.add(g.relationshipId),c.add(W(g.entry.partName)),f.resolveRelationshipId(g.relationshipId),this.pendingEmbeds.delete(f)}else{var v=this.pendingLinks.get(f);if(void 0!==v){var m=this.allocateExternalTarget(v.target,a);a.add(m),f.resolveRelationshipId(m),this.pendingLinks.delete(f)}}}if(f.isPendingIcon()){var y=this.pendingIcons.get(f);if(void 0!==y){var g=this.allocateIconPart(y.bytes,y.contentType,a,c);a.add(g.relationshipId),c.add(W(g.entry.partName)),f.resolveIconRelationshipId(g.relationshipId),this.pendingIcons.delete(f)}}}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}},e.prototype.applyToPackage=function(e,t){var r,n,i,o,a,l,s,u,c,d,h,f,p=e;try{for(var v=JY(this.entries.values()),m=v.next();!m.done;m=v.next())!function(e){if(!e.dirty&&void 0===e.pendingRelationship)return"continue";var r=null!=e.pendingRelationship?e.pendingRelationship:Fe(p,t).items.find(function(t){return t.id===e.relationshipId});p=lt(p,t,e.partName,e.contentType,e.data,r),e.dirty=!1,e.pendingRelationship=void 0}(T=m.value)}catch(e){r={error:e}}finally{try{m&&!m.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}try{for(var y=JY(this.iconEntries.values()),g=y.next();!g.done;g=y.next())!function(e){if(!e.dirty&&void 0===e.pendingRelationship)return"continue";var r=null!=e.pendingRelationship?e.pendingRelationship:Fe(p,t).items.find(function(t){return t.id===e.relationshipId});p=lt(p,t,e.partName,e.contentType,e.data,r),e.dirty=!1,e.pendingRelationship=void 0}(T=g.value)}catch(e){i={error:e}}finally{try{g&&!g.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}var b=KY(this.externalByRelationshipId.values()).map(function(e){return e.pendingRelationship}).filter(function(e){return void 0!==e});if(b.length>0){var w=JT(Fe(p,t),b);try{for(var P=JY(this.externalByRelationshipId.values()),S=P.next();!S.done;S=P.next())(T=S.value).pendingRelationship=void 0}catch(e){a={error:e}}finally{try{S&&!S.done&&(l=P.return)&&l.call(P)}finally{if(a)throw a.error}}p=Le(p,t,w)}try{for(var x=JY(this.pendingRemovals),C=x.next();!C.done;C=x.next()){T=C.value;p=ik(p,t,T)}}catch(e){s={error:e}}finally{try{C&&!C.done&&(u=x.return)&&u.call(x)}finally{if(s)throw s.error}}this.pendingRemovals.length=0;try{for(var I=JY(this.pendingIconRemovals),V=I.next();!V.done;V=I.next()){var T=V.value;p=ok(p,t,T)}}catch(e){c={error:e}}finally{try{V&&!V.done&&(d=I.return)&&d.call(I)}finally{if(c)throw c.error}}this.pendingIconRemovals.length=0;try{for(var k=JY(this.pendingExternalRemovals),F=k.next();!F.done;F=k.next())!function(e){p=sk(p,t,function(t){return t.id!==e})}(F.value)}catch(e){h={error:e}}finally{try{F&&!F.done&&(f=k.return)&&f.call(k)}finally{if(h)throw h.error}}return this.pendingExternalRemovals.length=0,p},e}(),nZ=function(){return(nZ=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},iZ=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},oZ=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},aZ=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(oZ(arguments[t]));return e},lZ="urn:schemas-microsoft-com:office:office",sZ="http://schemas.openxmlformats.org/wordprocessingml/2006/main",uZ={Embed:"embed",Link:"link"},cZ={Content:"content",Icon:"icon"},dZ={Always:"always",OnCall:"onCall"},hZ="OLEObject",fZ="objectEmbed",pZ="objectLink",vZ={Embed:"Embed",Link:"Link"},mZ={Content:"Content",Icon:"Icon"},yZ={Always:"Always",OnCall:"OnCall"},gZ={Content:"content",Icon:"icon"},bZ={Always:"always",OnCall:"onCall"},wZ=[cZ.Content,cZ.Icon],PZ=[dZ.Always,dZ.OnCall],SZ=function(){return(SZ=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},xZ=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},CZ=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},IZ=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(CZ(arguments[t]));return e},VZ=Be("ole-object"),TZ=function(){function e(e,t){this.pendingLink=!1,this.pendingIcon=!1;var r=mk(e);if(void 0===r||r.oleElement!==t){var n=t.namespaceUri===lZ?"office":"wml";this.state=yk(e,t,n)}else this.state=yk(e,r.oleElement,r.wireForm);this.relationshipIdValue=Uk(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships","id"),this.imageRelationshipIdValue=Xk(e)}return Object.defineProperty(e.prototype,"wireForm",{get:function(){return this.state.wireForm},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkType",{get:function(){return gk(this.state)},set:function(e){this.mutate({type:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"progId",{get:function(){return bk(this.state)},set:function(e){this.mutate({progId:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shapeId",{get:function(){return wk(this.state)},set:function(e){this.mutate({shapeId:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"drawAspect",{get:function(){return Pk(this.state)},set:function(e){this.mutate({drawAspect:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"objectId",{get:function(){return Sk(this.state)},set:function(e){this.mutate({objectId:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateMode",{get:function(){return xk(this.state)},set:function(e){this.mutate({updateMode:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockedField",{get:function(){return Vk(this.state)},set:function(e){this.mutate({lockedField:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkTypeDescription",{get:function(){return Tk(this.state)},set:function(e){this.mutate({linkTypeDescription:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fieldCodes",{get:function(){return kk(this.state)},set:function(e){this.mutate({fieldCodes:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalWidth",{get:function(){return Dk(this.state)},set:function(e){this.mutate({originalWidth:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalHeight",{get:function(){return Ok(this.state)},set:function(e){this.mutate({originalHeight:e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linked",{get:function(){return gk(this.state)===uZ.Link},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkTarget",{get:function(){if(gk(this.state)===uZ.Link){var e=this.relationshipIdValue,t=this.lookUpCatalog();if(void 0!==e&&e.length>0&&void 0!==t){var r=t.targetForRelationship(e);if(void 0!==r)return r}return this.pendingLink&&void 0!==t?t.pendingTargetFor(this):void 0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relationshipId",{get:function(){return this.relationshipIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"imageRelationshipId",{get:function(){return this.imageRelationshipIdValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"previewImageBytes",{get:function(){var e=this.lookUpCatalog();if(this.pendingIcon&&void 0!==e){var t=e.pendingIconBytesFor(this);if(void 0!==t)return Gk(t)}var r=this.imageRelationshipIdValue;if(void 0!==r&&r.length>0&&void 0!==e){var n=e.iconBytesForRelationship(r);if(void 0!==n)return Gk(n)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"payloadBytes",{get:function(){if(gk(this.state)!==uZ.Link){var e=this.relationshipIdValue,t=this.lookUpCatalog();if(void 0!==e&&e.length>0&&void 0!==t){var r=t.bytesForRelationship(e);if(void 0!==r)return Gk(r)}return void 0!==this.pendingPayload?Gk(this.pendingPayload.bytes):void 0}},set:function(e){if(void 0===e)throw new $N("content/invalid-ole-object","OleObject payloadBytes cannot be cleared; remove the owning run instead");if(0===e.byteLength)throw new $N("content/invalid-ole-object","OleObject payload bytes must not be empty");if(gk(this.state)===uZ.Link)throw new $N("content/invalid-ole-object","OleObject payloadBytes is only available on embedded objects");var t=Gk(e);if(void 0!==this.pendingPayload){this.pendingPayload=SZ({},this.pendingPayload,{bytes:t});var r=this.lookUpCatalog();return void(void 0!==r&&r.updatePendingBytes(this,t))}var n=this.relationshipIdValue,i=this.lookUpCatalog();if(void 0===n||0===n.length||void 0===i)throw new $N("content/invalid-ole-object","OleObject has no embedding part to replace (not yet saved and no pending payload)");i.replaceBytes(n,t)},enumerable:!0,configurable:!0}),e.prototype.toOpenXml=function(){return this.state.element},e.prototype.isPendingRelationship=function(){return void 0!==this.pendingPayload||this.pendingLink},e.prototype.resolveRelationshipId=function(e){this.relationshipIdValue=e,this.pendingPayload=void 0,this.pendingLink=!1,this.state=qk(this.state,e)},e.prototype.registerPendingPayload=function(e,t){this.pendingPayload={bytes:Gk(e),contentType:t},this.pendingLink=!1},e.prototype.registerPendingLinkTarget=function(){this.pendingLink=!0,this.pendingPayload=void 0},e.prototype.isPendingIcon=function(){return this.pendingIcon},e.prototype.resolveIconRelationshipId=function(e){this.imageRelationshipIdValue=e,this.pendingIcon=!1,this.state=Yk(this.state,e)},e.prototype.registerPendingIconMedia=function(){this.pendingIcon=!0},e.prototype.pendingContentType=function(){return null==this.pendingPayload?void 0:this.pendingPayload.contentType},e.prototype.lookUpCatalog=function(){var e=this.owningDocumentOf();if(void 0!==e){var t=e.featurePart(VZ);return t instanceof rZ?t:void 0}},e.prototype.owningDocumentOf=function(){return Kk(this)},e.prototype.mutate=function(e){var t;this.state=Mk(this.state,e),this.relationshipIdValue=(t=Uk(this.state.oleElement,"http://schemas.openxmlformats.org/officeDocument/2006/relationships","id"),null!=t?t:this.relationshipIdValue)},e}(),kZ="urn:schemas-microsoft-com:vml",FZ="http://schemas.openxmlformats.org/officeDocument/2006/relationships",DZ=new WeakMap,OZ=!1,NZ=2147483647,AZ=1026,EZ=1608619363,LZ=1850929220%NZ,RZ="http://schemas.openxmlformats.org/wordprocessingml/2006/main";GR.prototype.appendOleObject=function(e){return pF(this,e)},Qk();var BZ=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},_Z=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},jZ=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_Z(arguments[t]));return e},MZ=Be("properties"),zZ="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",UZ=q("/docProps/core.xml"),HZ=q("/docProps/app.xml"),WZ=q("/docProps/custom.xml"),GZ="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",qZ="http://purl.org/dc/elements/1.1/",XZ=new TextDecoder("utf-8"),YZ=new TextEncoder,ZZ=function(){function e(e,t,r,n,i,o,a,l,s){this.rootAttributes=e,this.rootNamespaceDeclarations=t,this.opaque=r,this.titleValue=n,this.creatorValue=i,this.subjectValue=o,this.descriptionValue=a,this.keywordsValue=l,this.dirty=s}return Object.defineProperty(e.prototype,"title",{get:function(){return this.titleValue},set:function(e){this.titleValue=e,this.dirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"creator",{get:function(){return this.creatorValue},set:function(e){this.creatorValue=e,this.dirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"subject",{get:function(){return this.subjectValue},set:function(e){this.subjectValue=e,this.dirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"description",{get:function(){return this.descriptionValue},set:function(e){this.descriptionValue=e,this.dirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keywords",{get:function(){return this.keywordsValue},set:function(e){this.keywordsValue=e,this.dirty=!0},enumerable:!0,configurable:!0}),e.prototype.isDirty=function(){return this.dirty},e.prototype.markClean=function(){this.dirty=!1},e.prototype.serialize=function(){var e=[];void 0!==this.creatorValue&&e.push(xF("creator",this.creatorValue)),void 0!==this.titleValue&&e.push(xF("title",this.titleValue)),void 0!==this.subjectValue&&e.push(xF("subject",this.subjectValue)),void 0!==this.descriptionValue&&e.push(xF("description",this.descriptionValue)),void 0!==this.keywordsValue&&e.push(SF("keywords",this.keywordsValue)),e.push.apply(e,jZ(this.opaque));var t={kind:"element",namespaceUri:GZ,localName:"coreProperties",prefix:"",attributes:this.rootAttributes,namespaceDeclarations:this.rootNamespaceDeclarations.length>0?this.rootNamespaceDeclarations:[{prefix:"",namespaceUri:GZ},{prefix:"dc",namespaceUri:qZ},{prefix:"dcterms",namespaceUri:"http://purl.org/dc/terms/"},{prefix:"xsi",namespaceUri:"http://www.w3.org/2001/XMLSchema-instance"}],children:e};return YZ.encode(y(t))},e}(),KZ=function(){function e(e,t,r){this.coreValue=e,this.corePartName=t,this.coreRelationshipId=r,this.corePendingRelationship=void 0}return Object.defineProperty(e.prototype,"core",{get:function(){return this.coreValue},enumerable:!0,configurable:!0}),e.prototype.isDirty=function(){return this.coreValue.isDirty()},e.prototype.ensureCorePart=function(e){if(void 0===this.coreRelationshipId){for(var t=Rt(e),r=ae(t);t.has(r);)r=ae(new Set(jZ(t,[r])));this.corePartName=UZ,this.coreRelationshipId=r,this.corePendingRelationship={id:r,type:zZ,target:"docProps/core.xml",extraAttributes:[],children:[]}}},e.prototype.applyToPackage=function(e){var t=this;if(!this.coreValue.isDirty()&&void 0===this.corePendingRelationship)return e;var r=Et(e,this.corePartName,"application/vnd.openxmlformats-package.core-properties+xml",this.coreValue.serialize(),null!=this.corePendingRelationship?this.corePendingRelationship:void 0===this.coreRelationshipId?void 0:e.packageRelationships.items.find(function(e){return e.id===t.coreRelationshipId}));return this.coreValue.markClean(),this.corePendingRelationship=void 0,r},e}(),JZ=!1;TF();var $Z=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},QZ=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat($Z(arguments[t]));return e},eK=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},tK=Be("revisions"),rK=["ins","del","moveFrom","moveTo"],nK=function(){function e(){this.runs=[]}return e.prototype.assertAttachedItem=function(e){if(!(e instanceof MR)||this.runs.indexOf(e)<0)throw new iA("This run is no longer in its track-change wrapper")},e.prototype.appendRun=function(){var e=new MR(this);return this.runs=QZ(this.runs,[e]),e},e.prototype.listRuns=function(){return this.runs},e.prototype.detachRuns=function(){var e,t;try{for(var r=eK(this.runs),n=r.next();!n.done;n=r.next())n.value.detach()}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.runs=[]},e.prototype.hydrateRuns=function(e){var t,r;this.runs=e;try{for(var n=eK(e),i=n.next();!i.done;i=n.next())i.value.attach(this)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e}(),iK=function(){function e(e,t,r,n,i,o,a){this.kind=e,this.changeId=t,this.author=r,this.date=n,this.runOwner=i,this.items=o,this.preservedXml=a}return Object.defineProperty(e.prototype,"runs",{get:function(){return this.runOwner.listRuns()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return WF(this.kind)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return GF(this)},enumerable:!0,configurable:!0}),e.prototype.releaseContent=function(){this.runOwner.detachRuns()},e.prototype.toOpenXml=function(){var e,t;if(void 0!==this.preservedXml)return this.preservedXml;var r=[];try{for(var n=eK(this.items),i=n.next();!i.done;i=n.next()){var o=i.value;"textRange"===o.type?r.push(UR(o.run)):r.push(o.xml)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return pt(this.kind,{attributes:HF(this.changeId,this.author,this.date),children:r})},e}(),oK=function(){function e(e){this.change=e}return Object.defineProperty(e.prototype,"trackChange",{get:function(){return this.change},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"changeId",{get:function(){return this.change.changeId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"author",{get:function(){return this.change.author},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"date",{get:function(){return this.change.date},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"kind",{get:function(){return this.change.kind},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.change.type},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"runs",{get:function(){return this.change.runs},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.change.text},enumerable:!0,configurable:!0}),e}(),aK=function(){function e(e,t,r,n,i){this.moveKind=e,this.markerId=t,this.name=r,this.author=n,this.date=i}return e.prototype.releaseContent=function(){},e.prototype.toOpenXml=function(){return pt("moveFrom"===this.moveKind?"moveFromRangeStart":"moveToRangeStart",{attributes:[ht("id",String(this.markerId)),ht("name",this.name),ht("author",this.author),ht("date",this.date)]})},e}(),lK=function(){function e(e,t){this.moveKind=e,this.markerId=t}return e.prototype.releaseContent=function(){},e.prototype.toOpenXml=function(){return pt("moveFrom"===this.moveKind?"moveFromRangeEnd":"moveToRangeEnd",{attributes:[ht("id",String(this.markerId))]})},e}(),sK=!1;Qt(function(){eD()}),eD();var uK=function(){return(uK=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},cK=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},dK=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(cK(arguments[t]));return e},hK="http://schemas.openxmlformats.org/officeDocument/2006/relationships",fK=function(){function e(e,t,r,n){this.relationshipId=e,this.otherAttributes=t,this.elementChildren=r,this.namespaceDeclarations=n}return e.fromElement=function(t){var r=lD(t),n=t.attributes.filter(function(e){return"id"!==e.localName||!(e.namespaceUri===hK||"r"===e.prefix||""===e.namespaceUri)}),i=t.attributes.find(function(e){return"id"===e.localName&&(e.namespaceUri===hK||"r"===e.prefix||""===e.namespaceUri)}),o=dK(n);return void 0!==i&&o.unshift(i),new e(r,o,dK(t.children),t.namespaceDeclarations)},e.prototype.id=function(){return this.relationshipId},e.prototype.serialize=function(){return pt("attachedTemplate",uK({attributes:this.otherAttributes,children:this.elementChildren},this.namespaceDeclarations.length>0?{namespaceDeclarations:this.namespaceDeclarations}:{}))},e}(),pK=function(){return(pK=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},vK=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},mK=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(vK(arguments[t]));return e},yK=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},gK=new Set(["noColumnBalance"]),bK="http://schemas.microsoft.com/office/word";!function(e){e.Word2007="12",e.Word2010="14",e.Word2013="15"}(e.CompatibilityMode||(e.CompatibilityMode={}));var wK=function(){function e(e,t,r,n,i,o){this.settingName=e,this.settingUri=t,this.settingVal=r,this.attributes=n,this.elementChildren=i,this.namespaceDeclarations=o}return e.fromElement=function(t){return new e(sD(t,"name"),sD(t,"uri"),sD(t,"val"),t.attributes,mK(t.children),t.namespaceDeclarations)},e.create=function(t,r,n){return e.fromElement(pt("compatSetting",{attributes:[{namespaceUri:cA,localName:"name",prefix:"w",value:t},{namespaceUri:cA,localName:"uri",prefix:"w",value:r},{namespaceUri:cA,localName:"val",prefix:"w",value:n}]}))},e.prototype.name=function(){return this.settingName},e.prototype.uri=function(){return this.settingUri},e.prototype.val=function(){return this.settingVal},e.prototype.serialize=function(){return pt("compatSetting",pK({attributes:this.attributes,children:this.elementChildren},this.namespaceDeclarations.length>0?{namespaceDeclarations:this.namespaceDeclarations}:{}))},e}(),PK=function(){function e(e){this.element=e}return e.prototype.serialize=function(){return this.element},e}(),SK=function(){function e(e,t){this.localName=e,this.value=t}return e.tryFromElement=function(t){if(gK.has(t.localName)&&ut(t,t.localName)){var r=Er(t);if(void 0!==r)return new e(t.localName,r)}},e.prototype.read=function(){return this.value},e.prototype.write=function(e){this.value=e},e.prototype.serialize=function(){return Lr(this.localName,this.value)},e}(),xK=function(){function t(e,t,r,n){this.children=e,this.attributes=t,this.namespaceDeclarations=r,this.onDirty=n}return t.fromElement=function(e){var r,n,i=[];try{for(var o=yK(ct(e)),a=o.next();!a.done;a=o.next()){var l=a.value;if(ut(l,"compatSetting"))i.push(wK.fromElement(l));else{var s=SK.tryFromElement(l);void 0===s?i.push(new PK(l)):i.push(s)}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return new t(i,e.attributes,e.namespaceDeclarations)},t.createEmpty=function(e){return new t([],[],[],e)},t.prototype.bindDirty=function(e){this.onDirty=e},t.prototype.markDirty=function(){void 0!==this.onDirty&&this.onDirty()},t.prototype.findOnOff=function(e){var t,r;try{for(var n=yK(this.children),i=n.next();!i.done;i=n.next()){var o=i.value;if(o instanceof SK&&o.localName===e)return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},t.prototype.setOnOff=function(e,t){var r=this.children.findIndex(function(t){return t instanceof SK&&t.localName===e});if(void 0===t)return void(r>=0&&(this.children.splice(r,1),this.markDirty()));if(r>=0){var n=this.children[r];return void(n instanceof SK&&(n.write(t),this.markDirty()))}for(var i=this.children.length,o=0;o<this.children.length;o+=1)if(this.children[o]instanceof wK){i=o;break}this.children.splice(i,0,new SK(e,t)),this.markDirty()},t.prototype.settings=function(){var e,t,r=[];try{for(var n=yK(this.children),i=n.next();!i.done;i=n.next()){var o=i.value;o instanceof wK&&r.push(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},t.prototype.settingNames=function(){var e,t,r=[];try{for(var n=yK(this.settings()),i=n.next();!i.done;i=n.next()){var o=i.value.name();void 0!==o&&o.length>0&&r.push(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},t.prototype.settingCount=function(){return this.settings().length},t.prototype.setting=function(e){var t,r;try{for(var n=yK(this.settings()),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name()===e)return o.val()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},t.prototype.compatibilityMode=function(){return this.setting("compatibilityMode")},t.prototype.setCompatibilityMode=function(e){var t=e,r=this.children.findIndex(function(e){return e instanceof wK&&"compatibilityMode"===e.name()}),n=wK.create("compatibilityMode",bK,t);r>=0?this.children[r]=n:this.children.push(n),this.markDirty()},t.prototype.noColumnBalance=function(){var e=this.findOnOff("noColumnBalance");return void 0===e?void 0:e.read()},t.prototype.setNoColumnBalance=function(e){this.setOnOff("noColumnBalance",e)},t.createDefault=function(){return new t([wK.create("compatibilityMode",bK,e.CompatibilityMode.Word2013),wK.create("overrideTableStyleFontSizeAndJustification",bK,"1"),wK.create("enableOpenTypeFeatures",bK,"1"),wK.create("doNotFlipMirrorIndents",bK,"1"),wK.create("differentiateMultirowTableHeaders",bK,"1")],[],[])},t.prototype.serialize=function(){return pt("compat",pK({attributes:this.attributes,children:this.children.map(function(e){return e.serialize()})},this.namespaceDeclarations.length>0?{namespaceDeclarations:this.namespaceDeclarations}:{}))},t}(),CK=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},IK=function(){function e(e,t){this.metadata=cD(e),this.displayBackgroundShapeValue=t}return e.prototype.present=function(){return this.metadata.present},e.prototype.color=function(){return this.metadata.color},e.prototype.themeColor=function(){return this.metadata.themeColor},e.prototype.themeTint=function(){return this.metadata.themeTint},e.prototype.themeShade=function(){return this.metadata.themeShade},e.prototype.hasDrawing=function(){return this.metadata.hasDrawing},e.prototype.displayBackgroundShape=function(){return this.displayBackgroundShapeValue},e}(),VK=function(){return(VK=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},TK=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},kK=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(TK(arguments[t]));return e},FK=new Set(["edit","formatting","enforcement"]),DK=function(){function e(e,t,r,n,i,o){this.edit=e,this.formatting=t,this.enforcement=r,this.leftoverAttributes=n,this.elementChildren=i,this.namespaceDeclarations=o}return e.fromElement=function(t){var r=t.attributes.filter(function(e){return!FK.has(e.localName)});return new e(vD(hD(t,"edit")),fD(hD(t,"formatting")),fD(hD(t,"enforcement")),r,kK(t.children),t.namespaceDeclarations)},e.fromFlags=function(t){return new e(t.edit,t.formatting,t.enforcement,[],[],[])},e.prototype.flags=function(){var e={};return void 0!==this.edit&&(e.edit=this.edit),void 0!==this.formatting&&(e.formatting=this.formatting),void 0!==this.enforcement&&(e.enforcement=this.enforcement),e},e.prototype.applyFlags=function(e){this.edit=e.edit,this.formatting=e.formatting,this.enforcement=e.enforcement},e.prototype.serialize=function(){var e=[];return void 0!==this.edit&&e.push(ht("edit",this.edit)),void 0!==this.formatting&&e.push(pD("formatting",this.formatting)),void 0!==this.enforcement&&e.push(pD("enforcement",this.enforcement)),pt("documentProtection",VK({attributes:kK(e,this.leftoverAttributes),children:this.elementChildren},this.namespaceDeclarations.length>0?{namespaceDeclarations:this.namespaceDeclarations}:{}))},e}(),OK=new Set(["doNotCompress","compressPunctuation","compressPunctuationAndJapaneseKana"]),NK=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},AK=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(NK(arguments[t]));return e},EK=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},LK=new Set(["decimal","upperRoman","lowerRoman","upperLetter","lowerLetter","ordinal","cardinalText","ordinalText","hex","chicago","ideographDigital","japaneseCounting","aiueo","iroha","decimalFullWidth","decimalHalfWidth","japaneseLegal","japaneseDigitalTenThousand","decimalEnclosedCircle","decimalFullWidth2","aiueoFullWidth","irohaFullWidth","decimalZero","bullet","ganada","chosung","decimalEnclosedFullstop","decimalEnclosedParen","decimalEnclosedCircleChinese","ideographEnclosedCircle","ideographTraditional","ideographZodiac","ideographZodiacTraditional","taiwaneseCounting","ideographLegalTraditional","taiwaneseCountingThousand","taiwaneseDigital","chineseCounting","chineseLegalSimplified","chineseCountingThousand","koreanDigital","koreanCounting","koreanLegal","koreanDigital2","vietnameseCounting","russianLower","russianUpper","none","numberInDash","hebrew1","hebrew2","arabicAlpha","arabicAbjad","hindiVowels","hindiConsonants","hindiNumbers","hindiCounting","thaiLetters","thaiNumbers","thaiCounting","bahtText","dollarText","custom"]),RK=function(){function e(e,t){this.positionValue=e,this.state=t}return e.fromElement=function(t,r){var n,i=ND(t,r,function(e){return!(void 0===e||!PD(e))&&(n=e,!0)});return new e(n,i)},e.create=function(t){return new e(void 0,OD(t))},e.prototype.bindDirty=function(e){this.state.onDirty=e},e.prototype.markDirty=function(){null==this.state.onDirty||this.state.onDirty()},Object.defineProperty(e.prototype,"numberFormat",{get:function(){return this.state.numberFormat},set:function(e){void 0!==e&&TD(e),this.state.numberFormat=e,void 0===e&&(this.state.numFmtExtraAttributes=[],this.state.numFmtChildren=[],this.state.numFmtNamespaceDeclarations=[]),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this.positionValue},set:function(e){void 0!==e&&kD(e),this.positionValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"initialNoteNumber",{get:function(){return this.state.numberingStart},set:function(e){if(!(void 0===e||Number.isInteger(e)&&Number.isFinite(e)))throw new RangeError("initialNoteNumber must be a finite integer, got "+String(e));this.state.numberingStart=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberingRestart",{get:function(){return this.state.numberingRestart},set:function(e){void 0!==e&&DD(e),this.state.numberingRestart=e,this.markDirty()},enumerable:!0,configurable:!0}),e.prototype.serialize=function(){return AD("footnotePr",this.positionValue,this.state)},e}(),BK=function(){function e(e,t){this.positionValue=e,this.state=t}return e.fromElement=function(t,r){var n,i=ND(t,r,function(e){return!(void 0===e||!SD(e))&&(n=e,!0)});return new e(n,i)},e.create=function(t){return new e(void 0,OD(t))},e.prototype.bindDirty=function(e){this.state.onDirty=e},e.prototype.markDirty=function(){null==this.state.onDirty||this.state.onDirty()},Object.defineProperty(e.prototype,"numberFormat",{get:function(){return this.state.numberFormat},set:function(e){void 0!==e&&TD(e),this.state.numberFormat=e,void 0===e&&(this.state.numFmtExtraAttributes=[],this.state.numFmtChildren=[],this.state.numFmtNamespaceDeclarations=[]),this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this.positionValue},set:function(e){void 0!==e&&FD(e),this.positionValue=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"initialNoteNumber",{get:function(){return this.state.numberingStart},set:function(e){if(!(void 0===e||Number.isInteger(e)&&Number.isFinite(e)))throw new RangeError("initialNoteNumber must be a finite integer, got "+String(e));this.state.numberingStart=e,this.markDirty()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberingRestart",{get:function(){return this.state.numberingRestart},set:function(e){void 0!==e&&DD(e),this.state.numberingRestart=e,this.markDirty()},enumerable:!0,configurable:!0}),e.prototype.serialize=function(){return AD("endnotePr",this.positionValue,this.state)},e}(),_K=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}};!function(e){e.None="none",e.FullPage="fullPage",e.BestFit="bestFit",e.TextFit="textFit"}(e.ZoomType||(e.ZoomType={}));var jK=function(){function e(e,t){this.zoomType=e,this.zoomPercent=t}return e.fromElement=function(t){var r,n,i,o;try{for(var a=_K(t.attributes),l=a.next();!l.done;l=a.next()){var s=l.value;if("val"===s.localName&&(s.namespaceUri===cA||""===s.namespaceUri)){var u=s.value;ED(u)&&(i=u)}if("percent"===s.localName&&(s.namespaceUri===cA||""===s.namespaceUri)){var c=Number(s.value);Number.isNaN(c)||(o=c)}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return new e(i,o)},e.create=function(t,r){return new e(void 0===r?void 0:r,t)},e.prototype.type=function(){return this.zoomType},e.prototype.setType=function(e){if(void 0===e)return void(this.zoomType=void 0);this.zoomType=e},e.prototype.percent=function(){return this.zoomPercent},e.prototype.setPercent=function(e){this.zoomPercent=e},e.prototype.serialize=function(){var e=[];return void 0!==this.zoomType&&e.push(ht("val",this.zoomType)),void 0!==this.zoomPercent&&e.push(ht("percent",String(this.zoomPercent))),pt("zoom",{attributes:e})},e}(),MK=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}};!function(e){e.None="none",e.PrintLayout="print",e.Outline="outline",e.MasterPages="masterPages",e.Normal="normal",e.Web="web"}(e.DocumentViewType||(e.DocumentViewType={}));var zK,UK,HK,WK=["writeProtection","view","zoom","removePersonalInformation","removeDateAndTime","doNotDisplayPageBoundaries","displayBackgroundShape","printPostScriptOverText","printFractionalCharacterWidth","printFormsData","embedTrueTypeFonts","embedSystemFonts","saveSubsetFonts","saveFormsData","mirrorMargins","alignBordersAndEdges","bordersDoNotSurroundHeader","bordersDoNotSurroundFooter","gutterAtTop","hideSpellingErrors","hideGrammaticalErrors","activeWritingStyle","proofState","formsDesign","attachedTemplate","linkStyles","stylePaneFormatFilter","stylePaneSortMethod","documentType","mailMerge","revisionView","trackRevisions","doNotTrackMoves","doNotTrackFormatting","documentProtection","autoFormatOverride","styleLockTheme","styleLockQFSet","defaultTabStop","autoHyphenation","consecutiveHyphenLimit","hyphenationZone","doNotHyphenateCaps","showEnvelope","summaryLength","clickAndTypeStyle","defaultTableStyle","evenAndOddHeaders","bookFoldRevPrinting","bookFoldPrinting","bookFoldPrintingSheets","drawingGridHorizontalSpacing","drawingGridVerticalSpacing","displayHorizontalDrawingGridEvery","displayVerticalDrawingGridEvery","doNotUseMarginsForDrawingGridOrigin","drawingGridHorizontalOrigin","drawingGridVerticalOrigin","doNotShadeFormData","noPunctuationKerning","characterSpacingControl","printTwoOnOne","strictFirstAndLastChars","noLineBreaksAfter","noLineBreaksBefore","savePreviewPicture","doNotValidateAgainstSchema","saveInvalidXml","ignoreMixedContent","alwaysShowPlaceholderText","doNotDemarcateInvalidXml","saveXmlDataOnly","useXSLTWhenSaving","saveThroughXslt","showXMLTags","alwaysMergeEmptyNamespace","updateFields","hdrShapeDefaults","footnotePr","endnotePr","compat","docVars","rsids","mathPr","attachedSchema","themeFontLang","clrSchemeMapping","doNotIncludeSubdocsInStats","doNotAutoCompressPictures","forceUpgrade","captions","readModeInkLockDown","smartTagType","schemaLibrary","shapeDefaults","doNotEmbedSmartTags","decimalSymbol","listSeparator"],GK=new Set(["evenAndOddHeaders","trackRevisions","displayBackgroundShape"]),qK=function(){function t(e){this.localName="view",this.value=e}return t.tryFromElement=function(e){var r,n;if(ut(e,"view")){var i;try{for(var o=MK(e.attributes),a=o.next();!a.done;a=o.next()){var l=a.value;if("val"===l.localName&&(l.namespaceUri===cA||""===l.namespaceUri)){i=l.value;break}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}if(void 0!==i)return new t(i)}},t.prototype.read=function(){return this.value},t.prototype.write=function(e){this.value=e},t.prototype.asDocumentViewType=function(){if(LD(this.value))switch(this.value){case"none":return e.DocumentViewType.None;case"print":return e.DocumentViewType.PrintLayout;case"outline":return e.DocumentViewType.Outline;case"masterPages":return e.DocumentViewType.MasterPages;case"normal":return e.DocumentViewType.Normal;case"web":return e.DocumentViewType.Web;default:return}},t.prototype.serialize=function(){return pt("view",{attributes:[ht("val",this.value)]})},t}(),XK=function(){function e(e){this.localName="zoom",this.node=e}return e.tryFromElement=function(t){if(ut(t,"zoom"))return new e(jK.fromElement(t))},e.prototype.zoom=function(){return this.node},e.prototype.setZoom=function(e){this.node=e},e.prototype.serialize=function(){return this.node.serialize()},e}(),YK=function(){function e(e){this.localName="defaultTabStop",this.value=e}return e.tryFromElement=function(t){if(ut(t,"defaultTabStop")){var r=yD(t);if(void 0!==r)return new e(r)}},e.prototype.read=function(){return this.value},e.prototype.write=function(e){this.value=e},e.prototype.serialize=function(){return gD(this.value)},e}(),ZK=function(){function e(e){this.localName="characterSpacingControl",this.value=e}return e.tryFromElement=function(t){if(ut(t,"characterSpacingControl")){var r=bD(t);if(void 0!==r)return new e(r)}},e.prototype.read=function(){return this.value},e.prototype.write=function(e){this.value=e},e.prototype.serialize=function(){return wD(this.value)},e}(),KK=function(){function e(e){this.localName=e.localName,this.element=e}return e.prototype.serialize=function(){return this.element},e}(),JK=function(){function e(e,t){this.localName=e,this.value=t}return e.tryFromElement=function(t){if(GK.has(t.localName)&&ut(t,t.localName)){var r=Er(t);if(void 0!==r)return new e(t.localName,r)}},e.prototype.read=function(){return this.value},e.prototype.write=function(e){this.value=e},e.prototype.serialize=function(){return Lr(this.localName,this.value)},e}(),$K=function(){function e(e){this.localName="documentProtection",this.node=e}return e.prototype.protection=function(){return this.node},e.prototype.setProtection=function(e){this.node=e},e.prototype.serialize=function(){return this.node.serialize()},e}(),QK=function(){function e(e){this.localName="attachedTemplate",this.node=e}return e.prototype.template=function(){return this.node},e.prototype.serialize=function(){return this.node.serialize()},e}(),eJ=function(){function e(e){this.localName="compat",this.node=e}return e.prototype.compat=function(){return this.node},e.prototype.serialize=function(){return this.node.serialize()},e}(),tJ=function(){function e(e){this.localName="footnotePr",this.node=e}return e.prototype.props=function(){return this.node},e.prototype.serialize=function(){return this.node.serialize()},e}(),rJ=function(){function e(e){this.localName="endnotePr",this.node=e}return e.prototype.props=function(){return this.node},e.prototype.serialize=function(){return this.node.serialize()},e}(),nJ=e.DocumentViewType.PrintLayout,iJ=36,oJ=function(){function t(e){this.document=e}return Object.defineProperty(t.prototype,"documentViewType",{get:function(){var e=GD(this.document).view();if(void 0===e)return nJ;var t=e.asDocumentViewType();return void 0===t?nJ:t},set:function(e){GD(this.document).setView(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"zoomType",{get:function(){var e=GD(this.document).zoom();return UD(void 0===e?void 0:e.type())},set:function(e){var t=GD(this.document),r=t.zoom();if(void 0===r)return void t.setZoom(jK.create(100,e));r.setType(e),t.setZoom(r)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"zoomPercent",{get:function(){var e=GD(this.document).zoom();if(void 0===e)return 100;var t=e.percent();return void 0===t?100:t},set:function(t){zD("zoomPercent",t);var r=GD(this.document),n=r.zoom();if(void 0===n)return void r.setZoom(jK.create(t,e.ZoomType.None));n.setPercent(t),r.setZoom(n)},enumerable:!0,configurable:!0}),t}(),aJ=function(){function e(e){this.document=e}return Object.defineProperty(e.prototype,"compatibilityMode",{get:function(){return HD(GD(this.document).compatibilityMode())},set:function(e){GD(this.document).setCompatibilityMode(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"displayBackgrounds",{get:function(){return!0===GD(this.document).displayBackgroundShape()},set:function(e){GD(this.document).setDisplayBackgroundShape(!!e||void 0)},enumerable:!0,configurable:!0}),e}(),lJ=new WeakMap,sJ=new WeakMap,uJ=!1,cJ=function(){return(cJ=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},dJ=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},hJ=Be("web-settings"),fJ="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings",pJ="http://purl.oclc.org/ooxml/officeDocument/relationships/webSettings",vJ="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml",mJ=q("/word/webSettings.xml"),yJ=new TextDecoder("utf-8"),gJ={encoding:void 0,hasFrameset:!1,divCount:0,optimizeForBrowserTarget:void 0},bJ=function(){function e(e,t,r){this.bytes=e,this.metadata=t,this.dirty=r}return e.prototype.encoding=function(){return this.metadata.encoding},e.prototype.hasFrameset=function(){return this.metadata.hasFrameset},e.prototype.divCount=function(){return this.metadata.divCount},e.prototype.optimizeForBrowserTarget=function(){return this.metadata.optimizeForBrowserTarget},e.prototype.isDirty=function(){return this.dirty},e.prototype.serialize=function(){return void 0!==this.bytes?this.bytes:new Uint8Array(0)},e}(),wJ=!1,PJ=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},SJ=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},xJ=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(SJ(arguments[t]));return e},CJ=Be("settings"),IJ="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",VJ="http://purl.oclc.org/ooxml/officeDocument/relationships/settings",TJ="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml",kJ=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/attachedTemplate","http://purl.oclc.org/ooxml/officeDocument/relationships/attachedTemplate"],FJ=q("/word/settings.xml"),DJ=new TextDecoder("utf-8"),OJ=new TextEncoder,NJ=function(){function e(e,t,r,n){this.rootAttributes=e,this.rootNamespaceDeclarations=t,this.children=r,this.dirty=n}return e.prototype.findOnOff=function(e){var t=_D(this.children,e);if(!(t<0)){var r=this.children[t];return r instanceof JK?r:void 0}},e.prototype.setOnOff=function(e,t){jD(this.children,e,void 0===t?void 0:new JK(e,t)),this.dirty=!0},e.prototype.evenAndOddHeaders=function(){var e=this.findOnOff("evenAndOddHeaders");return void 0===e?void 0:e.read()},e.prototype.setEvenAndOddHeaders=function(e){this.setOnOff("evenAndOddHeaders",e)},e.prototype.trackRevisions=function(){var e=this.findOnOff("trackRevisions");return void 0===e?void 0:e.read()},e.prototype.setTrackRevisions=function(e){this.setOnOff("trackRevisions",e)},e.prototype.documentProtection=function(){var e=this.documentProtectionNode();return void 0===e?void 0:e.flags()},e.prototype.documentProtectionNode=function(){var e=_D(this.children,"documentProtection");if(!(e<0)){var t=this.children[e];return t instanceof $K?t.protection():void 0}},e.prototype.setDocumentProtection=function(e){if(void 0===e)return jD(this.children,"documentProtection",void 0),void(this.dirty=!0);var t=this.documentProtectionNode();if(void 0!==t)return t.applyFlags(e),void(this.dirty=!0);jD(this.children,"documentProtection",new $K(DK.fromFlags(e))),this.dirty=!0},e.prototype.hasAttachedTemplate=function(){return void 0!==this.attachedTemplate()},e.prototype.attachedTemplate=function(){var e=_D(this.children,"attachedTemplate");if(!(e<0)){var t=this.children[e];return t instanceof QK?t.template():void 0}},e.prototype.attachedTemplateRelationshipId=function(){var e=this.attachedTemplate();return void 0===e?void 0:e.id()},e.prototype.compat=function(){var e=this,t=_D(this.children,"compat");if(!(t<0)){var r=this.children[t];if(r instanceof eJ){var n=r.compat();return n.bindDirty(function(){e.dirty=!0}),n}}},e.prototype.ensureCompat=function(){var e=this,t=this.compat();if(void 0!==t)return t;var r=xK.createEmpty(function(){e.dirty=!0});return jD(this.children,"compat",new eJ(r)),this.dirty=!0,r},e.prototype.compatSettingNames=function(){var e=this.compat();return void 0===e?[]:e.settingNames()},e.prototype.compatSettingCount=function(){var e=this.compat();return void 0===e?0:e.settingCount()},e.prototype.displayBackgroundShape=function(){var e=this.findOnOff("displayBackgroundShape");return void 0===e?void 0:e.read()},e.prototype.setDisplayBackgroundShape=function(e){this.setOnOff("displayBackgroundShape",e)},e.prototype.view=function(){var e=_D(this.children,"view");if(!(e<0)){var t=this.children[e];return t instanceof qK?t:void 0}},e.prototype.setView=function(e){if(void 0===e)return jD(this.children,"view",void 0),void(this.dirty=!0);if(e instanceof qK)return jD(this.children,"view",e),void(this.dirty=!0);var t=e;jD(this.children,"view",new qK(t)),this.dirty=!0},e.prototype.zoom=function(){var e=_D(this.children,"zoom");if(!(e<0)){var t=this.children[e];return t instanceof XK?t.zoom():void 0}},e.prototype.setZoom=function(e){jD(this.children,"zoom",void 0===e?void 0:new XK(e)),this.dirty=!0},e.prototype.footnoteProperties=function(){var e=this,t=_D(this.children,"footnotePr");if(!(t<0)){var r=this.children[t];if(r instanceof tJ){var n=r.props();return n.bindDirty(function(){e.dirty=!0}),n}}},e.prototype.ensureFootnoteProperties=function(){var e=this,t=this.footnoteProperties();if(void 0!==t)return t;var r=RK.create();return r.bindDirty(function(){e.dirty=!0}),jD(this.children,"footnotePr",new tJ(r)),this.dirty=!0,r},e.prototype.setFootnoteProperties=function(e){var t=this;if(void 0===e)return jD(this.children,"footnotePr",void 0),void(this.dirty=!0);e.bindDirty(function(){t.dirty=!0}),jD(this.children,"footnotePr",new tJ(e)),this.dirty=!0},e.prototype.endnoteProperties=function(){var e=this,t=_D(this.children,"endnotePr");if(!(t<0)){var r=this.children[t];if(r instanceof rJ){var n=r.props();return n.bindDirty(function(){e.dirty=!0}),n}}},e.prototype.ensureEndnoteProperties=function(){var e=this,t=this.endnoteProperties();if(void 0!==t)return t;var r=BK.create();return r.bindDirty(function(){e.dirty=!0}),jD(this.children,"endnotePr",new rJ(r)),this.dirty=!0,r},e.prototype.setEndnoteProperties=function(e){var t=this;if(void 0===e)return jD(this.children,"endnotePr",void 0),void(this.dirty=!0);e.bindDirty(function(){t.dirty=!0}),jD(this.children,"endnotePr",new rJ(e)),this.dirty=!0},e.prototype.defaultTabStop=function(){var e=_D(this.children,"defaultTabStop");if(!(e<0)){var t=this.children[e];return t instanceof YK?t.read():void 0}},e.prototype.setDefaultTabStop=function(e){jD(this.children,"defaultTabStop",void 0===e?void 0:new YK(e)),this.dirty=!0},e.prototype.characterSpacingControl=function(){var e=_D(this.children,"characterSpacingControl");if(!(e<0)){var t=this.children[e];return t instanceof ZK?t.read():void 0}},e.prototype.setCharacterSpacingControl=function(e){jD(this.children,"characterSpacingControl",void 0===e?void 0:new ZK(e)),this.dirty=!0},e.prototype.compatibilityMode=function(){var e=this.compat();return void 0===e?void 0:e.compatibilityMode()},e.prototype.setCompatibilityMode=function(e){this.ensureCompat().setCompatibilityMode(e),this.dirty=!0},e.prototype.noColumnBalance=function(){var e=this.compat();return void 0===e?void 0:e.noColumnBalance()},e.prototype.setNoColumnBalance=function(e){if(void 0===e){var t=this.compat();if(void 0===t)return;return t.setNoColumnBalance(void 0),void(this.dirty=!0)}this.ensureCompat().setNoColumnBalance(e),this.dirty=!0},e.prototype.isDirty=function(){return this.dirty},e.prototype.serialize=function(){var e=pt("settings",{attributes:this.rootAttributes,namespaceDeclarations:this.rootNamespaceDeclarations.length>0?this.rootNamespaceDeclarations:[{prefix:"w",namespaceUri:cA}],children:MD(this.children)});return OJ.encode(y(e))},e}(),AJ=!1;sO(),WD({settingsFor:uO,registerSettingsFeature:sO,attachedTemplateTarget:cO}),YD();var EJ=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},LJ="urn:schemas-microsoft-com:vml",RJ="#_x0000_t136",BJ="#_x0000_t75",_J="##_x0000_t75",jJ="PowerPlusWaterMarkObject",MJ="WordPictureWatermark",zJ=new WeakMap,UJ=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),HJ=function(){return(HJ=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},WJ=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},GJ=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(WJ(arguments[t]));return e},qJ={TextWatermark:"TextWatermark",PictureWatermark:"PictureWatermark"},XJ={Horizontal:"Horizontal",Diagonal:"Diagonal"},YJ={Jpeg:"Jpeg",Png:"Png"},ZJ=new Set(ai(XJ)),KJ=new Set(ai(YJ)),JJ=function(){function e(e){this.typeValue=e}return Object.defineProperty(e.prototype,"type",{get:function(){return this.typeValue},enumerable:!0,configurable:!0}),e}(),$J=function(e){function t(t,r){var n=e.call(this,qJ.TextWatermark)||this;if(n.textValue="",n.fontNameValue="Times New Roman",n.sizeValue=36,n.colorValue="#808080",n.layoutValue=XJ.Diagonal,n.semitransparentState="transparent",void 0!==t&&(n.textValue=t),void 0===r)return n;if(void 0!==r.fontName&&(n.fontNameValue=r.fontName),void 0!==r.size){if(xO("size",r.size),r.size<=0)throw new RangeError("size must be greater than zero");n.sizeValue=r.size}return void 0!==r.color&&(n.colorValue=r.color),void 0!==r.semitransparent&&(n.semitransparentState=r.semitransparent?"transparent":"opaque"),void 0!==r.layout&&(n.layoutValue=IO(r.layout)),void 0!==r.width&&(n.widthValue=CO("width",r.width)),void 0!==r.height&&(n.heightValue=CO("height",r.height)),n}return UJ(t,e),Object.defineProperty(t.prototype,"text",{get:function(){return this.textValue},set:function(e){this.textValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontName",{get:function(){return this.fontNameValue},set:function(e){this.fontNameValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this.sizeValue},set:function(e){if(xO("size",e),e<=0)throw new RangeError("size must be greater than zero");this.sizeValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this.colorValue},set:function(e){this.colorValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"semitransparent",{get:function(){return"opaque"!==this.semitransparentState},set:function(e){this.semitransparentState=e?"transparent":"opaque"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"layout",{get:function(){return void 0!==this.customRotationDegreesValue?XJ.Diagonal:this.layoutValue},set:function(e){this.layoutValue=IO(e),this.customRotationDegreesValue=void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.widthValue},set:function(e){this.widthValue=CO("width",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.heightValue},set:function(e){this.heightValue=CO("height",e)},enumerable:!0,configurable:!0}),t.prototype.getSemitransparentState=function(){return this.semitransparentState},t.prototype.setSemitransparentState=function(e){this.semitransparentState=e},t.prototype.getCustomRotationDegrees=function(){return this.customRotationDegreesValue},t.prototype.setCustomRotationDegrees=function(e){if(void 0===e)return void(this.customRotationDegreesValue=void 0);xO("customRotationDegrees",e),this.customRotationDegreesValue=e},t.prototype.getParseResidual=function(){return this.parseResidualValue},t.prototype.setParseResidual=function(e){this.parseResidualValue=e},t.prototype.clone=function(){var e={fontName:this.fontNameValue,size:this.sizeValue,color:this.colorValue,layout:this.layoutValue,semitransparent:"opaque"!==this.semitransparentState};void 0!==this.widthValue&&(e.width=this.widthValue),void 0!==this.heightValue&&(e.height=this.heightValue);var r=new t(this.textValue,e);return r.semitransparentState=this.semitransparentState,r.customRotationDegreesValue=this.customRotationDegreesValue,r.parseResidualValue=kO(this.parseResidualValue),r},t}(JJ),QJ=function(e){function t(t,r){var n=e.call(this,qJ.PictureWatermark)||this;if(n.scalingValue=100,n.washoutValue=!0,void 0!==t&&(n.imageDataValue=TO(t)),void 0===r)return n;if(void 0!==r.imageType&&(n.imageTypeValue=VO(r.imageType)),void 0!==r.scaling){if(xO("scaling",r.scaling),r.scaling<=0)throw new RangeError("scaling must be greater than zero");n.scalingValue=r.scaling}return void 0!==r.washout&&(n.washoutValue=r.washout),void 0!==r.width&&(n.widthValue=CO("width",r.width)),void 0!==r.height&&(n.heightValue=CO("height",r.height)),n}return UJ(t,e),Object.defineProperty(t.prototype,"imageData",{get:function(){if(void 0!==this.imageDataValue)return TO(this.imageDataValue)},set:function(e){this.imageDataValue=void 0===e?void 0:TO(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"imageType",{get:function(){return this.imageTypeValue},set:function(e){this.imageTypeValue=void 0===e?void 0:VO(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scaling",{get:function(){return this.scalingValue},set:function(e){if(xO("scaling",e),e<=0)throw new RangeError("scaling must be greater than zero");this.scalingValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"washout",{get:function(){return this.washoutValue},set:function(e){this.washoutValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.widthValue},set:function(e){this.widthValue=CO("width",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.heightValue},set:function(e){this.heightValue=CO("height",e)},enumerable:!0,configurable:!0}),t.prototype.loadPicture=function(e,t){this.imageDataValue=TO(e),void 0!==t&&(this.imageTypeValue=VO(t))},t.prototype.getParseResidual=function(){return this.parseResidualValue},t.prototype.setParseResidual=function(e){this.parseResidualValue=e},t.prototype.clone=function(){var e={scaling:this.scalingValue,washout:this.washoutValue};void 0!==this.imageTypeValue&&(e.imageType=this.imageTypeValue),void 0!==this.widthValue&&(e.width=this.widthValue),void 0!==this.heightValue&&(e.height=this.heightValue);var r=void 0===this.imageDataValue?new t(void 0,e):new t(this.imageDataValue,e);return r.parseResidualValue=kO(this.parseResidualValue),r},t}(JJ),e$=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},t$=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},r$="urn:schemas-microsoft-com:office:office",n$="http://schemas.openxmlformats.org/officeDocument/2006/relationships",i$=new Set([mq,yq]),o$=new Set(["id","type","style","fillcolor","stroked","filled"]),a$=new Set(["position","margin-left","margin-top","width","height","rotation","z-index","mso-position-horizontal","mso-position-horizontal-relative","mso-position-vertical","mso-position-vertical-relative"]),l$=new Set(["font-family","font-size"]),s$=new WeakMap,u$=new WeakSet,c$=new WeakSet,d$=function(){return(d$=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},h$=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}},f$=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},p$=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f$(arguments[t]));return e},v$=Be("watermark"),m$="urn:schemas-microsoft-com:office:office",y$="http://schemas.openxmlformats.org/officeDocument/2006/relationships",g$=[mq,yq],b$=250,w$=100,P$="-251658752",S$="-1",x$="19661f",C$="22938f",I$=["default","even","first"],V$=new WeakSet,T$=function(){function e(){this.dirtyValue=!1,this.mediaParts=[],this.headerRels=[],this.headerImageRelFilters=[],this.mediaRemovals=[]}return e.prototype.isDirty=function(){return this.dirtyValue},e.prototype.stageMedia=function(e){this.mediaParts.push(e),this.dirtyValue=!0},e.prototype.stageHeaderRel=function(e,t){this.headerRels.push({headerPartName:e,relationship:t}),this.dirtyValue=!0},e.prototype.stagedHeaderRelIds=function(e){var t,r,n=W(e),i=new Set;try{for(var o=h$(this.headerRels),a=o.next();!a.done;a=o.next()){var l=a.value;W(l.headerPartName)===n&&i.add(l.relationship.id)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},e.prototype.stageHeaderImageRelFilter=function(e,t){this.headerImageRelFilters.push({headerPartName:e,referencedIds:t}),this.dirtyValue=!0},e.prototype.stageMediaRemoval=function(e){var t=W(e);this.mediaRemovals.some(function(e){return W(e)===t})||(this.mediaRemovals.push(e),this.dirtyValue=!0)},e.prototype.clear=function(){this.mediaParts=[],this.headerRels=[],this.headerImageRelFilters=[],this.mediaRemovals=[],this.dirtyValue=!1},e.prototype.applyToPackage=function(e){var t,r,n,i,o,a,l,s,u,c,d,h;if(!this.dirtyValue)return e;var f=e;try{for(var p=h$(this.mediaParts),v=p.next();!v.done;v=p.next()){var m=v.value,y={name:m.partName,contentType:m.contentType,data:m.data};f=Ae(f,y),f=Ee(f,m.partName,m.contentType)}}catch(e){t={error:e}}finally{try{v&&!v.done&&(r=p.return)&&r.call(p)}finally{if(t)throw t.error}}var g=new Map;try{for(var b=h$(this.headerRels),w=b.next();!w.done;w=b.next()){var P=w.value,S=W(P.headerPartName);void 0===(I=g.get(S))&&(I={partName:P.headerPartName,rels:[]},g.set(S,I)),I.rels.push(P.relationship)}}catch(e){n={error:e}}finally{try{w&&!w.done&&(i=b.return)&&i.call(b)}finally{if(n)throw n.error}}try{for(var x=h$(g.values()),C=x.next();!C.done;C=x.next()){var I=C.value,V=Fe(f,I.partName),T=new Set(V.items.map(function(e){return e.id})),k=p$(V.items);try{for(var F=h$(I.rels),D=F.next();!D.done;D=F.next())!function(e){if(k.some(function(t){return t.type===e.type&&t.target===e.target}))return"continue";for(var t=e.id;T.has(t);)t=ae(T);T.add(t),k.push(d$({},e,{id:t}))}(D.value)}catch(e){l={error:e}}finally{try{D&&!D.done&&(s=F.return)&&s.call(F)}finally{if(l)throw l.error}}f=Le(f,I.partName,me(k,V.opaque))}}catch(e){o={error:e}}finally{try{C&&!C.done&&(a=x.return)&&a.call(x)}finally{if(o)throw o.error}}try{for(var O=h$(this.headerImageRelFilters),N=O.next();!N.done;N=O.next())!function(e){f=oN(f,e.headerPartName,function(t){return!rN(t.type)||e.referencedIds.has(t.id)})}(N.value)}catch(e){u={error:e}}finally{try{N&&!N.done&&(c=O.return)&&c.call(O)}finally{if(u)throw u.error}}try{for(var A=h$(this.mediaRemovals),E=A.next();!E.done;E=A.next()){var L=E.value;aN(f,L)||(f=nN(f,L),f=iN(f,L))}}catch(e){d={error:e}}finally{try{E&&!E.done&&(h=A.return)&&h.call(A)}finally{if(d)throw d.error}}return this.clear(),f},e}(),k$=Be("watermark"),F$=!1;return Object.defineProperty(mB.prototype,"watermark",{configurable:!0,enumerable:!1,get:function(){var e=this;return tN(this,function(){return wO(e)},function(t){PO(e,t)}),wO(this)},set:function(e){DO(this),void 0===e?SO(this):PO(this,e),lN(this)}}),KN(),e.AFCHUNK_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk",e.ANCHOR_DEFAULT_SIDE_DIST_EMU=xW,e.ATTACHED_TEMPLATE_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/attachedTemplate",e.AUTO_SHAPE_TYPE_VALUES=EH,e.A_NS=lW,e.AbstractNumbering=Gz,e.AltChunkAnchor=pL,e.ArrowheadSize=tW,e.ArrowheadStyle=eW,e.AttachedTemplate=fK,e.AutoFitType=jU,e.AutoShapeType=AH,e.BIBLIOGRAPHY_CONTENT_TYPE="application/xml",e.BIBLIOGRAPHY_CUSTOM_XML_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",e.BIBLIOGRAPHY_NAMESPACE=GE,e.BIBLIOGRAPHY_STRICT_NAMESPACE=qE,e.Background=IK,e.BibliographyCatalog=ZE,e.BlockContentControl=p_,e.BlockContentControlCollection=eB,e.Body=rB,e.BodyItemCollection=YR,e.Bookmark=CB,e.BookmarkCollection=VB,e.BookmarkEnd=xB,e.BookmarkStart=SB,e.Border=sj,e.Borders=uj,e.Break=LR,e.BreakClearType=FR,e.BreakType=kR,e.BuiltInStyle=uM,e.BuiltinTableStyle=cM,e.CAPTION_FORMAT_SWITCH=GG,e.CAPTION_NUMBERING_FORMATS=qG,e.CAPTION_POSITIONS=XG,e.CHART_GRAPHIC_DATA_URI=bW,e.CHART_GRAPHIC_DATA_URI_STRICT=wW,e.COMMENTS_CONTENT_TYPE=k_,e.COMMENTS_EXTENDED_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtended+xml",e.COMMENTS_EXTENDED_NAMESPACE=LB,e.COMMENTS_EXTENDED_RELATIONSHIP_TYPE=OB,e.COMMENTS_EXTENSIBLE_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtensible+xml",e.COMMENTS_EXTENSIBLE_NAMESPACE=BB,e.COMMENTS_EXTENSIBLE_RELATIONSHIP_TYPE=EB,e.COMMENTS_IDS_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.commentsIds+xml",e.COMMENTS_IDS_NAMESPACE=RB,e.COMMENTS_IDS_RELATIONSHIP_TYPE=AB,e.COMMENTS_RELATIONSHIP_TYPE=T_,e.CONTENT_CONTROLS_FEATURE_ID=y_,e.CONTENT_TYPES_NAMESPACE=KA,e.CONTENT_TYPES_ZIP_ITEM=ZA,e.CORE_PROPERTIES_CONTENT_TYPE="application/vnd.openxmlformats-package.core-properties+xml",e.CORE_PROPERTIES_PART_NAME=UZ,e.CORE_PROPERTIES_RELATIONSHIP_TYPE=zZ,e.CUSTOM_PROPERTIES_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.custom-properties+xml",e.CUSTOM_PROPERTIES_PART_NAME=WZ,e.CUSTOM_PROPERTIES_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",e.CUSTOM_XML_DATA_CONTENT_TYPE="application/xml",e.CUSTOM_XML_PROPS_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.customXmlProperties+xml",e.CUSTOM_XML_PROPS_NAMESPACE=q_,e.CUSTOM_XML_PROPS_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",e.CUSTOM_XML_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",e.CalendarType=r_,e.CaptionNumberingFormat=HG,e.CaptionPosition=WG,e.CarriageReturn=AR,e.CellFormat=Fj,e.CellMerge=xj,e.CharacterFormat=RL,e.CharacterStyle=EM,e.Cm=nn,e.Column=gX,e.ColumnCollection=wX,e.Comment=R_,e.CommentAnchor=L_,e.CommentCollection=j_,e.CommentExtensionParts=zB,e.CommentRangeEnd=A_,e.CommentRangeStart=N_,e.CommentReference=E_,e.CommentsCollection=B_,e.CompatSetting=wK,e.CompatSettings=xK,e.ConditionalFormattingStyle=GM,e.ConditionalFormattingStyleCollection=XM,e.ConditionalFormattingType=_M,e.ContentControl=f_,e.ContentControlAppearance=t_,e.ContentControlCheckBoxState=i_,e.ContentControlDateStorageFormat=n_,e.ContentControlListItem=o_,e.ContentControlListItemCollection=a_,e.ContentControlProperties=l_,e.ContentControlType=e_,e.CoreProperties=ZZ,e.CustomXmlDatastore=Q_,e.CustomXmlMarkup=J_,e.CustomXmlProperties=Z_,e.CustomXmlStorageItem=$_,e.DEFAULT_COLUMN_SPACE=yX,e.DEFAULT_OFFICE_THEME_XML=Aj,e.DEFAULT_RESOURCE_LIMITS=lA,e.DEFAULT_SHAPE_FILL_COLOR=zW,e.DEFAULT_SHAPE_FILL_ENABLED=!0,e.DEFAULT_SHAPE_FILL_TRANSPARENCY=0,e.DEFAULT_SHAPE_LINE_COLOR=WW,e.DEFAULT_SHAPE_LINE_DASH=qW,e.DEFAULT_SHAPE_LINE_ENABLED=!0,e.DEFAULT_SHAPE_LINE_WIDTH_EMU=GW,e.DIAGRAM_GRAPHIC_DATA_URI=yW,e.DIAGRAM_GRAPHIC_DATA_URI_STRICT=gW,e.DML_MAIN_NAMESPACE=Bj,e.DRAWING=CW,e.DetachedObjectError=iA,e.DocDefaults=gM,e.DocumentProtection=DK,e.DocumentSettings=aJ,e.DocxError=$N,e.DocxStyle=nM,e.DrawingShape=hG,e.DrawingVariant=IW,e.EDITABLE_RANGES_FEATURE_ID=FG,e.EMPTY_EXTENSION_METADATA=MB,e.EMPTY_MODELED_PARAGRAPH_PROPERTIES=Nj,e.EMPTY_MODELED_RUN_PROPERTIES=Xj,e.ENDNOTES_CONTENT_TYPE=kY,e.ENDNOTES_RELATIONSHIP_TYPE=VY,e.EXTENDED_PROPERTIES_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.extended-properties+xml",e.EXTENDED_PROPERTIES_PART_NAME=HZ,e.EXTENDED_PROPERTIES_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",e.EditableRange=VG,e.EditableRangeEditorGroup=wG,e.EditableRangeEnd=IG,e.EditableRangeStart=CG,e.Emu=sn,e.Endnote=_Y,e.EndnoteProperties=BK,e.EndnoteReference=LY,e.Endnotes=HY,e.FONT_TABLE_CONTENT_TYPE=Vz,e.FONT_TABLE_PART_NAME=Tz,e.FONT_TABLE_RELATIONSHIP_TYPE=Cz,e.FOOTER_CONTENT_TYPE=QX,e.FOOTER_RELATIONSHIP_TYPE=JX,e.FOOTNOTES_CONTENT_TYPE=TY,e.FOOTNOTES_RELATIONSHIP_TYPE=IY,e.FeatureInlineParagraphItem=_R,e.FeatureRunParagraphItem=RR,e.Field=_G,e.FieldMark=BG,e.FieldMarkType=RG,e.FieldType=Hq,e.FillFormat=UW,e.FontEmbedSlot=pz,e.FontFamily=hz,e.FontPitch=fz,e.FontSubstitutionTableImpl=lz,e.FontTableFont=bz,e.FontTablePart=Dz,e.Footer=XX,e.Footnote=BY,e.FootnoteProperties=RK,e.FootnoteReference=EY,e.Footnotes=UY,e.FormField=Jq,e.GLOSSARY_DOCUMENT_CONTENT_TYPE=sX,e.GLOSSARY_DOCUMENT_PART_NAME=uX,e.GLOSSARY_DOCUMENT_RELATIONSHIP_TYPE=aX,e.GlossaryDocumentPart=hX,e.GroupShape=pG,e.HEADER_CONTENT_TYPE=$X,e.HEADER_RELATIONSHIP_TYPE=KX,e.HORIZONTAL_ALIGNMENT_SET=bH,e.HORIZONTAL_ALIGNMENT_VALUES=nH,e.HORIZONTAL_ALIGNMENT_WIRE_SET=wH,e.HORIZONTAL_ALIGNMENT_WIRE_VALUES=rH,e.HORIZONTAL_ORIGIN_SET=yH,e.HYPERLINK_RELATIONSHIP_TYPE=Oq,e.Header=qX,e.HeaderFooter=iB,e.HeadersFooters=oB,e.HeadersFootersCatalog=lY,e.HorizontalAlignment=tH,e.HorizontalOrigin=QU,e.Hyperlink=tX,e.HyperlinkType=Gq,e.HyperlinksCatalog=Rq,e.IMAGE_RELATIONSHIP_TYPE=mq,e.IfField=jG,e.ImageType=YJ,e.ImagesCatalog=Cq,e.Inches=rn,e.InlineContentControl=v_,e.InternalMargin=ZW,e.InvalidArgumentError=oA,e.IoError=aA,e.JPEG_CONTENT_TYPE=uq,e.LINE_CAP_VALUES=HH,e.LINE_DASHING_VALUES=_H,e.LINE_END_SIZE_VALUES=qH,e.LINE_END_TYPE_VALUES=GH,e.LatentStyles=FM,e.LegacyField=$q,e.LegacyIfField=Qq,e.LegacyMergeField=eX,e.LengthUnits=xL,e.LineCap=UH,e.LineDashing=BH,e.LineEndType=WH,e.LineFormat=XW,e.LineStyle=QH,e.ListLevel=bU,e.ListLevelCollection=wU,e.ListStyle=PU,e.LsdException=kM,e.MAIL_MERGE_HEADER_SOURCE_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeHeaderSource",e.MAIL_MERGE_SOURCE_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeSource",e.MAIN_DOCUMENT_CONTENT_TYPE=JA,e.MARKUP_COMPATIBILITY_NAMESPACE=QE,e.MC_NS=pW,e.MailMergeCatalog=mY,e.Margins=SX,e.MarkupCompatibilityError=rA,e.MarkupConformance=aL,e.MergeField=MG,e.Mm=on,e.MoveRangeEnd=lK,e.MoveRangeStart=aK,e.NUMBERING_CONTENT_TYPE=hU,e.NUMBERING_PART_NAME=fU,e.NUMBERING_RELATIONSHIP_TYPE=cU,e.NotesCatalog=RY,e.NumberingInstance=tU,e.NumberingLevel=Bz,e.NumberingLevelOverride=eU,e.NumberingPart=vU,e.NumberingPictureBullet=iU,e.OFFICE_DOCUMENT_RELATIONSHIP_TYPE=aE,e.OFFICE_OLE_NAMESPACE=lZ,e.OLE_OBJECT=VZ,e.OLE_OBJECT_DEFAULT_CONTENT_TYPE=$Y,e.OLE_OBJECT_LINK_LONG_PATH_RELATIONSHIP_TYPE=XY,e.OLE_OBJECT_RELATIONSHIP_TYPE=qY,e.OleDrawAspect=cZ,e.OleLinkType=uZ,e.OleObject=TZ,e.OleObjectCatalog=rZ,e.OleUpdateMode=dZ,e.OpaqueParagraphItem=jR,e.OpaqueRunItem=BR,e.OpaqueStyle=LM,e.PAGE_NUMBER_STYLE_WIRE=pX,e.PEOPLE_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.people+xml",e.PEOPLE_RELATIONSHIP_TYPE=NB,e.PICTURE_PLACEMENT_SET=vH,e.PICTURE_WATERMARK_ID_PREFIX=MJ,e.PICTURE_WATERMARK_TYPE=BJ,e.PICTURE_WATERMARK_TYPE_DOUBLE_HASH=_J,e.PNG_CONTENT_TYPE=sq,e.PackageError=QN,e.Paddings=hj,e.PageBorder=TX,e.PageBorders=kX,e.PageSetup=FX,e.PageSize=xX,e.Paragraph=GR,e.ParagraphAlignment=BL,e.ParagraphCollection=$R,e.ParagraphItem=mR,e.ParagraphItemCollection=HR,e.ParagraphStyle=AM,e.Picture=xq,e.PicturePlacement=JU,e.PictureWatermark=QJ,e.Point=dn,e.PropertiesParts=KZ,e.Pt=tn,e.Px=an,e.RECIPIENT_DATA_CONTENT_TYPE="application/vnd.openxmlformats-officedocument.wordprocessingml.mailMergeRecipientData+xml",e.RECIPIENT_DATA_RELATIONSHIP_TYPE="http://schemas.openxmlformats.org/officeDocument/2006/relationships/recipientData",e.RELATIONSHIPS_CONTENT_TYPE=$A,e.RELATIONSHIPS_NAMESPACE=oE,e.ROTATION_UNITS_PER_DEGREE=mW,e.R_NS=sW,e.RevisionRange=oK,e.RowFormat=kj,e.Run=zR,e.RunTrackChange=iK,e.SETTINGS_CHILD_ORDER=WK,e.SETTINGS_CONTENT_TYPE=TJ,e.SETTINGS_PART_NAME=FJ,e.SETTINGS_RELATIONSHIP_TYPE=IJ,e.STRICT_AFCHUNK_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/aFChunk",e.STRICT_ATTACHED_TEMPLATE_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/attachedTemplate",e.STRICT_BIBLIOGRAPHY_CUSTOM_XML_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/customXml",e.STRICT_COMMENTS_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/comments",e.STRICT_CUSTOM_XML_PROPS_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/customXmlProps",e.STRICT_CUSTOM_XML_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/customXml",e.STRICT_ENDNOTES_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/endnotes",e.STRICT_FONT_TABLE_RELATIONSHIP_TYPE=Iz,e.STRICT_FOOTER_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/footer",e.STRICT_FOOTNOTES_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/footnotes",e.STRICT_GLOSSARY_DOCUMENT_RELATIONSHIP_TYPE=lX,e.STRICT_HEADER_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/header",e.STRICT_HYPERLINK_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/hyperlink",e.STRICT_IMAGE_RELATIONSHIP_TYPE=yq,e.STRICT_MAIL_MERGE_HEADER_SOURCE_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/mailMergeHeaderSource",e.STRICT_MAIL_MERGE_SOURCE_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/mailMergeSource",e.STRICT_NUMBERING_RELATIONSHIP_TYPE=dU,e.STRICT_OFFICE_DOCUMENT_RELATIONSHIP_TYPE=lE,e.STRICT_RECIPIENT_DATA_RELATIONSHIP_TYPE="http://purl.oclc.org/ooxml/officeDocument/relationships/mailMergeRecipientData",e.STRICT_SETTINGS_RELATIONSHIP_TYPE=VJ,e.STRICT_STYLES_RELATIONSHIP_TYPE=DU,e.STRICT_THEME_RELATIONSHIP_TYPE=jj,e.STRICT_WEB_SETTINGS_RELATIONSHIP_TYPE=pJ,e.STYLES_CONTENT_TYPE=OU,e.STYLES_PART_NAME=NU,e.STYLES_RELATIONSHIP_TYPE=FU,e.STYLES_WITH_EFFECTS_CONTENT_TYPE=QM,e.STYLES_WITH_EFFECTS_PART_NAME=ez,e.STYLES_WITH_EFFECTS_RELATIONSHIP_TYPE=$M,e.ST_SHAPE_TYPE_VALUES=OH,e.Section=lB,e.Sections=aB,e.SecurityError=tA,e.SettingsAttachedTemplateChild=QK,e.SettingsCharacterSpacingControlChild=ZK,e.SettingsCompatChild=eJ,e.SettingsDefaultTabStopChild=YK,e.SettingsDocumentProtectionChild=$K,e.SettingsEndnotePrChild=rJ,e.SettingsFootnotePrChild=tJ,e.SettingsOnOffChild=JK,e.SettingsOpaqueChild=KK,e.SettingsPart=NJ,e.SettingsViewChild=qK,e.SettingsZoomChild=XK,e.Shape=fG,e.ShapeLineKind=XH,e.SizeF=_L,e.StShapeType=DH,e.Style=NM,e.StyleCollection=ZM,e.StylesPart=LU,e.StylesWithEffectsPart=rz,e.Symbol=ER,e.TABLES_FEATURE_ID=XU,e.TEXT_ANCHORING_VALUES=TW,e.TEXT_BODY_WRAP_VALUES=OW,e.TEXT_COLUMNS_MAX=mX,e.TEXT_HORZ_OVERFLOW_VALUES=FW,e.TEXT_VERTICAL_TYPE_VALUES=DW,e.TEXT_VERT_OVERFLOW_VALUES=kW,e.TEXT_WATERMARK_ID_PREFIX=jJ,e.TEXT_WATERMARK_TYPE=RJ,e.TEXT_WRAPPING_STYLE_SET=mH,e.TEXT_WRAPPING_TYPE_SET=kH,e.TEXT_WRAPPING_TYPE_VALUES=CH,e.TEXT_WRAPPING_TYPE_WIRE_SET=FH,e.TEXT_WRAPPING_TYPE_WIRE_VALUES=IH,e.THEME_CONTENT_TYPE=Mj,e.THEME_PART_NAME=zj,e.THEME_RELATIONSHIP_TYPE=_j,e.TWIPS_MAX=vX,e.Tab=NR,e.TabJustification=eR,e.TabLeader=tR,e.Table=HU,e.TableAlignment=UL,e.TableCell=GU,e.TableCellCollection=dj,e.TableCellVerticalAlignment=yj,e.TableCollection=QR,e.TableFormat=Tj,e.TableHorizontalOrigin=Cj,e.TablePositioning=Vj,e.TableRow=WU,e.TableRowCollection=cj,e.TableRowHeightRule=zL,e.TableStyle=YM,e.TableStyleCellProperties=WM,e.TableStyleRowProperties=HM,e.TableStyleTableProperties=UM,e.TableStyleTablePropertiesBridge=qM,e.TableVerticalOrigin=Ij,e.TargetMode=sE,e.TextBoxParagraphOwner=dG,e.TextDirection=jW,e.TextFrame=KW,e.TextRange=MR,e.TextVerticalAlignment=MW,e.TextWatermark=$J,e.TextWrappingStyle=$U,e.TextWrappingType=xH,e.ThemePart=Wj,e.Twips=ln,e.TypedBodyItemCollection=JR,e.UnsupportedContentError=nA,e.VERTICAL_ALIGNMENT_SET=PH,e.VERTICAL_ALIGNMENT_VALUES=aH,e.VERTICAL_ALIGNMENT_WIRE_SET=SH,e.VERTICAL_ALIGNMENT_WIRE_VALUES=oH,e.VERTICAL_ORIGIN_SET=gH,e.VML_NS=hW,e.VerticalAlignment=iH,e.VerticalOrigin=eH,e.ViewSetup=oJ,e.W10_NS=fW,e.WEB_SETTINGS_CONTENT_TYPE=vJ,e.WEB_SETTINGS_PART_NAME=mJ,e.WEB_SETTINGS_RELATIONSHIP_TYPE=fJ,e.WML=FE,e.WML_STRICT_NAMESPACE=dA,e.WML_TRANSITIONAL_NAMESPACE=cA,e.WORDML_2010_NAMESPACE=XB,e.WORDML_2012_NAMESPACE=YB,e.WORDPROCESSING_INK_URI=PW,e.WPC_NS=dW,e.WPG_NS=cW,e.WPS_NS=uW,e.WP_NS=aW,e.Watermark=JJ,e.WatermarkLayout=XJ,e.WatermarkPackageParts=T$,e.WatermarkType=qJ,e.WebSettingsPart=bJ,e.WireRunGroup=DR,e.WordDocument=mB,e.WrapFormat=YW,e.XMLNS_NAMESPACE=uA,e.XML_NAMESPACE=sA,e.XmlError=eA,e.ZoomSettings=jK,e.add=un,e.addCaptionToImage=BP,e.addCaptionToPicture=RP,e.addListStyle=im,e.addPoints=Gr,e.alignmentFromJc=si,e.allocateDocPrId=bw,e.allocatePendingEditableRangeId=cP,e.allocateRelationshipId=ae,e.alphaToTransparency=ky,e.altChunks=Nr,e.altChunksInBlocks=Or,e.appendComment=gc,e.appendGroupToParagraph=Aw,e.appendOleObjectToParagraph=pF,e.appendOpaqueComplexField=nC,e.appendShapeToParagraph=Nw,e.applyFeatureMultiParts=at,e.applyFeaturePackageParts=Nt,e.applyFeatureParts=Qe,e.applyLogicalWatermarkFromDefaultHeader=eN,e.applyNonFinalSectionBreak=xl,e.applyOleDomMutations=Mk,e.assertAlternateContentShape=hr,e.assertEnumMember=cy,e.assertNever=Gc,e.assertPartNameSetIntegrity=J,e.assertSafeZipItemName=S,e.assignRunStyle=ym,e.associatePageSetupDocument=LC,e.associateSectionPropertiesDocument=RC,e.attachPictureParseExtras=HO,e.attachTextParseExtras=UO,e.attachedTemplateTarget=cO,e.attributeValue=Uy,e.backgroundFor=dO,e.bibliographyFor=$t,e.bindAltChunkDocument=Ar,e.bindCaptionHostDocument=OP,e.bindDocumentSettingsFacades=WD,e.blockListOwnsParagraph=Iw,e.bodyItemToBlock=qa,e.bookmarkByName=ds,e.bookmarkCollectionFor=ps,e.bookmarksInDocument=us,e.bookmarksInParagraph=cs,e.borderStyleFromWire=qc,e.borderStyleToWire=Xc,e.breakCodeToWire=gC,e.buildBodyPrElement=zb,e.buildDefaultDocDefaults=Rf,e.buildDefaultStylesArgs=Bf,e.buildDrawingMlHost=lb,e.buildDrawingPositionH=bg,e.buildDrawingPositionV=wg,e.buildFillElement=Ry,e.buildLineElement=_y,e.buildNestedWpsShape=lg,e.buildRPrChildrenFromSnapshot=oi,e.buildTxbxElement=rg,e.buildVmlFallbackStub=ab,e.buildWpgGroup=ag,e.buildWrapElement=fg,e.canonicalBuiltinStyleId=gf,e.canonicalizeStyleReference=Ef,e.characterSnapshotFromRPr=Jf,e.characterSnapshotToModeledRunProperties=Yf,e.childLocalName=BD,e.clearLogicalWatermark=SO,e.clearWatermarkDirty=uN,e.cloneEditableRangeEnd=Gw,e.cloneEditableRangeForInsert=qw,e.cloneEditableRangeMarkersFromParagraph=Jw,e.cloneEditableRangeStart=Ww,e.cmToPoint=Yr,e.cnfStyleIsEmpty=Wi,e.colorFromWire=fn,e.colorToHexWire=pn,e.colorToHighlightWire=vn,e.commentBody=dc,e.commentCollectionFor=ic,e.commentExtensionsFor=ac,e.commentFor=lc,e.commentForAnchor=sc,e.commentParagraphs=hc,e.commentsFor=oc,e.commentsInDocument=uc,e.commentsInParagraph=cc,e.computeListString=cv,e.createBackground=dD,e.createBlockContentControl=mu,e.createBlockContentControlCollection=rl,e.createCellBordersHost=Qc,e.createDefaultAbstractNumbering=lv,e.createDefaultBulletLevel=ev,e.createDefaultCnfStyle=_i,e.createDefaultNumberedLevel=tv,e.createDefaultSettingsPart=aO,e.createDefaultThemePart=Vh,e.createDrawingShape=kw,e.createDrawingShapeFromInit=Fw,e.createEmptyParagraphCellFactory=ed,e.createFontTableFont=Wp,e.createInlineContentControl=yu,e.createMinimalAbstractNumbering=av,e.createMinimalDocxStyle=af,e.createMinimalNumberingLevel=Qp,e.createMinimalStyle=lp,e.createNumberingInstance=Fv,e.createPageBreakAfterParagraphElement=_a,e.createStandaloneBreakItem=da,e.createStandaloneSymbolItem=ha,e.createStandaloneTabItem=fa,e.createStyleFromDocxStyle=op,e.createTable=zm,e.createTableBordersHost=$c,e.createTableCollection=tl,e.createTextAndTabItems=pa,e.createTransitionalContentTypes=U,e.createTransitionalWordPackage=Se,e.currentHeadersFootersSlotFactory=ol,e.currentSectionPageSetupSeed=hl,e.currentTypedCollectionHooks=el,e.customXmlDatastore=zc,e.customXmlMarkupInBlocks=Uc,e.customXmlMarkupInParagraph=Hc,e.decodePictureHost=tS,e.decodeXmlBytes=c,e.defaultAuthoredShapeFill=Hb,e.defaultAuthoredShapeLine=Wb,e.defaultFooter=pV,e.defaultFooterText=kV,e.defaultHeader=fV,e.defaultHeaderText=TV,e.defaultLetterPageSetup=_C,e.documentBody=wr,e.documentCreator=NF,e.documentDescription=RF,e.documentKeywords=_F,e.documentSettingsFor=XD,e.documentSubject=EF,e.documentTitle=DF,e.drawingIsOwnedByOtherFeature=fw,e.drawingShapeInit=aw,e.drawingShapesFromLeaves=yw,e.drawingsInDocument=Cw,e.drawingsInParagraph=xw,e.editableRangeById=lP,e.editableRangeMarkersInDocument=sP,e.editableRangeMarkersShareParagraph=zw,e.editableRangesInDocument=oP,e.editableRangesStartingInParagraph=aP,e.effectiveBold=Xh,e.effectiveDrawingPlacement=Dg,e.effectiveDrawingWrapping=Og,e.effectiveItalic=Yh,e.elementChildren=ct,e.elementTypeOf=Jm,e.elevateCommentReferencesInDocument=Wu,e.emptyModeledRunProperties=Qf,e.emptyPropsToUndefined=pi,e.emptyRelationships=ve,e.emuToPoint=Hr,e.emus=$r,e.encodeAuthoredDrawingShape=sb,e.encodeAuthoredGroup=ub,e.encodeDrawingShapeInput=iw,e.encodeGroupInput=ow,e.encodePictureHost=mS,e.endnoteFor=ET,e.endnoteInstanceFor=NT,e.endnoteText=HT,e.endnotesFor=_T,e.endnotesInDocument=RT,e.endnotesInParagraph=zT,e.ensureAlwaysOnBodyFeaturesRegistered=er,e.ensureCoreBlockHandlers=kr,e.ensureFeature=Me,e.ensureFinalSectionProperties=UI,e.ensureParsedAndLogical=tN,e.ensureSectionTerminatorParagraph=Cl,e.ensureWatermarksParsed=QO,e.equalWidthColumns=kC,e.evenFooter=gV,e.evenHeader=mV,e.everyLineNumbers=II,e.featureId=Be,e.fieldInstructionKeyword=oC,e.fieldsInDocument=$x,e.fieldsInParagraph=Jx,e.finalSection=_I,e.findAbstractForListStyle=am,e.findBodyPrChild=Vb,e.findBodyPrElement=Ab,e.findChildIndex=_D,e.findFirstElement=zy,e.findOfficeDocumentRelationship=pe,e.findPackageRelatedPart=At,e.findResidualPositions=vg,e.findResidualSpPr=tg,e.findSpPrElement=xy,e.findTxbxContentElement=Lb,e.findTxbxElement=Eb,e.firstFooter=yV,e.firstHeader=vV,e.flattenSectionsToBodyBlocks=Il,e.fontSubstitutionTableFor=Jp,e.fontTableFor=Kp,e.footerForSection=hV,e.footerTextForSection=NV,e.footersInDocument=cV,e.footnoteFor=AT,e.footnoteInstanceFor=OT,e.footnoteText=UT,e.footnotesFor=BT,e.footnotesInDocument=LT,e.footnotesInParagraph=MT,e.formFieldsInParagraph=Yx,e.formatSequenceValue=kP,e.getBuiltinStyleTemplate=mf,e.getBuiltinStyleTemplateByDisplayName=yf,e.getExternalRelationshipTargets=Ve,e.glossaryFor=vC,e.halfPoints=Jr,e.halfPointsToPoint=Wr,e.hasAnyCnfStyleFlag=zi,e.hasModeledBodyPrFields=Ub,e.hasWatermarkPositionPattern=mO,e.headerForSection=dV,e.headerTextForSection=OV,e.headersFootersFor=sV,e.headersInDocument=uV,e.highlightWireToColor=mn,e.hostDocumentOf=NP,e.hyperlinkTarget=fx,e.hyperlinksFor=dx,e.hyperlinksInParagraph=hx,e.imagesFor=MS,e.imagesInParagraph=US,e.inScopeNamespaces=rr,e.inchesToPoint=Xr,e.inheritsFromPrevious=VI,e.inlineImageBytes=YS,e.inlinePictureBytes=XS,e.insertComment=bc,e.insertEditableRangeAt=yP,e.insertEndnote=GT,e.insertFootnote=WT,e.inspectMarkupCompatibility=mr,e.instantiateBuiltinStyle=Cf,e.isAcceptedPictureWatermarkType=yO,e.isAltChunkBlock=Dr,e.isAlternateContent=cr,e.isAutoShapeType=py,e.isBlockContentControl=xu,e.isBlockContentControlBodyItem=Cu,e.isBookmarkEndInline=gs,e.isBookmarkStartInline=ys,e.isCommentInline=Gu,e.isCommentRangeEndInline=Sc,e.isCommentRangeStartInline=Pc,e.isCommentReferenceLeaf=xc,e.isCustomXmlMarkupInline=Wc,e.isDrawingAlternateContent=vb,e.isDrawingShapeLeaf=Sw,e.isEditableRangeEndInline=vP,e.isEditableRangeStartInline=pP,e.isEndnoteReferenceLeaf=KT,e.isFeatureMultiPackagePart=Cr,e.isFeaturePackageLevelPart=xr,e.isFeatureRegistered=ze,e.isFootnoteReferenceLeaf=ZT,e.isGroupShape=Ow,e.isHorizontalAlignment=ay,e.isHorizontalAlignmentWire=ly,e.isHorizontalOrigin=iy,e.isHyperlinkInline=vx,e.isImageLeaf=ex,e.isInlinePictureDrawing=uw,e.isKnownBorderWire=Yc,e.isLineCap=gy,e.isLineDashing=my,e.isLineEndSize=wy,e.isLineEndType=by,e.isMarkupCompatibilityElement=ur,e.isMoveRangeMarkerInline=aD,e.isNestedDrawingResidual=mb,e.isOfficeDocumentRelationshipType=le,e.isOleObjectLeaf=eF,e.isPackageRelationshipsPartName=Q,e.isPageNumberStyleWire=mC,e.isParagraphBodyItem=Ua,e.isPartNameDerivableFrom=K,e.isPictureLeaf=QS,e.isPicturePlacement=ry,e.isPictureWatermarkShape=bO,e.isPresetAutoShapeType=vy,e.isRelationshipsPartName=$,e.isRunTrackChangeInline=oD,e.isShape=Dw,e.isStShapeType=fy,e.isStructuredDocumentTagInline=Su,e.isSupportedBodyItem=Xa,e.isTableBlock=Zm,e.isTableBodyItem=Km,e.isTextAnchoring=bb,e.isTextBodyWrap=xb,e.isTextHorzOverflow=Pb,e.isTextVertOverflow=wb,e.isTextVerticalType=Sb,e.isTextWatermarkShape=gO,e.isTextWrappingStyle=ny,e.isTextWrappingType=dy,e.isTextWrappingTypeWire=hy,e.isVerticalAlignment=sy,e.isVerticalAlignmentWire=uy,e.isVerticalOrigin=oy,e.isVml=pO,e.isWatermarkDirty=sN,e.isWml=ut,e.isWmlElement=br,e.isWmlNamespace=st,e.jcForNewAlignment=ui,e.lengthToEmus=Qr,e.lengthToHalfPoints=en,e.linkSectionFooter=RV,e.linkSectionHeader=LV,e.listBuiltinStyleTemplates=bf,e.listFeatureMultiPartHandlers=rt,e.listFeaturePackagePartHandlers=Ft,e.listFeaturePartHandlers=Ze,e.loadCommentExtensionMetadata=Vs,e.loadFeatureMultiParts=nt,e.loadFeaturePackageParts=Dt,e.loadFeatureParts=Je,e.loadOleObjectCatalog=hk,e.loadOpcPackage=Ie,e.loadWatermarkPackageParts=YN,e.localeIdFromBcp47=yn,e.localeIdToBcp47=gn,e.logicalWatermarkOf=wO,e.lookupContentType=z,e.markWatermarkDirty=lN,e.markWatermarkParseCompleted=DO,e.materializeFeatureSideEffects=Ut,e.materializeSectionProperties=bl,e.materializeWatermarks=XN,e.maxDocPrIdInDocument=gw,e.mergeModeledParagraphProperties=vh,e.mergeModeledRunProperties=Hh,e.mmToPoint=Zr,e.modeledFillForEncode=lw,e.modeledLineForEncode=sw,e.modeledParagraphPropertiesToParagraphSnapshot=Zf,e.modeledRunPropertiesToCharacterSnapshot=Xf,e.moveEditableRangeMarkerToParagraph=Zw,e.moveRangeMarkersInParagraph=iD,e.needsXmlSpacePreserve=sa,e.nextEditableRangeId=dP,e.normalizeCnfStyle=ji,e.normalizeColorHex=hn,e.normalizeStyleName=lf,e.normalizedCnfStyleHasTrue=Mi,e.notesFor=kT,e.notifySectionPropertiesAttached=gl,e.numberingFor=Bv,e.officeDocumentPartName=xe,e.oleAttributeValue=Uk,e.oleElementChildren=Hk,e.oleIsExplicitFalse=Wk,e.oleObjectCatalog=yF,e.oleObjectsInDocument=nF,e.oleObjectsInParagraph=rF,e.opaqueBlocksFromBody=Pr,e.opaqueComplexFieldInstructionsInParagraph=iC,e.ownerDocumentOf=BC,e.packageRelationshipsPartName=ee,e.pageNumberStyleFromWire=yC,e.paragraphClosesSection=Pl,e.paragraphElementTypeOf=ty,e.paragraphSectionBreak=MI,e.paragraphSectionBreakSource=wl,e.paragraphSnapshotFromPPr=$f,e.paragraphSnapshotToModeledParagraphProperties=Kf,e.parseAbstractNumbering=ov,e.parseAlternateContentDrawing=mw,e.parseBodyBlocks=Ma,e.parseBorderEdge=yi,e.parseCellMargins=Ci,e.parseCharacterFormat=qn,e.parseCharacterSpacingControl=bD,e.parseCnfStyle=Ui,e.parseContentTypesXml=j,e.parseDecimalVal=ci,e.parseDefaultTabStop=yD,e.parseDirectRunFontProperties=Wh,e.parseDocDefaults=Lf,e.parseDocDefaultsRunProperties=qh,e.parseDocxStyle=of,e.parseDrawingShape=pw,e.parseDrawingWrapping=ug,e.parseFontTableFont=Hp,e.parseLatentStyles=qf,e.parseModeledParagraphProperties=fh,e.parseModeledRunProperties=jh,e.parseNumberingInstance=kv,e.parseNumberingLevel=$p,e.parseNumberingLevelOverride=Tv,e.parseNumberingPictureBullet=Ov,e.parseOleObjectDomState=yk,e.parseOnOff=Er,e.parseParagraphSpacing=hh,e.parseRelationshipsXml=he,e.parseSectionProperties=CI,e.parseSettingsChild=RD,e.parseShd=Ti,e.parseStyleRunDefinition=Gh,e.parseTableAlignment=Fi,e.parseTblBorders=bi,e.parseTblLook=Ai,e.parseTblWidth=vi,e.parseTcBorders=Pi,e.parseTextColumns=FC,e.parseTextRangeGroup=ya,e.parseThemeFontSlot=yh,e.parseTxbxContentBlocks=ig,e.parseVmlPict=vw,e.parseVmlStyle=hO,e.parseWatermarkFromHeaderBlocks=$O,e.parseWrapTextAttr=cg,e.parseXml=d,e.partByName=ke,e.partName=q,e.partNameFromZipItem=X,e.partNameKey=W,e.partNamesEquivalent=Z,e.partRelationshipsPartName=te,e.partitionBodyIntoSections=Sl,e.patchResidualCNvPr=gb,e.patchResidualDocPr=fb,e.patchResidualLayout=pb,e.physicalWatermarksOf=FO,e.picturesInParagraph=zS,e.pointToCoordinateEmus=_r,e.pointToEmus=Br,e.pointToHalfPoints=jr,e.pointToSignedHalfPoints=Mr,e.pointToTwips=zr,e.preferredDrawingElement=cb,e.projectBlockToBodyItem=Ga,e.propertiesFor=kF,e.provideImageCaptionAuthoring=VP,e.providePictureCaptionAuthoring=CP,e.pxToPoint=Kr,e.readBodyPropertiesState=Rb,e.readCNvPrIdentity=yb,e.readCellBorders=Od,e.readCellCnfStyle=Jd,e.readCellFitText=Xd,e.readCellHideMark=Zd,e.readCellMargins=Rd,e.readCellNoWrap=Gd,e.readCellPreferredWidth=Fd,e.readCellShading=Ad,e.readCellTextDirection=zd,e.readCellVerticalAlignment=Hd,e.readContentTypes=M,e.readDocPrIdentity=db,e.readDrawAspect=Pk,e.readDrawingLayout=Mg,e.readDrawingPositionState=Fg,e.readDrawingWrapState=kg,e.readFieldCodes=kk,e.readGridSpan=Sd,e.readHorizontalMerge=Td,e.readIsSamePaddingsAsTable=Bd,e.readLinkType=gk,e.readLinkTypeDescription=Tk,e.readLockedField=Vk,e.readMarkupCompatibilityAttributes=sr,e.readObjectId=Sk,e.readOriginalHeight=Ok,e.readOriginalWidth=Dk,e.readProgId=bk,e.readRowAlignment=cd,e.readRowCantSplit=ad,e.readRowCnfStyle=pd,e.readRowHeight=id,e.readRowIsHeader=sd,e.readRowShading=hd,e.readShapeId=wk,e.readShapePropertiesState=Fy,e.readTableAlignment=Zi,e.readTableBorders=to,e.readTableCaption=ho,e.readTableCellMargins=no,e.readTableCellSpacing=oo,e.readTableColumnBandSize=So,e.readTableDescription=po,e.readTableIndent=Ji,e.readTableLayout=go,e.readTableLook=uo,e.readTablePositioning=nh,e.readTablePreferredWidth=Qi,e.readTableRowBandSize=wo,e.readTableShading=lo,e.readTableStyle=mo,e.readUpdateMode=xk,e.readVerticalMerge=xd,e.readZip=O,e.registerAlwaysOnBodyFeatureBootstrap=Qt,e.registerBibliographyFeature=Jt,e.registerBodyItemAdapter=Ha,e.registerBookmarksFeature=ms,e.registerCommentsFeature=nc,e.registerContentControlsFeature=bu,e.registerCustomXmlFeature=Mc,e.registerDocumentSettingsFacades=YD,e.registerDrawingFeature=Pw,e.registerEditableRangesFeature=fP,e.registerFeature=je,e.registerFeatureBlockHandler=We,e.registerFeatureBlockParagraphWalker=jt,e.registerFeatureInlineHandler=Ct,e.registerFeatureMaterializeHandler=_t,e.registerFeatureMultiPartHandler=tt,e.registerFeaturePackagePartHandler=kt,e.registerFeaturePartHandler=Ye,e.registerFeatureRunLeafHandler=bt,e.registerFieldsFeature=qx,e.registerFontTableFeature=Zp,e.registerGlossaryFeature=pC,e.registerHeadersFootersFeature=VV,e.registerHeadersFootersLinkToPreviousHandlers=al,e.registerHeadersFootersSlotFactory=nl,e.registerHyperlinksFeature=cx,e.registerImagesFeature=jS,e.registerMailMergeFeature=eT,e.registerNotesFeature=TT,e.registerNumberingFeature=Rv,e.registerOleObjectFeature=Qk,e.registerParagraphElementClassifier=$m,e.registerPropertiesFeature=TF,e.registerRevisionsFeature=eD,e.registerSectionPageSetupClone=sl,e.registerSectionPageSetupSeed=cl,e.registerSectionPropertiesAttached=ml,e.registerSectionPropertiesParse=pl,e.registerSectionsFeature=EI,e.registerSettingsFeature=sO,e.registerStylesFeature=vm,e.registerStylesWithEffectsFeature=xp,e.registerTablesFeature=Ym,e.registerThemeFeature=Fh,e.registerTypedCollectionHooks=$a,e.registerWatermarkFeature=KN,e.registerWebSettingsFeature=eO,e.relationshipId=oe,e.relationshipsForPart=Fe,e.relationshipsWith=me,e.remapEditableRangeIdsInParagraphToPending=Kw,e.removeBookmark=fs,e.removeComment=wc,e.removeEditableRange=Xw,e.removeEndnote=YT,e.removeFootnote=XT,e.removeHyperlink=px,e.removeInlineImage=$S,e.removeInlinePicture=JS,e.removeOleObject=vF,e.replaceInlineImageBytes=KS,e.replaceInlinePictureBytes=ZS,e.replaceOrAddPackageLevelPart=Et,e.replaceOrAddPackagePart=lt,e.replaceOrInsertChild=jD,e.requireImageCaptionAuthoring=TP,e.requirePictureCaptionAuthoring=IP,e.resetAlwaysOnBodyFeatureBootstrapsForTests=tr,e.resetBibliographyFeatureForTests=Kt,e.resetBodyItemAdaptersForTests=Wa,e.resetBookmarksFeatureForTests=vs,e.resetCommentsFeatureForTests=rc,e.resetContentControlsFeatureForTests=gu,e.resetCoreBlockHandlersForTests=Fr,e.resetCustomXmlFeatureForTests=jc,e.resetDrawingFeatureForTests=ww,e.resetEditableRangesFeatureForTests=hP,e.resetFeatureBlockHandlers=He,e.resetFeatureInlineHandlers=xt,e.resetFeatureMaterializeHandlers=Bt,e.resetFeatureMultiPartHandlers=et,e.resetFeaturePackagePartHandlers=Tt,e.resetFeaturePartHandlers=Xe,e.resetFeatureRegistry=_e,e.resetFeatureRunLeafHandlers=gt,e.resetFieldsFeatureForTests=Gx,e.resetFontTableFeatureForTests=Yp,e.resetGlossaryFeatureForTests=fC,e.resetHeadersFootersFeatureForTests=IV,e.resetHeadersFootersLinkToPreviousHandlersForTests=ll,e.resetHeadersFootersSlotFactoryForTests=il,e.resetHyperlinksFeatureForTests=ux,e.resetImagesFeatureForTests=_S,e.resetListFormatFactoryForTests=Aa,e.resetMailMergeFeatureForTests=QV,e.resetNotesFeatureForTests=VT,e.resetNumberingFeatureForTests=Lv,e.resetOleObjectFeatureForTests=$k,e.resetParagraphElementClassifiersForTests=Qm,e.resetPropertiesFeatureForTests=VF,e.resetRevisionsFeatureForTests=$F,e.resetSectionPageSetupCloneForTests=ul,e.resetSectionPageSetupSeedForTests=dl,e.resetSectionPropertiesAttachedForTests=yl,e.resetSectionPropertiesParseForTests=vl,e.resetSectionsFeatureForTests=NI,e.resetSettingsFeatureForTests=lO,e.resetStylesFeatureForTests=pm,e.resetStylesWithEffectsFeatureForTests=Sp,e.resetTablesFeatureForTests=qm,e.resetThemeFeatureForTests=kh,e.resetTypedCollectionHooksForTests=Qa,e.resetWatermarkFeatureForTests=ZN,e.resetWatermarkParseStateForTests=OO,e.resetWatermarkSerializeStateForTests=cN,e.resetWebSettingsFeatureForTests=QD,e.residualHasTxbx=og,e.resolveDependencies=Of,e.resolveInternalTarget=ie,e.resolveOleChild=mk,e.resolveReferencedStyle=Af,e.resolveResourceLimits=t,e.resolveRunFormatting=gm,e.resolveRunFormattingWithStyles=zf,e.resolveStyleForTarget=Df,e.revisionRangeFor=qF,e.revisionText=GF,e.revisionTypeForKind=WF,e.revisionsInDocument=nD,e.runTrackChangesInDocument=rD,e.runTrackChangesInParagraph=tD,e.saveOpcPackage=Te,e.scale=cn,e.scalePoint=qr,e.sectionPropertiesToOpenXml=Vl,e.sectionsError=wC,e.serializeBodyBlocks=za,e.serializeBorderEdge=gi,e.serializeCellMargins=Vi,e.serializeCharacterSpacingControl=wD,e.serializeCnfStyle=Hi,e.serializeContentTypes=H,e.serializeDefaultTabStop=gD,e.serializeFeatureBlock=qe,e.serializeModeledParagraphProperties=mh,e.serializeModeledRunProperties=Kh,e.serializeOnOff=Lr,e.serializeParagraph=Ra,e.serializeParagraphItems=ka,e.serializeRelationships=fe,e.serializeRun=UR,e.serializeSettingsChildren=MD,e.serializeShd=ki,e.serializeTableAlignment=Di,e.serializeTblBorders=wi,e.serializeTblLook=Li,e.serializeTblWidth=mi,e.serializeTcBorders=Si,e.serializeTextColumns=DC,e.serializeTextRange=Ia,e.serializeTxbxContentBlocks=ng,e.serializeXml=y,e.setDefaultFooter=DV,e.setDefaultHeader=FV,e.setDocumentCreator=AF,e.setDocumentDescription=BF,e.setDocumentKeywords=jF,e.setDocumentSubject=LF,e.setDocumentTitle=OF,e.setFinalSection=jI,e.setListFormatFactory=Na,e.setLogicalWatermark=PO,e.setParagraphSectionBreak=zI,e.setParagraphSectionFooter=HV,e.setParagraphSectionHeader=UV,e.setSectionFooter=EV,e.setSectionHeader=AV,e.settingsFor=uO,e.shouldEmitPageBreakAfterParagraph=Ba,e.sniffImageContentType=wS,e.sniffImagePixelDimensions=bS,e.solidFillAlpha=Vy,e.solidFillSrgb=Iy,e.sourcePartNameFromRelationshipsPart=re,e.structuredDocumentTagsInBlocks=wu,e.structuredDocumentTagsInParagraph=Pu,e.styleCollectionFor=cm,e.styleFromDocxShell=ap,e.stylesFor=mm,e.stylesWithEffectsFor=Cp,e.subSuperScriptFromWire=bn,e.subSuperScriptToWire=wn,e.tableOwnsParagraph=Tw,e.textContent=dt,e.themeFor=Dh,e.toBreakLeafView=Fa,e.transitionalDocumentStubXml=Pe,e.transparencyToAlpha=Ty,e.tryParseFeatureBlock=Ge,e.twipsToPoint=Ur,e.underlineStyleFromWire=Pn,e.underlineStyleToWire=Sn,e.unlinkFromPrevious=TI,e.upsertPropChild=fi,e.usedMainDocumentRelationshipIds=ot,e.usedModeledPositionMode=Eg,e.usedPackagePartNameKeys=Lt,e.usedPackageRelationshipIds=Rt,e.validateColumnCount=TC,e.validateNonNegativeInteger=VC,e.validatePageNumberStyle=CC,e.validatePageOrientation=SC,e.validatePositiveInteger=IC,e.validateSectionBreakCode=xC,e.validateSectionLength=PC,e.viewSetupFor=qD,e.visitBlocksInDocumentOrder=zt,e.visitParagraphsInDocumentOrder=Mt,e.vmlAttribute=fO,e.wValAttribute=vt,e.webSettingsFor=tO,e.wireToBreakCode=bC,e.withAddedPart=Ae,e.withContentTypeOverride=Ee,e.withOpaqueBody=Sr,e.withPackageRelationships=Re,e.withPartRelationships=Le,e.withReplacedPart=De,e.wmlAttr=ht,e.wmlAttrVal=di,e.wmlElement=pt,e.wrappingRequiresAnchor=yS,e.writeCellBorders=Nd,e.writeCellCnfStyle=$d,e.writeCellFitText=Yd,e.writeCellHideMark=Kd,e.writeCellMargins=_d,e.writeCellNoWrap=qd,e.writeCellPreferredWidth=Dd,e.writeCellShading=Ld,e.writeCellTextDirection=Ud,e.writeCellVerticalAlignment=Wd,e.writeGridSpan=Cd,e.writeHorizontalMerge=kd,e.writeIsSamePaddingsAsTable=jd,e.writeRowAlignment=dd,e.writeRowCantSplit=ld,e.writeRowCnfStyle=vd,e.writeRowHeight=od,e.writeRowIsHeader=ud,e.writeRowShading=fd,e.writeTableAlignment=Ki,e.writeTableBorders=ro,e.writeTableCaption=fo,e.writeTableCellMargins=io,e.writeTableCellSpacing=ao,e.writeTableColumnBandSize=xo,e.writeTableDescription=vo,e.writeTableIndent=$i,e.writeTableLayout=bo,e.writeTableLook=co,e.writeTablePositioning=oh,e.writeTablePreferredWidth=eo,e.writeTableRowBandSize=Po,e.writeTableShading=so,e.writeTableStyle=yo,e.writeVerticalMerge=Id,e.writeZip=L,e.xmlSpaceIsPreserve=mt,e.xmlSpacePreserve=ft,e.zipItemFromPartName=Y,e}({}),this.ejs=ej;
11
+ //# sourceMappingURL=ej2-docx.min.js.map