wrong-notebook 2026.11.4-2 → 2026.11.4-4
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.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +1 -0
- package/.next/build-manifest.json +3 -3
- package/.next/routes-manifest.json +6 -0
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/page.js.nft.json +1 -1
- package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/user/[id]/page.js.nft.json +1 -1
- package/.next/server/app/admin/user/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/api/admin/cnm-tags/route.js +8 -6
- package/.next/server/app/api/admin/cnm-tags/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/dashboard/route.js +16 -14
- package/.next/server/app/api/admin/dashboard/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/debug-logs/export/route.js +7 -6
- package/.next/server/app/api/admin/debug-logs/export/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/debug-logs/route.js +6 -5
- package/.next/server/app/api/admin/debug-logs/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/migrate-tags/route.js +5 -3
- package/.next/server/app/api/admin/migrate-tags/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/system-reset/route.js +5 -5
- package/.next/server/app/api/admin/system-reset/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/users/[id]/detail/route.js +16 -14
- package/.next/server/app/api/admin/users/[id]/detail/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/users/[id]/route.js +7 -5
- package/.next/server/app/api/admin/users/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/users/route.js +8 -7
- package/.next/server/app/api/admin/users/route.js.nft.json +1 -1
- package/.next/server/app/api/ai/models/route.js +15 -14
- package/.next/server/app/api/ai/models/route.js.nft.json +1 -1
- package/.next/server/app/api/ai/test/route.js +16 -13
- package/.next/server/app/api/ai/test/route.js.nft.json +1 -1
- package/.next/server/app/api/analytics/route.js +15 -14
- package/.next/server/app/api/analytics/route.js.nft.json +1 -1
- package/.next/server/app/api/analyze/route.js +20 -18
- package/.next/server/app/api/analyze/route.js.nft.json +1 -1
- package/.next/server/app/api/auth/[...nextauth]/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/delete/route.js +5 -5
- package/.next/server/app/api/error-items/[id]/delete/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/figure/route.js +20 -18
- package/.next/server/app/api/error-items/[id]/figure/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/fix-latex/route.js +18 -16
- package/.next/server/app/api/error-items/[id]/fix-latex/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/geogebra/route.js +20 -17
- package/.next/server/app/api/error-items/[id]/geogebra/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/image/route.js +6 -5
- package/.next/server/app/api/error-items/[id]/image/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/notes/route.js +8 -5
- package/.next/server/app/api/error-items/[id]/notes/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/practice-records/route.js +5 -4
- package/.next/server/app/api/error-items/[id]/practice-records/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/reanswer/route.js +18 -15
- package/.next/server/app/api/error-items/[id]/reanswer/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/retag/route.js +18 -16
- package/.next/server/app/api/error-items/[id]/retag/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/route.js +13 -9
- package/.next/server/app/api/error-items/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/svg-animation/narration/route.js +18 -15
- package/.next/server/app/api/error-items/[id]/svg-animation/narration/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/svg-animation/route.js +18 -15
- package/.next/server/app/api/error-items/[id]/svg-animation/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/answer-space/route.js +6 -6
- package/.next/server/app/api/error-items/answer-space/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/batch-delete/route.js +8 -5
- package/.next/server/app/api/error-items/batch-delete/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/clear/route.js +5 -5
- package/.next/server/app/api/error-items/clear/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/export-questions/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/error-items/export-questions/route/build-manifest.json +12 -0
- package/.next/server/app/api/error-items/export-questions/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/error-items/export-questions/route.js +17 -0
- package/.next/server/app/api/error-items/export-questions/route.js.map +5 -0
- package/.next/server/app/api/error-items/export-questions/route.js.nft.json +1 -0
- package/.next/server/app/api/error-items/export-questions/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/error-items/list/route.js +8 -7
- package/.next/server/app/api/error-items/list/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/route.js +22 -21
- package/.next/server/app/api/error-items/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/short/[shortId]/route.js +5 -4
- package/.next/server/app/api/error-items/short/[shortId]/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/similarity/route.js +4 -3
- package/.next/server/app/api/error-items/similarity/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/questions/[questionId]/regenerate/route.js +20 -18
- package/.next/server/app/api/exams/[id]/questions/[questionId]/regenerate/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/results/route.js +19 -18
- package/.next/server/app/api/exams/[id]/results/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/retry/route.js +18 -17
- package/.next/server/app/api/exams/[id]/retry/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/route.js +21 -19
- package/.next/server/app/api/exams/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/route.js +20 -19
- package/.next/server/app/api/exams/route.js.nft.json +1 -1
- package/.next/server/app/api/export/route.js +9 -7
- package/.next/server/app/api/export/route.js.nft.json +1 -1
- package/.next/server/app/api/geogebra-analyze/route.js +18 -16
- package/.next/server/app/api/geogebra-analyze/route.js.nft.json +1 -1
- package/.next/server/app/api/health/route.js.nft.json +1 -1
- package/.next/server/app/api/import/route.js +22 -20
- package/.next/server/app/api/import/route.js.nft.json +1 -1
- package/.next/server/app/api/import-batches/[id]/confirm-all/route.js +25 -22
- package/.next/server/app/api/import-batches/[id]/confirm-all/route.js.nft.json +1 -1
- package/.next/server/app/api/import-batches/[id]/fix-text/route.js +19 -18
- package/.next/server/app/api/import-batches/[id]/fix-text/route.js.nft.json +1 -1
- package/.next/server/app/api/import-batches/[id]/read/route.js +27 -24
- package/.next/server/app/api/import-batches/[id]/read/route.js.nft.json +1 -1
- package/.next/server/app/api/import-batches/[id]/retry/route.js +25 -22
- package/.next/server/app/api/import-batches/[id]/retry/route.js.nft.json +1 -1
- package/.next/server/app/api/import-batches/[id]/route.js +27 -24
- package/.next/server/app/api/import-batches/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/import-batches/[id]/start/route.js +27 -24
- package/.next/server/app/api/import-batches/[id]/start/route.js.nft.json +1 -1
- package/.next/server/app/api/import-batches/route.js +27 -24
- package/.next/server/app/api/import-batches/route.js.nft.json +1 -1
- package/.next/server/app/api/import-tasks/[id]/confirm/route.js +25 -22
- package/.next/server/app/api/import-tasks/[id]/confirm/route.js.nft.json +1 -1
- package/.next/server/app/api/import-tasks/[id]/read/route.js +25 -22
- package/.next/server/app/api/import-tasks/[id]/read/route.js.nft.json +1 -1
- package/.next/server/app/api/import-tasks/[id]/retry/route.js +25 -22
- package/.next/server/app/api/import-tasks/[id]/retry/route.js.nft.json +1 -1
- package/.next/server/app/api/import-tasks/[id]/route.js +25 -22
- package/.next/server/app/api/import-tasks/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/import-tasks/route.js +27 -24
- package/.next/server/app/api/import-tasks/route.js.nft.json +1 -1
- package/.next/server/app/api/initialize/route.js +1 -1
- package/.next/server/app/api/initialize/route.js.nft.json +1 -1
- package/.next/server/app/api/logs/frontend/route.js +6 -4
- package/.next/server/app/api/logs/frontend/route.js.nft.json +1 -1
- package/.next/server/app/api/minimax-code/checkin/route.js +6 -5
- package/.next/server/app/api/minimax-code/checkin/route.js.nft.json +1 -1
- package/.next/server/app/api/minimax-code/login/route.js +6 -5
- package/.next/server/app/api/minimax-code/login/route.js.nft.json +1 -1
- package/.next/server/app/api/minimax-code/route.js +7 -6
- package/.next/server/app/api/minimax-code/route.js.nft.json +1 -1
- package/.next/server/app/api/notebooks/[id]/retag/route.js +18 -17
- package/.next/server/app/api/notebooks/[id]/retag/route.js.nft.json +1 -1
- package/.next/server/app/api/notebooks/[id]/route.js +8 -4
- package/.next/server/app/api/notebooks/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/notebooks/route.js +8 -6
- package/.next/server/app/api/notebooks/route.js.nft.json +1 -1
- package/.next/server/app/api/openclaw/batch-upload/route.js +21 -19
- package/.next/server/app/api/openclaw/batch-upload/route.js.nft.json +1 -1
- package/.next/server/app/api/paper-groups/[id]/route.js +5 -4
- package/.next/server/app/api/paper-groups/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/paper-groups/route.js +4 -3
- package/.next/server/app/api/paper-groups/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/generate/route.js +18 -16
- package/.next/server/app/api/practice/generate/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/grade/route.js +15 -13
- package/.next/server/app/api/practice/grade/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/record/[id]/route.js +18 -16
- package/.next/server/app/api/practice/record/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/record/route.js +16 -14
- package/.next/server/app/api/practice/record/route.js.nft.json +1 -1
- package/.next/server/app/api/reanswer/route.js +19 -17
- package/.next/server/app/api/reanswer/route.js.nft.json +1 -1
- package/.next/server/app/api/register/route.js +5 -5
- package/.next/server/app/api/register/route.js.nft.json +1 -1
- package/.next/server/app/api/register/status/route.js +5 -5
- package/.next/server/app/api/register/status/route.js.nft.json +1 -1
- package/.next/server/app/api/requests/[id]/route.js +5 -4
- package/.next/server/app/api/requests/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/review/due/route.js +17 -15
- package/.next/server/app/api/review/due/route.js.nft.json +1 -1
- package/.next/server/app/api/settings/route.js +8 -7
- package/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/route.js +7 -6
- package/.next/server/app/api/setup/route.js.nft.json +1 -1
- package/.next/server/app/api/stats/activity/route.js +7 -6
- package/.next/server/app/api/stats/activity/route.js.nft.json +1 -1
- package/.next/server/app/api/stats/practice/clear/route.js +5 -5
- package/.next/server/app/api/stats/practice/clear/route.js.nft.json +1 -1
- package/.next/server/app/api/stats/practice/route.js +7 -6
- package/.next/server/app/api/stats/practice/route.js.nft.json +1 -1
- package/.next/server/app/api/stats/repeated-mistakes/route.js +17 -16
- package/.next/server/app/api/stats/repeated-mistakes/route.js.nft.json +1 -1
- package/.next/server/app/api/stats/weak-tags/route.js +17 -16
- package/.next/server/app/api/stats/weak-tags/route.js.nft.json +1 -1
- package/.next/server/app/api/tags/route.js +7 -4
- package/.next/server/app/api/tags/route.js.nft.json +1 -1
- package/.next/server/app/api/tags/stats/route.js +1 -1
- package/.next/server/app/api/tags/stats/route.js.nft.json +1 -1
- package/.next/server/app/api/tags/suggestions/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/route.js +5 -4
- package/.next/server/app/api/tasks/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/[id]/route.js +9 -8
- package/.next/server/app/api/tts/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/batch/route.js +10 -9
- package/.next/server/app/api/tts/batch/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/route.js +11 -10
- package/.next/server/app/api/tts/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/status/route.js +11 -10
- package/.next/server/app/api/tts/status/route.js.nft.json +1 -1
- package/.next/server/app/api/user/route.js +16 -15
- package/.next/server/app/api/user/route.js.nft.json +1 -1
- package/.next/server/app/api/version/route.js.nft.json +1 -1
- package/.next/server/app/error-items/[id]/page.js.nft.json +1 -1
- package/.next/server/app/error-items/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/exams/[id]/page.js.nft.json +1 -1
- package/.next/server/app/exams/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/exams/[id]/print/page.js.nft.json +1 -1
- package/.next/server/app/exams/[id]/print/page_client-reference-manifest.js +1 -1
- package/.next/server/app/exams/page.js.nft.json +1 -1
- package/.next/server/app/exams/page_client-reference-manifest.js +1 -1
- package/.next/server/app/import-batches/[id]/page.js.nft.json +1 -1
- package/.next/server/app/import-batches/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/import-tasks/[id]/page.js.nft.json +1 -1
- package/.next/server/app/import-tasks/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/import-tasks/page.js.nft.json +1 -1
- package/.next/server/app/import-tasks/page_client-reference-manifest.js +1 -1
- package/.next/server/app/initialize/page.js.nft.json +1 -1
- package/.next/server/app/initialize/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login/page.js.nft.json +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/notebooks/[id]/add/page.js.nft.json +1 -1
- package/.next/server/app/notebooks/[id]/add/page_client-reference-manifest.js +1 -1
- package/.next/server/app/notebooks/[id]/page.js.nft.json +1 -1
- package/.next/server/app/notebooks/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/notebooks/page.js.nft.json +1 -1
- package/.next/server/app/notebooks/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/practice/page.js.nft.json +1 -1
- package/.next/server/app/practice/page_client-reference-manifest.js +1 -1
- package/.next/server/app/print-preview/page.js.nft.json +1 -1
- package/.next/server/app/print-preview/page_client-reference-manifest.js +1 -1
- package/.next/server/app/register/page.js.nft.json +1 -1
- package/.next/server/app/register/page_client-reference-manifest.js +1 -1
- package/.next/server/app/review/page.js.nft.json +1 -1
- package/.next/server/app/review/page_client-reference-manifest.js +1 -1
- package/.next/server/app/setup/page.js.nft.json +1 -1
- package/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/.next/server/app/stats/page.js.nft.json +1 -1
- package/.next/server/app/stats/page_client-reference-manifest.js +1 -1
- package/.next/server/app/tags/page.js.nft.json +1 -1
- package/.next/server/app/tags/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +1 -0
- package/.next/server/chunks/1oeh_server_app_api_error-items_export-questions_route_actions_02nsquej76mp1.js +3 -0
- package/.next/server/chunks/[externals]__1j5vgk-wr4vpe._.js +3 -0
- package/.next/server/chunks/[externals]_fs_0pplqgcyv2l7l._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0-d_vh1kcmw7g._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__001wdwos9fkgg._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__00cl_lnn-40t3._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__05tyrbfzivoeq._.js → [root-of-the-server]__00w9qhjl8kvr4._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__01-14hxale6jz._.js → [root-of-the-server]__00w_kxg7h-9_p._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__00x5ad3w5zwfp._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__01rm65xnqj0z-._.js → [root-of-the-server]__01jxyfokd6l4_._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__02nbzp-n9g9_o._.js → [root-of-the-server]__025dluj5es8w4._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__09pkxauucdf_0._.js → [root-of-the-server]__02fu_lp66613e._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__04w57bdna9ax0._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0z0knsep33lsx._.js → [root-of-the-server]__05a4j8yu5_bg1._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__006u92h_madgn._.js → [root-of-the-server]__05pxdy586nh8a._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0n5l60oyv1n-1._.js → [root-of-the-server]__06i2kswg2zb80._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__07i32k2sv285o._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0k4cyyyh6z6_p._.js → [root-of-the-server]__0855dkhk7zs77._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__0lqv0n5j2fg24._.js → [root-of-the-server]__08iizowhy6p3l._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__1eu_g0k_nr3i-._.js → [root-of-the-server]__094ybs6y_fmt5._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__09aolocrwucnt._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0_le78e9b2yno._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0_uup9ppknahw._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0b8rxaox_x2n1._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0bvf731upd2_w._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0cgpuhmu87blm._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0dqy62vnjwvwp._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0bmczgpuggwki._.js → [root-of-the-server]__0ef-17j7yp2n5._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0ej9lsrmus5m4._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0evv12a34qcy6._.js +27 -0
- package/.next/server/chunks/[root-of-the-server]__0fdkyswheen4o._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0eba9rni-2_tw._.js → [root-of-the-server]__0fhi9g3nqu6k3._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0fx0s5_6sjw-d._.js → [root-of-the-server]__0g3w0_9__ljck._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0g848ha1gy56h._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0hcbw1sliw973._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0ig1r6paxqzt0._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0j7ua4rsijb4c._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0jh610iscvrmp._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0kehix4ojdnhw._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0imuc7gi1ii-e._.js → [root-of-the-server]__0l3io0vyav4if._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0l7jho_lr2z5g._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0lgbdth9-z6qg._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0llbkrw8l2ib9._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0mfr1ne23y4yo._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0geynfn2xmdle._.js → [root-of-the-server]__0mslax132s9jp._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0nin5p-dwlpf9._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0nye-53zadylr._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0p8cwd_go8pid._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0pojh2d6n1kp6._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0rspref34j958._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0si2-m5an9zl7._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0svdqovwfpro2._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0tsi6_qmtro9q._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0tvp4sm4zx3wt._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0u1fu9dvxmlxd._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0ujhx0glgcxja._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__029n0r2v92pcc._.js → [root-of-the-server]__0v8mfczhz1ax1._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0vf3rgatj1f3u._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0vrag-4p6eznc._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0vt48u-0ebzdv._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0w9f5-xtpane-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0wea836zkhvlj._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0wex3czgya39o._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0x8ehtaj_x2pf._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0xobqdj2u2s67._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0y3ui5-k9baec._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0yq7jm5ja3r6t._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0zrg03ldx65tk._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1-1ld657rjip5._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1-6r_3pmgkz13._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__10ngcci8pf29l._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__11-fk0-4iuf_k._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__11x5u4zg5i2c6._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__120o1w9mcwgta._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__12f6t_ozjtn42._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__13a3izu1xb4m4._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1kiolpvl5u4e-._.js → [root-of-the-server]__14e45mqzb1vjt._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__14jf33wwjqbw1._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__14n0eki4tdk02._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__15a3t94ps7jx2._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__15dipxocczlvx._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__15r55xy6cyrg3._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__176zyagwjex4i._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__17ed9rw-rhun-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__19kic_glbz32b._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ae5zzeo8_c2s._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1b-acwmm5hhg0._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1d6ftxzea6h0a._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1dovdb1wrr_0e._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1e7_e83zxstdw._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1e81i8l09skcp._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1e8_j43j1t1m3._.js +27 -0
- package/.next/server/chunks/[root-of-the-server]__1f-ve8idsq57l._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1f0zocrmsd5p8._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1f5_yaclxhuvj._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1gf_vv57qtjh0._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1h0tye6lfskvl._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1hn69stngi4kc._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1hnyj47zdzrxo._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1k0fuhrt1iiad._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1kxecl8v-_px5._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1l6v9x8xm11pl._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1m8m5io-tr21e._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1pfhgjwnx_--j._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1r5lj-ffov9r0._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1rxi33p9h8zrj._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1uqnotrppylmw._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1utvl-1o6mb8y._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1vc89u7_xxhyf._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1x_kq-6h3utmo._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1xqcu4ft3d7id._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1xuw793xxu29t._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1yaf9vp_o6cro._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ybmwcbaqk63j._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1yyezurgy7e3k._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1z4-5hlzq34fw._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1z9hl9qdokxpu._.js +3 -0
- package/.next/server/chunks/_0-ne-bwuvd_6w._.js +1 -1
- package/.next/server/chunks/_011-ll5i30j2e._.js +1 -1
- package/.next/server/chunks/_01bayc6kg7upi._.js +1 -1
- package/.next/server/chunks/_029zt0rilrwvt._.js +1 -1
- package/.next/server/chunks/_03ovgh1-4xf3f._.js +1 -1
- package/.next/server/chunks/_0431fxnqiloso._.js +1 -1
- package/.next/server/chunks/_04vbgvl2gl5bc._.js +3 -0
- package/.next/server/chunks/_055vhdh_7iydn._.js +3 -0
- package/.next/server/chunks/_05ans30vcd4s-._.js +1 -1
- package/.next/server/chunks/{_04rjm4ctjqrba._.js → _06pseal2zu-71._.js} +2 -2
- package/.next/server/chunks/_076-jjzrfdsdk._.js +1 -1
- package/.next/server/chunks/_07amw8ha9rney._.js +1 -1
- package/.next/server/chunks/{_1fki7pamd4s-7._.js → _087uva8dkvxwz._.js} +2 -2
- package/.next/server/chunks/_08i9pskmlafnp._.js +1 -1
- package/.next/server/chunks/_09o9zamz75n5d._.js +1 -1
- package/.next/server/chunks/_0_3_65z6ak-5i._.js +1 -1
- package/.next/server/chunks/_0_5s2mrhxb3-u._.js +3 -0
- package/.next/server/chunks/_0_e736ff6uhew._.js +1 -1
- package/.next/server/chunks/_0anbzuivml30d._.js +1 -1
- package/.next/server/chunks/{_0edfmbz_jbxsu._.js → _0b9gke5b17vzh._.js} +2 -2
- package/.next/server/chunks/_0d66myj_8567o._.js +1 -1
- package/.next/server/chunks/_0gxi3zrkhyvx_._.js +1 -1
- package/.next/server/chunks/_0h1rbua_hqkox._.js +1 -1
- package/.next/server/chunks/_0hk9z9rqga4x-._.js +1 -1
- package/.next/server/chunks/_0i58-g30ox5-8._.js +3 -0
- package/.next/server/chunks/_0kjatc7pcrkvz._.js +1 -1
- package/.next/server/chunks/_0kreo-8xn80hb._.js +1 -1
- package/.next/server/chunks/_0l2j3br2g32zp._.js +1 -1
- package/.next/server/chunks/_0lepv-j_r8kfv._.js +3 -0
- package/.next/server/chunks/_0lmh33cdt_1fr._.js +1 -1
- package/.next/server/chunks/_0lob14xk0ko5z._.js +1 -1
- package/.next/server/chunks/_0mt2ctbvzfero._.js +1 -1
- package/.next/server/chunks/_0numcpxd_n25x._.js +3 -0
- package/.next/server/chunks/_0p-sas2zxy3iv._.js +1 -1
- package/.next/server/chunks/_0po48rvqz03dg._.js +1 -1
- package/.next/server/chunks/_0pzdohc1mz5ts._.js +1 -1
- package/.next/server/chunks/_0qaoat396e0_3._.js +1 -1
- package/.next/server/chunks/_0r8u30vd4lix4._.js +3 -0
- package/.next/server/chunks/_0r9ejvgz0l0-0._.js +1 -1
- package/.next/server/chunks/_0s8v0xiwcw6od._.js +3 -0
- package/.next/server/chunks/_0suqhfy3e5sv6._.js +1 -1
- package/.next/server/chunks/_0ta62b-tktnk8._.js +3 -0
- package/.next/server/chunks/{_03dn7v_h3d-v8._.js → _0tkov27xr068i._.js} +11 -7
- package/.next/server/chunks/_0tl0cy5j96d7h._.js +1 -1
- package/.next/server/chunks/_0tz5wpjdgntj3._.js +1 -1
- package/.next/server/chunks/_0wegi_sv1s4wx._.js +1 -1
- package/.next/server/chunks/_0xv7-7d6dyo9-._.js +1 -1
- package/.next/server/chunks/_0xx4y9tk1qclc._.js +1 -1
- package/.next/server/chunks/_0zs7jfzzshbfq._.js +1 -1
- package/.next/server/chunks/_11w6ynlxuzl55._.js +1 -1
- package/.next/server/chunks/_12fz_vwm9jemi._.js +3 -0
- package/.next/server/chunks/_12i51zlq-xxrl._.js +1 -1
- package/.next/server/chunks/_12w5k19rc45j_._.js +1 -1
- package/.next/server/chunks/_12xi_xqvtrn3k._.js +3 -0
- package/.next/server/chunks/_13ffmxv8qrwi0._.js +1 -1
- package/.next/server/chunks/_14w9nrdlajz24._.js +1 -1
- package/.next/server/chunks/_15fpgekhvv214._.js +1 -1
- package/.next/server/chunks/{_043-r529chcri._.js → _1638xaazsmf2m._.js} +11 -7
- package/.next/server/chunks/_1647rfjflw_iq._.js +1 -1
- package/.next/server/chunks/_16jdov0rxh99d._.js +1 -1
- package/.next/server/chunks/_17zw8m241gfs3._.js +1 -1
- package/.next/server/chunks/_18amra5328v90._.js +1 -1
- package/.next/server/chunks/_18hm5aaxkr500._.js +1 -1
- package/.next/server/chunks/_1_273cgnpyl9j._.js +1 -1
- package/.next/server/chunks/_1a1aqmie1d3u_._.js +1 -1
- package/.next/server/chunks/_1a1udq0c4_6ad._.js +1 -1
- package/.next/server/chunks/_1ab7h8-how0le._.js +3 -0
- package/.next/server/chunks/_1ahi8466v1b3l._.js +1 -1
- package/.next/server/chunks/_1almac7c09mp4._.js +3 -0
- package/.next/server/chunks/_1b-7g4thtxfnp._.js +3 -0
- package/.next/server/chunks/_1b0269xt-c8f7._.js +1 -1
- package/.next/server/chunks/_1b7qjlv0nxovi._.js +1 -1
- package/.next/server/chunks/_1be-y660a8z-q._.js +1 -1
- package/.next/server/chunks/_1cydcmia78z15._.js +1 -1
- package/.next/server/chunks/_1e8w9uuebtrcb._.js +1 -1
- package/.next/server/chunks/_1ev3hw7jrpp8r._.js +3 -0
- package/.next/server/chunks/_1gdet1v2zk2gy._.js +1 -1
- package/.next/server/chunks/_1hj7iit2u6xez._.js +1 -1
- package/.next/server/chunks/_1hp9mnz19v199._.js +1 -1
- package/.next/server/chunks/_1j10upti9l6da._.js +1 -1
- package/.next/server/chunks/_1j8kqz21_i728._.js +1 -1
- package/.next/server/chunks/_1lesklvhr_pfq._.js +3 -0
- package/.next/server/chunks/_1muwmr6j76v3m._.js +1 -1
- package/.next/server/chunks/_1pvqo-qnv-nqm._.js +1 -1
- package/.next/server/chunks/_1q65ai1_dwgjp._.js +1 -1
- package/.next/server/chunks/_1qcv4muwnx82-._.js +3 -0
- package/.next/server/chunks/_1s5-ldt8xhtpp._.js +1 -1
- package/.next/server/chunks/_1s55l1bx-1cxp._.js +1 -1
- package/.next/server/chunks/_1sp0xk1c5jx5r._.js +1 -1
- package/.next/server/chunks/_1srq5kxah38r6._.js +1 -1
- package/.next/server/chunks/_1t632kndbc0tj._.js +3 -0
- package/.next/server/chunks/_1tahh9ric8la3._.js +1 -1
- package/.next/server/chunks/_1tvl0cm629nyc._.js +1 -1
- package/.next/server/chunks/_1u6r2cuueltfn._.js +3 -0
- package/.next/server/chunks/{_1-6i59jd1zhly._.js → _1vddun9dxzaqo._.js} +11 -7
- package/.next/server/chunks/_1xpj9uk-9zhl8._.js +1 -1
- package/.next/server/chunks/_1xx5l4x084brt._.js +3 -0
- package/.next/server/chunks/_1z_ujac_e_65s._.js +1 -1
- package/.next/server/chunks/_1zbkha-v5mkk0._.js +3 -0
- package/.next/server/chunks/_1zvf_gki7-g0n._.js +1 -1
- package/.next/server/chunks/{_0r0hnbjdq-k9-._.js → _20snsd6f1xc63._.js} +2 -2
- package/.next/server/chunks/_20tjujotvor53._.js +1 -1
- package/.next/server/chunks/node_modules_zod_v4_classic_external_0qoqh-q5drsgn.js +4 -4
- package/.next/server/chunks/node_modules_zod_v4_classic_external_14kwlambv9opd.js +3 -0
- package/.next/server/chunks/node_modules_zod_v4_classic_external_17gmk506tz413.js +3 -0
- package/.next/server/chunks/node_modules_zod_v4_classic_external_1b_q1zc0x8d76.js +3 -0
- package/.next/server/chunks/node_modules_zod_v4_classic_external_1exeae-p81c94.js +3 -0
- package/.next/server/chunks/node_modules_zod_v4_classic_external_1giv406od1whf.js +3 -0
- package/.next/server/chunks/node_modules_zod_v4_classic_external_1wq100x5o7-hi.js +3 -0
- package/.next/server/chunks/node_modules_zod_v4_classic_external_1x8fhte3frhrw.js +3 -0
- package/.next/server/chunks/src_lib_0dxltm34zaclb._.js +3 -0
- package/.next/server/chunks/src_lib_0g4wu08m-gibu._.js +3 -0
- package/.next/server/chunks/src_lib_0l0j89xrerf8m._.js +3 -0
- package/.next/server/chunks/src_lib_0osgsup3n2ypg._.js +3 -0
- package/.next/server/chunks/src_lib_0so-2topfosjo._.js +3 -0
- package/.next/server/chunks/src_lib_0whd_w99i5vmm._.js +3 -0
- package/.next/server/chunks/src_lib_0z4je8wchtdws._.js +3 -0
- package/.next/server/chunks/src_lib_0zeksho3data7._.js +3 -0
- package/.next/server/chunks/src_lib_15op6xa369-51._.js +3 -0
- package/.next/server/chunks/src_lib_1_m3-y2t3e4xi._.js +143 -131
- package/.next/server/chunks/src_lib_1d0nldjpxxl8t._.js +3 -0
- package/.next/server/chunks/src_lib_1d99xj4d-pofa._.js +3 -0
- package/.next/server/chunks/src_lib_1v7rk87xys5cb._.js +3 -0
- package/.next/server/chunks/src_lib_1w0niu4i8hnaq._.js +3 -0
- package/.next/server/chunks/src_lib_ai_index_ts_0m0hlq4d9zy9i._.js +1 -1
- package/.next/server/chunks/src_lib_exam_1vzmn90_kh7eg._.js +3 -0
- package/.next/server/chunks/src_lib_exam_exam_ts_18c3t7bnr1z5k._.js +3 -0
- package/.next/server/chunks/src_lib_import_import-batches_ts_0nq3mn0v5uj28._.js +5 -0
- package/.next/server/chunks/src_lib_import_import-tasks_ts_01f-g_upv7llt._.js +3 -0
- package/.next/server/chunks/src_lib_mastery-status_ts_0e9jnp-14tby5._.js +3 -0
- package/.next/server/chunks/src_lib_minimax-code_checkin_ts_1j1mpuxc1vgoz._.js +1 -1
- package/.next/server/chunks/src_lib_notebook-scope_ts_06eipvr6xztlf._.js +3 -0
- package/.next/server/chunks/src_lib_question_0uw17e6at-i_h._.js +3 -0
- package/.next/server/chunks/src_lib_question_question-analysis_ts_1-3x2cfxlr3fs._.js +3 -0
- package/.next/server/chunks/src_lib_question_question-deduplication_ts_0gumctesi3szc._.js +3 -0
- package/.next/server/chunks/src_lib_recoverable-response_ts_00y54idhlj_0e._.js +3 -0
- package/.next/server/chunks/src_lib_schemas_error-items_ts_0vdof4417rd3y._.js +3 -0
- package/.next/server/chunks/src_lib_short-id_0adg7-htn2dq_._.js +3 -0
- package/.next/server/chunks/src_lib_svg-animation_ts_0-noskwg6sysg._.js +3 -0
- package/.next/server/chunks/src_lib_tags_retag_ts_09s5xwrzcy144._.js +3 -0
- package/.next/server/chunks/src_lib_tags_seed_1_ej3w-2450a0._.js +3 -0
- package/.next/server/chunks/src_lib_tts_19zri-v8-l_4u._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__032-uso7x2eqk._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0ks-9bza_y-tn._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0te5kr0_7nmrv._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0uezowk-9l0x4._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0x4us8rfvt68s._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0mqo18mv_ooyq._.js → [root-of-the-server]__0xjcdrflb40xr._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__0x_ihemma9171._.js → [root-of-the-server]__0z7upqzuqtse6._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__10y8dor72926b._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__12jk2bmesr4gc._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1rrcp_77jpv98._.js +3 -0
- package/.next/server/chunks/ssr/_05k02824g2tpo._.js +3 -0
- package/.next/server/chunks/ssr/_0cmd1ubdlo_by._.js +1 -1
- package/.next/server/chunks/ssr/_0fp_p60hb9ex8._.js +3 -0
- package/.next/server/chunks/ssr/_0gsk7ce3mjc-h._.js +3 -0
- package/.next/server/chunks/ssr/_0haie2cnycj6w._.js +32 -0
- package/.next/server/chunks/ssr/{_01qu892bisrf0._.js → _0j-r3zhz2ucmg._.js} +2 -2
- package/.next/server/chunks/ssr/_0m1jjbrzk71io._.js +3 -0
- package/.next/server/chunks/ssr/_0mvuvawj5-r--._.js +1 -1
- package/.next/server/chunks/ssr/_0rd-teluypcd2._.js +1 -1
- package/.next/server/chunks/ssr/_0xlbgtld9_r3o._.js +3 -0
- package/.next/server/chunks/ssr/{_186fwf-hcr_ua._.js → _101w__e2w9gr0._.js} +2 -2
- package/.next/server/chunks/ssr/_126p5i1ynlykc._.js +3 -0
- package/.next/server/chunks/ssr/_127aw5h992s9d._.js +4 -0
- package/.next/server/chunks/ssr/_19hxsrrruepym._.js +1 -1
- package/.next/server/chunks/ssr/_1bhvzfiuz3s7j._.js +3 -0
- package/.next/server/chunks/ssr/_1d3pxsso6zv_w._.js +3 -0
- package/.next/server/chunks/ssr/_1hp3fw-gk2r-3._.js +3 -0
- package/.next/server/chunks/ssr/_1k45xb7mu-emd._.js +3 -0
- package/.next/server/chunks/ssr/_1lltqgoq4vqfe._.js +3 -0
- package/.next/server/chunks/ssr/_1ore70w45768b._.js +3 -0
- package/.next/server/chunks/ssr/{_1xv0q8o3g3r5d._.js → _1s3gqrczubor-._.js} +2 -2
- package/.next/server/chunks/ssr/_1t-o815u40ng2._.js +3 -0
- package/.next/server/chunks/ssr/{_1pdnzaad7hk0d._.js → _1x_zn17exkc4t._.js} +2 -2
- package/.next/server/chunks/ssr/_1yclgq1umgl4p._.js +4 -0
- package/.next/server/chunks/ssr/node_modules_08vtqzu_wfcb5._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_0y-9u3ez_29oz._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_109z-y1z_gtxg._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_docx_dist_index_mjs_07znba89yz2vi._.js +3 -0
- package/.next/server/chunks/ssr/{node_modules_heic-to_dist_csp_heic-to_0byqh-lbfcigr.js → node_modules_heic-to_dist_csp_heic-to_1_jdv4y0yz52i.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_heic-to_dist_csp_heic-to_19_dv9gdzg_e7.js → node_modules_heic-to_dist_csp_heic-to_1zqrtb3kykd7q.js} +1 -1
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_printer_mjs_0jbt269gi19_7._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_pdfjs-dist_build_pdf_mjs_0z37jkkqfce7_._.js +47 -0
- package/.next/server/chunks/ssr/node_modules_read-excel-file_universal_index_0ayslfrutmja5.js +3 -0
- package/.next/server/chunks/ssr/node_modules_write-excel-file_browser_index_0l2-di6rcng1b.js +3 -0
- package/.next/server/chunks/ssr/node_modules_zod_v4_classic_external_0veaboc415l0m.js +3 -3
- package/.next/server/chunks/ssr/src_0_qzoo_03n_v-._.js +3 -0
- package/.next/server/chunks/ssr/src_130ww76krpws_._.js +1 -1
- package/.next/server/chunks/ssr/src_1gayunqs8u2e2._.js +1 -1
- package/.next/server/chunks/ssr/src_1nbi4yrww3r1m._.js +3 -0
- package/.next/server/chunks/ssr/{src_1jhctayt9gxoc._.js → src_1o5f_wr8vv-x0._.js} +2 -2
- package/.next/server/chunks/ssr/src_1rmus42s388dk._.js +3 -0
- package/.next/server/chunks/ssr/src_1seqsa8jiwu83._.js +3 -0
- package/.next/server/chunks/ssr/src_1xvnkkhvub372._.js +1 -1
- package/.next/server/chunks/ssr/src_app_error-items_[id]_page_tsx_04xwwdmyh7_9q._.js +1 -1
- package/.next/server/chunks/ssr/src_app_exams_[id]_page_tsx_0xcjflkgkwzgd._.js +1 -1
- package/.next/server/chunks/ssr/src_app_exams_[id]_print_page_tsx_1i-xvhk8ul1l1._.js +11 -6
- package/.next/server/chunks/ssr/src_app_exams_page_tsx_17_d4_gy2i1ds._.js +1 -1
- package/.next/server/chunks/ssr/src_app_import-batches_[id]_page_tsx_0mhg_vriwmkkw._.js +1 -1
- package/.next/server/chunks/ssr/src_app_import-tasks_[id]_page_tsx_0_grj11-jdqqc._.js +1 -1
- package/.next/server/chunks/ssr/src_app_import-tasks_page_tsx_01983hytm-x08._.js +1 -1
- package/.next/server/chunks/ssr/src_app_notebooks_[id]_add_page_tsx_179tow1ql6vc_._.js +1 -1
- package/.next/server/chunks/ssr/src_app_notebooks_[id]_page_tsx_08njm-5-txm8_._.js +1 -1
- package/.next/server/chunks/ssr/src_app_notebooks_page_tsx_1p9src5gnz_40._.js +1 -1
- package/.next/server/chunks/ssr/src_app_page_tsx_1chiuahujsxm1._.js +6 -1
- package/.next/server/chunks/ssr/src_app_print-preview_page_tsx_001yt-fzrj7tf._.js +1 -1
- package/.next/server/chunks/ssr/src_components_correction-editor_tsx_1p7z02t66tndx._.js +3 -3
- package/.next/server/chunks/ssr/src_components_error-list_error-item-card_tsx_1zsiqsrj-jjd7._.js +1 -1
- package/.next/server/chunks/ssr/src_components_exam_exam-figure-scale-bar_tsx_1dxk6lzvp_d28._.js +1 -1
- package/.next/server/chunks/ssr/src_components_import-tasks_import-task-card_tsx_01r47qh8ryspb._.js +1 -1
- package/.next/server/chunks/ssr/src_components_providers_tsx_09kw-mv3nb6xs._.js +15 -10
- package/.next/server/chunks/ssr/src_components_ui_switch_tsx_054tyo61pehla._.js +3 -0
- package/.next/server/chunks/ssr/src_lib_0773v8b5gb93o._.js +9 -0
- package/.next/server/chunks/ssr/src_lib_1qhs590-z9xnh._.js +9 -0
- package/.next/server/chunks/ssr/src_lib_1z8akixo3j8ti._.js +9 -0
- package/.next/server/chunks/ssr/src_lib_api-client_ts_04r2_ex-gua5i._.js +1 -1
- package/.next/server/chunks/ssr/src_lib_i18n_en_ts_08zkpwnoqey5s._.js +3 -0
- package/.next/server/chunks/ssr/src_lib_short-id_short-id-client_ts_03nnd3s0tat3l._.js +3 -0
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/500.html +1 -1
- package/.next/static/chunks/01zokrwums-fz.js +55 -0
- package/.next/static/chunks/{1pdlii0oox0-7.js → 037g92rz3qjm_.js} +1 -1
- package/.next/static/chunks/040et8v6_v-s6.js +1 -0
- package/.next/static/chunks/{2cfz0fumc6ghe.js → 045cs_rolnmjd.js} +1 -1
- package/.next/static/chunks/079f88y9j6sf-.js +45 -0
- package/.next/static/chunks/0g1lk2opoyqly.js +1 -0
- package/.next/static/chunks/0ge9zqd21b4xd.js +15 -0
- package/.next/static/chunks/0gu34v572tj7o.js +1 -0
- package/.next/static/chunks/0mnb66hvp3czv.js +2 -0
- package/.next/static/chunks/0mun2h4uaj4eh.js +1 -0
- package/.next/static/chunks/{02wft51kf3t9f.js → 0ovv_fq59i4y4.js} +1 -1
- package/.next/static/chunks/0sl4wa-ghh5g7.js +2 -0
- package/.next/static/chunks/0xbohpfp7x9jn.js +1 -0
- package/.next/static/chunks/{31-r0kqqw-wfd.js → 0xwz3h9d_e7kb.js} +1 -1
- package/.next/static/chunks/{0_xcjg47jv3ur.js → 1-qu_z3i5b8ul.js} +1 -1
- package/.next/static/chunks/10hk15u8jc7o1.js +38 -0
- package/.next/static/chunks/113lhm-f9le_y.js +2 -0
- package/.next/static/chunks/{42rupczfyygo1.js → 15zro21ycjjle.js} +1 -1
- package/.next/static/chunks/{3difxy8vzqlxn.js → 1fmrzsulv-ddd.js} +1 -1
- package/.next/static/chunks/{3fh32b9da9l_5.js → 1k2m_f0nu22fb.js} +1 -1
- package/.next/static/chunks/1uso50ewx5j8v.js +1 -0
- package/.next/static/chunks/1vtq_er8xir3c.css +3 -0
- package/.next/static/chunks/1y0cjudvnz4la.js +6 -0
- package/.next/static/chunks/20f7m1txoey_w.js +1 -0
- package/.next/static/chunks/21ghhv1twe4or.js +12 -0
- package/.next/static/chunks/23h8i_poncr7i.js +1 -0
- package/.next/static/chunks/28bc-wd48lcls.js +1 -0
- package/.next/static/chunks/2acga0__tn9yl.js +1 -0
- package/.next/static/chunks/2j3bisradcgfv.js +1 -0
- package/.next/static/chunks/2lhxk-8dpncxq.js +1 -0
- package/.next/static/chunks/2xww3vrggzkc3.js +15 -0
- package/.next/static/chunks/3-5otbeiq86n5.js +1 -0
- package/.next/static/chunks/31uxxyexyu66p.js +198 -0
- package/.next/static/chunks/33z7oz1790x50.js +1 -0
- package/.next/static/chunks/37309r9ttt-oa.js +1 -0
- package/.next/static/chunks/3_w-p8241f5rv.js +1 -0
- package/.next/static/chunks/{1uaqnxl-xshw6.js → 3f9t8cne6yfyl.js} +1 -1
- package/.next/static/chunks/{3wch6vphcivq5.js → 3j92h-4k4_o_f.js} +1 -1
- package/.next/static/chunks/3jkntcd5fwsid.js +1 -0
- package/.next/static/chunks/3ldaxwwj8i1r_.js +9 -0
- package/.next/static/chunks/3nq-bgq8lumv9.js +1 -0
- package/.next/static/chunks/{4441xuc3i-yb7.js → 3rnbnqcge4lza.js} +1 -1
- package/.next/static/chunks/3t9tbm4atwmw8.js +1 -0
- package/.next/static/chunks/3u-qpv02dkpmu.js +1 -0
- package/.next/static/chunks/438pvifm_o4g_.js +1 -0
- package/.next/static/media/pdf.worker.min.0zcq5mj7t-qsr.mjs +28 -0
- package/dist-scripts/scripts/rebuild-system-tags.js +11 -107
- package/dist-scripts/scripts/seed-chinese-primary.js +1 -1
- package/dist-scripts/src/lib/logger.js +1 -0
- package/dist-scripts/src/lib/tags/seed/rebuild.js +103 -0
- package/dist-scripts/src/lib/{seed-chinese-tags.js → tags/seed/seed-chinese-tags.js} +2 -1
- package/package.json +1 -1
- package/prisma/migrations/20261104033404_add_question_type/migration.sql +2 -0
- package/prisma/migrations/20261104040208_exam_question_score/migration.sql +2 -0
- package/prisma/migrations/20261104044246_exam_group_by_question_type/migration.sql +29 -0
- package/prisma/schema.prisma +7 -0
- package/prisma/seed.db +0 -0
- package/.next/server/chunks/[root-of-the-server]__012pau7crikop._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__01jc87mm42cex._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__01newhoirvvb2._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__02oqd6w58wymi._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__057qz9ucs7lib._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__06_pvs6rg70ri._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__06jad9cnzeci-._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0_uvtfu0yr-na._.js +0 -27
- package/.next/server/chunks/[root-of-the-server]__0_vinl1oembls._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0ahni9caaouya._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0aq01totjzgkp._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0b5mh_vi6e246._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0b5qyqwq6mk5v._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0b79cd6lae7ep._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0b_zf20owrv7l._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0cel4yig3zcho._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0cu5jz9b3f0i1._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0d818ux928r5h._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0dclcdg0hwxxj._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0e13o3ny66zb3._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0fg20m1i6x4y9._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0fhy87hr0_glw._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0fnte1x8xdn5o._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0glupa52ge074._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0gphporvvjc0d._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0gs7-3gi0pdws._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0i2mt6zjxbq--._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0ijq_d0gr5zo8._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0iqp1f0-yvbhw._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0jk-9m6ra-_um._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0jvusk64khb-a._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0k0c90ih7n0te._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0maxg52nxqrzi._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0ml-m3il4unb6._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0nkrql6or-tf_._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0nujsu6qbn-8o._.js +0 -27
- package/.next/server/chunks/[root-of-the-server]__0ovdiut1h8kkt._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0p5_lv_pjxr5f._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0p8wlug4uvmvi._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0ptn9j1rleieh._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0r7f34_38kmvk._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0u3m78xhq8b3l._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0ualui9b50ufh._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0ujfft7untkmq._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0vw7u-y__gk7p._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0w53aflmo1keg._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0wdjzoxwwh6bn._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0wx65sza19ou-._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0xj_313186tqc._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0yv_kznxz5qzn._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0zldj8zxo-hvc._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1-djdd7tnb-n7._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__109pj952qxtan._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__10gp75p89v9a2._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__111jxitdjhuoj._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__112w8xm57okk5._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__12h4ckd6f76pb._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__12ig6-5hpb7s-._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__13_k7w8nrx7ie._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__14c50fhuh_abo._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__14jpfgwnpc9gl._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__14m8fewwq1xs6._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__15qkqztuygnfg._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__166997w1su5wq._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__16xl11-irmhu3._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__19i64i9v32y8o._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__19jqc7tzna13p._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1asgy7sah0mo6._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1av1l48rnghpa._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1azaa45m60iqm._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1d159cxbdta68._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1dmp3ynxbcyjz._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1dom1le7wqh7d._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1e5tjfwab0exu._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1f-7-l2abs15s._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1fe2v2mv5-rgo._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1fepss7g57apj._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1ff3h7ockrpdf._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1g11271g0z55n._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1g6jrwm72xr8a._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1he8kk4382-0h._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1hk5kgctlp2wn._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1j44_t992y-1-._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1k4f33-z95_7c._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1k4pnhbw4rgzs._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1kx3a0dm7l2wl._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1lea5m7hl1n7f._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1m7pja8jp27eh._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1m_y4afrn94oy._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1ruzcenko2gi1._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1sf2oa2wkqf_0._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1t6aypqxgjkg_._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1tffqae521gxo._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1to25zgnk7xk-._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1u5c7agj_phnb._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1vbof6uu4he_-._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1wfhdwfdvc6j3._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1y0n2tg-0l636._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1zc0bmdyn1lg4._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1zqfz2rc4i280._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__207c97dbcdb0z._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__20cdqectwle3j._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__20dy4zclqbnw8._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__212aaltyh6kc2._.js +0 -3
- package/.next/server/chunks/_01y7-j4vx6cu5._.js +0 -3
- package/.next/server/chunks/_0_rhee7wb6tcg._.js +0 -3
- package/.next/server/chunks/_0at03z7sgwdv3._.js +0 -3
- package/.next/server/chunks/_0ge95_bkwrkmc._.js +0 -3
- package/.next/server/chunks/_0lj59y-ytysr5._.js +0 -3
- package/.next/server/chunks/_0v762_h-sp94d._.js +0 -3
- package/.next/server/chunks/_0vshwghrjetxu._.js +0 -3
- package/.next/server/chunks/_0z0zrluul2idw._.js +0 -3
- package/.next/server/chunks/_1a1oatugfke1p._.js +0 -3
- package/.next/server/chunks/_1ex6ovo_j2jzv._.js +0 -3
- package/.next/server/chunks/_1fgb9ve_nfat4._.js +0 -3
- package/.next/server/chunks/_1fsfy4c3rj36b._.js +0 -3
- package/.next/server/chunks/_1hc_es1a3cl6a._.js +0 -3
- package/.next/server/chunks/_1m-yyz-pl9-03._.js +0 -3
- package/.next/server/chunks/_1ns6y6y2tq8sh._.js +0 -3
- package/.next/server/chunks/_1yujnc0thk8ab._.js +0 -3
- package/.next/server/chunks/_211va-dk9519v._.js +0 -3
- package/.next/server/chunks/src_lib_0_g_0q-n01g-x._.js +0 -3
- package/.next/server/chunks/src_lib_0au5a9-5rxkab._.js +0 -3
- package/.next/server/chunks/src_lib_0d7kmnt7v2np8._.js +0 -3
- package/.next/server/chunks/src_lib_0fedb0fkc3km1._.js +0 -3
- package/.next/server/chunks/src_lib_0okewfjk6p2ci._.js +0 -3
- package/.next/server/chunks/src_lib_0ptvn4_15zxu0._.js +0 -3
- package/.next/server/chunks/src_lib_0rb6u4i7kn30r._.js +0 -3
- package/.next/server/chunks/src_lib_0svj7bkzyw9oc._.js +0 -3
- package/.next/server/chunks/src_lib_10is5pyogge95._.js +0 -3
- package/.next/server/chunks/src_lib_12j7n__96zd0q._.js +0 -3
- package/.next/server/chunks/src_lib_13hd5uoi-53hn._.js +0 -3
- package/.next/server/chunks/src_lib_1chbt4n9_vpoj._.js +0 -3
- package/.next/server/chunks/src_lib_1geq39r7va9gy._.js +0 -3
- package/.next/server/chunks/src_lib_1h4xeb9lyx31r._.js +0 -3
- package/.next/server/chunks/src_lib_1mno8g5cqmaet._.js +0 -3
- package/.next/server/chunks/src_lib_1qvj-3jt4jbq7._.js +0 -3
- package/.next/server/chunks/src_lib_1smlosz37xitx._.js +0 -3
- package/.next/server/chunks/src_lib_1squodf4swo_a._.js +0 -3
- package/.next/server/chunks/src_lib_1uei_xjjj3g7_._.js +0 -3
- package/.next/server/chunks/src_lib_1vt5vsj108u_q._.js +0 -3
- package/.next/server/chunks/src_lib_api-errors_ts_1gfd4ojz7efro._.js +0 -3
- package/.next/server/chunks/src_lib_exam_ts_0d3a4q4r41hcf._.js +0 -3
- package/.next/server/chunks/src_lib_figure-scale_ts_215n0ebzz7mr7._.js +0 -3
- package/.next/server/chunks/src_lib_import-batches_ts_0aekmggdwo_9-._.js +0 -3
- package/.next/server/chunks/src_lib_import-tasks_ts_1f4ejsy00-v1t._.js +0 -3
- package/.next/server/chunks/src_lib_question-analysis_ts_15_8r_pxmtd06._.js +0 -3
- package/.next/server/chunks/src_lib_question-deduplication_ts_1p1bik-vwl9ue._.js +0 -3
- package/.next/server/chunks/src_lib_retag_ts_0eu8ld_86kt3a._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__00_c9kpvx5075._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__03208_liub81h._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__08j-3_6cl3898._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0ht0nkzazbnl9._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0r18qmblwuijm._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0sb3jhytba2xr._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1o5pa8m50qyqa._.js +0 -3
- package/.next/server/chunks/ssr/_01rfvhncgnpvl._.js +0 -3
- package/.next/server/chunks/ssr/_0qgs--x99c558._.js +0 -3
- package/.next/server/chunks/ssr/_0w83jztp72o20._.js +0 -3
- package/.next/server/chunks/ssr/_0zacgi5-qgqwr._.js +0 -3
- package/.next/server/chunks/ssr/_11820i-k62560._.js +0 -3
- package/.next/server/chunks/ssr/_1a4u3f5sc05kb._.js +0 -3
- package/.next/server/chunks/ssr/_1j3yr2arbxd6a._.js +0 -3
- package/.next/server/chunks/ssr/_1qgg_ll5hkjaf._.js +0 -3
- package/.next/server/chunks/ssr/_1ujx-n3muyaxs._.js +0 -32
- package/.next/server/chunks/ssr/_1ux6eqqkupo6v._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_02k42jp0_uoqr._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_17lx40fyvpom3._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_react-image-crop_dist_index_0khmp4mv3j9zr.js +0 -3
- package/.next/server/chunks/ssr/src_0z149pjrheeb7._.js +0 -3
- package/.next/server/chunks/ssr/src_1vhiktxz2_jj3._.js +0 -3
- package/.next/server/chunks/ssr/src_components_exam_exam-status-badge_tsx_0rozdbhlqsq71._.js +0 -3
- package/.next/server/chunks/ssr/src_components_print-preview_answer-space-control_tsx_02kuswyxklzp_._.js +0 -3
- package/.next/server/chunks/ssr/src_lib_0-wirad5ziskp._.js +0 -6
- package/.next/server/chunks/ssr/src_lib_1vv0-aje_e-zh._.js +0 -6
- package/.next/server/chunks/ssr/src_lib_short-id-client_ts_1v7n6pg50kguj._.js +0 -3
- package/.next/static/chunks/0-hqh6zs3hidn.js +0 -12
- package/.next/static/chunks/02xikk3wlibg1.js +0 -1
- package/.next/static/chunks/0e6ximjg-pqgt.js +0 -1
- package/.next/static/chunks/0wcwopwk4us6h.js +0 -9
- package/.next/static/chunks/0x9-b30mhne-_.js +0 -1
- package/.next/static/chunks/0y5zywo-ll2w3.js +0 -1
- package/.next/static/chunks/17-num1x7o1m2.js +0 -1
- package/.next/static/chunks/1746y345zti-9.js +0 -33
- package/.next/static/chunks/17dk_oppf9-hv.js +0 -12
- package/.next/static/chunks/1egd1e1483_lj.js +0 -1
- package/.next/static/chunks/1o_q928xcfjs3.js +0 -1
- package/.next/static/chunks/25flylmb_qz91.js +0 -1
- package/.next/static/chunks/2924d0kl-68z7.js +0 -193
- package/.next/static/chunks/2cpsg6e2vg7fx.css +0 -3
- package/.next/static/chunks/2ebh36q8lvor_.js +0 -1
- package/.next/static/chunks/2j0linvpqza7u.js +0 -55
- package/.next/static/chunks/2qqyq-iqkv_oa.js +0 -9
- package/.next/static/chunks/2r5aeenvfl93p.js +0 -1
- package/.next/static/chunks/38vt_4ntvy02e.js +0 -1
- package/.next/static/chunks/3c3cp7uzfhnyr.js +0 -1
- package/.next/static/chunks/3gy-_kb72v5lr.js +0 -1
- package/.next/static/chunks/3oz37kz8n7y3b.js +0 -1
- package/.next/static/chunks/3s_fq__cff-ps.js +0 -2
- package/.next/static/chunks/3tv07cyoo_hat.js +0 -1
- /package/.next/static/{E10D9dv115hLNvX7vE6qA → bFQJMw9c1NJ6NSOY8pN2N}/_buildManifest.js +0 -0
- /package/.next/static/{E10D9dv115hLNvX7vE6qA → bFQJMw9c1NJ6NSOY8pN2N}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{E10D9dv115hLNvX7vE6qA → bFQJMw9c1NJ6NSOY8pN2N}/_ssgManifest.js +0 -0
- /package/dist-scripts/src/lib/{tag-data → tags/data}/biology.js +0 -0
- /package/dist-scripts/src/lib/{tag-data → tags/data}/chemistry.js +0 -0
- /package/dist-scripts/src/lib/{tag-data → tags/data}/chinese.js +0 -0
- /package/dist-scripts/src/lib/{tag-data → tags/data}/english.js +0 -0
- /package/dist-scripts/src/lib/{tag-data → tags/data}/geography.js +0 -0
- /package/dist-scripts/src/lib/{tag-data → tags/data}/history.js +0 -0
- /package/dist-scripts/src/lib/{tag-data → tags/data}/index.js +0 -0
- /package/dist-scripts/src/lib/{tag-data → tags/data}/math-gaosi.js +0 -0
- /package/dist-scripts/src/lib/{tag-data → tags/data}/math.js +0 -0
- /package/dist-scripts/src/lib/{tag-data → tags/data}/physics.js +0 -0
- /package/dist-scripts/src/lib/{tag-data → tags/data}/politics.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,974881,e=>{"use strict";var t,r,n,i,o,s,a,l,u,c,h,p,d,f,m,w,g,y=e.i(467034),v=Object.create,b=Object.defineProperty,x=Object.getOwnPropertyDescriptor,k=Object.getOwnPropertyNames,_=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty,E=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(e){throw r=[e],e}},A=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),T=(e,t,r)=>(r=null!=e?v(_(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var n,i=k(t),o=0,s=i.length;o<s;o++)n=i[o],S.call(e,n)||void 0===n||b(e,n,{get:(e=>t[e]).bind(null,n),enumerable:!(r=x(t,n))||r.enumerable});return e})(!t&&e&&e.__esModule&&S.call(e,"default")?r:b(r,"default",{value:e,enumerable:!0}),e)),C=e.z;function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function R(e,t,r){var n;return(n=function(e,t){if("object"!=I(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=I(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==I(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var O=class{constructor(e){R(this,"rootKey",void 0),this.rootKey=e}get writtenAs(){}},P=e=>e instanceof O||"object"==typeof e&&null!==e&&"function"==typeof e.prepForXml,N=e=>P(e)?e.rootKey:void 0,F=Object.seal({}),M=class extends O{constructor(e){super(e),R(this,"root",void 0),this.root=[]}prepForXml(e){var t;e.stack.push(this);let r=this.root.flatMap(t=>{if(P(t)){let r=t.writtenAs;return r?r.map(t=>t.prepForXml(e)):t.prepForXml(e)}return t}).filter(e=>void 0!==e);return e.stack.pop(),{[this.rootKey]:r.length?1===r.length&&(null==(t=r[0])?void 0:t._attr)?r[0]:r:F}}addChildElement(e){return this.root.push(e),this}},L=class extends M{constructor(e,t){super(e),R(this,"includeIfEmpty",void 0),this.includeIfEmpty=t}prepForXml(e){let t=super.prepForXml(e);return this.includeIfEmpty||t&&("object"!=typeof t[this.rootKey]||Object.keys(t[this.rootKey]).length)?t:void 0}};function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?B(Object(r),!0).forEach(function(t){R(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var j=class extends O{constructor(e){super("_attr"),R(this,"root",void 0),R(this,"xmlKeys",void 0),this.root=e}prepForXml(e){let t={};return Object.entries(this.root).forEach(([e,r])=>{void 0!==r&&(t[this.xmlKeys&&this.xmlKeys[e]||e]=r)}),{_attr:t}}},U=class extends O{constructor(e){super("_attr"),R(this,"root",void 0),this.root=e}prepForXml(e){return{_attr:Object.values(this.root).filter(({value:e})=>void 0!==e).reduce((e,{key:t,value:r})=>D(D({},e),{},{[t]:r}),{})}}},z=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"})}};function W(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.includes(r)||({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var $=["elements"],H=new Map([["amp","&"],["lt","<"],["gt",">"],["quot",'"'],["apos","'"]]),G=/&([^;]*);?/g,K=e=>-1===e.indexOf("&")?e:e.replace(G,(t,r)=>{if(!t.endsWith(";"))throw Error(`Invalid XML: "&" that starts no entity, in "${e}"`);let n=H.get(r);if(void 0!==n)return n;let i=/^#x[0-9a-f]+$/i.test(r)?parseInt(r.slice(2),16):/^#[0-9]+$/.test(r)?parseInt(r.slice(1),10):0/0;if(!(i>0&&i<=1114111))throw Error(`Invalid XML: unknown entity "${t}"`);return String.fromCodePoint(i)}),V=e=>" "===e||"\n"===e||" "===e||"\r"===e,X=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g,Z=e=>Object.fromEntries([...e.matchAll(X)].map(([,e,t,r])=>[e,null!=t?t:r])),q=(e,{keepWhitespaceText:t=!1}={})=>{let r={},n=[],i=+(65279===e.charCodeAt(0));for(;i<e.length&&V(e[i]);)i++;let o=e=>{var t;let i=0===n.length?r:n[n.length-1];(null!=(t=i.elements)?t:i.elements=[]).push(e)},s=e=>{if(""===e.trim()){""!==e&&t&&o({type:"text",text:e});return}if(0===n.length)throw Error(`Invalid XML: text outside of the root element, "${e.trim()}"`);o({type:"text",text:K(e)})},a=(t,r,n)=>{let i=e.indexOf(t,r);if(-1===i)throw Error(`Invalid XML: ${n} that isn't closed`);return i};for(;i<e.length;){let t=e.indexOf("<",i);if(s(e.slice(i,-1===t?e.length:t)),-1===t)break;if(e.startsWith("<?",t)){let n=a("?>",t+2,"processing instruction"),s=e.slice(t+2,n),l=s.search(/\s/),u=-1===l?s:s.slice(0,l),c=-1===l?"":s.slice(l).trimStart();if("xml"===u.toLowerCase()){let e=Z(c);r.declaration=Object.keys(e).length>0?{attributes:e}:{}}else o({type:"instruction",name:u,instruction:c});i=n+2}else if(e.startsWith("<!--",t)){let r=a("-->",t+4,"comment"),n=e.slice(t+4,r);""!==n&&o({type:"comment",comment:n}),i=r+3}else if(e.startsWith("<![CDATA[",t)){let r=a("]]>",t+9,"CDATA section"),n=e.slice(t+9,r);""!==n&&o({type:"cdata",cdata:n}),i=r+3}else if(e.startsWith("<!DOCTYPE",t)){let r,n=t+9,s=!1;for(;n<e.length;n++){let t=e[n];if(void 0!==r)r=t===r?void 0:r;else if('"'===t||"'"===t)r=t;else if("["===t)s=!0;else if("]"===t)s=!1;else if(">"===t&&!s)break}if(n===e.length)throw Error("Invalid XML: DOCTYPE that isn't closed");o({type:"doctype",doctype:e.slice(t+9,n).replace(/^ /,"")}),i=n+1}else if(e.startsWith("</",t)){let r=a(">",t+2,"closing tag"),o=e.slice(t+2,r).trimEnd(),s=n.pop();if((null==s?void 0:s.name)!==o){var l;throw Error(`Invalid XML: closing tag </${o}> doesn't match <${null!=(l=null==s?void 0:s.name)?l:""}>`)}i=r+1}else i=J(e,t+1,(e,t)=>{o(e),t||n.push(e)})}if(n.length>0)throw Error(`Invalid XML: <${n[n.length-1].name}> isn't closed`);let{elements:u}=r,c=W(r,$);return void 0===u?c:D(D({},c),{},{elements:u})},J=(e,t,r)=>{let n=t;for(;n<e.length&&!V(e[n])&&"/"!==e[n]&&">"!==e[n];)n++;let i=e.slice(t,n);if(""===i)throw Error("Invalid XML: tag without a name");let o=[],s=n;for(;;){for(;s<e.length&&V(e[s]);)s++;if(s>=e.length)throw Error(`Invalid XML: <${i}> that isn't closed`);if(">"===e[s]||e.startsWith("/>",s)){let t="/"===e[s];return r(D({type:"element",name:i},o.length>0?{attributes:Object.fromEntries(o)}:{}),t),s+(t?2:1)}let t=e.indexOf("=",s),n=e.slice(s,-1===t?e.length:t).trimEnd();if(-1===t||""===n||/[\s/>]/.test(n))throw Error(`Invalid XML: attribute of <${i}> without a value`);let a=t+1;for(;a<e.length&&V(e[a]);)a++;let l=e[a];if('"'!==l&&"'"!==l)throw Error(`Invalid XML: value of ${n} on <${i}> isn't quoted`);let u=e.indexOf(l,a+1);if(-1===u)throw Error(`Invalid XML: value of ${n} on <${i}> isn't closed`);o.some(([e])=>e===n)||o.push([n,K(e.slice(a+1,u))]),s=u+1}},Y=new Map([["&","&"],['"',"""],["'","'"],["<","<"],[">",">"]]),Q=e=>e.replace(/[&"'<>]/g,e=>Y.get(e)),ee=e=>"string"==typeof e?Q(e):e,et=(e,t,r)=>{let n=Object.keys(e)[0],i=void 0===n?void 0:e[n],o=[],s=[],a=e=>{for(let[t,r]of Object.entries(e))o.push(`${t}="${String(ee(r))}"`)};if("object"==typeof i){if(null!==i){let{_attr:e,_cdata:n}=i;if(e&&a(e),n&&s.push(`<![CDATA[${n.replace(/\]\]>/g,"]]]]><![CDATA[>")}]]>`),Array.isArray(i)){let e=!1;for(let n of(s.push(""),i))"object"==typeof n?"_attr"===Object.keys(n)[0]?a(n._attr):s.push(et(n,t,r+1)):(s.pop(),e=!0,s.push(ee(n)));e||s.push("")}}}else s.push(ee(i));return{name:n,attributes:o,content:s,indents:r>1?t.repeat(r-1):""}},er=(e,t,r)=>{if("object"!=typeof e)return String(e);let{name:n,attributes:i,content:o,indents:s}=e,{length:a}=o,l=s+(n?`<${n}`:"")+(i.length>0?` ${i.join(" ")}`:"")+(a>0?n?">":"":"/>")+(t&&a>1?"\n":"");return 0===a?l+(t?"\n":""):l+o.map(e=>void 0===e?"":er(e,t,!1)).join("")+(a>1?s:"")+(n?`</${n}>`:"")+(t&&!r?"\n":"")},en=(e,{indent:t="",declaration:r}={})=>{let n=Array.isArray(e)?e:[e],i=+!!t,o=(null==r?void 0:r.standalone)?` standalone="${Q(r.standalone)}"`:"";return(void 0===r?"":`<?xml version="1.0" encoding="${Q(r.encoding||"UTF-8")}"${o}?>${t?"\n":""}`)+n.map((e,r)=>er(et(e,t,i),t,r===n.length-1)).join("")},ei=e=>Object.entries(null!=e?e:{}).flatMap(([e,t])=>null==t?[]:[` ${e}="${Q(String(t))}"`]).join(""),eo=e=>{switch(e.type){case"element":{var t,r;let n=null!=(t=e.elements)?t:[],i=`<${e.name}${ei(e.attributes)}`;return n.length>0||(null==(r=e.attributes)?void 0:r["xml:space"])==="preserve"?`${i}>${n.map(eo).join("")}</${e.name}>`:`${i}/>`}case"text":return String(e.text).replace(/[&<>]/g,e=>Y.get(e));case"cdata":return`<![CDATA[${String(e.cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")}]]>`;case"comment":return`<!--${e.comment}-->`;case"doctype":return`<!DOCTYPE ${e.doctype}>`;case"instruction":return`<?${e.name}${e.instruction?` ${e.instruction}`:""}?>`;default:return""}},es=e=>{var t;return(e.declaration?`<?xml${ei(e.declaration.attributes)}?>`:"")+(null!=(t=e.elements)?t:[]).map(eo).join("")},ea=e=>{switch(e.type){case void 0:case"element":let t=new eu(e.name,e.attributes);for(let r of e.elements||[]){let e=ea(r);void 0!==e&&t.push(e)}return t;case"text":return e.text;default:return}},el=class extends j{},eu=class extends M{static fromXmlString(e){return ea(q(e))}constructor(e,t){super(e),t&&this.root.push(new el(t))}push(e){this.root.push(e)}},ec=class extends M{constructor(e){super(""),R(this,"_attr",void 0),this._attr=e}prepForXml(e){return{_attr:this._attr}}},eh=class extends M{constructor(e,t){super(e),t&&(this.root=t.root)}},ep=e=>{if(!Number.isFinite(e))throw Error(`Invalid value '${e}' specified. Must be an integer.`);return Math.floor(e)},ed=e=>{let t=ep(e);if(t<0)throw Error(`Invalid value '${e}' specified. Must be a positive integer.`);return t},ef=(e,t)=>{let r=2*t;if(e.length!==r||isNaN(Number(`0x${e}`)))throw Error(`Invalid hex value '${e}'. Expected ${r} digit hex value`);return e},em=e=>{let t=e.slice(-2),r=e.substring(0,e.length-2);return`${Number(r)}${t}`},ew={in:1440,cm:1440/2.54,mm:1440/25.4,pt:20,pc:240,pi:240},eg=e=>{if("number"==typeof e)return e;let t=e.slice(-2),r=Number(e.substring(0,e.length-2)),n=ew[t];if(void 0===n||Number.isNaN(r))throw Error(`Invalid universal measure '${e}'. Expected a number followed by mm, cm, in, pt, pc or pi.`);return r*n},ey=e=>{let t=em(e);if(0>parseFloat(t))throw Error(`Invalid value '${t}' specified. Expected a positive number.`);return t},ev=e=>"auto"===e?e:ef("#"===e.charAt(0)?e.substring(1):e,3),eb=e=>"string"==typeof e?em(e):ep(e),ex=e=>"string"==typeof e?ey(e):ed(e),ek=e=>{let t;return"number"==typeof e?ep(e):"%"===e.slice(-1)?(t=e.substring(0,e.length-1),`${Number(t)}%`):em(e)},e_=class extends M{constructor(e,t=!0){super(e),!0!==t&&this.root.push(new z({val:t}))}},eS=class extends M{constructor(e,t){super(e),this.root.push(new z({val:"string"==typeof t?ey(t):ed(t)}))}},eE=class extends M{},eA=class extends M{constructor(e,t){super(e),this.root.push(new z({val:t}))}},eT=(e,t)=>new eR({name:e,attributes:{value:{key:"w:val",value:t}}}),eC=class extends M{constructor(e,t){super(e),this.root.push(new z({val:t}))}},eI=class extends M{constructor(e,t){super(e),this.root.push(t)}},eR=class extends M{constructor({name:e,attributes:t,children:r}){super(e),t&&this.root.push(new U(t)),r&&this.root.push(...r)}},eO={START:"start",CENTER:"center",END:"end",BOTH:"both",MEDIUM_KASHIDA:"mediumKashida",DISTRIBUTE:"distribute",NUM_TAB:"numTab",HIGH_KASHIDA:"highKashida",LOW_KASHIDA:"lowKashida",THAI_DISTRIBUTE:"thaiDistribute",LEFT:"left",RIGHT:"right",JUSTIFIED:"both"},eP=e=>new eR({name:"w:jc",attributes:{val:{key:"w:val",value:e}}}),eN={dark1:"dk1",light1:"lt1",dark2:"dk2",light2:"lt2",accent1:"accent1",accent2:"accent2",accent3:"accent3",accent4:"accent4",accent5:"accent5",accent6:"accent6",hyperlink:"hlink",followedHyperlink:"folHlink"},eF={dark2:"44546A",light2:"E7E6E6",accent1:"4472C4",accent2:"ED7D31",accent3:"A5A5A5",accent4:"FFC000",accent5:"5B9BD5",accent6:"70AD47",hyperlink:"0563C1",followedHyperlink:"954F72"},eM={dark1:{value:"windowText",lastColor:"000000"},light1:{value:"window",lastColor:"FFFFFF"}},eL=(e,t)=>{if("auto"===t)throw Error(`Invalid theme color ${e} 'auto'. Expected 6 digit hex value`);return ev(t)},eB=(e={})=>Object.fromEntries(Object.keys(eN).map(t=>{let r=e[t],n="dark1"===t||"light1"===t?eM[t].lastColor:eF[t];return[t,void 0===r?n:eL(t,r)]})),eD=new Set(["dark1","light1","dark2","light2","accent1","accent2","accent3","accent4","accent5","accent6","hyperlink","followedHyperlink"]),ej=new Map([["dk1","dark1"],["lt1","light1"],["dk2","dark2"],["lt2","light2"],["hlink","hyperlink"],["folHlink","followedHyperlink"],["text1","dark1"],["background1","light1"],["text2","dark2"],["background2","light2"]]),eU=(e,t)=>{if(!(e>=0&&e<=100))throw Error(`Invalid ${t} ${e}. Expected a number from 0 to 100`);return Math.round(255*(1-e/100))},ez=e=>void 0===e?void 0:e.toString(16).padStart(2,"0").toUpperCase(),eW=eB(),e$=class extends O{constructor(e){super("_attr"),R(this,"attributes",void 0),this.attributes=e.map(e=>{let t;return"keys"in e?{keys:e.keys,color:void 0===e.color?void 0:"string"==typeof(t=e.color)?{type:"hex",value:ev(t)}:{type:"theme",color:t,change:(({theme:e,lighter:t,darker:r})=>{if(!eD.has(e)){let t=ej.get(e);throw Error(`Invalid theme color "${e}". ${t?`Did you mean "${t}"?`:`Expected one of ${[...eD].join(", ")}`}`)}if(void 0!==t&&void 0!==r)throw Error("Invalid theme color. Expected lighter or darker, not both");let n=void 0===t?void 0:eU(t,"lighter"),i=void 0===r?void 0:eU(r,"darker");return{tint:255===n?void 0:n,shade:255===i?void 0:i}})(t)}}:e})}prepForXml(e){var t,r;let n=null!=(t=null==(r=e.file)||null==(r=r.Theme)?void 0:r.Colors)?t:eW;return{_attr:Object.fromEntries(this.attributes.flatMap(e=>{let t;if(!("keys"in e))return[[e.key,e.value]];if(void 0===e.color)return[];let{keys:r}=e,i=(t=e.color,"hex"===t.type?{color:t.value}:{color:((e,{tint:t,shade:r})=>{if(void 0===t&&void 0===r)return e;let n=(e=>{let[t,r,n]=[0,2,4].map(t=>parseInt(e.slice(t,t+2),16)/255),i=Math.max(t,r,n),o=Math.min(t,r,n),s=(i+o)/2,a=i-o;return 0===a?{hue:0,saturation:0,lightness:s}:{hue:(i===t?((r-n)/a+6)%6:i===r?(n-t)/a+2:(t-r)/a+4)*60,saturation:a/(1-Math.abs(2*s-1)),lightness:s}})(e),i=void 0===t?n.lightness*r/255:n.lightness*t/255+(1-t/255);return(({hue:e,saturation:t,lightness:r})=>{let n=(1-Math.abs(2*r-1))*t,i=n*(1-Math.abs(e/60%2-1)),[o,s,a]=e<60?[n,i,0]:e<120?[i,n,0]:e<180?[0,n,i]:e<240?[0,i,n]:e<300?[i,0,n]:[n,0,i],l=r-n/2;return[o,s,a].map(e=>Math.floor((e+l)*255+1e-9).toString(16).padStart(2,"0")).join("").toUpperCase()})(D(D({},n),{},{lightness:i}))})(n[t.color.theme],t.change),theme:t.color.theme,tint:ez(t.change.tint),shade:ez(t.change.shade)});return[[r.color,i.color],[r.theme,i.theme],[r.tint,i.tint],[r.shade,i.shade]]}).filter(([,e])=>void 0!==e))}}},eH=class extends M{constructor(e,t){super(e),this.root.push(new e$(t))}},eG=(e,t)=>new eH(e,t),eK={color:"w:color",theme:"w:themeColor",tint:"w:themeTint",shade:"w:themeShade"},eV=(e,{color:t,size:r,space:n,style:i})=>eG(e,[{key:"w:val",value:i},{keys:eK,color:t},{key:"w:sz",value:void 0===r?void 0:ed(r)},{key:"w:space",value:void 0===n?void 0:ed(n)}]),eX="single",eZ=class extends L{constructor(e){super("w:pBdr"),e.top&&this.root.push(eV("w:top",e.top)),e.left&&this.root.push(eV("w:left",e.left)),e.bottom&&this.root.push(eV("w:bottom",e.bottom)),e.right&&this.root.push(eV("w:right",e.right)),e.between&&this.root.push(eV("w:between",e.between))}},eq=class extends M{constructor(){super("w:pBdr");let e=eV("w:bottom",{color:"auto",space:1,style:eX,size:6});this.root.push(e)}},eJ=()=>new eR({name:"w:br"}),eY="begin",eQ="separate",e0=(e,t,r)=>new eR({name:"w:fldChar",attributes:{type:{key:"w:fldCharType",value:e},dirty:{key:"w:dirty",value:t},locked:{key:"w:fldLock",value:r}}}),e1=new WeakSet,e2=class extends eR{constructor(){super({name:"w:fldChar",attributes:{type:{key:"w:fldCharType",value:eY},dirty:{key:"w:dirty",value:!0}}})}prepForXml(e){let t=super.prepForXml(e);return e1.add(t),t}},e5=()=>new e2,e6="preserve",e3=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{space:"xml:space"})}},e4=class extends M{constructor(){super("w:instrText"),this.root.push(new e3({space:e6})),this.root.push("PAGE")}},e8=class extends M{constructor(){super("w:instrText"),this.root.push(new e3({space:e6})),this.root.push("NUMPAGES")}},e7=class extends M{constructor(){super("w:instrText"),this.root.push(new e3({space:e6})),this.root.push("SECTIONPAGES")}},e9=class extends M{constructor(){super("w:instrText"),this.root.push(new e3({space:e6})),this.root.push("SECTION")}},te=({fill:e,color:t,type:r})=>eG("w:shd",[{keys:{color:"w:fill",theme:"w:themeFill",tint:"w:themeFillTint",shade:"w:themeFillShade"},color:e},{keys:eK,color:t},{key:"w:val",value:null!=r?r:tt.CLEAR}]),tt={CLEAR:"clear"},tr=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date"})}},tn=class extends M{constructor(e){super("w:del"),this.root.push(new tr({id:e.id,author:e.author,date:e.date}))}},ti=class extends M{constructor(e){super("w:ins"),this.root.push(new tr({id:e.id,author:e.author,date:e.date}))}},to={DOT:"dot"},ts=class extends M{constructor(e){super("w:spacing"),this.root.push(new z({val:eb(e)}))}},ta=class extends M{constructor(e){super("w:color"),this.root.push(new e$([{keys:D(D({},eK),{},{color:"w:val"}),color:e}]))}},tl=class extends M{constructor(e){super("w:highlight"),this.root.push(new z({val:e}))}},tu=(e,t)=>{if("string"==typeof e)return new eR({name:"w:rFonts",attributes:{ascii:{key:"w:ascii",value:e},cs:{key:"w:cs",value:e},eastAsia:{key:"w:eastAsia",value:e},hAnsi:{key:"w:hAnsi",value:e},hint:{key:"w:hint",value:t}}});if("theme"in e){let t="headings"===e.theme?"major":"minor";return new eR({name:"w:rFonts",attributes:{ascii:{key:"w:asciiTheme",value:`${t}HAnsi`},eastAsia:{key:"w:eastAsiaTheme",value:`${t}EastAsia`},hAnsi:{key:"w:hAnsiTheme",value:`${t}HAnsi`},cs:{key:"w:cstheme",value:`${t}Bidi`}}})}return new eR({name:"w:rFonts",attributes:{ascii:{key:"w:ascii",value:e.ascii},cs:{key:"w:cs",value:e.cs},eastAsia:{key:"w:eastAsia",value:e.eastAsia},hAnsi:{key:"w:hAnsi",value:e.hAnsi},hint:{key:"w:hint",value:e.hint}}})},tc=e=>new eR({name:"w:vertAlign",attributes:{val:{key:"w:val",value:e}}}),th={SINGLE:"single"},tp=class extends L{constructor(e){var t,r;let n;if(super("w:rPr"),!e)return;e.style&&this.push(new eA("w:rStyle",e.style)),e.font&&("string"==typeof e.font?this.push(tu(e.font)):"name"in e.font?this.push(tu(e.font.name,e.font.hint)):this.push(tu(e.font))),void 0!==e.bold&&this.push(new e_("w:b",e.bold)),(void 0===e.boldComplexScript&&void 0!==e.bold||e.boldComplexScript)&&this.push(new e_("w:bCs",null!=(t=e.boldComplexScript)?t:e.bold)),void 0!==e.italics&&this.push(new e_("w:i",e.italics)),(void 0===e.italicsComplexScript&&void 0!==e.italics||e.italicsComplexScript)&&this.push(new e_("w:iCs",null!=(r=e.italicsComplexScript)?r:e.italics)),void 0!==e.smallCaps?this.push(new e_("w:smallCaps",e.smallCaps)):void 0!==e.allCaps&&this.push(new e_("w:caps",e.allCaps)),void 0!==e.strike&&this.push(new e_("w:strike",e.strike)),void 0!==e.doubleStrike&&this.push(new e_("w:dstrike",e.doubleStrike)),void 0!==e.emboss&&this.push(new e_("w:emboss",e.emboss)),void 0!==e.imprint&&this.push(new e_("w:imprint",e.imprint)),void 0!==e.noProof&&this.push(new e_("w:noProof",e.noProof)),void 0!==e.snapToGrid&&this.push(new e_("w:snapToGrid",e.snapToGrid)),void 0!==e.vanish&&this.push(new e_("w:vanish",e.vanish)),e.color&&this.push(new ta(e.color)),e.characterSpacing&&this.push(new ts(e.characterSpacing)),void 0!==e.scale&&this.push(new eC("w:w",e.scale)),e.kern&&this.push(new eS("w:kern",e.kern)),e.position&&this.push(new eA("w:position",e.position)),void 0!==e.size&&this.push(new eS("w:sz",e.size));let i=void 0===e.sizeComplexScript||!0===e.sizeComplexScript?e.size:e.sizeComplexScript;i&&this.push(new eS("w:szCs",i)),e.highlight&&this.push(new tl(e.highlight)),e.underline&&this.push(((e=th.SINGLE,t)=>eG("w:u",[{key:"w:val",value:e},{keys:eK,color:t}]))(e.underline.type,e.underline.color)),e.effect&&this.push(new eA("w:effect",e.effect)),e.border&&this.push(eV("w:bdr",e.border)),e.shading&&this.push(te(e.shading)),e.subScript&&this.push(tc("subscript")),e.superScript&&this.push(tc("superscript")),void 0!==e.rightToLeft&&this.push(new e_("w:rtl",e.rightToLeft)),e.emphasisMark&&this.push(((e=to.DOT)=>new eR({name:"w:em",attributes:{val:{key:"w:val",value:e}}}))(e.emphasisMark.type)),e.language&&this.push(new eR({name:"w:lang",attributes:{value:{key:"w:val",value:(n=e.language).value},eastAsia:{key:"w:eastAsia",value:n.eastAsia},bidirectional:{key:"w:bidi",value:n.bidirectional}}})),e.eastAsianLayout&&this.push((({twoLinesInOne:e,brackets:t,horizontalInVertical:r,fitToLine:n,group:i})=>new eR({name:"w:eastAsianLayout",attributes:{id:{key:"w:id",value:void 0===i?void 0:ep(i)},combine:{key:"w:combine",value:e},combineBrackets:{key:"w:combineBrackets",value:t},vert:{key:"w:vert",value:r},vertCompress:{key:"w:vertCompress",value:n}}}))(e.eastAsianLayout)),void 0!==e.specVanish&&this.push(new e_("w:specVanish",e.specVanish)),void 0!==e.math&&this.push(new e_("w:oMath",e.math)),e.revision&&this.push(new tf(e.revision))}push(e){this.root.push(e)}},td=class extends tp{constructor(e){super(e),(null==e?void 0:e.insertion)&&this.push(new ti(e.insertion)),(null==e?void 0:e.deletion)&&this.push(new tn(e.deletion))}},tf=class extends M{constructor(e){super("w:rPrChange"),this.root.push(new tr({id:e.id,author:e.author,date:e.date})),this.addChildElement(new tp(e))}},tm=class extends M{constructor(e){if(super("w:t"),"string"==typeof e)this.root.push(new e3({space:e6})),this.root.push(e);else{var t;this.root.push(new e3({space:null!=(t=e.space)?t:"default"})),this.root.push(e.text)}}},tw=e=>{switch(e){case"CURRENT":return[e0(eY,void 0,void 0),new e4,e0(eQ,void 0),e0("end",void 0)];case"TOTAL_PAGES":return[e0(eY,void 0,void 0),new e8,e0(eQ,void 0),e0("end",void 0)];case"TOTAL_PAGES_IN_SECTION":return[e0(eY,void 0,void 0),new e7,e0(eQ,void 0),e0("end",void 0)];case"SECTION":return[e0(eY,void 0,void 0),new e9,e0(eQ,void 0),e0("end",void 0)];default:return}},tg=class e extends M{constructor(t){if(super("w:r"),R(this,"properties",void 0),R(this,"following",[]),this.properties=new tp(t),this.root.push(this.properties),t.break)for(let e=0;e<t.break;e++)this.root.push(eJ());if(t.children)for(let[r,n]of t.children.entries()){if("w:r"===N(n)){let i=t.children.slice(r+1);this.following=[n,...i.length>0?[new e(D(D({},t),{},{break:void 0,children:i}))]:[]];break}if("string"==typeof n){let i=tw(n);if(i){let n=t.children.slice(r+1),o=r=>new e(D(D({},t),{},{break:void 0,children:r})),s=1===this.root.length;s&&this.root.push(i[0]);let a=s?i.slice(1):i;this.following=[...a.map(e=>o([e])),...n.length>0?[o(n)]:[]];break}this.root.push(new tm(n));continue}this.root.push(n)}else void 0!==t.text&&this.root.push(new tm(t.text))}get writtenAs(){return this.following.length>0?[this,...this.following.flatMap(e=>{var t;return null!=(t=e.writtenAs)?t:e})]:void 0}},ty=class extends tg{constructor(e){super("string"==typeof e?{text:e}:e)}},tv=A((e,t)=>{function r(e,t){if(!e)throw Error(t||"Assertion failed")}t.exports=r,r.equal=function(e,t,r){if(e!=t)throw Error(r||"Assertion failed: "+e+" != "+t)}}),tb=A((e,t)=>{"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}}),tx=A(e=>{var t=tv();function r(e){return(e>>>24|e>>>8&65280|e<<8&0xff0000|(255&e)<<24)>>>0}function n(e){return 1===e.length?"0"+e:e}function i(e){if(7===e.length)return"0"+e;if(6===e.length)return"00"+e;if(5===e.length)return"000"+e;if(4===e.length)return"0000"+e;if(3===e.length)return"00000"+e;else if(2===e.length)return"000000"+e;else if(1===e.length)return"0000000"+e;else return e}e.inherits=tb(),e.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(var n=0,i=0;i<e.length;i++){var o,s,a=e.charCodeAt(i);a<128?r[n++]=a:(a<2048?r[n++]=a>>6|192:((o=e,s=i,(64512&o.charCodeAt(s))!=55296||s<0||s+1>=o.length?1:(64512&o.charCodeAt(s+1))!=56320)?r[n++]=a>>12|224:(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128),r[n++]=a>>6&63|128),r[n++]=63&a|128)}else for(i=0;i<e.length;i++)r[i]=0|e[i];return r},e.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=n(e[r].toString(16));return t},e.htonl=r,e.toHex32=function(e,t){for(var n="",o=0;o<e.length;o++){var s=e[o];"little"===t&&(s=r(s)),n+=i(s.toString(16))}return n},e.zero2=n,e.zero8=i,e.join32=function(e,r,n,i){var o,s=n-r;t(s%4==0);for(var a=Array(s/4),l=0,u=r;l<a.length;l++,u+=4)o="big"===i?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u],a[l]=o>>>0;return a},e.split32=function(e,t){for(var r=Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var o=e[n];"big"===t?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},e.rotr32=function(e,t){return e>>>t|e<<32-t},e.rotl32=function(e,t){return e<<t|e>>>32-t},e.sum32=function(e,t){return e+t>>>0},e.sum32_3=function(e,t,r){return e+t+r>>>0},e.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},e.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},e.sum64=function(e,t,r,n){var i=e[t],o=n+e[t+1]>>>0;e[t]=+(o<n)+r+i>>>0,e[t+1]=o},e.sum64_hi=function(e,t,r,n){return+(t+n>>>0<t)+e+r>>>0},e.sum64_lo=function(e,t,r,n){return t+n>>>0},e.sum64_4_hi=function(e,t,r,n,i,o,s,a){var l,u=t;return e+r+i+s+(l=0+ +((u=u+n>>>0)<t)+ +((u=u+o>>>0)<o)+ +((u=u+a>>>0)<a))>>>0},e.sum64_4_lo=function(e,t,r,n,i,o,s,a){return t+n+o+a>>>0},e.sum64_5_hi=function(e,t,r,n,i,o,s,a,l,u){var c,h=t;return e+r+i+s+l+(c=0+ +((h=h+n>>>0)<t)+ +((h=h+o>>>0)<o)+ +((h=h+a>>>0)<a)+ +((h=h+u>>>0)<u))>>>0},e.sum64_5_lo=function(e,t,r,n,i,o,s,a,l,u){return t+n+o+a+u>>>0},e.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},e.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},e.shr64_hi=function(e,t,r){return e>>>r},e.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}}),tk=A(e=>{var t=tx(),r=tv();function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=n,n.prototype.update=function(e,r){if(e=t.toArray(e,r),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=t.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},n.prototype.digest=function(e){return this.update(this._pad()),r(null===this.pending),this._digest(e)},n.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}}),t_=A(e=>{var t=tx().rotr32;function r(e,t,r){return e&t^e&r^t&r}e.ft_1=function(e,t,n,i){var o;return 0===e?(o=t)&n^~o&i:1===e||3===e?t^n^i:2===e?r(t,n,i):void 0},e.ch32=function(e,t,r){return e&t^~e&r},e.maj32=r,e.p32=function(e,t,r){return e^t^r},e.s0_256=function(e){return t(e,2)^t(e,13)^t(e,22)},e.s1_256=function(e){return t(e,6)^t(e,11)^t(e,25)},e.g0_256=function(e){return t(e,7)^t(e,18)^e>>>3},e.g1_256=function(e){return t(e,17)^t(e,19)^e>>>10}}),tS=A((e,t)=>{var r=tx(),n=tk(),i=t_(),o=r.rotl32,s=r.sum32,a=r.sum32_5,l=i.ft_1,u=n.BlockHash,c=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6];function h(){if(!(this instanceof h))return new h;u.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.W=Array(80)}r.inherits(h,u),t.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=o(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],u=this.h[1],h=this.h[2],p=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var f=~~(n/20),m=a(o(i,5),l(f,u,h,p),d,r[n],c[f]);d=p,p=h,h=o(u,30),u=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],u),this.h[2]=s(this.h[2],h),this.h[3]=s(this.h[3],p),this.h[4]=s(this.h[4],d)},h.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}}),tE=A((e,t)=>{var r=tx(),n=tk(),i=t_(),o=tv(),s=r.sum32,a=r.sum32_4,l=r.sum32_5,u=i.ch32,c=i.maj32,h=i.s0_256,p=i.s1_256,d=i.g0_256,f=i.g1_256,m=n.BlockHash,w=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2];function g(){if(!(this instanceof g))return new g;m.call(this),this.h=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],this.k=w,this.W=Array(64)}r.inherits(g,m),t.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(f(r[n-2]),r[n-7],d(r[n-15]),r[n-16]);var i=this.h[0],m=this.h[1],w=this.h[2],g=this.h[3],y=this.h[4],v=this.h[5],b=this.h[6],x=this.h[7];for(o(this.k.length===r.length),n=0;n<r.length;n++){var k=l(x,p(y),u(y,v,b),this.k[n],r[n]),_=s(h(i),c(i,m,w));x=b,b=v,v=y,y=s(g,k),g=w,w=m,m=i,i=s(k,_)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],m),this.h[2]=s(this.h[2],w),this.h[3]=s(this.h[3],g),this.h[4]=s(this.h[4],y),this.h[5]=s(this.h[5],v),this.h[6]=s(this.h[6],b),this.h[7]=s(this.h[7],x)},g.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}}),tA=A((e,t)=>{var r=tx(),n=tE();function i(){if(!(this instanceof i))return new i;n.call(this),this.h=[0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4]}r.inherits(i,n),t.exports=i,i.blockSize=512,i.outSize=224,i.hmacStrength=192,i.padLength=64,i.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}}),tT=A((e,t)=>{var r=tx(),n=tk(),i=tv(),o=r.rotr64_hi,s=r.rotr64_lo,a=r.shr64_hi,l=r.shr64_lo,u=r.sum64,c=r.sum64_hi,h=r.sum64_lo,p=r.sum64_4_hi,d=r.sum64_4_lo,f=r.sum64_5_hi,m=r.sum64_5_lo,w=n.BlockHash,g=[0x428a2f98,0xd728ae22,0x71374491,0x23ef65cd,0xb5c0fbcf,0xec4d3b2f,0xe9b5dba5,0x8189dbbc,0x3956c25b,0xf348b538,0x59f111f1,0xb605d019,0x923f82a4,0xaf194f9b,0xab1c5ed5,0xda6d8118,0xd807aa98,0xa3030242,0x12835b01,0x45706fbe,0x243185be,0x4ee4b28c,0x550c7dc3,0xd5ffb4e2,0x72be5d74,0xf27b896f,0x80deb1fe,0x3b1696b1,0x9bdc06a7,0x25c71235,0xc19bf174,0xcf692694,0xe49b69c1,0x9ef14ad2,0xefbe4786,0x384f25e3,0xfc19dc6,0x8b8cd5b5,0x240ca1cc,0x77ac9c65,0x2de92c6f,0x592b0275,0x4a7484aa,0x6ea6e483,0x5cb0a9dc,0xbd41fbd4,0x76f988da,0x831153b5,0x983e5152,0xee66dfab,0xa831c66d,0x2db43210,0xb00327c8,0x98fb213f,0xbf597fc7,0xbeef0ee4,0xc6e00bf3,0x3da88fc2,0xd5a79147,0x930aa725,0x6ca6351,0xe003826f,0x14292967,0xa0e6e70,0x27b70a85,0x46d22ffc,0x2e1b2138,0x5c26c926,0x4d2c6dfc,0x5ac42aed,0x53380d13,0x9d95b3df,0x650a7354,0x8baf63de,0x766a0abb,0x3c77b2a8,0x81c2c92e,0x47edaee6,0x92722c85,0x1482353b,0xa2bfe8a1,0x4cf10364,0xa81a664b,0xbc423001,0xc24b8b70,0xd0f89791,0xc76c51a3,0x654be30,0xd192e819,0xd6ef5218,0xd6990624,0x5565a910,0xf40e3585,0x5771202a,0x106aa070,0x32bbd1b8,0x19a4c116,0xb8d2d0c8,0x1e376c08,0x5141ab53,0x2748774c,0xdf8eeb99,0x34b0bcb5,0xe19b48a8,0x391c0cb3,0xc5c95a63,0x4ed8aa4a,0xe3418acb,0x5b9cca4f,0x7763e373,0x682e6ff3,0xd6b2b8a3,0x748f82ee,0x5defb2fc,0x78a5636f,0x43172f60,0x84c87814,0xa1f0ab72,0x8cc70208,0x1a6439ec,0x90befffa,0x23631e28,0xa4506ceb,0xde82bde9,0xbef9a3f7,0xb2c67915,0xc67178f2,0xe372532b,0xca273ece,0xea26619c,0xd186b8c7,0x21c0c207,0xeada7dd6,0xcde0eb1e,0xf57d4f7f,0xee6ed178,0x6f067aa,0x72176fba,0xa637dc5,0xa2c898a6,0x113f9804,0xbef90dae,0x1b710b35,0x131c471b,0x28db77f5,0x23047d84,0x32caab7b,0x40c72493,0x3c9ebe0a,0x15c9bebc,0x431d67c4,0x9c100d4c,0x4cc5d4be,0xcb3e42b6,0x597f299c,0xfc657e2a,0x5fcb6fab,0x3ad6faec,0x6c44198c,0x4a475817];function y(){if(!(this instanceof y))return new y;w.call(this),this.h=[0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179],this.k=g,this.W=Array(160)}r.inherits(y,w),t.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=function(e,t){var r=o(e,t,19)^o(t,e,29)^a(e,t,6);return r<0&&(r+=0x100000000),r}(r[n-4],r[n-3]),u=function(e,t){var r=s(e,t,19)^s(t,e,29)^l(e,t,6);return r<0&&(r+=0x100000000),r}(r[n-4],r[n-3]),c=r[n-14],h=r[n-13],f=function(e,t){var r=o(e,t,1)^o(e,t,8)^a(e,t,7);return r<0&&(r+=0x100000000),r}(r[n-30],r[n-29]),m=function(e,t){var r=s(e,t,1)^s(e,t,8)^l(e,t,7);return r<0&&(r+=0x100000000),r}(r[n-30],r[n-29]),w=r[n-32],g=r[n-31];r[n]=p(i,u,c,h,f,m,w,g),r[n+1]=d(i,u,c,h,f,m,w,g)}},y.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],a=this.h[1],l=this.h[2],p=this.h[3],d=this.h[4],w=this.h[5],g=this.h[6],y=this.h[7],v=this.h[8],b=this.h[9],x=this.h[10],k=this.h[11],_=this.h[12],S=this.h[13],E=this.h[14],A=this.h[15];i(this.k.length===r.length);for(var T=0;T<r.length;T+=2){var C=E,I=A,R=function(e,t){var r=o(e,t,14)^o(e,t,18)^o(t,e,9);return r<0&&(r+=0x100000000),r}(v,b),O=function(e,t){var r=s(e,t,14)^s(e,t,18)^s(t,e,9);return r<0&&(r+=0x100000000),r}(v,b),P=function(e,t,r){var n=e&t^~e&r;return n<0&&(n+=0x100000000),n}(v,x,_),N=function(e,t,r){var n=e&t^~e&r;return n<0&&(n+=0x100000000),n}(b,k,S),F=this.k[T],M=this.k[T+1],L=r[T],B=r[T+1],D=f(C,I,R,O,P,N,F,M,L,B),j=m(C,I,R,O,P,N,F,M,L,B);C=function(e,t){var r=o(e,t,28)^o(t,e,2)^o(t,e,7);return r<0&&(r+=0x100000000),r}(n,a),I=function(e,t){var r=s(e,t,28)^s(t,e,2)^s(t,e,7);return r<0&&(r+=0x100000000),r}(n,a);var U=c(C,I,R=function(e,t,r){var n=e&t^e&r^t&r;return n<0&&(n+=0x100000000),n}(n,l,d),O=function(e,t,r){var n=e&t^e&r^t&r;return n<0&&(n+=0x100000000),n}(a,p,w)),z=h(C,I,R,O);E=_,A=S,_=x,S=k,x=v,k=b,v=c(g,y,D,j),b=h(y,y,D,j),g=d,y=w,d=l,w=p,l=n,p=a,n=c(D,j,U,z),a=h(D,j,U,z)}u(this.h,0,n,a),u(this.h,2,l,p),u(this.h,4,d,w),u(this.h,6,g,y),u(this.h,8,v,b),u(this.h,10,x,k),u(this.h,12,_,S),u(this.h,14,E,A)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}}),tC=A((e,t)=>{var r=tx(),n=tT();function i(){if(!(this instanceof i))return new i;n.call(this),this.h=[0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]}r.inherits(i,n),t.exports=i,i.blockSize=1024,i.outSize=384,i.hmacStrength=192,i.padLength=128,i.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}}),tI=A(e=>{e.sha1=tS(),e.sha224=tA(),e.sha256=tE(),e.sha384=tC(),e.sha512=tT()}),tR=A(e=>{var t=tx(),r=tk(),n=t.rotl32,i=t.sum32,o=t.sum32_3,s=t.sum32_4,a=r.BlockHash;function l(){if(!(this instanceof l))return new l;a.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.endian="little"}function u(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}t.inherits(l,a),e.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(e,t){for(var r=this.h[0],a=this.h[1],l=this.h[2],f=this.h[3],m=this.h[4],w=r,g=a,y=l,v=f,b=m,x=0;x<80;x++){var k,_,S=i(n(s(r,u(x,a,l,f),e[c[x]+t],(k=x)<=15?0:k<=31?0x5a827999:k<=47?0x6ed9eba1:k<=63?0x8f1bbcdc:0xa953fd4e),p[x]),m);r=m,m=f,f=n(l,10),l=a,a=S,S=i(n(s(w,u(79-x,g,y,v),e[h[x]+t],(_=x)<=15?0x50a28be6:_<=31?0x5c4dd124:_<=47?0x6d703ef3:0x7a6d76e9*!!(_<=63)),d[x]),b),w=b,b=v,v=n(y,10),y=g,g=S}S=o(this.h[1],l,v),this.h[1]=o(this.h[2],f,b),this.h[2]=o(this.h[3],m,w),this.h[3]=o(this.h[4],r,g),this.h[4]=o(this.h[0],a,y),this.h[0]=S},l.prototype._digest=function(e){return"hex"===e?t.toHex32(this.h,"little"):t.split32(this.h,"little")};var c=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],h=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],p=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],d=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]}),tO=A((e,t)=>{var r=tx(),n=tv();function i(e,t,n){if(!(this instanceof i))return new i(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}t.exports=i,i.prototype._init=function(e){e.length>this.blockSize&&(e=new this.Hash().update(e).digest()),n(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=new this.Hash().update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=new this.Hash().update(e)},i.prototype.update=function(e,t){return this.inner.update(e,t),this},i.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}}),tP=T((A(e=>{e.utils=tx(),e.common=tk(),e.sha=tI(),e.ripemd=tR(),e.hmac=tO(),e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160}))(),1),tN=e=>Math.floor(72*e*20),tF=(e=0)=>{let t=e;return()=>++t},tM=tF(),tL=tF(),tB=()=>((e=21)=>{let t="",r=0|e;for(;r-- >0;)t+="57X6y3wQZNzYjJB2L_10pxbackgroundhimselfUTF-8DEMOGRAPHICSVqvt4KW9"[64*Math.random()|0];return t})().toLowerCase(),tD=e=>tP.default.sha1().update(e instanceof ArrayBuffer?new Uint8Array(e):e).digest("hex"),tj=e=>((e,t=21)=>(r=t)=>{let n="",i=0|r;for(;i-- >0;)n+=e[Math.random()*e.length|0];return n})("1234567890abcdef",e)(),tU=e=>new Uint8Array(new TextEncoder().encode(e)),tz=e=>new eR({name:"wp:align",children:[e]}),tW=e=>new eR({name:"wp:posOffset",children:[e.toString()]}),t$=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{cx:"cx",cy:"cy"})}},tH=class extends M{constructor(e,t){super("a:ext"),R(this,"attributes",void 0),this.attributes=new t$({cx:e,cy:t}),this.root.push(this.attributes)}},tG=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{x:"x",y:"y"})}},tK=class extends M{constructor(e,t){super("a:off"),this.root.push(new tG({x:null!=e?e:0,y:null!=t?t:0}))}},tV=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{flipVertical:"flipV",flipHorizontal:"flipH",rotation:"rot"})}},tX=class extends M{constructor(e){var t,r,n,i;super("a:xfrm"),R(this,"extents",void 0),R(this,"offset",void 0),this.root.push(new tV({flipVertical:null==(t=e.flip)?void 0:t.vertical,flipHorizontal:null==(r=e.flip)?void 0:r.horizontal,rotation:e.rotation})),this.offset=new tK(null==(n=e.offset)||null==(n=n.emus)?void 0:n.x,null==(i=e.offset)||null==(i=i.emus)?void 0:i.y),this.extents=new tH(e.emus.x,e.emus.y),this.root.push(this.offset),this.root.push(this.extents)}},tZ=()=>new eR({name:"a:noFill"}),tq=e=>new eR({name:"a:solidFill",children:[new eR("rgb"===e.type?{name:"a:srgbClr",attributes:{value:{key:"val",value:e.value}}}:{name:"a:schemeClr",attributes:{value:{key:"val",value:e.value}}})]}),tJ={ROUND:"rnd",SQUARE:"sq",FLAT:"flat"},tY={SINGLE:"sng",DOUBLE:"dbl",THICK_THIN:"thickThin",THIN_THICK:"thinThick",TRI:"tri"},tQ={CENTER:"ctr",INSET:"in"},t0=class extends M{constructor(){super("a:avLst")}},t1=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{prst:"prst"})}},t2=class extends M{constructor(){super("a:prstGeom"),this.root.push(new t1({prst:"rect"})),this.root.push(new t0)}},t5=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{bwMode:"bwMode"})}},t6=class extends M{constructor({element:e,outline:t,solidFill:r,transform:n}){super(`${e}:spPr`),R(this,"form",void 0),this.root.push(new t5({bwMode:"auto"})),this.form=new tX(n),this.root.push(this.form),this.root.push(new t2),r?this.root.push(tq(r)):t&&this.root.push(tZ()),t&&this.root.push(new eR({name:"a:ln",attributes:{width:{key:"w",value:t.width},cap:{key:"cap",value:void 0===t.cap?void 0:tJ[t.cap]},compoundLine:{key:"cmpd",value:void 0===t.compoundLine?void 0:tY[t.compoundLine]},align:{key:"algn",value:void 0===t.align?void 0:tQ[t.align]}},children:["noFill"===t.type?tZ():"rgb"===t.solidFillType?tq({type:"rgb",value:t.value}):tq({type:"scheme",value:t.value})]}))}},t3=e=>new eR({name:"wps:wsp",children:[((e={txBox:"1"})=>new eR({name:"wps:cNvSpPr",attributes:{txBox:{key:"txBox",value:e.txBox}}}))(e.nonVisualProperties),new t6({element:"wps",transform:e.transformation,outline:e.outline,solidFill:e.solidFill}),new eR({name:"wps:txbx",children:[new eR({name:"w:txbxContent",children:[...e.children]})]}),((e={})=>{var t,r,n,i;return new eR({name:"wps:bodyPr",attributes:{lIns:{key:"lIns",value:null==(t=e.margins)?void 0:t.left},rIns:{key:"rIns",value:null==(r=e.margins)?void 0:r.right},tIns:{key:"tIns",value:null==(n=e.margins)?void 0:n.top},bIns:{key:"bIns",value:null==(i=e.margins)?void 0:i.bottom},anchor:{key:"anchor",value:e.verticalAnchor}},children:[...e.noAutoFit?[new e_("a:noAutofit",e.noAutoFit)]:[]]})})(e.bodyProperties)]}),t4=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{uri:"uri"})}},t8=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{left:"l",top:"t",right:"r",bottom:"b"})}},t7=(e,t)=>{if(void 0!==e){if(!(e>=0&&e<=100))throw Error(`Invalid crop ${t} ${e}. Expected a number from 0 to 100`);return Math.round(1e3*e)}},t9=class extends M{constructor(e){super("a:srcRect"),e&&this.root.push(new t8({left:t7(e.left,"left"),top:t7(e.top,"top"),right:t7(e.right,"right"),bottom:t7(e.bottom,"bottom")}))}},re=class extends M{constructor(){super("a:fillRect")}},rt=class extends M{constructor(){super("a:stretch"),this.root.push(new re)}},rr=class extends M{constructor(e,t){super("pic:blipFill"),this.root.push(new eR({name:"a:blip",attributes:{embed:{key:"r:embed",value:`rId{${"svg"===e.type?e.fallback.fileName:e.fileName}}`},cstate:{key:"cstate",value:"none"}},children:"svg"===e.type?[new eR({name:"a:extLst",children:[new eR({name:"a:ext",attributes:{uri:{key:"uri",value:"{96DAC541-7B7A-43D3-8B79-37D633B846F1}"}},children:[new eR({name:"asvg:svgBlip",attributes:{asvg:{key:"xmlns:asvg",value:"http://schemas.microsoft.com/office/drawing/2016/SVG/main"},embed:{key:"r:embed",value:`rId{${e.fileName}}`}}})]})]})]:[]})),this.root.push(new t9(t)),this.root.push(new rt)}},rn=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{noChangeAspect:"noChangeAspect",noChangeArrowheads:"noChangeArrowheads"})}},ri=class extends M{constructor(){super("a:picLocks"),this.root.push(new rn({noChangeAspect:1,noChangeArrowheads:1}))}},ro=class extends M{constructor(){super("pic:cNvPicPr"),this.root.push(new ri)}},rs=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{id:"id",name:"name",descr:"descr"})}},ra=class extends M{constructor(){super("pic:cNvPr"),this.root.push(new rs({id:0,name:"",descr:""}))}prepForXml(e){for(let t=e.stack.length-1;t>=0;t--){let r=e.stack[t];if(r instanceof nD){this.root.push(r.createDrawingClick(e,!1));break}}let t=super.prepForXml(e);return this.root.splice(1),t}},rl=class extends M{constructor(){super("pic:nvPicPr"),this.root.push(new ra),this.root.push(new ro)}},ru=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{xmlns:"xmlns:pic"})}},rc=class extends M{constructor({mediaData:e,transform:t,outline:r,solidFill:n,crop:i}){super("pic:pic"),this.root.push(new ru({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.root.push(new rl),this.root.push(new rr(e,i)),this.root.push(new t6({element:"pic",transform:t,outline:r,solidFill:n}))}},rh=class extends M{constructor({mediaData:e,transform:t,outline:r,solidFill:n,crop:i}){if(super("a:graphicData"),"graphic"===e.type)this.root.push(new t4({uri:e.uri})),this.root.push(e.content);else if("wps"===e.type){this.root.push(new t4({uri:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}));let i=t3(D(D({},e.data),{},{transformation:t,outline:r,solidFill:n}));this.root.push(i)}else if("wpg"===e.type){var o,s,a,l,u,c;this.root.push(new t4({uri:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"}));let r=(o={children:e.children.map(e=>"wps"===e.type?t3(D(D({},e.data),{},{transformation:e.transformation,outline:e.outline,solidFill:e.solidFill})):new rc({mediaData:e,transform:e.transformation,outline:e.outline,solidFill:e.solidFill})),transformation:t},new eR({name:"wpg:wgp",children:[new eR({name:"wpg:cNvGrpSpPr"}),new eR({name:"wpg:grpSpPr",children:[new eR({name:"a:xfrm",attributes:{flipVertical:{key:"flipV",value:null==(a=(s=o.transformation).flip)?void 0:a.vertical},flipHorizontal:{key:"flipH",value:null==(l=s.flip)?void 0:l.horizontal},rotation:{key:"rot",value:s.rotation}},children:[new tK(null==(u=s.offset)||null==(u=u.emus)?void 0:u.x,null==(c=s.offset)||null==(c=c.emus)?void 0:c.y),new tH(s.emus.x,s.emus.y),new eR({name:"a:chOff",attributes:{x:{key:"x",value:0},y:{key:"y",value:0}}}),new eR({name:"a:chExt",attributes:{x:{key:"cx",value:s.emus.x},y:{key:"cy",value:s.emus.y}}})]})]}),...o.children]}));this.root.push(r)}else{this.root.push(new t4({uri:"http://schemas.openxmlformats.org/drawingml/2006/picture"}));let o=new rc({mediaData:e,transform:t,outline:r,solidFill:n,crop:i});this.root.push(o)}}},rp=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{a:"xmlns:a"})}},rd=class extends M{constructor({mediaData:e,transform:t,outline:r,solidFill:n,crop:i}){super("a:graphic"),R(this,"data",void 0),this.root.push(new rp({a:"http://schemas.openxmlformats.org/drawingml/2006/main"})),this.data=new rh({mediaData:e,transform:t,outline:r,solidFill:n,crop:i}),this.root.push(this.data)}},rf="bothSides",rm=()=>new eR({name:"wp:wrapNone"}),rw=(e,{x:t,y:r})=>new eR({name:e,attributes:{x:{key:"x",value:t},y:{key:"y",value:r}}}),rg=(e,t={},r)=>{var n;return new eR({name:e,attributes:{wrapText:{key:"wrapText",value:null!=(n=null==r?void 0:r.side)?n:rf},distL:{key:"distL",value:t.left},distR:{key:"distR",value:t.right}},children:[new eR({name:"wp:wrapPolygon",attributes:{edited:{key:"edited",value:!1}},children:[rw("wp:start",{x:0,y:0}),rw("wp:lineTo",{x:0,y:21600}),rw("wp:lineTo",{x:21600,y:21600}),rw("wp:lineTo",{x:21600,y:0}),rw("wp:lineTo",{x:0,y:0})]})]})},ry="External",rv=(e,t)=>new eR({name:"a:hlinkClick",attributes:D(D({},t?{xmlns:{key:"xmlns:a",value:"http://schemas.openxmlformats.org/drawingml/2006/main"}}:{}),{},{id:{key:"r:id",value:`rId${e}`}})}),rb=class{constructor(e){R(this,"link",void 0),R(this,"linkId",tB()),R(this,"addedTo",new WeakSet),this.link=e}createClick(e){return rv(this.linkId,e)}addRelationship(e){let t=e.viewWrapper.Relationships;this.addedTo.has(t)||(this.addedTo.add(t),t.addRelationship(this.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",this.link,ry))}},rx=class extends M{constructor({name:e,description:t,title:r,id:n}={name:""},{link:i,decorative:o}={}){super("wp:docPr"),R(this,"link",void 0),R(this,"decorative",void 0);let s={id:{key:"id",value:null!=n?n:tM()},name:{key:"name",value:e}};t&&(s.description={key:"descr",value:t}),r&&(s.title={key:"title",value:r}),this.root.push(new U(s)),this.link=void 0===i?void 0:new rb(i),this.decorative=o}prepForXml(e){if(this.link)this.link.addRelationship(e),this.root.push(this.link.createClick(!0));else for(let t=e.stack.length-1;t>=0;t--){let r=e.stack[t];if(r instanceof nD){this.root.push(r.createDrawingClick(e,!0));break}}this.decorative&&this.root.push(new eR({name:"a:extLst",attributes:{namespace:{key:"xmlns:a",value:"http://schemas.openxmlformats.org/drawingml/2006/main"}},children:[new eR({name:"a:ext",attributes:{uri:{key:"uri",value:"{C183D7F6-B498-43B3-948B-1728B52AA6E4}"}},children:[new eR({name:"adec:decorative",attributes:{namespace:{key:"xmlns:adec",value:"http://schemas.microsoft.com/office/drawing/2017/decorative"},value:{key:"val",value:1}}})]})]}));let t=super.prepForXml(e);return this.root.splice(1),t}},rk=({top:e,right:t,bottom:r,left:n})=>new eR({name:"wp:effectExtent",attributes:{top:{key:"t",value:e},right:{key:"r",value:t},bottom:{key:"b",value:r},left:{key:"l",value:n}}}),r_=(e,t)=>{if(void 0!==t&&t>0x7fffffff)throw Error(`Invalid drawing ${e} ${t} EMUs (${Math.round(t/9525)} pixels). Word won't open a drawing with a ${e} over 2147483647 EMUs (${Math.floor(0x7fffffff/9525)} pixels). Sizes such as an ImageRun's transformation are in pixels, not EMUs`);return t},rS=({x:e,y:t})=>new eR({name:"wp:extent",attributes:{x:{key:"cx",value:r_("width",e)},y:{key:"cy",value:r_("height",t)}}}),rE=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{xmlns:"xmlns:a",noChangeAspect:"noChangeAspect"})}},rA=class extends M{constructor(){super("a:graphicFrameLocks"),this.root.push(new rE({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/main",noChangeAspect:1}))}},rT=(e=!0)=>new eR({name:"wp:cNvGraphicFramePr",children:e?[new rA]:[]}),rC=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",allowOverlap:"allowOverlap",behindDoc:"behindDoc",layoutInCell:"layoutInCell",locked:"locked",relativeHeight:"relativeHeight",simplePos:"simplePos"})}},rI=class extends M{constructor({mediaData:e,transform:t,drawingOptions:r}){var n;super("wp:anchor");let i=D({allowOverlap:!0,behindDocument:!1,lockAnchor:!1,layoutInCell:!0,verticalPosition:{},horizontalPosition:{}},r.floating);if(this.root.push(new rC({distT:i.margins&&i.margins.top||0,distB:i.margins&&i.margins.bottom||0,distL:i.margins&&i.margins.left||0,distR:i.margins&&i.margins.right||0,simplePos:"0",allowOverlap:!0===i.allowOverlap?"1":"0",behindDoc:!0===i.behindDocument?"1":"0",locked:!0===i.lockAnchor?"1":"0",layoutInCell:!0===i.layoutInCell?"1":"0",relativeHeight:i.zIndex?i.zIndex:t.emus.y})),this.root.push(new eR({name:"wp:simplePos",attributes:{x:{key:"x",value:0},y:{key:"y",value:0}}})),this.root.push((({relative:e,align:t,offset:r})=>new eR({name:"wp:positionH",attributes:{relativeFrom:{key:"relativeFrom",value:null!=e?e:"page"}},children:[(()=>{if(t)return tz(t);if(void 0!==r)return tW(r);throw Error("There is no configuration provided for floating position (Align or offset)")})()]}))(i.horizontalPosition)),this.root.push((({relative:e,align:t,offset:r})=>new eR({name:"wp:positionV",attributes:{relativeFrom:{key:"relativeFrom",value:null!=e?e:"page"}},children:[(()=>{if(t)return tz(t);if(void 0!==r)return tW(r);throw Error("There is no configuration provided for floating position (Align or offset)")})()]}))(i.verticalPosition)),this.root.push(rS({x:t.emus.x,y:t.emus.y})),this.root.push(rk(null!=(n=r.effectExtent)?n:{top:0,right:0,bottom:0,left:0})),void 0!==r.floating&&void 0!==r.floating.wrap)switch(r.floating.wrap.type){case 1:this.root.push(((e,t={top:0,bottom:0,left:0,right:0})=>new eR({name:"wp:wrapSquare",attributes:{wrapText:{key:"wrapText",value:e.side||rf},distT:{key:"distT",value:t.top},distB:{key:"distB",value:t.bottom},distL:{key:"distL",value:t.left},distR:{key:"distR",value:t.right}}}))(r.floating.wrap,r.floating.margins));break;case 2:this.root.push(rg("wp:wrapTight",r.floating.margins,r.floating.wrap));break;case 4:this.root.push(rg("wp:wrapThrough",r.floating.margins,r.floating.wrap));break;case 3:this.root.push(((e={top:0,bottom:0})=>new eR({name:"wp:wrapTopAndBottom",attributes:{distT:{key:"distT",value:e.top},distB:{key:"distB",value:e.bottom}}}))(r.floating.margins));break;default:this.root.push(rm())}else this.root.push(rm());this.root.push(new rx(r.docProperties,{link:r.link,decorative:r.decorative})),this.root.push(rT("graphic"!==e.type||!1!==e.lockAspectRatio)),this.root.push(new rd({mediaData:e,transform:t,outline:r.outline,solidFill:r.solidFill,crop:r.crop}))}},rR=class extends M{constructor(e,t={}){super("w:drawing"),t.floating?this.root.push(new rI({mediaData:e,transform:e.transformation,drawingOptions:t})):this.root.push((({mediaData:e,transform:t,docProperties:r,outline:n,solidFill:i,crop:o,effectExtent:s,link:a,decorative:l})=>{var u,c,h,p;return new eR({name:"wp:inline",attributes:{distanceTop:{key:"distT",value:0},distanceBottom:{key:"distB",value:0},distanceLeft:{key:"distL",value:0},distanceRight:{key:"distR",value:0}},children:[rS({x:t.emus.x,y:t.emus.y}),rk(null!=s?s:n?{top:(null!=(u=n.width)?u:9525)*2,right:(null!=(c=n.width)?c:9525)*2,bottom:(null!=(h=n.width)?h:9525)*2,left:(null!=(p=n.width)?p:9525)*2}:{top:0,right:0,bottom:0,left:0}),new rx(r,{link:a,decorative:l}),rT("graphic"!==e.type||!1!==e.lockAspectRatio),new rd({mediaData:e,transform:t,outline:n,solidFill:i,crop:o})]})})({mediaData:e,transform:e.transformation,docProperties:t.docProperties,outline:t.outline,solidFill:t.solidFill,crop:t.crop,effectExtent:t.effectExtent,link:t.link,decorative:t.decorative}))}},rO=e=>{let t;return"string"==typeof e?(t=e.indexOf(";base64,"),new Uint8Array(atob(e.substring(-1===t?0:t+8)).split("").map(e=>e.charCodeAt(0)))):e},rP=[["png",[137,80,78,71,13,10,26,10]],["jpg",[255,216,255]],["gif",[71,73,70,56,55,97]],["gif",[71,73,70,56,57,97]],["bmp",[66,77]]],rN=(e,t)=>({data:rO(e.data),fileName:t,transformation:{pixels:{x:Math.round(e.transformation.width),y:Math.round(e.transformation.height)},emus:{x:Math.round(9525*e.transformation.width),y:Math.round(9525*e.transformation.height)},flip:e.transformation.flip,rotation:e.transformation.rotation?6e4*e.transformation.rotation:void 0}}),rF=(e,t,r)=>{let n=(({type:e,data:t},r)=>{if(void 0!==e)return e;let n=rO(t),i=ArrayBuffer.isView(n)?new Uint8Array(n.buffer,n.byteOffset,n.byteLength):new Uint8Array(n),o=rP.find(([,e])=>e.every((e,t)=>i[t]===e));if(void 0===o)throw Error(`${r}: type isn't given, and data isn't a PNG, JPEG, GIF or BMP file to read it from. Give its type`);return o[0]})(e,r);return D({type:n},rN(D(D({},e),{},{transformation:t}),`${tD(e.data)}.${n}`))},rM=class extends M{constructor(e){var t;let r="svg"===e.type?D(D({type:e.type},rN(e,`${tD(e.data)}.svg`)),{},{fallback:rF(e.fallback,e.transformation,"ImageRun fallback")}):rF(e,e.transformation,"ImageRun"),n=new rR(r,{floating:e.floating,docProperties:e.altText,outline:e.outline,solidFill:e.solidFill,crop:e.crop,link:e.link,decorative:e.decorative}),i=new tp(e.run),o=null!=(t=e.insertion)?t:e.deletion;if(super(e.insertion?"w:ins":e.deletion?"w:del":"w:r"),R(this,"imageData",void 0),o){this.root.push(new tr({id:o.id,author:o.author,date:o.date}));let t=new eR({name:"w:r",children:[i,n]});this.addChildElement(e.insertion&&e.deletion?(({id:e,author:t,date:r},n)=>new eR({name:"w:del",attributes:{id:{key:"w:id",value:e},author:{key:"w:author",value:t},date:{key:"w:date",value:r}},children:[n]}))(e.deletion,t):t)}else this.root.push(i),this.root.push(n);this.imageData=r}prepForXml(e){return e.file.Media.addImage(this.imageData.fileName,this.imageData),"svg"===this.imageData.type&&e.file.Media.addImage(this.imageData.fallback.fileName,this.imageData.fallback),super.prepForXml(e)}},rL=[[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"]],rB=e=>e<=32767?rL.reduce(({rest:e,text:t},[r,n])=>({rest:e%r,text:t+n.repeat(Math.floor(e/r))}),{rest:e,text:""}).text:void 0,rD=e=>0===e?"":e<=780?String.fromCharCode(65+(e-1)%26).repeat(Math.ceil(e/26)):void 0,rj=e=>{let t=e.charAt(0)!==e.charAt(0).toUpperCase(),r=e=>r=>{var n;return t?null==(n=e(r))?void 0:n.toLowerCase():e(r)};switch(e.toLowerCase()){case"arabic":return String;case"roman":return r(rB);case"alphabetic":return r(rD);case"ordinal":return e=>{var t;return e>0?`${e}${e%100>=11&&e%100<=13?"th":null!=(t=["th","st","nd","rd"][e%10])?t:"th"}`:void 0};case"arabicdash":return e=>`- ${e} -`;default:return}},rU=new Set(["mergeformat","charformat","mergeformatinet"]),rz=new Set(["upper","lower","firstcap","caps"]),rW=e=>/^[#0,]*[#0][#0,]*$/.test(e),r$=e=>RegExp("^\\s*TOC\\b.*\\\\s\\b","is").test(e),rH=(e,{enclosing:t,within:r,inTextBox:n},{estimate:i,sectionPageCount:o,blank:s,relativeTo:a})=>{let l,u=(e=>{var t;let r,n,i=RegExp("^\\s*(PAGEREF|NUMPAGES|SECTIONPAGES)\\b(.*)$","is").exec(e),o=(null==i?void 0:i[1].toUpperCase())==="PAGEREF"?RegExp('^\\s*("?)([^\\s"\\\\]+)\\1(.*)$',"s").exec(i[2]):void 0;if(!i||"PAGEREF"===i[1].toUpperCase()&&!o)return;let s=null!=(t=(o?o[3]:i[2]).match(/"[^"]*"|\S+/g))?t:[],a=[],l=!1,u=!0;for(let e=0;e<s.length;e++){let t=s[e],i=()=>{var r;return(t.length>2?t.slice(2):null!=(r=s[++e])?r:"").replace(/^"(.*)"$/,"$1")};if(/^\\p$/i.test(t))l=!0;else if(t.startsWith("\\#")){let e=i();u&&(u=void 0===n&&rW(e)),null!=n||(n=e)}else if(t.startsWith("\\*")){let e=i(),t=e.toLowerCase();rz.has(t)?a.push(t):""===e||rU.has(t)||(u&&(u=void 0===r&&void 0!==rj(e)),null!=r||(r=e))}}let c=D(D(D(D({},void 0===r?{}:{numberFormat:r}),void 0===n?{}:{picture:n}),0===a.length?{}:{capitals:a[0]}),{},{written:u&&a.length<=1&&"caps"!==a[0]&&(void 0===r||void 0===n)});return o?D({type:"pageReference",bookmark:o[2],relative:l},c):D({type:"pageCount",scope:"NUMPAGES"===i[1].toUpperCase()?"document":"section"},c)})(e);if(void 0===u)return;let{bookmarks:c,pageCount:h,bookmarkPageNumbers:p}=i,{numberFormat:d,picture:f,capitals:m,written:w}=u,g=void 0!==d||void 0!==f,y=e=>void 0===e?void 0:void 0===f?rj(null!=d?d:"arabic")(e):((e,t)=>{let r=[...t].filter(e=>"0"===e).length,n=r+[...t].filter(e=>"#"===e).length,i=String(e).padStart(r,"0");if(!(i.length<n)&&(0!==r||0!==e))return t.includes(",")?i.replace(/\B(?=(\d{3})+$)/g,","):i})(e,f),v="pageReference"===u.type&&u.relative&&"counted"===r&&!n?null==a?void 0:a(u.bookmark):void 0;return void 0===(l=w?"pageCount"===u.type?y("document"===u.scope?h:o):t.some(r$)?void 0:g?y(null==p?void 0:p.get(u.bookmark)):u.relative?v:c.get(u.bookmark):void 0)?s?"":void 0:((e,t)=>{switch(t){case"upper":return e.toUpperCase();case"lower":return e.toLowerCase();case"firstcap":return e.charAt(0).toUpperCase()+e.slice(1);default:return e}})(l,m)},rG=(e,t)=>"mc:Fallback"===e||"fallback"===t?"fallback":"w:del"===e||"w:moveFrom"===e?"deleted":t,rK=(e,t,r,n,i="counted",o=!1)=>{for(let u=0;u<t.length;u++){var s,a,l;let c=t[u],h=e.nameOf(c);if(void 0===h)continue;let p=r[r.length-1];if("w:fldChar"===h){let s=e.attributeOf(c,"w:fldCharType");"begin"===s?r.push({begin:c,instruction:"",inResult:!1}):"separate"===s&&p?(e.writeClean(p.begin,p.instruction),p.inResult=!0,p.result=n.resultOf(p.instruction,{within:i,enclosing:r.slice(0,-1).map(e=>e.instruction),inTextBox:o}),void 0!==p.result&&(t.splice(u+1,0,e.textElement(p.result)),u++)):"end"===s&&r.pop()}else if("w:instrText"===h&&p&&!p.inResult)p.instruction+=e.textOf(c);else if(("w:t"===h||"w:tab"===h||"w:br"===h||"w:cr"===h)&&(null==p?void 0:p.result)!==void 0)t.splice(u,1),u--;else if("w:fldSimple"===h){let t=n.resultOf(String(e.attributeOf(c,"w:instr")),{within:i,enclosing:r.map(e=>e.instruction),inTextBox:o});void 0===t?rK(e,null!=(s=e.contentOf(c))?s:[],[],n,i,o):e.setSimpleFieldResult(c,t)}else"w:p"===h&&(null==(l=n.beforeParagraph)||l.call(n,c)),rK(e,null!=(a=e.contentOf(c))?a:[],r,n,rG(h,i),o||"w:txbxContent"===h),"w:p"===h&&n.afterParagraph(c)}},rV=(e,t)=>t.flatMap(t=>{var r;let n=e.nameOf(t);return void 0===n?[]:"w:sectPr"===n?[t]:rV(e,null!=(r=e.contentOf(t))?r:[])}),rX=(e,t,r,{blank:n})=>{let{sectionPageCounts:i=[],relativePositions:o}=r,s=0,a=new Map,l=e=>{var t,r;let n=null!=(t=a.get(e))?t:0;return a.set(e,n+1),null==o||null==(r=o.get(e))?void 0:r[n]};return rK(e,[t],[],{resultOf:(e,t)=>rH(e,t,{estimate:r,sectionPageCount:i[s],blank:n,relativeTo:l}),afterParagraph:t=>{var r;s+=+!!(null!=(r=e.contentOf(t))?r:[]).some(t=>{var r;return"w:pPr"===e.nameOf(t)&&(null!=(r=e.contentOf(t))?r:[]).some(t=>"w:sectPr"===e.nameOf(t))})}}),new Map([...rV(e,[t]).reduce((t,r)=>{var n,i;let o=(null!=(n=e.contentOf(r))?n:[]).flatMap(t=>{let r=e.nameOf(t);return"w:headerReference"===r||"w:footerReference"===r?[[`${r} ${String(e.attributeOf(t,"w:type"))}`,String(e.attributeOf(t,"r:id"))]]:[]});return[...t,new Map([...null!=(i=t[t.length-1])?i:[],...o])]},[]).reduce((e,t,r)=>{for(let o of t.values()){var n;e.set(o,[...null!=(n=e.get(o))?n:[],i[r]])}return e},new Map)].flatMap(([e,[t,...r]])=>void 0!==t&&r.every(e=>e===t)?[[e,t]]:[]))},rZ=(e,t,r,{blank:n,sectionPageCount:i,notes:o=!1})=>{let s=e=>{let t=r.bookmarks.get(e);return void 0===t?void 0:`on page ${t}`};rK(e,[t],[],{resultOf:(e,t)=>rH(e,t,D({estimate:r,sectionPageCount:i,blank:n},o?{relativeTo:s}:{})),afterParagraph:()=>void 0})},rq=class extends M{constructor(e={}){super("w:instrText"),R(this,"properties",void 0),this.properties=e,this.root.push(new e3({space:e6}));let t="TOC";if(this.properties.captionLabel&&(t=`${t} \\a "${this.properties.captionLabel}"`),this.properties.entriesFromBookmark&&(t=`${t} \\b "${this.properties.entriesFromBookmark}"`),this.properties.captionLabelIncludingNumbers&&(t=`${t} \\c "${this.properties.captionLabelIncludingNumbers}"`),this.properties.sequenceAndPageNumbersSeparator&&(t=`${t} \\d "${this.properties.sequenceAndPageNumbersSeparator}"`),this.properties.tcFieldIdentifier&&(t=`${t} \\f "${this.properties.tcFieldIdentifier}"`),this.properties.hyperlink&&(t=`${t} \\h`),this.properties.tcFieldLevelRange&&(t=`${t} \\l "${this.properties.tcFieldLevelRange}"`),this.properties.pageNumbersEntryLevelsRange&&(t=`${t} \\n "${this.properties.pageNumbersEntryLevelsRange}"`),this.properties.headingStyleRange&&(t=`${t} \\o "${this.properties.headingStyleRange}"`),this.properties.entryAndPageNumberSeparator&&(t=`${t} \\p "${this.properties.entryAndPageNumberSeparator}"`),this.properties.seqFieldIdentifierForPrefix&&(t=`${t} \\s "${this.properties.seqFieldIdentifierForPrefix}"`),this.properties.stylesWithLevels&&this.properties.stylesWithLevels.length){let e=this.properties.stylesWithLevels.map(e=>`${e.styleName},${e.level}`).join(",");t=`${t} \\t "${e}"`}this.properties.useAppliedParagraphOutlineLevel&&(t=`${t} \\u`),this.properties.preserveTabInEntries&&(t=`${t} \\w`),this.properties.preserveNewLineInEntries&&(t=`${t} \\x`),this.properties.hideTabAndPageNumbersInWebView&&(t=`${t} \\z`),this.root.push(t)}},rJ=class extends M{constructor(){super("w:sdtContent")}},rY=new WeakMap,rQ=class{constructor(){R(this,"ids",[])}get(e){var t;return null!=(t=this.ids)[e]||(t[e]=tL()),this.ids[e]}},r0=e=>"object"==typeof e&&null!==e?Object.keys(e)[0]:void 0,r1=e=>{let t=r0(e),r=void 0===t?void 0:e[t];return Array.isArray(r)?r:void 0===r?[]:[r]},r2=(e,t)=>r1(e).find(e=>r0(e)===t),r5=(e,t)=>{var r;return null==(r=r2(e,"_attr"))||null==(r=r._attr)?void 0:r[t]},r6=(e,t)=>{let r=r5(e,t);return void 0===r?void 0:Number(r)},r3=new Set(["w:tbl","w:tr","w:tc","w:sdt","w:sdtContent","w:customXml"]),r4=e=>e.flatMap(e=>{let t=r0(e);return"w:p"===t||rY.has(e)?[e]:void 0!==t&&r3.has(t)?r4(r1(e)):[]}),r8=new Set(["w:r","w:hyperlink","w:ins","w:moveTo","w:smartTag","w:customXml","w:sdt","w:sdtContent","w:fldSimple","w:dir","w:bdo"]),r7=e=>{let t=r0(e);return"w:bookmarkStart"===t?[{start:!0,id:r5(e,"w:id"),name:r5(e,"w:name")}]:"w:bookmarkEnd"===t?[{start:!1,id:r5(e,"w:id")}]:void 0===t||"_attr"===t?[]:r1(e).flatMap(r7)},r9=e=>{var t;return new Map(r1(null==(t=e.file)||null==(t=t.Styles)?void 0:t.prepForXml(e)).filter(e=>"w:style"===r0(e)&&["paragraph",void 0].includes(r5(e,"w:type"))).map(e=>[r5(e,"w:styleId"),{name:r5(r2(e,"w:name"),"w:val"),basedOn:r5(r2(e,"w:basedOn"),"w:val"),outlineLevel:r6(r2(r2(e,"w:pPr"),"w:outlineLvl"),"w:val")}]))},ne=e=>{let t=/^\s*(\d+)\s*-\s*(\d+)\s*$/.exec(e);return t?[Number(t[1]),Number(t[2])]:void 0},nt=(e,[t,r])=>e>=t&&e<=r,nr=(e,t)=>{var r,n;if(void 0===e)return;let i=/^heading ?([1-9])$/i.exec(null!=(r=null==(n=t.get(e))?void 0:n.name)?r:e);return i?Number(i[1]):void 0},nn=(e,t,r=0)=>{var n;if(void 0===e||r>t.size)return;let i=t.get(e),o=nr(e,t);return null!=(n=null==i?void 0:i.outlineLevel)?n:void 0===o?nn(null==i?void 0:i.basedOn,t,r+1):o-1},ni=(e,t)=>{var r;return null!=(r=e.outlineLevel)?r:nn(e.styleId,t)},no=(e,t,r,n)=>{let i=r1(e),o=i.findIndex(e=>"w:pPr"===r0(e))+1;e["w:p"]=[...i.slice(0,o),new nH(t,r).prepForXml(n),...i.slice(o),new nG(r).prepForXml(n)]},ns=RegExp("^\\p{L}[\\p{L}\\p{N}_]*$","u"),na=e=>{var t;let r=RegExp("^\\s*SEQ\\b(.*)$","is").exec(e);if(!r)return;let[n,...i]=null!=(t=r[1].match(/"[^"]*"|\S+/g))?t:[];if(void 0===n)return{};let o=n.replace(/^"(.*)"$/,"$1");return ns.test(o)?{identifier:o,sequence:(e=>{var t,r,n,i;let o,s,a=!1,l=!1,u=!1;for(let t=0;t<e.length;t++){let r,c=e[t],h=null!=(n=e[t+1])?n:"";if(0!==t||c.startsWith("\\"))if("\\c"===c||"\\n"===c)r={type:"\\c"===c?"repeat":"next"};else if(("\\r"===c||"\\s"===c)&&/^\d+$/.test(h))t++,r="\\r"===c?{type:"reset",to:Number(h)}:{type:"heading",level:Number(h)};else if("\\h"===c)a=!0;else if("\\#"===c&&t+1<e.length)t++,u=!0;else{if("\\*"!==c||!(t+1<e.length))return;let r=e[++t];if(rz.has(r.toLowerCase()))l=!0;else if(!rU.has(r.toLowerCase())){if(void 0!==s)return;s=r}}else r={type:"bookmark"};if(r&&o)return;o=null!=(i=r)?i:o}if((null==o?void 0:o.type)==="bookmark"&&e.length>1)return;let c=!u&&!(l&&void 0!==s&&"arabic"!==s.toLowerCase());return{step:null!=(t=o)?t:{type:"next"},hidden:a&&void 0===s,format:c?null!=(r=s)?r:"ARABIC":""}})(i)}:{identifier:o}},nl=e=>"object"!=typeof e||null===e?[]:Array.isArray(e)?e.flatMap(nl):Object.entries(e).flatMap(([e,t])=>[...("w:instrText"===e&&Array.isArray(t)?t:"_attr"===e?[t["w:instr"]]:[]).flatMap(e=>{let t="string"==typeof e?na(e):void 0;return(null==t?void 0:t.identifier)===void 0?[]:[t.identifier.toLowerCase()]}),...nl(t)]),nu=e=>{let t="object"!=typeof e||null===e||Array.isArray(e)?void 0:Object.keys(e)[0];return"_attr"===t?void 0:t},nc=e=>({"w:t":[{_attr:{"xml:space":"preserve"}},e]}),nh={nameOf:nu,contentOf:e=>{let t=e[nu(e)];return Array.isArray(t)?t:void 0},attributeOf:(e,t)=>{var r;let n=e[nu(e)],i=Array.isArray(n)?n.find(e=>"object"==typeof e&&null!==e&&"_attr"in e):n;return null==i||null==(r=i._attr)?void 0:r[t]},textOf:e=>nh.contentOf(e).filter(e=>"string"==typeof e).join(""),textElement:nc,writeClean:e=>{if("object"==typeof e&&null!==e&&e1.has(e)){let t=e["w:fldChar"]._attr;e["w:fldChar"]={_attr:Object.fromEntries(Object.entries(t).filter(([e])=>"w:dirty"!==e))}}},setSimpleFieldResult:(e,t)=>{let r=e["w:fldSimple"];e["w:fldSimple"]=[...(Array.isArray(r)?r:[r]).filter(e=>"object"==typeof e&&null!==e&&"_attr"in e),{"w:r":[nc(t)]}]}},np=new WeakMap,nd=(e,t,r)=>{let n=t.file&&np.get(t.file);if(!e||!n)return;let i=void 0===r?void 0:n.partPageCounts.get(`rId${r}`);rZ(nh,e,n.estimate,{blank:!1,sectionPageCount:i,notes:"w:footnotes"in e||"w:endnotes"in e})},nf=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{xmlns:"xmlns"})}},nm=class e extends M{constructor(){super("Relationships"),this.root.push(new nf({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}addRelationship(e,t,r,n){this.root.push(new eR({name:"Relationship",attributes:{id:{key:"Id",value:`rId${e}`},type:{key:"Type",value:t},target:{key:"Target",value:r},targetMode:{key:"TargetMode",value:n}}}))}static copy(t){let r=new e;return r.root.push(...t.root.slice(1)),r}get RelationshipCount(){return this.root.length-1}},nw=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{id:"w:id",initials:"w:initials",author:"w:author",date:"w:date"})}},ng=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{"xmlns:wpc":"xmlns:wpc","xmlns:cx":"xmlns:cx","xmlns:cx1":"xmlns:cx1","xmlns:cx2":"xmlns:cx2","xmlns:cx3":"xmlns:cx3","xmlns:cx4":"xmlns:cx4","xmlns:cx5":"xmlns:cx5","xmlns:cx6":"xmlns:cx6","xmlns:cx7":"xmlns:cx7","xmlns:cx8":"xmlns:cx8","xmlns:mc":"xmlns:mc","xmlns:aink":"xmlns:aink","xmlns:am3d":"xmlns:am3d","xmlns:o":"xmlns:o","xmlns:r":"xmlns:r","xmlns:m":"xmlns:m","xmlns:v":"xmlns:v","xmlns:wp14":"xmlns:wp14","xmlns:wp":"xmlns:wp","xmlns:w10":"xmlns:w10","xmlns:w":"xmlns:w","xmlns:w14":"xmlns:w14","xmlns:w15":"xmlns:w15","xmlns:w16cex":"xmlns:w16cex","xmlns:w16cid":"xmlns:w16cid","xmlns:w16":"xmlns:w16","xmlns:w16sdtdh":"xmlns:w16sdtdh","xmlns:w16se":"xmlns:w16se","xmlns:wpg":"xmlns:wpg","xmlns:wpi":"xmlns:wpi","xmlns:wne":"xmlns:wne","xmlns:wps":"xmlns:wps","mc:Ignorable":"mc:Ignorable"})}},ny=class extends M{constructor({id:e,initials:t,author:r,date:n=new Date,children:i},o){for(let s of(super("w:comment"),R(this,"paraId",void 0),this.paraId=o,this.root.push(new nw({id:e,initials:t,author:r,date:n.toISOString()})),i))this.root.push(s)}prepForXml(e){let t=super.prepForXml(e);if(!t||!this.paraId)return t;let r=t["w:comment"];if(!Array.isArray(r))return t;for(let e=r.length-1;e>=0;e--){let t=r[e];if(t&&"object"==typeof t&&"w:p"in t){let e=t["w:p"];Array.isArray(e)&&e.unshift({_attr:{"w14:paraId":this.paraId,"w14:textId":this.paraId}});break}}return t}},nv=class extends M{constructor({children:e}){super("w:comments"),R(this,"relationships",void 0),R(this,"threadData",void 0),R(this,"commentIdsData",void 0),R(this,"isEmpty",void 0),this.isEmpty=0===e.length,this.root.push(new ng({"xmlns:wpc":"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas","xmlns:cx":"http://schemas.microsoft.com/office/drawing/2014/chartex","xmlns:cx1":"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex","xmlns:cx2":"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex","xmlns:cx3":"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex","xmlns:cx4":"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex","xmlns:cx5":"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex","xmlns:cx6":"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex","xmlns:cx7":"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex","xmlns:cx8":"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:aink":"http://schemas.microsoft.com/office/drawing/2016/ink","xmlns:am3d":"http://schemas.microsoft.com/office/drawing/2017/model3d","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:m":"http://schemas.openxmlformats.org/officeDocument/2006/math","xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:wp14":"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing","xmlns:wp":"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing","xmlns:w10":"urn:schemas-microsoft-com:office:word","xmlns:w":"http://schemas.openxmlformats.org/wordprocessingml/2006/main","xmlns:w14":"http://schemas.microsoft.com/office/word/2010/wordml","xmlns:w15":"http://schemas.microsoft.com/office/word/2012/wordml","xmlns:w16cex":"http://schemas.microsoft.com/office/word/2018/wordml/cex","xmlns:w16cid":"http://schemas.microsoft.com/office/word/2016/wordml/cid","xmlns:w16":"http://schemas.microsoft.com/office/word/2018/wordml","xmlns:w16sdtdh":"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash","xmlns:w16se":"http://schemas.microsoft.com/office/word/2015/wordml/symex","xmlns:wpg":"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup","xmlns:wpi":"http://schemas.microsoft.com/office/word/2010/wordprocessingInk","xmlns:wne":"http://schemas.microsoft.com/office/word/2006/wordml","xmlns:wps":"http://schemas.microsoft.com/office/word/2010/wordprocessingShape","mc:Ignorable":"w14 w15 wp14"}));let t=e.some(e=>void 0!==e.parentId),r=e.some(e=>void 0!==e.durableId);if(t||r){let n=new Map(e.map(e=>[e.id,(e.id+1).toString(16).toUpperCase().padStart(8,"0")]));for(let t of e)this.root.push(new ny(t,n.get(t.id)));t&&(this.threadData=e.map(e=>({paraId:n.get(e.id),parentParaId:void 0!==e.parentId?n.get(e.parentId):void 0,done:e.resolved}))),r&&(this.commentIdsData=e.map(e=>{var t;return{paraId:n.get(e.id),durableId:null!=(t=e.durableId)?t:n.get(e.id)}}))}else for(let t of e)this.root.push(new ny(t));this.relationships=new nm}get Relationships(){return this.relationships}get ThreadData(){return this.threadData}get CommentIdsData(){return this.commentIdsData}get IsEmpty(){return this.isEmpty}prepForXml(e){let t=super.prepForXml(e);return nd(t,e),t}},nb=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{"xmlns:wpc":"xmlns:wpc","xmlns:mc":"xmlns:mc","xmlns:w15":"xmlns:w15","mc:Ignorable":"mc:Ignorable"})}},nx=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{paraId:"w15:paraId",paraIdParent:"w15:paraIdParent",done:"w15:done"})}},nk=class extends M{constructor(e){super("w15:commentEx"),this.root.push(new nx({paraId:e.paraId,paraIdParent:e.parentParaId,done:void 0!==e.done?e.done?"1":"0":void 0}))}},n_=class extends M{constructor(e){for(let t of(super("w15:commentsEx"),this.root.push(new nb({"xmlns:wpc":"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:w15":"http://schemas.microsoft.com/office/word/2012/wordml","mc:Ignorable":"w15"})),e))this.root.push(new nk(t))}},nS=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{paraId:"w16cid:paraId",durableId:"w16cid:durableId"})}},nE=class extends M{constructor(e){super("w16cid:commentId"),this.root.push(new nS({paraId:e.paraId,durableId:e.durableId}))}},nA=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{"xmlns:w16cid":"xmlns:w16cid","xmlns:mc":"xmlns:mc","mc:Ignorable":"mc:Ignorable"})}},nT=class extends M{constructor(e){for(let t of(super("w16cid:commentsIds"),this.root.push(new nA({"xmlns:w16cid":"http://schemas.microsoft.com/office/word/2016/wordml/cid","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"w16cid"})),e))this.root.push(new nE(t))}},nC=class extends eE{constructor(){super("w:endnoteRef")}},nI=class extends eE{constructor(){super("w:tab")}},nR=class extends M{constructor(){super("w:pageBreakBefore")}},nO="auto",nP=e=>new eR({name:"w:pStyle",attributes:{val:{key:"w:val",value:e}}}),nN=class extends M{constructor(e,t){super("w:numPr"),this.root.push(new nF(t)),this.root.push(new nM(e))}},nF=class extends M{constructor(e){if(super("w:ilvl"),e>9)throw Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new z({val:e}))}},nM=class extends M{constructor(e){super("w:numId"),this.root.push(new z({val:"string"==typeof e?`{${e}}`:e}))}},nL=class extends M{constructor(...e){super(...e),R(this,"fileChild",Symbol())}},nB=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{id:"r:id",history:"w:history",anchor:"w:anchor"})}},nD=class extends M{constructor(e,t,r,n){super("w:hyperlink"),R(this,"linkId",void 0),R(this,"drawingLink",void 0),this.linkId=t,this.drawingLink=r&&void 0!==n?new rb(n):void 0;let i=new nB({history:1,anchor:r||void 0,id:r&&void 0===n?void 0:`rId${this.linkId}`});this.root.push(i),e.forEach(e=>{this.root.push(e)})}createDrawingClick(e,t){return this.drawingLink?(this.drawingLink.addRelationship(e),this.drawingLink.createClick(t)):rv(this.linkId,t)}},nj=class extends nD{constructor(e){super(e.children,tB(),e.anchor)}},nU=class extends M{constructor(e){super("w:externalHyperlink"),R(this,"options",void 0),this.options=e}},nz=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{id:"w:id",name:"w:name"})}},nW=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{id:"w:id"})}},n$=class e{constructor(e){R(this,"start",void 0),R(this,"children",void 0),R(this,"end",void 0);let t=tL();this.start=new nH(e.id,t),this.children=e.children,this.end=new nG(t)}get writtenAs(){return[this.start,...this.children.flatMap(t=>t instanceof e?t.writtenAs:[t]),this.end]}},nH=class extends M{constructor(e,t){super("w:bookmarkStart");let r=new nz({name:e,id:t});this.root.push(r)}},nG=class extends M{constructor(e){super("w:bookmarkEnd");let t=new nW({id:e});this.root.push(t)}},nK=class extends M{constructor(e,t={}){super("w:instrText"),this.root.push(new e3({space:e6}));let r=`PAGEREF ${e}`;t.hyperlink&&(r=`${r} \\h`),t.useRelativePosition&&(r=`${r} \\p`),this.root.push(r)}},nV=class extends tg{constructor(e,t={}){super({children:[e5(),new nK(e,t),e0(eQ,void 0),e0("end",void 0)]})}},nX=e=>{let t=e.indexOf("#"),r=e.length-t-1;return t>0&&r>0&&r<=255?{target:e.slice(0,t),anchor:e.slice(t+1)}:{target:e}},nZ=(e,t,r)=>void 0===r?`${e}-${t}`:`${e}-restart ${r}`,nq=({id:e,fontKey:t,subsetted:r},n)=>new eR({name:n,attributes:D({id:{key:"r:id",value:e}},t?{fontKey:{key:"w:fontKey",value:`{${t.toUpperCase()}}`}}:{}),children:[...r?[new e_("w:subsetted",r)]:[]]}),nJ=({name:e,characterSet:t,embedRegular:r,embedBold:n,embedItalic:i,embedBoldItalic:o})=>(({name:e,altName:t,panose1:r,charset:n,family:i,notTrueType:o,pitch:s,sig:a,embedRegular:l,embedBold:u,embedItalic:c,embedBoldItalic:h})=>new eR({name:"w:font",attributes:{name:{key:"w:name",value:e}},children:[...t?[eT("w:altName",t)]:[],...r?[eT("w:panose1",r)]:[],...n?[eT("w:charset",n)]:[],...i?[eT("w:family",i)]:[],...o?[new e_("w:notTrueType",o)]:[],...s?[eT("w:pitch",s)]:[],...a?[new eR({name:"w:sig",attributes:{usb0:{key:"w:usb0",value:a.usb0},usb1:{key:"w:usb1",value:a.usb1},usb2:{key:"w:usb2",value:a.usb2},usb3:{key:"w:usb3",value:a.usb3},csb0:{key:"w:csb0",value:a.csb0},csb1:{key:"w:csb1",value:a.csb1}}})]:[],...l?[nq(l,"w:embedRegular")]:[],...u?[nq(u,"w:embedBold")]:[],...c?[nq(c,"w:embedItalic")]:[],...h?[nq(h,"w:embedBoldItalic")]:[]]}))({name:e,sig:{usb0:"E0002AFF",usb1:"C000247B",usb2:"00000009",usb3:"00000000",csb0:"000001FF",csb1:"00000000"},charset:t,family:"auto",pitch:"variable",embedRegular:r,embedBold:n,embedItalic:i,embedBoldItalic:o}),nY=[{option:"data",element:"embedRegular",bold:!1,italic:!1},{option:"bold",element:"embedBold",bold:!0,italic:!1},{option:"italic",element:"embedItalic",bold:!1,italic:!0},{option:"boldItalic",element:"embedBoldItalic",bold:!0,italic:!0}],nQ=class{constructor(e){R(this,"options",void 0),R(this,"fontTable",void 0),R(this,"relationships",void 0),R(this,"fontOptionsWithKey",[]),R(this,"files",[]),this.options=e;let t=e.map(e=>nY.flatMap(({option:t,element:r,bold:n,italic:i})=>{let o=e[t];return o?[{element:r,file:{name:e.name,data:o,bold:n,italic:i,fontKey:`${tj(8)}-${tj(4)}-${tj(4)}-${tj(4)}-${tj(12)}`}}]:[]}));this.files=t.flatMap(e=>e.map(({file:e})=>e)),this.fontOptionsWithKey=e.map((e,r)=>D(D({},e),{},{fontKey:t[r][0].file.fontKey})),this.fontTable=new eR({name:"w:fonts",attributes:{mc:{key:"xmlns:mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"},r:{key:"xmlns:r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},w:{key:"xmlns:w",value:"http://schemas.openxmlformats.org/wordprocessingml/2006/main"},w14:{key:"xmlns:w14",value:"http://schemas.microsoft.com/office/word/2010/wordml"},w15:{key:"xmlns:w15",value:"http://schemas.microsoft.com/office/word/2012/wordml"},w16cex:{key:"xmlns:w16cex",value:"http://schemas.microsoft.com/office/word/2018/wordml/cex"},w16cid:{key:"xmlns:w16cid",value:"http://schemas.microsoft.com/office/word/2016/wordml/cid"},w16:{key:"xmlns:w16",value:"http://schemas.microsoft.com/office/word/2018/wordml"},w16sdtdh:{key:"xmlns:w16sdtdh",value:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"},w16se:{key:"xmlns:w16se",value:"http://schemas.microsoft.com/office/word/2015/wordml/symex"},Ignorable:{key:"mc:Ignorable",value:"w14 w15 w16se w16cid w16 w16cex w16sdtdh"}},children:e.map((e,r)=>D({name:e.name,characterSet:e.characterSet},Object.fromEntries(t[r].map(({element:e,file:t})=>[e,{id:`rId${this.files.indexOf(t)+1}`,fontKey:t.fontKey}])))).map(nJ)}),this.relationships=new nm;for(let e=0;e<this.files.length;e++)this.relationships.addRelationship(e+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/font",`fonts/font${e+1}.odttf`)}get View(){return this.fontTable}get Relationships(){return this.relationships}},n0=new WeakMap,n1=tF(),n2={left:"right",right:"left"},n5=class extends L{constructor(e,{implicitListParagraphStyle:t=!0,inListOrder:r=!0}={}){var n,i,o;if(super("w:pPr",null==e?void 0:e.includeIfEmpty),R(this,"numbering",void 0),R(this,"numberProperties",void 0),!e)return this;if(e.heading&&this.push(nP(e.heading)),t&&(e.bullet&&this.push(nP("ListParagraph")),!e.numbering||e.numbering.custom||e.style||e.heading||this.push(nP("ListParagraph"))),e.style&&this.push(nP(e.style)),void 0!==e.keepNext&&this.push(new e_("w:keepNext",e.keepNext)),void 0!==e.keepLines&&this.push(new e_("w:keepLines",e.keepLines)),e.pageBreakBefore&&this.push(new nR),e.frame&&this.push(new eR({name:"w:framePr",attributes:{anchorLock:{key:"w:anchorLock",value:(n=e.frame).anchorLock},dropCap:{key:"w:dropCap",value:n.dropCap},width:{key:"w:w",value:n.width},height:{key:"w:h",value:n.height},x:{key:"w:x",value:n.position?n.position.x:void 0},y:{key:"w:y",value:n.position?n.position.y:void 0},anchorHorizontal:{key:"w:hAnchor",value:n.anchor.horizontal},anchorVertical:{key:"w:vAnchor",value:n.anchor.vertical},spaceHorizontal:{key:"w:hSpace",value:null==(i=n.space)?void 0:i.horizontal},spaceVertical:{key:"w:vSpace",value:null==(o=n.space)?void 0:o.vertical},rule:{key:"w:hRule",value:n.rule},alignmentX:{key:"w:xAlign",value:n.alignment?n.alignment.x:void 0},alignmentY:{key:"w:yAlign",value:n.alignment?n.alignment.y:void 0},lines:{key:"w:lines",value:n.lines},wrap:{key:"w:wrap",value:n.wrap}}})),void 0!==e.widowControl&&this.push(new e_("w:widowControl",e.widowControl)),e.bullet&&this.push(new nN(1,e.bullet.level)),e.numbering){let{reference:t,instance:n,level:i,restart:o}=e.numbering,s="string"==typeof t?t:t.reference,a=new nN(nZ(s,null!=n?n:0),i);this.numbering={reference:s,level:i,instance:n,restartedListId:o&&r&&void 0===n?n1():void 0,definition:"string"==typeof t?void 0:t},this.numberProperties=a,this.push(a)}else!1===e.numbering&&this.push(new nN(0,0));e.border&&this.push(new eZ(e.border)),e.thematicBreak&&this.push(new eq),e.shading&&this.push(te(e.shading)),e.wordWrap&&this.push(new eR({name:"w:wordWrap",attributes:{val:{key:"w:val",value:0}}})),e.overflowPunctuation&&this.push(new e_("w:overflowPunct",e.overflowPunctuation));let s=[...void 0!==e.rightTabStop?[{type:"right",position:e.rightTabStop}]:[],...e.tabStops?e.tabStops:[],...void 0!==e.leftTabStop?[{type:"left",position:e.leftTabStop}]:[]];s.length>0&&this.push(new eR({name:"w:tabs",children:s.map(e=>(({type:e,position:t,leader:r})=>new eR({name:"w:tab",attributes:{val:{key:"w:val",value:e},pos:{key:"w:pos",value:eb(t)},leader:{key:"w:leader",value:r}}}))(e))})),void 0!==e.bidirectional&&this.push(new e_("w:bidi",e.bidirectional)),e.spacing&&this.push((({after:e,before:t,line:r,lineRule:n,beforeAutoSpacing:i,afterAutoSpacing:o})=>new eR({name:"w:spacing",attributes:{after:{key:"w:after",value:e},before:{key:"w:before",value:t},line:{key:"w:line",value:r},lineRule:{key:"w:lineRule",value:n},beforeAutoSpacing:{key:"w:beforeAutospacing",value:i},afterAutoSpacing:{key:"w:afterAutospacing",value:o}}}))(e.spacing)),e.indent&&this.push((({start:e,end:t,left:r,right:n,hanging:i,firstLine:o,firstLineChars:s})=>new eR({name:"w:ind",attributes:{start:{key:"w:start",value:void 0===e?void 0:eb(e)},end:{key:"w:end",value:void 0===t?void 0:eb(t)},left:{key:"w:left",value:void 0===r?void 0:eb(r)},right:{key:"w:right",value:void 0===n?void 0:eb(n)},hanging:{key:"w:hanging",value:void 0===i?void 0:ex(i)},firstLine:{key:"w:firstLine",value:void 0===o?void 0:ex(o)},firstLineChars:{key:"w:firstLineChars",value:void 0===s?void 0:ep(s)}}}))(e.indent)),void 0!==e.contextualSpacing&&this.push(new e_("w:contextualSpacing",e.contextualSpacing)),e.alignment&&this.push(eP(e.bidirectional&&n2[e.alignment]||e.alignment)),void 0!==e.outlineLevel&&this.push(new eR({name:"w:outlineLvl",attributes:{val:{key:"w:val",value:e.outlineLevel}}})),void 0!==e.suppressLineNumbers&&this.push(new e_("w:suppressLineNumbers",e.suppressLineNumbers)),void 0!==e.autoSpaceEastAsianText&&this.push(new e_("w:autoSpaceDN",e.autoSpaceEastAsianText)),e.run&&this.push(new td(e.run)),e.revision&&this.push(new n6(e.revision))}push(e){this.root.push(e)}addSectionProperties(e){let t=this.root.findIndex(e=>e instanceof n6);-1===t?this.root.push(e):this.root.splice(t,0,e)}removeSectionProperties(e){let t=this.root.indexOf(e);-1!==t&&this.root.splice(t,1)}prepForXml(e){var t,r,n,i;if(this.numbering){let{reference:t,level:i,instance:o=0,definition:s}=this.numbering,a=void 0===this.numbering.instance?null!=(r=this.numbering.restartedListId)?r:null==(n=n0.get(e))?void 0:n.get(t):void 0;e.viewWrapper instanceof nQ||e.file.Numbering.createConcreteNumberingInstance(t,o,s,a);let l=new nN(nZ(t,o,a),i);this.root.splice(this.root.indexOf(this.numberProperties),1,l),this.numberProperties=l}let o=super.prepForXml(e);return(null==(t=this.numbering)?void 0:t.restartedListId)!==void 0&&n0.set(e,new Map([...null!=(i=n0.get(e))?i:[],[this.numbering.reference,this.numbering.restartedListId]])),o}},n6=class extends M{constructor(e){super("w:pPrChange"),this.root.push(new tr({id:e.id,author:e.author,date:e.date})),this.root.push(new n5(D(D({},e),{},{includeIfEmpty:!0}),{inListOrder:!1}))}},n3=class extends nL{constructor(e){if(super("w:p"),R(this,"properties",void 0),R(this,"alignment",void 0),"string"==typeof e)return this.alignment={},this.properties=new n5({}),this.root.push(this.properties),this.root.push(new ty(e)),this;if(this.alignment={alignment:e.alignment,bidirectional:e.bidirectional},this.properties=new n5(e),this.root.push(this.properties),e.text&&this.root.push(new ty(e.text)),e.children)for(let t of e.children){if(t instanceof n$){this.root.push(...t.writtenAs);continue}this.root.push(t)}}prepForXml(e){for(let t of this.root)if("w:externalHyperlink"===N(t)){let r=this.root.indexOf(t),{options:n}=t,{target:i,anchor:o}=nX(n.link),s=new nD(n.children,tB(),o,n.link);e.viewWrapper.Relationships.addRelationship(s.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",i,ry),this.root[r]=s}return super.prepForXml(e)}addSectionProperties(e){this.properties.addSectionProperties(e)}removeSectionProperties(e){this.properties.removeSectionProperties(e)}get Alignment(){return this.alignment}addRunToFront(e){return this.root.splice(1,0,e),this}};D(D({},{TOP:"top",CENTER:"center",BOTTOM:"bottom"}),{},{BOTH:"both"});var n4=e=>new eR({name:"w:vAlign",attributes:{verticalAlign:{key:"w:val",value:e}}}),n8="default",n7=(e,t)=>new eR({name:e,attributes:{type:{key:"w:type",value:t.type||n8},id:{key:"r:id",value:`rId${t.id}`}}}),n9=({name:e,position:t,numberFormat:r,start:n,restart:i})=>new eR({name:e,children:[...void 0===t?[]:[new eR({name:"w:pos",attributes:{val:{key:"w:val",value:t}}})],...r?[new eR({name:"w:numFmt",attributes:{val:{key:"w:val",value:r.type},format:{key:"w:format",value:r.format}}})]:[],...void 0===n?[]:[new eR({name:"w:numStart",attributes:{val:{key:"w:val",value:ep(n)}}})],...void 0===i?[]:[new eR({name:"w:numRestart",attributes:{val:{key:"w:val",value:i}}})]]}),ie=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"})}},it=class extends L{constructor(e){if(super("w:pgBorders"),!e)return this;e.pageBorders?this.root.push(new ie({display:e.pageBorders.display,offsetFrom:e.pageBorders.offsetFrom,zOrder:e.pageBorders.zOrder})):this.root.push(new ie({})),e.pageBorderTop&&this.root.push(eV("w:top",e.pageBorderTop)),e.pageBorderLeft&&this.root.push(eV("w:left",e.pageBorderLeft)),e.pageBorderBottom&&this.root.push(eV("w:bottom",e.pageBorderBottom)),e.pageBorderRight&&this.root.push(eV("w:right",e.pageBorderRight))}},ir="landscape",ii=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{val:"w:val"})}},io=class extends M{constructor(e){super("w:textDirection"),this.root.push(new ii({val:e}))}},is=class e extends M{constructor({page:{size:{width:t=11906,height:r=16838,orientation:n="portrait",code:i}={},margin:{top:o=1440,right:s=1440,bottom:a=1440,left:l=1440,header:u=708,footer:c=708,gutter:h=0}={},pageNumbers:p={},borders:d,textDirection:f}={},grid:{linePitch:m=360,charSpace:w,type:g}={},headerWrapperGroup:y={},footerWrapperGroup:v={},lineNumbers:b,titlePage:x,verticalAlign:k,column:_,type:S,footnoteProperties:E,endnoteProperties:A,revision:T}={}){super("w:sectPr"),R(this,"availableTextWidth",void 0),this.availableTextWidth=e.calculateAvailableTextWidth({pageWidth:n===ir?r:t,left:l,right:s,gutter:h,column:_}),this.addHeaderFooterGroup("w:headerReference",y),this.addHeaderFooterGroup("w:footerReference",v),E&&this.root.push(n9(D({name:"w:footnotePr"},E))),A&&this.root.push(n9(D({name:"w:endnotePr"},A))),S&&this.root.push(new eR({name:"w:type",attributes:{val:{key:"w:val",value:S}}})),this.root.push((({width:e,height:t,orientation:r,code:n})=>{let i=ex(e),o=ex(t);return new eR({name:"w:pgSz",attributes:{width:{key:"w:w",value:r===ir?o:i},height:{key:"w:h",value:r===ir?i:o},orientation:{key:"w:orient",value:r},code:{key:"w:code",value:n}}})})({width:t,height:r,orientation:n,code:i})),this.root.push(new eR({name:"w:pgMar",attributes:{top:{key:"w:top",value:eb(o)},right:{key:"w:right",value:ex(s)},bottom:{key:"w:bottom",value:eb(a)},left:{key:"w:left",value:ex(l)},header:{key:"w:header",value:ex(u)},footer:{key:"w:footer",value:ex(c)},gutter:{key:"w:gutter",value:ex(h)}}})),d&&this.root.push(new it(d)),b&&this.root.push((({countBy:e,start:t,restart:r,distance:n})=>new eR({name:"w:lnNumType",attributes:{countBy:{key:"w:countBy",value:void 0===e?void 0:ep(e)},start:{key:"w:start",value:void 0===t?void 0:ep(t)},restart:{key:"w:restart",value:r},distance:{key:"w:distance",value:void 0===n?void 0:ex(n)}}}))(b)),this.root.push((({start:e,formatType:t,separator:r,chapterHeadingLevel:n})=>new eR({name:"w:pgNumType",attributes:{start:{key:"w:start",value:void 0===e?void 0:ep(e)},formatType:{key:"w:fmt",value:t},separator:{key:"w:chapSep",value:"endash"===r?"enDash":r},chapterHeadingLevel:{key:"w:chapStyle",value:void 0===n?void 0:ep(n)}}}))(p)),_&&this.root.push((({space:e,count:t,separate:r,equalWidth:n,children:i})=>new eR({name:"w:cols",attributes:{space:{key:"w:space",value:void 0===e?void 0:ex(e)},count:{key:"w:num",value:void 0===t?void 0:ep(t)},separate:{key:"w:sep",value:r},equalWidth:{key:"w:equalWidth",value:n}},children:!n&&i?i:void 0}))(_)),k&&this.root.push(n4(k)),void 0!==x&&this.root.push(new e_("w:titlePg",x)),f&&this.root.push(new io(f)),this.root.push((({type:e,linePitch:t,charSpace:r})=>new eR({name:"w:docGrid",attributes:{type:{key:"w:type",value:e},linePitch:{key:"w:linePitch",value:ep(t)},charSpace:{key:"w:charSpace",value:r?ep(r):void 0}}}))({linePitch:m,charSpace:w,type:g})),T&&this.root.push(new ia(T))}get AvailableTextWidth(){return this.availableTextWidth}static calculateAvailableTextWidth({pageWidth:e,left:t,right:r,gutter:n,column:i}){var o,s;let a=eg(e)-eg(t)-eg(r)-eg(n),l=null!=(o=null==i?void 0:i.count)?o:1;return l<=1?a:(a-eg(null!=(s=null==i?void 0:i.space)?s:720)*(l-1))/l}addHeaderFooterGroup(e,t){t.default&&this.root.push(n7(e,{type:n8,id:t.default.View.ReferenceId})),t.first&&this.root.push(n7(e,{type:"first",id:t.first.View.ReferenceId})),t.even&&this.root.push(n7(e,{type:"even",id:t.even.View.ReferenceId}))}},ia=class extends M{constructor(e){super("w:sectPrChange"),this.root.push(new tr({id:e.id,author:e.author,date:e.date})),this.root.push(new is(e))}},il=class extends M{constructor({pageNumbers:e}={}){super("w:body"),R(this,"sections",[]),R(this,"sectionParagraphs",new Map),R(this,"headingBookmarkIds",new rQ),R(this,"pageNumbers",void 0),this.pageNumbers=e}getSectionPropertiesFor(e){let t=e?Math.max(this.root.indexOf(e),0):0;for(let e=t;e<this.root.length;e++){let t=this.root[e];if(t instanceof is)return t;let r=this.sectionParagraphs.get(t);if(r)return r}return this.sections[this.sections.length-1]}addSection(e){let t=this.sections.pop(),r=this.lastParagraphOfSection();if(t&&r)this.sectionParagraphs.set(r,t);else{let e=this.createSectionParagraph();this.root.push(e),t&&this.sectionParagraphs.set(e,t)}this.sections.push(new is(e))}prepForXml(e){var t,r;let n;for(let[e,t]of(1===this.sections.length&&(this.root.splice(0,1),this.root.push(this.sections.pop())),this.sectionParagraphs))e.addSectionProperties(t);try{n=super.prepForXml(e)}finally{for(let[e,t]of this.sectionParagraphs)e.removeSectionProperties(t)}let i=null==(t=this.pageNumbers)?void 0:t.listNumbers;if(((e,t,r,n)=>{var i;let o,s,a=r4(r1(e)),l=a.flatMap(e=>{let t=rY.get(e);return t?[[e,t]]:[]});if(0===l.length)return;let u=r9(t),c=l.some(([,{properties:e}])=>!!e.entriesFromBookmark),h=(i=a.filter(e=>"w:p"===r0(e)),s=c?(o=new Map,i.map(e=>{let t=r7(e),r=new Set([...o.values(),...t.flatMap(e=>e.start?[e.name]:[])]);for(let e of t)e.start?o.set(e.id,e.name):o.delete(e.id);return r})):[],i.map((e,t)=>{var r;let n,i,o=r2(e,"w:pPr");return{element:e,styleId:r5(r2(o,"w:pStyle"),"w:val"),outlineLevel:r6(r2(o,"w:outlineLvl"),"w:val"),text:(n=[],i=e=>{let t=r0(e);if(void 0!==t&&r8.has(t))return r1(e).map(i).join("");if("w:fldChar"===t){let t=r5(e,"w:fldCharType");return"begin"===t?n.push(!1):"separate"===t?n[n.length-1]=!0:n.pop(),""}return n.every(Boolean)?(e=>{switch(r0(e)){case"w:t":return r1(e).filter(e=>"string"==typeof e).join("");case"w:tab":return" ";case"w:br":return[void 0,"textWrapping"].includes(r5(e,"w:type"))?"\n":"";case"w:cr":return"\n";case"w:noBreakHyphen":return"-";default:return""}})(e):""},r1(e).map(i).join("")),bookmarks:null!=(r=s[t])?r:new Set}})).map(e=>({paragraph:e,levels:l.map(([,{properties:t}])=>((e,t,r)=>{var n;let{entriesFromBookmark:i,headingStyleRange:o,stylesWithLevels:s=[],useAppliedParagraphOutlineLevel:a}=e;if(""===t.text.trim()||i&&!t.bookmarks.has(i))return;let l=[t.styleId,void 0===t.styleId||null==(n=r.get(t.styleId))?void 0:n.name].filter(e=>void 0!==e).map(e=>e.toLowerCase()),u=s.find(e=>l.includes(e.styleName.toLowerCase()));if(u)return u.level;let c=!!o||s.length>0||!!a||!!e.tcFieldIdentifier||!!e.tcFieldLevelRange||!!e.captionLabel||!!e.captionLabelIncludingNumbers,h=o?ne(o):c?void 0:[1,9],p=nr(t.styleId,r);if(h&&void 0!==p&&nt(p,h))return p;let d=a?ni(t,r):void 0;return void 0!==d&&nt(d+1,null!=h?h:[1,9])?d+1:void 0})(t,e,u))})).filter(({levels:e})=>e.some(e=>void 0!==e)).map((e,t)=>D(D({},e),{},{id:r.get(t)}));for(let{paragraph:e,id:r}of h)no(e.element,`_Toc${r}`,r,t);let p=h.length>0?null==n?void 0:n(e):void 0;l.forEach(([e,r],n)=>{let i=h.flatMap(({paragraph:e,levels:t,id:r})=>{let i=t[n],o=null==p?void 0:p.get(`_Toc${r}`);return void 0===i?[]:[D({title:e.text,level:i,bookmark:`_Toc${r}`},o?{listNumber:o}:{})]});0!==i.length&&(e["w:sdt"]=r1(e).map(e=>"w:sdtContent"===r0(e)?(({properties:e,beginDirty:t,textWidth:r},n,i,o)=>{var s;let a=e.pageNumbersEntryLevelsRange?null!=(s=ne(e.pageNumbersEntryLevelsRange))?s:[1,9]:void 0,l=new rJ;return n.forEach((n,o)=>{var s,u,c,h;let p,d,f,m,w=void 0===a||!nt(n.level,a),g=[...n.listNumber?(({text:e,separator:t})=>"tab"===t?[new ty(e),new ty({children:[new nI]})]:[new ty(`${e} `)])(n.listNumber):[],...(u=n.title,p=e.preserveTabInEntries?u:u.replace(/\t/g," "),(e.preserveNewLineInEntries?p.split("\n"):[p.replace(/\n/g," ")]).map((e,t)=>new ty({break:t>0?1:void 0,children:e.split(" ").flatMap((e,t)=>[...t>0?[new nI]:[],...""===e?[]:[e]])}))),...w?[new ty({children:[e.entryAndPageNumberSeparator||new nI]}),new nV(n.bookmark,{hyperlink:e.hyperlink})]:[]],y=(c=n.level,f=null!=(d=null==(h=[...i].find(([,e])=>{var t;return(null==(t=e.name)?void 0:t.toLowerCase())===`toc ${c}`}))?void 0:h[0])?d:`TOC${c}`,void 0!==d||i.has(f)||1===c?{id:f}:{id:f,indent:(c-1)*220});l.addChildElement(new n3({style:y.id,indent:void 0===y.indent?void 0:{left:y.indent},tabStops:[...(null==(s=n.listNumber)?void 0:s.separator)==="tab"?[{type:"left",position:(m=240*(n.level-1)+n.listNumber.width+240)<=1920?240*Math.ceil(m/240):Math.round(m)}]:[],{type:"right",position:r,leader:"dot"}],children:[...0===o?[new tg({children:[void 0===t?e5():e0(eY,t,void 0),new rq(e),e0(eQ,void 0)]})]:[],...e.hyperlink?[new nj({anchor:n.bookmark,children:g})]:g]}))}),l.addChildElement(new n3({children:[new tg({children:[e0("end",void 0)]})]})),l.prepForXml(o)})(r,i,u,t):e))})})(n,e,this.headingBookmarkIds,i&&(t=>i(t,e))),this.pageNumbers){let t,i;((e,t)=>{var r;let n,i,o,s,a,l,u,c,{startParagraph:h,numberOf:p}=(o=(i=r9(r=t),e=>{let t=r2(e,"w:pPr"),r=r5(r2(t,"w:pStyle"),"w:val"),n=nr(r,i),o=ni({styleId:r,outlineLevel:r6(r2(t,"w:outlineLvl"),"w:val")},i),s=void 0===o||o>=9?void 0:o+1;return void 0!==n&&(void 0===s||s===n)?n:void 0===s?void 0:"unclear"}),s=new Map,a=new Map,l=[],u=-1,c=-1,{startParagraph:e=>{c++;let t=o(e);"unclear"===t?u=c:void 0!==t&&(l[t]=c)},numberOf:(e,t)=>{var i,o,h,p;let d,f,m,{identifier:w,sequence:g}=na(e);if(void 0===w||"fallback"===t)return;null!=n||(n=(e=>{var t;let r=null==(t=e.file)?void 0:t.Comments;if(!r)return new Set;let n={View:r,Relationships:r.Relationships};return new Set(nl(r.prepForXml(D(D({},e),{},{viewWrapper:n,stack:[]}))))})(r));let y=w.toLowerCase();if((null==g?void 0:g.step.type)==="bookmark"&&"counted"===t&&!n.has(y))return;let v=s.has(y)?s.get(y):0,b=n.has(y)||"deleted"===t||null==g?void 0:g.step,x=(null==b?void 0:b.type)==="reset"?b.to:(null==b?void 0:b.type)==="repeat"?v:(null==b?void 0:b.type)==="heading"?(h=b.level,d=Math.max(-1,...l.slice(1,h+1).filter(e=>void 0!==e)),m=(f=(null!=(p=a.get(y))?p:[]).filter(e=>e.paragraph>=d)).every(({step:e})=>(null==e?void 0:e.type)==="next"||(null==e?void 0:e.type)==="heading"&&e.level===h),u>d||!m?void 0:f.length+1):(null==b?void 0:b.type)==="next"&&void 0!==v?v+1:void 0;return s.set(y,x),a.set(y,[...null!=(i=a.get(y))?i:[],D({paragraph:c},void 0===x?{}:{step:b})]),void 0===x||void 0===g?void 0:g.hidden?"":null==(o=rj(g.format))?void 0:o(x)}});((e,t,{beforeParagraph:r,resultOf:n})=>rK(e,[t],[],{resultOf:(e,{within:t})=>n(e,t),beforeParagraph:r,afterParagraph:()=>void 0}))(nh,e,{beforeParagraph:e=>h(e),resultOf:(e,t)=>void 0!==na(e)?p(e,t):void 0})})(n,e),r=n,t=(0,this.pageNumbers)(r,e),i=rX(nh,r,t,{blank:!1}),e.file&&np.set(e.file,{estimate:t,partPageCounts:i})}return n}push(e){let t=e instanceof n3?this.sectionParagraphs.get(e):void 0;if(t){let r=this.createSectionParagraph();this.root.splice(this.root.indexOf(e)+1,0,r),this.sectionParagraphs.delete(e),this.sectionParagraphs.set(r,t)}this.root.push(e)}lastParagraphOfSection(){let e=this.root[this.root.length-1];return e instanceof n3&&e!==this.root[0]&&!this.sectionParagraphs.has(e)&&this.root.indexOf(e)===this.root.length-1?e:void 0}createSectionParagraph(){return new n3({})}},iu={AUTO:"auto",DXA:"dxa",PERCENTAGE:"pct"},ic=(e,{type:t=iu.AUTO,size:r})=>{let n=r;return t===iu.PERCENTAGE&&"number"==typeof r&&(n=Math.round(50*r)),new eR({name:e,attributes:{type:{key:"w:type",value:t},size:{key:"w:w",value:ek(n)}}})},ih=e=>new eR({name:"w:gridCol",attributes:void 0!==e?{width:{key:"w:w",value:ex(e)}}:void 0}),ip=class extends M{constructor(e,t){for(let t of(super("w:tblGrid"),e))this.root.push(ih(t));t&&this.root.push(new im(t))}},id=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{id:"w:id"})}},im=class extends M{constructor(e){super("w:tblGridChange"),this.root.push(new id({id:e.id})),this.root.push(new ip(e.columnWidths))}},iw=class extends M{constructor(e){super("w:ins"),this.root.push(new tr({id:e.id,author:e.author,date:e.date}))}},ig=class extends M{constructor(e){super("w:del"),this.root.push(new tr({id:e.id,author:e.author,date:e.date}))}},iy=class extends M{constructor(e){super("w:cellIns"),this.root.push(new tr({id:e.id,author:e.author,date:e.date}))}},iv=class extends M{constructor(e){super("w:cellDel"),this.root.push(new tr({id:e.id,author:e.author,date:e.date}))}},ib=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date",verticalMerge:"w:vMerge",verticalMergeOriginal:"w:vMergeOrig"})}},ix=class extends M{constructor(e){super("w:cellMerge"),this.root.push(new ib(e))}},ik=({marginUnitType:e=iu.DXA,top:t,left:r,bottom:n,right:i})=>[{name:"w:top",size:t},{name:"w:left",size:r},{name:"w:bottom",size:n},{name:"w:right",size:i}].filter(e=>void 0!==e.size).map(({name:t,size:r})=>ic(t,{type:e,size:r})),i_=class extends L{constructor(e){super("w:tcBorders"),e.top&&this.root.push(eV("w:top",e.top)),e.start&&this.root.push(eV("w:start",e.start)),e.left&&this.root.push(eV("w:left",e.left)),e.bottom&&this.root.push(eV("w:bottom",e.bottom)),e.end&&this.root.push(eV("w:end",e.end)),e.right&&this.root.push(eV("w:right",e.right))}},iS=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{val:"w:val"})}},iE=class extends M{constructor(e){super("w:gridSpan"),this.root.push(new iS({val:ep(e)}))}},iA=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{val:"w:val"})}},iT=class extends M{constructor(e){super("w:vMerge"),this.root.push(new iA({val:e}))}},iC=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{val:"w:val"})}},iI=class extends M{constructor(e){super("w:textDirection"),this.root.push(new iC({val:e}))}},iR=class extends L{constructor(e){if(super("w:tcPr",e.includeIfEmpty),R(this,"hasWidth",void 0),R(this,"hasColumnWidth",!1),this.hasWidth=void 0!==e.width,e.width&&this.root.push(ic("w:tcW",e.width)),e.columnSpan&&this.root.push(new iE(e.columnSpan)),e.verticalMerge?this.root.push(new iT(e.verticalMerge)):e.rowSpan&&e.rowSpan>1&&this.root.push(new iT("restart")),e.borders&&this.root.push(new i_(e.borders)),e.shading&&this.root.push(te(e.shading)),e.margins){let t=(e=>{let t=ik(e);if(0!==t.length)return new eR({name:"w:tcMar",children:t})})(e.margins);t&&this.root.push(t)}e.textDirection&&this.root.push(new iI(e.textDirection)),e.verticalAlign&&this.root.push(n4(e.verticalAlign)),e.insertion&&this.root.push(new iy(e.insertion)),e.deletion&&this.root.push(new iv(e.deletion)),e.cellMerge&&this.root.push(new ix(e.cellMerge)),e.revision&&this.root.push(new iO(e.revision))}setColumnWidth(e){this.hasWidth||(this.root.splice(0,+!!this.hasColumnWidth,ic("w:tcW",{size:e,type:iu.DXA})),this.hasColumnWidth=!0)}},iO=class extends M{constructor(e){super("w:tcPrChange"),this.root.push(new tr({id:e.id,author:e.author,date:e.date})),this.root.push(new iR(D(D({},e),{},{includeIfEmpty:!0})))}},iP=(e,t)=>t?new e_(e):new eA(e,"off"),iN={style:"none",size:0,color:"auto"},iF={style:eX,size:4,color:"auto"},iM=class extends L{constructor(e,{fillMissingSides:t=!0}={}){for(let[r,n]of(super("w:tblBorders"),[["w:top",e.top],["w:left",e.left],["w:bottom",e.bottom],["w:right",e.right],["w:insideH",e.insideHorizontal],["w:insideV",e.insideVertical]])){let e=null!=n?n:t?iF:void 0;e&&this.root.push(eV(r,e))}}};R(iM,"NONE",{top:iN,bottom:iN,left:iN,right:iN,insideHorizontal:iN,insideVertical:iN});var iL={DXA:"dxa"},iB=({type:e=iL.DXA,value:t})=>new eR({name:"w:tblCellSpacing",attributes:{type:{key:"w:type",value:e},value:{key:"w:w",value:ek(t)}}}),iD=class extends L{constructor(e){var t;if(super("w:tblPr",e.includeIfEmpty),e.style&&this.root.push(new eA("w:tblStyle",e.style)),e.float&&this.root.push((({horizontalAnchor:e,verticalAnchor:t,absoluteHorizontalPosition:r,relativeHorizontalPosition:n,absoluteVerticalPosition:i,relativeVerticalPosition:o,bottomFromText:s,topFromText:a,leftFromText:l,rightFromText:u})=>new eR({name:"w:tblpPr",attributes:{leftFromText:{key:"w:leftFromText",value:void 0===l?void 0:ex(l)},rightFromText:{key:"w:rightFromText",value:void 0===u?void 0:ex(u)},topFromText:{key:"w:topFromText",value:void 0===a?void 0:ex(a)},bottomFromText:{key:"w:bottomFromText",value:void 0===s?void 0:ex(s)},absoluteHorizontalPosition:{key:"w:tblpX",value:void 0===r?void 0:eb(r)},absoluteVerticalPosition:{key:"w:tblpY",value:void 0===i?void 0:eb(i)},horizontalAnchor:{key:"w:horzAnchor",value:e},relativeHorizontalPosition:{key:"w:tblpXSpec",value:n},relativeVerticalPosition:{key:"w:tblpYSpec",value:o},verticalAnchor:{key:"w:vertAnchor",value:t}}}))(e.float)),(null==(t=e.float)?void 0:t.overlap)&&this.root.push(new eR({name:"w:tblOverlap",attributes:{val:{key:"w:val",value:e.float.overlap}}})),void 0!==e.visuallyRightToLeft&&this.root.push(iP("w:bidiVisual",e.visuallyRightToLeft)),e.width&&this.root.push(ic("w:tblW",e.width)),e.alignment&&this.root.push(eP(e.alignment)),e.cellSpacing&&this.root.push(iB(e.cellSpacing)),e.indent&&this.root.push(ic("w:tblInd",e.indent)),e.borders&&this.root.push(new iM(e.borders,{fillMissingSides:!e.style})),e.shading&&this.root.push(te(e.shading)),e.layout&&this.root.push(new eR({name:"w:tblLayout",attributes:{type:{key:"w:type",value:e.layout}}})),e.cellMargin){let t=(e=>{let t=ik(e);if(0!==t.length)return new eR({name:"w:tblCellMar",children:t})})(e.cellMargin);t&&this.root.push(t)}e.tableLook&&this.root.push((({firstRow:e,lastRow:t,firstColumn:r,lastColumn:n,noHBand:i,noVBand:o})=>new eR({name:"w:tblLook",attributes:{firstRow:{key:"w:firstRow",value:e},lastRow:{key:"w:lastRow",value:t},firstColumn:{key:"w:firstColumn",value:r},lastColumn:{key:"w:lastColumn",value:n},noHBand:{key:"w:noHBand",value:i},noVBand:{key:"w:noVBand",value:o}}}))(e.tableLook)),e.revision&&this.root.push(new ij(e.revision))}},ij=class extends M{constructor(e){super("w:tblPrChange"),this.root.push(new tr({id:e.id,author:e.author,date:e.date})),this.root.push(new iD(D(D({},e),{},{includeIfEmpty:!0})))}},iU=class extends L{constructor(e){let t,r;super("w:trPr",e.includeIfEmpty),void 0!==e.cantSplit&&this.root.push(iP("w:cantSplit",e.cantSplit)),void 0!==e.tableHeader&&this.root.push(iP("w:tblHeader",e.tableHeader)),e.height&&this.root.push((t=e.height.value,r=e.height.rule,new eR({name:"w:trHeight",attributes:{value:{key:"w:val",value:ex(t)},rule:{key:"w:hRule",value:r}}}))),e.cellSpacing&&this.root.push(iB(e.cellSpacing)),e.insertion&&this.root.push(new iw(e.insertion)),e.deletion&&this.root.push(new ig(e.deletion)),e.revision&&this.root.push(new iz(e.revision))}},iz=class extends M{constructor(e){super("w:trPrChange"),this.root.push(new tr({id:e.id,author:e.author,date:e.date})),this.root.push(new iU(D(D({},e),{},{includeIfEmpty:!0})))}},iW=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}},i$=class extends M{constructor(){super("Properties"),this.root.push(new iW({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}},iH=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{xmlns:"xmlns"})}},iG=(e,t)=>new eR({name:"Default",attributes:{contentType:{key:"ContentType",value:e},extension:{key:"Extension",value:t}}}),iK=(e,t)=>new eR({name:"Override",attributes:{contentType:{key:"ContentType",value:e},partName:{key:"PartName",value:t}}}),iV=class extends M{constructor({macros:e=!1}={}){super("Types"),this.root.push(new iH({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(iG("image/png","png")),this.root.push(iG("image/jpeg","jpeg")),this.root.push(iG("image/jpeg","jpg")),this.root.push(iG("image/bmp","bmp")),this.root.push(iG("image/gif","gif")),this.root.push(iG("image/svg+xml","svg")),this.root.push(iG("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(iG("application/xml","xml")),this.root.push(iG("application/vnd.openxmlformats-officedocument.obfuscatedFont","odttf")),this.root.push(iK(e?"application/vnd.ms-word.document.macroEnabled.main+xml":"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(iK("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(iK("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(iK("application/vnd.openxmlformats-officedocument.custom-properties+xml","/docProps/custom.xml")),this.root.push(iK("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(iK("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(iK("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(iK("application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml","/word/endnotes.xml")),this.root.push(iK("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml")),this.root.push(iK("application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","/word/fontTable.xml")),this.root.push(iK("application/vnd.openxmlformats-officedocument.theme+xml","/word/theme/theme1.xml")),e&&this.root.push(iK("application/vnd.ms-office.vbaProject","/word/vbaProject.bin"))}addComments(){this.root.push(iK("application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","/word/comments.xml"))}addCommentsExtended(){this.root.push(iK("application/vnd.openxmlformats-officedocument.wordprocessingml.commentsExtended+xml","/word/commentsExtended.xml"))}addCommentsIds(){this.root.push(iK("application/vnd.openxmlformats-officedocument.wordprocessingml.commentsIds+xml","/word/commentsIds.xml"))}addFooter(e){this.root.push(iK("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${e}.xml`))}addOverride(e,t){this.root.push(iK(e,t))}addHeader(e){this.root.push(iK("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${e}.xml`))}},iX={wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",aink:"http://schemas.microsoft.com/office/drawing/2016/ink",am3d:"http://schemas.microsoft.com/office/drawing/2017/model3d",w16cex:"http://schemas.microsoft.com/office/word/2018/wordml/cex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16:"http://schemas.microsoft.com/office/word/2018/wordml",w16sdtdh:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"},iZ=class extends j{constructor(e,t){super(D({Ignorable:t},Object.fromEntries(e.map(e=>[e,iX[e]])))),R(this,"xmlKeys",D({Ignorable:"mc:Ignorable"},Object.fromEntries(Object.keys(iX).map(e=>[e,`xmlns:${e}`]))))}},iq=class extends M{constructor(e){super("cp:coreProperties"),this.root.push(new iZ(["cp","dc","dcterms","dcmitype","xsi"])),e.title&&this.root.push(new eI("dc:title",e.title)),e.subject&&this.root.push(new eI("dc:subject",e.subject)),e.creator&&this.root.push(new eI("dc:creator",e.creator)),e.keywords&&this.root.push(new eI("cp:keywords",e.keywords)),e.description&&this.root.push(new eI("dc:description",e.description)),e.lastModifiedBy&&this.root.push(new eI("cp:lastModifiedBy",e.lastModifiedBy)),e.revision&&this.root.push(new eI("cp:revision",String(e.revision))),this.root.push(new iY("dcterms:created")),this.root.push(new iY("dcterms:modified"))}},iJ=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{type:"xsi:type"})}},iY=class extends M{constructor(e){super(e),this.root.push(new iJ({type:"dcterms:W3CDTF"})),this.root.push((new Date).toISOString())}},iQ=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}},i0=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{formatId:"fmtid",pid:"pid",name:"name"})}},i1=class extends M{constructor(e,t){super("property"),this.root.push(new i0({formatId:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:e.toString(),name:t.name})),this.root.push(new i2(t.value))}},i2=class extends M{constructor(e){super("vt:lpwstr"),this.root.push(e)}},i5=class extends M{constructor(e){for(let t of(super("Properties"),R(this,"nextId",void 0),R(this,"properties",[]),this.root.push(new iQ({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"})),this.nextId=2,e))this.addCustomProperty(t)}prepForXml(e){return this.root.splice(1,this.root.length-1,...this.properties),super.prepForXml(e)}addCustomProperty(e){this.properties.push(new i1(this.nextId++,e))}},i6={new:"wne:eventDocNew",open:"wne:eventDocOpen",close:"wne:eventDocClose",sync:"wne:eventDocSync",xmlAfterInsert:"wne:eventDocXmlAfterInsert",xmlBeforeDelete:"wne:eventDocXmlBeforeDelete",contentControlAfterAdd:"wne:eventDocContentControlAfterInsert",contentControlBeforeDelete:"wne:eventDocContentControlBeforeDelete",contentControlOnExit:"wne:eventDocContentControlOnExit",contentControlOnEnter:"wne:eventDocContentControlOnEnter",contentControlBeforeStoreUpdate:"wne:eventDocStoreUpdate",contentControlBeforeContentUpdate:"wne:eventDocContentControlContentUpdate",buildingBlockInsert:"wne:eventDocBuildingBlockAfterInsert"},i3=class extends M{constructor({color:e,themeColor:t,themeShade:r,themeTint:n}){if(super("w:background"),"object"==typeof e&&(void 0!==t||void 0!==r||void 0!==n))throw Error("Invalid background. Expected a theme color in color, or themeColor, themeShade and themeTint, not both");this.root.push(new e$([{keys:eK,color:e},{key:"w:themeColor",value:t},{key:"w:themeShade",value:void 0===r?void 0:ef(r,1)},{key:"w:themeTint",value:void 0===n?void 0:ef(n,1)}]))}},i4=class extends M{constructor(e){super("w:document"),R(this,"body",void 0),this.root.push(new iZ(["wpc","mc","o","r","m","v","wp14","wp","w10","w","w14","w15","wpg","wpi","wne","wps","cx","cx1","cx2","cx3","cx4","cx5","cx6","cx7","cx8","aink","am3d","w16cex","w16cid","w16","w16sdtdh","w16se"],"w14 w15 wp14")),this.body=new il({pageNumbers:e.pageNumbers}),e.background&&this.root.push(new i3(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}},i8=class{constructor(e){R(this,"document",void 0),R(this,"relationships",void 0),this.document=new i4(e),this.relationships=new nm}get View(){return this.document}get Relationships(){return this.relationships}},i7=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}},i9=class extends M{constructor(e,t){super("w:p"),R(this,"paragraph",void 0),R(this,"mark",void 0),this.paragraph=e,this.mark=t}prepForXml(e){let t=this.paragraph.prepForXml(e)["w:p"],r=Array.isArray(t)?t:[],n=+(r.length>0&&"w:pPr"in r[0]);return{"w:p":[...r.slice(0,n),this.mark.prepForXml(e),...r.slice(n)]}}},oe=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{type:"w:type",id:"w:id"})}},ot=class extends tg{constructor(){super({style:"EndnoteReference"}),this.root.push(new nC)}},or=class extends M{constructor(e){for(let[t,r]of(super("w:endnote"),this.root.push(new oe({type:e.type,id:e.id})),e.children.entries()))this.root.push(0===t?new i9(r,new ot):r)}},on=class extends M{constructor(){super("w:continuationSeparator")}},oi=class extends tg{constructor(){super({}),this.root.push(new on)}},oo=class extends M{constructor(){super("w:separator")}},os=class extends tg{constructor(){super({}),this.root.push(new oo)}},oa=class extends M{constructor(){super("w:endnotes"),R(this,"ownNotes",new Map),R(this,"highestId",0),this.root.push(new i7({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));let e=new or({id:-1,type:"separator",children:[new n3({spacing:{after:0,line:240,lineRule:nO},children:[new os]})]});this.root.push(e);let t=new or({id:0,type:"continuationSeparator",children:[new n3({spacing:{after:0,line:240,lineRule:nO},children:[new oi]})]});this.root.push(t)}createEndnote(e,t){let r=new or({id:e,children:t});this.root.push(r),Number.isFinite(e)&&(this.highestId=Math.max(this.highestId,Math.floor(e)))}idOf(e,t,r){if(r.viewWrapper!==r.file.Document)return;let n=this.ownNotes.get(e);if(void 0!==n)return n;let i=this.highestId+1;return this.createEndnote(i,t.children),this.ownNotes.set(e,i),i}prepForXml(e){let t=super.prepForXml(e);return nd(t,e),t}},ol=class{constructor(){R(this,"endnotes",void 0),R(this,"relationships",void 0),this.endnotes=new oa,this.relationships=new nm}get View(){return this.endnotes}get Relationships(){return this.relationships}},ou=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type"})}},oc=class extends eh{constructor(e,t){super("w:ftr",t),R(this,"refId",void 0),this.refId=e,t||this.root.push(new ou({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}prepForXml(e){let t=super.prepForXml(e);return nd(t,e,this.refId),t}},oh=class{constructor(e,t,r){R(this,"media",void 0),R(this,"footer",void 0),R(this,"relationships",void 0),this.media=e,this.footer=new oc(t,r),this.relationships=new nm}add(e){this.footer.add(e)}addChildElement(e){this.footer.addChildElement(e)}get View(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}},op=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{type:"w:type",id:"w:id"})}},od=class extends M{constructor(){super("w:footnoteRef")}},of=class extends tg{constructor(){super({style:"FootnoteReference"}),this.root.push(new od)}},om=class extends M{constructor(e){for(let[t,r]of(super("w:footnote"),this.root.push(new op({type:e.type,id:e.id})),e.children.entries()))this.root.push(0===t?new i9(r,new of):r)}},ow=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}},og=class extends M{constructor(){super("w:footnotes"),R(this,"ownNotes",new Map),R(this,"highestId",0),this.root.push(new ow({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));let e=new om({id:-1,type:"separator",children:[new n3({spacing:{after:0,line:240,lineRule:nO},children:[new os]})]});this.root.push(e);let t=new om({id:0,type:"continuationSeparator",children:[new n3({spacing:{after:0,line:240,lineRule:nO},children:[new oi]})]});this.root.push(t)}createFootNote(e,t){let r=new om({id:e,children:t});this.root.push(r),Number.isFinite(e)&&(this.highestId=Math.max(this.highestId,Math.floor(e)))}idOf(e,t,r){if(r.viewWrapper!==r.file.Document)return;let n=this.ownNotes.get(e);if(void 0!==n)return n;let i=this.highestId+1;return this.createFootNote(i,t.children),this.ownNotes.set(e,i),i}prepForXml(e){let t=super.prepForXml(e);return nd(t,e),t}},oy=class{constructor(){R(this,"footnotess",void 0),R(this,"relationships",void 0),this.footnotess=new og,this.relationships=new nm}get View(){return this.footnotess}get Relationships(){return this.relationships}},ov=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",w16cid:"xmlns:w16cid",w16se:"xmlns:w16se"})}},ob=class extends eh{constructor(e,t){super("w:hdr",t),R(this,"refId",void 0),this.refId=e,t||this.root.push(new ov({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}prepForXml(e){let t=super.prepForXml(e);return nd(t,e,this.refId),t}},ox=class{constructor(e,t,r){R(this,"media",void 0),R(this,"header",void 0),R(this,"relationships",void 0),this.media=e,this.header=new ob(t,r),this.relationships=new nm}add(e){return this.header.add(e),this}addChildElement(e){this.header.addChildElement(e)}get View(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}},ok=class{constructor(){R(this,"map",void 0),this.map=new Map}addImage(e,t){this.map.set(e,t)}get Array(){return Array.from(this.map.values())}},o_="bullet",oS=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{ilvl:"w:ilvl",tentative:"w:tentative"})}},oE=class extends M{constructor(e){super("w:numFmt"),this.root.push(new z({val:e}))}},oA=class extends M{constructor(e){super("w:lvlText"),this.root.push(new z({val:e}))}},oT=class extends M{constructor(e){super("w:lvlJc"),this.root.push(new z({val:(e=>{switch(e){case eO.CENTER:return"center";case eO.END:case eO.RIGHT:return"right";default:return"left"}})(e)}))}},oC=class extends M{constructor(e){super("w:suff"),this.root.push(new z({val:e}))}},oI=class extends M{constructor(){super("w:isLgl")}},oR=class extends M{constructor({level:e,format:t,text:r,alignment:n=eO.START,start:i=1,style:o,suffix:s,isLegalNumberingStyle:a}){if(super("w:lvl"),R(this,"paragraphProperties",void 0),R(this,"runProperties",void 0),this.root.push(new eC("w:start",ep(i))),t&&this.root.push(new oE(t)),(null==o?void 0:o.style)&&this.root.push(nP(o.style)),a&&this.root.push(new oI),s&&this.root.push(new oC(s)),r&&this.root.push(new oA(r)),this.root.push(new oT(n)),this.paragraphProperties=new n5(o&&o.paragraph,{implicitListParagraphStyle:!1,inListOrder:!1}),this.runProperties=new tp((null==o?void 0:o.run)&&D(D({},o.run),{},{highlight:void 0,math:void 0,revision:void 0})),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),e>9)throw Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new oS({ilvl:ep(e),tentative:1}))}},oO=class extends oR{},oP=class extends M{constructor(e){super("w:multiLevelType"),this.root.push(new z({val:e}))}},oN=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"})}},oF=class extends M{constructor(e,t){for(let r of(super("w:abstractNum"),R(this,"id",void 0),this.root.push(new oN({abstractNumId:ep(e),restartNumberingAfterBreak:0})),this.root.push(new oP("hybridMultilevel")),this.id=e,t))this.root.push(new oO(r))}},oM=class extends M{constructor(e){super("w:abstractNumId"),this.root.push(new z({val:e}))}},oL=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{numId:"w:numId"})}},oB=class extends M{constructor(e){if(super("w:num"),R(this,"numId",void 0),R(this,"reference",void 0),R(this,"instance",void 0),R(this,"restartedListId",void 0),this.numId=e.numId,this.reference=e.reference,this.instance=e.instance,this.restartedListId=e.restartedListId,this.root.push(new oL({numId:ep(e.numId)})),this.root.push(new oM(ep(e.abstractNumId))),e.overrideLevels&&e.overrideLevels.length)for(let t of e.overrideLevels)this.root.push(new oj(t.num,t.start))}},oD=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{ilvl:"w:ilvl"})}},oj=class extends M{constructor(e,t){super("w:lvlOverride"),this.root.push(new oD({ilvl:e})),void 0!==t&&this.root.push(new oz(t))}},oU=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{val:"w:val"})}},oz=class extends M{constructor(e){super("w:startOverride"),this.root.push(new oU({val:e}))}},oW=class extends M{constructor(e){super("w:numbering"),R(this,"abstractNumberingMap",new Map),R(this,"concreteNumberingMap",new Map),R(this,"referenceConfigMap",new Map),R(this,"abstractNumUniqueNumericId",tF()),R(this,"concreteNumUniqueNumericId",tF(1)),this.root.push(new iZ(["wpc","mc","o","r","m","v","wp14","wp","w10","w","w14","w15","wpg","wpi","wne","wps"],"w14 w15 wp14"));let t=new oF(this.abstractNumUniqueNumericId(),[{level:0,format:o_,text:"●",alignment:eO.LEFT,style:{paragraph:{indent:{left:tN(.5),hanging:tN(.25)}}}},{level:1,format:o_,text:"○",alignment:eO.LEFT,style:{paragraph:{indent:{left:tN(1),hanging:tN(.25)}}}},{level:2,format:o_,text:"■",alignment:eO.LEFT,style:{paragraph:{indent:{left:2160,hanging:tN(.25)}}}},{level:3,format:o_,text:"●",alignment:eO.LEFT,style:{paragraph:{indent:{left:2880,hanging:tN(.25)}}}},{level:4,format:o_,text:"○",alignment:eO.LEFT,style:{paragraph:{indent:{left:3600,hanging:tN(.25)}}}},{level:5,format:o_,text:"■",alignment:eO.LEFT,style:{paragraph:{indent:{left:4320,hanging:tN(.25)}}}},{level:6,format:o_,text:"●",alignment:eO.LEFT,style:{paragraph:{indent:{left:5040,hanging:tN(.25)}}}},{level:7,format:o_,text:"●",alignment:eO.LEFT,style:{paragraph:{indent:{left:5760,hanging:tN(.25)}}}},{level:8,format:o_,text:"●",alignment:eO.LEFT,style:{paragraph:{indent:{left:6480,hanging:tN(.25)}}}}]);for(let r of(this.concreteNumberingMap.set("default-bullet-numbering",new oB({numId:1,abstractNumId:t.id,reference:"default-bullet-numbering",instance:0,overrideLevels:[{num:0,start:1}]})),this.abstractNumberingMap.set("default-bullet-numbering",t),e.config))this.abstractNumberingMap.set(r.reference,new oF(this.abstractNumUniqueNumericId(),r.levels)),this.referenceConfigMap.set(r.reference,r.levels)}prepForXml(e){return this.root.splice(1,this.root.length-1,...this.abstractNumberingMap.values(),...this.concreteNumberingMap.values()),super.prepForXml(e)}createConcreteNumberingInstance(e,t,r,n){var i;r&&!this.abstractNumberingMap.has(r.reference)&&(this.abstractNumberingMap.set(r.reference,new oF(this.abstractNumUniqueNumericId(),r.levels)),this.referenceConfigMap.set(r.reference,r.levels));let o=this.abstractNumberingMap.get(e);if(!o)return;let s=nZ(e,t,n);if(this.concreteNumberingMap.has(s))return;let a=null!=(i=this.referenceConfigMap.get(e))?i:[{level:0}],l={numId:this.concreteNumUniqueNumericId(),abstractNumId:o.id,reference:e,instance:t,restartedListId:n,overrideLevels:a.map(({level:e,start:t=1})=>({num:e,start:ep(t)}))};this.concreteNumberingMap.set(s,new oB(l))}get ConcreteNumbering(){return Array.from(this.concreteNumberingMap.values())}get ReferenceConfig(){return Array.from(this.referenceConfigMap.values())}},o$=class{constructor(e,t=new Set){R(this,"contentTypes",void 0),R(this,"existingPaths",void 0),R(this,"paths",new Map),R(this,"folders",new WeakMap),this.contentTypes=e,this.existingPaths=t}add(e){let t=this.paths.get(e);if(void 0!==t)return t;let{folder:r,name:n,extension:i,contentType:o}=e.options,s=new Set([...this.existingPaths,...this.paths.values()]),a=1;for(;s.has(`${r}/${n}${a}.${i}`);)a++;let l=`${r}/${n}${a}.${i}`;return this.paths.set(e,l),this.contentTypes.addOverride(o,`/word/${l}`),l}get Array(){return[...this.paths].map(([e,t])=>({part:e,path:t}))}createRelationships(e){let t=new nm;return this.folders.set(t,e.slice(0,e.indexOf("/"))),t}getTarget(e,t){let r=this.folders.get(e);return void 0===r?t:t.startsWith(`${r}/`)?t.slice(r.length+1):`../${t}`}},oH=class extends M{constructor(e){super("w:compat"),e.useSingleBorderforContiguousCells&&this.root.push(new e_("w:useSingleBorderforContiguousCells",e.useSingleBorderforContiguousCells)),e.wordPerfectJustification&&this.root.push(new e_("w:wpJustification",e.wordPerfectJustification)),e.noTabStopForHangingIndent&&this.root.push(new e_("w:noTabHangInd",e.noTabStopForHangingIndent)),e.noLeading&&this.root.push(new e_("w:noLeading",e.noLeading)),e.spaceForUnderline&&this.root.push(new e_("w:spaceForUL",e.spaceForUnderline)),e.noColumnBalance&&this.root.push(new e_("w:noColumnBalance",e.noColumnBalance)),e.balanceSingleByteDoubleByteWidth&&this.root.push(new e_("w:balanceSingleByteDoubleByteWidth",e.balanceSingleByteDoubleByteWidth)),e.noExtraLineSpacing&&this.root.push(new e_("w:noExtraLineSpacing",e.noExtraLineSpacing)),e.doNotLeaveBackslashAlone&&this.root.push(new e_("w:doNotLeaveBackslashAlone",e.doNotLeaveBackslashAlone)),e.underlineTrailingSpaces&&this.root.push(new e_("w:ulTrailSpace",e.underlineTrailingSpaces)),e.doNotExpandShiftReturn&&this.root.push(new e_("w:doNotExpandShiftReturn",e.doNotExpandShiftReturn)),e.spacingInWholePoints&&this.root.push(new e_("w:spacingInWholePoints",e.spacingInWholePoints)),e.lineWrapLikeWord6&&this.root.push(new e_("w:lineWrapLikeWord6",e.lineWrapLikeWord6)),e.printBodyTextBeforeHeader&&this.root.push(new e_("w:printBodyTextBeforeHeader",e.printBodyTextBeforeHeader)),e.printColorsBlack&&this.root.push(new e_("w:printColBlack",e.printColorsBlack)),e.spaceWidth&&this.root.push(new e_("w:wpSpaceWidth",e.spaceWidth)),e.showBreaksInFrames&&this.root.push(new e_("w:showBreaksInFrames",e.showBreaksInFrames)),e.subFontBySize&&this.root.push(new e_("w:subFontBySize",e.subFontBySize)),e.suppressBottomSpacing&&this.root.push(new e_("w:suppressBottomSpacing",e.suppressBottomSpacing)),e.suppressTopSpacing&&this.root.push(new e_("w:suppressTopSpacing",e.suppressTopSpacing)),e.suppressSpacingAtTopOfPage&&this.root.push(new e_("w:suppressSpacingAtTopOfPage",e.suppressSpacingAtTopOfPage)),e.suppressTopSpacingWP&&this.root.push(new e_("w:suppressTopSpacingWP",e.suppressTopSpacingWP)),e.suppressSpBfAfterPgBrk&&this.root.push(new e_("w:suppressSpBfAfterPgBrk",e.suppressSpBfAfterPgBrk)),e.swapBordersFacingPages&&this.root.push(new e_("w:swapBordersFacingPages",e.swapBordersFacingPages)),e.convertMailMergeEsc&&this.root.push(new e_("w:convMailMergeEsc",e.convertMailMergeEsc)),e.truncateFontHeightsLikeWP6&&this.root.push(new e_("w:truncateFontHeightsLikeWP6",e.truncateFontHeightsLikeWP6)),e.macWordSmallCaps&&this.root.push(new e_("w:mwSmallCaps",e.macWordSmallCaps)),e.usePrinterMetrics&&this.root.push(new e_("w:usePrinterMetrics",e.usePrinterMetrics)),e.doNotSuppressParagraphBorders&&this.root.push(new e_("w:doNotSuppressParagraphBorders",e.doNotSuppressParagraphBorders)),e.wrapTrailSpaces&&this.root.push(new e_("w:wrapTrailSpaces",e.wrapTrailSpaces)),e.footnoteLayoutLikeWW8&&this.root.push(new e_("w:footnoteLayoutLikeWW8",e.footnoteLayoutLikeWW8)),e.shapeLayoutLikeWW8&&this.root.push(new e_("w:shapeLayoutLikeWW8",e.shapeLayoutLikeWW8)),e.alignTablesRowByRow&&this.root.push(new e_("w:alignTablesRowByRow",e.alignTablesRowByRow)),e.forgetLastTabAlignment&&this.root.push(new e_("w:forgetLastTabAlignment",e.forgetLastTabAlignment)),e.adjustLineHeightInTable&&this.root.push(new e_("w:adjustLineHeightInTable",e.adjustLineHeightInTable)),e.autoSpaceLikeWord95&&this.root.push(new e_("w:autoSpaceLikeWord95",e.autoSpaceLikeWord95)),e.noSpaceRaiseLower&&this.root.push(new e_("w:noSpaceRaiseLower",e.noSpaceRaiseLower)),e.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new e_("w:doNotUseHTMLParagraphAutoSpacing",e.doNotUseHTMLParagraphAutoSpacing)),e.layoutRawTableWidth&&this.root.push(new e_("w:layoutRawTableWidth",e.layoutRawTableWidth)),e.layoutTableRowsApart&&this.root.push(new e_("w:layoutTableRowsApart",e.layoutTableRowsApart)),e.useWord97LineBreakRules&&this.root.push(new e_("w:useWord97LineBreakRules",e.useWord97LineBreakRules)),e.doNotBreakWrappedTables&&this.root.push(new e_("w:doNotBreakWrappedTables",e.doNotBreakWrappedTables)),e.doNotSnapToGridInCell&&this.root.push(new e_("w:doNotSnapToGridInCell",e.doNotSnapToGridInCell)),e.selectFieldWithFirstOrLastCharacter&&this.root.push(new e_("w:selectFldWithFirstOrLastChar",e.selectFieldWithFirstOrLastCharacter)),e.applyBreakingRules&&this.root.push(new e_("w:applyBreakingRules",e.applyBreakingRules)),e.doNotWrapTextWithPunctuation&&this.root.push(new e_("w:doNotWrapTextWithPunct",e.doNotWrapTextWithPunctuation)),e.doNotUseEastAsianBreakRules&&this.root.push(new e_("w:doNotUseEastAsianBreakRules",e.doNotUseEastAsianBreakRules)),e.useWord2002TableStyleRules&&this.root.push(new e_("w:useWord2002TableStyleRules",e.useWord2002TableStyleRules)),e.growAutofit&&this.root.push(new e_("w:growAutofit",e.growAutofit)),e.useFELayout&&this.root.push(new e_("w:useFELayout",e.useFELayout)),e.useNormalStyleForList&&this.root.push(new e_("w:useNormalStyleForList",e.useNormalStyleForList)),e.doNotUseIndentAsNumberingTabStop&&this.root.push(new e_("w:doNotUseIndentAsNumberingTabStop",e.doNotUseIndentAsNumberingTabStop)),e.useAlternateEastAsianLineBreakRules&&this.root.push(new e_("w:useAltKinsokuLineBreakRules",e.useAlternateEastAsianLineBreakRules)),e.allowSpaceOfSameStyleInTable&&this.root.push(new e_("w:allowSpaceOfSameStyleInTable",e.allowSpaceOfSameStyleInTable)),e.doNotSuppressIndentation&&this.root.push(new e_("w:doNotSuppressIndentation",e.doNotSuppressIndentation)),e.doNotAutofitConstrainedTables&&this.root.push(new e_("w:doNotAutofitConstrainedTables",e.doNotAutofitConstrainedTables)),e.autofitToFirstFixedWidthCell&&this.root.push(new e_("w:autofitToFirstFixedWidthCell",e.autofitToFirstFixedWidthCell)),e.underlineTabInNumberingList&&this.root.push(new e_("w:underlineTabInNumList",e.underlineTabInNumberingList)),e.displayHangulFixedWidth&&this.root.push(new e_("w:displayHangulFixedWidth",e.displayHangulFixedWidth)),e.splitPgBreakAndParaMark&&this.root.push(new e_("w:splitPgBreakAndParaMark",e.splitPgBreakAndParaMark)),e.doNotVerticallyAlignCellWithSp&&this.root.push(new e_("w:doNotVertAlignCellWithSp",e.doNotVerticallyAlignCellWithSp)),e.doNotBreakConstrainedForcedTable&&this.root.push(new e_("w:doNotBreakConstrainedForcedTable",e.doNotBreakConstrainedForcedTable)),e.ignoreVerticalAlignmentInTextboxes&&this.root.push(new e_("w:doNotVertAlignInTxbx",e.ignoreVerticalAlignmentInTextboxes)),e.useAnsiKerningPairs&&this.root.push(new e_("w:useAnsiKerningPairs",e.useAnsiKerningPairs)),e.cachedColumnBalance&&this.root.push(new e_("w:cachedColBalance",e.cachedColumnBalance)),e.version&&this.root.push(new eR({name:"w:compatSetting",attributes:{version:{key:"w:val",value:e.version},name:{key:"w:name",value:"compatibilityMode"},uri:{key:"w:uri",value:"http://schemas.microsoft.com/office/word"}}}))}},oG=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}},oK=class extends M{constructor(e){var t,r,n,i,o,s,a,l;super("w:settings"),this.root.push(new oG({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.root.push(new e_("w:displayBackgroundShape",!0)),void 0!==e.embedFonts&&this.root.push(new e_("w:embedTrueTypeFonts",e.embedFonts)),void 0!==e.trackRevisions&&this.root.push(new e_("w:trackRevisions",e.trackRevisions)),void 0!==e.defaultTabStop&&this.root.push(new eC("w:defaultTabStop",e.defaultTabStop)),(null==(t=e.hyphenation)?void 0:t.autoHyphenation)!==void 0&&this.root.push(new e_("w:autoHyphenation",e.hyphenation.autoHyphenation)),(null==(r=e.hyphenation)?void 0:r.consecutiveHyphenLimit)!==void 0&&this.root.push(new eC("w:consecutiveHyphenLimit",e.hyphenation.consecutiveHyphenLimit)),(null==(n=e.hyphenation)?void 0:n.hyphenationZone)!==void 0&&this.root.push(new eC("w:hyphenationZone",e.hyphenation.hyphenationZone)),(null==(i=e.hyphenation)?void 0:i.doNotHyphenateCaps)!==void 0&&this.root.push(new e_("w:doNotHyphenateCaps",e.hyphenation.doNotHyphenateCaps)),void 0!==e.evenAndOddHeaders&&this.root.push(new e_("w:evenAndOddHeaders",e.evenAndOddHeaders)),void 0!==e.updateFields&&this.root.push(new e_("w:updateFields",e.updateFields)),this.root.push(new oH(D(D({},null!=(o=e.compatibility)?o:{}),{},{version:null!=(s=null!=(a=null==(l=e.compatibility)?void 0:l.version)?a:e.compatibilityModeVersion)?s:15})))}},oV=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{val:"w:val"})}},oX=class extends M{constructor(e){super("w:name"),this.root.push(new oV({val:e}))}},oZ=class extends M{constructor(e){super("w:uiPriority"),this.root.push(new oV({val:ep(e)}))}},oq=class extends j{constructor(...e){super(...e),R(this,"xmlKeys",{type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"})}},oJ=class extends M{constructor(e,t){super("w:style"),this.root.push(new oq(e)),t.name&&this.root.push(new oX(t.name)),t.basedOn&&t.basedOn!==e.styleId&&this.root.push(new eA("w:basedOn",t.basedOn)),t.next&&this.root.push(new eA("w:next",t.next)),t.link&&this.root.push(new eA("w:link",t.link)),void 0!==t.uiPriority&&this.root.push(new oZ(t.uiPriority)),void 0!==t.semiHidden&&this.root.push(new e_("w:semiHidden",t.semiHidden)),void 0!==t.unhideWhenUsed&&this.root.push(new e_("w:unhideWhenUsed",t.unhideWhenUsed)),void 0!==t.quickFormat&&this.root.push(new e_("w:qFormat",t.quickFormat))}},oY=class extends oJ{constructor(e){super({type:"paragraph",styleId:e.id},e),R(this,"paragraphProperties",void 0),R(this,"runProperties",void 0),this.paragraphProperties=new n5(e.paragraph,{implicitListParagraphStyle:!1,inListOrder:!1}),this.runProperties=new tp(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}},oQ=class extends oJ{constructor(e){super({type:"character",styleId:e.id},D({uiPriority:99,unhideWhenUsed:!0},e)),R(this,"runProperties",void 0),this.runProperties=new tp(e.run),this.root.push(this.runProperties)}},o0=class extends oY{constructor(e){super(D({basedOn:"Normal",next:"Normal",quickFormat:!0},e))}},o1=class extends o0{constructor(e){super(D({id:"Title",name:"Title"},e))}},o2=class extends o0{constructor(e){super(D({id:"Heading1",name:"Heading 1"},e))}},o5=class extends o0{constructor(e){super(D({id:"Heading2",name:"Heading 2"},e))}},o6=class extends o0{constructor(e){super(D({id:"Heading3",name:"Heading 3"},e))}},o3=class extends o0{constructor(e){super(D({id:"Heading4",name:"Heading 4"},e))}},o4=class extends o0{constructor(e){super(D({id:"Heading5",name:"Heading 5"},e))}},o8=class extends o0{constructor(e){super(D({id:"Heading6",name:"Heading 6"},e))}},o7=class extends o0{constructor(e){super(D({id:"Strong",name:"Strong"},e))}},o9=class extends oY{constructor(e){super(D({id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0},e))}},se=class extends oY{constructor(e){super(D({id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:nO}},run:{size:20}},e))}},st=class extends oQ{constructor(e){super(D({id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}},sr=class extends oQ{constructor(e){super(D({id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}},e))}},sn=class extends oY{constructor(e){super(D({id:"EndnoteText",name:"endnote text",link:"EndnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:nO}},run:{size:20}},e))}},si=class extends oQ{constructor(e){super(D({id:"EndnoteReference",name:"endnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}},so=class extends oQ{constructor(e){super(D({id:"EndnoteTextChar",name:"Endnote Text Char",basedOn:"DefaultParagraphFont",link:"EndnoteText",semiHidden:!0,run:{size:20}},e))}},ss=class extends oQ{constructor(e){super(D({id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:th.SINGLE}}},e))}},sa=class extends oJ{constructor(){super({type:"table",styleId:"TableNormal",default:!0},{name:"Normal Table",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0}),this.root.push(new iD({indent:{size:0,type:iu.DXA},cellMargin:{top:0,left:108,bottom:0,right:108}}))}},sl=e=>"object"==typeof e?Object.keys(e)[0]:void 0,su=e=>{var t;return null==(t=[e["w:style"]].flat().find(e=>e._attr))?void 0:t._attr},sc=e=>{var t;return null==(t=su(e))?void 0:t["w:styleId"]},sh=class extends M{constructor(e){if(super("w:styles"),e.initialStyles&&this.root.push(e.initialStyles),e.importedStyles)for(let t of e.importedStyles)this.root.push(t);if(e.paragraphStyles)for(let t of e.paragraphStyles)this.root.push(new oY(t));if(e.characterStyles)for(let t of e.characterStyles)this.root.push(new oQ(t))}prepForXml(e){let t=super.prepForXml(e),r=t["w:styles"];if(!Array.isArray(r))return t;let n=e=>r.filter(t=>sl(t)===e),i=r.map(e=>"w:style"===sl(e)?sc(e):void 0),o=r.filter((e,t)=>!["_attr","w:docDefaults","w:latentStyles"].includes(sl(e))&&(void 0===i[t]||i.lastIndexOf(i[t])===t)),s=o.some(e=>{var t;let r;return"w:style"===sl(e)&&(null!=(t=null==(r=su(e))?void 0:r["w:type"])?t:"paragraph")==="paragraph"&&(null==r?void 0:r["w:default"])!==void 0&&!["0","false","off"].includes(String(r["w:default"]))})?o:o.map(e=>{var t,r;return"w:style"===sl(e)&&"Normal"===sc(e)&&(null!=(t=null==(r=su(e))?void 0:r["w:type"])?t:"paragraph")==="paragraph"?{"w:style":[e["w:style"]].flat().map(e=>e._attr?{_attr:D(D({},e._attr),{},{"w:default":"1"})}:e)}:e});return{"w:styles":[...n("_attr"),...n("w:docDefaults").slice(-1),...n("w:latentStyles").slice(-1),...s]}}},sp=class extends M{constructor(e){super("w:pPrDefault"),this.root.push(new n5(e,{implicitListParagraphStyle:!1,inListOrder:!1}))}},sd=class extends M{constructor(e){super("w:rPrDefault"),this.root.push(new tp(e))}},sf=class extends M{constructor(e){super("w:docDefaults"),R(this,"runPropertiesDefaults",void 0),R(this,"paragraphPropertiesDefaults",void 0),this.runPropertiesDefaults=new sd(e.run),this.paragraphPropertiesDefaults=new sp(e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}},sm=class{newInstance(e){let t;for(let r of q(e).elements||[])"w:styles"===r.name&&(t=r);if(void 0===t)throw Error("can not find styles element");let r=t.elements||[];return{initialStyles:new ec(t.attributes),importedStyles:r.map(e=>ea(e))}}},sw=(e={})=>{var t;return{normal:new oY({id:"Normal",name:"Normal",quickFormat:!0}),normalTable:new sa,document:new sf(null!=(t=e.document)?t:{}),title:new o1(D({run:{size:56}},e.title)),heading1:new o2(D({run:{color:"2E74B5",size:32}},e.heading1)),heading2:new o5(D({run:{color:"2E74B5",size:26}},e.heading2)),heading3:new o6(D({run:{color:"1F4D78",size:24}},e.heading3)),heading4:new o3(D({run:{color:"2E74B5",italics:!0}},e.heading4)),heading5:new o4(D({run:{color:"2E74B5"}},e.heading5)),heading6:new o8(D({run:{color:"1F4D78"}},e.heading6)),strong:new o7(D({run:{bold:!0}},e.strong)),listParagraph:new o9(e.listParagraph||{}),hyperlink:new ss(e.hyperlink||{}),footnoteReference:new st(e.footnoteReference||{}),footnoteText:new se(e.footnoteText||{}),footnoteTextChar:new sr(e.footnoteTextChar||{}),endnoteReference:new si(e.endnoteReference||{}),endnoteText:new sn(e.endnoteText||{}),endnoteTextChar:new so(e.endnoteTextChar||{})}},sg=class{newInstance(e={}){return{initialStyles:new iZ(["mc","r","w","w14","w15"],"w14 w15"),importedStyles:Object.values(sw(e))}}},sy={headings:{latin:"Calibri Light",panose:"020F0302020204030204"},body:{latin:"Calibri",panose:"020F0502020204030204"}},sv=[["Jpan","游ゴシック Light","游明朝"],["Hang","맑은 고딕"],["Hans","等线 Light","等线"],["Hant","新細明體"],["Arab","Times New Roman","Arial"],["Hebr","Times New Roman","Arial"],["Thai","Angsana New","Cordia New"],["Ethi","Nyala"],["Beng","Vrinda"],["Gujr","Shruti"],["Khmr","MoolBoran","DaunPenh"],["Knda","Tunga"],["Guru","Raavi"],["Cans","Euphemia"],["Cher","Plantagenet Cherokee"],["Yiii","Microsoft Yi Baiti"],["Tibt","Microsoft Himalaya"],["Thaa","MV Boli"],["Deva","Mangal"],["Telu","Gautami"],["Taml","Latha"],["Syrc","Estrangelo Edessa"],["Orya","Kalinga"],["Mlym","Kartika"],["Laoo","DokChampa"],["Sinh","Iskoola Pota"],["Mong","Mongolian Baiti"],["Viet","Times New Roman","Arial"],["Uigh","Microsoft Uighur"],["Geor","Sylfaen"],["Armn","Arial"],["Bugi","Leelawadee UI"],["Bopo","Microsoft JhengHei"],["Java","Javanese Text"],["Lisu","Segoe UI"],["Mymr","Myanmar Text"],["Nkoo","Ebrima"],["Olck","Nirmala UI"],["Osma","Ebrima"],["Phag","Phagspa"],["Syrn","Estrangelo Edessa"],["Syrj","Estrangelo Edessa"],["Syre","Estrangelo Edessa"],["Sora","Nirmala UI"],["Tale","Microsoft Tai Le"],["Talu","Microsoft New Tai Lue"],["Tfng","Ebrima"]],sb=(e,t,r)=>new eR({name:e,attributes:{typeface:{key:"typeface",value:t},panose:{key:"panose",value:r}}}),sx=(e,t)=>{let r,n,i=t[e],{eastAsia:o="",complexScript:s=""}="object"==typeof i?i:{},a=null!=(n="string"==typeof(r=t[e])?r:null==r?void 0:r.latin)?n:sy[e].latin,l=sy[e];return new eR({name:"headings"===e?"a:majorFont":"a:minorFont",children:[sb("a:latin",a,a===l.latin?l.panose:void 0),sb("a:ea",o),sb("a:cs",s),...sv.map(([t,r,n=r])=>new eR({name:"a:font",attributes:{script:{key:"script",value:t},typeface:{key:"typeface",value:"headings"===e?r:n}}}))]})},sk=(e=[])=>new eR({name:"a:schemeClr",attributes:{value:{key:"val",value:"phClr"}},children:e.map(([e,t])=>new eR({name:`a:${e}`,attributes:{value:{key:"val",value:t}}}))}),s_=e=>new eR({name:"a:solidFill",children:[sk(e)]}),sS=e=>new eR({name:"a:gradFill",attributes:{rotateWithShape:{key:"rotWithShape",value:!0}},children:[new eR({name:"a:gsLst",children:e.map((e,t)=>new eR({name:"a:gs",attributes:{position:{key:"pos",value:5e4*t}},children:[sk(e)]}))}),new eR({name:"a:lin",attributes:{angle:{key:"ang",value:54e5},scaled:{key:"scaled",value:!1}}})]}),sE=e=>new eR({name:"a:ln",attributes:{width:{key:"w",value:e},cap:{key:"cap",value:"flat"},compound:{key:"cmpd",value:"sng"},alignment:{key:"algn",value:"ctr"}},children:[s_(),new eR({name:"a:prstDash",attributes:{value:{key:"val",value:"solid"}}}),new eR({name:"a:miter",attributes:{limit:{key:"lim",value:8e5}}})]}),sA=e=>new eR({name:"a:effectStyle",children:[new eR({name:"a:effectLst",children:e})]}),sT=class extends M{constructor({name:e="Office Theme",colors:t,fonts:r}={}){super("a:theme"),R(this,"colors",void 0),this.colors=eB(t),this.root.push(new U({namespace:{key:"xmlns:a",value:"http://schemas.openxmlformats.org/drawingml/2006/main"},name:{key:"name",value:e}})),this.root.push(new eR({name:"a:themeElements",children:[((e,t={})=>new eR({name:"a:clrScheme",attributes:{name:{key:"name",value:e}},children:Object.keys(eN).map(e=>{var r;let n,i;return n=t[r=e],i="dark1"===r||"light1"===r?eM[r]:void 0,new eR({name:`a:${eN[r]}`,children:[new eR(void 0===n&&i?{name:"a:sysClr",attributes:{value:{key:"val",value:i.value},lastColor:{key:"lastClr",value:i.lastColor}}}:{name:"a:srgbClr",attributes:{value:{key:"val",value:eL(r,null!=n?n:eF[r])}}})]})})}))(t?e:"Office",t),((e,t={})=>new eR({name:"a:fontScheme",attributes:{name:{key:"name",value:e}},children:[sx("headings",t),sx("body",t)]}))(r?e:"Office",r),new eR({name:"a:fmtScheme",attributes:{name:{key:"name",value:"Office"}},children:[new eR({name:"a:fillStyleLst",children:[s_(),sS([[["lumMod",11e4],["satMod",105e3],["tint",67e3]],[["lumMod",105e3],["satMod",103e3],["tint",73e3]],[["lumMod",105e3],["satMod",109e3],["tint",81e3]]]),sS([[["satMod",103e3],["lumMod",102e3],["tint",94e3]],[["satMod",11e4],["lumMod",1e5],["shade",1e5]],[["lumMod",99e3],["satMod",12e4],["shade",78e3]]])]}),new eR({name:"a:lnStyleLst",children:[sE(6350),sE(12700),sE(19050)]}),new eR({name:"a:effectStyleLst",children:[sA([]),sA([]),sA([new eR({name:"a:outerShdw",attributes:{blurRadius:{key:"blurRad",value:57150},distance:{key:"dist",value:19050},direction:{key:"dir",value:54e5},alignment:{key:"algn",value:"ctr"},rotateWithShape:{key:"rotWithShape",value:!1}},children:[new eR({name:"a:srgbClr",attributes:{value:{key:"val",value:"000000"}},children:[new eR({name:"a:alpha",attributes:{value:{key:"val",value:63e3}}})]})]})])]}),new eR({name:"a:bgFillStyleLst",children:[s_(),s_([["tint",95e3],["satMod",17e4]]),sS([[["tint",93e3],["satMod",15e4],["shade",98e3],["lumMod",102e3]],[["tint",98e3],["satMod",13e4],["shade",9e4],["lumMod",103e3]],[["shade",63e3],["satMod",12e4]]])]})]})]})),this.root.push(new eR({name:"a:objectDefaults"})),this.root.push(new eR({name:"a:extraClrSchemeLst"}))}get Colors(){return this.colors}},sC=[208,207,17,224,161,177,26,225],sI=class{constructor(e){var t,r,n,i,o,s,a,l,u,c,h,p,d,f,m,w,g,y;if(R(this,"currentRelationshipId",1),R(this,"documentWrapper",void 0),R(this,"headers",[]),R(this,"footers",[]),R(this,"coreProperties",void 0),R(this,"numbering",void 0),R(this,"media",void 0),R(this,"fileRelationships",void 0),R(this,"footnotesWrapper",void 0),R(this,"endnotesWrapper",void 0),R(this,"settings",void 0),R(this,"contentTypes",void 0),R(this,"customProperties",void 0),R(this,"appProperties",void 0),R(this,"styles",void 0),R(this,"comments",void 0),R(this,"commentsExtended",void 0),R(this,"commentsIds",void 0),R(this,"fontWrapper",void 0),R(this,"theme",void 0),R(this,"packageParts",void 0),R(this,"macros",void 0),void 0!==e.macros){let{project:t,events:r=[]}=e.macros,n=t instanceof Uint8Array?t:new Uint8Array(t);if(!sC.every((e,t)=>n[t]===e))throw Error("macros.project isn't a VBA project. Use createMacros from docx/macros, or the word/vbaProject.bin in a .docm rather than the .docm itself");let i=new nm;r.length>0&&i.addRelationship(1,"http://schemas.microsoft.com/office/2006/relationships/wordVbaData","vbaData.xml"),this.macros={project:n,events:r.length>0?new eR({name:"wne:vbaSuppData",attributes:{namespace:{key:"xmlns:wne",value:"http://schemas.microsoft.com/office/word/2006/wordml"}},children:[new eR({name:"wne:docEvents",children:Object.entries(i6).filter(([e])=>r.includes(e)).map(([,e])=>new eR({name:e}))})]}):void 0,relationships:i}}if(this.coreProperties=new iq(D(D({},e),{},{creator:null!=(t=e.creator)?t:"Un-named",revision:null!=(r=e.revision)?r:1,lastModifiedBy:null!=(n=e.lastModifiedBy)?n:"Un-named"})),this.numbering=new oW(e.numbering?e.numbering:{config:[]}),this.comments=new nv(null!=(i=e.comments)?i:{children:[]}),this.comments.ThreadData&&(this.commentsExtended=new n_(this.comments.ThreadData)),this.comments.CommentIdsData&&(this.commentsIds=new nT(this.comments.CommentIdsData)),this.fileRelationships=new nm,this.customProperties=new i5(null!=(o=e.customProperties)?o:[]),this.appProperties=new i$,this.footnotesWrapper=new oy,this.endnotesWrapper=new ol,this.contentTypes=new iV({macros:void 0!==this.macros}),(null==(s=this.macros)?void 0:s.events)!==void 0&&this.contentTypes.addOverride("application/vnd.ms-word.vbaData+xml","/word/vbaData.xml"),this.packageParts=new o$(this.contentTypes),this.documentWrapper=new i8({background:e.background,pageNumbers:e.pageNumbers}),this.settings=new oK({compatibilityModeVersion:e.compatabilityModeVersion,compatibility:e.compatibility,evenAndOddHeaders:!!e.evenAndOddHeaderAndFooters,trackRevisions:null==(a=e.features)?void 0:a.trackRevisions,updateFields:null==(l=e.features)?void 0:l.updateFields,embedFonts:null!=(u=e.fonts)&&!!u.length||void 0,defaultTabStop:e.defaultTabStop,hyphenation:{autoHyphenation:null==(c=e.hyphenation)?void 0:c.autoHyphenation,hyphenationZone:null==(h=e.hyphenation)?void 0:h.hyphenationZone,consecutiveHyphenLimit:null==(p=e.hyphenation)?void 0:p.consecutiveHyphenLimit,doNotHyphenateCaps:null==(d=e.hyphenation)?void 0:d.doNotHyphenateCaps}}),this.media=new ok,void 0!==e.externalStyles){let t=null!=(m=null==(w=e.styles)?void 0:w.default)?m:{},r=Object.entries(sw(t)),n=([e])=>void 0!==t[e],i=new sm().newInstance(e.externalStyles);this.styles=new sh(D(D({},i),{},{paragraphStyles:null==(g=e.styles)?void 0:g.paragraphStyles,characterStyles:null==(y=e.styles)?void 0:y.characterStyles,importedStyles:[...r.filter(e=>!n(e)).map(([,e])=>e),...i.importedStyles,...r.filter(n).map(([,e])=>e)]}))}else if(e.styles){let t=new sg().newInstance(e.styles.default);this.styles=new sh(D(D({},t),e.styles))}else{let e=new sg;this.styles=new sh(e.newInstance())}for(let t of(this.addDefaultRelationships(),e.sections))this.addSection(t);if(e.footnotes)for(let t in e.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(t),e.footnotes[t].children);if(e.endnotes)for(let t in e.endnotes)this.endnotesWrapper.View.createEndnote(parseFloat(t),e.endnotes[t].children);this.fontWrapper=new nQ(null!=(f=e.fonts)?f:[]),this.theme=new sT(e.theme),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme","theme/theme1.xml"),void 0!==this.macros&&this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.microsoft.com/office/2006/relationships/vbaProject","vbaProject.bin")}addSection({headers:e={},footers:t={},children:r,properties:n}){for(let i of(this.documentWrapper.View.Body.addSection(D(D({},n),{},{headerWrapperGroup:{default:e.default?this.createHeader(e.default):void 0,first:e.first?this.createHeader(e.first):void 0,even:e.even?this.createHeader(e.even):void 0},footerWrapperGroup:{default:t.default?this.createFooter(t.default):void 0,first:t.first?this.createFooter(t.first):void 0,even:t.even?this.createFooter(t.even):void 0}})),r))this.documentWrapper.View.add(i)}createHeader(e){let t=new ox(this.media,this.currentRelationshipId++);for(let r of e.options.children)t.add(r);return this.addHeaderToDocument(t),t}createFooter(e){let t=new oh(this.media,this.currentRelationshipId++);for(let r of e.options.children)t.add(r);return this.addFooterToDocument(t),t}addHeaderToDocument(e,t=n8){this.headers.push({header:e,type:t}),this.documentWrapper.Relationships.addRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",`header${this.headers.length}.xml`),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(e,t=n8){this.footers.push({footer:e,type:t}),this.documentWrapper.Relationships.addRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",`footer${this.footers.length}.xml`),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.addRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.addRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.addRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.fileRelationships.addRelationship(4,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties","docProps/custom.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes","endnotes.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml"),this.comments.IsEmpty||(this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments","comments.xml"),this.contentTypes.addComments()),this.commentsExtended&&(this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.microsoft.com/office/2011/relationships/commentsExtended","commentsExtended.xml"),this.contentTypes.addCommentsExtended()),this.commentsIds&&(this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.microsoft.com/office/2016/09/relationships/commentsIds","commentsIds.xml"),this.contentTypes.addCommentsIds())}get Document(){return this.documentWrapper}get Styles(){return this.styles}get CoreProperties(){return this.coreProperties}get Numbering(){return this.numbering}get Media(){return this.media}get FileRelationships(){return this.fileRelationships}get Headers(){return this.headers.map(e=>e.header)}get Footers(){return this.footers.map(e=>e.footer)}get ContentTypes(){return this.contentTypes}get CustomProperties(){return this.customProperties}get AppProperties(){return this.appProperties}get FootNotes(){return this.footnotesWrapper}get Endnotes(){return this.endnotesWrapper}get Settings(){return this.settings}get Comments(){return this.comments}get CommentsExtended(){return this.commentsExtended}get CommentsIds(){return this.commentsIds}get FontTable(){return this.fontWrapper}get Theme(){return this.theme}get PackageParts(){return this.packageParts}get Macros(){return this.macros}},sR=A((e,t)=>{var r,n="object"==typeof Reflect?Reflect:null,i=n&&"function"==typeof n.apply?n.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};r=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(e,t){return new Promise(function(r,n){var i,o,s;function a(r){e.removeListener(t,l),n(r)}function l(){"function"==typeof e.removeListener&&e.removeListener("error",a),r([].slice.call(arguments))}w(e,t,l,{once:!0}),"error"!==t&&(i=e,o=a,s={once:!0},"function"==typeof i.on&&w(i,"error",o,s))})},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var a=10;function l(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function c(e,t,r,n){if(l(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"==typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(i=u(e))>0&&s.length>i&&!s.warned){s.warned=!0;var i,o,s,a=Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,console&&console.warn&&console.warn(a)}return e}function h(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function d(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):m(i,i.length)}function f(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(e,t){for(var r=Array(t),n=0;n<t;++n)r[n]=e[n];return r}function w(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else if("function"==typeof e.addEventListener)e.addEventListener(t,function i(o){n.once&&e.removeEventListener(t,i),r(o)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),s.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var s,a=Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else for(var u=l.length,c=m(l,u),r=0;r<u;++r)i(c[r],this,t);return!0},s.prototype.addListener=function(e,t){return c(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return c(this,e,t,!0)},s.prototype.once=function(e,t){return l(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,o,s;if(l(t),void 0===(n=this._events)||void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,s||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n=this._events;if(void 0===n)return this;if(void 0===n.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0==arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return d(this,e,!0)},s.prototype.rawListeners=function(e){return d(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}}),sO=E(()=>{l=globalThis||self});function sP(){throw Error("setTimeout has not been defined")}function sN(){throw Error("clearTimeout has not been defined")}function sF(e){if(h===setTimeout)return setTimeout(e,0);if((h===sP||!h)&&setTimeout)return h=setTimeout,setTimeout(e,0);try{return h(e,0)}catch(t){try{return h.call(null,e,0)}catch(t){return h.call(this,e,0)}}}function sM(){f&&m&&(f=!1,m.length?d=m.concat(d):w=-1,d.length&&sL())}function sL(){if(!f){var e=sF(sM);f=!0;for(var t=d.length;t;){for(m=d,d=[];++w<t;)m&&m[w].run();w=-1,t=d.length}m=null,f=!1,function(e){if(p===clearTimeout)return clearTimeout(e);if((p===sN||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}(e)}}function sB(e,t){this.fun=e,this.array=t}function sD(){}var sj=E(()=>{var e;c=(u={exports:{}}).exports={};try{h="function"==typeof setTimeout?setTimeout:sP}catch(e){h=sP}try{p="function"==typeof clearTimeout?clearTimeout:sN}catch(e){p=sN}d=[],f=!1,w=-1,c.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];d.push(new sB(e,t)),1!==d.length||f||sF(sL)},sB.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=sD,c.addListener=sD,c.once=sD,c.off=sD,c.removeListener=sD,c.removeAllListeners=sD,c.emit=sD,c.prependListener=sD,c.prependOnceListener=sD,c.listeners=function(e){return[]},c.binding=function(e){throw Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(e){throw Error("process.chdir is not supported")},c.umask=function(){return 0},g=(e=u.exports)&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}),sU=A((e,t)=>{t.exports=sR().EventEmitter}),sz=A(e=>{e.byteLength=function(e){var t=a(e),r=t[0],n=t[1];return(r+n)*3/4-n},e.toByteArray=function(e){for(var t,i=a(e),o=i[0],s=i[1],l=new n((o+s)*3/4-s),u=0,c=s>0?o-4:o,h=0;h<c;h+=4)t=r[e.charCodeAt(h)]<<18|r[e.charCodeAt(h+1)]<<12|r[e.charCodeAt(h+2)]<<6|r[e.charCodeAt(h+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===s&&(t=r[e.charCodeAt(h)]<<2|r[e.charCodeAt(h+1)]>>4,l[u++]=255&t),1===s&&(t=r[e.charCodeAt(h)]<<10|r[e.charCodeAt(h+1)]<<4|r[e.charCodeAt(h+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l},e.fromByteArray=function(e){for(var r,n=e.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(function(e,r,n){for(var i,o=[],s=r;s<n;s+=3)i=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),o.push(t[i>>18&63]+t[i>>12&63]+t[i>>6&63]+t[63&i]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?o.push(t[(r=e[n-1])>>2]+t[r<<4&63]+"=="):2===i&&o.push(t[(r=(e[n-2]<<8)+e[n-1])>>10]+t[r>>4&63]+t[r<<2&63]+"="),o.join("")};for(var t=[],r=[],n="u">typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=i.length;o<s;++o)t[o]=i[o],r[i.charCodeAt(o)]=o;function a(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}r[45]=62,r[95]=63}),sW=A(e=>{e.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,l=(1<<a)-1,u=l>>1,c=-7,h=r?i-1:0,p=r?-1:1,d=e[t+h];for(h+=p,o=d&(1<<-c)-1,d>>=-c,c+=a;c>0;o=256*o+e[t+h],h+=p,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=256*s+e[t+h],h+=p,c-=8);if(0===o)o=1-u;else{if(o===l)return s?0/0:(d?-1:1)*2e308;s+=Math.pow(2,n),o-=u}return(d?-1:1)*s*Math.pow(2,o-n)},e.write=function(e,t,r,n,i,o){var s,a,l,u=8*o-i-1,c=(1<<u)-1,h=c>>1,p=5960464477539062e-23*(23===i),d=n?0:o-1,f=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||1/0===t?(a=+!!isNaN(t),s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+h>=1?t+=p/l:t+=p*Math.pow(2,1-h),t*l>=2&&(s++,l/=2),s+h>=c?(a=0,s=c):s+h>=1?(a=(t*l-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=f,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;e[r+d]=255&s,d+=f,s/=256,u-=8);e[r+d-f]|=128*m}}),s$=A(e=>{var t=sz(),r=sW(),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function i(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,o.prototype),t}function o(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return s(e,t,r)}function s(e,t,r){if("string"==typeof e){var n=e,s=t;if(("string"!=typeof s||""===s)&&(s="utf8"),!o.isEncoding(s))throw TypeError("Unknown encoding: "+s);var a=0|p(n,s),l=i(a),d=l.write(n,s);return d!==a&&(l=l.slice(0,d)),l}if(ArrayBuffer.isView(e)){var f=e;if(T(f,Uint8Array)){var m=new Uint8Array(f);return c(m.buffer,m.byteOffset,m.byteLength)}return u(f)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(T(e,ArrayBuffer)||e&&T(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(T(e,SharedArrayBuffer)||e&&T(e.buffer,SharedArrayBuffer)))return c(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var w=e.valueOf&&e.valueOf();if(null!=w&&w!==e)return o.from(w,t,r);var g=function(e){if(o.isBuffer(e)){var t=0|h(e.length),r=i(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?i(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(g)return g;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function a(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return a(e),i(e<0?0:0|h(e))}function u(e){for(var t=e.length<0?0:0|h(e.length),r=i(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function c(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),o.prototype),n}function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||T(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return S(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return E(e).length;default:if(i)return n?-1:S(e).length;t=(""+t).toLowerCase(),i=!0}}function d(e,r,n){var i,o,s,a=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(r>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=C[e[o]];return i}(this,r,n);case"utf8":case"utf-8":return g(this,r,n);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,r,n);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,r,n);case"base64":return i=this,o=r,s=n,0===o&&s===i.length?t.fromByteArray(i):t.fromByteArray(i.slice(o,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,r,n);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function f(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,i){var s;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(s=r*=1)!=s&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=o.from(t,n)),o.isBuffer(t))return 0===t.length?-1:w(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return w(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function w(e,t,r,n,i){var o,s=1,a=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(o=r;o<a;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*s}else -1!==c&&(o-=o-c),c=-1}else for(r+l>a&&(r=a-l),o=r;o>=0;o--){for(var h=!0,p=0;p<l;p++)if(u(e,o+p)!==u(t,p)){h=!1;break}if(h)return o}return -1}function g(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,s,a,l,u=e[i],c=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=r)switch(h){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],s=e[i+2],(192&o)==128&&(192&s)==128&&(l=(15&u)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=h}var p=n,d=p.length;if(d<=4096)return String.fromCharCode.apply(String,p);for(var f="",m=0;m<d;)f+=String.fromCharCode.apply(String,p.slice(m,m+=4096));return f}function y(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function v(e,t,r,n,i,s){if(!o.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function b(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function x(e,t,n,i,o){return t*=1,n>>>=0,o||b(e,t,n,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,n,i,23,4),n+4}function k(e,t,n,i,o){return t*=1,n>>>=0,o||b(e,t,n,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,n,i,52,8),n+8}e.Buffer=o,e.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,o.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!o.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(e,t,r){return s(e,t,r)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array),o.alloc=function(e,t,r){return(a(e),e<=0)?i(e):void 0!==t?"string"==typeof r?i(e).fill(t,r):i(e).fill(t):i(e)},o.allocUnsafe=function(e){return l(e)},o.allocUnsafeSlow=function(e){return l(e)},o.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==o.prototype},o.compare=function(e,t){if(T(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),T(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(e)||!o.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=o.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var s=e[r];if(T(s,Uint8Array))i+s.length>n.length?o.from(s).copy(n,i):Uint8Array.prototype.set.call(n,s,i);else if(o.isBuffer(s))s.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=s.length}return n},o.byteLength=p,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)f(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)f(this,t,t+3),f(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},o.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?g(this,0,e):d.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(e){if(!o.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},n&&(o.prototype[n]=o.prototype.inspect),o.prototype.compare=function(e,t,r,n,i){if(T(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var s=i-n,a=r-t,l=Math.min(s,a),u=this.slice(n,i),c=e.slice(t,r),h=0;h<l;++h)if(u[h]!==c[h]){s=u[h],a=c[h];break}return s<a?-1:+(a<s)},o.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},o.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},o.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},o.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,l,u,c,h,p=this.length-t;if((void 0===r||r>p)&&(r=p),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var d=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a,l=parseInt(t.substr(2*s,2),16);if((a=l)!=a)break;e[r+s]=l}return s}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,A(S(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return s=t,a=r,A(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,a);case"base64":return l=t,u=r,A(E(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,h=r,A(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,h);default:if(d)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,o.prototype),n},o.prototype.readUintLE=o.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||y(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},o.prototype.readUintBE=o.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||y(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},o.prototype.readUint8=o.prototype.readUInt8=function(e,t){return e>>>=0,t||y(e,1,this.length),this[e]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||y(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||y(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||y(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||y(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||y(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},o.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||y(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return(e>>>=0,t||y(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||y(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt16BE=function(e,t){e>>>=0,t||y(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||y(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||y(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||y(e,4,this.length),r.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||y(e,4,this.length),r.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||y(e,8,this.length),r.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||y(e,8,this.length),r.read(this,e,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;v(this,e,t,r,i,0)}var o=1,s=0;for(this[t]=255&e;++s<r&&(o*=256);)this[t+s]=e/o&255;return t+r},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;v(this,e,t,r,i,0)}var o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},o.prototype.writeUint8=o.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);v(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},o.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);v(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeFloatLE=function(e,t,r){return x(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return x(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return k(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return k(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,n){if(!o.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},o.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!o.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,s=e.charCodeAt(0);("utf8"===n&&s<128||"latin1"===n)&&(e=s)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=o.isBuffer(e)?e:o.from(e,n),l=a.length;if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%l]}return this};var _=/[^+/0-9A-Za-z-_]/g;function S(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function E(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(_,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function A(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function T(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var C=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()}),sH=A((e,t)=>{t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}}),sG=A((e,t)=>{var r=sH();t.exports=function(){return r()&&!!Symbol.toStringTag}}),sK=A((e,t)=>{t.exports=Object}),sV=A((e,t)=>{t.exports=Error}),sX=A((e,t)=>{t.exports=EvalError}),sZ=A((e,t)=>{t.exports=RangeError}),sq=A((e,t)=>{t.exports=ReferenceError}),sJ=A((e,t)=>{t.exports=SyntaxError}),sY=A((e,t)=>{t.exports=TypeError}),sQ=A((e,t)=>{t.exports=URIError}),s0=A((e,t)=>{t.exports=Math.abs}),s1=A((e,t)=>{t.exports=Math.floor}),s2=A((e,t)=>{t.exports=Math.max}),s5=A((e,t)=>{t.exports=Math.min}),s6=A((e,t)=>{t.exports=Math.pow}),s3=A((e,t)=>{t.exports=Math.round}),s4=A((e,t)=>{t.exports=Number.isNaN||function(e){return e!=e}}),s8=A((e,t)=>{var r=s4();t.exports=function(e){return r(e)||0===e?e:e<0?-1:1}}),s7=A((e,t)=>{t.exports=Object.getOwnPropertyDescriptor}),s9=A((e,t)=>{var r=s7();if(r)try{r([],"length")}catch(e){r=null}t.exports=r}),ae=A((e,t)=>{var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}t.exports=r}),at=A((e,t)=>{var r="u">typeof Symbol&&Symbol,n=sH();t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&n()}}),ar=A((e,t)=>{t.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null}),an=A((e,t)=>{t.exports=sK().getPrototypeOf||null}),ai=A((e,t)=>{var r=Object.prototype.toString,n=Math.max,i=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r},o=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r},s=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};t.exports=function(e){var t,a=this;if("function"!=typeof a||"[object Function]"!==r.apply(a))throw TypeError("Function.prototype.bind called on incompatible "+a);for(var l=o(arguments,1),u=n(0,a.length-l.length),c=[],h=0;h<u;h++)c[h]="$"+h;if(t=Function("binder","return function ("+s(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof t){var r=a.apply(this,i(l,arguments));return Object(r)===r?r:this}return a.apply(e,i(l,arguments))}),a.prototype){var p=function(){};p.prototype=a.prototype,t.prototype=new p,p.prototype=null}return t}}),ao=A((e,t)=>{var r=ai();t.exports=Function.prototype.bind||r}),as=A((e,t)=>{t.exports=Function.prototype.call}),aa=A((e,t)=>{t.exports=Function.prototype.apply}),al=A((e,t)=>{t.exports="u">typeof Reflect&&Reflect&&Reflect.apply}),au=A((e,t)=>{var r=ao(),n=aa(),i=as();t.exports=al()||r.call(i,n)}),ac=A((e,t)=>{var r=ao(),n=sY(),i=as(),o=au();t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new n("a function is required");return o(r,i,e)}}),ah=A((e,t)=>{var r,n=ac(),i=s9();try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!r&&i&&i(Object.prototype,"__proto__"),s=Object,a=s.getPrototypeOf;t.exports=o&&"function"==typeof o.get?n([o.get]):"function"==typeof a&&function(e){return a(null==e?e:s(e))}}),ap=A((e,t)=>{var r=ar(),n=an(),i=ah();t.exports=r?function(e){return r(e)}:n?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return n(e)}:i?function(e){return i(e)}:null}),ad=A((e,t)=>{var r=Function.prototype.call,n=Object.prototype.hasOwnProperty;t.exports=ao().call(r,n)}),af=A((e,t)=>{var r,n=sK(),i=sV(),o=sX(),s=sZ(),a=sq(),l=sJ(),u=sY(),c=sQ(),h=s0(),p=s1(),d=s2(),f=s5(),m=s6(),w=s3(),g=s8(),y=Function,v=function(e){try{return y('"use strict"; return ('+e+").constructor;")()}catch(e){}},b=s9(),x=ae(),k=function(){throw new u},_=b?function(){try{return arguments.callee,k}catch(e){try{return b(arguments,"callee").get}catch(e){return k}}}():k,S=at()(),E=ap(),A=an(),T=ar(),C=aa(),I=as(),R={},O="u">typeof Uint8Array&&E?E(Uint8Array):r,P={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":S&&E?E([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":"u"<typeof Atomics?r:Atomics,"%BigInt%":"u"<typeof BigInt?r:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float16Array%":"u"<typeof Float16Array?r:Float16Array,"%Float32Array%":"u"<typeof Float32Array?r:Float32Array,"%Float64Array%":"u"<typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":R,"%Int8Array%":"u"<typeof Int8Array?r:Int8Array,"%Int16Array%":"u"<typeof Int16Array?r:Int16Array,"%Int32Array%":"u"<typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S&&E?E(E([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"u"<typeof Map?r:Map,"%MapIteratorPrototype%":"u">typeof Map&&S&&E?E((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?r:Promise,"%Proxy%":"u"<typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":a,"%Reflect%":"u"<typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?r:Set,"%SetIteratorPrototype%":"u">typeof Set&&S&&E?E((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S&&E?E(""[Symbol.iterator]()):r,"%Symbol%":S?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":_,"%TypedArray%":O,"%TypeError%":u,"%Uint8Array%":"u"<typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?r:Uint32Array,"%URIError%":c,"%WeakMap%":"u"<typeof WeakMap?r:WeakMap,"%WeakRef%":"u"<typeof WeakRef?r:WeakRef,"%WeakSet%":"u"<typeof WeakSet?r:WeakSet,"%Function.prototype.call%":I,"%Function.prototype.apply%":C,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":A,"%Math.abs%":h,"%Math.floor%":p,"%Math.max%":d,"%Math.min%":f,"%Math.pow%":m,"%Math.round%":w,"%Math.sign%":g,"%Reflect.getPrototypeOf%":T};if(E)try{null.error}catch(e){P["%Error.prototype%"]=E(E(e))}var N=function e(t){var r;if("%AsyncFunction%"===t)r=v("async function () {}");else if("%GeneratorFunction%"===t)r=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=v("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&E&&(r=E(i.prototype))}return P[t]=r,r},F={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},M=ao(),L=ad(),B=M.call(I,Array.prototype.concat),D=M.call(C,Array.prototype.splice),j=M.call(I,String.prototype.replace),U=M.call(I,String.prototype.slice),z=M.call(I,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,$=/\\(\\)?/g,H=function(e){var t=U(e,0,1),r=U(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return j(e,W,function(e,t,r,i){n[n.length]=r?j(i,$,"$1"):t||e}),n},G=function(e,t){var r,n=e;if(L(F,n)&&(n="%"+(r=F[n])[0]+"%"),L(P,n)){var i=P[n];if(i===R&&(i=N(n)),void 0===i&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new l("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===z(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=H(e),n=r.length>0?r[0]:"",i=G("%"+n+"%",t),o=i.name,s=i.value,a=!1,c=i.alias;c&&(n=c[0],D(r,B([0,1],c)));for(var h=1,p=!0;h<r.length;h+=1){var d=r[h],f=U(d,0,1),m=U(d,-1);if(('"'===f||"'"===f||"`"===f||'"'===m||"'"===m||"`"===m)&&f!==m)throw new l("property names with quotes must have matching quotes");if("constructor"!==d&&p||(a=!0),n+="."+d,L(P,o="%"+n+"%"))s=P[o];else if(null!=s){if(!(d in s)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(b&&h+1>=r.length){var w=b(s,d);s=(p=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:s[d]}else p=L(s,d),s=s[d];p&&!a&&(P[o]=s)}}return s}}),am=A((e,t)=>{var r=af(),n=ac(),i=n([r("%String.prototype.indexOf%")]);t.exports=function(e,t){var o=r(e,!!t);return"function"==typeof o&&i(e,".prototype.")>-1?n([o]):o}}),aw=A((e,t)=>{var r=sG()(),n=am()("Object.prototype.toString"),i=function(e){return(!r||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===n(e)},o=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"length"in e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==n(e)&&"callee"in e&&"[object Function]"===n(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=o,t.exports=s?i:o}),ag=A((e,t)=>{var r,n=Object.prototype.toString,i=Function.prototype.toString,o=/^\s*(?:function)?\*/,s=sG()(),a=Object.getPrototypeOf,l=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}};t.exports=function(e){if("function"!=typeof e)return!1;if(o.test(i.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===n.call(e);if(!a)return!1;if(void 0===r){var t=l();r=!!t&&a(t)}return a(e)===r}}),ay=A((e,t)=>{var r,n,i=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o(function(){throw 42},null,r)}catch(e){e!==n&&(o=null)}else o=null;var s=/^\s*class\b/,a=function(e){try{var t=i.call(e);return s.test(t)}catch(e){return!1}},l=function(e){try{if(a(e))return!1;return i.call(e),!0}catch(e){return!1}},u=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,h=!(0 in[,]),p=function(){return!1};if("object"==typeof document){var d=document.all;u.call(d)===u.call(document.all)&&(p=function(e){if((h||!e)&&(void 0===e||"object"==typeof e))try{var t=u.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}t.exports=o?function(e){if(p(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{o(e,null,r)}catch(e){if(e!==n)return!1}return!a(e)&&l(e)}:function(e){if(p(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(c)return l(e);if(a(e))return!1;var t=u.call(e);return("[object Function]"===t||"[object GeneratorFunction]"===t||!!/^\[object HTML/.test(t))&&l(e)}}),av=A((e,t)=>{var r=ay(),n=Object.prototype.toString,i=Object.prototype.hasOwnProperty,o=function(e,t,r){for(var n=0,o=e.length;n<o;n++)i.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))},s=function(e,t,r){for(var n=0,i=e.length;n<i;n++)null==r?t(e.charAt(n),n,e):t.call(r,e.charAt(n),n,e)},a=function(e,t,r){for(var n in e)i.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))};t.exports=function(e,t,i){var l;if(!r(t))throw TypeError("iterator must be a function");(arguments.length>=3&&(l=i),"[object Array]"===n.call(e))?o(e,t,l):"string"==typeof e?s(e,t,l):a(e,t,l)}}),ab=A((e,t)=>{t.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}),ax=A((e,t)=>{sO();var r=ab(),n="u"<typeof globalThis?l:globalThis;t.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof n[r[t]]&&(e[e.length]=r[t]);return e}}),ak=A((e,t)=>{var r=ae(),n=sJ(),i=sY(),o=s9();t.exports=function(e,t,s){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],h=!!o&&o(e,t);if(r)r(e,t,{configurable:null===u&&h?h.configurable:!u,enumerable:null===a&&h?h.enumerable:!a,value:s,writable:null===l&&h?h.writable:!l});else if(!c&&(a||l||u))throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=s}}),a_=A((e,t)=>{var r=ae(),n=function(){return!!r};n.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},t.exports=n}),aS=A((e,t)=>{var r=af(),n=ak(),i=a_()(),o=s9(),s=sY(),a=r("%Math.floor%");t.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>0xffffffff||a(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],l=!0,u=!0;if("length"in e&&o){var c=o(e,"length");c&&!c.configurable&&(l=!1),c&&!c.writable&&(u=!1)}return(l||u||!r)&&(i?n(e,"length",t,!0,!0):n(e,"length",t)),e}}),aE=A((e,t)=>{var r=ao(),n=aa(),i=au();t.exports=function(){return i(r,n,arguments)}}),aA=A((e,t)=>{var r=aS(),n=ae(),i=ac(),o=aE();t.exports=function(e){var t=i(arguments),n=e.length-(arguments.length-1);return r(t,1+(n>0?n:0),!0)},n?n(t.exports,"apply",{value:o}):t.exports.apply=o}),aT=A((e,t)=>{sO();var r=av(),n=ax(),i=aA(),o=am(),s=s9(),a=ap(),u=o("Object.prototype.toString"),c=sG()(),h="u"<typeof globalThis?l:globalThis,p=n(),d=o("String.prototype.slice"),f=o("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return -1},m={__proto__:null};c&&s&&a?r(p,function(e){var t=new h[e];if(Symbol.toStringTag in t&&a){var r=a(t),n=s(r,Symbol.toStringTag);!n&&r&&(n=s(a(r),Symbol.toStringTag)),m["$"+e]=i(n.get)}}):r(p,function(e){var t=new h[e],r=t.slice||t.set;r&&(m["$"+e]=i(r))});var w=function(e){var t=!1;return r(m,function(r,n){if(!t)try{"$"+r(e)===n&&(t=d(n,1))}catch(e){}}),t},g=function(e){var t=!1;return r(m,function(r,n){if(!t)try{r(e),t=d(n,1)}catch(e){}}),t};t.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=d(u(e),8,-1);return f(p,t)>-1?t:"Object"===t&&g(e)}return s?w(e):null}}),aC=A((e,t)=>{var r=aT();t.exports=function(e){return!!r(e)}}),aI=A(e=>{var t=aw(),r=ag(),n=aT(),i=aC();function o(e){return e.call.bind(e)}var s="u">typeof BigInt,a="u">typeof Symbol,l=o(Object.prototype.toString),u=o(Number.prototype.valueOf),c=o(String.prototype.valueOf),h=o(Boolean.prototype.valueOf);if(s)var p=o(BigInt.prototype.valueOf);if(a)var d=o(Symbol.prototype.valueOf);function f(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function m(e){return"[object Map]"===l(e)}function w(e){return"[object Set]"===l(e)}function g(e){return"[object WeakMap]"===l(e)}function y(e){return"[object WeakSet]"===l(e)}function v(e){return"[object ArrayBuffer]"===l(e)}function b(e){return!("u"<typeof ArrayBuffer)&&(v.working?v(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===l(e)}function k(e){return!("u"<typeof DataView)&&(x.working?x(e):e instanceof DataView)}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=i,e.isPromise=function(e){return"u">typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},e.isArrayBufferView=function(e){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):i(e)||k(e)},e.isUint8Array=function(e){return"Uint8Array"===n(e)},e.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===n(e)},e.isUint16Array=function(e){return"Uint16Array"===n(e)},e.isUint32Array=function(e){return"Uint32Array"===n(e)},e.isInt8Array=function(e){return"Int8Array"===n(e)},e.isInt16Array=function(e){return"Int16Array"===n(e)},e.isInt32Array=function(e){return"Int32Array"===n(e)},e.isFloat32Array=function(e){return"Float32Array"===n(e)},e.isFloat64Array=function(e){return"Float64Array"===n(e)},e.isBigInt64Array=function(e){return"BigInt64Array"===n(e)},e.isBigUint64Array=function(e){return"BigUint64Array"===n(e)},m.working="u">typeof Map&&m(new Map),e.isMap=function(e){return!("u"<typeof Map)&&(m.working?m(e):e instanceof Map)},w.working="u">typeof Set&&w(new Set),e.isSet=function(e){return!("u"<typeof Set)&&(w.working?w(e):e instanceof Set)},g.working="u">typeof WeakMap&&g(new WeakMap),e.isWeakMap=function(e){return!("u"<typeof WeakMap)&&(g.working?g(e):e instanceof WeakMap)},y.working="u">typeof WeakSet&&y(new WeakSet),e.isWeakSet=function(e){return y(e)},v.working="u">typeof ArrayBuffer&&v(new ArrayBuffer),e.isArrayBuffer=b,x.working="u">typeof ArrayBuffer&&"u">typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=k;var _="u">typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function S(e){return"[object SharedArrayBuffer]"===l(e)}function E(e){return void 0!==_&&(void 0===S.working&&(S.working=S(new _)),S.working?S(e):e instanceof _)}function A(e){return f(e,u)}function T(e){return f(e,c)}function C(e){return f(e,h)}function I(e){return s&&f(e,p)}function R(e){return a&&f(e,d)}e.isSharedArrayBuffer=E,e.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},e.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},e.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},e.isGeneratorObject=function(e){return"[object Generator]"===l(e)},e.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},e.isNumberObject=A,e.isStringObject=T,e.isBooleanObject=C,e.isBigIntObject=I,e.isSymbolObject=R,e.isBoxedPrimitive=function(e){return A(e)||T(e)||C(e)||I(e)||R(e)},e.isAnyArrayBuffer=function(e){return"u">typeof Uint8Array&&(b(e)||E(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw Error(t+" is not supported in userland")}})})}),aR=A((e,t)=>{t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}}),aO=A(e=>{sj();var t=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},r=/%[sdj%]/g;e.format=function(e){if(!w(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}for(var n=1,i=arguments,o=i.length,a=String(e).replace(r,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(e){return"[Circular]"}default:return e}}),l=i[n];n<o;l=i[++n])f(l)||!b(l)?a+=" "+l:a+=" "+s(l);return a},e.deprecate=function(t,r){if(void 0!==g&&!0===g.noDeprecation)return t;if(void 0===g)return function(){return e.deprecate(t,r).apply(this,arguments)};var n=!1;return function(){if(!n){if(g.throwDeprecation)throw Error(r);g.traceDeprecation?console.trace(r):console.error(r),n=!0}return t.apply(this,arguments)}};var n={},i=/^$/;if(g.env.NODE_DEBUG){var o=g.env.NODE_DEBUG;i=RegExp("^"+(o=o.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function s(t,r){var n={seen:[],stylize:l};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(r)?n.showHidden=r:r&&e._extend(n,r),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=a),u(n,t,n.depth)}function a(e,t){var r=s.styles[t];return r?"\x1b["+s.colors[r][0]+"m"+e+"\x1b["+s.colors[r][1]+"m":e}function l(e,t){return e}function u(t,r,n){if(t.customInspect&&r&&_(r.inspect)&&r.inspect!==e.inspect&&!(r.constructor&&r.constructor.prototype===r)){var i,o,s,a,l,g,b=r.inspect(n,t);return w(b)||(b=u(t,b,n)),b}var S=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(w(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return m(t)?e.stylize(""+t,"number"):d(t)?e.stylize(""+t,"boolean"):f(t)?e.stylize("null","null"):void 0}(t,r);if(S)return S;var E=Object.keys(r),A=(l={},E.forEach(function(e,t){l[e]=!0}),l);if(t.showHidden&&(E=Object.getOwnPropertyNames(r)),k(r)&&(E.indexOf("message")>=0||E.indexOf("description")>=0))return c(r);if(0===E.length){if(_(r)){var C=r.name?": "+r.name:"";return t.stylize("[Function"+C+"]","special")}if(v(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return t.stylize(Date.prototype.toString.call(r),"date");if(k(r))return c(r)}var I="",R=!1,O=["{","}"];if(p(r)&&(R=!0,O=["[","]"]),_(r)&&(I=" [Function"+(r.name?": "+r.name:"")+"]"),v(r)&&(I=" "+RegExp.prototype.toString.call(r)),x(r)&&(I=" "+Date.prototype.toUTCString.call(r)),k(r)&&(I=" "+c(r)),0===E.length&&(!R||0==r.length))return O[0]+I+O[1];if(n<0)if(v(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");else return t.stylize("[Object]","special");return t.seen.push(r),g=R?function(e,t,r,n,i){for(var o=[],s=0,a=t.length;s<a;++s)T(t,String(s))?o.push(h(e,t,r,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(h(e,t,r,n,i,!0))}),o}(t,r,n,A,E):E.map(function(e){return h(t,r,n,A,e,R)}),t.seen.pop(),i=g,o=I,s=O,a=0,i.reduce(function(e,t){return a++,t.indexOf("\n")>=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?s[0]+(""===o?"":o+"\n ")+" "+i.join(",\n ")+" "+s[1]:s[0]+o+" "+i.join(", ")+" "+s[1]}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i,o){var s,a,l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]};if(l.get?a=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(a=e.stylize("[Setter]","special")),T(n,i)||(s="["+i+"]"),!a&&(0>e.seen.indexOf(l.value)?(a=f(r)?u(e,l.value,null):u(e,l.value,r-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n")):a=e.stylize("[Circular]","special")),y(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function p(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function f(e){return null===e}function m(e){return"number"==typeof e}function w(e){return"string"==typeof e}function y(e){return void 0===e}function v(e){return b(e)&&"[object RegExp]"===S(e)}function b(e){return"object"==typeof e&&null!==e}function x(e){return b(e)&&"[object Date]"===S(e)}function k(e){return b(e)&&("[object Error]"===S(e)||e instanceof Error)}function _(e){return"function"==typeof e}function S(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}e.debuglog=function(t){if(!n[t=t.toUpperCase()])if(i.test(t)){var r=g.pid;n[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else n[t]=function(){};return n[t]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=aI(),e.isArray=p,e.isBoolean=d,e.isNull=f,e.isNullOrUndefined=function(e){return null==e},e.isNumber=m,e.isString=w,e.isSymbol=function(e){return"symbol"==typeof e},e.isUndefined=y,e.isRegExp=v,e.types.isRegExp=v,e.isObject=b,e.isDate=x,e.types.isDate=x,e.isError=k,e.types.isNativeError=k,e.isFunction=_,e.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},e.isBuffer=aR();var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.log=function(){var t,r;console.log("%s - %s",(r=[E((t=new Date).getHours()),E(t.getMinutes()),E(t.getSeconds())].join(":"),[t.getDate(),A[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=tb(),e._extend=function(e,t){if(!t||!b(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var C="u">typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}e.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(C&&e[C]){var r=e[C];if("function"!=typeof r)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,C,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,n){e?r(e):t(n)});try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),C&&Object.defineProperty(r,C,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,t(e))},e.promisify.custom=C,e.callbackify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');function r(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!=typeof n)throw TypeError("The last argument must be of type Function");var i=this,o=function(){return n.apply(i,arguments)};e.apply(this,t).then(function(e){g.nextTick(o.bind(null,null,e))},function(e){g.nextTick(I.bind(null,e,o))})}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),Object.defineProperties(r,t(e)),r}}),aP=A((e,t)=>{function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){var r,o,s;r=e,o=t,s=n[t],(o=i(o))in r?Object.defineProperty(r,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):r[o]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var o=s$().Buffer,s=aO().inspect,a=s&&s.custom||"inspect";t.exports=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.head=null,this.tail=null,this.length=0}return e=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t,r,n=o.allocUnsafe(e>>>0),i=this.head,s=0;i;)t=i.data,r=s,o.prototype.copy.call(t,n,r),s+=i.data.length,i=i.next;return n}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,s=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,s),0==(e-=s)){s===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(s));break}++n}return this.length-=n,t}},{key:a,value:function(e,t){return s(this,n(n({},t),{},{depth:0,customInspect:!1}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}()}),aN=A((e,t)=>{function r(e,t){i(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function i(e,t){e.emit("error",t)}sj(),t.exports={destroy:function(e,t){var o=this,s=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return s||a?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,g.nextTick(i,this,e)):g.nextTick(i,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?o._writableState?o._writableState.errorEmitted?g.nextTick(n,o):(o._writableState.errorEmitted=!0,g.nextTick(r,o,e)):g.nextTick(r,o,e):t?(g.nextTick(n,o),t(e)):g.nextTick(n,o)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}),aF=A((e,t)=>{var r={};function n(e,t,n){n||(n=Error);var i=function(e){function r(r,n,i){return e.call(this,"string"==typeof t?t:t(r,n,i))||this}return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e,r}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function i(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var r=e.length;return(e=e.map(function(e){return String(e)}),r>2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}n("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(e,t,r){if("string"==typeof t&&(n="not ",t.substr(0,n.length)===n)?(l="must not be",t=t.replace(/^not /,"")):l="must be",o=" argument",(void 0===s||s>e.length)&&(s=e.length),e.substring(s-o.length,s)===o)u="The ".concat(e," ").concat(l," ").concat(i(t,"type"));else{var n,o,s,a,l,u,c=("number"!=typeof a&&(a=0),a+1>e.length||-1===e.indexOf(".",a))?"argument":"property";u='The "'.concat(e,'" ').concat(c," ").concat(l," ").concat(i(t,"type"))}return u+". Received type ".concat(typeof r)},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r}),aM=A((e,t)=>{var r=aF().codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,n,i){var o=null!=t.highWaterMark?t.highWaterMark:i?t[n]:null;if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}}),aL=A((e,t)=>{sO(),t.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}};function r(e){try{if(!l.localStorage)return!1}catch(e){return!1}var t=l.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}}),aB=A((e,t)=>{function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){var r=t,n=e,i=r.entry;for(r.entry=null;i;){var o=i.callback;n.pendingcb--,o(void 0),i=i.next}n.corkedRequestsFree.next=r}}sO(),sj(),t.exports=E,E.WritableState=S;var n,i,o={deprecate:aL()},s=sU(),a=s$().Buffer,u=(void 0!==l?l:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){},c=aN(),h=aM().getHighWaterMark,p=aF().codes,d=p.ERR_INVALID_ARG_TYPE,f=p.ERR_METHOD_NOT_IMPLEMENTED,m=p.ERR_MULTIPLE_CALLBACK,w=p.ERR_STREAM_CANNOT_PIPE,y=p.ERR_STREAM_DESTROYED,v=p.ERR_STREAM_NULL_VALUES,b=p.ERR_STREAM_WRITE_AFTER_END,x=p.ERR_UNKNOWN_ENCODING,k=c.errorOrDestroy;function _(){}function S(e,t,i){n=n||aD(),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=h(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new m;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,n?(g.nextTick(i,t),g.nextTick(O,e,r),e._writableState.errorEmitted=!0,k(e,t)):(i(t),e._writableState.errorEmitted=!0,k(e,t),O(e,r));else{var o=I(r)||e.destroyed;o||r.corked||r.bufferProcessing||!r.bufferedRequest||C(e,r),n?g.nextTick(T,e,r,o,i):T(e,r,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}tb()(E,s),S.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};try{Object.defineProperty(S.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}function E(e){var t=this instanceof(n=n||aD());if(!t&&!i.call(E,this))return new E(e);this._writableState=new S(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function A(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function T(e,t,r,n){var i,o;r||(i=e,0===(o=t).length&&o.needDrain&&(o.needDrain=!1,i.emit("drain"))),t.pendingcb--,n(),O(e,t)}function C(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=Array(t.bufferedRequestCount),o=t.corkedRequestsFree;o.entry=n;for(var s=0,a=!0;n;)i[s]=n,n.isBuf||(a=!1),n=n.next,s+=1;i.allBuffers=a,A(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,c=n.callback;if(A(e,t,!1,t.objectMode?1:l.length,l,u,c),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function I(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function R(e,t){e._final(function(r){t.pendingcb--,r&&k(e,r),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var r=I(t);if(r&&(t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,g.nextTick(R,e,t))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===E&&e&&e._writableState instanceof S}})):i=function(e){return e instanceof this},E.prototype.pipe=function(){k(this,new w)},E.prototype.write=function(e,t,r){var n,i,o,s,l,c,h,p=this._writableState,f=!1,m=!p.objectMode&&(n=e,a.isBuffer(n)||n instanceof u);return(m&&!a.isBuffer(e)&&(i=e,e=a.from(i)),"function"==typeof t&&(r=t,t=null),m?t="buffer":t||(t=p.defaultEncoding),"function"!=typeof r&&(r=_),p.ending)?(o=r,k(this,s=new b),g.nextTick(o,s)):(m||(l=e,c=r,null===l?h=new v:"string"==typeof l||p.objectMode||(h=new d("chunk",["string","Buffer"],l)),!h||(k(this,h),g.nextTick(c,h),0)))&&(p.pendingcb++,f=function(e,t,r,n,i,o){if(!r){var s,l,u=(s=n,l=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof s||(s=a.from(s,l)),s);n!==u&&(r=!0,i="buffer",n=u)}var c=t.objectMode?1:n.length;t.length+=c;var h=t.length<t.highWaterMark;if(h||(t.needDrain=!0),t.writing||t.corked){var p=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},p?p.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else A(e,t,!1,c,n,i,o);return h}(this,p,m,e,t,r)),f},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||C(this,e))},E.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new x(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,r){r(new f("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var n,i,o,s=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),s.corked&&(s.corked=1,this.uncork()),s.ending||(n=this,i=s,o=r,i.ending=!0,O(n,i),o&&(i.finished?g.nextTick(o):n.once("finish",o)),i.ended=!0,n.writable=!1),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=c.destroy,E.prototype._undestroy=c.undestroy,E.prototype._destroy=function(e,t){t(e)}}),aD=A((e,t)=>{sj();var r=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=l;var n=aH(),i=aB();tb()(l,n);for(var o=r(i.prototype),s=0;s<o.length;s++){var a=o[s];l.prototype[a]||(l.prototype[a]=i.prototype[a])}function l(e){if(!(this instanceof l))return new l(e);n.call(this,e),i.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||g.nextTick(c,this)}function c(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}),aj=A((e,t)=>{var r=s$(),n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(i(r,e),e.Buffer=o),i(n,o),o.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return n(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r.SlowBuffer(e)}}),aU=A(e=>{var t=aj().Buffer,r=t.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(e){var n;switch(this.encoding=function(e){var n=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof n&&(t.isEncoding===r||!r(e)))throw Error("Unknown encoding: "+e);return n||e}(e),this.encoding){case"utf16le":this.text=s,this.end=a,n=4;break;case"utf8":this.fillLast=o,n=4;break;case"base64":this.text=l,this.end=u,n=3;break;default:this.write=c,this.end=h;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(n)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function s(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function c(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}e.StringDecoder=n,n.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},n.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},n.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=i(t[n]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--n<r||-2===o?0:(o=i(t[n]))>=0?(o>0&&(e.lastNeed=o-2),o):--n<r||-2===o?0:(o=i(t[n]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}),az=A((e,t)=>{var r=aF().codes.ERR_STREAM_PREMATURE_CLOSE;function n(){}t.exports=function e(t,i,o){if("function"==typeof i)return e(t,null,i);i||(i={}),s=o||n,a=!1,o=function(){if(!a){a=!0;for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];s.apply(this,t)}};var s,a,l=i.readable||!1!==i.readable&&t.readable,u=i.writable||!1!==i.writable&&t.writable,c=function(){t.writable||p()},h=t._writableState&&t._writableState.finished,p=function(){u=!1,h=!0,l||o.call(t)},d=t._readableState&&t._readableState.endEmitted,f=function(){l=!1,d=!0,u||o.call(t)},m=function(e){o.call(t,e)},w=function(){var e;return l&&!d?(t._readableState&&t._readableState.ended||(e=new r),o.call(t,e)):u&&!h?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},g=function(){t.req.on("finish",p)};return t.setHeader&&"function"==typeof t.abort?(t.on("complete",p),t.on("abort",w),t.req?g():t.on("request",g)):u&&!t._writableState&&(t.on("end",c),t.on("close",c)),t.on("end",f),t.on("finish",p),!1!==i.error&&t.on("error",m),t.on("close",w),function(){t.removeListener("complete",p),t.removeListener("abort",w),t.removeListener("request",g),t.req&&t.req.removeListener("finish",p),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",p),t.removeListener("end",f),t.removeListener("error",m),t.removeListener("close",w)}}}),aW=A((e,t)=>{function r(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}sj();var n,i=az(),o=Symbol("lastResolve"),s=Symbol("lastReject"),a=Symbol("error"),l=Symbol("ended"),u=Symbol("lastPromise"),c=Symbol("handlePromise"),h=Symbol("stream");function p(e,t){return{value:e,done:t}}function d(e){var t=e[o];if(null!==t){var r=e[h].read();null!==r&&(e[u]=null,e[o]=null,e[s]=null,t(p(r,!1)))}}function f(e){g.nextTick(d,e)}var m=Object.getPrototypeOf(function(){}),w=Object.setPrototypeOf((r(n={get stream(){return this[h]},next:function(){var e,t,r=this,n=this[a];if(null!==n)return Promise.reject(n);if(this[l])return Promise.resolve(p(void 0,!0));if(this[h].destroyed)return new Promise(function(e,t){g.nextTick(function(){r[a]?t(r[a]):e(p(void 0,!0))})});var i=this[u];if(i)t=new Promise((e=this,function(t,r){i.then(function(){e[l]?t(p(void 0,!0)):e[c](t,r)},r)}));else{var o=this[h].read();if(null!==o)return Promise.resolve(p(o,!1));t=new Promise(this[c])}return this[u]=t,t}},Symbol.asyncIterator,function(){return this}),r(n,"return",function(){var e=this;return new Promise(function(t,r){e[h].destroy(null,function(e){e?r(e):t(p(void 0,!0))})})}),n),m);t.exports=function(e){var t,n=Object.create(w,(r(t={},h,{value:e,writable:!0}),r(t,o,{value:null,writable:!0}),r(t,s,{value:null,writable:!0}),r(t,a,{value:null,writable:!0}),r(t,l,{value:e._readableState.endEmitted,writable:!0}),r(t,c,{value:function(e,t){var r=n[h].read();r?(n[u]=null,n[o]=null,n[s]=null,e(p(r,!1))):(n[o]=e,n[s]=t)},writable:!0}),t));return n[u]=null,i(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];null!==t&&(n[u]=null,n[o]=null,n[s]=null,t(e)),n[a]=e;return}var r=n[o];null!==r&&(n[u]=null,n[o]=null,n[s]=null,r(p(void 0,!0))),n[l]=!0}),e.on("readable",f.bind(null,n)),n}}),a$=A((e,t)=>{t.exports=function(){throw Error("Readable.from is not available in the browser")}}),aH=A((e,t)=>{sO(),sj(),t.exports=E,E.ReadableState=S,sR().EventEmitter;var r,n,i,o,s,a=function(e,t){return e.listeners(t).length},u=sU(),c=s$().Buffer,h=(void 0!==l?l:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){},p=aO();n=p&&p.debuglog?p.debuglog("stream"):function(){};var d=aP(),f=aN(),m=aM().getHighWaterMark,w=aF().codes,y=w.ERR_INVALID_ARG_TYPE,v=w.ERR_STREAM_PUSH_AFTER_EOF,b=w.ERR_METHOD_NOT_IMPLEMENTED,x=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;tb()(E,u);var k=f.errorOrDestroy,_=["error","close","destroy","pause","resume"];function S(e,t,n){r=r||aD(),e=e||{},"boolean"!=typeof n&&(n=t instanceof r),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(i||(i=aU().StringDecoder),this.decoder=new i(e.encoding),this.encoding=e.encoding)}function E(e){if(r=r||aD(),!(this instanceof E))return new E(e);var t=this instanceof r;this._readableState=new S(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function A(e,t,r,i,o){n("readableAddChunk",t);var s,a,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(n("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?I(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,R(e)))}}(e,l);else if(o||(a=function(e,t){var r;return c.isBuffer(t)||t instanceof h||"string"==typeof t||void 0===t||e.objectMode||(r=new y("chunk",["string","Buffer","Uint8Array"],t)),r}(l,t)),a)k(e,a);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===c.prototype||(s=t,t=c.from(s)),i)l.endEmitted?k(e,new x):T(e,l,t,!0);else if(l.ended)k(e,new v);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?T(e,l,t,!1):O(e,l)):T(e,l,t,!1)}else i||(l.reading=!1,O(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function T(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&I(e)),O(e,t)}function C(e,t){var r;if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;return(e>t.highWaterMark&&((r=e)>=0x40000000?r=0x40000000:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),t.highWaterMark=r),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function I(e){var t=e._readableState;n("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(n("emitReadable",t.flowing),t.emittedReadable=!0,g.nextTick(R,e))}function R(e){var t=e._readableState;n("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function O(e,t){t.readingMore||(t.readingMore=!0,g.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(n("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function N(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function F(e){n("readable nexttick read 0"),e.read(0)}function M(e,t){n("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(n("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function D(e){var t=e._readableState;n("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,g.nextTick(j,t,e))}function j(e,t){if(n("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function U(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=f.destroy,E.prototype._undestroy=f.undestroy,E.prototype._destroy=function(e,t){t(e)},E.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=c.from(e,t),t=""),r=!0),A(this,e,t,!1,r)},E.prototype.unshift=function(e){return A(this,e,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(e){i||(i=aU().StringDecoder);var t=new i(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this},E.prototype.read=function(e){n("read",e),e=parseInt(e,10);var t,r=this._readableState,i=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&((0!==r.highWaterMark?r.length>=r.highWaterMark:r.length>0)||r.ended))return n("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?D(this):I(this),null;if(0===(e=C(e,r))&&r.ended)return 0===r.length&&D(this),null;var o=r.needReadable;return n("need readable",o),(0===r.length||r.length-e<r.highWaterMark)&&n("length less than watermark",o=!0),r.ended||r.reading?n("reading or ended",o=!1):o&&(n("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=C(i,r))),null===(t=e>0?B(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),i!==e&&r.ended&&D(this)),null!==t&&this.emit("data",t),t},E.prototype._read=function(e){k(this,new b("_read()"))},E.prototype.pipe=function(e,t){var r,i=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,n("pipe count=%d opts=%j",o.pipesCount,t);var s=t&&!1===t.end||e===g.stdout||e===g.stderr?m:l;function l(){n("onend"),e.end()}o.endEmitted?g.nextTick(s):i.once("end",s),e.on("unpipe",function t(r,s){n("onunpipe"),r===i&&s&&!1===s.hasUnpiped&&(s.hasUnpiped=!0,n("cleanup"),e.removeListener("close",d),e.removeListener("finish",f),e.removeListener("drain",u),e.removeListener("error",p),e.removeListener("unpipe",t),i.removeListener("end",l),i.removeListener("end",m),i.removeListener("data",h),c=!0,o.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u())});var u=(r=i,function(){var e=r._readableState;n("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(r,"data")&&(e.flowing=!0,L(r))});e.on("drain",u);var c=!1;function h(t){n("ondata");var r=e.write(t);n("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==U(o.pipes,e))&&!c&&(n("false write response, pause",o.awaitDrain),o.awaitDrain++),i.pause())}function p(t){n("onerror",t),m(),e.removeListener("error",p),0===a(e,"error")&&k(e,t)}function d(){e.removeListener("finish",f),m()}function f(){n("onfinish"),e.removeListener("close",d),m()}function m(){n("unpipe"),i.unpipe(e)}return i.on("data",h),!function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",d),e.once("finish",f),e.emit("pipe",i),o.flowing||(n("pipe resume"),i.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=U(t.pipes,e);return -1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},E.prototype.on=function(e,t){var r=u.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"!==e||i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,n("on readable",i.length,i.reading),i.length?I(this):i.reading||g.nextTick(F,this)),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=u.prototype.removeListener.call(this,e,t);return"readable"===e&&g.nextTick(N,this),r},E.prototype.removeAllListeners=function(e){var t=u.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&g.nextTick(N,this),t},E.prototype.resume=function(){var e,t,r=this._readableState;return r.flowing||(n("resume"),r.flowing=!r.readableListening,e=this,(t=r).resumeScheduled||(t.resumeScheduled=!0,g.nextTick(M,e,t))),r.paused=!1,this},E.prototype.pause=function(){return n("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(n("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,r=this._readableState,i=!1;for(var o in e.on("end",function(){if(n("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){n("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o||(r.objectMode||o&&o.length)&&(t.push(o)||(i=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var s=0;s<_.length;s++)e.on(_[s],this.emit.bind(this,_[s]));return this._read=function(t){n("wrapped _read",t),i&&(i=!1,e.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===o&&(o=aW()),o(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),E._fromList=B,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(e,t){return void 0===s&&(s=a$()),s(E,e,t)})}),aG=A((e,t)=>{t.exports=u;var r=aF().codes,n=r.ERR_METHOD_NOT_IMPLEMENTED,i=r.ERR_MULTIPLE_CALLBACK,o=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,a=aD();function l(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new i);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);a.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",c)}function c(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush(function(t,r){h(e,t,r)})}function h(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new o;return e.push(null)}tb()(u,a),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,r){r(new n("_transform()"))},u.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){a.prototype._destroy.call(this,e,function(e){t(e)})}}),aK=A((e,t)=>{t.exports=n;var r=aG();function n(e){if(!(this instanceof n))return new n(e);r.call(this,e)}tb()(n,r),n.prototype._transform=function(e,t,r){r(null,e)}}),aV=A((e,t)=>{var r,n=aF().codes,i=n.ERR_MISSING_ARGS,o=n.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function a(e){e()}function l(e,t){return e.pipe(t)}t.exports=function(){for(var e,t,n=arguments.length,u=Array(n),c=0;c<n;c++)u[c]=arguments[c];var h=(e=u).length&&"function"==typeof e[e.length-1]?e.pop():s;if(Array.isArray(u[0])&&(u=u[0]),u.length<2)throw new i("streams");var p=u.map(function(e,n){var i,s,l,c,d,f,m=n<u.length-1;return i=n>0,l=s=function(e){t||(t=e),e&&p.forEach(a),m||(p.forEach(a),h(t))},c=!1,s=function(){c||(c=!0,l.apply(void 0,arguments))},d=!1,e.on("close",function(){d=!0}),void 0===r&&(r=az()),r(e,{readable:m,writable:i},function(e){if(e)return s(e);d=!0,s()}),f=!1,function(t){if(!d&&!f){if(f=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();s(t||new o("pipe"))}}});return u.reduce(l)}}),aX=A((e,t)=>{t.exports=n;var r=sR().EventEmitter;function n(){r.call(this)}tb()(n,r),n.Readable=aH(),n.Writable=aB(),n.Duplex=aD(),n.Transform=aG(),n.PassThrough=aK(),n.finished=az(),n.pipeline=aV(),n.Stream=n,n.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",l));var s=!1;function a(){s||(s=!0,e.end())}function l(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===r.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",l),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",u),e.on("error",u),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e}}),aZ=A((t,r)=>{sO(),sj(),function(n){if("object"==typeof t&&void 0!==r)r.exports=n();else if("function"==typeof define&&define.amd){let t;void 0!==(t=n())&&e.v(t)}else("u">typeof window?window:void 0!==l?l:"u">typeof self?self:this).JSZip=n()}(function(){return(function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){var l="function"==typeof C&&C;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var u=Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=r[s]={exports:{}};t[s][0].call(c.exports,function(e){return i(t[s][1][e]||e)},c,c.exports,e,t,r,n)}return r[s].exports}for(var o="function"==typeof C&&C,s=0;s<n.length;s++)i(n[s]);return i})({1:[function(e,t,r){var n=e("./utils"),i=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,i,s,a,l,u,c=[],h=0,p=e.length,d=p,f="string"!==n.getTypeOf(e);h<e.length;)d=p-h,i=f?(t=e[h++],r=h<p?e[h++]:0,h<p?e[h++]:0):(t=e.charCodeAt(h++),r=h<p?e.charCodeAt(h++):0,h<p?e.charCodeAt(h++):0),s=t>>2,a=(3&t)<<4|r>>4,l=1<d?(15&r)<<2|i>>6:64,u=2<d?63&i:64,c.push(o.charAt(s)+o.charAt(a)+o.charAt(l)+o.charAt(u));return c.join("")},r.decode=function(e){var t,r,n,s,a,l,u=0,c=0,h="data:";if(e.substr(0,h.length)===h)throw Error("Invalid base64 input, it looks like a data url.");var p,d=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&d--,e.charAt(e.length-2)===o.charAt(64)&&d--,d%1!=0)throw Error("Invalid base64 input, bad content length.");for(p=i.uint8array?new Uint8Array(0|d):Array(0|d);u<e.length;)t=o.indexOf(e.charAt(u++))<<2|(s=o.indexOf(e.charAt(u++)))>>4,r=(15&s)<<4|(a=o.indexOf(e.charAt(u++)))>>2,n=(3&a)<<6|(l=o.indexOf(e.charAt(u++))),p[c++]=t,64!==a&&(p[c++]=r),64!==l&&(p[c++]=n);return p}},{"./support":30,"./utils":32}],2:[function(e,t,r){var n=e("./external"),i=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),s=e("./stream/DataLengthProbe");function a(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}a.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,r){return e.pipe(new o).pipe(new s("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},t.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){var n=e("./utils"),i=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?0xedb88320^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r){var n=0+r;e^=-1;for(var o=0;o<n;o++)e=e>>>8^i[255&(e^t[o])];return -1^e}(0|t,e,e.length):function(e,t,r){var n=0+r;e^=-1;for(var o=0;o<n;o++)e=e>>>8^i[255&(e^t.charCodeAt(o))];return -1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){t.exports={Promise:"u">typeof Promise?Promise:e("lie")}},{lie:37}],7:[function(e,t,r){var n="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Uint32Array,i=e("pako"),o=e("./utils"),s=e("./stream/GenericWorker"),a=n?"uint8array":"array";function l(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",o.inherits(l,s),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(a,e.data),!1)},l.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new l("Deflate",e)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){function n(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n}function i(e,t,r,i,s,c){var h,p,d,f,m=e.file,w=e.compression,g=c!==a.utf8encode,y=o.transformTo("string",c(m.name)),v=o.transformTo("string",a.utf8encode(m.name)),b=m.comment,x=o.transformTo("string",c(b)),k=o.transformTo("string",a.utf8encode(b)),_=v.length!==m.name.length,S=k.length!==b.length,E="",A="",T="",C=m.dir,I=m.date,R={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(R.crc32=e.crc32,R.compressedSize=e.compressedSize,R.uncompressedSize=e.uncompressedSize);var O=0;t&&(O|=8),!g&&(_||S)&&(O|=2048);var P=0,N=0;C&&(P|=16),"UNIX"===s?(N=798,P|=(h=m.unixPermissions,p=h,h||(p=C?16893:33204),(65535&p)<<16)):(N=20,P|=63&(m.dosPermissions||0)),d=(I.getUTCHours()<<6|I.getUTCMinutes())<<5|I.getUTCSeconds()/2,f=(I.getUTCFullYear()-1980<<4|I.getUTCMonth()+1)<<5|I.getUTCDate(),_&&(A=n(1,1)+n(l(y),4)+v,E+="up"+n(A.length,2)+A),S&&(T=n(1,1)+n(l(x),4)+k,E+="uc"+n(T.length,2)+T);var F="";return F+="\n\0",F+=n(O,2),F+=w.magic,F+=n(d,2),F+=n(f,2),F+=n(R.crc32,4),F+=n(R.compressedSize,4),F+=n(R.uncompressedSize,4),F+=n(y.length,2),F+=n(E.length,2),{fileRecord:u.LOCAL_FILE_HEADER+F+y+E,dirRecord:u.CENTRAL_FILE_HEADER+n(N,2)+F+n(x.length,2)+"\0\0\0\0"+n(P,4)+n(i,4)+y+E+x}}var o=e("../utils"),s=e("../stream/GenericWorker"),a=e("../utf8"),l=e("../crc32"),u=e("../signature");function c(e,t,r,n){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(c,s),c.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:u.DATA_DESCRIPTOR+n(e.crc32,4)+n(e.compressedSize,4)+n(e.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e,t,r,i,s=this.bytesWritten,a=0;a<this.dirRecords.length;a++)this.push({data:this.dirRecords[a],meta:{percent:100}});var l=this.bytesWritten-s,c=(e=this.dirRecords.length,t=this.zipComment,r=this.encodeFileName,i=o.transformTo("string",r(t)),u.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(e,2)+n(e,2)+n(l,4)+n(s,4)+n(i.length,2)+i);this.push({data:c,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},c.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(e){var t=this._sources;if(!s.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},c.prototype.lock=function(){s.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){var n=e("../compressions"),i=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var o=new i(t.streamFiles,r,t.platform,t.encodeFileName),s=0;try{e.forEach(function(e,r){s++;var i=function(e,t){var r=e||t,i=n[r];if(!i)throw Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),a=r.options.compressionOptions||t.compressionOptions||{},l=r.dir,u=r.date;r._compressWorker(i,a).withStreamInfo("file",{name:e,dir:l,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(o)}),o.entriesCount=s}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){function n(){if(!(this instanceof n))return new n;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.2",n.loadAsync=function(e,t){return new n().loadAsync(e,t)},n.external=e("./external"),t.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){var n=e("./utils"),i=e("./external"),o=e("./utf8"),s=e("./zipEntries"),a=e("./stream/Crc32Probe"),l=e("./nodejsUtils");t.exports=function(e,t){var r=this;return t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(e)?i.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var r=new s(t);return r.load(e),r}).then(function(e){var r=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var o=0;o<n.length;o++)r.push(function(e){return new i.Promise(function(t,r){var n=e.decompressed.getContentWorker().pipe(new a);n.on("error",function(e){r(e)}).on("end",function(){n.streamInfo.crc32!==e.decompressed.crc32?r(Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}(n[o]));return i.Promise.all(r)}).then(function(e){for(var i=e.shift(),o=i.files,s=0;s<o.length;s++){var a=o[s],l=a.fileNameStr,u=n.resolve(a.fileNameStr);r.file(u,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders}),a.dir||(r.file(u).unsafeOriginalName=l)}return i.zipComment.length&&(r.comment=i.zipComment),r})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){var n=e("../utils"),i=e("../stream/GenericWorker");function o(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(o,i),o.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){var n=e("readable-stream").Readable;function i(e,t,r){n.call(this,t),this._helper=e;var i=this;e.on("data",function(e,t){i.push(e)||i._helper.pause(),r&&r(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}e("../utils").inherits(i,n),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,r){t.exports={isNode:void 0!==y.Buffer,newBufferFrom:function(e,t){if(y.Buffer.from&&y.Buffer.from!==Uint8Array.from)return y.Buffer.from(e,t);if("number"==typeof e)throw Error('The "data" argument must not be a number');return new y.Buffer(e,t)},allocBuffer:function(e){if(y.Buffer.alloc)return y.Buffer.alloc(e);var t=new y.Buffer(e);return t.fill(0),t},isBuffer:function(e){return y.Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){function n(e,t,r){var n,i=o.getTypeOf(t),a=o.extend(r||{},l);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(e=m(e)),a.createFolders&&(n=f(e))&&w.call(this,n,!0);var h="string"===i&&!1===a.binary&&!1===a.base64;r&&void 0!==r.binary||(a.binary=!h),(t instanceof u&&0===t.uncompressedSize||a.dir||!t||0===t.length)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",i="string");var g=null;g=t instanceof u||t instanceof s?t:p.isNode&&p.isStream(t)?new d(e,t):o.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var y=new c(e,g,a);this.files[e]=y}var i=e("./utf8"),o=e("./utils"),s=e("./stream/GenericWorker"),a=e("./stream/StreamHelper"),l=e("./defaults"),u=e("./compressedObject"),c=e("./zipObject"),h=e("./generate"),p=e("./nodejsUtils"),d=e("./nodejs/NodejsStreamInputAdapter"),f=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},w=function(e,t){return t=void 0!==t?t:l.createFolders,e=m(e),this.files[e]||n.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function g(e){return"[object RegExp]"===Object.prototype.toString.call(e)}t.exports={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach(function(r,n){e(r,n)&&t.push(n)}),t},file:function(e,t,r){if(1!=arguments.length)return e=this.root+e,n.call(this,e,t,r),this;if(g(e)){var i=e;return this.filter(function(e,t){return!t.dir&&i.test(e)})}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(g(e))return this.filter(function(t,r){return r.dir&&e.test(t)});var t=this.root+e,r=w.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter(function(t,r){return r.name.slice(0,e.length)===e}),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw Error("No output type specified.");o.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=h.generateWorker(this,r,n)}catch(e){(t=new s("error")).error(e)}return new a(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}}},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){var n=e("./DataReader");function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===r&&this.data[o+2]===n&&this.data[o+3]===i)return o-this.zero;return -1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&r===o[1]&&n===o[2]&&i===o[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){var n=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){var n=e("./Uint8ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){var n=e("./DataReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){var n=e("./ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){var n=e("../utils"),i=e("../support"),o=e("./ArrayReader"),s=e("./StringReader"),a=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new a(e):i.uint8array?new l(n.transformTo("uint8array",e)):new o(n.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){r.LOCAL_FILE_HEADER="PK\x03\x04",r.CENTRAL_FILE_HEADER="PK\x01\x02",r.CENTRAL_DIRECTORY_END="PK\x05\x06",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,r){var n=e("./GenericWorker"),i=e("../utils");function o(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(o,n),o.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){var n=e("./GenericWorker"),i=e("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,n),o.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){var n=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(o,i),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){var n=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}n.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},{}],29:[function(e,t,r){var n=e("../utils"),i=e("./ConvertWorker"),o=e("./GenericWorker"),s=e("../base64"),a=e("../support"),l=e("../external"),u=null;if(a.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function c(e,t,r){var s=t;switch(t){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=t,this._mimeType=r,n.checkSupport(s),this._worker=e.pipe(new i(s)),e.lock()}catch(e){this._worker=new o("error"),this._worker.error(e)}}c.prototype={accumulate:function(e){var t;return t=this,new l.Promise(function(r,i){var o=[],a=t._internalType,l=t._outputType,u=t._mimeType;t.on("data",function(t,r){o.push(t),e&&e(r)}).on("error",function(e){o=[],i(e)}).on("end",function(){try{r(function(e,t,r){switch(e){case"blob":return n.newBlob(n.transformTo("arraybuffer",t),r);case"base64":return s.encode(t);default:return n.transformTo(e,t)}}(l,function(e,t){var r,n=0,i=null,o=0;for(r=0;r<t.length;r++)o+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(o),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return y.Buffer.concat(t);default:throw Error("concat : unsupported type '"+e+"'")}}(a,o),u))}catch(e){i(e)}o=[]}).resume()})},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,function(e){t.call(r,e.data,e.meta)}):this._worker.on(e,function(){n.delay(t,arguments,r)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=c},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,r){if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="u">typeof ArrayBuffer&&"u">typeof Uint8Array,r.nodebuffer=void 0!==y.Buffer,r.uint8array="u">typeof Uint8Array,"u"<typeof ArrayBuffer)r.blob=!1;else{var n=new ArrayBuffer(0);try{r.blob=0===new Blob([n],{type:"application/zip"}).size}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(n),r.blob=0===i.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(e){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){for(var n=e("./utils"),i=e("./support"),o=e("./nodejsUtils"),s=e("./stream/GenericWorker"),a=Array(256),l=0;l<256;l++)a[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function u(){s.call(this,"utf-8 decode"),this.leftOver=null}function c(){s.call(this,"utf-8 encode")}a[254]=a[254]=1,r.utf8encode=function(e){return i.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,r,n,o,s,a=e.length,l=0;for(o=0;o<a;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(l):Array(l),o=s=0;s<l;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),r<128?t[s++]=r:(r<2048?t[s++]=192|r>>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t}(e)},r.utf8decode=function(e){return i.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,i,o,s=e.length,l=Array(2*s);for(t=r=0;t<s;)if((i=e[t++])<128)l[r++]=i;else if(4<(o=a[i]))l[r++]=65533,t+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&t<s;)i=i<<6|63&e[t++],o--;1<o?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return l.length!==r&&(l.subarray?l=l.subarray(0,r):l.length=r),n.applyFromCharCode(l)}(e=n.transformTo(i.uint8array?"uint8array":"array",e))},n.inherits(u,s),u.prototype.processChunk=function(e){var t=n.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}(t),l=t;s!==t.length&&(i.uint8array?(l=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(l=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:r.utf8decode(l),meta:e.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=u,n.inherits(c,s),c.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){var n=e("./support"),i=e("./base64"),o=e("./nodejsUtils"),s=e("./external");function a(e){return e}function l(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e("setimmediate"),r.newBlob=function(e,t){r.checkSupport("blob");try{return new Blob([e],{type:t})}catch(r){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(t)}catch(e){throw Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,t,r){var n=[],i=0,o=e.length;if(o<=r)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,o)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,o)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function c(e){var t=65536,n=r.getTypeOf(e),i=!0;if("uint8array"===n?i=u.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=u.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return u.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return u.stringifyByChar(e)}function h(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=c;var p={};p.string={string:a,array:function(e){return l(e,Array(e.length))},arraybuffer:function(e){return p.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,o.allocBuffer(e.length))}},p.array={string:c,array:a,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}},p.arraybuffer={string:function(e){return c(new Uint8Array(e))},array:function(e){return h(new Uint8Array(e),Array(e.byteLength))},arraybuffer:a,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},p.uint8array={string:c,array:function(e){return h(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:a,nodebuffer:function(e){return o.newBufferFrom(e)}},p.nodebuffer={string:c,array:function(e){return h(e,Array(e.length))},arraybuffer:function(e){return p.nodebuffer.uint8array(e).buffer},uint8array:function(e){return h(e,new Uint8Array(e.length))},nodebuffer:a},r.transformTo=function(e,t){return(t=t||"",e)?(r.checkSupport(e),p[r.getTypeOf(t)][e](t)):t},r.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},r.getTypeOf=function(e){if("string"==typeof e)return"string";var t=Object.prototype.toString.call(e);return"[object Array]"===t?"array":n.nodebuffer&&o.isBuffer(e)?"nodebuffer":n.uint8array&&"[object Uint8Array]"===t?"uint8array":n.arraybuffer&&"[object ArrayBuffer]"===t?"arraybuffer":void 0},r.checkSupport=function(e){if(!n[e.toLowerCase()])throw Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},r.delay=function(e,t,r){setImmediate(function(){e.apply(r||null,t||[])})},r.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,o,a,u){return s.Promise.resolve(t).then(function(t){return n.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))?void 0!==Blob.prototype.arrayBuffer?t.arrayBuffer():"u">typeof FileReader?new s.Promise(function(e,r){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(t)}):s.Promise.reject(Error(e+" is a Blob, but we have no way of reading it.")):t}).then(function(t){var c,h=r.getTypeOf(t);return h?("arraybuffer"===h?t=r.transformTo("uint8array",t):"string"===h&&(u?t=i.decode(t):o&&!0!==a&&(t=l(c=t,n.uint8array?new Uint8Array(c.length):Array(c.length)))),t):s.Promise.reject(Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){var n=e("./reader/readerFor"),i=e("./utils"),o=e("./signature"),s=e("./zipEntry"),a=e("./support");function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=a.uint8array?"uint8array":"array",r=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){for(var e,t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new s({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?Error("Corrupted zip: can't find end of central directory"):Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(0<n)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){var n=e("./reader/readerFor"),i=e("./utils"),o=e("./compressedObject"),s=e("./crc32"),a=e("./utf8"),l=e("./compressions"),u=e("./support");function c(e,t){this.options=e,this.loadOptions=t}c.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||s(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)||s(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null}},t.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){function n(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var i=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),s=e("./utf8"),a=e("./compressedObject"),l=e("./stream/GenericWorker");n.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!n&&(t=t.pipe(new s.Utf8EncodeWorker)),!o&&n&&(t=t.pipe(new s.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new i(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new s.Utf8EncodeWorker)),a.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<u.length;h++)n.prototype[u[h]]=c;t.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){var r,n,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,s=new i(c),a=e.document.createTextNode("");s.observe(a,{characterData:!0}),r=function(){a.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){c(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(c,0)};else{var l=new e.MessageChannel;l.port1.onmessage=c,r=function(){l.port2.postMessage(0)}}var u=[];function c(){var e,t;n=!0;for(var r=u.length;r;){for(t=u,u=[],e=-1;++e<r;)t[e]();r=u.length}n=!1}t.exports=function(e){1!==u.push(e)||n||r()}}).call(this,void 0!==l?l:"u">typeof self?self:"u">typeof window?window:{})},{}],37:[function(e,t,r){var n=e("immediate");function i(){}var o={},s=["REJECTED"],a=["FULFILLED"],l=["PENDING"];function u(e){if("function"!=typeof e)throw TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==i&&d(this,e)}function c(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function h(e,t,r){n(function(){var n;try{n=t(r)}catch(t){return o.reject(e,t)}n===e?o.reject(e,TypeError("Cannot resolve promise with itself")):o.resolve(e,n)})}function p(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function d(e,t){var r=!1;function n(t){r||(r=!0,o.reject(e,t))}function i(t){r||(r=!0,o.resolve(e,t))}var s=f(function(){t(i,n)});"error"===s.status&&n(s.value)}function f(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=u).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})},u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===s)return this;var r=new this.constructor(i);return this.state!==l?h(r,this.state===a?e:t,this.outcome):this.queue.push(new c(r,e,t)),r},c.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},c.prototype.otherCallFulfilled=function(e){h(this.promise,this.onFulfilled,e)},c.prototype.callRejected=function(e){o.reject(this.promise,e)},c.prototype.otherCallRejected=function(e){h(this.promise,this.onRejected,e)},o.resolve=function(e,t){var r=f(p,t);if("error"===r.status)return o.reject(e,r.value);var n=r.value;if(n)d(e,n);else{e.state=a,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=s,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},u.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},u.reject=function(e){var t=new this(i);return o.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var s=Array(r),a=0,l=-1,u=new this(i);++l<r;)!function(e,i){t.resolve(e).then(function(e){s[i]=e,++a!==r||n||(n=!0,o.resolve(u,s))},function(e){n||(n=!0,o.reject(u,e))})}(e[l],l);return u},u.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(TypeError("must be an array"));var t,r=e.length,n=!1;if(!r)return this.resolve([]);for(var s=-1,a=new this(i);++s<r;)t=e[s],this.resolve(t).then(function(e){n||(n=!0,o.resolve(a,e))},function(e){n||(n=!0,o.reject(a,e))});return a}},{immediate:36}],38:[function(e,t,r){var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){var n=e("./zlib/deflate"),i=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/messages"),a=e("./zlib/zstream"),l=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw Error(s[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var c="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary;if(0!==(r=n.deflateSetDictionary(this.strm,c)))throw Error(s[r]);this._dict_set=!0}}function c(e,t){var r=new u(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}u.prototype.push=function(e,t){var r,s,a=this.strm,u=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:4*(!0===t),"string"==typeof e?a.input=o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new i.Buf8(u),a.next_out=0,a.avail_out=u),1!==(r=n.deflate(a,s))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(a.output,a.next_out))):this.onData(i.shrinkBuf(a.output,a.next_out)))}while((0<a.avail_in||0===a.avail_out)&&1!==r)return 4===s?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==s||(this.onEnd(0),a.avail_out=0,!0)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=u,r.deflate=c,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,c(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,c(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){var n=e("./zlib/inflate"),i=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/constants"),a=e("./zlib/messages"),l=e("./zlib/zstream"),u=e("./zlib/gzheader"),c=Object.prototype.toString;function h(e){if(!(this instanceof h))return new h(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK)throw Error(a[r]);this.header=new u,n.inflateGetHeader(this.strm,this.header)}function p(e,t){var r=new h(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}h.prototype.push=function(e,t){var r,a,l,u,h,p,d=this.strm,f=this.options.chunkSize,m=this.options.dictionary,w=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?d.input=o.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new i.Buf8(f),d.next_out=0,d.avail_out=f),(r=n.inflate(d,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&m&&(p="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===c.call(m)?new Uint8Array(m):m,r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===w&&(r=s.Z_OK,w=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&r!==s.Z_STREAM_END&&(0!==d.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(d.output,d.next_out),u=d.next_out-l,h=o.buf2string(d.output,l),d.next_out=u,d.avail_out=f-u,u&&i.arraySet(d.output,d.output,l,u,0),this.onData(h)):this.onData(i.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(w=!0)}while((0<d.avail_in||0===d.avail_out)&&r!==s.Z_STREAM_END)return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),d.avail_out=0,!0)},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=h,r.inflate=p,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},r.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){var n="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){for(var t,r,n,i,o=t=0,s=e.length;o<s;o++)t+=e[o].length;for(i=new Uint8Array(t),o=r=0,s=e.length;o<s;o++)n=e[o],i.set(n,r),r+=n.length;return i}},o={arraySet:function(e,t,r,n,i){for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,o))},r.setTyped(n)},{}],42:[function(e,t,r){var n=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s<t;s++)r+=String.fromCharCode(e[s]);return r}s[254]=s[254]=1,r.string2buf=function(e){var t,r,i,o,s,a=e.length,l=0;for(o=0;o<a;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(l),o=s=0;s<l;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),r<128?t[s++]=r:(r<2048?t[s++]=192|r>>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,i,o,a=t||e.length,u=Array(2*a);for(r=n=0;r<a;)if((i=e[r++])<128)u[n++]=i;else if(4<(o=s[i]))u[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&r<a;)i=i<<6|63&e[r++],o--;1<o?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return l(u,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){t.exports=function(e,t,r,n){for(var i=65535&e,o=e>>>16&65535,s=0;0!==r;){for(r-=s=2e3<r?2e3:r;o=o+(i=i+t[n++]|0)|0,--s;);i%=65521,o%=65521}return i|o<<16}},{}],44:[function(e,t,r){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,r){var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?0xedb88320^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var o=i+r;e^=-1;for(var s=i;s<o;s++)e=e>>>8^n[255&(e^t[s])];return -1^e}},{}],46:[function(e,t,r){var n,i=e("../utils/common"),o=e("./trees"),s=e("./adler32"),a=e("./crc32"),l=e("./messages");function u(e,t){return e.msg=l[t],t}function c(e){return(e<<1)-9*(4<e)}function h(e){for(var t=e.length;0<=--t;)e[t]=0}function p(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function d(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,p(e.strm)}function f(e,t){e.pending_buf[e.pending++]=t}function m(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function w(e,t){var r,n,i=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,h=e.prev,p=e.strstart+258,d=u[o+s-1],f=u[o+s];e.prev_length>=e.good_match&&(i>>=2),a>e.lookahead&&(a=e.lookahead);do if(u[(r=t)+s]===f&&u[r+s-1]===d&&u[r]===u[o]&&u[++r]===u[o+1]){o+=2,r++;do;while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&o<p)if(n=258-(p-o),o=p-258,s<n){if(e.match_start=t,a<=(s=n))break;d=u[o+s-1],f=u[o+s]}}while((t=h[t&c])>l&&0!=--i)return s<=e.lookahead?s:e.lookahead}function g(e){var t,r,n,o,l,u,c,h,p,d,f=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-262)){for(i.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=r=e.hash_size;n=e.head[--t],e.head[t]=f<=n?n-f:0,--r;);for(t=r=f;n=e.prev[--t],e.prev[t]=f<=n?n-f:0,--r;);o+=f}if(0===e.strm.avail_in)break;if(u=e.strm,c=e.window,h=e.strstart+e.lookahead,d=void 0,(p=o)<(d=u.avail_in)&&(d=p),r=0===d?0:(u.avail_in-=d,i.arraySet(c,u.input,u.next_in,d,h),1===u.state.wrap?u.adler=s(u.adler,c,d,h):2===u.state.wrap&&(u.adler=a(u.adler,c,d,h)),u.next_in+=d,u.total_in+=d,d),e.lookahead+=r,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+3-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)}function y(e,t){for(var r,n;;){if(e.lookahead<262){if(g(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-262&&(e.match_length=w(e,r)),e.match_length>=3)if(n=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(d(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(d(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(d(e,!1),0===e.strm.avail_out)?1:2}function v(e,t){for(var r,n,i;;){if(e.lookahead<262){if(g(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-262&&(e.match_length=w(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&4096<e.strstart-e.match_start)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-3,n=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(d(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=o._tr_tally(e,0,e.window[e.strstart-1]))&&d(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(d(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(d(e,!1),0===e.strm.avail_out)?1:2}function b(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function x(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),h(this.dyn_ltree),h(this.dyn_dtree),h(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),h(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),h(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function k(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=+(2!==t.wrap),t.last_flush=0,o._tr_init(t),0):u(e,-2)}function _(e){var t,r=k(e);return 0===r&&((t=e.state).window_size=2*t.w_size,h(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),r}function S(e,t,r,n,o,s){if(!e)return -2;var a=1;if(-1===t&&(t=6),n<0?(a=0,n=-n):15<n&&(a=2,n-=16),o<1||9<o||8!==r||n<8||15<n||t<0||9<t||s<0||4<s)return u(e,-2);8===n&&(n=9);var l=new x;return(e.state=l).strm=e,l.wrap=a,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=+l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=s,l.method=r,_(e)}n=[new b(0,0,0,0,function(e,t){var r=65535;for(65535>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(g(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,d(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-262&&(d(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(d(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(d(e,!1),e.strm.avail_out),1)}),new b(4,4,8,4,y),new b(4,5,16,8,y),new b(4,6,32,32,y),new b(4,4,16,16,v),new b(8,16,32,32,v),new b(8,16,128,128,v),new b(8,32,128,256,v),new b(32,128,258,1024,v),new b(32,258,258,4096,v)],r.deflateInit=function(e,t){return S(e,t,8,15,8,0)},r.deflateInit2=S,r.deflateReset=_,r.deflateResetKeep=k,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},r.deflate=function(e,t){var r,i,s,l;if(!e||!e.state||5<t||t<0)return e?u(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return u(e,0===e.avail_out?-5:-2);if(i.strm=e,r=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,f(i,31),f(i,139),f(i,8),i.gzhead?(f(i,+!!i.gzhead.text+2*!!i.gzhead.hcrc+4*!!i.gzhead.extra+8*!!i.gzhead.name+16*!!i.gzhead.comment),f(i,255&i.gzhead.time),f(i,i.gzhead.time>>8&255),f(i,i.gzhead.time>>16&255),f(i,i.gzhead.time>>24&255),f(i,9===i.level?2:4*(2<=i.strategy||i.level<2)),f(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(f(i,255&i.gzhead.extra.length),f(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=a(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(f(i,0),f(i,0),f(i,0),f(i,0),f(i,0),f(i,9===i.level?2:4*(2<=i.strategy||i.level<2)),f(i,3),i.status=113);else{var w=8+(i.w_bits-8<<4)<<8;w|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(w|=32),w+=31-w%31,i.status=113,m(i,w),0!==i.strstart&&(m(i,e.adler>>>16),m(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(s=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),p(e),s=i.pending,i.pending!==i.pending_buf_size));)f(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),p(e),s=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,f(i,l)}while(0!==l)i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),p(e),s=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,f(i,l)}while(0!==l)i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&p(e),i.pending+2<=i.pending_buf_size&&(f(i,255&e.adler),f(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(p(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&c(t)<=c(r)&&4!==t)return u(e,-5);if(666===i.status&&0!==e.avail_in)return u(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var y=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(g(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(d(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(d(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(d(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var r,n,i,s,a=e.window;;){if(e.lookahead<=258){if(g(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0<e.strstart&&(n=a[i=e.strstart-1])===a[++i]&&n===a[++i]&&n===a[++i]){s=e.strstart+258;do;while(n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&i<s)e.match_length=258-(s-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(d(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(d(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(d(e,!1),0===e.strm.avail_out)?1:2}(i,t):n[i.level].func(i,t);if(3!==y&&4!==y||(i.status=666),1===y||3===y)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===y&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(h(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),p(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(f(i,255&e.adler),f(i,e.adler>>8&255),f(i,e.adler>>16&255),f(i,e.adler>>24&255),f(i,255&e.total_in),f(i,e.total_in>>8&255),f(i,e.total_in>>16&255),f(i,e.total_in>>24&255)):(m(i,e.adler>>>16),m(i,65535&e.adler)),p(e),0<i.wrap&&(i.wrap=-i.wrap),+(0===i.pending))},r.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?u(e,-2):(e.state=null,113===t?u(e,-3):0):-2},r.deflateSetDictionary=function(e,t){var r,n,o,a,l,u,c,p,d=t.length;if(!e||!e.state||2===(a=(r=e.state).wrap)||1===a&&42!==r.status||r.lookahead)return -2;for(1===a&&(e.adler=s(e.adler,t,d,0)),r.wrap=0,d>=r.w_size&&(0===a&&(h(r.head),r.strstart=0,r.block_start=0,r.insert=0),p=new i.Buf8(r.w_size),i.arraySet(p,t,d-r.w_size,r.w_size,0),t=p,d=r.w_size),l=e.avail_in,u=e.next_in,c=e.input,e.avail_in=d,e.next_in=0,e.input=t,g(r);r.lookahead>=3;){for(n=r.strstart,o=r.lookahead-2;r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++,--o;);r.strstart=n,r.lookahead=2,g(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=u,e.input=c,e.avail_in=l,r.wrap=a,0},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,r){t.exports=function(e,t){var r,n,i,o,s,a,l,u,c,h,p,d,f,m,w,g,y,v,b,x,k,_,S=e.state,E=e.next_in,A=e.input;r=E+(e.avail_in-5),n=e.next_out,_=e.output,i=n-(t-e.avail_out),o=n+(e.avail_out-257),s=S.dmax,a=S.wsize,l=S.whave,u=S.wnext,c=S.window,h=S.hold,p=S.bits,d=S.lencode,f=S.distcode,m=(1<<S.lenbits)-1,w=(1<<S.distbits)-1;e:do for(p<15&&(h+=A[E++]<<p,p+=8,h+=A[E++]<<p,p+=8),g=d[h&m];;){if(h>>>=y=g>>>24,p-=y,0==(y=g>>>16&255))_[n++]=65535&g;else{if(!(16&y)){if(0==(64&y)){g=d[(65535&g)+(h&(1<<y)-1)];continue}if(32&y){S.mode=12;break e}e.msg="invalid literal/length code",S.mode=30;break e}for(v=65535&g,(y&=15)&&(p<y&&(h+=A[E++]<<p,p+=8),v+=h&(1<<y)-1,h>>>=y,p-=y),p<15&&(h+=A[E++]<<p,p+=8,h+=A[E++]<<p,p+=8),g=f[h&w];;){if(h>>>=y=g>>>24,p-=y,!(16&(y=g>>>16&255))){if(0==(64&y)){g=f[(65535&g)+(h&(1<<y)-1)];continue}e.msg="invalid distance code",S.mode=30;break e}if(b=65535&g,p<(y&=15)&&(h+=A[E++]<<p,(p+=8)<y&&(h+=A[E++]<<p,p+=8)),s<(b+=h&(1<<y)-1)){e.msg="invalid distance too far back",S.mode=30;break e}if(h>>>=y,p-=y,(y=n-i)<b){if(l<(y=b-y)&&S.sane){e.msg="invalid distance too far back",S.mode=30;break e}if(k=c,(x=0)===u){if(x+=a-y,y<v){for(v-=y;_[n++]=c[x++],--y;);x=n-b,k=_}}else if(u<y){if(x+=a+u-y,(y-=u)<v){for(v-=y;_[n++]=c[x++],--y;);if(x=0,u<v){for(v-=y=u;_[n++]=c[x++],--y;);x=n-b,k=_}}}else if(x+=u-y,y<v){for(v-=y;_[n++]=c[x++],--y;);x=n-b,k=_}for(;2<v;)_[n++]=k[x++],_[n++]=k[x++],_[n++]=k[x++],v-=3;v&&(_[n++]=k[x++],1<v&&(_[n++]=k[x++]))}else{for(x=n-b;_[n++]=_[x++],_[n++]=_[x++],_[n++]=_[x++],2<(v-=3););v&&(_[n++]=_[x++],1<v&&(_[n++]=_[x++]))}break}}break}while(E<r&&n<o)E-=v=p>>3,h&=(1<<(p-=v<<3))-1,e.next_in=E,e.next_out=n,e.avail_in=E<r?r-E+5:5-(E-r),e.avail_out=n<o?o-n+257:257-(n-o),S.hold=h,S.bits=p}},{}],49:[function(e,t,r){var n=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),s=e("./inffast"),a=e("./inftrees");function l(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function u(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function c(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):-2}function h(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,c(e)):-2}function p(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,h(e))):-2}function d(e,t){var r;return e?((e.state=new u).window=null,0!==(r=p(e,t))&&(e.state=null),r):-2}var f,m,w=!0;function g(e,t,r,i){var o,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new n.Buf8(s.wsize)),i>=s.wsize?(n.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(i<(o=s.wsize-s.wnext)&&(o=i),n.arraySet(s.window,t,r-i,o,s.wnext),(i-=o)?(n.arraySet(s.window,t,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=o))),0}r.inflateReset=h,r.inflateReset2=p,r.inflateResetKeep=c,r.inflateInit=function(e){return d(e,15)},r.inflateInit2=d,r.inflate=function(e,t){var r,u,c,h,p,d,y,v,b,x,k,_,S,E,A,T,C,I,R,O,P,N,F,M,L=0,B=new n.Buf8(4),D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return -2;12===(r=e.state).mode&&(r.mode=13),p=e.next_out,c=e.output,y=e.avail_out,h=e.next_in,u=e.input,d=e.avail_in,v=r.hold,b=r.bits,x=d,k=y,N=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;b<16;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}if(2&r.wrap&&35615===v){B[r.check=0]=255&v,B[1]=v>>>8&255,r.check=o(r.check,B,2,0),b=v=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&v)<<8)+(v>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&v)){e.msg="unknown compression method",r.mode=30;break}if(b-=4,P=8+(15&(v>>>=4)),0===r.wbits)r.wbits=P;else if(P>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<P,e.adler=r.check=1,r.mode=512&v?10:12,b=v=0;break;case 2:for(;b<16;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}if(r.flags=v,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=v>>8&1),512&r.flags&&(B[0]=255&v,B[1]=v>>>8&255,r.check=o(r.check,B,2,0)),b=v=0,r.mode=3;case 3:for(;b<32;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}r.head&&(r.head.time=v),512&r.flags&&(B[0]=255&v,B[1]=v>>>8&255,B[2]=v>>>16&255,B[3]=v>>>24&255,r.check=o(r.check,B,4,0)),b=v=0,r.mode=4;case 4:for(;b<16;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}r.head&&(r.head.xflags=255&v,r.head.os=v>>8),512&r.flags&&(B[0]=255&v,B[1]=v>>>8&255,r.check=o(r.check,B,2,0)),b=v=0,r.mode=5;case 5:if(1024&r.flags){for(;b<16;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}r.length=v,r.head&&(r.head.extra_len=v),512&r.flags&&(B[0]=255&v,B[1]=v>>>8&255,r.check=o(r.check,B,2,0)),b=v=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(d<(_=r.length)&&(_=d),_&&(r.head&&(P=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),n.arraySet(r.head.extra,u,h,_,P)),512&r.flags&&(r.check=o(r.check,u,_,h)),d-=_,h+=_,r.length-=_),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break e;for(_=0;P=u[h+_++],r.head&&P&&r.length<65536&&(r.head.name+=String.fromCharCode(P)),P&&_<d;);if(512&r.flags&&(r.check=o(r.check,u,_,h)),d-=_,h+=_,P)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===d)break e;for(_=0;P=u[h+_++],r.head&&P&&r.length<65536&&(r.head.comment+=String.fromCharCode(P)),P&&_<d;);if(512&r.flags&&(r.check=o(r.check,u,_,h)),d-=_,h+=_,P)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;b<16;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}if(v!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}b=v=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;b<32;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}e.adler=r.check=l(v),b=v=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=p,e.avail_out=y,e.next_in=h,e.avail_in=d,r.hold=v,r.bits=b,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){v>>>=7&b,b-=7&b,r.mode=27;break}for(;b<3;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}switch(r.last=1&v,b-=1,3&(v>>>=1)){case 0:r.mode=14;break;case 1:if(function(e){if(w){var t;for(f=new n.Buf32(512),m=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,f,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,m,0,e.work,{bits:5}),w=!1}e.lencode=f,e.lenbits=9,e.distcode=m,e.distbits=5}(r),r.mode=20,6!==t)break;v>>>=2,b-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}v>>>=2,b-=2;break;case 14:for(v>>>=7&b,b-=7&b;b<32;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}if((65535&v)!=(v>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&v,b=v=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(_=r.length){if(d<_&&(_=d),y<_&&(_=y),0===_)break e;n.arraySet(c,u,h,_,p),d-=_,h+=_,y-=_,p+=_,r.length-=_;break}r.mode=12;break;case 17:for(;b<14;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}if(r.nlen=257+(31&v),b-=5,r.ndist=1+(31&(v>>>=5)),b-=5,r.ncode=4+(15&(v>>>=5)),v>>>=4,b-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;b<3;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}r.lens[D[r.have++]]=7&v,v>>>=3,b-=3}for(;r.have<19;)r.lens[D[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,F={bits:r.lenbits},N=a(0,r.lens,0,19,r.lencode,0,r.work,F),r.lenbits=F.bits,N){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;T=(L=r.lencode[v&(1<<r.lenbits)-1])>>>16&255,C=65535&L,!((A=L>>>24)<=b);){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}if(C<16)v>>>=A,b-=A,r.lens[r.have++]=C;else{if(16===C){for(M=A+2;b<M;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}if(v>>>=A,b-=A,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}P=r.lens[r.have-1],_=3+(3&v),v>>>=2,b-=2}else if(17===C){for(M=A+3;b<M;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}b-=A,P=0,_=3+(7&(v>>>=A)),v>>>=3,b-=3}else{for(M=A+7;b<M;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}b-=A,P=0,_=11+(127&(v>>>=A)),v>>>=7,b-=7}if(r.have+_>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=P}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,F={bits:r.lenbits},N=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,F),r.lenbits=F.bits,N){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,F={bits:r.distbits},N=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,F),r.distbits=F.bits,N){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=d&&258<=y){e.next_out=p,e.avail_out=y,e.next_in=h,e.avail_in=d,r.hold=v,r.bits=b,s(e,k),p=e.next_out,c=e.output,y=e.avail_out,h=e.next_in,u=e.input,d=e.avail_in,v=r.hold,b=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;T=(L=r.lencode[v&(1<<r.lenbits)-1])>>>16&255,C=65535&L,!((A=L>>>24)<=b);){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}if(T&&0==(240&T)){for(I=A,R=T,O=C;T=(L=r.lencode[O+((v&(1<<I+R)-1)>>I)])>>>16&255,C=65535&L,!(I+(A=L>>>24)<=b);){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}v>>>=I,b-=I,r.back+=I}if(v>>>=A,b-=A,r.back+=A,r.length=C,0===T){r.mode=26;break}if(32&T){r.back=-1,r.mode=12;break}if(64&T){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&T,r.mode=22;case 22:if(r.extra){for(M=r.extra;b<M;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}r.length+=v&(1<<r.extra)-1,v>>>=r.extra,b-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;T=(L=r.distcode[v&(1<<r.distbits)-1])>>>16&255,C=65535&L,!((A=L>>>24)<=b);){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}if(0==(240&T)){for(I=A,R=T,O=C;T=(L=r.distcode[O+((v&(1<<I+R)-1)>>I)])>>>16&255,C=65535&L,!(I+(A=L>>>24)<=b);){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}v>>>=I,b-=I,r.back+=I}if(v>>>=A,b-=A,r.back+=A,64&T){e.msg="invalid distance code",r.mode=30;break}r.offset=C,r.extra=15&T,r.mode=24;case 24:if(r.extra){for(M=r.extra;b<M;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}r.offset+=v&(1<<r.extra)-1,v>>>=r.extra,b-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===y)break e;if(_=k-y,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}S=_>r.wnext?(_-=r.wnext,r.wsize-_):r.wnext-_,_>r.length&&(_=r.length),E=r.window}else E=c,S=p-r.offset,_=r.length;for(y<_&&(_=y),y-=_,r.length-=_;c[p++]=E[S++],--_;);0===r.length&&(r.mode=21);break;case 26:if(0===y)break e;c[p++]=r.length,y--,r.mode=21;break;case 27:if(r.wrap){for(;b<32;){if(0===d)break e;d--,v|=u[h++]<<b,b+=8}if(k-=y,e.total_out+=k,r.total+=k,k&&(e.adler=r.check=r.flags?o(r.check,c,k,p-k):i(r.check,c,k,p-k)),k=y,(r.flags?v:l(v))!==r.check){e.msg="incorrect data check",r.mode=30;break}b=v=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;b<32;){if(0===d)break e;d--,v+=u[h++]<<b,b+=8}if(v!==(0|r.total)){e.msg="incorrect length check",r.mode=30;break}b=v=0}r.mode=29;case 29:N=1;break e;case 30:N=-3;break e;case 31:return -4;default:return -2}return e.next_out=p,e.avail_out=y,e.next_in=h,e.avail_in=d,r.hold=v,r.bits=b,(r.wsize||k!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&g(e,e.output,e.next_out,k-e.avail_out)?(r.mode=31,-4):(x-=e.avail_in,k-=e.avail_out,e.total_in+=x,e.total_out+=k,r.total+=k,r.wrap&&k&&(e.adler=r.check=r.flags?o(r.check,c,k,e.next_out-k):i(r.check,c,k,e.next_out-k)),e.data_type=r.bits+64*!!r.last+128*(12===r.mode)+256*(20===r.mode||15===r.mode),(0==x&&0===k||4===t)&&0===N&&(N=-5),N)},r.inflateEnd=function(e){if(!e||!e.state)return -2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?-2:((r.head=t).done=!1,0):-2},r.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?-2:11===r.mode&&i(1,t,n,0)!==r.check?-3:g(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){var n=e("../utils/common"),i=[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,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[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,0,0],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,r,l,u,c,h,p){var d,f,m,w,g,y,v,b,x,k=p.bits,_=0,S=0,E=0,A=0,T=0,C=0,I=0,R=0,O=0,P=0,N=null,F=0,M=new n.Buf16(16),L=new n.Buf16(16),B=null,D=0;for(_=0;_<=15;_++)M[_]=0;for(S=0;S<l;S++)M[t[r+S]]++;for(T=k,A=15;1<=A&&0===M[A];A--);if(A<T&&(T=A),0===A)return u[c++]=0x1400000,u[c++]=0x1400000,p.bits=1,0;for(E=1;E<A&&0===M[E];E++);for(T<E&&(T=E),_=R=1;_<=15;_++)if(R<<=1,(R-=M[_])<0)return -1;if(0<R&&(0===e||1!==A))return -1;for(L[1]=0,_=1;_<15;_++)L[_+1]=L[_]+M[_];for(S=0;S<l;S++)0!==t[r+S]&&(h[L[t[r+S]]++]=S);if(y=0===e?(N=B=h,19):1===e?(N=i,F-=257,B=o,D-=257,256):(N=s,B=a,-1),_=E,g=c,I=S=P=0,m=-1,w=(O=1<<(C=T))-1,1===e&&852<O||2===e&&592<O)return 1;for(;;){for(v=_-I,x=h[S]<y?(b=0,h[S]):h[S]>y?(b=B[D+h[S]],N[F+h[S]]):(b=96,0),d=1<<_-I,E=f=1<<C;u[g+(P>>I)+(f-=d)]=v<<24|b<<16|x,0!==f;);for(d=1<<_-1;P&d;)d>>=1;if(0!==d?(P&=d-1,P+=d):P=0,S++,0==--M[_]){if(_===A)break;_=t[r+h[S]]}if(T<_&&(P&w)!==m){for(0===I&&(I=T),g+=E,R=1<<(C=_-I);C+I<A&&!((R-=M[C+I])<=0);)C++,R<<=1;if(O+=1<<C,1===e&&852<O||2===e&&592<O)return 1;u[m=P&w]=T<<24|C<<16|g-c}}return 0!==P&&(u[g+P]=_-I<<24|4194304),p.bits=T,0}},{"../utils/common":41}],51:[function(e,t,r){t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,r){var n=e("../utils/common");function i(e){for(var t=e.length;0<=--t;)e[t]=0}var o=[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],s=[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],a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],l=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],u=Array(576);i(u);var c=Array(60);i(c);var h=Array(512);i(h);var p=Array(256);i(p);var d=Array(29);i(d);var f,m,w,g=Array(30);function y(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function v(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function b(e){return e<256?h[e]:h[256+(e>>>7)]}function x(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,x(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function _(e,t,r){k(e,r[2*t],r[2*t+1])}function S(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function E(e,t,r){var n,i,o=Array(16),s=0;for(n=1;n<=15;n++)o[n]=s=s+r[n-1]<<1;for(i=0;i<=t;i++){var a=e[2*i+1];0!==a&&(e[2*i]=S(o[a]++,a))}}function A(e){for(var t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function T(e){8<e.bi_valid?x(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function C(e,t,r,n){var i=2*t,o=2*r;return e[i]<e[o]||e[i]===e[o]&&n[t]<=n[r]}function I(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&C(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!C(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function R(e,t,r){var n,i,a,l,u=0;if(0!==e.last_lit)for(;n=e.pending_buf[e.d_buf+2*u]<<8|e.pending_buf[e.d_buf+2*u+1],i=e.pending_buf[e.l_buf+u],u++,0===n?_(e,i,t):(_(e,(a=p[i])+256+1,t),0!==(l=o[a])&&k(e,i-=d[a],l),_(e,a=b(--n),r),0!==(l=s[a])&&k(e,n-=g[a],l)),u<e.last_lit;);_(e,256,t)}function O(e,t){var r,n,i,o=t.dyn_tree,s=t.stat_desc.static_tree,a=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,r=0;r<l;r++)0!==o[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):o[2*r+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,a&&(e.static_len-=s[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;1<=r;r--)I(e,o,r);for(i=l;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],I(e,o,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,o[2*i]=o[2*r]+o[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,o[2*r+1]=o[2*n+1]=i,e.heap[1]=i++,I(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,o,s,a,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,h=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,f=t.stat_desc.max_length,m=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)f<(o=l[2*l[2*(n=e.heap[r])+1]+1]+1)&&(o=f,m++),l[2*n+1]=o,u<n||(e.bl_count[o]++,s=0,d<=n&&(s=p[n-d]),a=l[2*n],e.opt_len+=a*(o+s),h&&(e.static_len+=a*(c[2*n+1]+s)));if(0!==m){do{for(o=f-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,m-=2}while(0<m)for(o=f;0!==o;o--)for(n=e.bl_count[o];0!==n;)u<(i=e.heap[--r])||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),n--)}}(e,t),E(o,u,e.bl_count)}function P(e,t,r){var n,i,o=-1,s=t[1],a=0,l=7,u=4;for(0===s&&(l=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=s,s=t[2*(n+1)+1],++a<l&&i===s||(a<u?e.bl_tree[2*i]+=a:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):a<=10?e.bl_tree[34]++:e.bl_tree[36]++,o=i,u=(a=0)===s?(l=138,3):i===s?(l=6,3):(l=7,4))}function N(e,t,r){var n,i,o=-1,s=t[1],a=0,l=7,u=4;for(0===s&&(l=138,u=3),n=0;n<=r;n++)if(i=s,s=t[2*(n+1)+1],!(++a<l&&i===s)){if(a<u)for(;_(e,i,e.bl_tree),0!=--a;);else 0!==i?(i!==o&&(_(e,i,e.bl_tree),a--),_(e,16,e.bl_tree),k(e,a-3,2)):a<=10?(_(e,17,e.bl_tree),k(e,a-3,3)):(_(e,18,e.bl_tree),k(e,a-11,7));o=i,u=(a=0)===s?(l=138,3):i===s?(l=6,3):(l=7,4)}}i(g);var F=!1;function M(e,t,r,i){k(e,0+ +!!i,3),T(e),x(e,r),x(e,~r),n.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}r._tr_init=function(e){F||(function(){var e,t,r,n,i,l=Array(16);for(n=r=0;n<28;n++)for(d[n]=r,e=0;e<1<<o[n];e++)p[r++]=n;for(p[r-1]=n,n=i=0;n<16;n++)for(g[n]=i,e=0;e<1<<s[n];e++)h[i++]=n;for(i>>=7;n<30;n++)for(g[n]=i<<7,e=0;e<1<<s[n]-7;e++)h[256+i++]=n;for(t=0;t<=15;t++)l[t]=0;for(e=0;e<=143;)u[2*e+1]=8,e++,l[8]++;for(;e<=255;)u[2*e+1]=9,e++,l[9]++;for(;e<=279;)u[2*e+1]=7,e++,l[7]++;for(;e<=287;)u[2*e+1]=8,e++,l[8]++;for(E(u,287,l),e=0;e<30;e++)c[2*e+1]=5,c[2*e]=S(e,5);f=new y(u,o,257,286,15),m=new y(c,s,0,30,15),w=new y([],a,0,19,7)}(),F=!0),e.l_desc=new v(e.dyn_ltree,f),e.d_desc=new v(e.dyn_dtree,m),e.bl_desc=new v(e.bl_tree,w),e.bi_buf=0,e.bi_valid=0,A(e)},r._tr_stored_block=M,r._tr_flush_block=function(e,t,r,n){var i,o,s=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=0xf3ffc07f;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),O(e,e.l_desc),O(e,e.d_desc),s=function(e){var t;for(P(e,e.dyn_ltree,e.l_desc.max_code),P(e,e.dyn_dtree,e.d_desc.max_code),O(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*l[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?M(e,t,r,n):4===e.strategy||o===i?(k(e,2+ +!!n,3),R(e,u,c)):(k(e,4+ +!!n,3),function(e,t,r,n){var i;for(k(e,t-257,5),k(e,r-1,5),k(e,n-4,4),i=0;i<n;i++)k(e,e.bl_tree[2*l[i]+1],3);N(e,e.dyn_ltree,t-1),N(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),R(e,e.dyn_ltree,e.dyn_dtree)),A(e),n&&T(e)},r._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(p[r]+256+1)]++,e.dyn_dtree[2*b(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){k(e,2,3),_(e,256,u),16===e.bi_valid?(x(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,r){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,r){(function(e){!function(e){if(!e.setImmediate){var t,r,n,i,o=1,s={},a=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,t="[object process]"===({}).toString.call(e.process)?function(e){g.nextTick(function(){h(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){h(e.data)},function(e){n.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,function(e){var t=l.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(h,0,e)}:(i="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",p,!1):e.attachEvent("onmessage",p),function(t){e.postMessage(i+t,"*")}),u.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var r=Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];return s[o]={callback:e,args:r},t(o),o++},u.clearImmediate=c}function c(e){delete s[e]}function h(e){if(a)setTimeout(h,0,e);else{var t=s[e];if(t){a=!0;try{var r=t.callback,n=t.args;switch(n.length){case 0:r();break;case 1:r(n[0]);break;case 2:r(n[0],n[1]);break;case 3:r(n[0],n[1],n[2]);break;default:r.apply(void 0,n)}}finally{c(e),a=!1}}}}function p(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&h(+t.data.slice(i.length))}}("u"<typeof self?void 0===e?this:e:self)}).call(this,void 0!==l?l:"u">typeof self?self:"u">typeof window?window:{})},{}]},{},[10])(10)})}),aq=aX(),aJ=T(aZ(),1),aY=(e,t)=>{let r=t.replace(/-/g,"");if(32!==r.length)throw Error(`Error: Cannot extract GUID from font filename: ${t}`);let n=r.replace(/(..)/g,"$1 ").trim().split(" ").map(e=>parseInt(e,16));n.reverse();let i=e.slice(0,32).map((e,t)=>e^n[t%n.length]),o=new Uint8Array(0+i.length+Math.max(0,e.length-32));return o.set(e.slice(0,0)),o.set(i,0),o.set(e.slice(32),0+i.length),o},aQ=class{format(e,t={stack:[]}){let r=e.prepForXml(t);if(r)return r;throw Error("XMLComponent did not format correctly")}},a0=/\{([^{}]+)\}/g,a1=(e,t)=>0===t.size?e:e.replace(a0,(e,r)=>{var n;return null!=(n=t.get(r))?n:e}),a2=class{replace(e,t,r){return a1(e,new Map(t.map((e,t)=>[e.fileName,(r+t).toString()])))}getMediaData(e,t){let r=new Set(Array.from(e.matchAll(a0),([,e])=>e));return t.Array.filter(e=>r.has(e.fileName))}},a5=class{replace(e,t){return a1(e,new Map(t.map(({reference:e,instance:t,restartedListId:r,numId:n})=>[nZ(e,t,r),n.toString()])))}},a6=new aQ,a3=(e,t,r,n,i=!0)=>en(a6.format(t,{viewWrapper:{View:t,Relationships:n},file:e,stack:[]}),{indent:r,declaration:i?{standalone:"yes",encoding:"UTF-8"}:{encoding:"UTF-8"}}),a4=(e,t,r=0)=>{let n=e.PackageParts.Array.slice(r);return 0===n.length?[]:[...n.flatMap(({part:r,path:n})=>((e,t,r,n)=>{let{content:i}=t.options;if(i instanceof Uint8Array)return[{data:i,path:`word/${r}`}];if("files"in i){let t=new aJ.default;for(let{path:r,content:o}of i.files)t.file(r,o instanceof Uint8Array?o:tU(a3(e,o,n,new nm)));return[{data:t.generateAsync({type:"uint8array",compression:"DEFLATE"}),path:`word/${r}`}]}let o=e.PackageParts.createRelationships(r),s=a3(e,i,n,o),a=r.slice(0,r.lastIndexOf("/")),l=r.slice(r.lastIndexOf("/")+1);return[{data:s,path:`word/${r}`},...o.RelationshipCount>0?[{data:a3(e,o,n,o,!1),path:`word/${a}/_rels/${l}.rels`}]:[]]})(e,r,n,t)),...a4(e,t,r+n.length)]},a8=["PackageParts"],a7=class{constructor(){R(this,"formatter",void 0),R(this,"imageReplacer",void 0),R(this,"numberingReplacer",void 0),this.formatter=new aQ,this.imageReplacer=new a2,this.numberingReplacer=new a5}compile(e,t,r=[]){let n=new aJ.default,i=this.xmlifyFile(e,t),{PackageParts:o}=i;for(let[,e]of new Map(Object.entries(W(i,a8))))if(Array.isArray(e))for(let t of e)n.file(t.path,tU(t.data));else n.file(e.path,tU(e.data));for(let{path:e,data:t}of o)n.file(e,"string"==typeof t?tU(t):t);for(let e of r)n.file(e.path,tU(e.data));for(let t of(void 0!==e.Macros&&n.file("word/vbaProject.bin",e.Macros.project),e.Media.Array))"svg"!==t.type?n.file(`word/media/${t.fileName}`,t.data):(n.file(`word/media/${t.fileName}`,t.data),n.file(`word/media/${t.fallback.fileName}`,t.fallback.data));for(let[t,{data:r,fontKey:i}]of e.FontTable.files.entries())n.file(`word/fonts/font${t+1}.odttf`,aY(r,i));return n}xmlifyFile(e,t){var r;let n,i,o,s,a,l,u,c,h,p=en(this.formatter.format(e.Document.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),d=en(this.formatter.format(e.Comments,{viewWrapper:{View:e.Comments,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),f=en(this.formatter.format(e.FootNotes.View,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),m=en(this.formatter.format(e.Endnotes.View,{viewWrapper:e.Endnotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),w=e.Document.Relationships.RelationshipCount+1,g=e.Comments.Relationships.RelationshipCount+1,y=e.FootNotes.Relationships.RelationshipCount+1,v=e.Endnotes.Relationships.RelationshipCount+1,b=this.imageReplacer.getMediaData(p,e.Media),x=this.imageReplacer.getMediaData(d,e.Media),k=this.imageReplacer.getMediaData(f,e.Media),_=this.imageReplacer.getMediaData(m,e.Media);return D(D(D(D(D({Relationships:{data:(n=nm.copy(e.Document.Relationships),b.forEach((e,t)=>{n.addRelationship(w+t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),n.addRelationship(n.RelationshipCount+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable","fontTable.xml"),en(this.formatter.format(n,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})),path:"word/_rels/document.xml.rels"},Document:{data:(i=this.imageReplacer.replace(p,b,w),this.numberingReplacer.replace(i,e.Numbering.ConcreteNumbering)),path:"word/document.xml"},Styles:{data:(o=en(this.formatter.format(e.Styles,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),this.numberingReplacer.replace(o,e.Numbering.ConcreteNumbering)),path:"word/styles.xml"},Properties:{data:en(this.formatter.format(e.CoreProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},FileRelationships:{data:en(this.formatter.format(e.FileRelationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:e.Headers.map((r,n)=>{let i=en(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,e.Media),s=nm.copy(r.Relationships);return o.forEach((e,t)=>{s.addRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),{data:en(this.formatter.format(s,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/header${n+1}.xml.rels`}}),FooterRelationships:e.Footers.map((r,n)=>{let i=en(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,e.Media),s=nm.copy(r.Relationships);return o.forEach((e,t)=>{s.addRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),{data:en(this.formatter.format(s,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/footer${n+1}.xml.rels`}}),Headers:e.Headers.map((r,n)=>{let i=en(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,e.Media),s=this.imageReplacer.replace(i,o,0);return{data:this.numberingReplacer.replace(s,e.Numbering.ConcreteNumbering),path:`word/header${n+1}.xml`}}),Footers:e.Footers.map((r,n)=>{let i=en(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,e.Media),s=this.imageReplacer.replace(i,o,0);return{data:this.numberingReplacer.replace(s,e.Numbering.ConcreteNumbering),path:`word/footer${n+1}.xml`}}),CustomProperties:{data:en(this.formatter.format(e.CustomProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/custom.xml"},AppProperties:{data:en(this.formatter.format(e.AppProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/app.xml"},FootNotes:{data:(s=this.imageReplacer.replace(f,k,y),this.numberingReplacer.replace(s,e.Numbering.ConcreteNumbering)),path:"word/footnotes.xml"},FootNotesRelationships:{data:(a=nm.copy(e.FootNotes.Relationships),k.forEach((e,t)=>{a.addRelationship(y+t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),en(this.formatter.format(a,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})),path:"word/_rels/footnotes.xml.rels"},Endnotes:{data:(l=this.imageReplacer.replace(m,_,v),this.numberingReplacer.replace(l,e.Numbering.ConcreteNumbering)),path:"word/endnotes.xml"},EndnotesRelationships:{data:(u=nm.copy(e.Endnotes.Relationships),_.forEach((e,t)=>{u.addRelationship(v+t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),en(this.formatter.format(u,{viewWrapper:e.Endnotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})),path:"word/_rels/endnotes.xml.rels"},Settings:{data:en(this.formatter.format(e.Settings,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/settings.xml"}},e.Comments.IsEmpty?{}:{Comments:{data:(c=this.imageReplacer.replace(d,x,g),this.numberingReplacer.replace(c,e.Numbering.ConcreteNumbering)),path:"word/comments.xml"},CommentsRelationships:{data:(h=nm.copy(e.Comments.Relationships),x.forEach((e,t)=>{h.addRelationship(g+t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),en(this.formatter.format(h,{viewWrapper:{View:e.Comments,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})),path:"word/_rels/comments.xml.rels"}}),e.CommentsExtended?{CommentsExtended:{data:en(this.formatter.format(e.CommentsExtended,{viewWrapper:{View:e.CommentsExtended,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/commentsExtended.xml"}}:{}),e.CommentsIds?{CommentsIds:{data:en(this.formatter.format(e.CommentsIds,{viewWrapper:{View:e.CommentsIds,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/commentsIds.xml"}}:{}),{},{FontTable:{data:en(this.formatter.format(e.FontTable.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/fontTable.xml"},FontTableRelationships:{data:en(this.formatter.format(e.FontTable.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/_rels/fontTable.xml.rels"},Theme:{data:en(this.formatter.format(e.Theme,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/theme/theme1.xml"}},(null==(r=e.Macros)?void 0:r.events)?{MacroEvents:{data:en(this.formatter.format(e.Macros.events,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/vbaData.xml"},MacroRelationships:{data:en(this.formatter.format(e.Macros.relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/_rels/vbaProject.bin.rels"}}:{}),{},{PackageParts:a4(e,t),Numbering:{data:en(this.formatter.format(e.Numbering,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},ContentTypes:{data:en(this.formatter.format(e.ContentTypes,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"[Content_Types].xml"}})}};function a9(e,t,r,n,i,o,s){try{var a=e[o](s),l=a.value}catch(e){r(e);return}a.done?t(l):Promise.resolve(l).then(n,i)}function le(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function s(e){a9(o,n,i,s,a,"next",e)}function a(e){a9(o,n,i,s,a,"throw",e)}s(void 0)})}}var lt=e=>!0===e?" ":!1===e?void 0:e,lr=e=>void 0===e.Macros?"application/vnd.openxmlformats-officedocument.wordprocessingml.document":"application/vnd.ms-word.document.macroEnabled.12",ln=class e{static pack(e,t,r){var n=this;return le(function*(e,t,r,i=[]){return n.compiler.compile(e,lt(r),i).generateAsync({type:t,mimeType:lr(e),compression:"DEFLATE"})}).apply(this,arguments)}static toString(t,r,n=[]){return e.pack(t,"string",r,n)}static toBuffer(t,r,n=[]){return e.pack(t,"nodebuffer",r,n)}static toBase64String(t,r,n=[]){return e.pack(t,"base64",r,n)}static toBlob(t,r,n=[]){return e.pack(t,"blob",r,n)}static toArrayBuffer(t,r,n=[]){return e.pack(t,"arraybuffer",r,n)}static toStream(e,t,r=[]){let n=new aq.Stream;return this.compiler.compile(e,lt(t),r).generateAsync({type:"nodebuffer",mimeType:lr(e),compression:"DEFLATE"}).then(e=>{n.emit("data",e),n.emit("end")}),n}};R(ln,"compiler",new a7);var li=e=>{var t;if("w:bookmarkStart"!==e.name&&"w:bookmarkEnd"!==e.name)return;let r=Number(null==(t=e.attributes)?void 0:t["w:id"]);return Number.isInteger(r)?r:void 0},lo=e=>{var t;let r=li(e);return[...void 0===r?[]:[r],...(null!=(t=e.elements)?t:[]).flatMap(lo)]},ls=new aQ,la=e=>q(e,{keepWhitespaceText:!0}),ll=e=>{var t;return null!=(t=la(en(ls.format(new tm({text:e})))).elements[0].elements)?t:[]},lu=e=>D(D({},e),{},{attributes:{"xml:space":"preserve"}}),lc=(e,t)=>{var r;let n=null==(r=e.elements)?void 0:r.find(e=>e.name===t);return void 0===n?[]:(null!=n.elements||(n.elements=[]),n.elements)},lh=(e,t,r)=>{let n=lc(e,"Types");n.some(e=>{var n,i;return"element"===e.type&&"Default"===e.name&&(null==e||null==(n=e.attributes)?void 0:n.ContentType)===t&&(null==e||null==(i=e.attributes)?void 0:i.Extension)===r})||n.push({attributes:{ContentType:t,Extension:r},name:"Default",type:"element"})},lp=(e,t,r)=>{let n=lc(e,"Types");n.some(e=>{var t;return"element"===e.type&&"Override"===e.name&&(null==(t=e.attributes)?void 0:t.PartName)===r})||n.push({attributes:{ContentType:t,PartName:r},name:"Override",type:"element"})},ld=new Set(["wp:inline","wp:anchor"]),lf=new Set(["wp:docPr","wps:cNvPr","wpg:cNvPr"]),lm=new Set(["a:stCxn","a:endCxn"]),lw=(e,t)=>{var r,n;if(!t.has(null!=(r=e.name)?r:""))return;let i=Number(null==(n=e.attributes)?void 0:n.id);return Number.isInteger(i)?i:void 0},lg=e=>{var t;let r=lw(e,lf);return[...void 0===r?[]:[r],...(null!=(t=e.elements)?t:[]).flatMap(lg)]},ly="file",lv="tableRows",lb="drawing",lx=e=>lc(e,"Relationships").map(e=>{var t,r;let n;return isNaN(n=parseInt((null!=(t=null==(r=e.attributes)||null==(r=r.Id)?void 0:r.toString())?t:"").substring(3),10))?0:n}).reduce((e,t)=>Math.max(e,t),0)+1,lk=(e,t,r,n,i)=>{let o=lc(e,"Relationships");return o.push({attributes:{Id:`rId${t}`,Type:r,Target:n,TargetMode:i},name:"Relationship",type:"element"}),o},l_=()=>({declaration:{attributes:{version:"1.0",encoding:"UTF-8",standalone:"yes"}},elements:[{type:"element",name:"Relationships",attributes:{xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},elements:[]}]}),lS=new Map([["wp:inline","wp:docPr"],["wp:anchor","wp:docPr"],["wpg:graphicFrame","wpg:cNvPr"],["wpc:graphicFrame","wpg:cNvPr"]]),lE=e=>{var t;return(null!=(t=e.elements)?t:[]).flatMap(e=>{var t;let r=void 0===e.name?void 0:lS.get(e.name),n=void 0===r||null==(t=e.elements)?void 0:t.find(e=>e.name===r);return[...n?[{element:e,properties:n}]:[],...lE(e)]})},lA=e=>{var t,r;return[null==(t=e.attributes)?void 0:t.descr,null==(r=e.attributes)?void 0:r.title].flatMap(e=>void 0===e?[]:[String(e)])},lT=e=>{let t=e.lastIndexOf("/");return`${e.slice(0,t+1)}_rels/${e.slice(t+1)}.rels`},lC=e=>e.replace(/(^|\/)_rels\/([^/]*)\.rels$/,"$1$2"),lI=e=>e.slice(0,e.lastIndexOf("/")+1),lR=(e,t)=>{let r=t.replace(/\\/g,"/");return(r.startsWith("/")?r:`${lI(e)}${r}`).split("/").reduce((e,t)=>""===t||"."===t?e:".."===t?e.slice(0,-1):[...e,t],[]).join("/")},lO=(e,t)=>{let r=lI(e).split("/").filter(Boolean),n=t.split("/"),i=r.findIndex((e,t)=>t>=n.length-1||n[t]!==e),o=-1===i?r.length:i;return[...r.slice(o).map(()=>".."),...n.slice(o)].join("/")},lP="[Content_Types].xml",lN=(e,t,r,n)=>{let i=new aQ,o=r=>e.has(r)||t.has(r),s=(t,r)=>{let n=e.get(lT(t));return void 0===n?void 0:lc(n,"Relationships").find(e=>{var t;return"Relationship"===e.name&&(null==(t=e.attributes)?void 0:t.Id)===r})},a=(r,n)=>{var i,s;let a=null==(i=n.attributes)?void 0:i.Target;return(null==(s=n.attributes)?void 0:s.TargetMode)==="External"||void 0===a?void 0:(r=>{if(o(r))return r;let n=(()=>{try{return decodeURI(r)}catch(e){return}})();if(void 0!==n&&o(n))return n;let i=r.toLowerCase();return[...e.keys(),...t.keys()].find(e=>e.toLowerCase()===i)})(lR(r,String(a)))};return{getRelatedPart:(t,r)=>{let n=s(t.path,r),i=void 0===n?void 0:a(t.path,n);return void 0===i?void 0:{path:i,xml:e.get(i)}},replaceRelatedPart:(n,i,o)=>{var l,u,c,h,p;let d,f,m=`word/${r.PackageParts.add(o)}`,{relationshipType:w}=o.options,g=lO(n.path,m),y=void 0===i?void 0:s(n.path,i);if(void 0===y){let t=lT(n.path),r=null!=(l=e.get(t))?l:l_();e.set(t,r);let o=null!=i?i:`rId${lx(r)}`;return(!(null==(u=r.elements)?void 0:u.some(e=>"Relationships"===e.name))&&(r.elements=[...null!=(c=r.elements)?c:[],...l_().elements]),lc(r,"Relationships")).push({type:"element",name:"Relationship",attributes:{Id:o,Type:w,Target:g}}),o}let v=a(n.path,y);return y.attributes=D(D({},Object.fromEntries(Object.entries(y.attributes).filter(([e])=>"TargetMode"!==e))),{},{Type:w,Target:g}),void 0===v||v===n.path||v===lP||v.endsWith(".rels")||[...e].some(([e,t])=>e.endsWith(".rels")&&lc(t,"Relationships").some(t=>a(lC(e),t)===v))||(e.delete(v),t.delete(v),e.delete(lT(v)),void 0!==(d=e.get(lP))&&(h=`/${v}`,(null==(f=null==(p=d.elements)?void 0:p.find(e=>"Types"===e.name))?void 0:f.elements)!==void 0&&(f.elements=f.elements.filter(e=>{var t,r;return"Override"!==e.name||String(null!=(t=null==(r=e.attributes)?void 0:r.PartName)?t:"").toLowerCase()!==h.toLowerCase()})))),String(y.attributes.Id)},format:e=>la(en(i.format(e,n))).elements[0]}},lF=(t=le(function*(e){return e instanceof aJ.default?e:aJ.default.loadAsync("object"==typeof e&&null!==e&&"on"in e&&"function"==typeof e.on?yield new Promise((t,r)=>{let n=[];e.on("data",e=>{ArrayBuffer.isView(e)?n.push(new Uint8Array(e.buffer,e.byteOffset,e.byteLength)):"number"==typeof e?n.push(e):r(TypeError(`A template stream must give bytes, but it gave a ${typeof e}. A stream with an encoding set gives text, so do not set one.`))}),e.on("error",r),e.on("end",()=>{let e=new Uint8Array(n.reduce((e,t)=>e+("number"==typeof t?1:t.length),0));n.reduce((t,r)=>"number"==typeof r?(e[t]=r,t+1):(e.set(r,t),t+r.length),0),t(e)})}):e)}),function(e){return t.apply(this,arguments)}),lM=new aQ,lL="word/document.xml",lB={path:"word/footnotes.xml",rootName:"w:footnotes",noteName:"w:footnote",referenceName:"w:footnoteReference",contentType:"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml",relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",create:{part:()=>new og,mark:()=>new of,styles:()=>[new se({}),new sr({}),new st({})]}},lD={path:"word/endnotes.xml",rootName:"w:endnotes",noteName:"w:endnote",referenceName:"w:endnoteReference",contentType:"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml",relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",create:{part:()=>new oa,mark:()=>new ot,styles:()=>[new sn({}),new so({}),new si({})]}},lj=(e,t)=>la(en(lM.format(e,t))).elements[0],lU=(e,t)=>{var r,n,i;let o=t.includes(null!=(r=e.name)?r:"")?Number(null==(n=e.attributes)?void 0:n["w:id"]):0/0;return[...Number.isInteger(o)?[o]:[],...(null!=(i=e.elements)?i:[]).flatMap(e=>lU(e,t))]},lz=(e,t,r,{createContext:n,addContentTypeOverride:i,renumberBookmarks:o,renumberDrawings:s,renumberLists:a,useStyles:l})=>{let u,c=new Map(Object.entries(t).map(([e,t])=>[Number(e),t])),h=new Map,p=[...c.keys()].filter(Number.isFinite).reduce((e,t)=>Math.max(e,Math.floor(t)),0),d=new Map,f=t=>{var n,i;let o=t.name===e.referenceName?c.get(Number(null==(n=t.attributes)?void 0:n["w:id"])):void 0;return void 0===o?void 0===t.elements?t:D(D({},t),{},{elements:t.elements.map(f)}):(u=(null!=(i=u)?i:[...r.values()].flatMap(t=>lU(t,[e.noteName,e.referenceName])).reduce((e,t)=>Math.max(e,t),0))+1,d.set(u,o),D(D({},t),{},{attributes:D(D({},t.attributes),{},{"w:id":String(u)})}))};return{renumber:e=>e.map(f),write:()=>{var t;let u,c;if(0===d.size)return;let h=(c=(u=lc(null!=(t=r.get(lT(lL)))?t:{},"Relationships").find(t=>{var r;return(null==(r=t.attributes)?void 0:r.Type)===e.relationshipType}))?lR(lL,String(u.attributes.Target)):e.path,r.has(c)||(r.set(c,{declaration:{attributes:{version:"1.0",encoding:"UTF-8",standalone:"yes"}},elements:[lj(e.create.part(),n(c))]}),i(e.contentType,`/${c}`)),u||n(lL).viewWrapper.Relationships.addRelationship(tB(),e.relationshipType,lO(lL,c)),c),p=n(h),f=new Map([...new Set(d.values())].map(t=>{let r=lj(e.create.mark(),p);return[t,l(a(o(t.children.map(e=>lj(e,p)).map((e,t)=>{var n,i;let o,s;return 0===t?(s=+((null==(i=(o=null!=(n=e.elements)?n:[])[0])?void 0:i.name)==="w:pPr"),D(D({},e),{},{elements:[...o.slice(0,s),r,...o.slice(s)]})):e}))))]}));lc(r.get(h),e.rootName).push(...[...d].map(([t,r])=>({type:"element",name:e.noteName,attributes:{"w:id":String(t)},elements:[...s(f.get(r))]})));let m=r.get("word/styles.xml");if(m){let t=lc(m,"w:styles"),r=new Set(t.map(e=>{var t;return null==(t=e.attributes)?void 0:t["w:styleId"]}));t.push(...e.create.styles().map(e=>lj(e,p)).filter(e=>{var t;return!r.has(null==(t=e.attributes)?void 0:t["w:styleId"])}))}},carry:(e,t)=>{let r=h.get(e);return void 0!==r?r:(p++,c.set(p,t),h.set(e,p),p)}}},lW=new aQ,l$="word/document.xml",lH="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",lG=e=>e.reduce((e,t)=>Math.max(e,t),0),lK={nameOf:e=>"element"===e.type?e.name:void 0,contentOf:e=>e.elements,attributeOf:(e,t)=>{var r;return null==(r=e.attributes)?void 0:r[t]},textOf:e=>{var t;return(null!=(t=e.elements)?t:[]).filter(({type:e})=>"text"===e).map(({text:e})=>String(e)).join("")},textElement:e=>({type:"element",name:"w:t",attributes:{"xml:space":"preserve"},elements:[{type:"text",text:e}]}),writeClean:(e,t)=>{var r;/^\s*(PAGEREF|TOC)\b/i.test(t)&&(null==(r=e.attributes)?void 0:r["w:dirty"])!==void 0&&(e.attributes=Object.fromEntries(Object.entries(e.attributes).filter(([e])=>"w:dirty"!==e)))},setSimpleFieldResult:(e,t)=>{e.elements=[{type:"element",name:"w:r",elements:[lK.textElement(t)]}]}},lV="word/document.xml",lX=[80,75,3,4],lZ=(r=le(function*(e){if(lX.every((t,r)=>e[r]===t))try{let t=yield aJ.default.loadAsync(e),r=new Map,n=new Map;for(let[e,i]of Object.entries(t.files))i.dir||(/\.(xml|rels)$/.test(e)?r.set(e,la((yield i.async("text")))):n.set(e,(yield i.async("uint8array"))));let i=yield lq(r,n);return D({parts:r,binaryParts:n},i.size>0?{importedDocuments:i}:{})}catch(e){return}}),function(e){return r.apply(this,arguments)}),lq=(n=le(function*(e,t){let r=new Map;for(let[o,s]of e){var n,i;if(o.endsWith(".rels"))for(let{attributes:e={}}of null!=(n=null==(i=lJ(s))?void 0:i.elements)?n:[]){let n=lR(lC(o),String(e.Target)),i=t.get(n),s="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk"===e.Type&&"External"!==e.TargetMode&&i?yield lZ(i):void 0;s&&r.set(n,s)}}return r}),function(e,t){return n.apply(this,arguments)}),lJ=e=>{var t;return null==e||null==(t=e.elements)?void 0:t.find(({type:e})=>"element"===e)},lY=(i=le(function*(e,t,r=new Map){var n,i;let o=lJ(e.get(lV));if(!o)return;let s=yield lq(e,r),a=t(D({parts:e,binaryParts:r},s.size>0?{importedDocuments:s}:{})),l=rX(lK,o,a,{blank:!0});for(let{attributes:t={}}of null!=(n=null==(i=lJ(e.get(lT(lV))))?void 0:i.elements)?n:[]){let r=/\/(header|footer)$/.test(String(t.Type))?lJ(e.get(lR(lV,String(t.Target)))):void 0;r&&rZ(lK,r,a,{blank:!0,sectionPageCount:l.get(String(t.Id))})}}),function(e,t){return i.apply(this,arguments)}),lQ=class extends Error{constructor(e){super(`Token ${e} not found`),this.name="TokenNotFoundError"}},l0=(e,t)=>(e.elements=ll(t),e),l1=e=>{if("w:p"!==e.element.name)throw Error(`Invalid node type: ${e.element.name}`);if(!e.element.elements)return{text:"",runs:[],index:-1,pathToParagraph:[]};let t=0,r=e.element.elements.map((e,t)=>({element:e,i:t})).filter(({element:e})=>"w:r"===e.name).map(({element:e,i:r})=>{let n=l2(e,r,t);return t+=n.text.length,n}).filter(e=>!!e);return{text:r.reduce((e,t)=>e+t.text,""),runs:r,index:e.index,pathToParagraph:l5(e)}},l2=(e,t,r)=>{if(!e.elements)return{text:"",parts:[],index:-1,start:r,end:r};let n=r,i=e.elements.map((e,t)=>{var r,i;if("w:t"!==e.name||!e.elements||0===e.elements.length)return;let o=null!=(r=null==(i=e.elements[0].text)?void 0:i.toString())?r:"",s=n;return n+=o.length,{text:o,index:t,start:s,end:s+o.length-1}}).filter(e=>!!e).map(e=>e);return{text:i.reduce((e,t)=>e+t.text,""),parts:i,index:t,start:r,end:i.length>0?i[i.length-1].end:r}},l5=e=>e.parent?[...l5(e.parent),e.index]:[e.index],l6=e=>{var t,r;return null!=(t=null==(r=e.element.elements)?void 0:r.map((t,r)=>({element:t,index:r,parent:e})))?t:[]},l3=e=>{let t,r=[],n=[...l6({element:e,index:0,parent:void 0})];for(;n.length>0;)"w:p"===(t=n.shift()).element.name&&(r=[...r,l1(t)]),n.push(...l6(t));return r},l4=(e,t)=>l3(e).filter(e=>e.text.includes(t)),l8=({json:e,patch:t,patchText:r,context:n,keepOriginalStyles:i=!0,recursive:o=!0,renumberIds:s=e=>e})=>{let a=l4(e,r);if(0===a.length)return{element:e,didFindOccurrence:!1};let l=[...a].reverse();for(let a of t.type===ly?uo(l):l)if(t.type===ly){var u;let r=ua(e,a.pathToParagraph),i=ul(a.pathToParagraph),o=l7(t,n,s),l="w:tc"===r.name&&i===r.elements.length-1&&(null==(u=o[o.length-1])?void 0:u.name)!=="w:p"?[{type:"element",name:"w:p"}]:[];r.elements.splice(i,1,...o,...l)}else{let l=us(e,a.pathToParagraph),u=a,c=0;do{let e=l9({paragraphElement:l,renderedParagraph:u,patchText:r,fromIndex:c,children:l7(t,n,s),keepOriginalStyles:i});c=(u=l1({element:l,index:a.index,parent:void 0})).runs.filter(t=>t.index<e).reduce((e,t)=>e+t.text.length,0)}while(o&&u.text.includes(r,c))}return{element:e,didFindOccurrence:!0}},l7=(e,t,r)=>r(e.children.flatMap(e=>{var t;return null!=(t=e.writtenAs)?t:e}).flatMap(e=>{let r=e.prepForXml(t);return r?[la(en(r)).elements[0]]:[]})),l9=({paragraphElement:e,renderedParagraph:t,patchText:r,fromIndex:n,children:i,keepOriginalStyles:o})=>{var s,a;let l,u;(({paragraphElement:e,renderedParagraph:t,originalText:r,replacementText:n,fromIndex:i=0})=>{let o=t.text.indexOf(r,i),s=o+r.length-1,a=0;for(let r of t.runs)for(let{text:t,index:i,start:l,end:u}of r.parts)switch(a){case 0:if(o>=l&&o<=u){let c=o-l,h=Math.min(s,u)-l;if(""===t.substring(c,h+1))continue;let p=t.substring(0,c)+n+t.substring(h+1);l0(e.elements[r.index].elements[i],p),a=1;continue}break;case 1:if(s<=u){let n=t.substring(s-l+1);l0(e.elements[r.index].elements[i],n);let o=e.elements[r.index].elements[i];e.elements[r.index].elements[i]=lu(o),a=2}else l0(e.elements[r.index].elements[i],"")}})({paragraphElement:e,renderedParagraph:t,originalText:r,replacementText:"",fromIndex:n});let c=(e=>{var t,r,n,i;for(let o=0;o<(null!=(t=e.elements)?t:[]).length;o++){let t=e.elements[o];if("element"===t.type&&"w:r"===t.name){for(let e of(null!=(r=t.elements)?r:[]).filter(e=>"element"===e.type&&"w:t"===e.name))if((null==(n=e.elements)?void 0:n[0])&&(null==(i=e.elements[0].text)?void 0:i.includes("")))return o}}throw new lQ("")})(e),h=e.elements[c],{left:p,right:d}=(l=-1,u=null!=(s=null==(a=h.elements)?void 0:a.map((e,t)=>{if(-1!==l||"element"!==e.type||"w:t"!==e.name)return e;{var r,n;let i=(null!=(r=null==(n=e.elements)||null==(n=n[0])?void 0:n.text)?r:"").split(""),o=i.map(t=>D(D(D({},e),lu(e)),{},{elements:ll(t)}));return i.length>1&&(l=t),o}}).flat())?s:[],{left:D(D({},JSON.parse(JSON.stringify(h))),{},{elements:u.slice(0,l+1)}),right:D(D({},JSON.parse(JSON.stringify(h))),{},{elements:u.slice(l+1)})}),f=h.elements.find(e=>"element"===e.type&&"w:rPr"===e.name),m=o&&f?i.map(e=>ue(e,f)):i,w=f?D(D({},d),{},{elements:[f,...d.elements]}):d;return e.elements.splice(c,1,p,...m,w),c+1+m.length},ue=(e,t)=>"w:r"===e.name?ut(e,t):e.elements?D(D({},e),{},{elements:e.elements.map(e=>ue(e,t))}):e,ut=(e,t)=>{let r=ui(e).find(e=>"element"===e.type&&"w:rPr"===e.name);if(!r)return D(D({},e),{},{elements:[t,...ui(e)]});let n=new Set(ui(r).map(e=>e.name)),i=[...ui(t).filter(e=>!n.has(e.name)),...ui(r)],o=D(D({},r),{},{elements:[...i].sort((e,t)=>un(e)-un(t))});return D(D({},e),{},{elements:ui(e).map(e=>e===r?o:e)})},ur=["w:rStyle","w:rFonts","w:b","w:bCs","w:i","w:iCs","w:caps","w:smallCaps","w:strike","w:dstrike","w:outline","w:shadow","w:emboss","w:imprint","w:noProof","w:snapToGrid","w:vanish","w:webHidden","w:color","w:spacing","w:w","w:kern","w:position","w:sz","w:szCs","w:highlight","w:u","w:effect","w:bdr","w:shd","w:fitText","w:vertAlign","w:rtl","w:cs","w:em","w:lang","w:eastAsianLayout","w:specVanish","w:oMath","w14:glow","w14:shadow","w14:reflection","w14:textOutline","w14:textFill","w14:scene3d","w14:props3d","w14:ligatures","w14:numForm","w14:numSpacing","w14:stylisticSets","w14:cntxtAlts"],un=e=>{var t;if("w:rPrChange"===e.name)return ur.length+1;let r=ur.indexOf(null!=(t=e.name)?t:"");return -1===r?ur.length:r},ui=e=>{var t;return null!=(t=e.elements)?t:[]},uo=e=>e.filter(t=>!e.some(e=>{let r,n;return r=t.pathToParagraph,n=e.pathToParagraph,r.length>n.length&&n.every((e,t)=>r[t]===e)})),us=(e,t)=>{let r=e;for(let e=1;e<t.length;e++){let n=t[e];r=r.elements[n]}return r},ua=(e,t)=>us(e,t.slice(0,t.length-1)),ul=e=>e[e.length-1],uu=new aQ,uc="word/styles.xml",uh=new Set(["w:pStyle","w:rStyle","w:tblStyle","w:basedOn","w:next","w:link"]),up=e=>{var t;return String(null==(t=e.attributes)?void 0:t["w:styleId"])},ud=e=>{var t;let r=null==(t=e.elements)||null==(t=t.find(e=>"w:name"===e.name))||null==(t=t.attributes)?void 0:t["w:val"];return void 0===r?void 0:String(r).toLowerCase()},uf={type:"paragraph",children:[]},um=({json:e,key:t,patch:r,delimiters:{start:n,end:i},patchPlaceholder:o,renumberDrawings:s})=>{let a=`${n}${t}.`;for(let n of uw(e,a)){let e=ub(n.elements,a,i),l=r.rows.flatMap((r,i)=>{let a={type:"element",name:"w:tbl",elements:[...0===i?n.elements.map(ux):s(uS(n.elements))]},l=new Map(Object.entries(r).flatMap(([e,t])=>void 0===t?[]:[[e,t]]));for(let[e,r]of l)o(a,`${t}.${e}`,r);for(let r of e.filter(e=>!l.has(e)))o(a,`${t}.${r}`,uf);return a.elements});n.parent.elements.splice(n.parent.elements.indexOf(n.elements[0]),n.elements.length,...l),n.table&&!uv(n.table.element)&&n.table.parent.elements.splice(n.table.parent.elements.indexOf(n.table.element),1)}},uw=(e,t)=>{let r=l4(e,t).flatMap(t=>{let r=ug(e,t.pathToParagraph);return r?[r]:[]}),n=r.filter(e=>!r.some(t=>uy(e.path,t.path))).filter((e,t,r)=>r.findIndex(t=>t.row===e.row)===t);return[...new Set(n.map(e=>e.parent))].flatMap(e=>{let t=e.elements.filter(e=>"w:tr"===e.name),r=n.filter(t=>t.parent===e).map(e=>t.indexOf(e.row)).sort((e,t)=>e-t),{table:i}=n.find(t=>t.parent===e);return r.reduce((e,t)=>{let r=e[e.length-1];return(null==r?void 0:r[r.length-1])===t-1?[...e.slice(0,-1),[...r,t]]:[...e,[t]]},[]).map(r=>{let n=e.elements.indexOf(t[r[0]]),o=e.elements.indexOf(t[r[r.length-1]]);return{parent:e,table:i,elements:e.elements.slice(n,o+1)}})})},ug=(e,t)=>{let r,n,i=e;for(let e=1;e<t.length;e++){let o=i.elements[t[e]];"w:tbl"===o.name&&(n={element:o,parent:i}),"w:tr"===o.name&&(r={parent:i,table:n,row:o,path:t.slice(0,e+1)}),i=o}return r},uy=(e,t)=>e.length>t.length&&t.every((t,r)=>e[r]===t),uv=e=>{var t;return(null!=(t=e.elements)?t:[]).some(e=>"w:tr"===e.name||"w:tblPr"!==e.name&&"w:tblGrid"!==e.name&&uv(e))},ub=(e,t,r)=>[...new Set(l4({elements:[...e]},t).flatMap(({text:e})=>e.split(t).slice(1).flatMap(e=>{let t=e.indexOf(r);return t>0?[e.slice(0,t)]:[]})))],ux=e=>JSON.parse(JSON.stringify(e)),uk=["w14:paraId","w14:textId"],u_=["w:bookmarkStart","w:bookmarkEnd"],uS=(e,t)=>e.filter(e=>{var r;return!u_.includes(null!=(r=e.name)?r:"")&&((null==t?void 0:t.name)!=="w:sdtPr"||"w:id"!==e.name)}).map(e=>D(D(D({},e),void 0===e.attributes?{}:{attributes:Object.fromEntries(Object.entries(e.attributes).filter(([e])=>!uk.includes(e)))}),void 0===e.elements?{}:{elements:[...uS(e.elements,e)]})),uE=new Map([["dk1","dark1"],["lt1","light1"],["dk2","dark2"],["lt2","light2"],["accent1","accent1"],["accent2","accent2"],["accent3","accent3"],["accent4","accent4"],["accent5","accent5"],["accent6","accent6"],["hlink","hyperlink"],["folHlink","followedHyperlink"]]),uA=e=>{var t;return null==(t=e.name)?void 0:t.slice(e.name.indexOf(":")+1)},uT=(e,t)=>{var r;return null==e||null==(r=e.elements)?void 0:r.find(e=>uA(e)===t)},uC=(o=le(function*(e,t){let r=e.file(t);if(null!==r){let e;return 255===(e=yield r.async("uint8array"))[0]&&254===e[1]||254===e[0]&&255===e[1]?void 0:la((yield r.async("text")))}}),function(e,t){return o.apply(this,arguments)}),uI=(s=le(function*(e){var t,r;let n=null==(t=uT((yield uC(e,"word/_rels/document.xml.rels")),"Relationships"))||null==(t=t.elements)?void 0:t.find(e=>{var t;return(null==(t=e.attributes)?void 0:t.Type)==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),i=null==n||null==(r=n.attributes)?void 0:r.Target;return"string"==typeof i?uC(e,lR("word/document.xml",i)):void 0}),function(e){return s.apply(this,arguments)}),uR=(a=le(function*(e){var t;let r=yield uI(e);if(void 0===r)return;let n=uT(uT(uT(r,"theme"),"themeElements"),"clrScheme");return eB(Object.fromEntries((null!=(t=null==n?void 0:n.elements)?t:[]).flatMap(e=>{var t,r;let n,i=uE.get(null!=(t=uA(e))?t:""),o="string"==typeof(n=null==(r=e.elements)?void 0:r.map(e=>{var t,r;return"srgbClr"===uA(e)?null==(t=e.attributes)?void 0:t.val:"sysClr"===uA(e)?null==(r=e.attributes)?void 0:r.lastClr:void 0}).find(e=>void 0!==e))&&/^[0-9A-Fa-f]{6}$/.test(n)?n.toUpperCase():void 0;return i&&o?[[i,o]]:[]})))}),function(e){return a.apply(this,arguments)}),uO=(e,t,{inTableRow:r})=>{if((null==t?void 0:t.type)===lv&&Array.isArray(t.rows)){for(let r of t.rows){if("object"!=typeof r||null===r)throw Error(`Invalid patch "${e}". Expected each of its rows to be an object of patches, by the name of their field`);for(let[t,n]of Object.entries(r))void 0!==n&&uO(`${e}.${t}`,n,{inTableRow:!0})}return}if(!((null==t?void 0:t.type)===lb?!r&&"function"==typeof t.patch:(null==t?void 0:t.type)!==lv&&Array.isArray(null==t?void 0:t.children)))throw Error(`Invalid patch "${e}". Expected { type: PatchType.PARAGRAPH or PatchType.DOCUMENT, children: [...] }, ${r?"or { type: PatchType.TABLE_ROWS, rows: [...] }":"{ type: PatchType.TABLE_ROWS, rows: [...] }, or a drawing patch such as ChartDataPatch from docx/charts"}`)},uP=new a2,uN=new Uint8Array([255,254]),uF=new Uint8Array([254,255]),uM=(e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0};le(function*({outputType:e,data:t,patches:r,keepOriginalStyles:n,placeholderDelimiters:i={start:"{{",end:"}}"},recursive:o=!0,footnotes:s,endnotes:a,numbering:l={config:[]},pageNumbers:u}){var c,h,p,d,f,m;let w,g,y,v,b,x,k,_,S,E,A,T,C,I,R,O=yield lF(t),P=new Map,N=yield uR(O),F=[],M={Media:new ok,Numbering:new oW(l),Theme:N&&{Colors:N},FootNotes:{View:{idOf:(e,t,r)=>Q("footnotes",e,t,r)}},Endnotes:{View:{idOf:(e,t,r)=>Q("endnotes",e,t,r)}},PackageParts:new o$({addOverride:(e,t)=>F.push({contentType:e,partName:t})},new Set(Object.keys(O.files).filter(e=>e.startsWith("word/")).map(e=>e.slice(5))))},L=new Map,B=[],j=[],U=!1,z=new Map;if(!(null==i?void 0:i.start.trim())||!(null==i?void 0:i.end.trim()))throw Error("Both start and end delimiters must be non-empty strings.");let{start:W,end:$}=i;for(let[e,t]of Object.entries(r))uO(e,t,{inTableRow:!1});for(let[e,t]of Object.entries(O.files)){let r=yield t.async("uint8array"),n=r.slice(0,2);if(uM(n,uN)||uM(n,uF)||!e.endsWith(".xml")&&!e.endsWith(".rels")){z.set(e,r);continue}let i=la((yield t.async("text")));if("word/document.xml"===e){let e=null==(c=i.elements)?void 0:c.find(e=>"w:document"===e.name);if(e&&e.attributes){for(let t of["mc","wp","r","w15","m"])e.attributes[`xmlns:${t}`]=iX[t];e.attributes["mc:Ignorable"]=`${e.attributes["mc:Ignorable"]||""} w15`.trim()}}L.set(e,i)}let H=(w=new Set(d=[...L.values()].flatMap(lo)),g=new Map,y=d.reduce((e,t)=>Math.max(e,t),0),v=e=>{let t=li(e);return D(D(D({},e),void 0===t?{}:{attributes:D(D({},e.attributes),{},{"w:id":String((e=>{let t=g.get(e);if(void 0!==t)return t;let r=w.has(e)?y+1:e;return y=Math.max(y,r),w.add(r),g.set(e,r),r})(t))})}),void 0===e.elements?{}:{elements:e.elements.map(v)})},e=>e.map(v)),G=(b=new Set(f=[...L.values()].flatMap(lg)),x=f.reduce((e,t)=>Math.max(e,t),0),k=e=>{let t,r=new Map([...new Set((t=e=>{var r;let n=lw(e,lf);return[...void 0===n?[]:[n],...(null!=(r=e.elements)?r:[]).flatMap(e=>{var r;return ld.has(null!=(r=e.name)?r:"")?[]:t(e)})]})(e))].map(e=>{let t;return[e,(t=b.has(e)?x+1:e,x=Math.max(x,t),b.add(t),t)]})),n=t=>{var i,o;if(t!==e&&ld.has(null!=(i=t.name)?i:""))return k(t);let s=null!=(o=lw(t,lf))?o:lw(t,lm),a=void 0===s?void 0:r.get(s);return D(D(D({},t),void 0===a?{}:{attributes:D(D({},t.attributes),{},{id:String(a)})}),void 0===t.elements?{}:{elements:t.elements.map(n)})};return n(e)},_=e=>{var t;return ld.has(null!=(t=e.name)?t:"")?k(e):D(D({},e),void 0===e.elements?{}:{elements:e.elements.map(_)})},e=>e.map(_)),K=new Map,V=e=>{let t=K.get(e);if(t)return t;let r={Relationships:{addRelationship:(t,r,n,i)=>{j.push({key:e,id:t,type:r,target:n,targetMode:i})}}};return K.set(e,r),r},X=e=>({file:M,viewWrapper:V(e),stack:[]}),Z=(e,t)=>{F.push({contentType:e,partName:t})},q=(A=new Set((E=lc(null!=(m=L.get(uc))?m:{},"w:styles").filter(e=>"w:style"===e.name)).map(up)),T=e=>{let t;return null!=S||(t=X(uc),S=new Map(Object.values(sw()).map(e=>la(en(uu.format(e,t))).elements[0]).filter(e=>"w:style"===e.name).map(e=>[up(e),e]))),S.get(e)},C=new Set,I=new Map,R=e=>{var t,r;return uh.has(null!=(t=e.name)?t:"")?D(D({},e),{},{attributes:D(D({},e.attributes),{},{"w:val":(r=String(e.attributes["w:val"]),I.has(r)||I.set(r,(e=>{let t=A.has(e)?void 0:T(e);if(void 0===t)return e;let r=E.find(e=>{var r,n;return(null==(r=e.attributes)?void 0:r["w:type"])===(null==(n=t.attributes)?void 0:n["w:type"])&&ud(e)===ud(t)});return void 0!==r?up(r):(C.add(e),e)})(r)),I.get(r))})}):void 0===e.elements?e:D(D({},e),{},{elements:e.elements.map(R)})},{use:e=>e.map(R),write:()=>{let e=L.get(uc);if(!e)return;let t=lc(e,"w:styles"),r=new Set(t.map(up));for(let e of C)r.has(e)||(r.add(e),t.push(R(T(e))))}}),J=((e,t,{createContext:r,addContentTypeOverride:n})=>{let i,o=new Map,s=()=>{var e;return lc(null!=(e=t.get(lT(l$)))?e:{},"Relationships").find(e=>{var t;return(null==(t=e.attributes)?void 0:t.Type)===lH})},a=(e=s())=>e?lR(l$,String(e.attributes.Target)):"word/numbering.xml",l=(e,r)=>{var n;return lc(null!=(n=t.get(a()))?n:{},"w:numbering").filter(t=>t.name===e).map(e=>Number(e.attributes[r]))},u=t=>{var r;let n,s="w:numId"===t.name?(t=>{if("1"===t)return e.ConcreteNumbering.find(({reference:e})=>"default-bullet-numbering"===e);if(!t.startsWith("{"))return;let r=e.ConcreteNumbering.find(({reference:e,instance:r})=>t===`{${e}-${r}}`);if(!r){let e=t.slice(1,-1).replace(/-\d+$/,"");throw Error(`A paragraph in a patch uses the numbering "${e}", which isn't in the numbering option of patchDocument. Add it there with its levels, as in a Document`)}return r})(String(t.attributes["w:val"])):void 0;return void 0===s?void 0===t.elements?t:D(D({},t),{},{elements:t.elements.map(u)}):D(D({},t),{},{attributes:D(D({},t.attributes),{},{"w:val":String(void 0!==(n=o.get(s.numId))?n:(i=(null!=(r=i)?r:lG(l("w:num","w:numId")))+1,o.set(s.numId,i),i))})})};return{renumber:e=>e.map(u),write:()=>{var i,u;let c,h,p;if(0===o.size)return;let d=(c=r(a()),la(en(lW.format(e,c))).elements[0]),f=e=>Number(e.elements.find(e=>"w:abstractNumId"===e.name).attributes["w:val"]),m=d.elements.filter(e=>"w:num"===e.name&&o.has(Number(e.attributes["w:numId"]))),w=lG(l("w:abstractNum","w:abstractNumId")),g=new Map([...new Set(m.map(f))].map((e,t)=>[e,w+t+1])),y=d.elements.flatMap(e=>{let t="w:abstractNum"===e.name?g.get(Number(e.attributes["w:abstractNumId"])):void 0;return void 0===t?[]:[D(D({},e),{},{attributes:D(D({},e.attributes),{},{"w:abstractNumId":String(t)})})]}),v=(p=a(h=s()),t.has(p)||(t.set(p,{declaration:{attributes:{version:"1.0",encoding:"UTF-8",standalone:"yes"}},elements:[D(D({},d),{},{elements:[]})]}),n("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml",`/${p}`)),h||r(l$).viewWrapper.Relationships.addRelationship(tB(),lH,lO(l$,p)),p),b=t.get(v).elements.find(e=>"w:numbering"===e.name);b.attributes=D(D(D({},Object.fromEntries(Object.entries(d.attributes).filter(([e])=>e.startsWith("xmlns:")))),b.attributes),{},{"mc:Ignorable":[...new Set([...String(null!=(i=null==(u=b.attributes)?void 0:u["mc:Ignorable"])?i:"").split(" "),...String(d.attributes["mc:Ignorable"]).split(" ")])].filter(e=>""!==e).join(" ")});let x=lc(t.get(v),"w:numbering"),k=e=>{let t=x.findIndex(t=>e.includes(t.name));return -1===t?x.length:t};x.splice(k(["w:num","w:numIdMacAtCleanup"]),0,...y),x.splice(k(["w:numIdMacAtCleanup"]),0,...m.map(e=>D(D({},e),{},{attributes:D(D({},e.attributes),{},{"w:numId":String(o.get(Number(e.attributes["w:numId"])))}),elements:e.elements.map(t=>"w:abstractNumId"===t.name?D(D({},t),{},{attributes:{"w:val":String(g.get(f(e)))}}):t)})))}}})(M.Numbering,L,{createContext:X,addContentTypeOverride:Z}),Y=(({footnotes:e={},endnotes:t={}},r,n)=>{let i={footnotes:lz(lB,e,r,n),endnotes:lz(lD,t,r,n)};return{carry:(e,t,r)=>i[e].carry(t,r),renumber:e=>Object.values(i).reduce((e,t)=>t.renumber(e),e),write:()=>{for(let e of Object.values(i))e.write()}}})({footnotes:s,endnotes:a},L,{createContext:X,addContentTypeOverride:Z,renumberBookmarks:H,renumberDrawings:G,renumberLists:J.renumber,useStyles:q.use}),Q=(e,t,r,n)=>n.viewWrapper===V("word/document.xml")?Y.carry(e,t,r):void 0;(({parts:e,binaryParts:t,file:r,patches:n,delimiters:i},o)=>{let s=n.map(([e,t])=>({placeholder:`${i.start}${e}${i.end}`,patch:t}));for(let{drawing:n,patch:i}of[...e].filter(([e])=>e.startsWith("word/")&&!e.endsWith(".rels")).flatMap(([e,t])=>lE(t).flatMap(r=>{let n=lA(r.properties),i=s.filter(({placeholder:e})=>n.some(t=>t.includes(e)));if(i.length>1){var o,a;throw Error(`The drawing "${null!=(o=null==(a=r.properties.attributes)?void 0:a.name)?o:""}" in ${e} has the placeholders ${i.map(({placeholder:e})=>e).join(" and ")} in its alt text. A drawing can only be patched once`)}return i.map(({placeholder:n,patch:i})=>({drawing:D(D({placeholder:n},r),{},{part:{path:e,xml:t}}),patch:i}))})))i.patch(n,lN(e,t,r,o(n.part.path)))})({parts:L,binaryParts:z,file:M,patches:Object.entries(r).flatMap(([e,t])=>t.type===lb?[[e,t]]:[]),delimiters:{start:W,end:$}},X);let ee=Object.entries(r).flatMap(([e,t])=>t.type===lb?[]:[[e,t]]),et=[...ee.filter(([,e])=>e.type===lv),...ee.filter(([,e])=>e.type!==lv)];for(let[e,t]of[...L]){if(!e.startsWith("word/")||e.endsWith(".xml.rels"))continue;let r=X(e);P.set(e,r);let i=(t,s,a)=>{if(a.type===lv)return void um({json:t,key:s,patch:a,delimiters:{start:W,end:$},patchPlaceholder:i,renumberDrawings:G});let l=[],{didFindOccurrence:u}=l8({json:t,patch:D(D({},a),{},{children:a.children.flatMap(e=>e instanceof n$?e.writtenAs:[e]).map(t=>{if(!(t instanceof nU))return t;{let{target:r,anchor:n}=nX(t.options.link),i=new nD(t.options.children,tB(),n,t.options.link);return l.push({key:e,id:i.linkId,type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",target:r,targetMode:ry}),i}})}),patchText:`${W}${s}${$}`,context:r,keepOriginalStyles:n,recursive:o,renumberIds:e=>q.use(J.renumber(Y.renumber(H(G(e)))))});u&&j.push(...l)};for(let[e,r]of et)i(t,e,r)}for(let[e,t]of(Y.write(),J.write(),q.write(),L)){if(!e.startsWith("word/")||e.endsWith(".xml.rels"))continue;let r=uP.getMediaData(JSON.stringify(t),M.Media);r.length>0&&(U=!0,B.push({key:e,mediaDatas:r}))}for(let{key:e,mediaDatas:t}of B){let r=lT(e),n=null!=(h=L.get(r))?h:l_();L.set(r,n);let i=lx(n),o=uP.replace(JSON.stringify(L.get(e)),t,i);L.set(e,JSON.parse(o));for(let e=0;e<t.length;e++){let{fileName:r}=t[e];lk(n,i+e,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${r}`)}}for(let{key:e,id:t,type:r,target:n,targetMode:i}of j){let o=lT(e),s=null!=(p=L.get(o))?p:l_();L.set(o,s),lk(s,t,r,n,i)}u&&(yield lY(L,u,z));let er=a4(M,void 0);if(U||F.length>0){let e=L.get("[Content_Types].xml");if(!e)throw Error("Could not find content types file");for(let{contentType:t,partName:r}of(U&&(lh(e,"image/png","png"),lh(e,"image/jpeg","jpeg"),lh(e,"image/jpeg","jpg"),lh(e,"image/bmp","bmp"),lh(e,"image/gif","gif"),lh(e,"image/svg+xml","svg")),F))lp(e,t,r)}let ei=new aJ.default;for(let[e,t]of L){let r=es(t);ei.file(e,tU(r))}for(let[e,t]of z)ei.file(e,t);for(let{data:e,fileName:t}of M.Media.Array)ei.file(`word/media/${t}`,e);for(let{path:e,data:t}of er)ei.file(e,"string"==typeof t?tU(t):t);return ei.generateAsync({type:e,mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}),le(function*({data:e}){let t=yield lF(e),r=new Set;for(let[e,n]of Object.entries(t.files))if((e.endsWith(".xml")||e.endsWith(".rels"))&&e.startsWith("word/")&&!e.endsWith(".xml.rels")){let e=la((yield n.async("text")));[...l3(e).map(e=>e.text),...lE(e).flatMap(({properties:e})=>lA(e))].forEach(e=>uL(e).forEach(e=>r.add(e)))}return Array.from(r)});var uL=e=>{var t;let r=RegExp("(?<=\\{\\{).+?(?=\\}\\})","gs");return null!=(t=e.match(r))?t:[]};e.s(["AlignmentType",0,eO,"Document",0,sI,"HeadingLevel",0,{HEADING_1:"Heading1",HEADING_2:"Heading2",HEADING_3:"Heading3",HEADING_4:"Heading4",HEADING_5:"Heading5",HEADING_6:"Heading6",TITLE:"Title"},"ImageRun",0,rM,"Packer",0,ln,"Paragraph",0,n3,"TextRun",0,ty])}]);
|