@jiangxiaosheng/digital-agent-platform 1.0.0 → 1.0.2
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 -0
- package/.next/app-build-manifest.json +316 -0
- package/.next/app-path-routes-manifest.json +1 -0
- package/.next/build-manifest.json +33 -0
- package/.next/cache/.rscinfo +1 -0
- package/.next/cache/.tsbuildinfo +1 -0
- package/.next/cache/eslint/.cache_1bmmeh3 +1 -0
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/edge-server-production/0.pack +0 -0
- package/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/diagnostics/build-diagnostics.json +6 -0
- package/.next/diagnostics/framework.json +1 -0
- package/.next/export-marker.json +1 -0
- package/.next/images-manifest.json +1 -0
- package/.next/next-minimal-server.js.nft.json +1 -0
- package/.next/next-server.js.nft.json +1 -0
- package/.next/package.json +1 -0
- package/.next/prerender-manifest.json +1 -0
- package/.next/react-loadable-manifest.json +1 -0
- package/.next/required-server-files.json +1 -0
- package/.next/routes-manifest.json +1 -0
- package/.next/server/app/[locale]/agents/[id]/chat/page.js +1 -0
- package/.next/server/app/[locale]/agents/[id]/chat/page.js.nft.json +1 -0
- package/.next/server/app/[locale]/agents/[id]/chat/page_client-reference-manifest.js +1 -0
- package/.next/server/app/[locale]/agents/[id]/edit/page.js +1 -0
- package/.next/server/app/[locale]/agents/[id]/edit/page.js.nft.json +1 -0
- package/.next/server/app/[locale]/agents/[id]/edit/page_client-reference-manifest.js +1 -0
- package/.next/server/app/[locale]/agents/new/page.js +1 -0
- package/.next/server/app/[locale]/agents/new/page.js.nft.json +1 -0
- package/.next/server/app/[locale]/agents/new/page_client-reference-manifest.js +1 -0
- package/.next/server/app/[locale]/agents/page.js +1 -0
- package/.next/server/app/[locale]/agents/page.js.nft.json +1 -0
- package/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -0
- package/.next/server/app/[locale]/knowledge/page.js +1 -0
- package/.next/server/app/[locale]/knowledge/page.js.nft.json +1 -0
- package/.next/server/app/[locale]/knowledge/page_client-reference-manifest.js +1 -0
- package/.next/server/app/[locale]/page.js +1 -0
- package/.next/server/app/[locale]/page.js.nft.json +1 -0
- package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -0
- package/.next/server/app/[locale]/settings/page.js +1 -0
- package/.next/server/app/[locale]/settings/page.js.nft.json +1 -0
- package/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -0
- package/.next/server/app/_not-found/page.js +1 -0
- package/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
- package/.next/server/app/_not-found.html +1 -0
- package/.next/server/app/_not-found.meta +8 -0
- package/.next/server/app/_not-found.rsc +12 -0
- package/.next/server/app/api/agents/[id]/route.js +1 -0
- package/.next/server/app/api/agents/[id]/route.js.nft.json +1 -0
- package/.next/server/app/api/agents/[id]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/agents/route.js +1 -0
- package/.next/server/app/api/agents/route.js.nft.json +1 -0
- package/.next/server/app/api/agents/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/auth-config/test/route.js +1 -0
- package/.next/server/app/api/auth-config/test/route.js.nft.json +1 -0
- package/.next/server/app/api/auth-config/test/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/bash-output/route.js +1 -0
- package/.next/server/app/api/bash-output/route.js.nft.json +1 -0
- package/.next/server/app/api/bash-output/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/chat/[agentId]/route.js +5 -0
- package/.next/server/app/api/chat/[agentId]/route.js.nft.json +1 -0
- package/.next/server/app/api/chat/[agentId]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/env-vars/[key]/route.js +1 -0
- package/.next/server/app/api/env-vars/[key]/route.js.nft.json +1 -0
- package/.next/server/app/api/env-vars/[key]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/env-vars/route.js +1 -0
- package/.next/server/app/api/env-vars/route.js.nft.json +1 -0
- package/.next/server/app/api/env-vars/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/env-vars/scan/route.js +1 -0
- package/.next/server/app/api/env-vars/scan/route.js.nft.json +1 -0
- package/.next/server/app/api/env-vars/scan/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/file-serve/route.js +1 -0
- package/.next/server/app/api/file-serve/route.js.nft.json +1 -0
- package/.next/server/app/api/file-serve/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/fs/browse/route.js +1 -0
- package/.next/server/app/api/fs/browse/route.js.nft.json +1 -0
- package/.next/server/app/api/fs/browse/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/knowledge/[id]/documents/[docId]/route.js +60 -0
- package/.next/server/app/api/knowledge/[id]/documents/[docId]/route.js.nft.json +1 -0
- package/.next/server/app/api/knowledge/[id]/documents/[docId]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/knowledge/[id]/route.js +1 -0
- package/.next/server/app/api/knowledge/[id]/route.js.nft.json +1 -0
- package/.next/server/app/api/knowledge/[id]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/knowledge/[id]/upload/route.js +62 -0
- package/.next/server/app/api/knowledge/[id]/upload/route.js.nft.json +1 -0
- package/.next/server/app/api/knowledge/[id]/upload/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/knowledge/route.js +1 -0
- package/.next/server/app/api/knowledge/route.js.nft.json +1 -0
- package/.next/server/app/api/knowledge/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/knowledge/search/route.js +1 -0
- package/.next/server/app/api/knowledge/search/route.js.nft.json +1 -0
- package/.next/server/app/api/knowledge/search/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/models/route.js +1 -0
- package/.next/server/app/api/models/route.js.nft.json +1 -0
- package/.next/server/app/api/models/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/models-config/route.js +1 -0
- package/.next/server/app/api/models-config/route.js.nft.json +1 -0
- package/.next/server/app/api/models-config/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/models-config/test/route.js +1 -0
- package/.next/server/app/api/models-config/test/route.js.nft.json +1 -0
- package/.next/server/app/api/models-config/test/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/sessions/[agentId]/[sessionId]/route.js +1 -0
- package/.next/server/app/api/sessions/[agentId]/[sessionId]/route.js.nft.json +1 -0
- package/.next/server/app/api/sessions/[agentId]/[sessionId]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/sessions/[agentId]/route.js +1 -0
- package/.next/server/app/api/sessions/[agentId]/route.js.nft.json +1 -0
- package/.next/server/app/api/sessions/[agentId]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/sessions/history/route.js +1 -0
- package/.next/server/app/api/sessions/history/route.js.nft.json +1 -0
- package/.next/server/app/api/sessions/history/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/settings/route.js +1 -0
- package/.next/server/app/api/settings/route.js.nft.json +1 -0
- package/.next/server/app/api/settings/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/skills/[name]/route.js +1 -0
- package/.next/server/app/api/skills/[name]/route.js.nft.json +1 -0
- package/.next/server/app/api/skills/[name]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/skills/install/route.js +1 -0
- package/.next/server/app/api/skills/install/route.js.nft.json +1 -0
- package/.next/server/app/api/skills/install/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/skills/route.js +1 -0
- package/.next/server/app/api/skills/route.js.nft.json +1 -0
- package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/skills/search/route.js +1 -0
- package/.next/server/app/api/skills/search/route.js.nft.json +1 -0
- package/.next/server/app/api/skills/search/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/tts/route.js +8 -0
- package/.next/server/app/api/tts/route.js.nft.json +1 -0
- package/.next/server/app/api/tts/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/voice-provider/route.js +1 -0
- package/.next/server/app/api/voice-provider/route.js.nft.json +1 -0
- package/.next/server/app/api/voice-provider/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/workspace-files/route.js +1 -0
- package/.next/server/app/api/workspace-files/route.js.nft.json +1 -0
- package/.next/server/app/api/workspace-files/route_client-reference-manifest.js +1 -0
- package/.next/server/app/index.html +1 -0
- package/.next/server/app/index.meta +9 -0
- package/.next/server/app/index.rsc +13 -0
- package/.next/server/app/page.js +1 -0
- package/.next/server/app/page.js.nft.json +1 -0
- package/.next/server/app/page_client-reference-manifest.js +1 -0
- package/.next/server/app-paths-manifest.json +40 -0
- package/.next/server/chunks/1285.js +1 -0
- package/.next/server/chunks/2112.js +1 -0
- package/.next/server/chunks/2961.js +1 -0
- package/.next/server/chunks/3651.js +1 -0
- package/.next/server/chunks/407.js +1 -0
- package/.next/server/chunks/4125.js +1 -0
- package/.next/server/chunks/4127.js +1 -0
- package/.next/server/chunks/4907.js +1 -0
- package/.next/server/chunks/5051.js +1 -0
- package/.next/server/chunks/5452.js +1 -0
- package/.next/server/chunks/5994.js +13 -0
- package/.next/server/chunks/6777.js +1 -0
- package/.next/server/chunks/7368.js +1 -0
- package/.next/server/chunks/7627.js +6 -0
- package/.next/server/chunks/763.js +1 -0
- package/.next/server/chunks/7682.js +1 -0
- package/.next/server/chunks/8403.js +3 -0
- package/.next/server/chunks/8405.js +12 -0
- package/.next/server/chunks/9251.js +1 -0
- package/.next/server/edge-runtime-webpack.js +2 -0
- package/.next/server/edge-runtime-webpack.js.map +1 -0
- package/.next/server/functions-config-manifest.json +1 -0
- package/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/.next/server/middleware-build-manifest.js +1 -0
- package/.next/server/middleware-manifest.json +32 -0
- package/.next/server/middleware-react-loadable-manifest.js +1 -0
- package/.next/server/next-font-manifest.js +1 -0
- package/.next/server/next-font-manifest.json +1 -0
- package/.next/server/pages/404.html +1 -0
- package/.next/server/pages/500.html +1 -0
- package/.next/server/pages/_app.js +1 -0
- package/.next/server/pages/_app.js.nft.json +1 -0
- package/.next/server/pages/_document.js +1 -0
- package/.next/server/pages/_document.js.nft.json +1 -0
- package/.next/server/pages/_error.js +1 -0
- package/.next/server/pages/_error.js.nft.json +1 -0
- package/.next/server/pages-manifest.json +1 -0
- package/.next/server/server-reference-manifest.js +1 -0
- package/.next/server/server-reference-manifest.json +1 -0
- package/.next/server/src/middleware.js +14 -0
- package/.next/server/src/middleware.js.map +1 -0
- package/.next/server/webpack-runtime.js +1 -0
- package/.next/static/VoyTtGCQMPGM_4nEMWYg5/_buildManifest.js +1 -0
- package/.next/static/VoyTtGCQMPGM_4nEMWYg5/_ssgManifest.js +1 -0
- package/.next/static/chunks/1517-9c89c425ac486877.js +2 -0
- package/.next/static/chunks/1868-9f3e42aa5a6ea9d2.js +1 -0
- package/.next/static/chunks/2733-714d0e6cd51477c7.js +1 -0
- package/.next/static/chunks/3259-52b0aabc8fbba4a9.js +1 -0
- package/.next/static/chunks/3923-e04a628626d77a16.js +1 -0
- package/.next/static/chunks/4bd1b696-c90310bf0ab1fbc7.js +1 -0
- package/.next/static/chunks/5663-7b816438e0166950.js +1 -0
- package/.next/static/chunks/6742-ad22486f7c4c8592.js +1 -0
- package/.next/static/chunks/7200-c9c613d1b11207fb.js +1 -0
- package/.next/static/chunks/8173-6258ed62b7084bda.js +1 -0
- package/.next/static/chunks/8313-cd4e4ad40e185f1c.js +1 -0
- package/.next/static/chunks/app/[locale]/agents/[id]/chat/page-95dc12875cda0b9c.js +1 -0
- package/.next/static/chunks/app/[locale]/agents/[id]/edit/page-8d0cc73c7aff7774.js +1 -0
- package/.next/static/chunks/app/[locale]/agents/new/page-aeaa197c0ccfd2f9.js +1 -0
- package/.next/static/chunks/app/[locale]/agents/page-243c454594122944.js +1 -0
- package/.next/static/chunks/app/[locale]/knowledge/page-7b4b6aa0a07d7da3.js +1 -0
- package/.next/static/chunks/app/[locale]/layout-48d759d6db5dd8ae.js +1 -0
- package/.next/static/chunks/app/[locale]/page-b9ea4f8cf8aeb0f1.js +1 -0
- package/.next/static/chunks/app/[locale]/settings/page-71d67c3b9f712584.js +1 -0
- package/.next/static/chunks/app/_not-found/page-f97d2843fca4f7e9.js +1 -0
- package/.next/static/chunks/app/api/agents/[id]/route-2c9f12e90dc8bc05.js +1 -0
- package/.next/static/chunks/app/api/agents/route-e227ba4be09c8ea2.js +1 -0
- package/.next/static/chunks/app/api/auth-config/test/route-1a6a754ae71e89f0.js +1 -0
- package/.next/static/chunks/app/api/bash-output/route-0bfb3c0f9ff5859a.js +1 -0
- package/.next/static/chunks/app/api/chat/[agentId]/route-f7318b5c8e97f243.js +1 -0
- package/.next/static/chunks/app/api/env-vars/[key]/route-567c08ee1be81799.js +1 -0
- package/.next/static/chunks/app/api/env-vars/route-146d3ab2015e6fe6.js +1 -0
- package/.next/static/chunks/app/api/env-vars/scan/route-2910d42f96d76168.js +1 -0
- package/.next/static/chunks/app/api/file-serve/route-76913780801418d4.js +1 -0
- package/.next/static/chunks/app/api/fs/browse/route-85da11c8b91bfc41.js +1 -0
- package/.next/static/chunks/app/api/knowledge/[id]/documents/[docId]/route-db2e1804b71004c5.js +1 -0
- package/.next/static/chunks/app/api/knowledge/[id]/route-501735d3dfb2e743.js +1 -0
- package/.next/static/chunks/app/api/knowledge/[id]/upload/route-fb036c262ee843f0.js +1 -0
- package/.next/static/chunks/app/api/knowledge/route-f5adfe5daf2e157c.js +1 -0
- package/.next/static/chunks/app/api/knowledge/search/route-54c8135ac355fe2e.js +1 -0
- package/.next/static/chunks/app/api/models/route-9e102c5352543aea.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-ad2d0c9262659d68.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-272aea5aa29f1429.js +1 -0
- package/.next/static/chunks/app/api/sessions/[agentId]/[sessionId]/route-4ed9dc6ddb3b98da.js +1 -0
- package/.next/static/chunks/app/api/sessions/[agentId]/route-2fa7611378376ed4.js +1 -0
- package/.next/static/chunks/app/api/sessions/history/route-5a455eb0be9b3a33.js +1 -0
- package/.next/static/chunks/app/api/settings/route-969f9ac513905ffe.js +1 -0
- package/.next/static/chunks/app/api/skills/[name]/route-7df36eded75e7234.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-0ab555085d740ab8.js +1 -0
- package/.next/static/chunks/app/api/skills/route-e5affcfa067cf550.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-b5b24854e46bb392.js +1 -0
- package/.next/static/chunks/app/api/tts/route-8186cb3d5316250e.js +1 -0
- package/.next/static/chunks/app/api/voice-provider/route-df0bb3cf19b0296c.js +1 -0
- package/.next/static/chunks/app/api/workspace-files/route-2abf9592333cfebc.js +1 -0
- package/.next/static/chunks/app/layout-4af7a40b1f262149.js +1 -0
- package/.next/static/chunks/app/page-6c018b7c1e2b97bc.js +1 -0
- package/.next/static/chunks/framework-a08059d19b5ea91c.js +1 -0
- package/.next/static/chunks/main-294df54c69003650.js +1 -0
- package/.next/static/chunks/main-app-07be5f69ef8a336a.js +1 -0
- package/.next/static/chunks/pages/_app-00b41aece417ee52.js +1 -0
- package/.next/static/chunks/pages/_error-6b43ce36a8d09a61.js +1 -0
- package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/.next/static/chunks/webpack-9b9d7723f8078270.js +1 -0
- package/.next/static/css/632ce3b5496b50af.css +1 -0
- package/.next/static/css/7e7d96b1e6991756.css +1 -0
- package/.next/static/media/19cfc7226ec3afaa-s.woff2 +0 -0
- package/.next/static/media/21350d82a1f187e9-s.woff2 +0 -0
- package/.next/static/media/8e9860b6e62d6359-s.woff2 +0 -0
- package/.next/static/media/ba9851c3c22cd980-s.woff2 +0 -0
- package/.next/static/media/c5fe6dc8356a8c31-s.woff2 +0 -0
- package/.next/static/media/df0a9ae256c0569c-s.woff2 +0 -0
- package/.next/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
- package/.next/trace +35 -0
- package/.next/types/app/[locale]/agents/[id]/chat/page.ts +84 -0
- package/.next/types/app/[locale]/agents/[id]/edit/page.ts +84 -0
- package/.next/types/app/[locale]/agents/new/page.ts +84 -0
- package/.next/types/app/[locale]/agents/page.ts +84 -0
- package/.next/types/app/[locale]/knowledge/page.ts +84 -0
- package/.next/types/app/[locale]/page.ts +84 -0
- package/.next/types/app/[locale]/settings/page.ts +84 -0
- package/.next/types/app/api/agents/[id]/route.ts +347 -0
- package/.next/types/app/api/agents/route.ts +347 -0
- package/.next/types/app/api/auth-config/test/route.ts +347 -0
- package/.next/types/app/api/bash-output/route.ts +347 -0
- package/.next/types/app/api/chat/[agentId]/route.ts +347 -0
- package/.next/types/app/api/env-vars/[key]/route.ts +347 -0
- package/.next/types/app/api/env-vars/route.ts +347 -0
- package/.next/types/app/api/env-vars/scan/route.ts +347 -0
- package/.next/types/app/api/file-serve/route.ts +347 -0
- package/.next/types/app/api/fs/browse/route.ts +347 -0
- package/.next/types/app/api/knowledge/[id]/documents/[docId]/route.ts +347 -0
- package/.next/types/app/api/knowledge/[id]/route.ts +347 -0
- package/.next/types/app/api/knowledge/[id]/upload/route.ts +347 -0
- package/.next/types/app/api/knowledge/route.ts +347 -0
- package/.next/types/app/api/knowledge/search/route.ts +347 -0
- package/.next/types/app/api/models/route.ts +347 -0
- package/.next/types/app/api/models-config/route.ts +347 -0
- package/.next/types/app/api/models-config/test/route.ts +347 -0
- package/.next/types/app/api/sessions/[agentId]/[sessionId]/route.ts +347 -0
- package/.next/types/app/api/sessions/[agentId]/route.ts +347 -0
- package/.next/types/app/api/sessions/history/route.ts +347 -0
- package/.next/types/app/api/settings/route.ts +347 -0
- package/.next/types/app/api/skills/[name]/route.ts +347 -0
- package/.next/types/app/api/skills/install/route.ts +347 -0
- package/.next/types/app/api/skills/route.ts +347 -0
- package/.next/types/app/api/skills/search/route.ts +347 -0
- package/.next/types/app/api/tts/route.ts +347 -0
- package/.next/types/app/api/voice-provider/route.ts +347 -0
- package/.next/types/app/api/workspace-files/route.ts +347 -0
- package/.next/types/app/layout.ts +84 -0
- package/.next/types/app/page.ts +84 -0
- package/.next/types/cache-life.d.ts +141 -0
- package/.next/types/package.json +1 -0
- package/bin/dap.js +85 -0
- package/package.json +15 -1
- package/src/types/agent.ts +4 -0
- package/eslint.config.mjs +0 -20
- package/next-env.d.ts +0 -5
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
(()=>{var e={};e.id=7680,e.ids=[7680],e.modules={8431:(e,t,r)=>{var n={"./v1.10.100/build/pdf.js":4784,"./v1.10.88/build/pdf.js":61675,"./v1.9.426/build/pdf.js":97075,"./v2.0.550/build/pdf.js":69455};function i(e){return r(a(e))}function a(e){if(!r.o(n,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=a,e.exports=i,i.id=8431},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},79428:e=>{"use strict";e.exports=require("buffer")},55511:e=>{"use strict";e.exports=require("crypto")},94735:e=>{"use strict";e.exports=require("events")},29021:e=>{"use strict";e.exports=require("fs")},81630:e=>{"use strict";e.exports=require("http")},55591:e=>{"use strict";e.exports=require("https")},79868:e=>{"use strict";e.exports=require("node:sqlite")},21820:e=>{"use strict";e.exports=require("os")},33873:e=>{"use strict";e.exports=require("path")},27910:e=>{"use strict";e.exports=require("stream")},79551:e=>{"use strict";e.exports=require("url")},28354:e=>{"use strict";e.exports=require("util")},74075:e=>{"use strict";e.exports=require("zlib")},31824:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>D,routeModule:()=>x,serverHooks:()=>T,workAsyncStorage:()=>S,workUnitAsyncStorage:()=>w});var n={};r.r(n),r.d(n,{POST:()=>y,dynamic:()=>v});var i=r(42706),a=r(28203),o=r(45994),s=r(39187),c=r(5144),l=r(14705),u=r(17687),d=r(48590),h=r(33873),f=r.n(h),p=r(29021),g=r.n(p),m=r(21820),b=r.n(m);let v="force-dynamic";async function y(e,{params:t}){let{id:r}=await t;if(!c.d.getById(r))return s.NextResponse.json({error:"Not found"},{status:404});let n=(await e.formData()).get("file");if(!n)return s.NextResponse.json({error:"No file"},{status:400});let i=f().join(b().homedir(),".digital-agents","uploads",r);g().existsSync(i)||g().mkdirSync(i,{recursive:!0});let a=f().join(i,n.name),o=await n.arrayBuffer();g().writeFileSync(a,Buffer.from(o));let l=c.d.createDocument(r,n.name,a,n.type);return _(r,l,a,n.name,n.type).catch(e=>{c.d.updateDocumentStatus(l,"error",0,String(e))}),s.NextResponse.json({docId:l,status:"processing"},{status:202})}async function _(e,t,r,n,i){let a=function(e,t){let r=e.split(/\n{2,}/).map(e=>e.trim()).filter(Boolean),n=[],i="",a=0;for(let e of r)(i+"\n\n"+e).length>1900&&i.length>0?(n.push({content:i.trim(),metadata:{...t,chunkIndex:a}}),a++,i=i.slice(-200)+"\n\n"+e):i=i?i+"\n\n"+e:e;return i.trim()&&n.push({content:i.trim(),metadata:{...t,chunkIndex:a}}),n}(await A(r,i),{filename:n}),o=0;for(let r of a){let n=await (0,l.V)(r.content);(0,u.FB)(e,t,r.content,n,r.metadata),o++}c.d.updateDocumentStatus(t,"ready",o)}async function A(e,t){let n=f().extname(e).toLowerCase();if(".pdf"===n){let t=r(27431),n=g().readFileSync(e);return(await t(n)).text}if(".docx"===n||t.includes("wordprocessingml")){let t=r(42030);return(await t.extractRawText({path:e})).value}return g().readFileSync(e,"utf-8")}(0,d.O)();let x=new i.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/knowledge/[id]/upload/route",pathname:"/api/knowledge/[id]/upload",filename:"route",bundlePath:"app/api/knowledge/[id]/upload/route"},resolvedPagePath:"/Users/duan/files/pi-web/digital-agent-platform/src/app/api/knowledge/[id]/upload/route.ts",nextConfigOutput:"",userland:n}),{workAsyncStorage:S,workUnitAsyncStorage:w,serverHooks:T}=x;function D(){return(0,o.patchFetch)({workAsyncStorage:S,workUnitAsyncStorage:w})}},96487:()=>{},78335:()=>{},28842:(e,t)=>{"use strict";function r(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var n=r({HTML:"text/html",isHTML:function(e){return e===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw TypeError("target is not an object");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.find=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n<e.length;n++)if(Object.prototype.hasOwnProperty.call(e,n)){var i=e[n];if(t.call(void 0,i,n,e))return i}},t.freeze=r,t.MIME_TYPE=n,t.NAMESPACE=i},46800:(e,t,r)=>{var n=r(28842),i=r(28446),a=r(667),o=r(56014),s=i.DOMImplementation,c=n.NAMESPACE,l=o.ParseError,u=o.XMLReader;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function h(e){this.options=e||{locator:{}}}function f(){this.cdata=!1}function p(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function g(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function m(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function b(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}h.prototype.parseFromString=function(e,t){var r=this.options,n=new u,i=r.domBuilder||new f,o=r.errorHandler,s=r.locator,l=r.xmlns||{},h=/\/x?html?$/.test(t),p=h?a.HTML_ENTITIES:a.XML_ENTITIES;s&&i.setDocumentLocator(s),n.errorHandler=function(e,t,r){if(!e){if(t instanceof f)return t;e=t}var n={},i=e instanceof Function;function a(t){var a=e[t];!a&&i&&(a=2==e.length?function(r){e(t,r)}:e),n[t]=a&&function(e){a("[xmldom "+t+"] "+e+g(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(o,i,s),n.domBuilder=r.domBuilder||i,h&&(l[""]=c.HTML),l.xml=l.xml||c.XML;var m=r.normalizeLineEndings||d;return e&&"string"==typeof e?n.parse(m(e),l,p):n.errorHandler.error("invalid doc source"),i.doc},f.prototype={startDocument:function(){this.doc=new s().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,n){var i=this.doc,a=i.createElementNS(e,r||t),o=n.length;b(this,a),this.currentElement=a,this.locator&&p(this.locator,a);for(var s=0;s<o;s++){var e=n.getURI(s),c=n.getValue(s),r=n.getQName(s),l=i.createAttributeNS(e,r);this.locator&&p(n.getLocator(s),l),l.value=l.nodeValue=c,a.setAttributeNode(l)}},endElement:function(e,t,r){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&p(this.locator,r),b(this,r)},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=m.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else var n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&p(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,r){e=m.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&p(this.locator,n),b(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var i=n.createDocumentType(e,t,r);this.locator&&p(this.locator,i),b(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning] "+e,g(this.locator))},error:function(e){console.error("[xmldom error] "+e,g(this.locator))},fatalError:function(e){throw new l(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){f.prototype[e]=function(){return null}}),t.DOMParser=h},28446:(e,t,r)=>{var n=r(28842),i=n.find,a=n.NAMESPACE;function o(e){return""!==e}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function c(e){return e?Object.keys((e?e.split(/[\t\n\f\r ]+/).filter(o):[]).reduce(s,{})):[]}function l(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function u(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,l(r,n=new n),e.prototype=r=n}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e)}var d={},h=d.ELEMENT_NODE=1,f=d.ATTRIBUTE_NODE=2,p=d.TEXT_NODE=3,g=d.CDATA_SECTION_NODE=4,m=d.ENTITY_REFERENCE_NODE=5,b=d.ENTITY_NODE=6,v=d.PROCESSING_INSTRUCTION_NODE=7,y=d.COMMENT_NODE=8,_=d.DOCUMENT_NODE=9,A=d.DOCUMENT_TYPE_NODE=10,x=d.DOCUMENT_FRAGMENT_NODE=11,S=d.NOTATION_NODE=12,w={},T={};w.INDEX_SIZE_ERR=(T[1]="Index size error",1),w.DOMSTRING_SIZE_ERR=(T[2]="DOMString size error",2);var D=w.HIERARCHY_REQUEST_ERR=(T[3]="Hierarchy request error",3);w.WRONG_DOCUMENT_ERR=(T[4]="Wrong document",4);var C=w.INVALID_CHARACTER_ERR=(T[5]="Invalid character",5);w.NO_DATA_ALLOWED_ERR=(T[6]="No data allowed",6),w.NO_MODIFICATION_ALLOWED_ERR=(T[7]="No modification allowed",7);var k=w.NOT_FOUND_ERR=(T[8]="Not found",8);w.NOT_SUPPORTED_ERR=(T[9]="Not supported",9);var E=w.INUSE_ATTRIBUTE_ERR=(T[10]="Attribute in use",10),P=w.INVALID_STATE_ERR=(T[11]="Invalid state",11);function R(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,T[e]),this.message=T[e],Error.captureStackTrace&&Error.captureStackTrace(this,R);return r.code=e,t&&(this.message=this.message+": "+t),r}function F(){}function U(e,t){this._node=e,this._refresh=t,O(this)}function O(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(ey(e,"length",r.length),!e.$$length||r.length<e.$$length)for(var n=r.length;n in e;n++)Object.prototype.hasOwnProperty.call(e,n)&&delete e[n];l(r,e),e._inc=t}}function I(){}function L(e,t){for(var r=e.length;r--;)if(e[r]===t)return r}function N(e,t,r,n){if(n?t[L(t,n)]=r:t[t.length++]=r,e){r.ownerElement=e;var i=e.ownerDocument;i&&(n&&G(i,e,n),i&&i._inc++,r.namespaceURI===a.XMLNS&&(e._nsMap[r.prefix?r.localName:""]=r.value))}}function j(e,t,r){var n=L(t,r);if(n>=0){for(var i=t.length-1;n<i;)t[n]=t[++n];if(t.length=i,e){var a=e.ownerDocument;a&&(G(a,e,r),r.ownerElement=null)}}else throw new R(k,Error(e.tagName+"@"+r))}function M(){}function W(){}function q(e){return"<"==e&&"<"||">"==e&&">"||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function B(e,t){return z(e,null,{enter:function(e){return!t(e)||z.STOP}})===z.STOP}function z(e,t,r){for(var n=[{node:e,context:t,phase:z.ENTER}];n.length>0;){var i=n.pop();if(i.phase===z.ENTER){var a=r.enter(i.node,i.context);if(a===z.STOP)return z.STOP;if(n.push({node:i.node,context:a,phase:z.EXIT}),null==a)continue;for(var o=i.node.lastChild;o;)n.push({node:o,context:a,phase:z.ENTER}),o=o.previousSibling}else r.exit&&r.exit(i.node,i.context)}}function H(){this.ownerDocument=this}function G(e,t,r,n){e&&e._inc++,r.namespaceURI===a.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function X(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var i=t.firstChild,a=0;i;)n[a++]=i,i=i.nextSibling;n.length=a,delete n[n.length]}}}function V(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,X(e.ownerDocument,e),t}function Y(e){return e&&e.nodeType===W.DOCUMENT_TYPE_NODE}function Q(e){return e&&e.nodeType===W.ELEMENT_NODE}function J(e){return e&&e.nodeType===W.TEXT_NODE}function K(e,t){var r=e.childNodes||[];if(i(r,Q)||Y(t))return!1;var n=i(r,Y);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function Z(e,t){var r=e.childNodes||[];if(i(r,function(e){return Q(e)&&e!==t}))return!1;var n=i(r,Y);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function $(e,t,r){var n=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===W.DOCUMENT_FRAGMENT_NODE){var o=a.filter(Q);if(o.length>1||i(a,J))throw new R(D,"More than one element or text in fragment");if(1===o.length&&!Z(e,r))throw new R(D,"Element in fragment can not be inserted before doctype")}if(Q(t)&&!Z(e,r))throw new R(D,"Only one element can be added and only after doctype");if(Y(t)){if(i(n,function(e){return Y(e)&&e!==r}))throw new R(D,"Only one doctype is allowed");var s=i(n,Q);if(r&&n.indexOf(s)<n.indexOf(r))throw new R(D,"Doctype can only be inserted before an element")}}function ee(e,t,r,n){(function(e,t,r){if(!(e&&(e.nodeType===W.DOCUMENT_NODE||e.nodeType===W.DOCUMENT_FRAGMENT_NODE||e.nodeType===W.ELEMENT_NODE)))throw new R(D,"Unexpected parent node type "+e.nodeType);if(r&&r.parentNode!==e)throw new R(k,"child not in parent");if(!(t&&(Q(t)||J(t)||Y(t)||t.nodeType===W.DOCUMENT_FRAGMENT_NODE||t.nodeType===W.COMMENT_NODE||t.nodeType===W.PROCESSING_INSTRUCTION_NODE))||Y(t)&&e.nodeType!==W.DOCUMENT_NODE)throw new R(D,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)})(e,t,r),e.nodeType===W.DOCUMENT_NODE&&(n||function(e,t,r){var n=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===W.DOCUMENT_FRAGMENT_NODE){var o=a.filter(Q);if(o.length>1||i(a,J))throw new R(D,"More than one element or text in fragment");if(1===o.length&&!K(e,r))throw new R(D,"Element in fragment can not be inserted before doctype")}if(Q(t)&&!K(e,r))throw new R(D,"Only one element can be added and only after doctype");if(Y(t)){if(i(n,Y))throw new R(D,"Only one doctype is allowed");var s=i(n,Q);if(r&&n.indexOf(s)<n.indexOf(r))throw new R(D,"Doctype can only be inserted before an element");if(!r&&s)throw new R(D,"Doctype can not be appended since element is present")}})(e,t,r);var a=t.parentNode;if(a&&a.removeChild(t),t.nodeType===x){var o=t.firstChild;if(null==o)return t;var s=t.lastChild}else o=s=t;var c=r?r.previousSibling:e.lastChild;o.previousSibling=c,s.nextSibling=r,c?c.nextSibling=o:e.firstChild=o,null==r?e.lastChild=s:r.previousSibling=s;do o.parentNode=e,et(o,e.ownerDocument||e);while(o!==s&&(o=o.nextSibling));return X(e.ownerDocument||e,e),t.nodeType==x&&(t.firstChild=t.lastChild=null),t}function et(e,t){if(e.ownerDocument!==t){if(e.ownerDocument=t,e.nodeType===h&&e.attributes)for(var r=0;r<e.attributes.length;r++){var n=e.attributes.item(r);n&&(n.ownerDocument=t)}for(var i=e.firstChild;i;)et(i,t),i=i.nextSibling}}function er(){this._nsMap={}}function en(){}function ei(){}function ea(){}function eo(){}function es(){}function ec(){}function el(){}function eu(){}function ed(){}function eh(){}function ef(){}function ep(){}function eg(e,t,r){var n=!!r&&!!r.requireWellFormed,i=[],a=9==this.nodeType&&this.documentElement||this,o=a.prefix,s=a.namespaceURI;if(s&&null==o){var o=a.lookupPrefix(s);if(null==o)var c=[{namespace:s,prefix:null}]}return ev(this,i,e,t,c,n),i.join("")}function em(e,t,r){var n=e.prefix||"",i=e.namespaceURI;if(!i||"xml"===n&&i===a.XML||i===a.XMLNS)return!1;for(var o=r.length;o--;){var s=r[o];if(s.prefix===n)return s.namespace!==i}return!0}function eb(e,t,r){e.push(" ",t,'="',r.replace(/[<>&"\t\n\r]/g,q),'"')}function ev(e,t,r,n,i,o){i||(i=[]),z(e,{ns:i,isHTML:r},{enter:function(e,r){var i=r.ns,s=r.isHTML;if(n){if(!(e=n(e)))return null;if("string"==typeof e)return t.push(e),null}switch(e.nodeType){case h:var c,l=e.attributes,u=l.length,d=e.tagName;s=a.isHTML(e.namespaceURI)||s;var b=d;if(!s&&!e.prefix&&e.namespaceURI){for(var S=0;S<l.length;S++)if("xmlns"===l.item(S).name){c=l.item(S).value;break}if(!c)for(var w=i.length-1;w>=0;w--){var T=i[w];if(""===T.prefix&&T.namespace===e.namespaceURI){c=T.namespace;break}}if(c!==e.namespaceURI)for(var w=i.length-1;w>=0;w--){var T=i[w];if(T.namespace===e.namespaceURI){T.prefix&&(b=T.prefix+":"+d);break}}}t.push("<",b);for(var D=i.slice(),C=0;C<u;C++){var k=l.item(C);"xmlns"==k.prefix?D.push({prefix:k.localName,namespace:k.value}):"xmlns"==k.nodeName&&D.push({prefix:"",namespace:k.value})}for(var C=0;C<u;C++){var k=l.item(C);if(em(k,s,D)){var E=k.prefix||"",F=k.namespaceURI;eb(t,E?"xmlns:"+E:"xmlns",F),D.push({prefix:E,namespace:F})}var U=n?n(k):k;U&&("string"==typeof U?t.push(U):eb(t,U.name,U.value))}if(d===b&&em(e,s,D)){var O=e.prefix||"",F=e.namespaceURI;eb(t,O?"xmlns:"+O:"xmlns",F),D.push({prefix:O,namespace:F})}var I=e.firstChild;if(!I&&(!s||/^(?:meta|link|img|br|hr|input)$/i.test(d)))return t.push("/>"),null;if(t.push(">"),s&&/^script$/i.test(d)){for(;I;)I.data?t.push(I.data):ev(I,t,s,n,D.slice(),o),I=I.nextSibling;return t.push("</",d,">"),null}return{ns:D,isHTML:s,tag:b};case _:case x:return{ns:i.slice(),isHTML:s,tag:null};case f:return eb(t,e.name,e.value),null;case p:return t.push(e.data.replace(/[<&>]/g,q)),null;case g:if(o&&-1!==e.data.indexOf("]]>"))throw new R(P,'The CDATASection data contains "]]>"');return t.push("<![CDATA[",e.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>"),null;case y:if(o&&-1!==e.data.indexOf("--\x3e"))throw new R(P,'The comment node data contains "--\x3e"');return t.push("\x3c!--",e.data,"--\x3e"),null;case A:if(o){if(e.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(e.publicId))throw new R(P,"DocumentType publicId is not a valid PubidLiteral");if(e.systemId&&!/^("[^"]*"|'[^']*')$/.test(e.systemId))throw new R(P,"DocumentType systemId is not a valid SystemLiteral");if(e.internalSubset&&-1!==e.internalSubset.indexOf("]>"))throw new R(P,'DocumentType internalSubset contains "]>"')}var L=e.publicId,N=e.systemId;if(t.push("<!DOCTYPE ",e.name),L)t.push(" PUBLIC ",L),N&&"."!=N&&t.push(" ",N),t.push(">");else if(N&&"."!=N)t.push(" SYSTEM ",N,">");else{var j=e.internalSubset;j&&t.push(" [",j,"]"),t.push(">")}return null;case v:if(o&&-1!==e.data.indexOf("?>"))throw new R(P,'The ProcessingInstruction data contains "?>"');return t.push("<?",e.target," ",e.data,"?>"),null;case m:return t.push("&",e.nodeName,";"),null;default:return t.push("??",e.nodeName),null}},exit:function(e,r){r&&r.tag&&t.push("</",r.tag,">")}})}function ey(e,t,r){e[t]=r}w.SYNTAX_ERR=(T[12]="Syntax error",12),w.INVALID_MODIFICATION_ERR=(T[13]="Invalid modification",13),w.NAMESPACE_ERR=(T[14]="Invalid namespace",14),w.INVALID_ACCESS_ERR=(T[15]="Invalid access",15),R.prototype=Error.prototype,l(w,R),F.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t,r){for(var n=!!r&&!!r.requireWellFormed,i=[],a=0;a<this.length;a++)ev(this[a],i,e,t,null,n);return i.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},U.prototype.item=function(e){return O(this),this[e]||null},u(U,F),I.prototype={length:0,item:F.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var r=this[t];if(r.nodeName==e)return r}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new R(E);var r=this.getNamedItem(e.nodeName);return N(this._ownerElement,this,e,r),r},setNamedItemNS:function(e){var t,r=e.ownerElement;if(r&&r!=this._ownerElement)throw new R(E);return t=this.getNamedItemNS(e.namespaceURI,e.localName),N(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return j(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var r=this.getNamedItemNS(e,t);return j(this._ownerElement,this,r),r},getNamedItemNS:function(e,t){for(var r=this.length;r--;){var n=this[r];if(n.localName==t&&n.namespaceURI==e)return n}return null}},M.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,r){var n=new H;if(n.implementation=this,n.childNodes=new F,n.doctype=r||null,r&&n.appendChild(r),t){var i=n.createElementNS(e,t);n.appendChild(i)}return n},createDocumentType:function(e,t,r){var n=new ec;return n.name=e,n.nodeName=e,n.publicId=t||"",n.systemId=r||"",n}},W.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return ee(this,e,t)},replaceChild:function(e,t){ee(this,e,t,$),t&&this.removeChild(t)},removeChild:function(e){return V(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,r,n){var i;return z(r,null,{enter:function(r,a){var o=new r.constructor;for(var s in r)if(Object.prototype.hasOwnProperty.call(r,s)){var c=r[s];"object"!=typeof c&&c!=o[s]&&(o[s]=c)}r.childNodes&&(o.childNodes=new F),o.ownerDocument=t;var l=n;switch(o.nodeType){case h:var u=r.attributes,d=o.attributes=new I,p=u.length;d._ownerElement=o;for(var g=0;g<p;g++)o.setAttributeNode(e(t,u.item(g),!0));break;case f:l=!0}return null!==a?a.appendChild(o):i=o,l?o:null}}),i}(this.ownerDocument||this,this,e)},normalize:function(){z(this,null,{enter:function(e){for(var t=e.firstChild;t;){var r=t.nextSibling;null!==r&&r.nodeType===p&&t.nodeType===p?(e.removeChild(r),t.appendData(r.data)):t=r}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n}t=t.nodeType==f?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==f?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},l(d,W),l(d,W.prototype),z.STOP=Symbol("walkDOM.STOP"),z.ENTER=0,z.EXIT=1,H.prototype={nodeName:"#document",nodeType:_,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==x){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return ee(this,e,t),et(e,this),null===this.documentElement&&e.nodeType===h&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),V(this,e)},replaceChild:function(e,t){ee(this,e,t,$),et(e,this),t&&this.removeChild(t),Q(e)&&(this.documentElement=e)},importNode:function(e,t){var r,n;return r=this,z(e,null,{enter:function(e,i){var a=e.cloneNode(!1);return a.ownerDocument=r,a.parentNode=null,null===i?n=a:i.appendChild(a),e.nodeType===f||t?a:null}}),n},getElementById:function(e){var t=null;return B(this.documentElement,function(r){if(r.nodeType==h&&r.getAttribute("id")==e)return t=r,!0}),t},getElementsByClassName:function(e){var t=c(e);return new U(this,function(r){var n=[];return t.length>0&&B(r.documentElement,function(i){if(i!==r&&i.nodeType===h){var a=i.getAttribute("class");if(a){var o=e===a;if(!o){var s=c(a);o=t.every(function(e){return s&&-1!==s.indexOf(e)})}o&&n.push(i)}}}),n})},createElement:function(e){var t=new er;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new F,(t.attributes=new I)._ownerElement=t,t},createDocumentFragment:function(){var e=new eh;return e.ownerDocument=this,e.childNodes=new F,e},createTextNode:function(e){var t=new ea;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new eo;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){if(-1!==e.indexOf("]]>"))throw new R(C,'data contains "]]>"');var t=new es;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new ef;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r},createAttribute:function(e){var t=new en;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ed;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new er,n=t.split(":"),i=r.attributes=new I;return r.childNodes=new F,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,i._ownerElement=r,r},createAttributeNS:function(e,t){var r=new en,n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r}},u(H,W),er.prototype={nodeType:h,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===x?this.insertBefore(e,null):(e.parentNode&&e.parentNode.removeChild(e),e.parentNode=this,e.previousSibling=this.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:this.firstChild=e,this.lastChild=e,X(this.ownerDocument,this,e),et(e,this.ownerDocument||this),e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new U(this,function(t){var r=[];return B(t,function(n){n!==t&&n.nodeType==h&&("*"===e||n.tagName==e)&&r.push(n)}),r})},getElementsByTagNameNS:function(e,t){return new U(this,function(r){var n=[];return B(r,function(i){i!==r&&i.nodeType===h&&("*"===e||i.namespaceURI===e)&&("*"===t||i.localName==t)&&n.push(i)}),n})}},H.prototype.getElementsByTagName=er.prototype.getElementsByTagName,H.prototype.getElementsByTagNameNS=er.prototype.getElementsByTagNameNS,u(er,W),en.prototype.nodeType=f,u(en,W),ei.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw Error(T[D])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length}},u(ei,W),ea.prototype={nodeName:"#text",nodeType:p,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},u(ea,ei),eo.prototype={nodeName:"#comment",nodeType:y},u(eo,ei),es.prototype={nodeName:"#cdata-section",nodeType:g},u(es,ei),ec.prototype.nodeType=A,u(ec,W),el.prototype.nodeType=S,u(el,W),eu.prototype.nodeType=b,u(eu,W),ed.prototype.nodeType=m,u(ed,W),eh.prototype.nodeName="#document-fragment",eh.prototype.nodeType=x,u(eh,W),ef.prototype.nodeType=v,u(ef,W),ep.prototype.serializeToString=function(e,t,r,n){return eg.call(e,t,r,n)},W.prototype.toString=eg;try{Object.defineProperty&&(Object.defineProperty(U.prototype,"length",{get:function(){return O(this),this.$$length}}),Object.defineProperty(W.prototype,"textContent",{get:function(){if(this.nodeType===h||this.nodeType===x){var e=[];return z(this,null,{enter:function(t){return t.nodeType===h||t.nodeType===x||(t.nodeType===v||t.nodeType===y?null:void e.push(t.nodeValue))}}),e.join("")}return this.nodeValue},set:function(e){switch(this.nodeType){case h:case x:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),ey=function(e,t,r){e["$$"+t]=r})}catch(e){}t.DocumentType=ec,t.DOMException=R,t.DOMImplementation=M,t.Element=er,t.Node=W,t.NodeList=F,t.walkDOM=z,t.XMLSerializer=ep},667:(e,t,r)=>{"use strict";var n=r(28842).freeze;t.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=n({Aacute:"\xc1",aacute:"\xe1",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"А",acy:"а",AElig:"\xc6",aelig:"\xe6",af:"",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"\xc0",agrave:"\xe0",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"\xc5",aring:"\xe5",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"\xa6",Bscr:"ℬ",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",CenterDot:"\xb7",centerdot:"\xb7",Cfr:"ℭ",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"\xae",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"\xa9",copy:"\xa9",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"\xb0",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"\xa8",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"\xc9",eacute:"\xe9",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"\xca",ecirc:"\xea",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"⪚",Egrave:"\xc8",egrave:"\xe8",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"\xbd",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"\xcd",iacute:"\xed",ic:"",Icirc:"\xce",icirc:"\xee",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"\xa1",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",Igrave:"\xcc",igrave:"\xec",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"\xbf",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"\xcf",iuml:"\xef",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"\xab",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:"\xa0",Nopf:"ℕ",nopf:"\uD835\uDD5F",Not:"⫬",not:"\xac",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"\xd3",oacute:"\xf3",oast:"⊛",ocir:"⊚",Ocirc:"\xd4",ocirc:"\xf4",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"\xd2",ograve:"\xf2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",oscr:"ℴ",Oslash:"\xd8",oslash:"\xf8",osol:"⊘",Otilde:"\xd5",otilde:"\xf5",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"\xd6",ouml:"\xf6",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"\uD835\uDD61",pound:"\xa3",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"\xae",reg:"\xae",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"\xad",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"\xde",thorn:"\xfe",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"\xda",uacute:"\xfa",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"\xa8",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"\xdc",uuml:"\xfc",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"\xdd",yacute:"\xfd",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"\xa5",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"\xff",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"",zwnj:""}),t.entityMap=t.HTML_ENTITIES},7502:(e,t,r)=>{var n=r(28446);t.DOMImplementation=n.DOMImplementation,t.XMLSerializer=n.XMLSerializer,t.DOMParser=r(46800).DOMParser},56014:(e,t,r)=>{var n=r(28842).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function c(){}function l(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function u(e,t,r){for(var i=e.tagName,a=null,o=e.length;o--;){var s=e[o],c=s.qName,l=s.value,u=c.indexOf(":");if(u>0)var h=s.prefix=c.slice(0,u),f=c.slice(u+1),p="xmlns"===h&&f;else f=c,h=null,p="xmlns"===c&&"";s.localName=f,!1!==p&&(null==a&&(a={},d(r,r={})),r[p]=a[p]=l,s.uri=n.XMLNS,t.startPrefixMapping(p,l))}for(var o=e.length;o--;){var h=(s=e[o]).prefix;h&&("xml"===h&&(s.uri=n.XML),"xmlns"!==h&&(s.uri=r[h||""]))}var u=i.indexOf(":");u>0?(h=e.prefix=i.slice(0,u),f=e.localName=i.slice(u+1)):(h=null,f=e.localName=i);var g=e.uri=r[h||""];if(t.startElement(g,f,i,e),!e.closed)return e.currentNSMap=r,e.localNSMap=a,!0;if(t.endElement(g,f,i),a)for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&t.endPrefixMapping(h)}function d(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function h(){this.attributeNames={}}s.prototype=Error(),s.prototype.name=s.name,c.prototype={parse:function(e,t,r){var i=this.domBuilder;i.startDocument(),d(t,t={}),function(e,t,r,i,a){function o(e){var t,n=e.slice(1,-1);return Object.hasOwnProperty.call(r,n)?r[n]:"#"!==n.charAt(0)?(a.error("entity not found:"+e),e):(t=parseInt(n.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((t-=65536)>>10),56320+(1023&t)):String.fromCharCode(t)}function c(t){if(t>y){var r=e.substring(y,t).replace(/&#?\w+;/g,o);m&&d(y),i.characters(r,0,t-y),y=t}}function d(t,r){for(;t>=p&&(r=g.exec(e));)p=(f=r.index)+r[0].length,m.lineNumber++;m.columnNumber=t-f+1}for(var f=0,p=0,g=/.*(?:\r\n?|\n)|.*$/g,m=i.locator,b=[{currentNSMap:t}],v={},y=0;;){try{var _=e.indexOf("<",y);if(_<0){if(!e.substr(y).match(/^\s*$/)){var A=i.doc,x=A.createTextNode(e.substr(y));A.appendChild(x),i.currentElement=x}return}switch(_>y&&c(_),e.charAt(_+1)){case"/":var S=e.indexOf(">",_+3),w=e.substring(_+2,S).replace(/[ \t\n\r]+$/g,""),T=b.pop();S<0?(w=e.substring(_+2).replace(/[\s<].*/,""),a.error("end tag name: "+w+" is not complete:"+T.tagName),S=_+1+w.length):w.match(/\s</)&&(w=w.replace(/[\s<].*/,""),a.error("end tag name: "+w+" maybe not complete"),S=_+1+w.length);var D=T.localNSMap,C=T.tagName==w;if(C||T.tagName&&T.tagName.toLowerCase()==w.toLowerCase()){if(i.endElement(T.uri,T.localName,w),D)for(var k in D)Object.prototype.hasOwnProperty.call(D,k)&&i.endPrefixMapping(k);C||a.fatalError("end tag name: "+w+" is not match the current start tagName:"+T.tagName)}else b.push(T);S++;break;case"?":m&&d(_),S=function(e,t,r){var n=e.indexOf("?>",t);if(n){var i=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)$/);if(i)return i[0].length,r.processingInstruction(i[1],i[2]),n+2}return -1}(e,_,i);break;case"!":m&&d(_),S=function(e,t,r,n){if("-"===e.charAt(t+2)){if("-"===e.charAt(t+3)){var i=e.indexOf("--\x3e",t+4);if(i>t)return r.comment(e,t+4,i-t-4),i+3;n.error("Unclosed comment")}}else{if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,i-t-9),r.endCDATA(),i+3}var a=function(e,t){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=t,i.exec(e);r=i.exec(e);)if(n.push(r),r[1])return n}(e,t),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],c=!1,l=!1;o>3&&(/^public$/i.test(a[2][0])?(c=a[3][0],l=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var u=a[o-1];return r.startDTD(s,c,l),r.endDTD(),u.index+u[0].length}}return -1}(e,_,i,a);break;default:m&&d(_);var E=new h,P=b[b.length-1].currentNSMap,S=function(e,t,r,i,a,o){function s(e,t,n){r.attributeNames.hasOwnProperty(e)&&o.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),n)}for(var c,l,u=++t,d=0;;){var h=e.charAt(u);switch(h){case"=":if(1===d)c=e.slice(t,u),d=3;else if(2===d)d=3;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(3===d||1===d){if(1===d&&(o.warning('attribute value must after "="'),c=e.slice(t,u)),t=u+1,(u=e.indexOf(h,t))>0)s(c,l=e.slice(t,u),t-1),d=5;else throw Error("attribute value no end '"+h+"' match")}else if(4==d)s(c,l=e.slice(t,u),t),o.warning('attribute "'+c+'" missed start quot('+h+")!!"),t=u+1,d=5;else throw Error('attribute value must after "="');break;case"/":switch(d){case 0:r.setTagName(e.slice(t,u));case 5:case 6:case 7:d=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==d&&r.setTagName(e.slice(t,u)),u;case">":switch(d){case 0:r.setTagName(e.slice(t,u));case 5:case 6:case 7:break;case 4:case 1:"/"===(l=e.slice(t,u)).slice(-1)&&(r.closed=!0,l=l.slice(0,-1));case 2:2===d&&(l=c),4==d?(o.warning('attribute "'+l+'" missed quot(")!'),s(c,l,t)):(n.isHTML(i[""])&&l.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),s(l,l,t));break;case 3:throw Error("attribute value missed!!")}return u;case"\x80":h=" ";default:if(h<=" ")switch(d){case 0:r.setTagName(e.slice(t,u)),d=6;break;case 1:c=e.slice(t,u),d=2;break;case 4:var l=e.slice(t,u);o.warning('attribute "'+l+'" missed quot(")!!'),s(c,l,t);case 5:d=6}else switch(d){case 2:r.tagName,n.isHTML(i[""])&&c.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+c+'" missed value!! "'+c+'" instead2!!'),s(c,c,t),t=u,d=1;break;case 5:o.warning('attribute space is required"'+c+'"!!');case 6:d=1,t=u;break;case 3:d=4,t=u;break;case 7:throw Error("elements closed character '/' and '>' must be connected to")}}u++}}(e,_,E,P,o,a),R=E.length;if(!E.closed&&function(e,t,r,n){var i=n[r];return null==i&&((i=e.lastIndexOf("</"+r+">"))<t&&(i=e.lastIndexOf("</"+r)),n[r]=i),i<t}(e,S,E.tagName,v)&&(E.closed=!0,r.nbsp||a.warning("unclosed xml attribute")),m&&R){for(var F=l(m,{}),U=0;U<R;U++){var O=E[U];d(O.offset),O.locator=l(m,{})}i.locator=F,u(E,i,P)&&b.push(E),i.locator=m}else u(E,i,P)&&b.push(E);n.isHTML(E.uri)&&!E.closed?S=function(e,t,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var a=e.indexOf("</"+r+">",t),o=e.substring(t+1,a);if(/[&<]/.test(o))return/^script$/i.test(r)||(o=o.replace(/&#?\w+;/g,n)),i.characters(o,0,o.length),a}return t+1}(e,S,E.tagName,o,i):S++}}catch(e){if(e instanceof s)throw e;a.error("element parse error: "+e),S=-1}S>y?y=S:c(Math.max(_,y)+1)}}(e,t,r,i,this.errorHandler),i.endDocument()}},h.prototype={setTagName:function(e){if(!o.test(e))throw Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,r){if(!o.test(e))throw Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=c,t.ParseError=s},26826:(e,t)=>{"use strict";t.byteLength=function(e){var t=c(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,a=c(e),o=a[0],s=a[1],l=new i((o+s)*3/4-s),u=0,d=s>0?o-4:o;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[u++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;o<s;o+=16383)a.push(function(e,t,n){for(var i,a=[],o=t;o<n;o+=3)a.push(r[(i=(e[o]<<16&0xff0000)+(e[o+1]<<8&65280)+(255&e[o+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(e,o,o+16383>s?s:o+16383));return 1===i?a.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&a.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),a.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o<s;++o)r[o]=a[o],n[a.charCodeAt(o)]=o;function c(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]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},20308:e=>{"use strict";e.exports=function(e){var t=e._SomePromiseArray;function r(e){var r=new t(e),n=r.promise();return r.setHowMany(1),r.setUnwrap(),r.init(),n}e.any=function(e){return r(e)},e.prototype.any=function(){return r(this)}}},69518:(e,t,r)=>{"use strict";try{throw Error()}catch(e){n=e}var n,i=r(457),a=r(75585),o=r(16712);function s(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new a(16),this._normalQueue=new a(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=i}function c(e,t,r){this._lateQueue.push(e,t,r),this._queueTick()}function l(e,t,r){this._normalQueue.push(e,t,r),this._queueTick()}function u(e){this._normalQueue._pushOne(e),this._queueTick()}s.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t},s.prototype.hasCustomScheduler=function(){return this._customScheduler},s.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},s.prototype.disableTrampolineIfNecessary=function(){o.hasDevTools&&(this._trampolineEnabled=!1)},s.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},s.prototype.fatalError=function(e,t){t?(process.stderr.write("Fatal "+(e instanceof Error?e.stack:e)+"\n"),process.exit(2)):this.throwLater(e)},s.prototype.throwLater=function(e,t){if(1==arguments.length&&(t=e,e=function(){throw t}),"undefined"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(e){throw Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},o.hasDevTools?(s.prototype.invokeLater=function(e,t,r){this._trampolineEnabled?c.call(this,e,t,r):this._schedule(function(){setTimeout(function(){e.call(t,r)},100)})},s.prototype.invoke=function(e,t,r){this._trampolineEnabled?l.call(this,e,t,r):this._schedule(function(){e.call(t,r)})},s.prototype.settlePromises=function(e){this._trampolineEnabled?u.call(this,e):this._schedule(function(){e._settlePromises()})}):(s.prototype.invokeLater=c,s.prototype.invoke=l,s.prototype.settlePromises=u),s.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if("function"!=typeof t){t._settlePromises();continue}var r=e.shift(),n=e.shift();t.call(r,n)}},s.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},s.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},s.prototype._reset=function(){this._isTickUsed=!1},e.exports=s,e.exports.firstLineError=n},73515:e=>{"use strict";e.exports=function(e,t,r,n){var i=!1,a=function(e,t){this._reject(t)},o=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(a,a,null,this,e)},s=function(e,t){(0x3010000&this._bitField)==0&&this._resolveCallback(t.target)},c=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(a){i||(i=!0,e.prototype._propagateFrom=n.propagateFromFunction(),e.prototype._boundValue=n.boundValueFunction());var l=r(a),u=new e(t);u._propagateFrom(this,1);var d=this._target();if(u._setBoundTo(l),l instanceof e){var h={promiseRejectionQueued:!1,promise:u,target:d,bindingPromise:l};d._then(t,o,void 0,u,h),l._then(s,c,void 0,u,h),u._setOnCancel(l)}else u._resolveCallback(d);return u},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return(2097152&this._bitField)==2097152},e.bind=function(t,r){return e.resolve(r).bind(t)}}},85631:(e,t,r)=>{"use strict";var n=Object.create;if(n){var i=n(null),a=n(null);i[" size"]=a[" size"]=0}e.exports=function(e){var t,n,o=r(16712),s=o.canEvaluate,c=o.isIdentifier,l=function(e){return Function("ensureMethod"," \n return function(obj) { \n 'use strict' \n var len = this.length; \n ensureMethod(obj, 'methodName'); \n switch(len) { \n case 1: return obj.methodName(this[0]); \n case 2: return obj.methodName(this[0], this[1]); \n case 3: return obj.methodName(this[0], this[1], this[2]); \n case 0: return obj.methodName(); \n default: \n return obj.methodName.apply(obj, this); \n } \n }; \n ".replace(/methodName/g,e))(h)},u=function(e){return Function("obj"," \n 'use strict'; \n return obj.propertyName; \n ".replace("propertyName",e))},d=function(e,t,r){var n=r[e];if("function"!=typeof n){if(!c(e))return null;if(n=t(e),r[e]=n,r[" size"]++,r[" size"]>512){for(var i=Object.keys(r),a=0;a<256;++a)delete r[i[a]];r[" size"]=i.length-256}}return n};function h(t,r){var n;if(null!=t&&(n=t[r]),"function"!=typeof n){var i="Object "+o.classString(t)+" has no method '"+o.toString(r)+"'";throw new e.TypeError(i)}return n}function f(e){return h(e,this.pop()).apply(e,this)}function p(e){return e[this]}function g(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}t=function(e){return d(e,l,i)},n=function(e){return d(e,u,a)},e.prototype.call=function(e){for(var r=arguments.length,n=Array(Math.max(r-1,0)),i=1;i<r;++i)n[i-1]=arguments[i];if(s){var a=t(e);if(null!==a)return this._then(a,void 0,void 0,n,void 0)}return n.push(e),this._then(f,void 0,void 0,n,void 0)},e.prototype.get=function(e){var t;if("number"==typeof e)t=g;else if(s){var r=n(e);t=null!==r?r:p}else t=p;return this._then(t,void 0,void 0,e,void 0)}}},47742:(e,t,r)=>{"use strict";e.exports=function(e,t,n,i){var a=r(16712),o=a.tryCatch,s=a.errorObj,c=e._async;e.prototype.break=e.prototype.cancel=function(){if(!i.cancellation())return this._warn("cancellation is disabled");for(var e=this,t=e;e._isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var r=e._cancellationParent;if(null!=r&&r._isCancellable())e._isFollowing()&&e._followee().cancel(),e._setWillBeCancelled(),t=e,e=r;else{e._isFollowing()?e._followee().cancel():e._cancelBranched();break}}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},e.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},e.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},e.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(e,t){if(a.isArray(e))for(var r=0;r<e.length;++r)this._doInvokeOnCancel(e[r],t);else if(void 0!==e){if("function"==typeof e){if(!t){var n=o(e).call(this._boundValue());n===s&&(this._attachExtraTrace(n.e),c.throwLater(n.e))}}else e._resultCancelled(this)}},e.prototype._invokeOnCancel=function(){var e=this._onCancel();this._unsetOnCancel(),c.invoke(this._doInvokeOnCancel,this,e)},e.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},e.prototype._resultCancelled=function(){this.cancel()}}},38678:(e,t,r)=>{"use strict";e.exports=function(e){var t=r(16712),n=r(59889).keys,i=t.tryCatch,a=t.errorObj;return function(r,o,s){return function(c){var l=s._boundValue();e:for(var u=0;u<r.length;++u){var d=r[u];if(d===Error||null!=d&&d.prototype instanceof Error){if(c instanceof d)return i(o).call(l,c)}else if("function"==typeof d){var h=i(d).call(l,c);if(h===a)return h;if(h)return i(o).call(l,c)}else if(t.isObject(c)){for(var f=n(d),p=0;p<f.length;++p){var g=f[p];if(d[g]!=c[g])continue e}return i(o).call(l,c)}}return e}}}},82761:e=>{"use strict";e.exports=function(e){var t=!1,r=[];function n(){this._trace=new n.CapturedTrace(i())}function i(){var e=r.length-1;if(e>=0)return r[e]}return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},n.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,r.push(this._trace))},n.prototype._popContext=function(){if(void 0!==this._trace){var e=r.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},n.CapturedTrace=null,n.create=function(){if(t)return new n},n.deactivateLongStackTraces=function(){},n.activateLongStackTraces=function(){var r=e.prototype._pushContext,a=e.prototype._popContext,o=e._peekContext,s=e.prototype._peekContext,c=e.prototype._promiseCreated;n.deactivateLongStackTraces=function(){e.prototype._pushContext=r,e.prototype._popContext=a,e._peekContext=o,e.prototype._peekContext=s,e.prototype._promiseCreated=c,t=!1},t=!0,e.prototype._pushContext=n.prototype._pushContext,e.prototype._popContext=n.prototype._popContext,e._peekContext=e.prototype._peekContext=i,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},n}},37852:(e,t,r)=>{"use strict";e.exports=function(e,t){var n,i,a,o=e._getDomain,s=e._async,c=r(50679).Warning,l=r(16712),u=l.canAttachTrace,d=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,h=/\((?:timers\.js):\d+:\d+\)/,f=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,p=null,g=null,m=!1,b=!!(0!=l.env("BLUEBIRD_DEBUG")&&(l.env("BLUEBIRD_DEBUG")||"development"===l.env("NODE_ENV"))),v=!!(0!=l.env("BLUEBIRD_WARNINGS")&&(b||l.env("BLUEBIRD_WARNINGS"))),y=!!(0!=l.env("BLUEBIRD_LONG_STACK_TRACES")&&(b||l.env("BLUEBIRD_LONG_STACK_TRACES"))),_=0!=l.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(v||!!l.env("BLUEBIRD_W_FORGOTTEN_RETURN"));e.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},e.prototype._ensurePossibleRejectionHandled=function(){(524288&this._bitField)==0&&(this._setRejectionIsUnhandled(),s.invokeLater(this._notifyUnhandledRejection,this,void 0))},e.prototype._notifyUnhandledRejectionIsHandled=function(){B("rejectionHandled",n,void 0,this)},e.prototype._setReturnedNonUndefined=function(){this._bitField=0x10000000|this._bitField},e.prototype._returnedNonUndefined=function(){return(0x10000000&this._bitField)!=0},e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),B("unhandledRejection",i,e,this)}},e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},e.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},e.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},e.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},e.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},e.prototype._warn=function(e,t,r){return j(e,t,r||this)},e.onPossiblyUnhandledRejection=function(e){var t=o();i="function"==typeof e?null===t?e:l.domainBind(t,e):void 0},e.onUnhandledRejectionHandled=function(e){var t=o();n="function"==typeof e?null===t?e:l.domainBind(t,e):void 0};var A=function(){};e.longStackTraces=function(){if(s.haveItemsQueued()&&!J.longStackTraces)throw Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!J.longStackTraces&&H()){var r=e.prototype._captureStackTrace,n=e.prototype._attachExtraTrace;J.longStackTraces=!0,A=function(){if(s.haveItemsQueued()&&!J.longStackTraces)throw Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");e.prototype._captureStackTrace=r,e.prototype._attachExtraTrace=n,t.deactivateLongStackTraces(),s.enableTrampoline(),J.longStackTraces=!1},e.prototype._captureStackTrace=L,e.prototype._attachExtraTrace=N,t.activateLongStackTraces(),s.disableTrampolineIfNecessary()}},e.hasLongStackTraces=function(){return J.longStackTraces&&H()};var x=function(){try{if("function"==typeof CustomEvent){var e=new CustomEvent("CustomEvent");return l.global.dispatchEvent(e),function(e,t){var r=new CustomEvent(e.toLowerCase(),{detail:t,cancelable:!0});return!l.global.dispatchEvent(r)}}if("function"==typeof Event){var e=new Event("CustomEvent");return l.global.dispatchEvent(e),function(e,t){var r=new Event(e.toLowerCase(),{cancelable:!0});return r.detail=t,!l.global.dispatchEvent(r)}}var e=document.createEvent("CustomEvent");return e.initCustomEvent("testingtheevent",!1,!0,{}),l.global.dispatchEvent(e),function(e,t){var r=document.createEvent("CustomEvent");return r.initCustomEvent(e.toLowerCase(),!1,!0,t),!l.global.dispatchEvent(r)}}catch(e){}return function(){return!1}}(),S=l.isNode?function(){return process.emit.apply(process,arguments)}:l.global?function(e){var t="on"+e.toLowerCase(),r=l.global[t];return!!r&&(r.apply(l.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function w(e,t){return{promise:t}}var T={promiseCreated:w,promiseFulfilled:w,promiseRejected:w,promiseResolved:w,promiseCancelled:w,promiseChained:function(e,t,r){return{promise:t,child:r}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,r){return{reason:t,promise:r}},rejectionHandled:w},D=function(e){var t=!1;try{t=S.apply(null,arguments)}catch(e){s.throwLater(e),t=!0}var r=!1;try{r=x(e,T[e].apply(null,arguments))}catch(e){s.throwLater(e),r=!0}return r||t};function C(){return!1}function k(e,t,r){var n=this;try{e(t,r,function(e){if("function"!=typeof e)throw TypeError("onCancel must be a function, got: "+l.toString(e));n._attachCancellationCallback(e)})}catch(e){return e}}function E(e){if(!this._isCancellable())return this;var t=this._onCancel();void 0!==t?l.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function P(){return this._onCancelField}function R(e){this._onCancelField=e}function F(){this._cancellationParent=void 0,this._onCancelField=void 0}function U(e,t){if((1&t)!=0){this._cancellationParent=e;var r=e._branchesRemainingToCancel;void 0===r&&(r=0),e._branchesRemainingToCancel=r+1}(2&t)!=0&&e._isBound()&&this._setBoundTo(e._boundTo)}e.config=function(t){if("longStackTraces"in(t=Object(t))&&(t.longStackTraces?e.longStackTraces():!t.longStackTraces&&e.hasLongStackTraces()&&A()),"warnings"in t){var r=t.warnings;J.warnings=!!r,_=J.warnings,l.isObject(r)&&"wForgottenReturn"in r&&(_=!!r.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!J.cancellation){if(s.haveItemsQueued())throw Error("cannot enable cancellation after promises are in use");e.prototype._clearCancellationData=F,e.prototype._propagateFrom=U,e.prototype._onCancel=P,e.prototype._setOnCancel=R,e.prototype._attachCancellationCallback=E,e.prototype._execute=k,O=U,J.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!J.monitoring?(J.monitoring=!0,e.prototype._fireEvent=D):!t.monitoring&&J.monitoring&&(J.monitoring=!1,e.prototype._fireEvent=C)),e},e.prototype._fireEvent=C,e.prototype._execute=function(e,t,r){try{e(t,r)}catch(e){return e}},e.prototype._onCancel=function(){},e.prototype._setOnCancel=function(e){},e.prototype._attachCancellationCallback=function(e){},e.prototype._captureStackTrace=function(){},e.prototype._attachExtraTrace=function(){},e.prototype._clearCancellationData=function(){},e.prototype._propagateFrom=function(e,t){};var O=function(e,t){(2&t)!=0&&e._isBound()&&this._setBoundTo(e._boundTo)};function I(){var t=this._boundTo;return void 0!==t&&t instanceof e?t.isFulfilled()?t.value():void 0:t}function L(){this._trace=new Y(this._peekContext())}function N(e,t){if(u(e)){var r=this._trace;if(void 0!==r&&t&&(r=r._parent),void 0!==r)r.attachExtraTrace(e);else if(!e.__stackCleaned__){var n=W(e);l.notEnumerableProp(e,"stack",n.message+"\n"+n.stack.join("\n")),l.notEnumerableProp(e,"__stackCleaned__",!0)}}}function j(t,r,n){if(J.warnings){var i,a=new c(t);if(r)n._attachExtraTrace(a);else if(J.longStackTraces&&(i=e._peekContext()))i.attachExtraTrace(a);else{var o=W(a);a.stack=o.message+"\n"+o.stack.join("\n")}D("warning",a)||q(a,"",!0)}}function M(e){for(var t=[],r=0;r<e.length;++r){var n=e[r],i=" (No stack trace)"===n||p.test(n),a=i&&G(n);i&&!a&&(m&&" "!==n.charAt(0)&&(n=" "+n),t.push(n))}return t}function W(e){var t=e.stack,r=e.toString();return t="string"==typeof t&&t.length>0?function(e){for(var t=e.stack.replace(/\s+$/g,"").split("\n"),r=0;r<t.length;++r){var n=t[r];if(" (No stack trace)"===n||p.test(n))break}return r>0&&"SyntaxError"!=e.name&&(t=t.slice(r)),t}(e):[" (No stack trace)"],{message:r,stack:"SyntaxError"==e.name?t:M(t)}}function q(e,t,r){if("undefined"!=typeof console){var n;if(l.isObject(e)){var i=e.stack;n=t+g(i,e)}else n=t+String(e);"function"==typeof a?a(n,r):("function"==typeof console.log||"object"==typeof console.log)&&console.log(n)}}function B(e,t,r,n){var i=!1;try{"function"==typeof t&&(i=!0,"rejectionHandled"===e?t(n):t(r,n))}catch(e){s.throwLater(e)}"unhandledRejection"===e?D(e,r,n)||i||q(r,"Unhandled rejection "):D(e,n)}function z(e){var t,r;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{if(t=e&&"function"==typeof e.toString?e.toString():l.toString(e),/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(e){}0===t.length&&(t="(empty array)")}return"(<"+((r=t).length<41?r:r.substr(0,38)+"...")+">, no stack trace)"}function H(){return"function"==typeof Q}var G=function(){return!1},X=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function V(e){var t=e.match(X);if(t)return{fileName:t[1],line:parseInt(t[2],10)}}function Y(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);Q(this,Y),t>32&&this.uncycle()}l.inherits(Y,Error),t.CapturedTrace=Y,Y.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],r={},n=0,i=this;void 0!==i;++n)t.push(i),i=i._parent;e=this._length=n;for(var n=e-1;n>=0;--n){var a=t[n].stack;void 0===r[a]&&(r[a]=n)}for(var n=0;n<e;++n){var o=r[t[n].stack];if(void 0!==o&&o!==n){o>0&&(t[o-1]._parent=void 0,t[o-1]._length=1),t[n]._parent=void 0,t[n]._length=1;var s=n>0?t[n-1]:this;o<e-1?(s._parent=t[o+1],s._parent.uncycle(),s._length=s._parent._length+1):(s._parent=void 0,s._length=1);for(var c=s._length+1,l=n-2;l>=0;--l)t[l]._length=c,c++;return}}}},Y.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=W(e),r=t.message,n=[t.stack],i=this;void 0!==i;)n.push(M(i.stack.split("\n"))),i=i._parent;(function(e){for(var t=e[0],r=1;r<e.length;++r){for(var n=e[r],i=t.length-1,a=t[i],o=-1,s=n.length-1;s>=0;--s)if(n[s]===a){o=s;break}for(var s=o;s>=0;--s){var c=n[s];if(t[i]===c)t.pop(),i--;else break}t=n}})(n),function(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}(n),l.notEnumerableProp(e,"stack",function(e,t){for(var r=0;r<t.length-1;++r)t[r].push("From previous event:"),t[r]=t[r].join("\n");return r<t.length&&(t[r]=t[r].join("\n")),e+"\n"+t.join("\n")}(r,n)),l.notEnumerableProp(e,"__stackCleaned__",!0)}};var Q=function(){var e,t=/^\s*at\s*/,r=function(e,t){return"string"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():z(t)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,p=t,g=r;var n=Error.captureStackTrace;return G=function(e){return d.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var i=Error();if("string"==typeof i.stack&&i.stack.split("\n")[0].indexOf("stackDetection@")>=0)return p=/@/,g=r,m=!0,function(e){e.stack=Error().stack};try{throw Error()}catch(t){e="stack"in t}return"stack"in i||!e||"number"!=typeof Error.stackTraceLimit?(g=function(e,t){return"string"==typeof e?e:("object"==typeof t||"function"==typeof t)&&void 0!==t.name&&void 0!==t.message?t.toString():z(t)},null):(p=t,g=r,function(e){Error.stackTraceLimit+=6;try{throw Error()}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}([]);"undefined"==typeof console||void 0===console.warn||(a=function(e){console.warn(e)},l.isNode&&process.stderr.isTTY?a=function(e,t){console.warn((t?"\x1b[33m":"\x1b[31m")+e+"\x1b[0m\n")}:l.isNode||"string"!=typeof Error().stack||(a=function(e,t){console.warn("%c"+e,t?"color: darkorange":"color: red")}));var J={warnings:v,longStackTraces:!1,cancellation:!1,monitoring:!1};return y&&e.longStackTraces(),{longStackTraces:function(){return J.longStackTraces},warnings:function(){return J.warnings},cancellation:function(){return J.cancellation},monitoring:function(){return J.monitoring},propagateFromFunction:function(){return O},boundValueFunction:function(){return I},checkForgottenReturns:function(e,t,r,n,i){if(void 0===e&&null!==t&&_&&!(void 0!==i&&i._returnedNonUndefined())&&(65535&n._bitField)!=0){r&&(r+=" ");var a="",o="";if(t._trace){for(var s=t._trace.stack.split("\n"),c=M(s),l=c.length-1;l>=0;--l){var u=c[l];if(!h.test(u)){var d=u.match(f);d&&(a="at "+d[1]+":"+d[2]+":"+d[3]+" ");break}}if(c.length>0){for(var p=c[0],l=0;l<s.length;++l)if(s[l]===p){l>0&&(o="\n"+s[l-1]);break}}}var g="a promise was created in a "+r+"handler "+a+"but was not returned from it, see http://goo.gl/rRqMUw"+o;n._warn(g,!0,t)}},setBounds:function(e,t){if(H()){for(var r,n,i=e.stack.split("\n"),a=t.stack.split("\n"),o=-1,s=-1,c=0;c<i.length;++c){var l=V(i[c]);if(l){r=l.fileName,o=l.line;break}}for(var c=0;c<a.length;++c){var l=V(a[c]);if(l){n=l.fileName,s=l.line;break}}o<0||s<0||!r||!n||r!==n||o>=s||(G=function(e){if(d.test(e))return!0;var t=V(e);return!!t&&t.fileName===r&&o<=t.line&&t.line<=s})}},warn:j,deprecated:function(e,t){var r=e+" is deprecated and will be removed in a future version.";return t&&(r+=" Use "+t+" instead."),j(r)},CapturedTrace:Y,fireDomEvent:x,fireGlobalEvent:S}}},86762:e=>{"use strict";e.exports=function(e){function t(){return this.value}function r(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(r){return r instanceof e&&r.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:r},void 0)},e.prototype.throw=e.prototype.thenThrow=function(e){return this._then(r,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,r,void 0,{reason:e},void 0);var t=arguments[1];return this.caught(e,function(){throw t})},e.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof e&&r.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:r},void 0);var n=arguments[1];return n instanceof e&&n.suppressUnhandledRejections(),this.caught(r,function(){return n})}}},31681:e=>{"use strict";e.exports=function(e,t){var r=e.reduce,n=e.all;function i(){return n(this)}e.prototype.each=function(e){return r(this,e,t,0)._then(i,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return r(this,e,t,t)},e.each=function(e,n){return r(e,n,t,0)._then(i,void 0,void 0,e,void 0)},e.mapSeries=function(e,n){return r(e,n,t,t)}}},50679:(e,t,r)=>{"use strict";var n,i,a=r(59889),o=a.freeze,s=r(16712),c=s.inherits,l=s.notEnumerableProp;function u(e,t){function r(n){if(!(this instanceof r))return new r(n);l(this,"message","string"==typeof n?n:t),l(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return c(r,Error),r}var d=u("Warning","warning"),h=u("CancellationError","cancellation error"),f=u("TimeoutError","timeout error"),p=u("AggregateError","aggregate error");try{n=TypeError,i=RangeError}catch(e){n=u("TypeError","type error"),i=u("RangeError","range error")}for(var g="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),m=0;m<g.length;++m)"function"==typeof Array.prototype[g[m]]&&(p.prototype[g[m]]=Array.prototype[g[m]]);a.defineProperty(p.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),p.prototype.isOperational=!0;var b=0;function v(e){if(!(this instanceof v))return new v(e);l(this,"name","OperationalError"),l(this,"message",e),this.cause=e,this.isOperational=!0,e instanceof Error?(l(this,"message",e.message),l(this,"stack",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}p.prototype.toString=function(){var e=Array(4*b+1).join(" "),t="\n"+e+"AggregateError of:\n";e=Array(4*++b+1).join(" ");for(var r=0;r<this.length;++r){for(var n=this[r]===this?"[Circular AggregateError]":this[r]+"",i=n.split("\n"),a=0;a<i.length;++a)i[a]=e+i[a];t+=(n=i.join("\n"))+"\n"}return b--,t},c(v,Error);var y=Error.__BluebirdErrorTypes__;y||(y=o({CancellationError:h,TimeoutError:f,OperationalError:v,RejectionError:v,AggregateError:p}),a.defineProperty(Error,"__BluebirdErrorTypes__",{value:y,writable:!1,enumerable:!1,configurable:!1})),e.exports={Error:Error,TypeError:n,RangeError:i,CancellationError:y.CancellationError,OperationalError:y.OperationalError,TimeoutError:y.TimeoutError,AggregateError:y.AggregateError,Warning:d}},59889:e=>{var t=function(){return void 0===this}();if(t)e.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:t,propertyIsWritable:function(e,t){var r=Object.getOwnPropertyDescriptor(e,t);return!!(!r||r.writable||r.set)}};else{var r={}.hasOwnProperty,n={}.toString,i={}.constructor.prototype,a=function(e){var t=[];for(var n in e)r.call(e,n)&&t.push(n);return t};e.exports={isArray:function(e){try{return"[object Array]"===n.call(e)}catch(e){return!1}},keys:a,names:a,defineProperty:function(e,t,r){return e[t]=r.value,e},getDescriptor:function(e,t){return{value:e[t]}},freeze:function(e){return e},getPrototypeOf:function(e){try{return Object(e).constructor.prototype}catch(e){return i}},isES5:t,propertyIsWritable:function(){return!0}}}},75638:e=>{"use strict";e.exports=function(e,t){var r=e.map;e.prototype.filter=function(e,n){return r(this,e,n,t)},e.filter=function(e,n,i){return r(e,n,i,t)}}},85921:(e,t,r)=>{"use strict";e.exports=function(e,t){var n=r(16712),i=e.CancellationError,a=n.errorObj;function o(e,t,r){this.promise=e,this.type=t,this.handler=r,this.called=!1,this.cancelPromise=null}function s(e){this.finallyHandler=e}function c(e,t){return null!=e.cancelPromise&&(arguments.length>1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0)}function l(){return d.call(this,this.promise._target()._settledValue())}function u(e){if(!c(this,e))return a.e=e,a}function d(r){var n=this.promise,o=this.handler;if(!this.called){this.called=!0;var d=this.isFinallyHandler()?o.call(n._boundValue()):o.call(n._boundValue(),r);if(void 0!==d){n._setReturnedNonUndefined();var h=t(d,n);if(h instanceof e){if(null!=this.cancelPromise){if(h._isCancelled()){var f=new i("late cancellation observer");return n._attachExtraTrace(f),a.e=f,a}h.isPending()&&h._attachCancellationCallback(new s(this))}return h._then(l,u,void 0,this,void 0)}}}return n.isRejected()?(c(this),a.e=r,a):(c(this),r)}return o.prototype.isFinallyHandler=function(){return 0===this.type},s.prototype._resultCancelled=function(){c(this.finallyHandler)},e.prototype._passThrough=function(e,t,r,n){return"function"!=typeof e?this.then():this._then(r,n,void 0,new o(this,t,e),void 0)},e.prototype.lastly=e.prototype.finally=function(e){return this._passThrough(e,0,d,d)},e.prototype.tap=function(e){return this._passThrough(e,1,d)},o}},75274:(e,t,r)=>{"use strict";e.exports=function(e,t,n,i,a,o){var s=r(50679).TypeError,c=r(16712),l=c.errorObj,u=c.tryCatch,d=[];function h(t,r,i,a){if(o.cancellation()){var s=new e(n),c=this._finallyPromise=new e(n);this._promise=s.lastly(function(){return c}),s._captureStackTrace(),s._setOnCancel(this)}else(this._promise=new e(n))._captureStackTrace();this._stack=a,this._generatorFunction=t,this._receiver=r,this._generator=void 0,this._yieldHandlers="function"==typeof i?[i].concat(d):d,this._yieldedPromise=null,this._cancellationPhase=!1}c.inherits(h,a),h.prototype._isResolved=function(){return null===this._promise},h.prototype._cleanup=function(){this._promise=this._generator=null,o.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},h.prototype._promiseCancelled=function(){if(!this._isResolved()){var t;if(void 0!==this._generator.return)this._promise._pushContext(),t=u(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var r=new e.CancellationError("generator .return() sentinel");e.coroutine.returnSentinel=r,this._promise._attachExtraTrace(r),this._promise._pushContext(),t=u(this._generator.throw).call(this._generator,r),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(t)}},h.prototype._promiseFulfilled=function(e){this._yieldedPromise=null,this._promise._pushContext();var t=u(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},h.prototype._promiseRejected=function(e){this._yieldedPromise=null,this._promise._attachExtraTrace(e),this._promise._pushContext();var t=u(this._generator.throw).call(this._generator,e);this._promise._popContext(),this._continue(t)},h.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof e){var t=this._yieldedPromise;this._yieldedPromise=null,t.cancel()}},h.prototype.promise=function(){return this._promise},h.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},h.prototype._continue=function(t){var r=this._promise;if(t===l)return(this._cleanup(),this._cancellationPhase)?r.cancel():r._rejectCallback(t.e,!1);var n=t.value;if(!0===t.done)return(this._cleanup(),this._cancellationPhase)?r.cancel():r._resolveCallback(n);var a=i(n,this._promise);if(!(a instanceof e)&&null===(a=function(t,r,n){for(var a=0;a<r.length;++a){n._pushContext();var o=u(r[a])(t);if(n._popContext(),o===l){n._pushContext();var s=e.reject(l.e);return n._popContext(),s}var c=i(o,n);if(c instanceof e)return c}return null}(a,this._yieldHandlers,this._promise))){this._promiseRejected(new s("A value %s was yielded that could not be treated as a promise\n\n See http://goo.gl/MqrFmX\n\n".replace("%s",n)+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")));return}var o=(a=a._target())._bitField;(0x3010000&o)==0?(this._yieldedPromise=a,a._proxy(this,null)):(0x2000000&o)!=0?e._async.invoke(this._promiseFulfilled,this,a._value()):(0x1000000&o)!=0?e._async.invoke(this._promiseRejected,this,a._reason()):this._promiseCancelled()},e.coroutine=function(e,t){if("function"!=typeof e)throw new s("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var r=Object(t).yieldHandler,n=Error().stack;return function(){var t=e.apply(this,arguments),i=new h(void 0,void 0,r,n),a=i.promise();return i._generator=t,i._promiseFulfilled(void 0),a}},e.coroutine.addYieldHandler=function(e){if("function"!=typeof e)throw new s("expecting a function but got "+c.classString(e));d.push(e)},e.spawn=function(r){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof r)return t("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var n=new h(r,this),i=n.promise();return n._run(e.spawn),i}}},9268:(e,t,r)=>{"use strict";e.exports=function(e,t,n,i,a,o){var s,c=r(16712),l=c.canEvaluate,u=c.tryCatch,d=c.errorObj;if(l){for(var h,f,p=[],g=[],m=[],b=0;b<8;++b)p.push(function(t){for(var r=Array(t),n=0;n<r.length;++n)r[n]="this.p"+(n+1);var i=r.join(" = ")+" = null;",o="var promise;\n"+r.map(function(e){return" \n promise = "+e+"; \n if (promise instanceof Promise) { \n promise.cancel(); \n } \n "}).join("\n"),s=r.join(", "),c="Holder$"+t,l="return function(tryCatch, errorObj, Promise, async) { \n 'use strict'; \n function [TheName](fn) { \n [TheProperties] \n this.fn = fn; \n this.asyncNeeded = true; \n this.now = 0; \n } \n \n [TheName].prototype._callFunction = function(promise) { \n promise._pushContext(); \n var ret = tryCatch(this.fn)([ThePassedArguments]); \n promise._popContext(); \n if (ret === errorObj) { \n promise._rejectCallback(ret.e, false); \n } else { \n promise._resolveCallback(ret); \n } \n }; \n \n [TheName].prototype.checkFulfillment = function(promise) { \n var now = ++this.now; \n if (now === [TheTotal]) { \n if (this.asyncNeeded) { \n async.invoke(this._callFunction, this, promise); \n } else { \n this._callFunction(promise); \n } \n \n } \n }; \n \n [TheName].prototype._resultCancelled = function() { \n [CancellationCode] \n }; \n \n return [TheName]; \n }(tryCatch, errorObj, Promise, async); \n ";return Function("tryCatch","errorObj","Promise","async",l=l.replace(/\[TheName\]/g,c).replace(/\[TheTotal\]/g,t).replace(/\[ThePassedArguments\]/g,s).replace(/\[TheProperties\]/g,i).replace(/\[CancellationCode\]/g,o))(u,d,e,a)}(b+1)),g.push((h=b+1,Function("value","holder"," \n 'use strict'; \n holder.pIndex = value; \n holder.checkFulfillment(this); \n ".replace(/Index/g,h)))),m.push((f=b+1,Function("promise","holder"," \n 'use strict'; \n holder.pIndex = promise; \n ".replace(/Index/g,f))));s=function(e){this._reject(e)}}e.join=function(){var r,a=arguments.length-1;if(a>0&&"function"==typeof arguments[a]&&(r=arguments[a],a<=8&&l)){var u=new e(i);u._captureStackTrace();for(var d=new p[a-1](r),h=g,f=0;f<a;++f){var b=n(arguments[f],u);if(b instanceof e){var v=(b=b._target())._bitField;(0x3010000&v)==0?(b._then(h[f],s,void 0,u,d),m[f](b,d),d.asyncNeeded=!1):(0x2000000&v)!=0?h[f].call(u,b._value(),d):(0x1000000&v)!=0?u._reject(b._reason()):u._cancel()}else h[f].call(u,b,d)}if(!u._isFateSealed()){if(d.asyncNeeded){var y=o();null!==y&&(d.fn=c.domainBind(y,d.fn))}u._setAsyncGuaranteed(),u._setOnCancel(d)}return u}for(var _=arguments.length,A=Array(_),x=0;x<_;++x)A[x]=arguments[x];r&&A.pop();var u=new t(A).promise();return void 0!==r?u.spread(r):u}}},46180:(e,t,r)=>{"use strict";e.exports=function(e,t,n,i,a,o){var s=e._getDomain,c=r(16712),l=c.tryCatch,u=c.errorObj,d=e._async;function h(e,t,r,n){this.constructor$(e),this._promise._captureStackTrace();var i=s();this._callback=null===i?t:c.domainBind(i,t),this._preservedValues=n===a?Array(this.length()):null,this._limit=r,this._inFlight=0,this._queue=[],d.invoke(this._asyncInit,this,void 0)}function f(t,r,i,a){if("function"!=typeof r)return n("expecting a function but got "+c.classString(r));var o=0;if(void 0!==i){if("object"!=typeof i||null===i)return e.reject(TypeError("options argument must be an object but it is "+c.classString(i)));if("number"!=typeof i.concurrency)return e.reject(TypeError("'concurrency' must be a number but it is "+c.classString(i.concurrency)));o=i.concurrency}return new h(t,r,o="number"==typeof o&&isFinite(o)&&o>=1?o:0,a).promise()}c.inherits(h,t),h.prototype._asyncInit=function(){this._init$(void 0,-2)},h.prototype._init=function(){},h.prototype._promiseFulfilled=function(t,r){var n=this._values,a=this.length(),s=this._preservedValues,c=this._limit;if(r<0){if(n[r=-1*r-1]=t,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return n[r]=t,this._queue.push(r),!1;null!==s&&(s[r]=t);var d=this._promise,h=this._callback,f=d._boundValue();d._pushContext();var p=l(h).call(f,t,r,a),g=d._popContext();if(o.checkForgottenReturns(p,g,null!==s?"Promise.filter":"Promise.map",d),p===u)return this._reject(p.e),!0;var m=i(p,this._promise);if(m instanceof e){var b=(m=m._target())._bitField;if((0x3010000&b)==0)return c>=1&&this._inFlight++,n[r]=m,m._proxy(this,-((r+1)*1)),!1;if((0x2000000&b)!=0)p=m._value();else if((0x1000000&b)!=0)return this._reject(m._reason()),!0;else return this._cancel(),!0}n[r]=p}return++this._totalResolved>=a&&(null!==s?this._filter(n,s):this._resolve(n),!0)},h.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,r=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var n=e.pop();this._promiseFulfilled(r[n],n)}},h.prototype._filter=function(e,t){for(var r=t.length,n=Array(r),i=0,a=0;a<r;++a)e[a]&&(n[i++]=t[a]);n.length=i,this._resolve(n)},h.prototype.preservedValues=function(){return this._preservedValues},e.prototype.map=function(e,t){return f(this,e,t,null)},e.map=function(e,t,r,n){return f(e,t,r,n)}}},3249:(e,t,r)=>{"use strict";e.exports=function(e,t,n,i,a){var o=r(16712),s=o.tryCatch;e.method=function(r){if("function"!=typeof r)throw new e.TypeError("expecting a function but got "+o.classString(r));return function(){var n=new e(t);n._captureStackTrace(),n._pushContext();var i=s(r).apply(this,arguments),o=n._popContext();return a.checkForgottenReturns(i,o,"Promise.method",n),n._resolveFromSyncValue(i),n}},e.attempt=e.try=function(r){if("function"!=typeof r)return i("expecting a function but got "+o.classString(r));var n,c=new e(t);if(c._captureStackTrace(),c._pushContext(),arguments.length>1){a.deprecated("calling Promise.try with more than 1 argument");var l=arguments[1],u=arguments[2];n=o.isArray(l)?s(r).apply(u,l):s(r).call(u,l)}else n=s(r)();var d=c._popContext();return a.checkForgottenReturns(n,d,"Promise.try",c),c._resolveFromSyncValue(n),c},e.prototype._resolveFromSyncValue=function(e){e===o.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},31435:(e,t,r)=>{"use strict";var n=r(16712),i=n.maybeWrapAsError,a=r(50679).OperationalError,o=r(59889),s=/^(?:name|message|stack|cause)$/;e.exports=function(e,t){return function(r,c){if(null!==e){if(r){var l=function(e){if(e instanceof Error&&o.getPrototypeOf(e)===Error.prototype){(t=new a(e)).name=e.name,t.message=e.message,t.stack=e.stack;for(var t,r=o.keys(e),i=0;i<r.length;++i){var c=r[i];s.test(c)||(t[c]=e[c])}return t}return n.markAsOriginatingFromRejection(e),e}(i(r));e._attachExtraTrace(l),e._reject(l)}else if(t){for(var u=arguments.length,d=Array(Math.max(u-1,0)),h=1;h<u;++h)d[h-1]=arguments[h];e._fulfill(d)}else e._fulfill(c);e=null}}}},39124:(e,t,r)=>{"use strict";e.exports=function(e){var t=r(16712),n=e._async,i=t.tryCatch,a=t.errorObj;function o(e,r){if(!t.isArray(e))return s.call(this,e,r);var o=i(r).apply(this._boundValue(),[null].concat(e));o===a&&n.throwLater(o.e)}function s(e,t){var r=this._boundValue(),o=void 0===e?i(t).call(r,null):i(t).call(r,null,e);o===a&&n.throwLater(o.e)}function c(e,t){if(!e){var r=Error(e+"");r.cause=e,e=r}var o=i(t).call(this._boundValue(),e);o===a&&n.throwLater(o.e)}e.prototype.asCallback=e.prototype.nodeify=function(e,t){if("function"==typeof e){var r=s;void 0!==t&&Object(t).spread&&(r=o),this._then(r,c,void 0,this,e)}return this}}},91935:(e,t,r)=>{"use strict";e.exports=function(){var t,n=function(){return new f("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},i=function(){return new k.PromiseInspection(this._target())},a=function(e){return k.reject(new f(e))};function o(){}var s={},c=r(16712);t=c.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},c.notEnumerableProp(k,"_getDomain",t);var l=r(59889),u=r(69518),d=new u;l.defineProperty(k,"_async",{value:d});var h=r(50679),f=k.TypeError=h.TypeError;k.RangeError=h.RangeError;var p=k.CancellationError=h.CancellationError;k.TimeoutError=h.TimeoutError,k.OperationalError=h.OperationalError,k.RejectionError=h.OperationalError,k.AggregateError=h.AggregateError;var g=function(){},m={},b={},v=r(86034)(k,g),y=r(57037)(k,g,v,a,o),_=r(82761)(k),A=_.create,x=r(37852)(k,_);x.CapturedTrace;var S=r(85921)(k,v),w=r(38678)(b),T=r(31435),D=c.errorObj,C=c.tryCatch;function k(e){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,e!==g&&(function(e,t){if("function"!=typeof t)throw new f("expecting a function but got "+c.classString(t));if(e.constructor!==k)throw new f("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n")}(this,e),this._resolveFromExecutor(e)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}function E(e){this.promise._resolveCallback(e)}function P(e){this.promise._rejectCallback(e,!1)}function R(e){var t=new k(g);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._promise0=e,t._receiver0=e}return k.prototype.toString=function(){return"[object Promise]"},k.prototype.caught=k.prototype.catch=function(e){var t=arguments.length;if(t>1){var r,n=Array(t-1),i=0;for(r=0;r<t-1;++r){var o=arguments[r];if(!c.isObject(o))return a("expecting an object but got A catch statement predicate "+c.classString(o));n[i++]=o}return n.length=i,e=arguments[r],this.then(void 0,w(n,e,this))}return this.then(void 0,e)},k.prototype.reflect=function(){return this._then(i,i,void 0,this,void 0)},k.prototype.then=function(e,t){if(x.warnings()&&arguments.length>0&&"function"!=typeof e&&"function"!=typeof t){var r=".then() only accepts functions but was passed: "+c.classString(e);arguments.length>1&&(r+=", "+c.classString(t)),this._warn(r)}return this._then(e,t,void 0,void 0,void 0)},k.prototype.done=function(e,t){this._then(e,t,void 0,void 0,void 0)._setIsFinal()},k.prototype.spread=function(e){return"function"!=typeof e?a("expecting a function but got "+c.classString(e)):this.all()._then(e,void 0,void 0,m,void 0)},k.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},k.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new y(this).promise()},k.prototype.error=function(e){return this.caught(c.originatesFromRejection,e)},k.getNewLibraryCopy=e.exports,k.is=function(e){return e instanceof k},k.fromNode=k.fromCallback=function(e){var t=new k(g);t._captureStackTrace();var r=arguments.length>1&&!!Object(arguments[1]).multiArgs,n=C(e)(T(t,r));return n===D&&t._rejectCallback(n.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},k.all=function(e){return new y(e).promise()},k.cast=function(e){var t=v(e);return t instanceof k||((t=new k(g))._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},k.resolve=k.fulfilled=k.cast,k.reject=k.rejected=function(e){var t=new k(g);return t._captureStackTrace(),t._rejectCallback(e,!0),t},k.setScheduler=function(e){if("function"!=typeof e)throw new f("expecting a function but got "+c.classString(e));return d.setScheduler(e)},k.prototype._then=function(e,r,n,i,a){var o=void 0!==a,s=o?a:new k(g),l=this._target(),u=l._bitField;o||(s._propagateFrom(this,3),s._captureStackTrace(),void 0===i&&(2097152&this._bitField)!=0&&(i=(0x3010000&u)!=0?this._boundValue():l===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,s));var h=t();if((0x3010000&u)!=0){var f,m,b=l._settlePromiseCtx;(0x2000000&u)!=0?(m=l._rejectionHandler0,f=e):(0x1000000&u)!=0?(m=l._fulfillmentHandler0,f=r,l._unsetRejectionIsUnhandled()):(b=l._settlePromiseLateCancellationObserver,m=new p("late cancellation observer"),l._attachExtraTrace(m),f=r),d.invoke(b,l,{handler:null===h?f:"function"==typeof f&&c.domainBind(h,f),promise:s,receiver:i,value:m})}else l._addCallbacks(e,r,s,i,h);return s},k.prototype._length=function(){return 65535&this._bitField},k.prototype._isFateSealed=function(){return(0x7010000&this._bitField)!=0},k.prototype._isFollowing=function(){return(0x4000000&this._bitField)==0x4000000},k.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},k.prototype._setFulfilled=function(){this._bitField=0x2000000|this._bitField,this._fireEvent("promiseFulfilled",this)},k.prototype._setRejected=function(){this._bitField=0x1000000|this._bitField,this._fireEvent("promiseRejected",this)},k.prototype._setFollowing=function(){this._bitField=0x4000000|this._bitField,this._fireEvent("promiseResolved",this)},k.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},k.prototype._isFinal=function(){return(4194304&this._bitField)>0},k.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},k.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},k.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},k.prototype._setAsyncGuaranteed=function(){d.hasCustomScheduler()||(this._bitField=0x8000000|this._bitField)},k.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];return t===s?void 0:void 0===t&&this._isBound()?this._boundValue():t},k.prototype._promiseAt=function(e){return this[4*e-4+2]},k.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},k.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},k.prototype._boundValue=function(){},k.prototype._migrateCallback0=function(e){e._bitField;var t=e._fulfillmentHandler0,r=e._rejectionHandler0,n=e._promise0,i=e._receiverAt(0);void 0===i&&(i=s),this._addCallbacks(t,r,n,i,null)},k.prototype._migrateCallbackAt=function(e,t){var r=e._fulfillmentHandlerAt(t),n=e._rejectionHandlerAt(t),i=e._promiseAt(t),a=e._receiverAt(t);void 0===a&&(a=s),this._addCallbacks(r,n,i,a,null)},k.prototype._addCallbacks=function(e,t,r,n,i){var a=this._length();if(a>=65531&&(a=0,this._setLength(0)),0===a)this._promise0=r,this._receiver0=n,"function"==typeof e&&(this._fulfillmentHandler0=null===i?e:c.domainBind(i,e)),"function"==typeof t&&(this._rejectionHandler0=null===i?t:c.domainBind(i,t));else{var o=4*a-4;this[o+2]=r,this[o+3]=n,"function"==typeof e&&(this[o+0]=null===i?e:c.domainBind(i,e)),"function"==typeof t&&(this[o+1]=null===i?t:c.domainBind(i,t))}return this._setLength(a+1),a},k.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},k.prototype._resolveCallback=function(e,t){if((0x7010000&this._bitField)==0){if(e===this)return this._rejectCallback(n(),!1);var r=v(e,this);if(!(r instanceof k))return this._fulfill(e);t&&this._propagateFrom(r,2);var i=r._target();if(i===this){this._reject(n());return}var a=i._bitField;if((0x3010000&a)==0){var o=this._length();o>0&&i._migrateCallback0(this);for(var s=1;s<o;++s)i._migrateCallbackAt(this,s);this._setFollowing(),this._setLength(0),this._setFollowee(i)}else if((0x2000000&a)!=0)this._fulfill(i._value());else if((0x1000000&a)!=0)this._reject(i._reason());else{var c=new p("late cancellation observer");i._attachExtraTrace(c),this._reject(c)}}},k.prototype._rejectCallback=function(e,t,r){var n=c.ensureErrorObject(e),i=n===e;if(!i&&!r&&x.warnings()){var a="a promise was rejected with a non-error: "+c.classString(e);this._warn(a,!0)}this._attachExtraTrace(n,!!t&&i),this._reject(e)},k.prototype._resolveFromExecutor=function(e){var t=this;this._captureStackTrace(),this._pushContext();var r=!0,n=this._execute(e,function(e){t._resolveCallback(e)},function(e){t._rejectCallback(e,r)});r=!1,this._popContext(),void 0!==n&&t._rejectCallback(n,!0)},k.prototype._settlePromiseFromHandler=function(e,t,r,n){var i,a=n._bitField;if((65536&a)==0){n._pushContext(),t===m?r&&"number"==typeof r.length?i=C(e).apply(this._boundValue(),r):(i=D).e=new f("cannot .spread() a non-array: "+c.classString(r)):i=C(e).call(t,r);var o=n._popContext();(65536&(a=n._bitField))==0&&(i===b?n._reject(r):i===D?n._rejectCallback(i.e,!1):(x.checkForgottenReturns(i,o,"",n,this),n._resolveCallback(i)))}},k.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},k.prototype._followee=function(){return this._rejectionHandler0},k.prototype._setFollowee=function(e){this._rejectionHandler0=e},k.prototype._settlePromise=function(e,t,r,n){var a=e instanceof k,s=this._bitField,c=(0x8000000&s)!=0;(65536&s)!=0?(a&&e._invokeInternalOnCancel(),r instanceof S&&r.isFinallyHandler()?(r.cancelPromise=e,C(t).call(r,n)===D&&e._reject(D.e)):t===i?e._fulfill(i.call(r)):r instanceof o?r._promiseCancelled(e):a||e instanceof y?e._cancel():r.cancel()):"function"==typeof t?a?(c&&e._setAsyncGuaranteed(),this._settlePromiseFromHandler(t,r,n,e)):t.call(r,n,e):r instanceof o?r._isResolved()||((0x2000000&s)!=0?r._promiseFulfilled(n,e):r._promiseRejected(n,e)):a&&(c&&e._setAsyncGuaranteed(),(0x2000000&s)!=0?e._fulfill(n):e._reject(n))},k.prototype._settlePromiseLateCancellationObserver=function(e){var t=e.handler,r=e.promise,n=e.receiver,i=e.value;"function"==typeof t?r instanceof k?this._settlePromiseFromHandler(t,n,i,r):t.call(n,i,r):r instanceof k&&r._reject(i)},k.prototype._settlePromiseCtx=function(e){this._settlePromise(e.promise,e.handler,e.receiver,e.value)},k.prototype._settlePromise0=function(e,t,r){var n=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(n,e,i,t)},k.prototype._clearCallbackDataAtIndex=function(e){var t=4*e-4;this[t+2]=this[t+3]=this[t+0]=this[t+1]=void 0},k.prototype._fulfill=function(e){var t=this._bitField;if(!((0x7010000&t)>>>16)){if(e===this){var r=n();return this._attachExtraTrace(r),this._reject(r)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&((0x8000000&t)!=0?this._settlePromises():d.settlePromises(this))}},k.prototype._reject=function(e){var t=this._bitField;if(!((0x7010000&t)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=e,this._isFinal())return d.fatalError(e,c.isNode);(65535&t)>0?d.settlePromises(this):this._ensurePossibleRejectionHandled()}},k.prototype._fulfillPromises=function(e,t){for(var r=1;r<e;r++){var n=this._fulfillmentHandlerAt(r),i=this._promiseAt(r),a=this._receiverAt(r);this._clearCallbackDataAtIndex(r),this._settlePromise(i,n,a,t)}},k.prototype._rejectPromises=function(e,t){for(var r=1;r<e;r++){var n=this._rejectionHandlerAt(r),i=this._promiseAt(r),a=this._receiverAt(r);this._clearCallbackDataAtIndex(r),this._settlePromise(i,n,a,t)}},k.prototype._settlePromises=function(){var e=this._bitField,t=65535&e;if(t>0){if((0x1010000&e)!=0){var r=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,r,e),this._rejectPromises(t,r)}else{var n=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,n,e),this._fulfillPromises(t,n)}this._setLength(0)}this._clearCancellationData()},k.prototype._settledValue=function(){var e=this._bitField;return(0x2000000&e)!=0?this._rejectionHandler0:(0x1000000&e)!=0?this._fulfillmentHandler0:void 0},k.defer=k.pending=function(){return x.deprecated("Promise.defer","new Promise"),{promise:new k(g),resolve:E,reject:P}},c.notEnumerableProp(k,"_makeSelfResolutionError",n),r(3249)(k,g,v,a,x),r(73515)(k,g,v,x),r(47742)(k,y,a,x),r(86762)(k),r(98788)(k),r(9268)(k,y,v,g,d,t),k.Promise=k,k.version="3.4.7",r(46180)(k,y,a,v,g,x),r(85631)(k),r(88478)(k,a,v,A,g,x),r(81722)(k,g,x),r(75274)(k,a,g,v,o,x),r(39124)(k),r(22662)(k,g),r(52776)(k,y,v,a),r(1597)(k,g,v,a),r(96766)(k,y,a,v,g,x),r(1203)(k,y,x),r(85360)(k,y,a),r(75638)(k,g),r(31681)(k,g),r(20308)(k),c.toFastProperties(k),c.toFastProperties(k.prototype),R({a:1}),R({b:2}),R({c:3}),R(1),R(function(){}),R(void 0),R(!1),R(new k(g)),x.setBounds(u.firstLineError,c.lastLineError),k}},57037:(e,t,r)=>{"use strict";e.exports=function(e,t,n,i,a){var o=r(16712);function s(r){var n=this._promise=new e(t);r instanceof e&&n._propagateFrom(r,3),n._setOnCancel(this),this._values=r,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return o.isArray,o.inherits(s,a),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function t(r,a){var s=n(this._values,this._promise);if(s instanceof e){var c=(s=s._target())._bitField;if(this._values=s,(0x3010000&c)==0)return this._promise._setAsyncGuaranteed(),s._then(t,this._reject,void 0,this,a);if((0x2000000&c)!=0)s=s._value();else if((0x1000000&c)!=0)return this._reject(s._reason());else return this._cancel()}if(null===(s=o.asArray(s))){var l=i("expecting an array or an iterable object but got "+o.classString(s)).reason();this._promise._rejectCallback(l,!1);return}if(0===s.length){-5===a?this._resolveEmptyArray():this._resolve(function(e){switch(e){case -2:return[];case -3:return{}}}(a));return}this._iterate(s)},s.prototype._iterate=function(t){var r=this.getActualLength(t.length);this._length=r,this._values=this.shouldCopyValues()?Array(r):this._values;for(var i=this._promise,a=!1,o=null,s=0;s<r;++s){var c=n(t[s],i);o=c instanceof e?(c=c._target())._bitField:null,a?null!==o&&c.suppressUnhandledRejections():null!==o?(0x3010000&o)==0?(c._proxy(this,s),this._values[s]=c):a=(0x2000000&o)!=0?this._promiseFulfilled(c._value(),s):(0x1000000&o)!=0?this._promiseRejected(c._reason(),s):this._promiseCancelled(s):a=this._promiseFulfilled(c,s)}a||i._setAsyncGuaranteed()},s.prototype._isResolved=function(){return null===this._values},s.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},s.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},s.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1)},s.prototype._promiseFulfilled=function(e,t){return this._values[t]=e,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var t=this._values;if(this._cancel(),t instanceof e)t.cancel();else for(var r=0;r<t.length;++r)t[r]instanceof e&&t[r].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(e){return e},s}},22662:(e,t,r)=>{"use strict";e.exports=function(e,t){var n,i={},a=r(16712),o=r(31435),s=a.withAppended,c=a.maybeWrapAsError,l=a.canEvaluate,u=r(50679).TypeError,d={__isPromisified__:!0},h=RegExp("^(?:arity|length|name|arguments|caller|callee|prototype|__isPromisified__)$"),f=function(e){return a.isIdentifier(e)&&"_"!==e.charAt(0)&&"constructor"!==e};function p(e){return!h.test(e)}function g(e){try{return!0===e.__isPromisified__}catch(e){return!1}}var m=function(e){for(var t=[e],r=Math.max(0,e-1-3),n=e-1;n>=r;--n)t.push(n);for(var n=e+1;n<=3;++n)t.push(n);return t};n=function(r,n,l,u,d,h){var f=Math.max(0,("number"==typeof u.length?Math.max(Math.min(u.length,1024),0):0)-1),p=m(f),g="string"==typeof r||n===i,b="'use strict'; \n var ret = function (Parameters) { \n 'use strict'; \n var len = arguments.length; \n var promise = new Promise(INTERNAL); \n promise._captureStackTrace(); \n var nodeback = nodebackForPromise(promise, "+h+"); \n var ret; \n var callback = tryCatch([GetFunctionCode]); \n switch(len) { \n [CodeForSwitchCase] \n } \n if (ret === errorObj) { \n promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\n } \n if (!promise._isFateSealed()) promise._setAsyncGuaranteed(); \n return promise; \n }; \n notEnumerableProp(ret, '__isPromisified__', true); \n return ret; \n ".replace("[CodeForSwitchCase]",function(){for(var e="",t=0;t<p.length;++t)e+="case "+p[t]+":"+function(e){var t=a.filledRange(e,"_arg","").join(", ");return(g?"ret = callback.call(this, {{args}}, nodeback); break;\n":void 0===n?"ret = callback({{args}}, nodeback); break;\n":"ret = callback.call(receiver, {{args}}, nodeback); break;\n").replace("{{args}}",t).replace(", ",e>0?", ":"")}(p[t]);return e+" \n default: \n var args = new Array(len + 1); \n var i = 0; \n for (var i = 0; i < len; ++i) { \n args[i] = arguments[i]; \n } \n args[i] = nodeback; \n [CodeForCall] \n break; \n ".replace("[CodeForCall]",g?"ret = callback.apply(this, args);\n":"ret = callback.apply(receiver, args);\n")}()).replace("[GetFunctionCode]","string"==typeof r?"this != null ? this['"+r+"'] : fn":"fn");return Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",b=b.replace("Parameters",a.filledRange(Math.max(f,3),"_arg","")))(e,u,n,s,c,o,a.tryCatch,a.errorObj,a.notEnumerableProp,t)};var b=l?n:function(r,n,l,u,d,h){var f=function(){return this}(),p=r;function g(){var a=n;n===i&&(a=this);var l=new e(t);l._captureStackTrace();var u="string"==typeof p&&this!==f?this[p]:r,d=o(l,h);try{u.apply(a,s(arguments,d))}catch(e){l._rejectCallback(c(e),!0,!0)}return l._isFateSealed()||l._setAsyncGuaranteed(),l}return"string"==typeof p&&(r=u),a.notEnumerableProp(g,"__isPromisified__",!0),g};function v(e,t,r,n,o){for(var s=RegExp(t.replace(/([$])/,"\\$")+"$"),c=function(e,t,r,n){for(var i=a.inheritedDataKeys(e),o=[],s=0;s<i.length;++s){var c=i[s],l=e[c],h=n===f||f(c,l,e);"function"==typeof l&&!g(l)&&!function(e,t,r){var n=a.getDataPropertyOrDefault(e,t+r,d);return!!n&&g(n)}(e,c,t)&&n(c,l,e,h)&&o.push(c,l)}return function(e,t,r){for(var n=0;n<e.length;n+=2){var i=e[n];if(r.test(i)){for(var a=i.replace(r,""),o=0;o<e.length;o+=2)if(e[o]===a)throw new u("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",t))}}}(o,t,r),o}(e,t,s,r),l=0,h=c.length;l<h;l+=2){var p=c[l],m=c[l+1],v=p+t;if(n===b)e[v]=b(p,i,p,m,t,o);else{var y=n(m,function(){return b(p,i,p,m,t,o)});a.notEnumerableProp(y,"__isPromisified__",!0),e[v]=y}}return a.toFastProperties(e),e}e.promisify=function(e,t){if("function"!=typeof e)throw new u("expecting a function but got "+a.classString(e));if(g(e))return e;var r=b(e,void 0===(t=Object(t)).context?i:t.context,void 0,e,null,!!t.multiArgs);return a.copyDescriptors(e,r,p),r},e.promisifyAll=function(e,t){if("function"!=typeof e&&"object"!=typeof e)throw new u("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var r=!!(t=Object(t)).multiArgs,n=t.suffix;"string"!=typeof n&&(n="Async");var i=t.filter;"function"!=typeof i&&(i=f);var o=t.promisifier;if("function"!=typeof o&&(o=b),!a.isIdentifier(n))throw RangeError("suffix must be a valid identifier\n\n See http://goo.gl/MqrFmX\n");for(var s=a.inheritedDataKeys(e),c=0;c<s.length;++c){var l=e[s[c]];"constructor"!==s[c]&&a.isClass(l)&&(v(l.prototype,n,i,o,r),v(l,n,i,o,r))}return v(e,n,i,o,r)}}},52776:(e,t,r)=>{"use strict";e.exports=function(e,t,n,i){var a,o=r(16712),s=o.isObject,c=r(59889);"function"==typeof Map&&(a=Map);var l=function(){var e=0,t=0;function r(r,n){this[e]=r,this[e+t]=n,e++}return function(n){t=n.size,e=0;var i=Array(2*n.size);return n.forEach(r,i),i}}(),u=function(e){for(var t=new a,r=e.length/2|0,n=0;n<r;++n){var i=e[r+n],o=e[n];t.set(i,o)}return t};function d(e){var t,r=!1;if(void 0!==a&&e instanceof a)t=l(e),r=!0;else{var n=c.keys(e),i=n.length;t=Array(2*i);for(var o=0;o<i;++o){var s=n[o];t[o]=e[s],t[o+i]=s}}this.constructor$(t),this._isMap=r,this._init$(void 0,-3)}function h(t){var r,a=n(t);return s(a)?(r=a instanceof e?a._then(e.props,void 0,void 0,void 0,void 0):new d(a).promise(),a instanceof e&&r._propagateFrom(a,2),r):i("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}o.inherits(d,t),d.prototype._init=function(){},d.prototype._promiseFulfilled=function(e,t){var r;if(this._values[t]=e,++this._totalResolved>=this._length){if(this._isMap)r=u(this._values);else{r={};for(var n=this.length(),i=0,a=this.length();i<a;++i)r[this._values[i+n]]=this._values[i]}return this._resolve(r),!0}return!1},d.prototype.shouldCopyValues=function(){return!1},d.prototype.getActualLength=function(e){return e>>1},e.prototype.props=function(){return h(this)},e.props=function(e){return h(e)}}},75585:e=>{"use strict";function t(e){this._capacity=e,this._length=0,this._front=0}t.prototype._willBeOverCapacity=function(e){return this._capacity<e},t.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1),this[this._front+t&this._capacity-1]=e,this._length=t+1},t.prototype.push=function(e,t,r){var n=this.length()+3;if(this._willBeOverCapacity(n)){this._pushOne(e),this._pushOne(t),this._pushOne(r);return}var i=this._front+n-3;this._checkCapacity(n);var a=this._capacity-1;this[i+0&a]=e,this[i+1&a]=t,this[i+2&a]=r,this._length=n},t.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t},t.prototype.length=function(){return this._length},t.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(this._capacity<<1)},t.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e,function(e,t,r,n,i){for(var a=0;a<i;++a)r[a+n]=e[a+0],e[a+0]=void 0}(this,0,this,t,this._front+this._length&t-1)},e.exports=t},1597:(e,t,r)=>{"use strict";e.exports=function(e,t,n,i){var a=r(16712);function o(r,s){var c=n(r);if(c instanceof e)return c.then(function(e){return o(e,c)});if(null===(r=a.asArray(r)))return i("expecting an array or an iterable object but got "+a.classString(r));var l=new e(t);void 0!==s&&l._propagateFrom(s,3);for(var u=l._fulfill,d=l._reject,h=0,f=r.length;h<f;++h){var p=r[h];(void 0!==p||h in r)&&e.cast(p)._then(u,d,void 0,l,null)}return l}e.race=function(e){return o(e,void 0)},e.prototype.race=function(){return o(this,void 0)}}},96766:(e,t,r)=>{"use strict";e.exports=function(e,t,n,i,a,o){var s=e._getDomain,c=r(16712),l=c.tryCatch;function u(t,r,n,i){this.constructor$(t);var o=s();this._fn=null===o?r:c.domainBind(o,r),void 0!==n&&(n=e.resolve(n))._attachCancellationCallback(this),this._initialValue=n,this._currentCancellable=null,i===a?this._eachValues=Array(this._length):0===i?this._eachValues=null:this._eachValues=void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function d(e,t){this.isFulfilled()?t._resolve(e):t._reject(e)}function h(e,t,r,i){return"function"!=typeof t?n("expecting a function but got "+c.classString(t)):new u(e,t,r,i).promise()}function f(t){this.accum=t,this.array._gotAccum(t);var r=i(this.value,this.array._promise);return r instanceof e?(this.array._currentCancellable=r,r._then(p,void 0,void 0,this,void 0)):p.call(this,r)}function p(t){var r,n=this.array,i=n._promise,a=l(n._fn);i._pushContext(),(r=void 0!==n._eachValues?a.call(i._boundValue(),t,this.index,this.length):a.call(i._boundValue(),this.accum,t,this.index,this.length))instanceof e&&(n._currentCancellable=r);var s=i._popContext();return o.checkForgottenReturns(r,s,void 0!==n._eachValues?"Promise.each":"Promise.reduce",i),r}c.inherits(u,t),u.prototype._gotAccum=function(e){void 0!==this._eachValues&&null!==this._eachValues&&e!==a&&this._eachValues.push(e)},u.prototype._eachComplete=function(e){return null!==this._eachValues&&this._eachValues.push(e),this._eachValues},u.prototype._init=function(){},u.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},u.prototype.shouldCopyValues=function(){return!1},u.prototype._resolve=function(e){this._promise._resolveCallback(e),this._values=null},u.prototype._resultCancelled=function(t){if(t===this._initialValue)return this._cancel();!this._isResolved()&&(this._resultCancelled$(),this._currentCancellable instanceof e&&this._currentCancellable.cancel(),this._initialValue instanceof e&&this._initialValue.cancel())},u.prototype._iterate=function(t){this._values=t;var r,n,i=t.length;if(void 0!==this._initialValue?(r=this._initialValue,n=0):(r=e.resolve(t[0]),n=1),this._currentCancellable=r,!r.isRejected())for(;n<i;++n){var a={accum:null,value:t[n],index:n,length:i,array:this};r=r._then(f,void 0,void 0,a,void 0)}void 0!==this._eachValues&&(r=r._then(this._eachComplete,void 0,void 0,this,void 0)),r._then(d,d,void 0,r,this)},e.prototype.reduce=function(e,t){return h(this,e,t,null)},e.reduce=function(e,t,r,n){return h(e,t,r,n)}}},457:(e,t,r)=>{"use strict";var n,i=r(16712),a=i.getNativePromise();if(i.isNode&&"undefined"==typeof MutationObserver){var o=global.setImmediate,s=process.nextTick;n=i.isRecentNode?function(e){o.call(global,e)}:function(e){s.call(process,e)}}else if("function"==typeof a&&"function"==typeof a.resolve){var c=a.resolve();n=function(e){c.then(e)}}else"undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&(window.navigator.standalone||window.cordova)?n="undefined"!=typeof setImmediate?function(e){setImmediate(e)}:"undefined"!=typeof setTimeout?function(e){setTimeout(e,0)}:function(){throw Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}:n=function(){var e=document.createElement("div"),t={attributes:!0},r=!1,n=document.createElement("div");new MutationObserver(function(){e.classList.toggle("foo"),r=!1}).observe(n,t);var i=function(){r||(r=!0,n.classList.toggle("foo"))};return function(r){var n=new MutationObserver(function(){n.disconnect(),r()});n.observe(e,t),i()}}();e.exports=n},1203:(e,t,r)=>{"use strict";e.exports=function(e,t,n){var i=e.PromiseInspection;function a(e){this.constructor$(e)}r(16712).inherits(a,t),a.prototype._promiseResolved=function(e,t){return this._values[e]=t,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},a.prototype._promiseFulfilled=function(e,t){var r=new i;return r._bitField=0x2000000,r._settledValueField=e,this._promiseResolved(t,r)},a.prototype._promiseRejected=function(e,t){var r=new i;return r._bitField=0x1000000,r._settledValueField=e,this._promiseResolved(t,r)},e.settle=function(e){return n.deprecated(".settle()",".reflect()"),new a(e).promise()},e.prototype.settle=function(){return e.settle(this)}}},85360:(e,t,r)=>{"use strict";e.exports=function(e,t,n){var i=r(16712),a=r(50679).RangeError,o=r(50679).AggregateError,s=i.isArray,c={};function l(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function u(e,t){if((0|t)!==t||t<0)return n("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var r=new l(e),i=r.promise();return r.setHowMany(t),r.init(),i}i.inherits(l,t),l.prototype._init=function(){if(this._initialized){if(0===this._howMany){this._resolve([]);return}this._init$(void 0,-5);var e=s(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},l.prototype.init=function(){this._initialized=!0,this._init()},l.prototype.setUnwrap=function(){this._unwrap=!0},l.prototype.howMany=function(){return this._howMany},l.prototype.setHowMany=function(e){this._howMany=e},l.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},l.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},l.prototype._promiseCancelled=function(){return this._values instanceof e||null==this._values?this._cancel():(this._addRejected(c),this._checkOutcome())},l.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new o,t=this.length();t<this._values.length;++t)this._values[t]!==c&&e.push(this._values[t]);return e.length>0?this._reject(e):this._cancel(),!0}return!1},l.prototype._fulfilled=function(){return this._totalResolved},l.prototype._rejected=function(){return this._values.length-this.length()},l.prototype._addRejected=function(e){this._values.push(e)},l.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},l.prototype._getRangeError=function(e){return new a("Input array must contain at least "+this._howMany+" items but contains only "+e+" items")},l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},e.some=function(e,t){return u(e,t)},e.prototype.some=function(e){return u(this,e)},e._SomePromiseArray=l}},98788:e=>{"use strict";e.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var r=t.prototype.value=function(){if(!this.isFulfilled())throw TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},n=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},i=t.prototype.isFulfilled=function(){return(0x2000000&this._bitField)!=0},a=t.prototype.isRejected=function(){return(0x1000000&this._bitField)!=0},o=t.prototype.isPending=function(){return(0x3010000&this._bitField)==0},s=t.prototype.isResolved=function(){return(0x3000000&this._bitField)!=0};t.prototype.isCancelled=function(){return(8454144&this._bitField)!=0},e.prototype.__isCancelled=function(){return(65536&this._bitField)==65536},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return(8454144&this._target()._bitField)!=0},e.prototype.isPending=function(){return o.call(this._target())},e.prototype.isRejected=function(){return a.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return s.call(this._target())},e.prototype.value=function(){return r.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),n.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},86034:(e,t,r)=>{"use strict";e.exports=function(e,t){var n=r(16712),i=n.errorObj,a=n.isObject,o={}.hasOwnProperty;return function(r,s){if(a(r)){if(r instanceof e)return r;var c=function(e){try{return e.then}catch(e){return i.e=e,i}}(r);if(c===i){s&&s._pushContext();var l=e.reject(c.e);return s&&s._popContext(),l}if("function"==typeof c){if(function(e){try{return o.call(e,"_promise0")}catch(e){return!1}}(r)){var u,d,h,f,l=new e(t);return r._then(l._fulfill,l._reject,void 0,l,null),l}return d=u=new e(t),s&&s._pushContext(),u._captureStackTrace(),s&&s._popContext(),h=!0,f=n.tryCatch(c).call(r,function(e){u&&(u._resolveCallback(e),u=null)},function(e){u&&(u._rejectCallback(e,h,!0),u=null)}),h=!1,u&&f===i&&(u._rejectCallback(f.e,!0,!0),u=null),d}}return r}}},81722:(e,t,r)=>{"use strict";e.exports=function(e,t,n){var i=r(16712),a=e.TimeoutError;function o(e){this.handle=e}o.prototype._resultCancelled=function(){clearTimeout(this.handle)};var s=function(e){return c(+this).thenReturn(e)},c=e.delay=function(r,i){var a,c;return void 0!==i?(a=e.resolve(i)._then(s,null,null,r,void 0),n.cancellation()&&i instanceof e&&a._setOnCancel(i)):(a=new e(t),c=setTimeout(function(){a._fulfill()},+r),n.cancellation()&&a._setOnCancel(new o(c)),a._captureStackTrace()),a._setAsyncGuaranteed(),a};e.prototype.delay=function(e){return c(e,this)};var l=function(e,t,r){var n;n="string"!=typeof t?t instanceof Error?t:new a("operation timed out"):new a(t),i.markAsOriginatingFromRejection(n),e._attachExtraTrace(n),e._reject(n),null!=r&&r.cancel()};function u(e){return clearTimeout(this.handle),e}function d(e){throw clearTimeout(this.handle),e}e.prototype.timeout=function(e,t){var r,i,a=new o(setTimeout(function(){r.isPending()&&l(r,t,i)},e=+e));return n.cancellation()?(r=(i=this.then())._then(u,d,void 0,a,void 0))._setOnCancel(a):r=this._then(u,d,void 0,a,void 0),r}}},88478:(e,t,r)=>{"use strict";e.exports=function(e,t,n,i,a,o){var s=r(16712),c=r(50679).TypeError,l=r(16712).inherits,u=s.errorObj,d=s.tryCatch,h={};function f(e){setTimeout(function(){throw e},0)}function p(e,t,r){this._data=e,this._promise=t,this._context=r}function g(e,t,r){this.constructor$(e,t,r)}function m(e){return p.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function b(e){this.length=e,this.promise=null,this[e-1]=null}p.prototype.data=function(){return this._data},p.prototype.promise=function(){return this._promise},p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():h},p.prototype.tryDispose=function(e){var t=this.resource(),r=this._context;void 0!==r&&r._pushContext();var n=t!==h?this.doDispose(t,e):null;return void 0!==r&&r._popContext(),this._promise._unsetDisposable(),this._data=null,n},p.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},l(g,p),g.prototype.doDispose=function(e,t){return this.data().call(e,e,t)},b.prototype._resultCancelled=function(){for(var t=this.length,r=0;r<t;++r){var n=this[r];n instanceof e&&n.cancel()}},e.using=function(){var r,i=arguments.length;if(i<2)return t("you must pass at least 2 arguments to Promise.using");var c=arguments[i-1];if("function"!=typeof c)return t("expecting a function but got "+s.classString(c));var l=!0;2===i&&Array.isArray(arguments[0])?(r=arguments[0],i=r.length,l=!1):(r=arguments,i--);for(var h=new b(i),g=0;g<i;++g){var v=r[g];if(p.isDisposer(v)){var y=v;(v=v.promise())._setDisposable(y)}else{var _=n(v);_ instanceof e&&(v=_._then(m,null,null,{resources:h,index:g},void 0))}h[g]=v}for(var A=Array(h.length),g=0;g<A.length;++g)A[g]=e.resolve(h[g]).reflect();var x=e.all(A).then(function(e){for(var t=0;t<e.length;++t){var r=e[t];if(r.isRejected())return u.e=r.error(),u;if(!r.isFulfilled()){x.cancel();return}e[t]=r.value()}S._pushContext(),c=d(c);var n=l?c.apply(void 0,e):c(e),i=S._popContext();return o.checkForgottenReturns(n,i,"Promise.using",S),n}),S=x.lastly(function(){var t,r,i,o=new e.PromiseInspection(x);return t=0,r=h.length,i=new e(a),function a(){if(t>=r)return i._fulfill();var s,c,l=((c=n(s=h[t++]))!==s&&"function"==typeof s._isDisposable&&"function"==typeof s._getDisposer&&s._isDisposable()&&c._setDisposable(s._getDisposer()),c);if(l instanceof e&&l._isDisposable()){try{l=n(l._getDisposer().tryDispose(o),h.promise)}catch(e){return f(e)}if(l instanceof e)return l._then(a,f,null,null,null)}a()}(),i});return h.promise=S,S._setOnCancel(h),S},e.prototype._setDisposable=function(e){this._bitField=131072|this._bitField,this._disposer=e},e.prototype._isDisposable=function(){return(131072&this._bitField)>0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},e.prototype.disposer=function(e){if("function"==typeof e)return new g(e,this,i());throw new c}}},16712:function(e,t,r){"use strict";var n,i,a=r(59889),o="undefined"==typeof navigator,s={e:{}},c="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0!==this?this:null;function l(){try{var e=i;return i=null,e.apply(this,arguments)}catch(e){return s.e=e,s}}function u(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function d(e,t,r){return u(e)||a.defineProperty(e,t,{value:r,configurable:!0,enumerable:!1,writable:!0}),e}var h=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var r=0;r<e.length;++r)if(e[r]===t)return!0;return!1};if(a.isES5){var r=Object.getOwnPropertyNames;return function(e){for(var n,i=[],o=Object.create(null);null!=e&&!t(e);){try{n=r(e)}catch(e){break}for(var s=0;s<n.length;++s){var c=n[s];if(!o[c]){o[c]=!0;var l=Object.getOwnPropertyDescriptor(e,c);null!=l&&null==l.get&&null==l.set&&i.push(c)}}e=a.getPrototypeOf(e)}return i}}var n={}.hasOwnProperty;return function(r){if(t(r))return[];var i=[];t:for(var a in r)if(n.call(r,a))i.push(a);else{for(var o=0;o<e.length;++o)if(n.call(e[o],a))continue t;i.push(a)}return i}}(),f=/this\s*\.\s*\S+\s*=/,p=/^[a-z$_][a-z$_0-9]*$/i;function g(e){try{return e+""}catch(e){return"[no string representation]"}}function m(e){return null!==e&&"object"==typeof e&&"string"==typeof e.message&&"string"==typeof e.name}function b(e){return m(e)&&a.propertyIsWritable(e,"stack")}var v="stack"in Error()?function(e){return b(e)?e:Error(g(e))}:function(e){if(b(e))return e;try{throw Error(g(e))}catch(e){return e}};function y(e){return({}).toString.call(e)}var _=function(e){return a.isArray(e)?e:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var A="function"==typeof Array.from?function(e){return Array.from(e)}:function(e){for(var t,r=[],n=e[Symbol.iterator]();!(t=n.next()).done;)r.push(t.value);return r};_=function(e){return a.isArray(e)?e:null!=e&&"function"==typeof e[Symbol.iterator]?A(e):null}}var x="undefined"!=typeof process&&"[object process]"===y(process).toLowerCase(),S="undefined"!=typeof process&&void 0!==process.env,w={isClass:function(e){try{if("function"==typeof e){var t=a.names(e.prototype),r=a.isES5&&t.length>1,n=t.length>0&&!(1===t.length&&"constructor"===t[0]),i=f.test(e+"")&&a.names(e).length>0;if(r||n||i)return!0}return!1}catch(e){return!1}},isIdentifier:function(e){return p.test(e)},inheritedDataKeys:h,getDataPropertyOrDefault:function(e,t,r){if(!a.isES5)return({}).hasOwnProperty.call(e,t)?e[t]:void 0;var n=Object.getOwnPropertyDescriptor(e,t);if(null!=n)return null==n.get&&null==n.set?n.value:r},thrower:function(e){throw e},isArray:a.isArray,asArray:_,notEnumerableProp:d,isPrimitive:u,isObject:function(e){return"function"==typeof e||"object"==typeof e&&null!==e},isError:m,canEvaluate:o,errorObj:s,tryCatch:function(e){return i=e,l},inherits:function(e,t){var r={}.hasOwnProperty;function n(){for(var n in this.constructor=e,this.constructor$=t,t.prototype)r.call(t.prototype,n)&&"$"!==n.charAt(n.length-1)&&(this[n+"$"]=t.prototype[n])}return n.prototype=t.prototype,e.prototype=new n,e.prototype},withAppended:function(e,t){var r,n=e.length,i=Array(n+1);for(r=0;r<n;++r)i[r]=e[r];return i[r]=t,i},maybeWrapAsError:function(e){return u(e)?Error(g(e)):e},toFastProperties:function(e){function t(){}t.prototype=e;for(var r=8;r--;)new t;return e},filledRange:function(e,t,r){for(var n=Array(e),i=0;i<e;++i)n[i]=t+i+r;return n},toString:g,canAttachTrace:b,ensureErrorObject:v,originatesFromRejection:function(e){return null!=e&&(e instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===e.isOperational)},markAsOriginatingFromRejection:function(e){try{d(e,"isOperational",!0)}catch(e){}},classString:y,copyDescriptors:function(e,t,r){for(var n=a.names(e),i=0;i<n.length;++i){var o=n[i];if(r(o))try{a.defineProperty(t,o,a.getDescriptor(e,o))}catch(e){}}},hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:x,hasEnvVariables:S,env:function(e){return S?process.env[e]:void 0},global:c,getNativePromise:function(){if("function"==typeof Promise)try{var e=new Promise(function(){});if("[object Promise]"===({}).toString.call(e))return Promise}catch(e){}},domainBind:function(e,t){return e.bind(t)}};w.isRecentNode=w.isNode&&(0===(n=process.versions.node.split(".").map(Number))[0]&&n[1]>10||n[0]>0),w.isNode&&w.toFastProperties(process);try{throw Error()}catch(e){w.lastLineError=e}e.exports=w},40458:(e,t,r)=>{function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(79428).Buffer.isBuffer},55673:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}]},9017:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.hex=t.dec=t.codePoint=void 0;for(var i=n(r(55673)),a={},o=String.fromCodePoint?String.fromCodePoint:function(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},s=0,c=i.default;s<c.length;s++){var l=c[s],u=parseInt(l["Unicode dec"],10),d={codePoint:u,string:o(u)};a[l["Typeface name"].toUpperCase()+"_"+l["Dingbat dec"]]=d}function h(e,t){return a[e.toUpperCase()+"_"+t]}t.codePoint=h,t.dec=function(e,t){return h(e,parseInt(t,10))},t.hex=function(e,t){return h(e,parseInt(t,16))}},61030:e=>{"use strict";global.MutationObserver||global.WebKitMutationObserver,t=function(){process.nextTick(i)};var t,r,n=[];function i(){r=!0;for(var e,t,i=n.length;i;){for(t=n,n=[],e=-1;++e<i;)t[e]();i=n.length}r=!1}e.exports=function(e){1!==n.push(e)||r||t()}},19905:(e,t,r)=>{try{var n=r(28354);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=r(23206)}},23206:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},94294:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},48618:(e,t,r)=>{"use strict";var n=r(95948),i=r(5078),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(e){for(var t,r,i,o,s,c,l,u=[],d=0,h=e.length,f=h,p="string"!==n.getTypeOf(e);d<e.length;)f=h-d,p?(t=e[d++],r=d<h?e[d++]:0,i=d<h?e[d++]:0):(t=e.charCodeAt(d++),r=d<h?e.charCodeAt(d++):0,i=d<h?e.charCodeAt(d++):0),o=t>>2,s=(3&t)<<4|r>>4,c=f>1?(15&r)<<2|i>>6:64,l=f>2?63&i:64,u.push(a.charAt(o)+a.charAt(s)+a.charAt(c)+a.charAt(l));return u.join("")},t.decode=function(e){var t,r,n,o,s,c,l,u,d=0,h=0,f="data:";if(e.substr(0,f.length)===f)throw Error("Invalid base64 input, it looks like a data url.");var p=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&p--,e.charAt(e.length-2)===a.charAt(64)&&p--,p%1!=0)throw Error("Invalid base64 input, bad content length.");for(u=i.uint8array?new Uint8Array(0|p):Array(0|p);d<e.length;)o=a.indexOf(e.charAt(d++)),s=a.indexOf(e.charAt(d++)),c=a.indexOf(e.charAt(d++)),l=a.indexOf(e.charAt(d++)),t=o<<2|s>>4,r=(15&s)<<4|c>>2,n=(3&c)<<6|l,u[h++]=t,64!==c&&(u[h++]=r),64!==l&&(u[h++]=n);return u}},23315:(e,t,r)=>{"use strict";var n=r(64870),i=r(618),a=r(61915),o=r(27304);function s(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("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)}},s.createWorkerFrom=function(e,t,r){return e.pipe(new a).pipe(new o("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},e.exports=s},59706:(e,t,r)=>{"use strict";var n=r(82657);t.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},t.DEFLATE=r(28995)},45262:(e,t,r)=>{"use strict";var n=r(95948),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}();e.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var a=0+r;e^=-1;for(var o=0;o<a;o++)e=e>>>8^i[(e^t[o])&255];return -1^e}(0|t,e,e.length,0):function(e,t,r,n){var a=0+r;e^=-1;for(var o=0;o<a;o++)e=e>>>8^i[(e^t.charCodeAt(o))&255];return -1^e}(0|t,e,e.length,0):0}},75439:(e,t)=>{"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},64870:(e,t,r)=>{"use strict";var n=null;n="undefined"!=typeof Promise?Promise:r(57033),e.exports={Promise:n}},28995:(e,t,r)=>{"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=r(79476),a=r(95948),o=r(82657),s=n?"uint8array":"array";function c(e,t){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}t.magic="\b\0",a.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.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})}},t.compressWorker=function(e){return new c("Deflate",e)},t.uncompressWorker=function(){return new c("Inflate",{})}},22222:(e,t,r)=>{"use strict";var n=r(95948),i=r(82657),a=r(82914),o=r(45262),s=r(62035),c=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},l=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16},u=function(e,t,r,i,u,d){var h,f,p=e.file,g=e.compression,m=d!==a.utf8encode,b=n.transformTo("string",d(p.name)),v=n.transformTo("string",a.utf8encode(p.name)),y=p.comment,_=n.transformTo("string",d(y)),A=n.transformTo("string",a.utf8encode(y)),x=v.length!==p.name.length,S=A.length!==y.length,w="",T="",D="",C=p.dir,k=p.date,E={crc32:0,compressedSize:0,uncompressedSize:0};(!t||r)&&(E.crc32=e.crc32,E.compressedSize=e.compressedSize,E.uncompressedSize=e.uncompressedSize);var P=0;t&&(P|=8),!m&&(x||S)&&(P|=2048);var R=0,F=0;(C&&(R|=16),"UNIX"===u)?(F=798,R|=l(p.unixPermissions,C)):(F=20,R|=63&(p.dosPermissions||0)),h=(k.getUTCHours()<<6|k.getUTCMinutes())<<5|k.getUTCSeconds()/2,f=(k.getUTCFullYear()-1980<<4|k.getUTCMonth()+1)<<5|k.getUTCDate(),x&&(T=c(1,1)+c(o(b),4)+v,w+="up"+c(T.length,2)+T),S&&(D=c(1,1)+c(o(_),4)+A,w+="uc"+c(D.length,2)+D);var U="";return U+="\n\0",U+=c(P,2),U+=g.magic,U+=c(h,2),U+=c(f,2),U+=c(E.crc32,4),U+=c(E.compressedSize,4),U+=c(E.uncompressedSize,4),U+=c(b.length,2),U+=c(w.length,2),{fileRecord:s.LOCAL_FILE_HEADER+U+b+w,dirRecord:s.CENTRAL_FILE_HEADER+c(F,2)+U+c(_.length,2)+"\0\0\0\0"+c(R,4)+c(i,4)+b+w+_}},d=function(e,t,r,i,a){var o=n.transformTo("string",a(i));return s.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(e,2)+c(e,2)+c(t,4)+c(r,4)+c(o.length,2)+o};function h(e,t,r,n){i.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=[]}n.inherits(h,i),h.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,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},h.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=u(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},h.prototype.closedSource=function(e){this.accumulate=!1;var t,r=this.streamFiles&&!e.file.dir,n=u(e,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),r){this.push({data:(t=e,s.DATA_DESCRIPTOR+c(t.crc32,4)+c(t.compressedSize,4)+c(t.uncompressedSize,4)),meta:{percent:100}})}else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},h.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=d(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},h.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},h.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},h.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},h.prototype.error=function(e){var t=this._sources;if(!i.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},h.prototype.lock=function(){i.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},e.exports=h},82493:(e,t,r)=>{"use strict";var n=r(59706),i=r(22222),a=function(e,t){var r=e||t,i=n[r];if(!i)throw Error(r+" is not a valid compression method !");return i};t.generateWorker=function(e,t,r){var n=new i(t.streamFiles,r,t.platform,t.encodeFileName),o=0;try{e.forEach(function(e,r){o++;var i=a(r.options.compression,t.compression),s=r.options.compressionOptions||t.compressionOptions||{},c=r.dir,l=r.date;r._compressWorker(i,s).withStreamInfo("file",{name:e,dir:c,date:l,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)}),n.entriesCount=o}catch(e){n.error(e)}return n}},69649:(e,t,r)=>{"use strict";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=r(46918),n.prototype.loadAsync=r(33037),n.support=r(5078),n.defaults=r(75439),n.version="3.10.1",n.loadAsync=function(e,t){return new n().loadAsync(e,t)},n.external=r(64870),e.exports=n},33037:(e,t,r)=>{"use strict";var n=r(95948),i=r(64870),a=r(82914),o=r(53820),s=r(61915),c=r(89457);e.exports=function(e,t){var r=this;return(t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),c.isNode&&c.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 o(t);return r.load(e),r}).then(function(e){var r=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var a=0;a<n.length;a++)r.push(function(e){return new i.Promise(function(t,r){var n=e.decompressed.getContentWorker().pipe(new s);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[a]));return i.Promise.all(r)}).then(function(e){for(var i=e.shift(),a=i.files,o=0;o<a.length;o++){var s=a[o],c=s.fileNameStr,l=n.resolve(s.fileNameStr);r.file(l,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(r.file(l).unsafeOriginalName=c)}return i.zipComment.length&&(r.comment=i.zipComment),r})}},29033:(e,t,r)=>{"use strict";var n=r(95948),i=r(82657);function a(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(a,i),a.prototype._bindStream=function(e){var t=this;this._stream=e,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()})},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=a},33332:(e,t,r)=>{"use strict";var n=r(52826).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)})}r(95948).inherits(i,n),i.prototype._read=function(){this._helper.resume()},e.exports=i},89457:e=>{"use strict";e.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},46918:(e,t,r)=>{"use strict";var n=r(82914),i=r(95948),a=r(82657),o=r(90512),s=r(75439),c=r(23315),l=r(39473),u=r(82493),d=r(89457),h=r(29033),f=function(e,t,r){var n,o=i.getTypeOf(t),u=i.extend(r||{},s);u.date=u.date||new Date,null!==u.compression&&(u.compression=u.compression.toUpperCase()),"string"==typeof u.unixPermissions&&(u.unixPermissions=parseInt(u.unixPermissions,8)),u.unixPermissions&&16384&u.unixPermissions&&(u.dir=!0),u.dosPermissions&&16&u.dosPermissions&&(u.dir=!0),u.dir&&(e=g(e)),u.createFolders&&(n=p(e))&&m.call(this,n,!0);var f="string"===o&&!1===u.binary&&!1===u.base64;r&&void 0!==r.binary||(u.binary=!f),(t instanceof c&&0===t.uncompressedSize||u.dir||!t||0===t.length)&&(u.base64=!1,u.binary=!0,t="",u.compression="STORE",o="string");var b=null;b=t instanceof c||t instanceof a?t:d.isNode&&d.isStream(t)?new h(e,t):i.prepareContent(e,t,u.binary,u.optimizedBinaryString,u.base64);var v=new l(e,b,u);this.files[e]=v},p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},g=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},m=function(e,t){return t=void 0!==t?t:s.createFolders,e=g(e),this.files[e]||f.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function b(e){return"[object RegExp]"===Object.prototype.toString.call(e)}e.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){if(b(e)){var n=e;return this.filter(function(e,t){return!t.dir&&n.test(e)})}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,f.call(this,e,t,r),this},folder:function(e){if(!e)return this;if(b(e))return this.filter(function(t,r){return r.dir&&e.test(t)});var t=this.root+e,r=m.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=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:n.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw Error("No output type specified.");i.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 s=r.comment||this.comment||"";t=u.generateWorker(this,r,s)}catch(e){(t=new a("error")).error(e)}return new o(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)}}},59779:(e,t,r)=>{"use strict";var n=r(89710);function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}r(95948).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),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-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),a=this.readData(4);return t===a[0]&&r===a[1]&&n===a[2]&&i===a[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},e.exports=i},89710:(e,t,r)=>{"use strict";var n=r(95948);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((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},e.exports=i},2660:(e,t,r)=>{"use strict";var n=r(52131);function i(e){n.call(this,e)}r(95948).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},e.exports=i},60139:(e,t,r)=>{"use strict";var n=r(89710);function i(e){n.call(this,e)}r(95948).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},e.exports=i},52131:(e,t,r)=>{"use strict";var n=r(59779);function i(e){n.call(this,e)}r(95948).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},e.exports=i},11423:(e,t,r)=>{"use strict";var n=r(95948),i=r(5078),a=r(59779),o=r(60139),s=r(2660),c=r(52131);e.exports=function(e){var t=n.getTypeOf(e);return(n.checkSupport(t),"string"!==t||i.uint8array)?"nodebuffer"===t?new s(e):i.uint8array?new c(n.transformTo("uint8array",e)):new a(n.transformTo("array",e)):new o(e)}},62035:(e,t)=>{"use strict";t.LOCAL_FILE_HEADER="PK\x03\x04",t.CENTRAL_FILE_HEADER="PK\x01\x02",t.CENTRAL_DIRECTORY_END="PK\x05\x06",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",t.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",t.DATA_DESCRIPTOR="PK\x07\b"},55215:(e,t,r)=>{"use strict";var n=r(82657),i=r(95948);function a(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(a,n),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},e.exports=a},61915:(e,t,r)=>{"use strict";var n=r(82657),i=r(45262);function a(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r(95948).inherits(a,n),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},e.exports=a},27304:(e,t,r)=>{"use strict";var n=r(95948),i=r(82657);function a(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(a,i),a.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)},e.exports=a},618:(e,t,r)=>{"use strict";var n=r(95948),i=r(82657);function a(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(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.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}})},e.exports=a},82657:e=>{"use strict";function t(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}t.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;this.isPaused=!1;var e=!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}},e.exports=t},90512:(e,t,r)=>{"use strict";var n=r(95948),i=r(55215),a=r(82657),o=r(48618),s=r(5078),c=r(64870),l=null;if(s.nodestream)try{l=r(33332)}catch(e){}function u(e,t,r){var o=t;switch(t){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=t,this._mimeType=r,n.checkSupport(o),this._worker=e.pipe(new i(o)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}u.prototype={accumulate:function(e){var t;return t=this,new c.Promise(function(r,i){var a=[],s=t._internalType,c=t._outputType,l=t._mimeType;t.on("data",function(t,r){a.push(t),e&&e(r)}).on("error",function(e){a=[],i(e)}).on("end",function(){try{var e=function(e,t,r){switch(e){case"blob":return n.newBlob(n.transformTo("arraybuffer",t),r);case"base64":return o.encode(t);default:return n.transformTo(e,t)}}(c,function(e,t){var r,n=0,i=null,a=0;for(r=0;r<t.length;r++)a+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(r=0,i=new Uint8Array(a);r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw Error("concat : unsupported type '"+e+"'")}}(s,a),l);r(e)}catch(e){i(e)}a=[]}).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 l(this,{objectMode:"nodebuffer"!==this._outputType},e)}},e.exports=u},5078:(e,t,r)=>{"use strict";if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,t.nodebuffer="undefined"!=typeof Buffer,t.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)t.blob=!1;else{var n=new ArrayBuffer(0);try{t.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),t.blob=0===i.getBlob("application/zip").size}catch(e){t.blob=!1}}}try{t.nodestream=!!r(52826).Readable}catch(e){t.nodestream=!1}},82914:(e,t,r)=>{"use strict";for(var n=r(95948),i=r(5078),a=r(89457),o=r(82657),s=Array(256),c=0;c<256;c++)s[c]=c>=252?6:c>=248?5:c>=240?4:c>=224?3:c>=192?2:1;s[254]=s[254]=1;var l=function(e){var t,r,n,a,o,s=e.length,c=0;for(a=0;a<s;a++)(64512&(r=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(n=e.charCodeAt(a+1)))==56320&&(r=65536+(r-55296<<10)+(n-56320),a++),c+=r<128?1:r<2048?2:r<65536?3:4;for(o=0,t=i.uint8array?new Uint8Array(c):Array(c),a=0;o<c;a++)(64512&(r=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(n=e.charCodeAt(a+1)))==56320&&(r=65536+(r-55296<<10)+(n-56320),a++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t},u=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&(192&e[r])==128;)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t},d=function(e){var t,r,i,a,o=e.length,c=Array(2*o);for(r=0,t=0;t<o;){if((i=e[t++])<128){c[r++]=i;continue}if((a=s[i])>4){c[r++]=65533,t+=a-1;continue}for(i&=2===a?31:3===a?15:7;a>1&&t<o;)i=i<<6|63&e[t++],a--;if(a>1){c[r++]=65533;continue}i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return c.length!==r&&(c.subarray?c=c.subarray(0,r):c.length=r),n.applyFromCharCode(c)};function h(){o.call(this,"utf-8 decode"),this.leftOver=null}function f(){o.call(this,"utf-8 encode")}t.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,"utf-8"):l(e)},t.utf8decode=function(e){return i.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):d(e=n.transformTo(i.uint8array?"uint8array":"array",e))},n.inherits(h,o),h.prototype.processChunk=function(e){var r=n.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=r;(r=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),r.set(a,this.leftOver.length)}else r=this.leftOver.concat(r);this.leftOver=null}var o=u(r),s=r;o!==r.length&&(i.uint8array?(s=r.subarray(0,o),this.leftOver=r.subarray(o,r.length)):(s=r.slice(0,o),this.leftOver=r.slice(o,r.length))),this.push({data:t.utf8decode(s),meta:e.meta})},h.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=h,n.inherits(f,o),f.prototype.processChunk=function(e){this.push({data:t.utf8encode(e.data),meta:e.meta})},t.Utf8EncodeWorker=f},95948:(e,t,r)=>{"use strict";var n=r(5078),i=r(48618),a=r(89457),o=r(64870);function s(e){return e}function c(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}r(82826),t.newBlob=function(e,r){t.checkSupport("blob");try{return new Blob([e],{type:r})}catch(t){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(r)}catch(e){throw Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(e,t,r){var n=[],i=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;i<a;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,a)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,a)))),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,a.allocBuffer(1)).length}catch(e){return!1}}()}};function u(e){var r=65536,n=t.getTypeOf(e),i=!0;if("uint8array"===n?i=l.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=l.applyCanBeUsed.nodebuffer),i)for(;r>1;)try{return l.stringifyByChunk(e,n,r)}catch(e){r=Math.floor(r/2)}return l.stringifyByChar(e)}function d(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}t.applyFromCharCode=u;var h={};h.string={string:s,array:function(e){return c(e,Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:function(e){return c(e,a.allocBuffer(e.length))}},h.array={string:u,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},h.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},h.uint8array={string:u,array:function(e){return d(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return a.newBufferFrom(e)}},h.nodebuffer={string:u,array:function(e){return d(e,Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},t.transformTo=function(e,r){return(r||(r=""),e)?(t.checkSupport(e),h[t.getTypeOf(r)][e](r)):r},t.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("/")},t.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&a.isBuffer(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},t.checkSupport=function(e){if(!n[e.toLowerCase()])throw Error(e+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.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},t.delay=function(e,t,r){setImmediate(function(){e.apply(r||null,t||[])})},t.inherits=function(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r},t.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},t.prepareContent=function(e,r,a,s,l){return o.Promise.resolve(r).then(function(e){return n.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new o.Promise(function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)}):e}).then(function(r){var u,d,h=t.getTypeOf(r);return h?("arraybuffer"===h?r=t.transformTo("uint8array",r):"string"===h&&(l?r=i.decode(r):a&&!0!==s&&(u=r,d=null,d=n.uint8array?new Uint8Array(u.length):Array(u.length),r=c(u,d))),r):o.Promise.reject(Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},53820:(e,t,r)=>{"use strict";var n=r(11423),i=r(95948),a=r(62035),o=r(97148),s=r(5078);function c(e){this.files=[],this.loadOptions=e}c.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);return this.reader.setIndex(r),n===t},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=s.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),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({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(a.CENTRAL_DIRECTORY_END);if(e<0){if(!this.isSignature(0,a.LOCAL_FILE_HEADER))throw 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");throw Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(e);var t=e;if(this.checkSignature(a.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(a.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(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.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(a.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(n>0)this.isSignature(t,a.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()}},e.exports=c},97148:(e,t,r)=>{"use strict";var n=r(11423),i=r(95948),a=r(23315),o=r(45262),s=r(82914),c=r(59706),l=r(5078),u=function(e){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&c[t].magic===e)return c[t];return null};function d(e,t){this.options=e,this.loadOptions=t}d.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},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=u(this.compressionMethod)))throw Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new a(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=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.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 a=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||o(this.fileName)!==t.readInt(4)?null:s.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)||o(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},e.exports=d},39473:(e,t,r)=>{"use strict";var n=r(90512),i=r(618),a=r(82914),o=r(23315),s=r(82657),c=function(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}};c.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw Error("No output type specified.");r=e.toLowerCase();var i="string"===r||"text"===r;("binarystring"===r||"text"===r)&&(r="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!i&&(t=t.pipe(new a.Utf8EncodeWorker)),!o&&i&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new s("error")).error(e)}return new n(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 o&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new a.Utf8EncodeWorker)),o.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof s?this._data:new i(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<l.length;d++)c.prototype[l[d]]=u;e.exports=c},57033:(e,t,r)=>{"use strict";var n=r(61030);function i(){}var a={},o=["REJECTED"],s=["FULFILLED"],c=["PENDING"],l=["UNHANDLED"];function u(e){if("function"!=typeof e)throw TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,this.handled=l,e!==i&&p(this,e)}function d(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 a.reject(e,t)}n===e?a.reject(e,TypeError("Cannot resolve promise with itself")):a.resolve(e,n)})}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var r=!1;function n(t){r||(r=!0,a.reject(e,t))}function i(t){r||(r=!0,a.resolve(e,t))}var o=g(function(){t(i,n)});"error"===o.status&&n(o.value)}function g(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}e.exports=u,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===s||"function"!=typeof t&&this.state===o)return this;var r=new this.constructor(i);return this.handled===l&&(this.handled=null),this.state!==c?h(r,this.state===s?e:t,this.outcome):this.queue.push(new d(r,e,t)),r},d.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},d.prototype.otherCallFulfilled=function(e){h(this.promise,this.onFulfilled,e)},d.prototype.callRejected=function(e){a.reject(this.promise,e)},d.prototype.otherCallRejected=function(e){h(this.promise,this.onRejected,e)},a.resolve=function(e,t){var r=g(f,t);if("error"===r.status)return a.reject(e,r.value);var n=r.value;if(n)p(e,n);else{e.state=s,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},a.reject=function(e,t){e.state=o,e.outcome=t,e.handled===l&&n(function(){e.handled===l&&process.emit("unhandledRejection",t,e)});for(var r=-1,i=e.queue.length;++r<i;)e.queue[r].callRejected(t);return e},u.resolve=function(e){return e instanceof this?e:a.resolve(new this(i),e)},u.reject=function(e){var t=new this(i);return a.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 o=Array(r),s=0,c=-1,l=new this(i);++c<r;)(function(e,i){t.resolve(e).then(function(e){o[i]=e,++s!==r||n||(n=!0,a.resolve(l,o))},function(e){n||(n=!0,a.reject(l,e))})})(e[c],c);return l},u.race=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 o=-1,s=new this(i);++o<r;)(function(e){t.resolve(e).then(function(e){n||(n=!0,a.resolve(s,e))},function(e){n||(n=!0,a.reject(s,e))})})(e[o]);return s}},34452:(e,t,r)=>{t.Parser=r(52525).Parser,t.rules=r(81851),t.errors=r(14833),t.results=r(65871),t.StringSource=r(29730),t.Token=r(30885),t.bottomUp=r(24123),t.RegexTokeniser=r(94424).RegexTokeniser,t.rule=function(e){var t;return function(r){return t||(t=e()),t(r)}}},29730:e=>{e.exports=function(e,r){return{asString:function(){return e},range:function(n,i){return new t(e,r,n,i)}}};var t=function(e,t,r,n){this._string=e,this._description=t,this._startIndex=r,this._endIndex=n};t.prototype.to=function(e){return new t(this._string,this._description,this._startIndex,e._endIndex)},t.prototype.describe=function(){var e=this._position();return(this._description?this._description+"\n":"")+"Line number: "+e.lineNumber+"\nCharacter number: "+e.characterNumber},t.prototype.lineNumber=function(){return this._position().lineNumber},t.prototype.characterNumber=function(){return this._position().characterNumber},t.prototype._position=function(){for(var e=this,t=0,r=function(){return e._string.indexOf("\n",t)},n=1;-1!==r()&&r()<this._startIndex;)t=r()+1,n+=1;return{lineNumber:n,characterNumber:this._startIndex-t+1}}},30885:e=>{e.exports=function(e,t,r){this.name=e,this.value=t,r&&(this.source=r)}},98171:e=>{var t=e.exports=function(e,t){this._tokens=e,this._startIndex=t||0};t.prototype.head=function(){return this._tokens[this._startIndex]},t.prototype.tail=function(e){return new t(this._tokens,this._startIndex+1)},t.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},t.prototype.end=function(){return this._tokens[this._tokens.length-1]},t.prototype.to=function(e){var t=this.head().source,r=e.head()||e.end();return t.to(r.source)}},24123:(e,t,r)=>{var n=r(81851),i=r(65871);function a(e){function t(){return e.map(function(e){return e.name})}return{apply:function(t){for(var r,a,o;;)if((o=t.remaining(),r=n.firstOf("infix",e.map(function(e){return e.rule}))(o)).isSuccess())a=t.source().to(r.source()),t=i.success(r.value()(t.value(),a),r.remaining(),a);else if(r.isFailure())return t;else return r},untilExclusive:function(r){return new a(e.slice(0,t().indexOf(r)))},untilInclusive:function(r){return new a(e.slice(0,t().indexOf(r)+1))}}}t.parser=function(e,t,r){var i={rule:function(){return l(s)},leftAssociative:function(e){return l(s.untilExclusive(e))},rightAssociative:function(e){return l(s.untilInclusive(e))}},s=new a(r.map(function(e){return{name:e.name,rule:o(e.ruleBuilder.bind(null,i))}})),c=n.firstOf(e,t);function l(e){return u.bind(null,e)}function u(e,t){var r=c(t);return r.isSuccess()?e.apply(r):r}return i},t.infix=function(e,r){return{name:e,ruleBuilder:r,map:function(n){return t.infix(e,function(e){var t=r(e);return function(e){return t(e).map(function(e){return function(t,r){return n(t,e,r)}})}})}}};var o=function(e){var t;return function(r){return t||(t=e()),t(r)}}},14833:(e,t)=>{t.error=function(e){return new r(e)};var r=function(e){this.expected=e.expected,this.actual=e.actual,this._location=e.location};r.prototype.describe=function(){return(this._location?this._location.describe()+":\n":"")+"Expected "+this.expected+"\nbut got "+this.actual},r.prototype.lineNumber=function(){return this._location.lineNumber()},r.prototype.characterNumber=function(){return this._location.characterNumber()}},31522:(e,t)=>{t.fromArray=function(e){var t=0,n=function(){return t<e.length};return new r({hasNext:n,next:function(){if(n())return e[t++];throw Error("No more elements")}})};var r=function(e){this._iterator=e};r.prototype.map=function(e){var t=this._iterator;return new r({hasNext:function(){return t.hasNext()},next:function(){return e(t.next())}})},r.prototype.filter=function(e){var t,n=this._iterator,i=!1,a=!1,o=function(){if(!i)for(i=!0,a=!1;n.hasNext()&&!a;)a=e(t=n.next())};return new r({hasNext:function(){return o(),a},next:function(){return o(),i=!1,t}})},r.prototype.first=function(){var e=this._iterator;return this._iterator.hasNext()?e.next():null},r.prototype.toArray=function(){for(var e=[];this._iterator.hasNext();)e.push(this._iterator.next());return e}},52525:(e,t,r)=>{var n=r(98171);t.Parser=function(e){return{parseTokens:function(e,t){return e(new n(t))}}}},65871:e=>{e.exports={failure:function(e,r){if(e.length<1)throw Error("Failure must have errors");return new t({status:"failure",remaining:r,errors:e})},error:function(e,r){if(e.length<1)throw Error("Failure must have errors");return new t({status:"error",remaining:r,errors:e})},success:function(e,r,n){return new t({status:"success",value:e,source:n,remaining:r,errors:[]})},cut:function(e){return new t({status:"cut",remaining:e,errors:[]})}};var t=function(e){this._value=e.value,this._status=e.status,this._hasValue=void 0!==e.value,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};t.prototype.map=function(e){return this._hasValue?new t({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},t.prototype.changeRemaining=function(e){return new t({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})},t.prototype.isSuccess=function(){return"success"===this._status||"cut"===this._status},t.prototype.isFailure=function(){return"failure"===this._status},t.prototype.isError=function(){return"error"===this._status},t.prototype.isCut=function(){return"cut"===this._status},t.prototype.value=function(){return this._value},t.prototype.remaining=function(){return this._remaining},t.prototype.source=function(){return this._source},t.prototype.errors=function(){return this._errors}},94424:(e,t,r)=>{var n=r(30885),i=r(29730);t.RegexTokeniser=function(e){return e=e.map(function(e){return{name:e.name,regex:RegExp(e.regex.source,"g")}}),{tokenise:function(t,r){for(var a=new i(t,r),o=0,s=[];o<t.length;){var c=function(t,r,i){for(var a=0;a<e.length;a++){var o=e[a].regex;o.lastIndex=r;var s=o.exec(t);if(s){var c=r+s[0].length;if(s.index===r&&c>r){var l=s[1],u=new n(e[a].name,l,i.range(r,c));return{token:u,endIndex:c}}}}var c=r+1,u=new n("unrecognisedCharacter",t.substring(r,c),i.range(r,c));return{token:u,endIndex:c}}(t,o,a);o=c.endIndex,s.push(c.token)}return s.push(new n("end",null,a.range(t.length,t.length))),s}}}},81851:(e,t,r)=>{var n=r(7984),i=r(49356),a=r(65871),o=r(14833),s=r(31522);t.token=function(e,t){var r=void 0!==t;return function(n){var i=n.head();return i&&i.name===e&&(!r||i.value===t)?a.success(i.value,n.tail(),i.source):f(n,h({name:e,value:t}))}},t.tokenOfType=function(e){return t.token(e)},t.firstOf=function(e,t){return n.isArray(t)||(t=Array.prototype.slice.call(arguments,1)),function(r){return s.fromArray(t).map(function(e){return e(r)}).filter(function(e){return e.isSuccess()||e.isError()}).first()||f(r,e)}},t.then=function(e,t){return function(r){var n=e(r);return n.map||console.log(n),n.map(t)}},t.sequence=function(){var e=Array.prototype.slice.call(arguments,0),r=function(r){var i=n.foldl(e,function(e,t){var n=e.result,i=e.hasCut;if(!n.isSuccess())return{result:n,hasCut:i};var o=t(n.remaining());if(o.isCut())return{result:n,hasCut:!0};if(o.isSuccess()){s=t.isCaptured?n.value().withValue(t,o.value()):n.value();var s,c=o.remaining(),l=r.to(c);return{result:a.success(s,c,l),hasCut:i}}return i?{result:a.error(o.errors(),o.remaining()),hasCut:i}:{result:o,hasCut:i}},{result:a.success(new c,r),hasCut:!1}).result,o=r.to(i.remaining());return i.map(function(e){return e.withValue(t.sequence.source,o)})};function i(e){return e.isCaptured}return r.head=function(){var a=n.find(e,i);return t.then(r,t.sequence.extract(a))},r.map=function(e){return t.then(r,function(t){return e.apply(this,t.toArray())})},r};var c=function(e,t){this._values=e||{},this._valuesArray=t||[]};c.prototype.withValue=function(e,t){if(e.captureName&&e.captureName in this._values)throw Error('Cannot add second value for capture "'+e.captureName+'"');var r=n.clone(this._values);return r[e.captureName]=t,new c(r,this._valuesArray.concat([t]))},c.prototype.get=function(e){if(e.captureName in this._values)return this._values[e.captureName];throw Error('No value for capture "'+e.captureName+'"')},c.prototype.toArray=function(){return this._valuesArray},t.sequence.capture=function(e,t){var r=function(){return e.apply(this,arguments)};return r.captureName=t,r.isCaptured=!0,r},t.sequence.extract=function(e){return function(t){return t.get(e)}},t.sequence.applyValues=function(e){var t=Array.prototype.slice.call(arguments,1);return function(r){var n=t.map(function(e){return r.get(e)});return e.apply(this,n)}},t.sequence.source={captureName:"☃source☃"},t.sequence.cut=function(){return function(e){return a.cut(e)}},t.optional=function(e){return function(t){var r=e(t);return r.isSuccess()?r.map(i.some):r.isFailure()?a.success(i.none,t):r}},t.zeroOrMoreWithSeparator=function(e,t){return d(e,t,!1)},t.oneOrMoreWithSeparator=function(e,t){return d(e,t,!0)};var l=t.zeroOrMore=function(e){return function(t){for(var r,n=[];(r=e(t))&&r.isSuccess();)t=r.remaining(),n.push(r.value());return r.isError()?r:a.success(n,t)}};function u(e){return a.success(null,e)}t.oneOrMore=function(e){return t.oneOrMoreWithSeparator(e,u)};var d=function(e,r,n){return function(i){var o=e(i);if(o.isSuccess()){var s=t.sequence.capture(e,"main"),c=l(t.then(t.sequence(r,s),t.sequence.extract(s)))(o.remaining());return a.success([o.value()].concat(c.value()),c.remaining())}return n||o.isError()?o:a.success([],i)}};t.leftAssociative=function(e,r,n){i=(i=n?[{func:n,rule:r}]:r).map(function(e){return t.then(e.rule,function(t){return function(r,n){return e.func(r,t,n)}})});var i,o=t.firstOf.apply(null,["rules"].concat(i));return function(t){var r=e(t);if(!r.isSuccess())return r;for(var n=o(r.remaining());n.isSuccess();){var i=n.remaining(),s=t.to(n.remaining()),c=n.value();n=o((r=a.success(c(r.value(),s),i,s)).remaining())}return n.isError()?n:r}},t.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},t.nonConsuming=function(e){return function(t){return e(t).changeRemaining(t)}};var h=function(e){return e.value?e.name+' "'+e.value+'"':e.name};function f(e,t){var r,n=e.head();return r=n?o.error({expected:t,actual:h(n),location:n.source}):o.error({expected:t,actual:"end of tokens"}),a.failure([r],e)}},60421:(e,t,r)=>{var n=r(7984),i=r(13478),a=r(71468),o=r(13593),s=r(45840),c=r(10782),l=r(61318),u=r(6341);function d(e,t){var r,d,m=1,b=[],v=[],y=void 0===(e=n.extend({ignoreEmptyParagraphs:!0},e)).idPrefix?"":e.idPrefix,_=e.ignoreEmptyParagraphs,A=o.topLevelElement("p"),x=e.styleMap||[];function S(e,t,r){return p(e,function(e){return w(e,t,r)})}function w(e,t,r){if(!r)throw Error("options not set");var n=U[e.type];return n?n(e,t,r):[]}function T(e,t){return D({type:e})||(t?o.element(t,{},{fresh:!1}):o.empty)}function D(e,t){var r=C(e);return r?r.to:t}function C(e){for(var t=0;t<x.length;t++)if(x[t].from.matches(e))return x[t]}function k(e){return y+(e.noteType+"-")+e.noteId}function E(e){return P(e.noteType,e.noteId)}function P(e,t){return y+(e+"-ref-")+t}var R=o.elements([o.element("table",{},{fresh:!0})]);function F(e,t,r){var n=e.label,i=e.comment,a=S(i.body,t,r).concat([l.nonFreshElement("p",{},[l.text(" "),l.freshElement("a",{href:"#"+P("comment",i.commentId)},[l.text("↑")])])]);return[l.freshElement("dt",{id:y+"comment-"+i.commentId},[l.text("Comment "+n)]),l.freshElement("dd",{},a)]}var U={document:function(e,t,r){var n=S(e.children,t,r),i=S(b.map(function(t){return e.notes.resolve(t)}),t,r);return n.concat([l.freshElement("ol",{},i),l.freshElement("dl",{},p(v,function(e){return F(e,t,r)}))])},paragraph:function(e,t,r){var n;return((n=C(e))?n.to:(e.styleId&&t.push(f("paragraph",e)),A)).wrap(function(){var n=S(e.children,t,r);return _?n:[l.forceWrite].concat(n)})},run:function(e,t,r){var n=function(){return S(e.children,t,r)},i=[];if(null!==e.highlight){var s=D({type:"highlight",color:e.highlight});s&&i.push(s)}e.isSmallCaps&&i.push(T("smallCaps")),e.isAllCaps&&i.push(T("allCaps")),e.isStrikethrough&&i.push(T("strikethrough","s")),e.isUnderline&&i.push(T("underline")),e.verticalAlignment===a.verticalAlignment.subscript&&i.push(o.element("sub",{},{fresh:!1})),e.verticalAlignment===a.verticalAlignment.superscript&&i.push(o.element("sup",{},{fresh:!1})),e.isItalic&&i.push(T("italic","em")),e.isBold&&i.push(T("bold","strong"));var c=o.empty,l=C(e);return l?c=l.to:e.styleId&&t.push(f("run",e)),i.push(c),i.forEach(function(e){n=e.wrap.bind(e,n)}),n()},text:function(e,t,r){return[l.text(e.value)]},tab:function(e,t,r){return[l.text(" ")]},hyperlink:function(e,t,r){var n={href:e.anchor?"#"+(y+e.anchor):e.href};null!=e.targetFrame&&(n.target=e.targetFrame);var i=S(e.children,t,r);return[l.nonFreshElement("a",n,i)]},checkbox:function(e){var t={type:"checkbox"};return e.checked&&(t.checked="checked"),[l.freshElement("input",t)]},bookmarkStart:function(e,t,r){return[l.freshElement("a",{id:y+e.name},[l.forceWrite])]},noteReference:function(e,t,r){b.push(e);var n=l.freshElement("a",{href:"#"+k(e),id:E(e)},[l.text("["+m+++"]")]);return[l.freshElement("sup",{},[n])]},note:function(e,t,r){var n=S(e.body,t,r),i=l.elementWithTag(o.element("p",{},{fresh:!1}),[l.text(" "),l.freshElement("a",{href:"#"+E(e)},[l.text("↑")])]),a=n.concat([i]);return l.freshElement("li",{id:k(e)},a)},commentReference:function(e,r,n){return D(e,o.ignore).wrap(function(){var r=t[e.commentId],n=v.length+1,i="["+g(r)+n+"]";return v.push({label:i,comment:r}),[l.freshElement("a",{href:"#"+y+"comment-"+e.commentId,id:P("comment",e.commentId)},[l.text(i)])]})},comment:F,image:(d=e.convertImage||c.dataUri,r=function(e,t){return i.attempt(function(){return d(e,t)}).caught(function(e){return t.push(s.error(e)),[]})},function(e,t,n){return[{type:"deferred",id:h++,value:function(){return r(e,t,n)}}]}),table:function(e,t,r){return D(e,R).wrap(function(){return function(e,t,r){var i,o=n.findIndex(e.children,function(e){return!e.type===a.types.tableRow||!e.isHeader});if(-1===o&&(o=e.children.length),0===o)i=S(e.children,t,n.extend({},r,{isTableHeader:!1}));else{var s=S(e.children.slice(0,o),t,n.extend({},r,{isTableHeader:!0})),c=S(e.children.slice(o),t,n.extend({},r,{isTableHeader:!1}));i=[l.freshElement("thead",{},s),l.freshElement("tbody",{},c)]}return[l.forceWrite].concat(i)}(e,t,r)})},tableRow:function(e,t,r){var n=S(e.children,t,r);return[l.freshElement("tr",{},[l.forceWrite].concat(n))]},tableCell:function(e,t,r){var n=r.isTableHeader?"th":"td",i=S(e.children,t,r),a={};return 1!==e.colSpan&&(a.colspan=e.colSpan.toString()),1!==e.rowSpan&&(a.rowspan=e.rowSpan.toString()),[l.freshElement(n,a,[l.forceWrite].concat(i))]},break:function(e,t,r){var n;return((n=C(e))?n.to:"line"===e.breakType?o.topLevelElement("br"):o.empty).wrap(function(){return[]})}};return{convertToHtml:function(t){var r=[],a=w(t,r,{}),o=[];(function e(t,r){t.forEach(function(t){r(t),t.children&&e(t.children,r)})})(a,function(e){"deferred"===e.type&&o.push(e)});var c={};return i.mapSeries(o,function(e){return e.value().then(function(t){c[e.id]=t})}).then(function(){var t=u.writer({prettyPrint:e.prettyPrint,outputFormat:e.outputFormat});return l.write(t,l.simplify(function e(t){return p(t,function(t){return"deferred"===t.type?c[t.id]:t.children?[n.extend({},t,{children:e(t.children)})]:[t]})}(a))),new s.Result(t.asString(),r)})}}}t.w=function(e){return{convertToHtml:function(t){return new d(e,n.indexBy(t.type===a.types.document?t.comments:[],"commentId")).convertToHtml(t)}}};var h=1;function f(e,t){return s.warning("Unrecognised "+e+" style: '"+t.styleName+"' (Style ID: "+t.styleId+")")}function p(e,t){return n.flatten(e.map(t),!0)}var g=function(e){return e.authorInitials||""}},71468:(e,t,r)=>{var n=r(7984),i=t.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"},a={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function o(e){this._notes=n.indexBy(e,function(e){return e.noteType+"-"+e.noteId})}function s(e){return{type:i.break,breakType:e}}o.prototype.resolve=function(e){return this.findNoteByKey(e.noteType+"-"+e.noteId)},o.prototype.findNoteByKey=function(e){return this._notes[e]||null},t.document=t.Document=function(e,t){return t=t||{},{type:i.document,children:e,notes:t.notes||new o({}),comments:t.comments||[]}},t.paragraph=t.Paragraph=function(e,t){var r=(t=t||{}).indent||{};return{type:i.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.numbering||null,alignment:t.alignment||null,indent:{start:r.start||null,end:r.end||null,firstLine:r.firstLine||null,hanging:r.hanging||null}}},t.run=t.Run=function(e,t){return t=t||{},{type:i.run,children:e,styleId:t.styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||a.baseline,font:t.font||null,fontSize:t.fontSize||null,highlight:t.highlight||null}},t.text=t.Text=function(e){return{type:i.text,value:e}},t.tab=t.Tab=function(){return{type:i.tab}},t.checkbox=t.Checkbox=function(e){return{type:i.checkbox,checked:e.checked}},t.Hyperlink=function(e,t){return{type:i.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}},t.noteReference=t.NoteReference=function(e){return{type:i.noteReference,noteType:e.noteType,noteId:e.noteId}},t.Notes=o,t.Note=function(e){return{type:i.note,noteType:e.noteType,noteId:e.noteId,body:e.body}},t.commentReference=function(e){return{type:i.commentReference,commentId:e.commentId}},t.comment=function(e){return{type:i.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}},t.Image=function(e){return{type:i.image,read:function(t){return t?e.readImage(t):e.readImage().then(function(e){return Buffer.from(e)})},readAsArrayBuffer:function(){return e.readImage()},readAsBase64String:function(){return e.readImage("base64")},readAsBuffer:function(){return e.readImage().then(function(e){return Buffer.from(e)})},altText:e.altText,contentType:e.contentType}},t.Table=function(e,t){return t=t||{},{type:i.table,children:e,styleId:t.styleId||null,styleName:t.styleName||null}},t.TableRow=function(e,t){return t=t||{},{type:i.tableRow,children:e,isHeader:t.isHeader||!1}},t.TableCell=function(e,t){return t=t||{},{type:i.tableCell,children:e,colSpan:null==t.colSpan?1:t.colSpan,rowSpan:null==t.rowSpan?1:t.rowSpan}},t.lineBreak=s("line"),t.pageBreak=s("page"),t.columnBreak=s("column"),t.BookmarkStart=function(e){return{type:i.bookmarkStart,name:e.name}},t.verticalAlignment=a},65257:(e,t,r)=>{t.M=function(e){return{readXmlElement:function(t){return new d(e).readXmlElement(t)},readXmlElements:function(t){return new d(e).readXmlElements(t)}}};var n=r(9017),i=r(7984),a=r(71468),o=r(45840).Result,s=r(45840).warning,c=r(83328),l=r(47317),u=r(5790);function d(e){var t=[],r=[],o=[],d=e.relationships,_=e.contentTypes,A=e.docxFile,x=e.files,S=e.numbering,w=e.styles;function T(e){return y(e.map(D))}function D(e){if("element"===e.type){var t=F[e.name];if(t)return t(e);if(!Object.prototype.hasOwnProperty.call(f,e.name))return p([s("An unrecognised element was ignored: "+e.name)])}return g()}function C(e){if(!e)return!1;var t=e.attributes["w:val"];return"false"!==t&&"0"!==t}function k(e,t,r,n){var i=[],a=e.first(t),o=null,c=null;if(a&&(o=a.attributes["w:val"])){var l=n(o);l?c=l.name:i.push(s(r+" style with ID "+o+" was referenced but not defined in the document"))}return b({styleId:o,name:c},i)}function E(e){return function(e,t){var r=/^\s*HYPERLINK\s+(\\l\s+)?(?:"(.*)"|([^\\]\S*))/.exec(e);if(r){var n=void 0===r[2]?r[3]:r[2];return{type:"hyperlink",options:void 0===r[1]?{href:n}:{anchor:n}}}if(/\s*FORMCHECKBOX\s*/.exec(e)){var i=t.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),a=i.first("w:checked");return{type:"checkbox",checked:null==a?C(i.first("w:default")):C(a)}}return{type:"unknown"}}(r.join(""),"begin"===e.type?e.fldChar:c.emptyElement)}function P(e){return function(t){var r=t.attributes["w:id"];return m(new a.NoteReference({noteType:e,noteId:r}))}}function R(e){return T(e.children)}var F={"w:p":function(e){var t=e.firstOrEmpty("w:pPr");if(t.firstOrEmpty("w:rPr").first("w:del"))return e.children.forEach(function(e){o.push(e)}),g();var r=e.children;return o.length>0&&(r=o.concat(r),o=[]),v.map(k(t,"w:pStyle","Paragraph",w.findParagraphStyleById).map(function(e){var r;return{type:"paragraphProperties",styleId:e.styleId,styleName:e.name,alignment:t.firstOrEmpty("w:jc").attributes["w:val"],numbering:function(e,t,r){var n=t.firstOrEmpty("w:ilvl").attributes["w:val"],i=t.firstOrEmpty("w:numId").attributes["w:val"];if(void 0!==n&&void 0!==i)return r.findLevel(i,n);if(null!=e){var a=r.findLevelByParagraphStyleId(e);if(null!=a)return a}return void 0!==i?r.findLevel(i,"0"):null}(e.styleId,t.firstOrEmpty("w:numPr"),S),indent:{start:(r=t.firstOrEmpty("w:ind")).attributes["w:start"]||r.attributes["w:left"],end:r.attributes["w:end"]||r.attributes["w:right"],firstLine:r.attributes["w:firstLine"],hanging:r.attributes["w:hanging"]}}}),T(r),function(e,t){return new a.Paragraph(t,e)}).insertExtra()},"w:r":function(e){var r;return v.map(k(r=e.firstOrEmpty("w:rPr"),"w:rStyle","Run",w.findCharacterStyleById).map(function(e){var t,n=r.firstOrEmpty("w:sz").attributes["w:val"],i=/^[0-9]+$/.test(n)?parseInt(n,10)/2:null;return{type:"runProperties",styleId:e.styleId,styleName:e.name,verticalAlignment:r.firstOrEmpty("w:vertAlign").attributes["w:val"],font:r.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:i,isBold:C(r.first("w:b")),isUnderline:function(e){if(!e)return!1;var t=e.attributes["w:val"];return void 0!==t&&"false"!==t&&"0"!==t&&"none"!==t}(r.first("w:u")),isItalic:C(r.first("w:i")),isStrikethrough:C(r.first("w:strike")),isAllCaps:C(r.first("w:caps")),isSmallCaps:C(r.first("w:smallCaps")),highlight:(t=r.firstOrEmpty("w:highlight").attributes["w:val"])&&"none"!==t?t:null}}),T(e.children),function(e,r){var n,o=(n=i.last(t.filter(function(e){return"hyperlink"===e.type})))?n.options:null;return null!==o&&(r=[new a.Hyperlink(r,o)]),new a.Run(r,e)})},"w:fldChar":function(e){var n=e.attributes["w:fldCharType"];if("begin"===n)t.push({type:"begin",fldChar:e}),r=[];else if("end"===n){var i=t.pop();if("begin"===i.type&&(i=E(i)),"checkbox"===i.type)return m(a.checkbox({checked:i.checked}))}else if("separate"===n){var o=E(t.pop());t.push(o)}return g()},"w:instrText":function(e){return r.push(e.text()),g()},"w:t":function(e){return m(new a.Text(e.text()))},"w:tab":function(e){return m(new a.Tab)},"w:noBreakHyphen":function(){return m(new a.Text("‑"))},"w:softHyphen":function(e){return m(new a.Text("\xad"))},"w:sym":function(e){var t=e.attributes["w:font"],r=e.attributes["w:char"],i=n.hex(t,r);return(null==i&&/^F0..$/.test(r)&&(i=n.hex(t,r.substring(2))),null==i)?p([s("A w:sym element with an unsupported character was ignored: char "+r+" in font "+t)]):m(new a.Text(i.string))},"w:hyperlink":function(e){var t=e.attributes["r:id"],r=e.attributes["w:anchor"];return T(e.children).map(function(n){function o(t){var r=e.attributes["w:tgtFrame"]||null;return new a.Hyperlink(n,i.extend({targetFrame:r},t))}if(t){var s=d.findTargetByRelationshipId(t);return r&&(s=u.replaceFragment(s,r)),o({href:s})}return r?o({anchor:r}):n})},"w:tbl":function(e){var t=k(e.firstOrEmpty("w:tblPr"),"w:tblStyle","Table",w.findTableStyleById).map(function(e){return{styleId:e.styleId,styleName:e.name}});return T(e.children).flatMap(U).flatMap(function(e){return t.map(function(t){return a.Table(e,t)})})},"w:tr":function(e){var t=e.firstOrEmpty("w:trPr");if(t.first("w:del"))return g();var r=!!t.first("w:tblHeader");return T(e.children).map(function(e){return a.TableRow(e,{isHeader:r})})},"w:tc":function(e){return T(e.children).map(function(t){var r=e.firstOrEmpty("w:tcPr"),n=r.firstOrEmpty("w:gridSpan").attributes["w:val"],i=n?parseInt(n,10):1,o=a.TableCell(t,{colSpan:i});return o._vMerge=function(e){var t=e.first("w:vMerge");if(!t)return null;var r=t.attributes["w:val"];return"continue"===r||!r}(r),o})},"w:footnoteReference":P("footnote"),"w:endnoteReference":P("endnote"),"w:commentReference":function(e){return m(a.commentReference({commentId:e.attributes["w:id"]}))},"w:br":function(e){var t=e.attributes["w:type"];return null==t||"textWrapping"===t?m(a.lineBreak):"page"===t?m(a.pageBreak):"column"===t?m(a.columnBreak):p([s("Unsupported break type: "+t)])},"w:bookmarkStart":function(e){var t=e.attributes["w:name"];return"_GoBack"===t?g():m(new a.BookmarkStart({name:t}))},"mc:AlternateContent":function(e){return R(e.firstOrEmpty("mc:Fallback"))},"w:sdt":function(e){return T(e.firstOrEmpty("w:sdtContent").children).map(function(t){var r,n=e.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(!n)return t;var i=n.first("wordml:checked"),o=!!i&&"false"!==(r=i.attributes["wordml:val"])&&"0"!==r,s=a.checkbox({checked:o}),c=!1,u=t.map(l._elementsOfType(a.types.text,function(e){return e.value.length>0&&!c?(c=!0,s):e}));return c?u:s})},"w:ins":R,"w:object":R,"w:smartTag":R,"w:drawing":R,"w:pict":function(e){return R(e).toExtra()},"v:roundrect":R,"v:shape":R,"v:textbox":R,"w:txbxContent":R,"wp:inline":I,"wp:anchor":I,"v:imagedata":function(e){var t=e.attributes["r:id"];return t?j(N(t),e.attributes["o:title"]):p([s("A v:imagedata element without a relationship ID was ignored")])},"v:group":R,"v:rect":R};return{readXmlElement:D,readXmlElements:T};function U(e){if(i.any(e,function(e){return e.type!==a.types.tableRow}))return O(e),b(e,[s("unexpected non-row element in table, cell merging may be incorrect")]);if(i.any(e,function(e){return i.any(e.children,function(e){return e.type!==a.types.tableCell})}))return O(e),b(e,[s("unexpected non-cell element in table row, cell merging may be incorrect")]);var t={};return e.forEach(function(e){var r=0;e.children.forEach(function(e){e._vMerge&&t[r]?t[r].rowSpan++:(t[r]=e,e._vMerge=!1),r+=e.colSpan})}),e.forEach(function(e){e.children=e.children.filter(function(e){return!e._vMerge}),e.children.forEach(function(e){delete e._vMerge})}),m(e)}function O(e){e.forEach(function(e){l.getDescendantsOfType(e,a.types.tableCell).forEach(function(e){delete e._vMerge})})}function I(e){return y(e.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip").map(L.bind(null,e)))}function L(e,t){var r,n=e.firstOrEmpty("wp:docPr"),i=n.attributes,o=null==(r=i.descr)||/^\s*$/.test(r)?i.title:i.descr,c=function(e){var t=e.attributes["r:embed"],r=e.attributes["r:link"];if(t)return N(t);if(!r)return null;var n=d.findTargetByRelationshipId(r);return{path:n,read:x.read.bind(x,n)}}(t);return null===c?p([s("Could not find image file for a:blip element")]):j(c,o).map(function(e){var t=n.firstOrEmpty("a:hlinkClick").attributes["r:id"];if(!t)return e;var r=d.findTargetByRelationshipId(t);return new a.Hyperlink([e],{href:r})})}function N(e){var t=u.uriToZipEntryName("word",d.findTargetByRelationshipId(e));return{path:t,read:A.read.bind(A,t)}}function j(e,t){var r=_.findContentType(e.path);return b(a.Image({readImage:e.read,altText:t,contentType:r}),h[r]?[]:s("Image of type "+r+" is unlikely to display in web browsers"))}}var h={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},f={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function p(e){return new v(null,null,e)}function g(){return new v(null)}function m(e){return new v(e)}function b(e,t){return new v(e,null,t)}function v(e,t,r){this.value=e||[],this.extra=t||[],this._result=new o({element:this.value,extra:t},r),this.messages=this._result.messages}function y(e){var t=o.combine(i.pluck(e,"_result"));return new v(i.flatten(i.pluck(t.value,"element")),i.filter(i.flatten(i.pluck(t.value,"extra")),A),t.messages)}function _(e,t){return i.flatten([e,t])}function A(e){return e}v.prototype.toExtra=function(){return new v(null,_(this.extra,this.value),this.messages)},v.prototype.insertExtra=function(){var e=this.extra;return e&&e.length?new v(_(this.value,e),null,this.messages):this},v.prototype.map=function(e){var t=this._result.map(function(t){return e(t.element)});return new v(t.value,this.extra,t.messages)},v.prototype.flatMap=function(e){var t=this._result.flatMap(function(t){return e(t.element)._result});return new v(t.value.element,_(this.extra,t.value.extra),t.messages)},v.map=function(e,t,r){return new v(r(e.value,t.value),_(e.extra,t.extra),e.messages.concat(t.messages))}},62179:(e,t,r)=>{var n=r(71468),i=r(45840).Result;t.createCommentsReader=function(e){function t(t){var r=t.attributes["w:id"];function i(e){return(t.attributes[e]||"").trim()||null}return e.readXmlElements(t.children).map(function(e){return n.comment({commentId:r,body:e,authorName:i("w:author"),authorInitials:i("w:initials")})})}return function(e){return i.combine(e.getElementsByTagName("w:comment").map(t))}}},73070:(e,t)=>{t.readContentTypesFromXml=function(e){var t={},r={};return e.children.forEach(function(e){if("content-types:Default"===e.name&&(t[e.attributes.Extension]=e.attributes.ContentType),"content-types:Override"===e.name){var n=e.attributes.PartName;"/"===n.charAt(0)&&(n=n.substring(1)),r[n]=e.attributes.ContentType}}),n(r,t)};var r={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};function n(e,t){return{findContentType:function(n){var i=e[n];if(i)return i;var a=n.split("."),o=a[a.length-1];if(t.hasOwnProperty(o))return t[o];var s=r[o.toLowerCase()];return s?"image/"+s:null}}}t.defaultContentTypes=n({},{})},71814:(e,t,r)=>{t.O=function(e){var t=e.bodyReader;return{convertXmlToDocument:function(r){var a=r.first("w:body");if(null==a)throw Error("Could not find the body element: are you sure this is a docx file?");var o=t.readXmlElements(a.children).map(function(t){return new n.Document(t,{notes:e.notes,comments:e.comments})});return new i(o.value,o.messages)}}};var n=r(71468),i=r(45840).Result},69867:(e,t,r)=>{t.read=function(e,t,r){t=t||{};var o=new m({externalFileAccess:(r=r||{}).externalFileAccess,relativeToFile:t.path});return n.props({contentTypes:x(e),partPaths:b(e),docxFile:e,files:o}).also(function(t){return{styles:y({filename:t.partPaths.styles,readElement:f.readStylesXml,defaultValue:f.defaultStyles})(e)}}).also(function(t){var r,n;return{numbering:(r=t.partPaths.numbering,n=t.styles,y({filename:r,readElement:function(e){return h.readNumberingXml(e,{styles:n})},defaultValue:h.defaultNumbering})(e))}}).also(function(e){return{footnotes:_(e.partPaths.footnotes,e,function(e,t){return t?p.createFootnotesReader(e)(t):new a([])}),endnotes:_(e.partPaths.endnotes,e,function(e,t){return t?p.createEndnotesReader(e)(t):new a([])}),comments:_(e.partPaths.comments,e,function(e,t){return t?g.createCommentsReader(e)(t):new a([])})}}).also(function(e){return{notes:e.footnotes.flatMap(function(t){return e.endnotes.map(function(e){return new i.Notes(t.concat(e))})})}}).then(function(e){return _(e.partPaths.mainDocument,e,function(t,r){return e.notes.flatMap(function(n){return e.comments.flatMap(function(e){return new l({bodyReader:t,notes:n,comments:e}).convertXmlToDocument(r)})})})})},t._findPartPaths=b;var n=r(13478),i=r(71468),a=r(45840).Result,o=r(25727),s=r(23329).V,c=r(65257).M,l=r(71814).O,u=r(35728),d=r(73070),h=r(83638),f=r(27947),p=r(11258),g=r(62179),m=r(99422).s;function b(e){return S(e).then(function(t){var r=v({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!e.exists(r))throw Error("Could not find main document part. Are you sure this is a valid .docx file?");return y({filename:A(r),readElement:u.readRelationships,defaultValue:u.defaultValue})(e).then(function(t){function n(n){return v({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+n,basePath:o.splitPath(r).dirname,fallbackPath:"word/"+n+".xml"})}return{mainDocument:r,comments:n("comments"),endnotes:n("endnotes"),footnotes:n("footnotes"),numbering:n("numbering"),styles:n("styles")}})})}function v(e){var t=e.docxFile,r=e.relationships,n=e.relationshipType,i=e.basePath,a=e.fallbackPath,s=r.findTargetsByType(n).map(function(e){var t;return"/"===(t=o.joinPath(i,e)).substring(0,1)?t.substring(1):t}).filter(function(e){return t.exists(e)});return 0===s.length?a:s[0]}function y(e){return function(t){return s(t,e.filename).then(function(t){return t?e.readElement(t):e.defaultValue})}}function _(e,t,r){return y({filename:A(e),readElement:u.readRelationships,defaultValue:u.defaultValue})(t.docxFile).then(function(n){var i=new c({relationships:n,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.numbering,styles:t.styles,files:t.files});return s(t.docxFile,e).then(function(e){return r(i,e)})})}function A(e){var t=o.splitPath(e);return o.joinPath(t.dirname,"_rels",t.basename+".rels")}var x=y({filename:"[Content_Types].xml",readElement:d.readContentTypesFromXml,defaultValue:d.defaultContentTypes}),S=y({filename:"_rels/.rels",readElement:u.readRelationships,defaultValue:u.defaultValue})},99422:(e,t,r)=>{var n=r(29021),i=r(79551),a=r(21820),o=r(33873).dirname,s=r(33873).resolve,c=r(72273),l=r(13478);t.s=function(e){if(!(e=e||{}).externalFileAccess)return{read:function(e){return l.reject(Error("could not read external image '"+e+"', external file access is disabled"))}};var t=e.relativeToFile?o(e.relativeToFile):null;return{read:function(e,r){var n;return(c(n=function(e,t){t||(t=a.platform());var r=i.parse(e);if("file:"===r.protocol&&(!r.host||"localhost"===r.host)||!r.protocol&&!r.host){var n=decodeURIComponent(r.path);return"win32"===t&&/^\/[a-z]:/i.test(n)?n.slice(1):n}throw Error("Could not convert URI to path: "+e)}(e))?l.resolve(n):t?l.resolve(s(t,n)):l.reject(Error("could not find external image '"+e+"', path of input document is unknown"))).then(function(n){return u(n,r).caught(function(r){var n="could not open external image: '"+e+"' (document directory: '"+t+"')\n"+r.message;return l.reject(Error(n))})})}}};var u=l.promisify(n.readFile.bind(n))},11258:function(e,t,r){var n=r(71468),i=r(45840).Result;function a(e,t){function r(e){var t=e.attributes["w:type"];return"continuationSeparator"!==t&&"separator"!==t}function a(r){var i=r.attributes["w:id"];return t.readXmlElements(r.children).map(function(t){return n.Note({noteType:e,noteId:i,body:t})})}return function(t){return i.combine(t.getElementsByTagName("w:"+e).filter(r).map(a))}}t.createFootnotesReader=a.bind(this,"footnote"),t.createEndnotesReader=a.bind(this,"endnote")},83638:(e,t,r)=>{var n=r(7984);function i(e,t,r){var i=n.flatten(n.values(t).map(function(e){return n.values(e.levels)})),a=n.indexBy(i.filter(function(e){return null!=e.paragraphStyleId}),"paragraphStyleId");return{findLevel:function n(i,a){var o=e[i];if(!o)return null;var s=t[o.abstractNumId];return s?null==s.numStyleLink?t[o.abstractNumId].levels[a]:n(r.findNumberingStyleById(s.numStyleLink).numId,a):null},findLevelByParagraphStyleId:function(e){return a[e]||null}}}t.readNumberingXml=function(e,t){if(!t||!t.styles)throw Error("styles is missing");var r,n,a=(r={},e.getElementsByTagName("w:abstractNum").forEach(function(e){var t,n;r[e.attributes["w:abstractNumId"]]=(t={},n=null,e.getElementsByTagName("w:lvl").forEach(function(e){var r=e.attributes["w:ilvl"],i="bullet"!==e.firstOrEmpty("w:numFmt").attributes["w:val"],a=e.firstOrEmpty("w:pStyle").attributes["w:val"];void 0===r?n={isOrdered:i,level:"0",paragraphStyleId:a}:t[r]={isOrdered:i,level:r,paragraphStyleId:a}}),null!==n&&void 0===t[n.level]&&(t[n.level]=n),{levels:t,numStyleLink:e.firstOrEmpty("w:numStyleLink").attributes["w:val"]})}),r);return new i((n={},e.getElementsByTagName("w:num").forEach(function(e){var t=e.attributes["w:numId"],r=e.first("w:abstractNumId").attributes["w:val"];n[t]={abstractNumId:r}}),n),a,t.styles)},t.Numbering=i,t.defaultNumbering=new i({},{})},23329:(e,t,r)=>{var n=r(7984),i=r(13478),a=r(83328);t.V=function(e,t){return e.exists(t)?e.read(t,"utf-8").then(c).then(s):i.resolve(null)};var o={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function s(e){return a.readString(e,o).then(function(e){return function e(t){return"element"!==t.type?[t]:"mc:AlternateContent"===t.name?t.firstOrEmpty("mc:Fallback").children:(t.children=n.flatten(t.children.map(e,!0)),[t])}(e)[0]})}function c(e){return e.replace(/^\uFEFF/g,"")}},35728:(e,t)=>{t.readRelationships=function(e){var t=[];return e.children.forEach(function(e){if("relationships:Relationship"===e.name){var r={relationshipId:e.attributes.Id,target:e.attributes.Target,type:e.attributes.Type};t.push(r)}}),new r(t)},t.defaultValue=new r([]),t.Relationships=r;function r(e){var t={};e.forEach(function(e){t[e.relationshipId]=e.target});var r={};return e.forEach(function(e){r[e.type]||(r[e.type]=[]),r[e.type].push(e.target)}),{findTargetByRelationshipId:function(e){return t[e]},findTargetsByType:function(e){return r[e]||[]}}}},35879:(e,t,r)=>{var n=r(7984),i=r(13478),a=r(83328);t.writeStyleMap=function(e,t){var r,n,i;return e.write(o,t),(r="word/_rels/document.xml.rels",i="{"+(n="http://schemas.openxmlformats.org/package/2006/relationships")+"}Relationship",e.read(r,"utf8").then(a.readString).then(function(t){return c(t.children,i,"Id",{Id:"rMammothStyleMap",Type:"http://schemas.zwobble.org/mammoth/style-map",Target:s}),e.write(r,a.writeString(t,{"":n}))})).then(function(){var t,r,n;return t="[Content_Types].xml",n="{"+(r="http://schemas.openxmlformats.org/package/2006/content-types")+"}Override",e.read(t,"utf8").then(a.readString).then(function(i){return c(i.children,n,"PartName",{PartName:s,ContentType:"text/prs.mammoth.style-map"}),e.write(t,a.writeString(i,{"":r}))})})},t.readStyleMap=function(e){return e.exists(o)?e.read(o,"utf8"):i.resolve(null)};var o="mammoth/style-map",s="/"+o;function c(e,t,r,i){var o=n.find(e,function(e){return e.name===t&&e.attributes[r]===i[r]});o?o.attributes=i:e.push(a.element(t,i))}},27947:(e,t)=>{function r(e,t,r,n){return{findParagraphStyleById:function(t){return e[t]},findCharacterStyleById:function(e){return t[e]},findTableStyleById:function(e){return r[e]},findNumberingStyleById:function(e){return n[e]}}}function n(e){return e.attributes["w:styleId"]}t.readStylesXml=function(e){var t={},i={},a={},o={},s={paragraph:t,character:i,table:a,numbering:o};return e.getElementsByTagName("w:style").forEach(function(e){var t,r,i,a="numbering"===(t=e.attributes["w:type"])?(r=n(e),{type:t,numId:e.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"],styleId:r}):{type:t,styleId:n(e),name:(i=e.first("w:name"))?i.attributes["w:val"]:null},o=s[a.type];o&&void 0===o[a.styleId]&&(o[a.styleId]=a)}),new r(t,i,a,o)},t.Styles=r,t.defaultStyles=new r({},{}),r.EMPTY=new r({},{},{},{})},5790:(e,t)=>{t.uriToZipEntryName=function(e,t){return"/"===t.charAt(0)?t.substr(1):e+"/"+t},t.replaceFragment=function(e,t){var r=e.indexOf("#");return -1!==r&&(e=e.substring(0,r)),e+"#"+t}},28990:(e,t,r)=>{var n=r(13593);function i(e,t){return{type:"element",tag:e,children:t||[]}}t.freshElement=function(e,t,r){return i(n.element(e,t,{fresh:!0}),r)},t.nonFreshElement=function(e,t,r){return i(n.element(e,t,{fresh:!1}),r)},t.elementWithTag=i,t.text=function(e){return{type:"text",value:e}},t.forceWrite={type:"forceWrite"};var a={br:!0,hr:!0,img:!0,input:!0};t.isVoidElement=function(e){return 0===e.children.length&&a[e.tag.tagName]}},61318:(e,t,r)=>{var n=r(28990);function i(e,t){t.forEach(function(t){(function(e,t){a[t.type](e,t)})(e,t)})}t.freshElement=n.freshElement,t.nonFreshElement=n.nonFreshElement,t.elementWithTag=n.elementWithTag,t.text=n.text,t.forceWrite=n.forceWrite,t.simplify=r(1307);var a={element:function(e,t){n.isVoidElement(t)?e.selfClosing(t.tag.tagName,t.tag.attributes):(e.open(t.tag.tagName,t.tag.attributes),i(e,t.children),e.close(t.tag.tagName))},text:function(e,t){e.text(t.value)},forceWrite:function(){}};t.write=i},1307:(e,t,r)=>{var n=r(7984),i=r(28990);function a(e){var t=[];return e.map(o).forEach(function(e){(function e(t,r){var n=t[t.length-1];"element"===r.type&&!r.tag.fresh&&n&&"element"===n.type&&r.tag.matchesElement(n.tag)?(r.tag.separator&&e(n.children,i.text(r.tag.separator)),r.children.forEach(function(t){e(n.children,t)})):t.push(r)})(t,e)}),t}function o(e){return s[e.type](e)}var s={element:function(e){return i.elementWithTag(e.tag,a(e.children))},text:c,forceWrite:c};function c(e){return e}function l(e){var t;return t=function(e){return u[e.type](e)},n.flatten(n.map(e,t),!0)}var u={element:function(e){var t=l(e.children);return 0!==t.length||i.isVoidElement(e)?[i.elementWithTag(e.tag,t)]:[]},text:function(e){return 0===e.value.length?[]:[e]},forceWrite:function(e){return[e]}};e.exports=function(e){return a(l(e))}},10782:(e,t,r)=>{var n=r(7984),i=r(13478),a=r(61318);function o(e){return function(t,r){return i.when(e(t)).then(function(e){var r={};return t.altText&&(r.alt=t.altText),n.extend(r,e),[a.freshElement("img",r)]})}}t.imgElement=o,t.inline=t.imgElement,t.dataUri=o(function(e){return e.readAsBase64String().then(function(t){return{src:"data:"+e.contentType+";base64,"+t}})})},42030:(e,t,r)=>{var n=r(7984),i=r(69867),a=r(35879),o=r(60421).w,s=r(51870).w,c=r(45559)._T,l=r(94662).Tt,u=r(20736),d=r(45840).Result;function h(e,t){return t=l(t),u.openZip(e).tap(function(e){return a.readStyleMap(e).then(function(e){t.embeddedStyleMap=e})}).then(function(r){return i.read(r,e,t).then(function(e){return e.map(t.transformDocument)}).then(function(e){var r,i,a,s;return i=(r=t).readStyleMap(),a=d.combine((i||[]).map(c)).map(function(e){return e.filter(function(e){return!!e})}),s=new o(n.extend({},r,{styleMap:a.value})),e.flatMapThen(function(e){return a.flatMapThen(function(t){return s.convertToHtml(e)})})})})}t.convertToHtml=function(e,t){return h(e,t)},t.convertToMarkdown=function(e,t){var r=Object.create(t||{});return r.outputFormat="markdown",h(e,r)},t.convert=h,t.extractRawText=function(e){return u.openZip(e).then(i.read).then(function(e){return e.map(s)})},t.images=r(10782),t.transforms=r(47317),t.underline=r(86218),t.embedStyleMap=function(e,t){return u.openZip(e).tap(function(e){return a.writeStyleMap(e,t)}).then(function(e){return e.toArrayBuffer()}).then(function(e){return{toArrayBuffer:function(){return e},toBuffer:function(){return Buffer.from(e)}}})},t.readEmbeddedStyleMap=function(e){return u.openZip(e).then(a.readStyleMap)},t.styleMapping=function(){throw Error("Use a raw string instead of mammoth.styleMapping e.g. \"p[style-name='Title'] => h1\" instead of mammoth.styleMapping(\"p[style-name='Title'] => h1\")")}},94662:(e,t,r)=>{t.Tt=function(e){return e=e||{},n.extend({},a,e,{customStyleMap:o(e.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(o(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(i)),e}})};var n=r(7984),i=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","p.Heading => h1:fresh","p[style-name='Heading'] => h1:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh","p.Body => p:fresh","p[style-name='Body'] => p:fresh"],a={externalFileAccess:!1,transformDocument:function(e){return e},includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function o(e){return e?n.isString(e)?e.split("\n").map(function(e){return e.trim()}).filter(function(e){return""!==e&&"#"!==e.charAt(0)}):e:[]}},13478:(e,t,r)=>{var n=r(7984),i=r(91935)();t.defer=function(){var e,t,r=new i.Promise(function(r,n){e=r,t=n});return{resolve:e,reject:t,promise:r}},t.when=i.resolve,t.resolve=i.resolve,t.all=i.all,t.props=i.props,t.reject=i.reject,t.promisify=i.promisify,t.mapSeries=i.mapSeries,t.attempt=i.attempt,t.nfcall=function(e){var t=Array.prototype.slice.call(arguments,1);return i.promisify(e).apply(null,t)},i.prototype.fail=i.prototype.caught,i.prototype.also=function(e){return this.then(function(t){var r=n.extend({},t,e(t));return i.props(r)})}},51870:(e,t,r)=>{var n=r(71468);t.w=function e(t){if("text"===t.type)return t.value;if(t.type===n.types.tab)return" ";var r="paragraph"===t.type?"\n\n":"";return(t.children||[]).map(e).join("")+r}},45840:(e,t,r)=>{var n=r(7984);function i(e,t){this.value=e,this.messages=t||[]}function a(e){var t=[];return n.flatten(n.pluck(e,"messages"),!0).forEach(function(e){void 0!==n.find(t,o.bind(null,e))||t.push(e)}),t}function o(e,t){return e.type===t.type&&e.message===t.message}t.Result=i,t.success=function(e){return new i(e,[])},t.warning=function(e){return{type:"warning",message:e}},t.error=function(e){return{type:"error",message:e.message,error:e}},i.prototype.map=function(e){return new i(e(this.value),this.messages)},i.prototype.flatMap=function(e){var t=e(this.value);return new i(t.value,a([this,t]))},i.prototype.flatMapThen=function(e){var t=this;return e(this.value).then(function(e){return new i(e.value,a([t,e]))})},i.combine=function(e){return new i(n.flatten(n.pluck(e,"value")),a(e))}},45559:(e,t,r)=>{var n=r(7984),i=r(34452),a=r(96910),o=r(13593),s=r(32531).t,c=r(45840);t._T=function(e){var t,r,n,a;return t=v,n=s(r=e),(a=i.Parser().parseTokens(t,n)).isSuccess()?c.success(a.value()):new c.Result(null,[c.warning("Did not understand this style mapping, so ignored it: "+r+"\n"+a.errors().map(b).join("\n"))])};var l=i.rules.then(i.rules.tokenOfType("identifier"),f),u=i.rules.tokenOfType("integer"),d=i.rules.then(i.rules.tokenOfType("string"),f),h={n:"\n",r:"\r",t:" "};function f(e){return e.replace(/\\(.)/g,function(e,t){return h[t]||t})}var p=i.rules.sequence(i.rules.tokenOfType("open-square-bracket"),i.rules.sequence.cut(),i.rules.sequence.capture(l),i.rules.tokenOfType("equals"),i.rules.sequence.capture(d),i.rules.tokenOfType("close-square-bracket")).map(function(e,t){return{name:e,value:t,append:!1}}),g=i.rules.sequence(i.rules.tokenOfType("dot"),i.rules.sequence.cut(),i.rules.sequence.capture(l)).map(function(e){return{name:"class",value:e,append:!0}}),m=i.rules.firstOf("attribute or class",p,g);function b(e){return"Error was at character number "+e.characterNumber()+": Expected "+e.expected+" but got "+e.actual}var v=i.rules.sequence(i.rules.sequence.capture(function(){var e=i.rules.sequence,t=function(e,t){return i.rules.then(i.rules.token("identifier",e),function(){return t})},r=t("p",a.paragraph),o=t("r",a.run),s=i.rules.firstOf("p or r or table",r,o),c=i.rules.sequence(i.rules.tokenOfType("dot"),i.rules.sequence.cut(),i.rules.sequence.capture(l)).map(function(e){return{styleId:e}}),h=i.rules.firstOf("style name matcher",i.rules.then(i.rules.sequence(i.rules.tokenOfType("equals"),i.rules.sequence.cut(),i.rules.sequence.capture(d)).head(),function(e){return{styleName:a.equalTo(e)}}),i.rules.then(i.rules.sequence(i.rules.tokenOfType("startsWith"),i.rules.sequence.cut(),i.rules.sequence.capture(d)).head(),function(e){return{styleName:a.startsWith(e)}})),f=i.rules.sequence(i.rules.tokenOfType("open-square-bracket"),i.rules.sequence.cut(),i.rules.token("identifier","style-name"),i.rules.sequence.capture(h),i.rules.tokenOfType("close-square-bracket")).head(),p=i.rules.firstOf("list type",t("ordered-list",{isOrdered:!0}),t("unordered-list",{isOrdered:!1})),g=e(i.rules.tokenOfType("colon"),e.capture(p),e.cut(),i.rules.tokenOfType("open-paren"),e.capture(u),i.rules.tokenOfType("close-paren")).map(function(e,t){return{list:{isOrdered:e.isOrdered,levelIndex:t-1}}});function m(e){var t=i.rules.firstOf.apply(i.rules.firstOf,["matcher suffix"].concat(e)),r=i.rules.zeroOrMore(t);return i.rules.then(r,function(e){var t={};return e.forEach(function(e){n.extend(t,e)}),t})}var b=e(e.capture(s),e.capture(m([c,f,g]))).map(function(e,t){return e(t)}),v=e(i.rules.token("identifier","table"),e.capture(m([c,f]))).map(function(e){return a.table(e)}),y=t("b",a.bold),_=t("i",a.italic),A=t("u",a.underline),x=t("strike",a.strikethrough),S=t("all-caps",a.allCaps),w=t("small-caps",a.smallCaps),T=e(i.rules.token("identifier","highlight"),i.rules.sequence.capture(i.rules.optional(i.rules.sequence(i.rules.tokenOfType("open-square-bracket"),i.rules.sequence.cut(),i.rules.token("identifier","color"),i.rules.tokenOfType("equals"),i.rules.sequence.capture(d),i.rules.tokenOfType("close-square-bracket")).head()))).map(function(e){return a.highlight({color:e.valueOrElse(void 0)})}),D=t("comment-reference",a.commentReference),C=e(i.rules.token("identifier","br"),e.cut(),i.rules.tokenOfType("open-square-bracket"),i.rules.token("identifier","type"),i.rules.tokenOfType("equals"),e.capture(d),i.rules.tokenOfType("close-square-bracket")).map(function(e){switch(e){case"line":return a.lineBreak;case"page":return a.pageBreak;case"column":return a.columnBreak}});return i.rules.firstOf("element type",b,v,y,_,A,x,S,w,T,D,C)}()),i.rules.tokenOfType("whitespace"),i.rules.tokenOfType("arrow"),i.rules.sequence.capture(i.rules.optional(i.rules.sequence(i.rules.tokenOfType("whitespace"),i.rules.sequence.capture(function(){var e=i.rules.sequence.capture,t=i.rules.tokenOfType("whitespace"),r=i.rules.then(i.rules.optional(i.rules.sequence(i.rules.tokenOfType("colon"),i.rules.token("identifier","fresh"))),function(e){return e.map(function(){return!0}).valueOrElse(!1)}),n=i.rules.then(i.rules.optional(i.rules.sequence(i.rules.tokenOfType("colon"),i.rules.token("identifier","separator"),i.rules.tokenOfType("open-paren"),e(d),i.rules.tokenOfType("close-paren")).head()),function(e){return e.valueOrElse("")}),a=i.rules.oneOrMoreWithSeparator(l,i.rules.tokenOfType("choice")),s=i.rules.sequence(e(a),e(i.rules.zeroOrMore(m)),e(r),e(n)).map(function(e,t,r,n){var i={},a={};return t.forEach(function(e){e.append&&i[e.name]?i[e.name]+=" "+e.value:i[e.name]=e.value}),r&&(a.fresh=!0),n&&(a.separator=n),o.element(e,i,a)});return i.rules.firstOf("html path",i.rules.then(i.rules.tokenOfType("bang"),function(){return o.ignore}),i.rules.then(i.rules.zeroOrMoreWithSeparator(s,i.rules.sequence(t,i.rules.tokenOfType("gt"),t)),o.elements))}())).head())),i.rules.tokenOfType("end")).map(function(e,t){return{from:e,to:t.valueOrElse(o.empty)}})},96910:(e,t)=>{function r(e,t){t=t||{},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list&&(this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered)}function n(e){e=e||{},this._color=e.color}function i(e){e=e||{},this._breakType=e.breakType}function a(e,t){return e.toUpperCase()===t.toUpperCase()}function o(e,t){return 0===t.toUpperCase().indexOf(e.toUpperCase())}t.paragraph=function(e){return new r("paragraph",e)},t.run=function(e){return new r("run",e)},t.table=function(e){return new r("table",e)},t.bold=new r("bold"),t.italic=new r("italic"),t.underline=new r("underline"),t.strikethrough=new r("strikethrough"),t.allCaps=new r("allCaps"),t.smallCaps=new r("smallCaps"),t.highlight=function(e){return new n(e)},t.commentReference=new r("commentReference"),t.lineBreak=new i({breakType:"line"}),t.pageBreak=new i({breakType:"page"}),t.columnBreak=new i({breakType:"column"}),t.equalTo=function(e){return{operator:a,operand:e}},t.startsWith=function(e){return{operator:o,operand:e}},r.prototype.matches=function(e){var t,r;return e.type===this._elementType&&(void 0===this._styleId||e.styleId===this._styleId)&&(void 0===this._styleName||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(void 0===this._listIndex||(t=this._listIndex,r=this._listIsOrdered,e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==r))&&(void 0===this._breakType||this._breakType===e.breakType)},n.prototype.matches=function(e){return"highlight"===e.type&&(void 0===this._color||e.color===this._color)},i.prototype.matches=function(e){return"break"===e.type&&(void 0===this._breakType||e.breakType===this._breakType)}},13593:(e,t,r)=>{var n=r(7984),i=r(61318);function a(e){return new o(e.map(function(e){return n.isString(e)?s(e):e}))}function o(e){this._elements=e}function s(e,t,r){return new c(e,t,r=r||{})}function c(e,t,r){var i={};n.isArray(e)?(e.forEach(function(e){i[e]=!0}),e=e[0]):i[e]=!0,this.tagName=e,this.tagNames=i,this.attributes=t||{},this.fresh=r.fresh,this.separator=r.separator}t.topLevelElement=function(e,t){return a([s(e,t,{fresh:!0})])},t.elements=a,t.element=s,o.prototype.wrap=function(e){for(var t=e(),r=this._elements.length-1;r>=0;r--)t=this._elements[r].wrapNodes(t);return t},c.prototype.matchesElement=function(e){return this.tagNames[e.tagName]&&n.isEqual(this.attributes||{},e.attributes||{})},c.prototype.wrap=function(e){return this.wrapNodes(e())},c.prototype.wrapNodes=function(e){return[i.elementWithTag(this,e)]},t.empty=a([]),t.ignore={wrap:function(){return[]}}},32531:(e,t,r)=>{var n=r(34452).RegexTokeniser;t.t=function(e){var t="(?:[a-zA-Z\\-_]|\\\\.)";return new n([{name:"identifier",regex:RegExp("("+t+"(?:"+t+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:RegExp(i+"'")},{name:"unterminated-string",regex:new RegExp(i)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]).tokenise(e)};var i="'((?:\\\\.|[^'])*)"},47317:(e,t,r)=>{var n=r(7984);function i(e,t){return a(function(r){return r.type===e?t(r):r})}function a(e){return function t(r){if(r.children){var i=n.map(r.children,t);r=n.extend(r,{children:i})}return e(r)}}function o(e){var t=[];return function e(t,r){t.children&&t.children.forEach(function(t){e(t,r),r(t)})}(e,function(e){t.push(e)}),t}t.paragraph=function(e){return i("paragraph",e)},t.run=function(e){return i("run",e)},t._elements=a,t._elementsOfType=i,t.getDescendantsOfType=function(e,t){return o(e).filter(function(e){return e.type===t})},t.getDescendants=o},86218:(e,t,r)=>{var n=r(13593),i=r(61318);t.element=function(e){return function(t){return i.elementWithTag(n.element(e),[t])}}},20736:(e,t,r)=>{var n=r(29021),i=r(13478),a=r(25727);t.openZip=function(e){return e.path?o(e.path).then(a.openArrayBuffer):e.buffer?i.resolve(a.openArrayBuffer(e.buffer)):e.file?i.resolve(e.file):i.reject(Error("Could not find file in options"))};var o=i.promisify(n.readFile)},55170:(e,t,r)=>{var n=r(7984);t.writer=function(e){return(e=e||{}).prettyPrint?function(){var e=0,t=[],r=!0,o=!1,s=a();function c(){if(o=!1,!r&&(0===t.length||i[t[t.length-1]])&&!l()){s._append("\n");for(var n=0;n<e;n++)s._append(" ")}}function l(){return n.some(t,function(e){return"pre"===e})}return{asString:s.asString,open:function(n,a){i[n]&&c(),t.push(n),s.open(n,a),i[n]&&e++,r=!1},close:function(r){i[r]&&(e--,c()),t.pop(),s.close(r)},text:function(e){o||(c(),o=!0);var t=l()?e:e.replace("\n","\n ");s.text(t)},selfClosing:function(e,t){c(),s.selfClosing(e,t)}}}():a()};var i={div:!0,p:!0,ul:!0,li:!0};function a(){var e=[];function t(e){return n.map(e,function(e,t){return" "+t+'="'+e.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")+'"'}).join("")}return{asString:function(){return e.join("")},open:function(r,n){var i=t(n);e.push("<"+r+i+">")},close:function(t){e.push("</"+t+">")},text:function(t){e.push(t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"))},selfClosing:function(r,n){var i=t(n);e.push("<"+r+i+" />")},_append:function(t){e.push(t)}}}},6341:(e,t,r)=>{var n=r(55170),i=r(28970);t.writer=function(e){return"markdown"===(e=e||{}).outputFormat?i.writer():n.writer(e)}},28970:(e,t,r)=>{var n=r(7984);function i(e,t){return function(){return{start:e,end:t}}}function a(e){return function(t,r){return{start:r?"\n":"",end:r?"":"\n",list:{isOrdered:e.isOrdered,indent:r?r.indent+1:0,count:0}}}}var o={p:i("","\n\n"),br:i(""," \n"),ul:a({isOrdered:!1}),ol:a({isOrdered:!0}),li:function(e,t,r){t=t||{indent:0,isOrdered:!1,count:0},t.count++,r.hasClosed=!1;var n=t.isOrdered?t.count+".":"-";return{start:s(" ",t.indent)+n+" ",end:function(){if(!r.hasClosed)return r.hasClosed=!0,"\n"}}},strong:i("__","__"),em:i("*","*"),a:function(e){var t=e.href||"";return t?{start:"[",end:"]("+t+")",anchorPosition:"before"}:{}},img:function(e){var t=e.src||"",r=e.alt||"";return t||r?{start:""}:{}}};function s(e,t){return Array(t+1).join(e)}(function(){for(var e=1;e<=6;e++)o["h"+e]=i(s("#",e)+" ","\n\n")})(),t.writer=function(){var e=[],t=[],r=null,i={};function a(n,a){a=a||{};var c=(o[n]||function(){return{}})(a,r,i);t.push({end:c.end,list:r}),c.list&&(r=c.list);var l="before"===c.anchorPosition;l&&s(a),e.push(c.start||""),l||s(a)}function s(t){t.id&&e.push('<a id="'+t.id+'"></a>')}function c(i){var a=t.pop();r=a.list;var o=n.isFunction(a.end)?a.end():a.end;e.push(o||"")}return{asString:function(){return e.join("")},open:a,close:c,text:function(t){e.push(t.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1"))},selfClosing:function(e,t){a(e,t),c(e)}}}},83328:(e,t,r)=>{var n=r(56709);t.Element=n.Element,t.element=n.element,t.emptyElement=n.emptyElement,t.text=n.text,t.readString=r(64353).readString,t.writeString=r(23749).writeString},56709:(e,t,r)=>{var n=r(7984);t.Element=a,t.element=function(e,t,r){return new a(e,t,r)},t.text=function(e){return{type:"text",value:e}};var i=t.emptyElement={first:function(){return null},firstOrEmpty:function(){return i},attributes:{},children:[]};function a(e,t,r){this.type="element",this.name=e,this.attributes=t||{},this.children=r||[]}a.prototype.first=function(e){return n.find(this.children,function(t){return t.name===e})},a.prototype.firstOrEmpty=function(e){return this.first(e)||i},a.prototype.getElementsByTagName=function(e){return s(n.filter(this.children,function(t){return t.name===e}))},a.prototype.text=function(){if(0===this.children.length)return"";if(1!==this.children.length||"text"!==this.children[0].type)throw Error("Not implemented");return this.children[0].value};var o={getElementsByTagName:function(e){return s(n.flatten(this.map(function(t){return t.getElementsByTagName(e)},!0)))}};function s(e){return n.extend(e,o)}},64353:(e,t,r)=>{var n=r(13478),i=r(7984),a=r(22301),o=r(56709),s=o.Element;t.readString=function(e,t){t=t||{};try{var r=a.parseFromString(e,"text/xml")}catch(e){return n.reject(e)}if("parsererror"===r.documentElement.tagName)return n.resolve(Error(r.documentElement.textContent));function l(e){if(!e.namespaceURI)return e.localName;var r=t[e.namespaceURI];return(r?r+":":"{"+e.namespaceURI+"}")+e.localName}return n.resolve(function e(t){switch(t.nodeType){case c.ELEMENT_NODE:var r,n,a;return r=l(t),n=[],i.forEach(t.childNodes,function(t){var r=e(t);r&&n.push(r)}),a={},i.forEach(t.attributes,function(e){a[l(e)]=e.value}),new s(r,a,n);case c.TEXT_NODE:return o.text(t.nodeValue)}}(r.documentElement))};var c=a.Node},23749:(e,t,r)=>{var n=r(7984),i=r(94337);function a(e,t){e.text(t.value)}t.writeString=function(e,t){var r,o=n.invert(t),s={element:function(e,t){var r=e.element(l(t.name),t.attributes);t.children.forEach(function(e){c(r,e)})},text:a};function c(e,t){return s[t.type](e,t)}function l(e){var t=/^\{(.*)\}(.*)$/.exec(e);if(!t)return e;var r=o[t[1]];return r+(""===r?"":":")+t[2]}return r=i.create(l(e.name),{version:"1.0",encoding:"UTF-8",standalone:!0}),n.forEach(t,function(e,t){r.attribute("xmlns"+(""===t?"":":"+t),e)}),e.children.forEach(function(e){c(r,e)}),r.end()}},22301:(e,t,r)=>{var n=r(7502),i=r(28446);t.parseFromString=function(e){var t=null,r=new n.DOMParser({errorHandler:function(e,r){t={level:e,message:r}}}).parseFromString(e);if(null===t)return r;throw Error(t.level+": "+t.message)},t.Node=i.Node},25727:(e,t,r)=>{var n=r(26826),i=r(69649);t.openArrayBuffer=function(e){return i.loadAsync(e).then(function(e){return{exists:function(t){return null!==e.file(t)},read:function(t,r){return e.file(t).async("uint8array").then(function(e){return"base64"===r?n.fromByteArray(e):r?new TextDecoder(r).decode(e):e})},write:function(t,r){e.file(t,r)},toArrayBuffer:function(){return e.generateAsync({type:"arraybuffer"})}}})},t.splitPath=function(e){var t=e.lastIndexOf("/");return -1===t?{dirname:"",basename:e}:{dirname:e.substring(0,t),basename:e.substring(t+1)}},t.joinPath=function(){var e=Array.prototype.filter.call(arguments,function(e){return e}),t=[];return e.forEach(function(e){/^\//.test(e)?t=[e]:t.push(e)}),t.join("/")}},82826:e=>{"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/"),({189:function(){!function(e,t){"use strict";if(!e.setImmediate){var r,n,i,a,o,s=1,c={},l=!1,u=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);(d=d&&d.setTimeout?d:e,"[object process]"===({}).toString.call(e.process))?o=function(e){process.nextTick(function(){f(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}}()?(r="setImmediate$"+Math.random()+"$",n=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&f(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),o=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},o=function(e){i.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(a=u.documentElement,o=function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):o=function(e){setTimeout(f,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var t=Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var n={callback:e,args:t};return c[s]=n,o(s),s++},d.clearImmediate=h}function h(e){delete c[e]}function f(e){if(l)setTimeout(f,0,e);else{var r=c[e];if(r){l=!0;try{!function(e){var r=e.callback,n=e.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(t,n)}}(r)}finally{h(e),l=!1}}}}}("undefined"==typeof self?"undefined"==typeof global?this:global:self)}})[189](),e.exports={}},49356:(e,t)=>{function r(e){return"function"==typeof e?e():e}t.none=Object.create({value:function(){throw Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return t.none},flatMap:function(){return t.none},filter:function(){return t.none},toArray:function(){return[]},orElse:r,valueOrElse:r}),t.some=function(e){return new n(e)};var n=function(e){this._value=e};n.prototype.value=function(){return this._value},n.prototype.isNone=function(){return!1},n.prototype.isSome=function(){return!0},n.prototype.map=function(e){return new n(e(this._value))},n.prototype.flatMap=function(e){return e(this._value)},n.prototype.filter=function(e){return e(this._value)?this:t.none},n.prototype.toArray=function(){return[this._value]},n.prototype.orElse=function(e){return this},n.prototype.valueOrElse=function(e){return this._value},t.isOption=function(e){return e===t.none||e instanceof n},t.fromNullable=function(e){return null==e?t.none:new n(e)}},79476:(e,t,r)=>{"use strict";var n=r(6837).assign,i=r(66083),a=r(41407),o=r(90321),s={};n(s,i,a,o),e.exports=s},66083:(e,t,r)=>{"use strict";var n=r(24111),i=r(6837),a=r(60748),o=r(17822),s=r(73622),c=Object.prototype.toString;function l(e){if(!(this instanceof l))return new l(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t,r=this.options;r.raw&&r.windowBits>0?r.windowBits=-r.windowBits:r.gzip&&r.windowBits>0&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var u=n.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(0!==u)throw Error(o[u]);if(r.header&&n.deflateSetHeader(this.strm,r.header),r.dictionary){if(t="string"==typeof r.dictionary?a.string2buf(r.dictionary):"[object ArrayBuffer]"===c.call(r.dictionary)?new Uint8Array(r.dictionary):r.dictionary,0!==(u=n.deflateSetDictionary(this.strm,t)))throw Error(o[u]);this._dict_set=!0}}function u(e,t){var r=new l(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}l.prototype.push=function(e,t){var r,o,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=a.string2buf(e):"[object ArrayBuffer]"===c.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(l),s.next_out=0,s.avail_out=l),1!==(r=n.deflate(s,o))&&0!==r)return this.onEnd(r),this.ended=!0,!1;(0===s.avail_out||0===s.avail_in&&(4===o||2===o))&&("string"===this.options.to?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==r);return 4===o?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):(2===o&&(this.onEnd(0),s.avail_out=0),!0)},l.prototype.onData=function(e){this.chunks.push(e)},l.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},t.Deflate=l,t.deflate=u,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,u(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,u(e,t)}},41407:(e,t,r)=>{"use strict";var n=r(78499),i=r(6837),a=r(60748),o=r(90321),s=r(17822),c=r(73622),l=r(59226),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits)==0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==o.Z_OK||(this.header=new l,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=a.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==o.Z_OK)))throw Error(s[r])}function h(e,t){var r=new d(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}d.prototype.push=function(e,t){var r,s,c,l,d,h=this.strm,f=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?h.input=a.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(f),h.next_out=0,h.avail_out=f),(r=n.inflate(h,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===o.Z_BUF_ERROR&&!0===g&&(r=o.Z_OK,g=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0===h.avail_out||r===o.Z_STREAM_END||0===h.avail_in&&(s===o.Z_FINISH||s===o.Z_SYNC_FLUSH))&&("string"===this.options.to?(c=a.utf8border(h.output,h.next_out),l=h.next_out-c,d=a.buf2string(h.output,c),h.next_out=l,h.avail_out=f-l,l&&i.arraySet(h.output,h.output,c,l,0),this.onData(d)):this.onData(i.shrinkBuf(h.output,h.next_out))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==o.Z_STREAM_END);return(r===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH)?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):(s===o.Z_SYNC_FLUSH&&(this.onEnd(o.Z_OK),h.avail_out=0),!0)},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.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},t.Inflate=d,t.inflate=h,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.ungzip=h},6837:(e,t)=>{"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;t.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)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray){e.set(t.subarray(r,r+n),i);return}for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(t=0,n=0,r=e.length;t<r;t++)n+=e[t].length;for(t=0,o=new Uint8Array(n),i=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},i={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,n)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,i))},t.setTyped(r)},60748:(e,t,r)=>{"use strict";var n=r(6837),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var o=new n.Buf8(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function c(e,t){if(t<65534&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",o=0;o<t;o++)r+=String.fromCharCode(e[o]);return r}o[254]=o[254]=1,t.string2buf=function(e){var t,r,i,a,o,s=e.length,c=0;for(a=0;a<s;a++)(64512&(r=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(r=65536+(r-55296<<10)+(i-56320),a++),c+=r<128?1:r<2048?2:r<65536?3:4;for(o=0,t=new n.Buf8(c),a=0;o<c;a++)(64512&(r=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(r=65536+(r-55296<<10)+(i-56320),a++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t},t.buf2binstring=function(e){return c(e,e.length)},t.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},t.buf2string=function(e,t){var r,n,i,a,s=t||e.length,l=Array(2*s);for(n=0,r=0;r<s;){if((i=e[r++])<128){l[n++]=i;continue}if((a=o[i])>4){l[n++]=65533,r+=a-1;continue}for(i&=2===a?31:3===a?15:7;a>1&&r<s;)i=i<<6|63&e[r++],a--;if(a>1){l[n++]=65533;continue}i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return c(l,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&(192&e[r])==128;)r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}},74173:e=>{"use strict";e.exports=function(e,t,r,n){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==r;){o=r>2e3?2e3:r,r-=o;do a=a+(i=i+t[n++]|0)|0;while(--o);i%=65521,a%=65521}return i|a<<16|0}},90321:e=>{"use strict";e.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}},49379:e=>{"use strict";var t=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}();e.exports=function(e,r,n,i){var a=i+n;e^=-1;for(var o=i;o<a;o++)e=e>>>8^t[(e^r[o])&255];return -1^e}},24111:(e,t,r)=>{"use strict";var n,i=r(6837),a=r(19505),o=r(74173),s=r(49379),c=r(17822);function l(e,t){return e.msg=c[t],t}function u(e){return(e<<1)-(e>4?9:0)}function d(e){for(var t=e.length;--t>=0;)e[t]=0}function h(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 f(e,t){a._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,h(e.strm)}function p(e,t){e.pending_buf[e.pending++]=t}function g(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function m(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,u=e.w_mask,d=e.prev,h=e.strstart+258,f=l[a+o-1],p=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(r=t)+o]!==p||l[r+o-1]!==f||l[r]!==l[a]||l[++r]!==l[a+1])continue;a+=2,r++;do;while(l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&a<h);if(n=258-(h-a),a=h-258,n>o){if(e.match_start=t,o=n,n>=s)break;f=l[a+o-1],p=l[a+o]}}while((t=d[t&u])>c&&0!=--i);return o<=e.lookahead?o:e.lookahead}function b(e){var t,r,n,a,c,l=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=l+(l-262)){i.arraySet(e.window,e.window,l,l,0),e.match_start-=l,e.strstart-=l,e.block_start-=l,t=r=e.hash_size;do n=e.head[--t],e.head[t]=n>=l?n-l:0;while(--r);t=r=l;do n=e.prev[--t],e.prev[t]=n>=l?n-l:0;while(--r);a+=l}if(0===e.strm.avail_in)break;if(r=function(e,t,r,n){var a=e.avail_in;return(a>n&&(a=n),0===a)?0:(e.avail_in-=a,i.arraySet(t,e.input,e.next_in,a,r),1===e.state.wrap?e.adler=o(e.adler,t,a,r):2===e.state.wrap&&(e.adler=s(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=r,e.lookahead+e.insert>=3)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+3-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)}function v(e,t){for(var r,n;;){if(e.lookahead<262){if(b(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=m(e,r)),e.match_length>=3){if(n=a._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){e.match_length--;do 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;while(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=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(f(e,!1),0===e.strm.avail_out))return 1}return(e.insert=e.strstart<2?e.strstart:2,4===t)?(f(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(f(e,!1),0===e.strm.avail_out)?1:2}function y(e,t){for(var r,n,i;;){if(e.lookahead<262){if(b(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=m(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++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);while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(f(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=a._tr_tally(e,0,e.window[e.strstart-1]))&&f(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=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t)?(f(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(f(e,!1),0===e.strm.avail_out)?1:2}function _(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 A(){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),d(this.dyn_ltree),d(this.dyn_dtree),d(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),d(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),d(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 x(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?0:1,t.last_flush=0,a._tr_init(t),0):l(e,-2)}function S(e){var t,r=x(e);return 0===r&&((t=e.state).window_size=2*t.w_size,d(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 w(e,t,r,n,a,o){if(!e)return -2;var s=1;if(-1===t&&(t=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),a<1||a>9||8!==r||n<8||n>15||t<0||t>9||o<0||o>4)return l(e,-2);8===n&&(n=9);var c=new A;return e.state=c,c.strm=e,c.wrap=s,c.gzhead=null,c.w_bits=n,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+3-1)/3),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=r,S(e)}n=[new _(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(b(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,f(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-262&&(f(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(f(e,!0),0===e.strm.avail_out)?3:4:(e.strstart>e.block_start&&(f(e,!1),e.strm.avail_out),1)}),new _(4,4,8,4,v),new _(4,5,16,8,v),new _(4,6,32,32,v),new _(4,4,16,16,y),new _(8,16,32,32,y),new _(8,16,128,128,y),new _(8,32,128,256,y),new _(32,128,258,1024,y),new _(32,258,258,4096,y)],t.deflateInit=function(e,t){return w(e,t,8,15,8,0)},t.deflateInit2=w,t.deflateReset=S,t.deflateResetKeep=x,t.deflateSetHeader=function(e,t){return e&&e.state&&2===e.state.wrap?(e.state.gzhead=t,0):-2},t.deflate=function(e,t){if(!e||!e.state||t>5||t<0)return e?l(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return l(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,p(i,31),p(i,139),p(i,8),i.gzhead?(p(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),p(i,255&i.gzhead.time),p(i,i.gzhead.time>>8&255),p(i,i.gzhead.time>>16&255),p(i,i.gzhead.time>>24&255),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(p(i,255&i.gzhead.extra.length),p(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(p(i,0),p(i,0),p(i,0),p(i,0),p(i,0),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,3),i.status=113);else{var r,i,o,c,m=8+(i.w_bits-8<<4)<<8;m|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(m|=32),m+=31-m%31,i.status=113,g(i,m),0!==i.strstart&&(g(i,e.adler>>>16),g(i,65535&e.adler)),e.adler=1}}if(69===i.status){if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),h(e),o=i.pending,i.pending!==i.pending_buf_size));)p(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73}if(73===i.status){if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),h(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,p(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===c&&(i.gzindex=0,i.status=91)}else i.status=91}if(91===i.status){if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),h(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,p(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===c&&(i.status=103)}else i.status=103}if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&h(e),i.pending+2<=i.pending_buf_size&&(p(i,255&e.adler),p(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(h(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&u(t)<=u(r)&&4!==t)return l(e,-5);if(666===i.status&&0!==e.avail_in)return l(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var v=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(b(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(f(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(f(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(f(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=258){if(b(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){o=e.strstart+258;do;while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<o);e.match_length=258-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=a._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(f(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(f(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(f(e,!1),0===e.strm.avail_out)?1:2}(i,t):n[i.level].func(i,t);if((3===v||4===v)&&(i.status=666),1===v||3===v)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===v&&(1===t?a._tr_align(i):5!==t&&(a._tr_stored_block(i,0,0,!1),3===t&&(d(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),h(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(p(i,255&e.adler),p(i,e.adler>>8&255),p(i,e.adler>>16&255),p(i,e.adler>>24&255),p(i,255&e.total_in),p(i,e.total_in>>8&255),p(i,e.total_in>>16&255),p(i,e.total_in>>24&255)):(g(i,e.adler>>>16),g(i,65535&e.adler)),h(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},t.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?l(e,-2):(e.state=null,113===t?l(e,-3):0):-2},t.deflateSetDictionary=function(e,t){var r,n,a,s,c,l,u,h,f=t.length;if(!e||!e.state||2===(s=(r=e.state).wrap)||1===s&&42!==r.status||r.lookahead)return -2;for(1===s&&(e.adler=o(e.adler,t,f,0)),r.wrap=0,f>=r.w_size&&(0===s&&(d(r.head),r.strstart=0,r.block_start=0,r.insert=0),h=new i.Buf8(r.w_size),i.arraySet(h,t,f-r.w_size,r.w_size,0),t=h,f=r.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=f,e.next_in=0,e.input=t,b(r);r.lookahead>=3;){n=r.strstart,a=r.lookahead-2;do 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++;while(--a);r.strstart=n,r.lookahead=2,b(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=l,e.input=u,e.avail_in=c,r.wrap=s,0},t.deflateInfo="pako deflate (from Nodeca project)"},59226:e=>{"use strict";e.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}},89797:e=>{"use strict";e.exports=function(e,t){var r,n,i,a,o,s,c,l,u,d,h,f,p,g,m,b,v,y,_,A,x,S,w,T,D;r=e.state,n=e.next_in,T=e.input,i=n+(e.avail_in-5),a=e.next_out,D=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),c=r.dmax,l=r.wsize,u=r.whave,d=r.wnext,h=r.window,f=r.hold,p=r.bits,g=r.lencode,m=r.distcode,b=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;r:do for(p<15&&(f+=T[n++]<<p,p+=8,f+=T[n++]<<p,p+=8),y=g[f&b];;){if(f>>>=_=y>>>24,p-=_,0==(_=y>>>16&255))D[a++]=65535&y;else if(16&_)for(A=65535&y,(_&=15)&&(p<_&&(f+=T[n++]<<p,p+=8),A+=f&(1<<_)-1,f>>>=_,p-=_),p<15&&(f+=T[n++]<<p,p+=8,f+=T[n++]<<p,p+=8),y=m[f&v];;){if(f>>>=_=y>>>24,p-=_,16&(_=y>>>16&255)){if(x=65535&y,p<(_&=15)&&(f+=T[n++]<<p,(p+=8)<_&&(f+=T[n++]<<p,p+=8)),(x+=f&(1<<_)-1)>c){e.msg="invalid distance too far back",r.mode=30;break r}if(f>>>=_,p-=_,x>(_=a-o)){if((_=x-_)>u&&r.sane){e.msg="invalid distance too far back",r.mode=30;break r}if(S=0,w=h,0===d){if(S+=l-_,_<A){A-=_;do D[a++]=h[S++];while(--_);S=a-x,w=D}}else if(d<_){if(S+=l+d-_,(_-=d)<A){A-=_;do D[a++]=h[S++];while(--_);if(S=0,d<A){A-=_=d;do D[a++]=h[S++];while(--_);S=a-x,w=D}}}else if(S+=d-_,_<A){A-=_;do D[a++]=h[S++];while(--_);S=a-x,w=D}for(;A>2;)D[a++]=w[S++],D[a++]=w[S++],D[a++]=w[S++],A-=3;A&&(D[a++]=w[S++],A>1&&(D[a++]=w[S++]))}else{S=a-x;do D[a++]=D[S++],D[a++]=D[S++],D[a++]=D[S++],A-=3;while(A>2);A&&(D[a++]=D[S++],A>1&&(D[a++]=D[S++]))}}else if((64&_)==0){y=m[(65535&y)+(f&(1<<_)-1)];continue}else{e.msg="invalid distance code",r.mode=30;break r}break}else if((64&_)==0){y=g[(65535&y)+(f&(1<<_)-1)];continue}else if(32&_){r.mode=12;break r}else{e.msg="invalid literal/length code",r.mode=30;break r}break}while(n<i&&a<s);n-=A=p>>3,p-=A<<3,f&=(1<<p)-1,e.next_in=n,e.next_out=a,e.avail_in=n<i?5+(i-n):5-(n-i),e.avail_out=a<s?257+(s-a):257-(a-s),r.hold=f,r.bits=p}},78499:(e,t,r)=>{"use strict";var n,i,a=r(6837),o=r(74173),s=r(49379),c=r(89797),l=r(43794);function u(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function d(){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 a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function h(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 a.Buf32(852),t.distcode=t.distdyn=new a.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,h(e)):-2}function p(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,f(e)):-2}function g(e,t){var r,n;return e?(n=new d,e.state=n,n.window=null,0!==(r=p(e,t))&&(e.state=null),r):-2}var m=!0;function b(e,t,r,n){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new a.Buf8(o.wsize)),n>=o.wsize?(a.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>n&&(i=n),a.arraySet(o.window,t,r-n,i,o.wnext),(n-=i)?(a.arraySet(o.window,t,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}t.inflateReset=f,t.inflateReset2=p,t.inflateResetKeep=h,t.inflateInit=function(e){return g(e,15)},t.inflateInit2=g,t.inflate=function(e,t){var r,d,h,f,p,g,v,y,_,A,x,S,w,T,D,C,k,E,P,R,F,U,O,I,L=0,N=new a.Buf8(4),j=[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,h=e.output,v=e.avail_out,f=e.next_in,d=e.input,g=e.avail_in,y=r.hold,_=r.bits,A=g,x=v,U=0;n:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;_<16;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}if(2&r.wrap&&35615===y){r.check=0,N[0]=255&y,N[1]=y>>>8&255,r.check=s(r.check,N,2,0),y=0,_=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&y)<<8)+(y>>8))%31){e.msg="incorrect header check",r.mode=30;break}if((15&y)!=8){e.msg="unknown compression method",r.mode=30;break}if(y>>>=4,_-=4,F=(15&y)+8,0===r.wbits)r.wbits=F;else if(F>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<F,e.adler=r.check=1,r.mode=512&y?10:12,y=0,_=0;break;case 2:for(;_<16;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}if(r.flags=y,(255&r.flags)!=8){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=y>>8&1),512&r.flags&&(N[0]=255&y,N[1]=y>>>8&255,r.check=s(r.check,N,2,0)),y=0,_=0,r.mode=3;case 3:for(;_<32;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}r.head&&(r.head.time=y),512&r.flags&&(N[0]=255&y,N[1]=y>>>8&255,N[2]=y>>>16&255,N[3]=y>>>24&255,r.check=s(r.check,N,4,0)),y=0,_=0,r.mode=4;case 4:for(;_<16;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}r.head&&(r.head.xflags=255&y,r.head.os=y>>8),512&r.flags&&(N[0]=255&y,N[1]=y>>>8&255,r.check=s(r.check,N,2,0)),y=0,_=0,r.mode=5;case 5:if(1024&r.flags){for(;_<16;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}r.length=y,r.head&&(r.head.extra_len=y),512&r.flags&&(N[0]=255&y,N[1]=y>>>8&255,r.check=s(r.check,N,2,0)),y=0,_=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((S=r.length)>g&&(S=g),S&&(r.head&&(F=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),a.arraySet(r.head.extra,d,f,S,F)),512&r.flags&&(r.check=s(r.check,d,S,f)),g-=S,f+=S,r.length-=S),r.length))break n;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===g)break n;S=0;do F=d[f+S++],r.head&&F&&r.length<65536&&(r.head.name+=String.fromCharCode(F));while(F&&S<g);if(512&r.flags&&(r.check=s(r.check,d,S,f)),g-=S,f+=S,F)break n}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===g)break n;S=0;do F=d[f+S++],r.head&&F&&r.length<65536&&(r.head.comment+=String.fromCharCode(F));while(F&&S<g);if(512&r.flags&&(r.check=s(r.check,d,S,f)),g-=S,f+=S,F)break n}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;_<16;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}if(y!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}y=0,_=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(;_<32;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}e.adler=r.check=u(y),y=0,_=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=p,e.avail_out=v,e.next_in=f,e.avail_in=g,r.hold=y,r.bits=_,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break n;case 13:if(r.last){y>>>=7&_,_-=7&_,r.mode=27;break}for(;_<3;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}switch(r.last=1&y,_-=1,3&(y>>>=1)){case 0:r.mode=14;break;case 1:if(function(e){if(m){var t;for(n=new a.Buf32(512),i=new a.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(l(1,e.lens,0,288,n,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;l(2,e.lens,0,32,i,0,e.work,{bits:5}),m=!1}e.lencode=n,e.lenbits=9,e.distcode=i,e.distbits=5}(r),r.mode=20,6===t){y>>>=2,_-=2;break n}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}y>>>=2,_-=2;break;case 14:for(y>>>=7&_,_-=7&_;_<32;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}if((65535&y)!=(y>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&y,y=0,_=0,r.mode=15,6===t)break n;case 15:r.mode=16;case 16:if(S=r.length){if(S>g&&(S=g),S>v&&(S=v),0===S)break n;a.arraySet(h,d,f,S,p),g-=S,f+=S,v-=S,p+=S,r.length-=S;break}r.mode=12;break;case 17:for(;_<14;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}if(r.nlen=(31&y)+257,y>>>=5,_-=5,r.ndist=(31&y)+1,y>>>=5,_-=5,r.ncode=(15&y)+4,y>>>=4,_-=4,r.nlen>286||r.ndist>30){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(;_<3;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}r.lens[j[r.have++]]=7&y,y>>>=3,_-=3}for(;r.have<19;)r.lens[j[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,O={bits:r.lenbits},U=l(0,r.lens,0,19,r.lencode,0,r.work,O),r.lenbits=O.bits,U){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(;D=(L=r.lencode[y&(1<<r.lenbits)-1])>>>24,C=L>>>16&255,k=65535&L,!(D<=_);){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}if(k<16)y>>>=D,_-=D,r.lens[r.have++]=k;else{if(16===k){for(I=D+2;_<I;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}if(y>>>=D,_-=D,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}F=r.lens[r.have-1],S=3+(3&y),y>>>=2,_-=2}else if(17===k){for(I=D+3;_<I;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}y>>>=D,_-=D,F=0,S=3+(7&y),y>>>=3,_-=3}else{for(I=D+7;_<I;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}y>>>=D,_-=D,F=0,S=11+(127&y),y>>>=7,_-=7}if(r.have+S>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;S--;)r.lens[r.have++]=F}}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,O={bits:r.lenbits},U=l(1,r.lens,0,r.nlen,r.lencode,0,r.work,O),r.lenbits=O.bits,U){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,O={bits:r.distbits},U=l(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,O),r.distbits=O.bits,U){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break n;case 20:r.mode=21;case 21:if(g>=6&&v>=258){e.next_out=p,e.avail_out=v,e.next_in=f,e.avail_in=g,r.hold=y,r.bits=_,c(e,x),p=e.next_out,h=e.output,v=e.avail_out,f=e.next_in,d=e.input,g=e.avail_in,y=r.hold,_=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;D=(L=r.lencode[y&(1<<r.lenbits)-1])>>>24,C=L>>>16&255,k=65535&L,!(D<=_);){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}if(C&&(240&C)==0){for(E=D,P=C,R=k;D=(L=r.lencode[R+((y&(1<<E+P)-1)>>E)])>>>24,C=L>>>16&255,k=65535&L,!(E+D<=_);){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}y>>>=E,_-=E,r.back+=E}if(y>>>=D,_-=D,r.back+=D,r.length=k,0===C){r.mode=26;break}if(32&C){r.back=-1,r.mode=12;break}if(64&C){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&C,r.mode=22;case 22:if(r.extra){for(I=r.extra;_<I;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}r.length+=y&(1<<r.extra)-1,y>>>=r.extra,_-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;D=(L=r.distcode[y&(1<<r.distbits)-1])>>>24,C=L>>>16&255,k=65535&L,!(D<=_);){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}if((240&C)==0){for(E=D,P=C,R=k;D=(L=r.distcode[R+((y&(1<<E+P)-1)>>E)])>>>24,C=L>>>16&255,k=65535&L,!(E+D<=_);){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}y>>>=E,_-=E,r.back+=E}if(y>>>=D,_-=D,r.back+=D,64&C){e.msg="invalid distance code",r.mode=30;break}r.offset=k,r.extra=15&C,r.mode=24;case 24:if(r.extra){for(I=r.extra;_<I;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}r.offset+=y&(1<<r.extra)-1,y>>>=r.extra,_-=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===v)break n;if(S=x-v,r.offset>S){if((S=r.offset-S)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}S>r.wnext?(S-=r.wnext,w=r.wsize-S):w=r.wnext-S,S>r.length&&(S=r.length),T=r.window}else T=h,w=p-r.offset,S=r.length;S>v&&(S=v),v-=S,r.length-=S;do h[p++]=T[w++];while(--S);0===r.length&&(r.mode=21);break;case 26:if(0===v)break n;h[p++]=r.length,v--,r.mode=21;break;case 27:if(r.wrap){for(;_<32;){if(0===g)break n;g--,y|=d[f++]<<_,_+=8}if(x-=v,e.total_out+=x,r.total+=x,x&&(e.adler=r.check=r.flags?s(r.check,h,x,p-x):o(r.check,h,x,p-x)),x=v,(r.flags?y:u(y))!==r.check){e.msg="incorrect data check",r.mode=30;break}y=0,_=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;_<32;){if(0===g)break n;g--,y+=d[f++]<<_,_+=8}if(y!==(0xffffffff&r.total)){e.msg="incorrect length check",r.mode=30;break}y=0,_=0}r.mode=29;case 29:U=1;break n;case 30:U=-3;break n;case 31:return -4;default:return -2}return(e.next_out=p,e.avail_out=v,e.next_in=f,e.avail_in=g,r.hold=y,r.bits=_,(r.wsize||x!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&b(e,e.output,e.next_out,x-e.avail_out))?(r.mode=31,-4):(A-=e.avail_in,x-=e.avail_out,e.total_in+=A,e.total_out+=x,r.total+=x,r.wrap&&x&&(e.adler=r.check=r.flags?s(r.check,h,x,e.next_out-x):o(r.check,h,x,e.next_out-x)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===A&&0===x||4===t)&&0===U&&(U=-5),U)},t.inflateEnd=function(e){if(!e||!e.state)return -2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},t.inflateGetHeader=function(e,t){var r;return e&&e.state&&(2&(r=e.state).wrap)!=0?(r.head=t,t.done=!1,0):-2},t.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state&&(0===(r=e.state).wrap||11===r.mode)?11===r.mode&&o(1,t,n,0)!==r.check?-3:b(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},t.inflateInfo="pako inflate (from Nodeca project)"},43794:(e,t,r)=>{"use strict";var n=r(6837),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],a=[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],o=[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],s=[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];e.exports=function(e,t,r,c,l,u,d,h){var f,p,g,m,b,v,y,_,A,x=h.bits,S=0,w=0,T=0,D=0,C=0,k=0,E=0,P=0,R=0,F=0,U=null,O=0,I=new n.Buf16(16),L=new n.Buf16(16),N=null,j=0;for(S=0;S<=15;S++)I[S]=0;for(w=0;w<c;w++)I[t[r+w]]++;for(D=15,C=x;D>=1&&0===I[D];D--);if(C>D&&(C=D),0===D)return l[u++]=0x1400000,l[u++]=0x1400000,h.bits=1,0;for(T=1;T<D&&0===I[T];T++);for(C<T&&(C=T),P=1,S=1;S<=15;S++)if(P<<=1,(P-=I[S])<0)return -1;if(P>0&&(0===e||1!==D))return -1;for(S=1,L[1]=0;S<15;S++)L[S+1]=L[S]+I[S];for(w=0;w<c;w++)0!==t[r+w]&&(d[L[t[r+w]]++]=w);if(0===e?(U=N=d,v=19):1===e?(U=i,O-=257,N=a,j-=257,v=256):(U=o,N=s,v=-1),F=0,w=0,S=T,b=u,k=C,E=0,g=-1,m=(R=1<<C)-1,1===e&&R>852||2===e&&R>592)return 1;for(;;){y=S-E,d[w]<v?(_=0,A=d[w]):d[w]>v?(_=N[j+d[w]],A=U[O+d[w]]):(_=96,A=0),f=1<<S-E,T=p=1<<k;do l[b+(F>>E)+(p-=f)]=y<<24|_<<16|A|0;while(0!==p);for(f=1<<S-1;F&f;)f>>=1;if(0!==f?(F&=f-1,F+=f):F=0,w++,0==--I[S]){if(S===D)break;S=t[r+d[w]]}if(S>C&&(F&m)!==g){for(0===E&&(E=C),b+=T,P=1<<(k=S-E);k+E<D&&!((P-=I[k+E])<=0);)k++,P<<=1;if(R+=1<<k,1===e&&R>852||2===e&&R>592)return 1;l[g=F&m]=C<<24|k<<16|b-u|0}}return 0!==F&&(l[b+F]=S-E<<24|4194304),h.bits=C,0}},17822:e=>{"use strict";e.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"}},19505:(e,t,r)=>{"use strict";var n,i,a,o=r(6837);function s(e){for(var t=e.length;--t>=0;)e[t]=0}var c=[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],l=[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],u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],d=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],h=Array(576);s(h);var f=Array(60);s(f);var p=Array(512);s(p);var g=Array(256);s(g);var m=Array(29);s(m);var b=Array(30);function v(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 y(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function _(e){return e<256?p[e]:p[256+(e>>>7)]}function A(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function x(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,A(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 S(e,t,r){x(e,r[2*t],r[2*t+1])}function w(e,t){var r=0;do r|=1&e,e>>>=1,r<<=1;while(--t>0);return r>>>1}function T(e,t,r){var n,i,a=Array(16),o=0;for(n=1;n<=15;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=w(a[s]++,s))}}function D(e){var t;for(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 C(e){e.bi_valid>8?A(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function k(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function E(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&k(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!k(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function P(e,t,r){var n,i,a,o,s=0;if(0!==e.last_lit)do n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?S(e,i,t):(S(e,(a=g[i])+256+1,t),0!==(o=c[a])&&x(e,i-=m[a],o),S(e,a=_(--n),r),0!==(o=l[a])&&x(e,n-=b[a],o));while(s<e.last_lit);S(e,256,t)}function R(e,t){var r,n,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(r=0,e.heap_len=0,e.heap_max=573;r<c;r++)0!==a[2*r]?(e.heap[++e.heap_len]=l=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=l,r=e.heap_len>>1;r>=1;r--)E(e,a,r);i=c;do r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],E(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,E(e,a,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,a,o,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(a=0;a<=15;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(a=c[2*c[2*(n=e.heap[r])+1]+1]+1)>p&&(a=p,g++),c[2*n+1]=a,!(n>l)&&(e.bl_count[a]++,o=0,n>=f&&(o=h[n-f]),s=c[2*n],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(u[2*n+1]+o)));if(0!==g){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,g-=2}while(g>0);for(a=p;0!==a;a--)for(n=e.bl_count[a];0!==n;)!((i=e.heap[--r])>l)&&(c[2*i+1]!==a&&(e.opt_len+=(a-c[2*i+1])*c[2*i],c[2*i+1]=a),n--)}}(e,t),T(a,l,e.bl_count)}function F(e,t,r){var n,i,a=-1,o=t[1],s=0,c=7,l=4;for(0===o&&(c=138,l=3),t[(r+1)*2+1]=65535,n=0;n<=r;n++)i=o,o=t[(n+1)*2+1],++s<c&&i===o||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,a=i,0===o?(c=138,l=3):i===o?(c=6,l=3):(c=7,l=4))}function U(e,t,r){var n,i,a=-1,o=t[1],s=0,c=7,l=4;for(0===o&&(c=138,l=3),n=0;n<=r;n++)if(i=o,o=t[(n+1)*2+1],!(++s<c)||i!==o){if(s<l)do S(e,i,e.bl_tree);while(0!=--s);else 0!==i?(i!==a&&(S(e,i,e.bl_tree),s--),S(e,16,e.bl_tree),x(e,s-3,2)):s<=10?(S(e,17,e.bl_tree),x(e,s-3,3)):(S(e,18,e.bl_tree),x(e,s-11,7));s=0,a=i,0===o?(c=138,l=3):i===o?(c=6,l=3):(c=7,l=4)}}s(b);var O=!1;function I(e,t,r,n){x(e,0+(n?1:0),3),C(e),A(e,r),A(e,~r),o.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}t._tr_init=function(e){O||(function(){var e,t,r,o,s,d=Array(16);for(o=0,r=0;o<28;o++)for(e=0,m[o]=r;e<1<<c[o];e++)g[r++]=o;for(g[r-1]=o,s=0,o=0;o<16;o++)for(e=0,b[o]=s;e<1<<l[o];e++)p[s++]=o;for(s>>=7;o<30;o++)for(e=0,b[o]=s<<7;e<1<<l[o]-7;e++)p[256+s++]=o;for(t=0;t<=15;t++)d[t]=0;for(e=0;e<=143;)h[2*e+1]=8,e++,d[8]++;for(;e<=255;)h[2*e+1]=9,e++,d[9]++;for(;e<=279;)h[2*e+1]=7,e++,d[7]++;for(;e<=287;)h[2*e+1]=8,e++,d[8]++;for(T(h,287,d),e=0;e<30;e++)f[2*e+1]=5,f[2*e]=w(e,5);n=new v(h,c,257,286,15),i=new v(f,l,0,30,15),a=new v([],u,0,19,7)}(),O=!0),e.l_desc=new y(e.dyn_ltree,n),e.d_desc=new y(e.dyn_dtree,i),e.bl_desc=new y(e.bl_tree,a),e.bi_buf=0,e.bi_valid=0,D(e)},t._tr_stored_block=I,t._tr_flush_block=function(e,t,r,n){var i,a,o=0;e.level>0?(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)),R(e,e.l_desc),R(e,e.d_desc),o=function(e){var t;for(F(e,e.dyn_ltree,e.l_desc.max_code),F(e,e.dyn_dtree,e.d_desc.max_code),R(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*d[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==t?I(e,t,r,n):4===e.strategy||a===i?(x(e,2+(n?1:0),3),P(e,h,f)):(x(e,4+(n?1:0),3),function(e,t,r,n){var i;for(x(e,t-257,5),x(e,r-1,5),x(e,n-4,4),i=0;i<n;i++)x(e,e.bl_tree[2*d[i]+1],3);U(e,e.dyn_ltree,t-1),U(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),P(e,e.dyn_ltree,e.dyn_dtree)),D(e),n&&C(e)},t._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[(g[r]+256+1)*2]++,e.dyn_dtree[2*_(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){x(e,2,3),S(e,256,h),16===e.bi_valid?(A(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},73622:e=>{"use strict";e.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}},72273:e=>{"use strict";function t(e){return"/"===e.charAt(0)}function r(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(e),r=t[1]||"",n=!!(r&&":"!==r.charAt(1));return!!(t[2]||n)}e.exports="win32"===process.platform?r:t,e.exports.posix=t,e.exports.win32=r},35609:e=>{"use strict";"undefined"!=typeof process&&process.version&&0!==process.version.indexOf("v0.")&&(0!==process.version.indexOf("v1.")||0===process.version.indexOf("v1.8."))?e.exports=process:e.exports={nextTick:function(e,t,r,n){if("function"!=typeof e)throw TypeError('"callback" argument must be a function');var i,a,o=arguments.length;switch(o){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,r)});case 4:return process.nextTick(function(){e.call(null,t,r,n)});default:for(i=Array(o-1),a=0;a<i.length;)i[a++]=arguments[a];return process.nextTick(function(){e.apply(null,i)})}}}},45402:(e,t,r)=>{"use strict";var n=r(35609),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=Object.create(r(40458));a.inherits=r(19905);var o=r(57108),s=r(76324);a.inherits(d,o);for(var c=i(s.prototype),l=0;l<c.length;l++){var u=c[l];d.prototype[u]||(d.prototype[u]=s.prototype[u])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{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)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},38840:(e,t,r)=>{"use strict";e.exports=a;var n=r(56366),i=Object.create(r(40458));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(19905),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},57108:(e,t,r)=>{"use strict";var n,i,a=r(35609);e.exports=v;var o=r(94294);v.ReadableState=b,r(94735).EventEmitter;var s=function(e,t){return e.listeners(t).length},c=r(21792),l=r(95957).Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},d=Object.create(r(40458));d.inherits=r(19905);var h=r(28354),f=void 0;f=h&&h.debuglog?h.debuglog("stream"):function(){};var p=r(20282),g=r(37744);d.inherits(v,c);var m=["error","close","destroy","pause","resume"];function b(e,t){n=n||r(45402),e=e||{};var a=t instanceof n;this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,s=e.readableHighWaterMark,c=this.objectMode?16:16384;o||0===o?this.highWaterMark=o:a&&(s||0===s)?this.highWaterMark=s:this.highWaterMark=c,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new p,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.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(i||(i=r(98333).I),this.decoder=new i(e.encoding),this.encoding=e.encoding)}function v(e){if(n=n||r(45402),!(this instanceof v))return new v(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function y(e,t,r,n,i){var a,o,s,c,d,h=e._readableState;return null===t?(h.reading=!1,function(e,t){if(!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,x(e)}}(e,h)):(i||(a=h,o=t,l.isBuffer(o)||o instanceof u||"string"==typeof o||void 0===o||a.objectMode||(s=TypeError("Invalid non-string/buffer chunk")),d=s),d)?e.emit("error",d):h.objectMode||t&&t.length>0?("string"==typeof t||h.objectMode||Object.getPrototypeOf(t)===l.prototype||(c=t,t=l.from(c)),n?h.endEmitted?e.emit("error",Error("stream.unshift() after end event")):_(e,h,t,!0):h.ended?e.emit("error",Error("stream.push() after EOF")):(h.reading=!1,h.decoder&&!r?(t=h.decoder.write(t),h.objectMode||0!==t.length?_(e,h,t,!1):w(e,h)):_(e,h,t,!1))):n||(h.reading=!1),!h.ended&&(h.needReadable||h.length<h.highWaterMark||0===h.length)}function _(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&x(e)),w(e,t)}function A(e,t){if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)return t.flowing&&t.length?t.buffer.head.data.length:t.length;if(e>t.highWaterMark){var r;t.highWaterMark=((r=e)>=8388608?r=8388608:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}function x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?a.nextTick(S,e):S(e))}function S(e){f("emit readable"),e.emit("readable"),k(e)}function w(e,t){t.readingMore||(t.readingMore=!0,a.nextTick(T,e,t))}function T(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(f("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function D(e){f("readable nexttick read 0"),e.read(0)}function C(e,t){t.reading||(f("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),k(e),t.flowing&&!t.reading&&e.read(0)}function k(e){var t=e._readableState;for(f("flow",t.flowing);t.flowing&&null!==e.read(););}function E(e,t){var r,n,i,a;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.head.data:t.buffer.concat(t.length),t.buffer.clear()):(n=t.buffer,i=t.decoder,e<n.head.data.length?(a=n.head.data.slice(0,e),n.head.data=n.head.data.slice(e)):a=e===n.head.data.length?n.shift():i?function(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0==(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,n):function(e,t){var r=l.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0==(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,n),r=a),r)}function P(e){var t=e._readableState;if(t.length>0)throw Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,a.nextTick(R,t,e))}function R(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(e,t){this.push(null),t(e)},v.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=l.from(e,t),t=""),r=!0),y(this,e,t,!1,r)},v.prototype.unshift=function(e){return y(this,e,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(e){return i||(i=r(98333).I),this._readableState.decoder=new i(e),this._readableState.encoding=e,this},v.prototype.read=function(e){f("read",e),e=parseInt(e,10);var t,r=this._readableState,n=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&(r.length>=r.highWaterMark||r.ended))return f("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?P(this):x(this),null;if(0===(e=A(e,r))&&r.ended)return 0===r.length&&P(this),null;var i=r.needReadable;return f("need readable",i),(0===r.length||r.length-e<r.highWaterMark)&&f("length less than watermark",i=!0),r.ended||r.reading?f("reading or ended",i=!1):i&&(f("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=A(n,r))),null===(t=e>0?E(e,r):null)?(r.needReadable=!0,e=0):r.length-=e,0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&P(this)),null!==t&&this.emit("data",t),t},v.prototype._read=function(e){this.emit("error",Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,f("pipe count=%d opts=%j",n.pipesCount,t);var i=t&&!1===t.end||e===process.stdout||e===process.stderr?b:c;function c(){f("onend"),e.end()}n.endEmitted?a.nextTick(i):r.once("end",i),e.on("unpipe",function t(i,a){f("onunpipe"),i===r&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,f("cleanup"),e.removeListener("close",g),e.removeListener("finish",m),e.removeListener("drain",l),e.removeListener("error",p),e.removeListener("unpipe",t),r.removeListener("end",c),r.removeListener("end",b),r.removeListener("data",h),u=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l())});var l=function(){var e=r._readableState;f("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(r,"data")&&(e.flowing=!0,k(r))};e.on("drain",l);var u=!1,d=!1;function h(t){f("ondata"),d=!1,!1!==e.write(t)||d||((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==F(n.pipes,e))&&!u&&(f("false write response, pause",n.awaitDrain),n.awaitDrain++,d=!0),r.pause())}function p(t){f("onerror",t),b(),e.removeListener("error",p),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",m),b()}function m(){f("onfinish"),e.removeListener("close",g),b()}function b(){f("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(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",g),e.once("finish",m),e.emit("pipe",r),n.flowing||(f("pipe resume"),r.resume()),e},v.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 a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=F(t.pipes,e);return -1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},v.prototype.on=function(e,t){var r=c.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&x(this):a.nextTick(D,this))}return r},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!0,e.resumeScheduled||(e.resumeScheduled=!0,a.nextTick(C,this,e))),this},v.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(f("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){f("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!=i)&&(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<m.length;a++)e.on(m[a],this.emit.bind(this,m[a]));return this._read=function(t){f("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=E},56366:(e,t,r)=>{"use strict";e.exports=o;var n=r(45402),i=Object.create(r(40458));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.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",s)}function s(){var e=this;"function"==typeof this._flush?this._flush(function(t,r){c(e,t,r)}):c(this,null,null)}function c(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(19905),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw Error("_transform() is not implemented")},o.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)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}},76324:(e,t,r)=>{"use strict";var n,i,a=r(35609);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(void 0),n=n.next}t.corkedRequestsFree.next=e})(t,e)}}e.exports=m;var s=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:a.nextTick;m.WritableState=g;var c=Object.create(r(40458));c.inherits=r(19905);var l={deprecate:r(11387)},u=r(21792),d=r(95957).Buffer,h=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},f=r(37744);function p(){}function g(e,t){n=n||r(45402),e=e||{};var i=t instanceof n;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;c||0===c?this.highWaterMark=c:i&&(l||0===l)?this.highWaterMark=l:this.highWaterMark=u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,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(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,n?(a.nextTick(i,t),a.nextTick(x,e,r),e._writableState.errorEmitted=!0,e.emit("error",t)):(i(t),e._writableState.errorEmitted=!0,e.emit("error",t),x(e,r));else{var o=_(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||y(e,r),n?s(v,e,r,o,i):v(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.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function m(e){if(n=n||r(45402),!i.call(m,this)&&!(this instanceof n))return new m(e);this._writableState=new g(e,this),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)),u.call(this)}function b(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function v(e,t,r,n){r||0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain")),t.pendingcb--,n(),x(e,t)}function y(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=r;for(var a=0,s=!0;r;)n[a]=r,r.isBuf||(s=!1),r=r.next,a+=1;n.allBuffers=s,b(e,t,!0,t.length,n,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,u=r.callback,d=t.objectMode?1:c.length;if(b(e,t,!1,d,c,l,u),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),x(e,t)})}function x(e,t){var r=_(t);return r&&(t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,a.nextTick(A,e,t)):(t.prefinished=!0,e.emit("prefinish"))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}c.inherits(m,u),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===m&&e&&e._writableState instanceof g}})):i=function(e){return e instanceof this},m.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))},m.prototype.write=function(e,t,r){var n,i,o,s,c,l,u,f,g=this._writableState,m=!1,v=!g.objectMode&&(n=e,d.isBuffer(n)||n instanceof h);return v&&!d.isBuffer(e)&&(i=e,e=d.from(i)),("function"==typeof t&&(r=t,t=null),v?t="buffer":t||(t=g.defaultEncoding),"function"!=typeof r&&(r=p),g.ended)?(o=r,s=Error("write after end"),this.emit("error",s),a.nextTick(o,s)):(v||(c=e,l=r,u=!0,f=!1,null===c?f=TypeError("May not write null values to stream"):"string"==typeof c||void 0===c||g.objectMode||(f=TypeError("Invalid non-string/buffer chunk")),f&&(this.emit("error",f),a.nextTick(l,f),u=!1),u))&&(g.pendingcb++,m=function(e,t,r,n,i,a){if(!r){var o,s,c=(o=n,s=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof o||(o=d.from(o,s)),o);n!==c&&(r=!0,i="buffer",n=c)}var l=t.objectMode?1:n.length;t.length+=l;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var h=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},h?h.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else b(e,t,!1,l,n,i,a);return u}(this,g,v,e,t,r)),m},m.prototype.cork=function(){var e=this._writableState;e.corked++},m.prototype.uncork=function(){var e=this._writableState;!e.corked||(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||y(this,e))},m.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 TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(e,t,r){r(Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(e,t,r){var n,i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||(n=r,i.ending=!0,x(this,i),n&&(i.finished?a.nextTick(n):this.once("finish",n)),i.ended=!0,this.writable=!1)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),m.prototype.destroy=f.destroy,m.prototype._undestroy=f.undestroy,m.prototype._destroy=function(e,t){this.end(),t(e)}},20282:(e,t,r)=>{"use strict";var n=r(95957).Buffer,i=r(28354);e.exports=function(){function e(){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=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}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t=n.allocUnsafe(e>>>0),r=this.head,i=0;r;)(function(e,t,r){e.copy(t,r)})(r.data,t,i),i+=r.data.length,r=r.next;return t},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},37744:(e,t,r)=>{"use strict";var n=r(35609);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)})),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)}}},21792:(e,t,r)=>{e.exports=r(27910)},52826:(e,t,r)=>{var n=r(27910);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=r(57108)).Stream=n||t,t.Readable=t,t.Writable=r(76324),t.Duplex=r(45402),t.Transform=r(56366),t.PassThrough=r(38840))},95957:(e,t,r)=>{var n=r(79428),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},98333:(e,t,r)=>{"use strict";var n=r(95957).Buffer,i=n.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 a(e){var t;switch(this.encoding=function(e){var t=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 t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=d,t=3;break;default:this.write=h,this.end=f;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){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,0);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 c(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 l(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 u(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 d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.I=a,a.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||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=o(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=o(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=o(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):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)},a.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}},11387:(e,t,r)=>{e.exports=r(28354).deprecate},58089:function(e){(function(){var t,r,n,i,a,o,s,c=[].slice,l={}.hasOwnProperty;t=function(){var e,t,r,n,i,o;if(o=arguments[0],i=2<=arguments.length?c.call(arguments,1):[],a(Object.assign))Object.assign.apply(null,arguments);else for(e=0,r=i.length;e<r;e++)if(null!=(n=i[e]))for(t in n)l.call(n,t)&&(o[t]=n[t]);return o},a=function(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)},o=function(e){var t;return!!e&&("function"==(t=typeof e)||"object"===t)},n=function(e){return a(Array.isArray)?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},i=function(e){var t;if(n(e))return!e.length;for(t in e)if(l.call(e,t))return!1;return!0},s=function(e){var t,r;return o(e)&&(r=Object.getPrototypeOf(e))&&(t=r.constructor)&&"function"==typeof t&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},r=function(e){return a(e.valueOf)?e.valueOf():e},e.exports.assign=t,e.exports.isFunction=a,e.exports.isObject=o,e.exports.isArray=n,e.exports.isEmpty=i,e.exports.isPlainObject=s,e.exports.getValue=r}).call(this)},50914:function(e){(function(){e.exports=function(){function e(e,t,r){if(this.options=e.options,this.stringify=e.stringify,this.parent=e,null==t)throw Error("Missing attribute name. "+this.debugInfo(t));if(null==r)throw Error("Missing attribute value. "+this.debugInfo(t));this.name=this.stringify.attName(t),this.value=this.stringify.attValue(r)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(e){return this.options.writer.set(e).attribute(this)},e.prototype.debugInfo=function(e){return null==(e=e||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+e+"}, parent: <"+this.parent.name+">"},e}()}).call(this)},85975:function(e,t,r){(function(){var t,n=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;t=r(17604),e.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(r)}return n(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).cdata(this)},t}(t)}).call(this)},60835:function(e,t,r){(function(){var t,n=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;t=r(17604),e.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(r)}return n(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).comment(this)},t}(t)}).call(this)},72155:function(e,t,r){(function(){var t,n=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;t=r(17604),e.exports=function(e){function t(e,r,n,i,a,o){if(t.__super__.constructor.call(this,e),null==r)throw Error("Missing DTD element name. "+this.debugInfo());if(null==n)throw Error("Missing DTD attribute name. "+this.debugInfo(r));if(!i)throw Error("Missing DTD attribute type. "+this.debugInfo(r));if(!a)throw Error("Missing DTD attribute default. "+this.debugInfo(r));if(0!==a.indexOf("#")&&(a="#"+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(r));if(o&&!a.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(r));this.elementName=this.stringify.eleName(r),this.attributeName=this.stringify.attName(n),this.attributeType=this.stringify.dtdAttType(i),this.defaultValue=this.stringify.dtdAttDefault(o),this.defaultValueType=a}return n(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdAttList(this)},t}(t)}).call(this)},70280:function(e,t,r){(function(){var t,n=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;t=r(17604),e.exports=function(e){function t(e,r,n){if(t.__super__.constructor.call(this,e),null==r)throw Error("Missing DTD element name. "+this.debugInfo());n||(n="(#PCDATA)"),Array.isArray(n)&&(n="("+n.join(",")+")"),this.name=this.stringify.eleName(r),this.value=this.stringify.dtdElementValue(n)}return n(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdElement(this)},t}(t)}).call(this)},80697:function(e,t,r){(function(){var t,n,i=function(e,t){for(var r in t)a.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=r(58089).isObject,t=r(17604),e.exports=function(e){function t(e,r,i,a){if(t.__super__.constructor.call(this,e),null==i)throw Error("Missing DTD entity name. "+this.debugInfo(i));if(null==a)throw Error("Missing DTD entity value. "+this.debugInfo(i));if(this.pe=!!r,this.name=this.stringify.eleName(i),n(a)){if(!a.pubID&&!a.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(i));if(a.pubID&&!a.sysID)throw Error("System identifier is required for a public external entity. "+this.debugInfo(i));if(null!=a.pubID&&(this.pubID=this.stringify.dtdPubID(a.pubID)),null!=a.sysID&&(this.sysID=this.stringify.dtdSysID(a.sysID)),null!=a.nData&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(i))}else this.value=this.stringify.dtdEntityValue(a)}return i(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdEntity(this)},t}(t)}).call(this)},44956:function(e,t,r){(function(){var t,n=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;t=r(17604),e.exports=function(e){function t(e,r,n){if(t.__super__.constructor.call(this,e),null==r)throw Error("Missing DTD notation name. "+this.debugInfo(r));if(!n.pubID&&!n.sysID)throw Error("Public or system identifiers are required for an external entity. "+this.debugInfo(r));this.name=this.stringify.eleName(r),null!=n.pubID&&(this.pubID=this.stringify.dtdPubID(n.pubID)),null!=n.sysID&&(this.sysID=this.stringify.dtdSysID(n.sysID))}return n(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).dtdNotation(this)},t}(t)}).call(this)},60190:function(e,t,r){(function(){var t,n,i=function(e,t){for(var r in t)a.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},a={}.hasOwnProperty;n=r(58089).isObject,t=r(17604),e.exports=function(e){function t(e,r,i,a){var o;t.__super__.constructor.call(this,e),n(r)&&(r=(o=r).version,i=o.encoding,a=o.standalone),r||(r="1.0"),this.version=this.stringify.xmlVersion(r),null!=i&&(this.encoding=this.stringify.xmlEncoding(i)),null!=a&&(this.standalone=this.stringify.xmlStandalone(a))}return i(t,e),t.prototype.toString=function(e){return this.options.writer.set(e).declaration(this)},t}(t)}).call(this)},80928:function(e,t,r){(function(){var t,n,i,a,o,s,c=function(e,t){for(var r in t)l.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},l={}.hasOwnProperty;s=r(58089).isObject,o=r(17604),t=r(72155),i=r(80697),n=r(70280),a=r(44956),e.exports=function(e){function r(e,t,n){var i,a;r.__super__.constructor.call(this,e),this.name="!DOCTYPE",this.documentObject=e,s(t)&&(t=(i=t).pubID,n=i.sysID),null==n&&(n=(a=[t,n])[0],t=a[1]),null!=t&&(this.pubID=this.stringify.dtdPubID(t)),null!=n&&(this.sysID=this.stringify.dtdSysID(n))}return c(r,e),r.prototype.element=function(e,t){var r;return r=new n(this,e,t),this.children.push(r),this},r.prototype.attList=function(e,r,n,i,a){var o;return o=new t(this,e,r,n,i,a),this.children.push(o),this},r.prototype.entity=function(e,t){var r;return r=new i(this,!1,e,t),this.children.push(r),this},r.prototype.pEntity=function(e,t){var r;return r=new i(this,!0,e,t),this.children.push(r),this},r.prototype.notation=function(e,t){var r;return r=new a(this,e,t),this.children.push(r),this},r.prototype.toString=function(e){return this.options.writer.set(e).docType(this)},r.prototype.ele=function(e,t){return this.element(e,t)},r.prototype.att=function(e,t,r,n,i){return this.attList(e,t,r,n,i)},r.prototype.ent=function(e,t){return this.entity(e,t)},r.prototype.pent=function(e,t){return this.pEntity(e,t)},r.prototype.not=function(e,t){return this.notation(e,t)},r.prototype.up=function(){return this.root()||this.documentObject},r}(o)}).call(this)},85381:function(e,t,r){(function(){var t,n,i,a,o=function(e,t){for(var r in t)s.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},s={}.hasOwnProperty;a=r(58089).isPlainObject,t=r(17604),i=r(55184),n=r(57170),e.exports=function(e){function t(e){t.__super__.constructor.call(this,null),this.name="?xml",e||(e={}),e.writer||(e.writer=new n),this.options=e,this.stringify=new i(e),this.isDocument=!0}return o(t,e),t.prototype.end=function(e){var t;return e?a(e)&&(t=e,e=this.options.writer.set(t)):e=this.options.writer,e.document(this)},t.prototype.toString=function(e){return this.options.writer.set(e).document(this)},t}(t)}).call(this)},83848:function(e,t,r){(function(){var t,n,i,a,o,s,c,l,u,d,h,f,p,g,m,b,v,y,_,A,x={}.hasOwnProperty;y=(A=r(58089)).isObject,v=A.isFunction,_=A.isPlainObject,b=A.getValue,d=r(69326),n=r(85975),i=r(60835),f=r(39108),m=r(27715),h=r(54863),l=r(60190),u=r(80928),a=r(72155),s=r(80697),o=r(70280),c=r(44956),t=r(50914),g=r(55184),p=r(57170),e.exports=function(){function e(e,t,r){var n;this.name="?xml",e||(e={}),e.writer?_(e.writer)&&(n=e.writer,e.writer=new p(n)):e.writer=new p(e),this.options=e,this.writer=e.writer,this.stringify=new g(e),this.onDataCallback=t||function(){},this.onEndCallback=r||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return e.prototype.node=function(e,t,r){var n,i;if(null==e)throw Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw Error("Document can only have one root node. "+this.debugInfo(e));return this.openCurrent(),e=b(e),null===t&&null==r&&(t=(n=[{},null])[0],r=n[1]),null==t&&(t={}),y(t=b(t))||(r=(i=[t,r])[0],t=i[1]),this.currentNode=new d(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=r&&this.text(r),this},e.prototype.element=function(e,t,r){return this.currentNode&&this.currentNode instanceof u?this.dtdElement.apply(this,arguments):this.node(e,t,r)},e.prototype.attribute=function(e,r){var n,i;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(e));if(null!=e&&(e=b(e)),y(e))for(n in e)x.call(e,n)&&(i=e[n],this.attribute(n,i));else v(r)&&(r=r.apply()),this.options.skipNullAttributes&&null==r||(this.currentNode.attributes[e]=new t(this,e,r));return this},e.prototype.text=function(e){var t;return this.openCurrent(),t=new m(this,e),this.onData(this.writer.text(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.cdata=function(e){var t;return this.openCurrent(),t=new n(this,e),this.onData(this.writer.cdata(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.comment=function(e){var t;return this.openCurrent(),t=new i(this,e),this.onData(this.writer.comment(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.raw=function(e){var t;return this.openCurrent(),t=new f(this,e),this.onData(this.writer.raw(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.instruction=function(e,t){var r,n,i,a,o;if(this.openCurrent(),null!=e&&(e=b(e)),null!=t&&(t=b(t)),Array.isArray(e))for(r=0,a=e.length;r<a;r++)n=e[r],this.instruction(n);else if(y(e))for(n in e)x.call(e,n)&&(i=e[n],this.instruction(n,i));else v(t)&&(t=t.apply()),o=new h(this,e,t),this.onData(this.writer.processingInstruction(o,this.currentLevel+1),this.currentLevel+1);return this},e.prototype.declaration=function(e,t,r){var n;if(this.openCurrent(),this.documentStarted)throw Error("declaration() must be the first node.");return n=new l(this,e,t,r),this.onData(this.writer.declaration(n,this.currentLevel+1),this.currentLevel+1),this},e.prototype.doctype=function(e,t,r){if(this.openCurrent(),null==e)throw Error("Missing root node name.");if(this.root)throw Error("dtd() must come before the root node.");return this.currentNode=new u(this,t,r),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},e.prototype.dtdElement=function(e,t){var r;return this.openCurrent(),r=new o(this,e,t),this.onData(this.writer.dtdElement(r,this.currentLevel+1),this.currentLevel+1),this},e.prototype.attList=function(e,t,r,n,i){var o;return this.openCurrent(),o=new a(this,e,t,r,n,i),this.onData(this.writer.dtdAttList(o,this.currentLevel+1),this.currentLevel+1),this},e.prototype.entity=function(e,t){var r;return this.openCurrent(),r=new s(this,!1,e,t),this.onData(this.writer.dtdEntity(r,this.currentLevel+1),this.currentLevel+1),this},e.prototype.pEntity=function(e,t){var r;return this.openCurrent(),r=new s(this,!0,e,t),this.onData(this.writer.dtdEntity(r,this.currentLevel+1),this.currentLevel+1),this},e.prototype.notation=function(e,t){var r;return this.openCurrent(),r=new c(this,e,t),this.onData(this.writer.dtdNotation(r,this.currentLevel+1),this.currentLevel+1),this},e.prototype.up=function(){if(this.currentLevel<0)throw Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},e.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},e.prototype.openNode=function(e){if(!e.isOpen)return!this.root&&0===this.currentLevel&&e instanceof d&&(this.root=e),this.onData(this.writer.openNode(e,this.currentLevel),this.currentLevel),e.isOpen=!0},e.prototype.closeNode=function(e){if(!e.isClosed)return this.onData(this.writer.closeNode(e,this.currentLevel),this.currentLevel),e.isClosed=!0},e.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},e.prototype.debugInfo=function(e){return null==e?"":"node: <"+e+">"},e.prototype.ele=function(){return this.element.apply(this,arguments)},e.prototype.nod=function(e,t,r){return this.node(e,t,r)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},e.prototype.dtd=function(e,t,r){return this.doctype(e,t,r)},e.prototype.e=function(e,t,r){return this.element(e,t,r)},e.prototype.n=function(e,t,r){return this.node(e,t,r)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.att=function(){return this.currentNode&&this.currentNode instanceof u?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.a=function(){return this.currentNode&&this.currentNode instanceof u?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e}()}).call(this)},33566:function(e,t,r){(function(){var t,n=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;t=r(17604),e.exports=function(e){function t(e){t.__super__.constructor.call(this,e),this.isDummy=!0}return n(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return""},t}(t)}).call(this)},69326:function(e,t,r){(function(){var t,n,i,a,o,s,c=function(e,t){for(var r in t)l.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},l={}.hasOwnProperty;o=(s=r(58089)).isObject,a=s.isFunction,i=s.getValue,n=r(17604),t=r(50914),e.exports=function(e){function r(e,t,n){if(r.__super__.constructor.call(this,e),null==t)throw Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(t),this.attributes={},null!=n&&this.attribute(n),e.isDocument&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this)}return c(r,e),r.prototype.clone=function(){var e,t,r,n;for(t in(r=Object.create(this)).isRoot&&(r.documentObject=null),r.attributes={},n=this.attributes)l.call(n,t)&&(e=n[t],r.attributes[t]=e.clone());return r.children=[],this.children.forEach(function(e){var t;return(t=e.clone()).parent=r,r.children.push(t)}),r},r.prototype.attribute=function(e,r){var n,s;if(null!=e&&(e=i(e)),o(e))for(n in e)l.call(e,n)&&(s=e[n],this.attribute(n,s));else a(r)&&(r=r.apply()),this.options.skipNullAttributes&&null==r||(this.attributes[e]=new t(this,e,r));return this},r.prototype.removeAttribute=function(e){var t,r,n;if(null==e)throw Error("Missing attribute name. "+this.debugInfo());if(Array.isArray(e=i(e)))for(r=0,n=e.length;r<n;r++)t=e[r],delete this.attributes[t];else delete this.attributes[e];return this},r.prototype.toString=function(e){return this.options.writer.set(e).element(this)},r.prototype.att=function(e,t){return this.attribute(e,t)},r.prototype.a=function(e,t){return this.attribute(e,t)},r}(n)}).call(this)},17604:function(e,t,r){(function(){var t,n,i,a,o,s,c,l,u,d,h,f,p,g,m={}.hasOwnProperty;p=(g=r(58089)).isObject,f=g.isFunction,h=g.isEmpty,d=g.getValue,s=null,t=null,n=null,i=null,a=null,l=null,u=null,c=null,o=null,e.exports=function(){function e(e){this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],s||(s=r(69326),t=r(85975),n=r(60835),i=r(60190),a=r(80928),l=r(39108),u=r(27715),c=r(54863),o=r(33566))}return e.prototype.element=function(e,t,r){var n,i,a,o,s,c,l,u,g,b,v;if(c=null,null===t&&null==r&&(t=(g=[{},null])[0],r=g[1]),null==t&&(t={}),p(t=d(t))||(r=(b=[t,r])[0],t=b[1]),null!=e&&(e=d(e)),Array.isArray(e))for(a=0,l=e.length;a<l;a++)i=e[a],c=this.element(i);else if(f(e))c=this.element(e.apply());else if(p(e)){for(s in e)if(m.call(e,s)){if(f(v=e[s])&&(v=v.apply()),p(v)&&h(v)&&(v=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===s.indexOf(this.stringify.convertAttKey))c=this.attribute(s.substr(this.stringify.convertAttKey.length),v);else if(!this.options.separateArrayItems&&Array.isArray(v))for(o=0,u=v.length;o<u;o++)i=v[o],(n={})[s]=i,c=this.element(n);else p(v)?(c=this.element(s)).element(v):c=this.element(s,v)}}else c=this.options.skipNullNodes&&null===r?this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(r):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(r):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(r):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(r):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===e.indexOf(this.stringify.convertPIKey)?this.instruction(e.substr(this.stringify.convertPIKey.length),r):this.node(e,t,r);if(null==c)throw Error("Could not create any elements with: "+e+". "+this.debugInfo());return c},e.prototype.insertBefore=function(e,t,r){var n,i,a;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,a),n},e.prototype.insertAfter=function(e,t,r){var n,i,a;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i+1),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,a),n},e.prototype.remove=function(){var e;if(this.isRoot)throw Error("Cannot remove the root element. "+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat([])),this.parent},e.prototype.node=function(e,t,r){var n,i;return null!=e&&(e=d(e)),t||(t={}),p(t=d(t))||(r=(i=[t,r])[0],t=i[1]),n=new s(this,e,t),null!=r&&n.text(r),this.children.push(n),n},e.prototype.text=function(e){var t;return t=new u(this,e),this.children.push(t),this},e.prototype.cdata=function(e){var r;return r=new t(this,e),this.children.push(r),this},e.prototype.comment=function(e){var t;return t=new n(this,e),this.children.push(t),this},e.prototype.commentBefore=function(e){var t,r;return t=this.parent.children.indexOf(this),r=this.parent.children.splice(t),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.commentAfter=function(e){var t,r;return t=this.parent.children.indexOf(this),r=this.parent.children.splice(t+1),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.raw=function(e){var t;return t=new l(this,e),this.children.push(t),this},e.prototype.dummy=function(){var e;return e=new o(this),this.children.push(e),e},e.prototype.instruction=function(e,t){var r,n,i,a,o;if(null!=e&&(e=d(e)),null!=t&&(t=d(t)),Array.isArray(e))for(a=0,o=e.length;a<o;a++)r=e[a],this.instruction(r);else if(p(e))for(r in e)m.call(e,r)&&(n=e[r],this.instruction(r,n));else f(t)&&(t=t.apply()),i=new c(this,e,t),this.children.push(i);return this},e.prototype.instructionBefore=function(e,t){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.instructionAfter=function(e,t){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r+1),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.declaration=function(e,t,r){var n,a;return n=this.document(),a=new i(n,e,t,r),n.children[0]instanceof i?n.children[0]=a:n.children.unshift(a),n.root()||n},e.prototype.doctype=function(e,t){var r,n,i,o,s,c,l,u,d;for(r=this.document(),n=new a(r,e,t),u=r.children,i=o=0,c=u.length;o<c;i=++o)if(u[i]instanceof a)return r.children[i]=n,n;for(d=r.children,i=s=0,l=d.length;s<l;i=++s)if(d[i].isRoot)return r.children.splice(i,0,n),n;return r.children.push(n),n},e.prototype.up=function(){if(this.isRoot)throw Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},e.prototype.root=function(){var e;for(e=this;e;){if(e.isDocument)return e.rootObject;if(e.isRoot)return e;e=e.parent}},e.prototype.document=function(){var e;for(e=this;e;){if(e.isDocument)return e;e=e.parent}},e.prototype.end=function(e){return this.document().end(e)},e.prototype.prev=function(){var e;for(e=this.parent.children.indexOf(this);e>0&&this.parent.children[e-1].isDummy;)e-=1;if(e<1)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[e-1]},e.prototype.next=function(){var e;for(e=this.parent.children.indexOf(this);e<this.parent.children.length-1&&this.parent.children[e+1].isDummy;)e+=1;if(-1===e||e===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[e+1]},e.prototype.importDocument=function(e){var t;return(t=e.root().clone()).parent=this,t.isRoot=!1,this.children.push(t),this},e.prototype.debugInfo=function(e){var t,r;return null!=(e=e||this.name)||(null!=(t=this.parent)?t.name:void 0)?null==e?"parent: <"+this.parent.name+">":(null!=(r=this.parent)?r.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},e.prototype.ele=function(e,t,r){return this.element(e,t,r)},e.prototype.nod=function(e,t,r){return this.node(e,t,r)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.doc=function(){return this.document()},e.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},e.prototype.dtd=function(e,t){return this.doctype(e,t)},e.prototype.e=function(e,t,r){return this.element(e,t,r)},e.prototype.n=function(e,t,r){return this.node(e,t,r)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.u=function(){return this.up()},e.prototype.importXMLBuilder=function(e){return this.importDocument(e)},e}()}).call(this)},54863:function(e,t,r){(function(){var t,n=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;t=r(17604),e.exports=function(e){function t(e,r,n){if(t.__super__.constructor.call(this,e),null==r)throw Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(r),n&&(this.value=this.stringify.insValue(n))}return n(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).processingInstruction(this)},t}(t)}).call(this)},39108:function(e,t,r){(function(){var t,n=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;t=r(17604),e.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(r)}return n(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).raw(this)},t}(t)}).call(this)},95379:function(e,t,r){(function(){var t,n,i,a,o,s,c,l,u,d,h,f,p,g,m=function(e,t){for(var r in t)b.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},b={}.hasOwnProperty;c=r(60190),l=r(80928),t=r(85975),n=r(60835),d=r(69326),f=r(39108),p=r(27715),h=r(54863),u=r(33566),i=r(72155),a=r(70280),o=r(80697),s=r(44956),g=r(43170),e.exports=function(e){function r(e,t){r.__super__.constructor.call(this,t),this.stream=e}return m(r,e),r.prototype.document=function(e){var t,r,i,a,o,s,d,f;for(r=0,a=(s=e.children).length;r<a;r++)(t=s[r]).isLastRootNode=!1;for(i=0,e.children[e.children.length-1].isLastRootNode=!0,d=e.children,f=[],o=d.length;i<o;i++)if(!((t=d[i])instanceof u))switch(!1){case!(t instanceof c):f.push(this.declaration(t));break;case!(t instanceof l):f.push(this.docType(t));break;case!(t instanceof n):f.push(this.comment(t));break;case!(t instanceof h):f.push(this.processingInstruction(t));break;default:f.push(this.element(t))}return f},r.prototype.attribute=function(e){return this.stream.write(" "+e.name+'="'+e.value+'"')},r.prototype.cdata=function(e,t){return this.stream.write(this.space(t)+"<![CDATA["+e.text+"]]>"+this.endline(e))},r.prototype.comment=function(e,t){return this.stream.write(this.space(t)+"\x3c!-- "+e.text+" --\x3e"+this.endline(e))},r.prototype.declaration=function(e,t){return this.stream.write(this.space(t)),this.stream.write('<?xml version="'+e.version+'"'),null!=e.encoding&&this.stream.write(' encoding="'+e.encoding+'"'),null!=e.standalone&&this.stream.write(' standalone="'+e.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(e))},r.prototype.docType=function(e,r){var c,l,u,d;if(r||(r=0),this.stream.write(this.space(r)),this.stream.write("<!DOCTYPE "+e.root().name),e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(e)),l=0,u=(d=e.children).length;l<u;l++)switch(c=d[l],!1){case!(c instanceof i):this.dtdAttList(c,r+1);break;case!(c instanceof a):this.dtdElement(c,r+1);break;case!(c instanceof o):this.dtdEntity(c,r+1);break;case!(c instanceof s):this.dtdNotation(c,r+1);break;case!(c instanceof t):this.cdata(c,r+1);break;case!(c instanceof n):this.comment(c,r+1);break;case!(c instanceof h):this.processingInstruction(c,r+1);break;default:throw Error("Unknown DTD node type: "+c.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(e))},r.prototype.element=function(e,r){var i,a,o,s,c,l,g,m;for(c in r||(r=0),m=this.space(r),this.stream.write(m+"<"+e.name),l=e.attributes)b.call(l,c)&&(i=l[c],this.attribute(i));if(0===e.children.length||e.children.every(function(e){return""===e.value}))this.allowEmpty?this.stream.write("></"+e.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&1===e.children.length&&null!=e.children[0].value)this.stream.write(">"),this.stream.write(e.children[0].value),this.stream.write("</"+e.name+">");else{for(this.stream.write(">"+this.newline),o=0,s=(g=e.children).length;o<s;o++)switch(a=g[o],!1){case!(a instanceof t):this.cdata(a,r+1);break;case!(a instanceof n):this.comment(a,r+1);break;case!(a instanceof d):this.element(a,r+1);break;case!(a instanceof f):this.raw(a,r+1);break;case!(a instanceof p):this.text(a,r+1);break;case!(a instanceof h):this.processingInstruction(a,r+1);break;case!(a instanceof u):break;default:throw Error("Unknown XML node type: "+a.constructor.name)}this.stream.write(m+"</"+e.name+">")}return this.stream.write(this.endline(e))},r.prototype.processingInstruction=function(e,t){return this.stream.write(this.space(t)+"<?"+e.target),e.value&&this.stream.write(" "+e.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(e))},r.prototype.raw=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},r.prototype.text=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},r.prototype.dtdAttList=function(e,t){return this.stream.write(this.space(t)+"<!ATTLIST "+e.elementName+" "+e.attributeName+" "+e.attributeType),"#DEFAULT"!==e.defaultValueType&&this.stream.write(" "+e.defaultValueType),e.defaultValue&&this.stream.write(' "'+e.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},r.prototype.dtdElement=function(e,t){return this.stream.write(this.space(t)+"<!ELEMENT "+e.name+" "+e.value),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},r.prototype.dtdEntity=function(e,t){return this.stream.write(this.space(t)+"<!ENTITY"),e.pe&&this.stream.write(" %"),this.stream.write(" "+e.name),e.value?this.stream.write(' "'+e.value+'"'):(e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),e.nData&&this.stream.write(" NDATA "+e.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},r.prototype.dtdNotation=function(e,t){return this.stream.write(this.space(t)+"<!NOTATION "+e.name),e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.pubID?this.stream.write(' PUBLIC "'+e.pubID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(e))},r.prototype.endline=function(e){return e.isLastRootNode?"":this.newline},r}(g)}).call(this)},57170:function(e,t,r){(function(){var t,n,i,a,o,s,c,l,u,d,h,f,p,g,m=function(e,t){for(var r in t)b.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},b={}.hasOwnProperty;c=r(60190),l=r(80928),t=r(85975),n=r(60835),d=r(69326),f=r(39108),p=r(27715),h=r(54863),u=r(33566),i=r(72155),a=r(70280),o=r(80697),s=r(44956),g=r(43170),e.exports=function(e){function r(e){r.__super__.constructor.call(this,e)}return m(r,e),r.prototype.document=function(e){var t,r,i,a,o;for(r=0,this.textispresent=!1,a="",i=(o=e.children).length;r<i;r++)(t=o[r])instanceof u||(a+=(function(){switch(!1){case!(t instanceof c):return this.declaration(t);case!(t instanceof l):return this.docType(t);case!(t instanceof n):return this.comment(t);case!(t instanceof h):return this.processingInstruction(t);default:return this.element(t,0)}}).call(this));return this.pretty&&a.slice(-this.newline.length)===this.newline&&(a=a.slice(0,-this.newline.length)),a},r.prototype.attribute=function(e){return" "+e.name+'="'+e.value+'"'},r.prototype.cdata=function(e,t){return this.space(t)+"<![CDATA["+e.text+"]]>"+this.newline},r.prototype.comment=function(e,t){return this.space(t)+"\x3c!-- "+e.text+" --\x3e"+this.newline},r.prototype.declaration=function(e,t){var r;return r=this.space(t)+'<?xml version="'+e.version+'"',null!=e.encoding&&(r+=' encoding="'+e.encoding+'"'),null!=e.standalone&&(r+=' standalone="'+e.standalone+'"'),r+=this.spacebeforeslash+"?>",r+=this.newline},r.prototype.docType=function(e,r){var c,l,u,d,f;if(r||(r=0),d=this.space(r)+"<!DOCTYPE "+e.root().name,e.pubID&&e.sysID?d+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(d+=' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(d+=" [",d+=this.newline,l=0,u=(f=e.children).length;l<u;l++)c=f[l],d+=(function(){switch(!1){case!(c instanceof i):return this.dtdAttList(c,r+1);case!(c instanceof a):return this.dtdElement(c,r+1);case!(c instanceof o):return this.dtdEntity(c,r+1);case!(c instanceof s):return this.dtdNotation(c,r+1);case!(c instanceof t):return this.cdata(c,r+1);case!(c instanceof n):return this.comment(c,r+1);case!(c instanceof h):return this.processingInstruction(c,r+1);default:throw Error("Unknown DTD node type: "+c.constructor.name)}}).call(this);d+="]"}return d+=this.spacebeforeslash+">",d+=this.newline},r.prototype.element=function(e,r){var i,a,o,s,c,l,g,m,v,y,_,A,x;for(g in r||(r=0),x=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),m=(A=this.space(r))+"<"+e.name,v=e.attributes)b.call(v,g)&&(i=v[g],m+=this.attribute(i));if(0===e.children.length||e.children.every(function(e){return""===e.value}))this.allowEmpty?m+="></"+e.name+">"+this.newline:m+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&1===e.children.length&&null!=e.children[0].value)m+=">",m+=e.children[0].value,m+="</"+e.name+">"+this.newline;else{if(this.dontprettytextnodes){for(o=0,c=(y=e.children).length;o<c;o++)if(null!=(a=y[o]).value){this.textispresent++,x=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,A=this.space(r)),m+=">"+this.newline,s=0,l=(_=e.children).length;s<l;s++)a=_[s],m+=(function(){switch(!1){case!(a instanceof t):return this.cdata(a,r+1);case!(a instanceof n):return this.comment(a,r+1);case!(a instanceof d):return this.element(a,r+1);case!(a instanceof f):return this.raw(a,r+1);case!(a instanceof p):return this.text(a,r+1);case!(a instanceof h):return this.processingInstruction(a,r+1);case!(a instanceof u):return"";default:throw Error("Unknown XML node type: "+a.constructor.name)}}).call(this);x&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),m+=A+"</"+e.name+">"+this.newline}return m},r.prototype.processingInstruction=function(e,t){var r;return r=this.space(t)+"<?"+e.target,e.value&&(r+=" "+e.value),r+=this.spacebeforeslash+"?>"+this.newline},r.prototype.raw=function(e,t){return this.space(t)+e.value+this.newline},r.prototype.text=function(e,t){return this.space(t)+e.value+this.newline},r.prototype.dtdAttList=function(e,t){var r;return r=this.space(t)+"<!ATTLIST "+e.elementName+" "+e.attributeName+" "+e.attributeType,"#DEFAULT"!==e.defaultValueType&&(r+=" "+e.defaultValueType),e.defaultValue&&(r+=' "'+e.defaultValue+'"'),r+=this.spacebeforeslash+">"+this.newline},r.prototype.dtdElement=function(e,t){return this.space(t)+"<!ELEMENT "+e.name+" "+e.value+this.spacebeforeslash+">"+this.newline},r.prototype.dtdEntity=function(e,t){var r;return r=this.space(t)+"<!ENTITY",e.pe&&(r+=" %"),r+=" "+e.name,e.value?r+=' "'+e.value+'"':(e.pubID&&e.sysID?r+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(r+=' SYSTEM "'+e.sysID+'"'),e.nData&&(r+=" NDATA "+e.nData)),r+=this.spacebeforeslash+">"+this.newline},r.prototype.dtdNotation=function(e,t){var r;return r=this.space(t)+"<!NOTATION "+e.name,e.pubID&&e.sysID?r+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.pubID?r+=' PUBLIC "'+e.pubID+'"':e.sysID&&(r+=' SYSTEM "'+e.sysID+'"'),r+=this.spacebeforeslash+">"+this.newline},r.prototype.openNode=function(e,t){var r,n,i,a;if(t||(t=0),!(e instanceof d))return i=this.space(t)+"<!DOCTYPE "+e.rootNodeName,e.pubID&&e.sysID?i+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(i+=' SYSTEM "'+e.sysID+'"'),i+=(e.children?" [":">")+this.newline;for(n in i=this.space(t)+"<"+e.name,a=e.attributes)b.call(a,n)&&(r=a[n],i+=this.attribute(r));return i+(e.children?">":"/>")+this.newline},r.prototype.closeNode=function(e,t){switch(t||(t=0),!1){case!(e instanceof d):return this.space(t)+"</"+e.name+">"+this.newline;case!(e instanceof l):return this.space(t)+"]>"+this.newline}},r}(g)}).call(this)},55184:function(e){(function(){var t={}.hasOwnProperty;e.exports=function(){function e(e){var r,n,i,a,o;for(r in this.assertLegalChar=(a=this.assertLegalChar,o=this,function(){return a.apply(o,arguments)}),e||(e={}),this.noDoubleEncoding=e.noDoubleEncoding,n=e.stringify||{})t.call(n,r)&&(i=n[r],this[r]=i)}return e.prototype.eleName=function(e){return e=""+e||"",this.assertLegalChar(e)},e.prototype.eleText=function(e){return e=""+e||"",this.assertLegalChar(this.elEscape(e))},e.prototype.cdata=function(e){return e=(e=""+e||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(e)},e.prototype.comment=function(e){if((e=""+e||"").match(/--/))throw Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},e.prototype.raw=function(e){return""+e||""},e.prototype.attName=function(e){return e=""+e||""},e.prototype.attValue=function(e){return e=""+e||"",this.attEscape(e)},e.prototype.insTarget=function(e){return""+e||""},e.prototype.insValue=function(e){if((e=""+e||"").match(/\?>/))throw Error("Invalid processing instruction value: "+e);return e},e.prototype.xmlVersion=function(e){if(!(e=""+e||"").match(/1\.[0-9]+/))throw Error("Invalid version number: "+e);return e},e.prototype.xmlEncoding=function(e){if(!(e=""+e||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+e);return e},e.prototype.xmlStandalone=function(e){return e?"yes":"no"},e.prototype.dtdPubID=function(e){return""+e||""},e.prototype.dtdSysID=function(e){return""+e||""},e.prototype.dtdElementValue=function(e){return""+e||""},e.prototype.dtdAttType=function(e){return""+e||""},e.prototype.dtdAttDefault=function(e){return null!=e?""+e||"":e},e.prototype.dtdEntityValue=function(e){return""+e||""},e.prototype.dtdNData=function(e){return""+e||""},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.assertLegalChar=function(e){var t;if(t=e.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw Error("Invalid character in string: "+e+" at index "+t.index);return e},e.prototype.elEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},e.prototype.attEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},e}()}).call(this)},27715:function(e,t,r){(function(){var t,n=function(e,t){for(var r in t)i.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;t=r(17604),e.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(r)}return n(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).text(this)},t}(t)}).call(this)},43170:function(e){(function(){var t={}.hasOwnProperty;e.exports=function(){function e(e){var r,n,i,a,o,s,c,l,u;for(r in e||(e={}),this.pretty=e.pretty||!1,this.allowEmpty=null!=(n=e.allowEmpty)&&n,this.pretty?(this.indent=null!=(i=e.indent)?i:" ",this.newline=null!=(a=e.newline)?a:"\n",this.offset=null!=(o=e.offset)?o:0,this.dontprettytextnodes=null!=(s=e.dontprettytextnodes)?s:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=null!=(c=e.spacebeforeslash)?c:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,l=e.writer||{})t.call(l,r)&&(u=l[r],this[r]=u)}return e.prototype.set=function(e){var r,n,i;for(r in e||(e={}),"pretty"in e&&(this.pretty=e.pretty),"allowEmpty"in e&&(this.allowEmpty=e.allowEmpty),this.pretty?(this.indent="indent"in e?e.indent:" ",this.newline="newline"in e?e.newline:"\n",this.offset="offset"in e?e.offset:0,this.dontprettytextnodes="dontprettytextnodes"in e?e.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in e?e.spacebeforeslash:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,n=e.writer||{})t.call(n,r)&&(i=n[r],this[r]=i);return this},e.prototype.space=function(e){var t;return this.pretty&&(t=(e||0)+this.offset+1)>0?Array(t).join(this.indent):""},e}()}).call(this)},94337:function(e,t,r){(function(){var t,n,i,a,o,s,c;o=(c=r(58089)).assign,s=c.isFunction,t=r(85381),n=r(83848),a=r(57170),i=r(95379),e.exports.create=function(e,r,n,i){var a,s;if(null==e)throw Error("Root element needs a name.");return s=(a=new t(i=o({},r,n,i))).element(e),i.headless||(a.declaration(i),(null!=i.pubID||null!=i.sysID)&&a.doctype(i)),s},e.exports.begin=function(e,r,i){var a;return(s(e)&&(r=(a=[e,r])[0],i=a[1],e={}),r)?new n(e,r,i):new t(e)},e.exports.stringWriter=function(e){return new a(e)},e.exports.streamWriter=function(e,t){return new i(e,t)}}).call(this)},78490:(e,t,r)=>{"use strict";r.d(t,{L:()=>d});var n=r(79868),i=r(33873),a=r.n(i),o=r(21820),s=r.n(o),c=r(29021),l=r.n(c);let u=null;function d(){if(u)return u;let e=process.env.STORAGE_PATH||a().join(s().homedir(),".digital-agents");l().existsSync(e)||l().mkdirSync(e,{recursive:!0});let t=a().join(e,"agents.db");return(u=new n.DatabaseSync(t)).exec("PRAGMA journal_mode = WAL"),u.exec("PRAGMA foreign_keys = ON"),u}},48590:(e,t,r)=>{"use strict";r.d(t,{O:()=>i});var n=r(78490);function i(){(0,n.L)().exec(`
|
|
2
|
+
CREATE TABLE IF NOT EXISTS agents (
|
|
3
|
+
id TEXT PRIMARY KEY,
|
|
4
|
+
config TEXT NOT NULL,
|
|
5
|
+
created_at INTEGER NOT NULL,
|
|
6
|
+
updated_at INTEGER NOT NULL
|
|
7
|
+
);
|
|
8
|
+
|
|
9
|
+
CREATE TABLE IF NOT EXISTS sessions (
|
|
10
|
+
id TEXT PRIMARY KEY,
|
|
11
|
+
agent_id TEXT NOT NULL,
|
|
12
|
+
title TEXT,
|
|
13
|
+
session_file TEXT,
|
|
14
|
+
created_at INTEGER NOT NULL,
|
|
15
|
+
FOREIGN KEY (agent_id) REFERENCES agents(id) ON DELETE CASCADE
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
CREATE TABLE IF NOT EXISTS knowledge_bases (
|
|
19
|
+
id TEXT PRIMARY KEY,
|
|
20
|
+
name TEXT NOT NULL,
|
|
21
|
+
description TEXT DEFAULT '',
|
|
22
|
+
embedding_model TEXT DEFAULT 'local',
|
|
23
|
+
created_at INTEGER NOT NULL,
|
|
24
|
+
updated_at INTEGER NOT NULL
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
CREATE TABLE IF NOT EXISTS kb_documents (
|
|
28
|
+
id TEXT PRIMARY KEY,
|
|
29
|
+
kb_id TEXT NOT NULL,
|
|
30
|
+
filename TEXT NOT NULL,
|
|
31
|
+
file_path TEXT,
|
|
32
|
+
mime_type TEXT,
|
|
33
|
+
chunk_count INTEGER DEFAULT 0,
|
|
34
|
+
status TEXT DEFAULT 'processing',
|
|
35
|
+
error TEXT,
|
|
36
|
+
created_at INTEGER NOT NULL,
|
|
37
|
+
FOREIGN KEY (kb_id) REFERENCES knowledge_bases(id) ON DELETE CASCADE
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
CREATE TABLE IF NOT EXISTS kb_chunks (
|
|
41
|
+
id TEXT PRIMARY KEY,
|
|
42
|
+
kb_id TEXT NOT NULL,
|
|
43
|
+
doc_id TEXT NOT NULL,
|
|
44
|
+
content TEXT NOT NULL,
|
|
45
|
+
embedding BLOB,
|
|
46
|
+
metadata TEXT DEFAULT '{}',
|
|
47
|
+
created_at INTEGER NOT NULL,
|
|
48
|
+
FOREIGN KEY (kb_id) REFERENCES knowledge_bases(id) ON DELETE CASCADE,
|
|
49
|
+
FOREIGN KEY (doc_id) REFERENCES kb_documents(id) ON DELETE CASCADE
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
CREATE TABLE IF NOT EXISTS settings (
|
|
53
|
+
key TEXT PRIMARY KEY,
|
|
54
|
+
value TEXT NOT NULL
|
|
55
|
+
);
|
|
56
|
+
|
|
57
|
+
CREATE INDEX IF NOT EXISTS idx_sessions_agent_id ON sessions(agent_id);
|
|
58
|
+
CREATE INDEX IF NOT EXISTS idx_kb_chunks_kb_id ON kb_chunks(kb_id);
|
|
59
|
+
CREATE INDEX IF NOT EXISTS idx_kb_documents_kb_id ON kb_documents(kb_id);
|
|
60
|
+
`)}},14705:(e,t,r)=>{"use strict";r.d(t,{V:()=>i});var n=r(73753);async function i(e){let t=(0,n.getSettings)();return t.apiKeys.openai?a(e,t.apiKeys.openai):function(e){let t=new Float32Array(256),r=e.toLowerCase();for(let e=0;e<r.length-1;e++){let n=31*r.charCodeAt(e)+r.charCodeAt(e+1);t[n%256]+=1}let n=0;for(let e=0;e<256;e++)n+=t[e]*t[e];return n=Math.sqrt(n)||1,Array.from(t).map(e=>e/n)}(e)}async function a(e,t){let r=await fetch("https://api.openai.com/v1/embeddings",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`},body:JSON.stringify({model:"text-embedding-3-small",input:e})});if(!r.ok)throw Error(`OpenAI embedding error: ${r.statusText}`);return(await r.json()).data[0].embedding}},17687:(e,t,r)=>{"use strict";r.d(t,{BV:()=>a,FB:()=>o,IV:()=>c,VI:()=>s});var n=r(78490),i=r(691);async function a(e,t,r=5){let i=(0,n.L)();if(0===e.length)return[];let o=e.map(()=>"?").join(","),s=i.prepare(`SELECT * FROM kb_chunks WHERE kb_id IN (${o})`).all(...e),c=[];for(let e of s){var l;if(!e.embedding)continue;let r=function(e,t){if(e.length!==t.length)return 0;let r=0,n=0,i=0;for(let a=0;a<e.length;a++)r+=e[a]*t[a],n+=e[a]*e[a],i+=t[a]*t[a];let a=Math.sqrt(n)*Math.sqrt(i);return 0===a?0:r/a}(t,new Float32Array((l=e.embedding).buffer,l.byteOffset,l.byteLength/4)),n=JSON.parse(e.metadata??"{}");c.push({chunk:{id:e.id,kbId:e.kb_id,docId:e.doc_id,content:e.content,metadata:n},score:r})}return c.sort((e,t)=>t.score-e.score),c.slice(0,r)}function o(e,t,r,a,o){var s;let c=(0,n.L)(),l=(0,i.A)(),u=(s=new Float32Array(a),Buffer.from(s.buffer));c.prepare("INSERT INTO kb_chunks (id, kb_id, doc_id, content, embedding, metadata, created_at) VALUES (?, ?, ?, ?, ?, ?, ?)").run(l,e,t,r,u,JSON.stringify(o),Date.now())}function s(e){(0,n.L)().prepare("DELETE FROM kb_chunks WHERE doc_id = ?").run(e)}function c(e){(0,n.L)().prepare("DELETE FROM kb_chunks WHERE kb_id = ?").run(e)}},5144:(e,t,r)=>{"use strict";r.d(t,{d:()=>a});var n=r(78490),i=r(691);let a={list:()=>(0,n.L)().prepare("SELECT kb.*, (SELECT COUNT(*) FROM kb_documents d WHERE d.kb_id = kb.id) as doc_count, (SELECT COUNT(*) FROM kb_chunks c WHERE c.kb_id = kb.id) as chunk_count FROM knowledge_bases kb ORDER BY kb.created_at DESC").all().map(e=>({id:e.id,name:e.name,description:e.description,embeddingModel:e.embedding_model,documentCount:e.doc_count,chunkCount:e.chunk_count,createdAt:new Date(e.created_at).toISOString(),updatedAt:new Date(e.updated_at).toISOString()})),getById(e){let t=(0,n.L)().prepare("SELECT kb.*, (SELECT COUNT(*) FROM kb_documents d WHERE d.kb_id = kb.id) as doc_count, (SELECT COUNT(*) FROM kb_chunks c WHERE c.kb_id = kb.id) as chunk_count FROM knowledge_bases kb WHERE kb.id = ?").get(e);if(t)return{id:t.id,name:t.name,description:t.description,embeddingModel:t.embedding_model,documentCount:t.doc_count,chunkCount:t.chunk_count,createdAt:new Date(t.created_at).toISOString(),updatedAt:new Date(t.updated_at).toISOString()}},create(e,t=""){let r=(0,n.L)(),a=(0,i.A)(),o=Date.now();return r.prepare("INSERT INTO knowledge_bases (id, name, description, embedding_model, created_at, updated_at) VALUES (?, ?, ?, 'auto', ?, ?)").run(a,e,t,o,o),this.getById(a)},delete:e=>(0,n.L)().prepare("DELETE FROM knowledge_bases WHERE id = ?").run(e).changes>0,listDocuments:e=>(0,n.L)().prepare("SELECT * FROM kb_documents WHERE kb_id = ? ORDER BY created_at DESC").all(e).map(e=>({id:e.id,kbId:e.kb_id,filename:e.filename,filePath:e.file_path,mimeType:e.mime_type,chunkCount:e.chunk_count,status:e.status,error:e.error??void 0,createdAt:new Date(e.created_at).toISOString()})),createDocument(e,t,r,a){let o=(0,n.L)(),s=(0,i.A)();return o.prepare("INSERT INTO kb_documents (id, kb_id, filename, file_path, mime_type, chunk_count, status, created_at) VALUES (?, ?, ?, ?, ?, 0, 'processing', ?)").run(s,e,t,r,a,Date.now()),s},updateDocumentStatus(e,t,r=0,i){(0,n.L)().prepare("UPDATE kb_documents SET status = ?, chunk_count = ?, error = ? WHERE id = ?").run(t,r,i??null,e)},deleteDocument:e=>(0,n.L)().prepare("DELETE FROM kb_documents WHERE id = ?").run(e).changes>0}},73753:(e,t,r)=>{"use strict";r.d(t,{getSettings:()=>u,D:()=>d});var n=r(78490);let i={apiKeys:{},ollama:{host:"http://localhost:11434"},defaultModel:{provider:"anthropic",modelId:"claude-opus-4-5"},theme:"system",language:"zh",storagePath:""};var a=r(33873),o=r.n(a),s=r(21820),c=r.n(s);let l="app_settings";function u(){let e=(0,n.L)().prepare("SELECT value FROM settings WHERE key = ?").get(l);if(!e)return{...i,storagePath:o().join(c().homedir(),".digital-agents")};try{return JSON.parse(e.value)}catch{return{...i,storagePath:o().join(c().homedir(),".digital-agents")}}}function d(e){(0,n.L)().prepare("INSERT OR REPLACE INTO settings (key, value) VALUES (?, ?)").run(l,JSON.stringify(e))}},27431:(e,t,r)=>{let n=r(33555);e.exports=n},33555:(e,t,r)=>{var n=null;let i={pagerender:function(e){return e.getTextContent({normalizeWhitespace:!1,disableCombineTextItems:!1}).then(function(e){let t,r="";for(let n of e.items)t!=n.transform[5]&&t?r+="\n"+n.str:r+=n.str,t=n.transform[5];return r})},max:0,version:"v1.10.100"};async function a(e,t){let a={numpages:0,numrender:0,info:null,metadata:null,text:"",version:null};void 0===t&&(t=i),"function"!=typeof t.pagerender&&(t.pagerender=i.pagerender),"number"!=typeof t.max&&(t.max=i.max),"string"!=typeof t.version&&(t.version=i.version),"default"==t.version&&(t.version=i.version),n=n||r(8431)(`./${t.version}/build/pdf.js`),a.version=n.version,n.disableWorker=!0;let o=await n.getDocument(e);a.numpages=o.numPages;let s=await o.getMetadata().catch(function(e){return null});a.info=s?s.info:null,a.metadata=s?s.metadata:null;let c=t.max<=0?o.numPages:t.max;c=c>o.numPages?o.numPages:c,a.text="";for(var l=1;l<=c;l++){let e=await o.getPage(l).then(e=>t.pagerender(e)).catch(e=>"");a.text=`${a.text}
|
|
61
|
+
|
|
62
|
+
${e}`}return a.numrender=c,o.destroy(),a}e.exports=a},4784:function(e,t,r){var n;"undefined"!=typeof self&&self,n=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=75)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unreachable=t.warn=t.utf8StringToString=t.stringToUTF8String=t.stringToPDFString=t.stringToBytes=t.string32=t.shadow=t.setVerbosityLevel=t.ReadableStream=t.removeNullCharacters=t.readUint32=t.readUint16=t.readInt8=t.log2=t.loadJpegStream=t.isEvalSupported=t.isLittleEndian=t.createValidAbsoluteUrl=t.isSameOrigin=t.isNodeJS=t.isSpace=t.isString=t.isNum=t.isEmptyObj=t.isBool=t.isArrayBuffer=t.info=t.getVerbosityLevel=t.getLookupTableFactory=t.deprecated=t.createObjectURL=t.createPromiseCapability=t.createBlob=t.bytesToString=t.assert=t.arraysToBytes=t.arrayByteLength=t.FormatError=t.XRefParseException=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.StatTimer=t.PasswordResponses=t.PasswordException=t.PageViewport=t.NotImplementedException=t.NativeImageDecoding=t.MissingPDFException=t.MissingDataException=t.MessageHandler=t.InvalidPDFException=t.AbortException=t.CMapCompressionType=t.ImageKind=t.FontType=t.AnnotationType=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.UNSUPPORTED_FEATURES=t.VERBOSITY_LEVELS=t.OPS=t.IDENTITY_MATRIX=t.FONT_IDENTITY_MATRIX=void 0;var n,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};r(76);var a=r(116),o={errors:0,warnings:1,infos:5},s=o.warnings;function c(e){s>=o.warnings&&console.log("Warning: "+e)}function l(e){throw Error(e)}function u(e,t){e||l(t)}var d=function(){function e(e,t){this.name="PasswordException",this.message=e,this.code=t}return e.prototype=Error(),e.constructor=e,e}(),h=function(){function e(e,t){this.name="UnknownErrorException",this.message=e,this.details=t}return e.prototype=Error(),e.constructor=e,e}(),f=function(){function e(e){this.name="InvalidPDFException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),p=function(){function e(e){this.name="MissingPDFException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),g=function(){function e(e,t){this.name="UnexpectedResponseException",this.message=e,this.status=t}return e.prototype=Error(),e.constructor=e,e}(),m=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="NotImplementedException",e.constructor=e,e}(),b=function(){function e(e,t){this.begin=e,this.end=t,this.message="Missing data ["+e+", "+t+")"}return e.prototype=Error(),e.prototype.name="MissingDataException",e.constructor=e,e}(),v=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="XRefParseException",e.constructor=e,e}(),y=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="FormatError",e.constructor=e,e}(),_=function(){function e(e){this.name="AbortException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),A=/\x00/g;function x(e){u("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),n=0;n<t;++n)r[n]=255&e.charCodeAt(n);return r}function S(e){return void 0!==e.length?e.length:(u(void 0!==e.byteLength),e.byteLength)}var w=function(){function e(){}var t=["rgb(",0,",",0,",",0,")"];e.makeCssRgb=function(e,r,n){return t[1]=e,t[3]=r,t[5]=n,t.join("")},e.transform=function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]},e.applyTransform=function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]},e.applyInverseTransform=function(e,t){var r=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]},e.getAxialAlignedBoundingBox=function(t,r){var n=e.applyTransform(t,r),i=e.applyTransform(t.slice(2,4),r),a=e.applyTransform([t[0],t[3]],r),o=e.applyTransform([t[2],t[1]],r);return[Math.min(n[0],i[0],a[0],o[0]),Math.min(n[1],i[1],a[1],o[1]),Math.max(n[0],i[0],a[0],o[0]),Math.max(n[1],i[1],a[1],o[1])]},e.inverseTransform=function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]},e.apply3dTransform=function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]},e.singularValueDecompose2dScale=function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],n=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],a=e[2]*t[1]+e[3]*t[3],o=(r+a)/2,s=Math.sqrt((r+a)*(r+a)-4*(r*a-i*n))/2;return[Math.sqrt(o+s||1),Math.sqrt(o-s||1)]},e.normalizeRect=function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t},e.intersect=function(t,r){function n(e,t){return e-t}var i=[t[0],t[2],r[0],r[2]].sort(n),a=[t[1],t[3],r[1],r[3]].sort(n),o=[];return t=e.normalizeRect(t),r=e.normalizeRect(r),(i[0]===t[0]&&i[1]===r[0]||i[0]===r[0]&&i[1]===t[0])&&(o[0]=i[1],o[2]=i[2],(a[0]===t[1]&&a[1]===r[1]||a[0]===r[1]&&a[1]===t[1])&&(o[1]=a[1],o[3]=a[2],o))};var r=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];return e.toRoman=function(e,t){u(Number.isInteger(e)&&e>0,"The number should be a positive integer.");for(var n,i=[];e>=1e3;)e-=1e3,i.push("M");n=e/100|0,e%=100,i.push(r[n]),n=e/10|0,e%=10,i.push(r[10+n]),i.push(r[20+e]);var a=i.join("");return t?a.toLowerCase():a},e.appendToArray=function(e,t){Array.prototype.push.apply(e,t)},e.prependToArray=function(e,t){Array.prototype.unshift.apply(e,t)},e.extendObj=function(e,t){for(var r in t)e[r]=t[r]},e.getInheritableProperty=function(e,t,r){for(;e&&!e.has(t);)e=e.get("Parent");return e?r?e.getArray(t):e.get(t):null},e.inherit=function(e,t,r){for(var n in e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r)e.prototype[n]=r[n]},e.loadScript=function(e,t){var r=document.createElement("script"),n=!1;r.setAttribute("src",e),t&&(r.onload=function(){n||t(),n=!0}),document.getElementsByTagName("head")[0].appendChild(r)},e}(),T=function(){function e(e,t,r,n,i,a){this.viewBox=e,this.scale=t,this.rotation=r,this.offsetX=n,this.offsetY=i;var o,s,c,l,u,d,h,f,p=(e[2]+e[0])/2,g=(e[3]+e[1])/2;switch(r%=360,r=r<0?r+360:r){case 180:o=-1,s=0,c=0,l=1;break;case 90:o=0,s=1,c=1,l=0;break;case 270:o=0,s=-1,c=-1,l=0;break;default:o=1,s=0,c=0,l=-1}a&&(c=-c,l=-l),0===o?(u=Math.abs(g-e[1])*t+n,d=Math.abs(p-e[0])*t+i,h=Math.abs(e[3]-e[1])*t,f=Math.abs(e[2]-e[0])*t):(u=Math.abs(p-e[0])*t+n,d=Math.abs(g-e[1])*t+i,h=Math.abs(e[2]-e[0])*t,f=Math.abs(e[3]-e[1])*t),this.transform=[o*t,s*t,c*t,l*t,u-o*t*p-c*t*g,d-s*t*p-l*t*g],this.width=h,this.height=f,this.fontScale=t}return e.prototype={clone:function(t){var r="scale"in(t=t||{})?t.scale:this.scale,n="rotation"in t?t.rotation:this.rotation;return new e(this.viewBox.slice(),r,n,this.offsetX,this.offsetY,t.dontFlip)},convertToViewportPoint:function(e,t){return w.applyTransform([e,t],this.transform)},convertToViewportRectangle:function(e){var t=w.applyTransform([e[0],e[1]],this.transform),r=w.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],r[0],r[1]]},convertToPdfPoint:function(e,t){return w.applyInverseTransform([e,t],this.transform)}},e}(),D=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function C(){var e={};return e.promise=new Promise(function(t,r){e.resolve=t,e.reject=r}),e}var k=function(){function e(){this.started=Object.create(null),this.times=[],this.enabled=!0}return e.prototype={time:function(e){this.enabled&&(e in this.started&&c("Timer is already running for "+e),this.started[e]=Date.now())},timeEnd:function(e){this.enabled&&(e in this.started||c("Timer has not been started for "+e),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e])},toString:function(){var e,t,r=this.times,n="",i=0;for(e=0,t=r.length;e<t;++e){var a=r[e].name;a.length>i&&(i=a.length)}for(e=0,t=r.length;e<t;++e){var o=r[e],s=o.end-o.start;n+=function(e,t,r){for(;e.length<r;)e+=" ";return e}(o.name,0,i)+" "+s+"ms\n"}return n}},e}(),E=function(e,t){if("undefined"!=typeof Blob)return new Blob([e],{type:t});throw Error('The "Blob" constructor is not supported.')},P=(n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!r&&URL.createObjectURL){var i=E(e,t);return URL.createObjectURL(i)}for(var a="data:"+t+";base64,",o=0,s=e.length;o<s;o+=3){var c=255&e[o],l=255&e[o+1],u=255&e[o+2],d=c>>2,h=(3&c)<<4|l>>4,f=o+1<s?(15&l)<<2|u>>6:64,p=o+2<s?63&u:64;a+=n[d]+n[h]+n[f]+n[p]}return a});function R(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e?new Promise(function(n,i){n(e.apply(r,t))}):Promise.resolve(void 0)}function F(e){if((void 0===e?"undefined":i(e))!=="object")return e;switch(e.name){case"AbortException":return new _(e.message);case"MissingPDFException":return new p(e.message);case"UnexpectedResponseException":return new g(e.message,e.status);default:return new h(e.message,e.details)}}function U(e,t,r){t?e.resolve():e.reject(r)}function O(e,t,r){var n=this;this.sourceName=e,this.targetName=t,this.comObj=r,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null);var i=this.callbacksCapabilities=Object.create(null),a=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===n.sourceName){if(t.stream)n._processStreamMessage(t);else if(t.isReply){var o=t.callbackId;if(t.callbackId in i){var s=i[o];delete i[o],"error"in t?s.reject(F(t.error)):s.resolve(t.data)}else throw Error("Cannot resolve callback "+o)}else if(t.action in a){var c=a[t.action];if(t.callbackId){var l=n.sourceName,u=t.sourceName;Promise.resolve().then(function(){return c[0].call(c[1],t.data)}).then(function(e){r.postMessage({sourceName:l,targetName:u,isReply:!0,callbackId:t.callbackId,data:e})},function(e){r.postMessage({sourceName:l,targetName:u,isReply:!0,callbackId:t.callbackId,error:!(e instanceof Error)||e instanceof _||e instanceof p||e instanceof g||e instanceof h?e:new h(e.message,e.toString())})})}else t.streamId?n._createStreamSink(t):c[0].call(c[1],t.data)}else throw Error("Unknown action from worker: "+t.action)}},r.addEventListener("message",this._onComObjOnMessage)}O.prototype={on:function(e,t,r){var n=this.actionHandler;if(n[e])throw Error('There is already an actionName called "'+e+'"');n[e]=[t,r]},send:function(e,t,r){var n={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t};this.postMessage(n,r)},sendWithPromise:function(e,t,r){var n=this.callbackId++,i={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t,callbackId:n},a=C();this.callbacksCapabilities[n]=a;try{this.postMessage(i,r)}catch(e){a.reject(e)}return a.promise},sendWithStream:function(e,t,r,n){var i=this,o=this.streamId++,s=this.sourceName,c=this.targetName;return new a.ReadableStream({start:function(r){var n=C();return i.streamControllers[o]={controller:r,startCall:n,isClosed:!1},i.postMessage({sourceName:s,targetName:c,action:e,streamId:o,data:t,desiredSize:r.desiredSize}),n.promise},pull:function(e){var t=C();return i.streamControllers[o].pullCall=t,i.postMessage({sourceName:s,targetName:c,stream:"pull",streamId:o,desiredSize:e.desiredSize}),t.promise},cancel:function(e){var t=C();return i.streamControllers[o].cancelCall=t,i.streamControllers[o].isClosed=!0,i.postMessage({sourceName:s,targetName:c,stream:"cancel",reason:e,streamId:o}),t.promise}},r)},_createStreamSink:function(e){var t=this,r=this,n=this.actionHandler[e.action],i=e.streamId,a=e.desiredSize,o=this.sourceName,s=e.sourceName,c=C(),l=function(e){var r=e.stream,n=e.chunk,a=e.transfers,c=e.success,l=e.reason;t.postMessage({sourceName:o,targetName:s,stream:r,streamId:i,chunk:n,success:c,reason:l},a)},u={enqueue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments[2];if(!this.isCancelled){var n=this.desiredSize;this.desiredSize-=t,n>0&&this.desiredSize<=0&&(this.sinkCapability=C(),this.ready=this.sinkCapability.promise),l({stream:"enqueue",chunk:e,transfers:r})}},close:function(){this.isCancelled||(this.isCancelled=!0,l({stream:"close"}),delete r.streamSinks[i])},error:function(e){this.isCancelled||(this.isCancelled=!0,l({stream:"error",reason:e}))},sinkCapability:c,onPull:null,onCancel:null,isCancelled:!1,desiredSize:a,ready:null};u.sinkCapability.resolve(),u.ready=u.sinkCapability.promise,this.streamSinks[i]=u,R(n[0],[e.data,u],n[1]).then(function(){l({stream:"start_complete",success:!0})},function(e){l({stream:"start_complete",success:!1,reason:e})})},_processStreamMessage:function(e){var t=this,r=this.sourceName,n=e.sourceName,i=e.streamId,a=function(e){var a=e.stream,o=e.success,s=e.reason;t.comObj.postMessage({sourceName:r,targetName:n,stream:a,success:o,streamId:i,reason:s})},o=function(){Promise.all([t.streamControllers[e.streamId].startCall,t.streamControllers[e.streamId].pullCall,t.streamControllers[e.streamId].cancelCall].map(function(e){return e&&Promise.resolve(e.promise).catch(function(){})})).then(function(){delete t.streamControllers[e.streamId]})};switch(e.stream){case"start_complete":U(this.streamControllers[e.streamId].startCall,e.success,F(e.reason));break;case"pull_complete":U(this.streamControllers[e.streamId].pullCall,e.success,F(e.reason));break;case"pull":if(!this.streamSinks[e.streamId]){a({stream:"pull_complete",success:!0});break}this.streamSinks[e.streamId].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[e.streamId].sinkCapability.resolve(),this.streamSinks[e.streamId].desiredSize=e.desiredSize,R(this.streamSinks[e.streamId].onPull).then(function(){a({stream:"pull_complete",success:!0})},function(e){a({stream:"pull_complete",success:!1,reason:e})});break;case"enqueue":u(this.streamControllers[e.streamId],"enqueue should have stream controller"),this.streamControllers[e.streamId].isClosed||this.streamControllers[e.streamId].controller.enqueue(e.chunk);break;case"close":if(u(this.streamControllers[e.streamId],"close should have stream controller"),this.streamControllers[e.streamId].isClosed)break;this.streamControllers[e.streamId].isClosed=!0,this.streamControllers[e.streamId].controller.close(),o();break;case"error":u(this.streamControllers[e.streamId],"error should have stream controller"),this.streamControllers[e.streamId].controller.error(F(e.reason)),o();break;case"cancel_complete":U(this.streamControllers[e.streamId].cancelCall,e.success,F(e.reason)),o();break;case"cancel":if(!this.streamSinks[e.streamId])break;R(this.streamSinks[e.streamId].onCancel,[F(e.reason)]).then(function(){a({stream:"cancel_complete",success:!0})},function(e){a({stream:"cancel_complete",success:!1,reason:e})}),this.streamSinks[e.streamId].sinkCapability.reject(F(e.reason)),this.streamSinks[e.streamId].isCancelled=!0,delete this.streamSinks[e.streamId];break;default:throw Error("Unexpected stream case")}},postMessage:function(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)},destroy:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}},t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.VERBOSITY_LEVELS=o,t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:0x1000000,RICHTEXT:0x2000000,RADIOSINUNISON:0x2000000,COMMITONSELCHANGE:0x4000000},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.FontType={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.AbortException=_,t.InvalidPDFException=f,t.MessageHandler=O,t.MissingDataException=b,t.MissingPDFException=p,t.NativeImageDecoding={NONE:"none",DECODE:"decode",DISPLAY:"display"},t.NotImplementedException=m,t.PageViewport=T,t.PasswordException=d,t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},t.StatTimer=k,t.StreamType={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.UnexpectedResponseException=g,t.UnknownErrorException=h,t.Util=w,t.XRefParseException=v,t.FormatError=y,t.arrayByteLength=S,t.arraysToBytes=function(e){if(1===e.length&&e[0]instanceof Uint8Array)return e[0];var t,r,n,i=0,a=e.length;for(n=0;n<a;n++)i+=r=S(t=e[n]);var o=0,s=new Uint8Array(i);for(n=0;n<a;n++)(t=e[n])instanceof Uint8Array||(t="string"==typeof t?x(t):new Uint8Array(t)),r=t.byteLength,s.set(t,o),o+=r;return s},t.assert=u,t.bytesToString=function(e){u(null!==e&&(void 0===e?"undefined":i(e))==="object"&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length;if(t<8192)return String.fromCharCode.apply(null,e);for(var r=[],n=0;n<t;n+=8192){var a=Math.min(n+8192,t),o=e.subarray(n,a);r.push(String.fromCharCode.apply(null,o))}return r.join("")},t.createBlob=E,t.createPromiseCapability=C,t.createObjectURL=P,t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.getLookupTableFactory=function(e){var t;return function(){return e&&(t=Object.create(null),e(t),e=null),t}},t.getVerbosityLevel=function(){return s},t.info=function(e){s>=o.infos&&console.log("Info: "+e)},t.isArrayBuffer=function(e){return(void 0===e?"undefined":i(e))==="object"&&null!==e&&void 0!==e.byteLength},t.isBool=function(e){return"boolean"==typeof e},t.isEmptyObj=function(e){for(var t in e)return!1;return!0},t.isNum=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSpace=function(e){return 32===e||9===e||13===e||10===e},t.isNodeJS=function(){return("undefined"==typeof process?"undefined":i(process))==="object"&&process+""=="[object process]"},t.isSameOrigin=function(e,t){try{var r=new URL(e);if(!r.origin||"null"===r.origin)return!1}catch(e){return!1}var n=new URL(t,r);return r.origin===n.origin},t.createValidAbsoluteUrl=function(e,t){if(!e)return null;try{var r=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(r))return r}catch(e){}return null},t.isLittleEndian=function(){var e=new Uint8Array(4);return e[0]=1,1===new Uint32Array(e.buffer,0,1)[0]},t.isEvalSupported=function(){try{return Function(""),!0}catch(e){return!1}},t.loadJpegStream=function(e,t,r){var n=new Image;n.onload=function(){r.resolve(e,n)},n.onerror=function(){r.resolve(e,null),c("Error during JPEG image loading")},n.src=t},t.log2=function(e){for(var t=1,r=0;e>t;)t<<=1,r++;return r},t.readInt8=function(e,t){return e[t]<<24>>24},t.readUint16=function(e,t){return e[t]<<8|e[t+1]},t.readUint32=function(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0},t.removeNullCharacters=function(e){return"string"!=typeof e?(c("The argument for removeNullCharacters must be a string."),e):e.replace(A,"")},t.ReadableStream=a.ReadableStream,t.setVerbosityLevel=function(e){s=e},t.shadow=function(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r},t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=x,t.stringToPDFString=function(e){var t,r=e.length,n=[];if("\xfe"===e[0]&&"\xff"===e[1])for(t=2;t<r;t+=2)n.push(String.fromCharCode(e.charCodeAt(t)<<8|e.charCodeAt(t+1)));else for(t=0;t<r;++t){var i=D[e.charCodeAt(t)];n.push(i?String.fromCharCode(i):e.charAt(t))}return n.join("")},t.stringToUTF8String=function(e){return decodeURIComponent(escape(e))},t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=c,t.unreachable=l},function(e,t,r){"use strict";var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,r){"use strict";var n="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.exports=function(e){return(void 0===e?"undefined":n(e))==="object"?null!==e:"function"==typeof e}},function(e,t,r){"use strict";var n=r(51)("wks"),i=r(16),a=r(1).Symbol,o="function"==typeof a;(e.exports=function(e){return n[e]||(n[e]=o&&a[e]||(o?a:i)("Symbol."+e))}).store=n},function(e,t,r){"use strict";var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,r){"use strict";var n=r(1),i=r(4),a=r(6),o=r(14),s=r(11),c="prototype",l=function e(t,r,l){var u,d,h,f,p=t&e.F,g=t&e.G,m=t&e.S,b=t&e.P,v=t&e.B,y=g?n:m?n[r]||(n[r]={}):(n[r]||{})[c],_=g?i:i[r]||(i[r]={}),A=_[c]||(_[c]={});for(u in g&&(l=r),l)h=((d=!p&&y&&void 0!==y[u])?y:l)[u],f=v&&d?s(h,n):b&&"function"==typeof h?s(Function.call,h):h,y&&o(y,u,h,t&e.U),_[u]!=h&&a(_,u,f),b&&A[u]!=h&&(A[u]=h)};n.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,r){"use strict";var n=r(13),i=r(27);e.exports=r(8)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){"use strict";var n=r(2);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){"use strict";e.exports=!r(9)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,r){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){"use strict";var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,r){"use strict";var n=r(22);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){"use strict";var n=r(17),i=Math.min;e.exports=function(e){return e>0?i(n(e),0x1fffffffffffff):0}},function(e,t,r){"use strict";var n=r(7),i=r(45),a=r(33),o=Object.defineProperty;t.f=r(8)?Object.defineProperty:function(e,t,r){if(n(e),t=a(t,!0),n(r),i)try{return o(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){"use strict";var n=r(1),i=r(6),a=r(10),o=r(16)("src"),s="toString",c=Function[s],l=(""+c).split(s);r(4).inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,r,s){var c="function"==typeof r;c&&(a(r,"name")||i(r,"name",t)),e[t]!==r&&(c&&(a(r,o)||i(r,o,e[t]?""+e[t]:l.join(String(t)))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,s,function(){return"function"==typeof this&&this[o]||c.call(this)})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DOMSVGFactory=t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.getDefaultSetting=t.LinkTarget=t.getFilenameFromUrl=t.isValidUrl=t.isExternalLinkTargetSet=t.addLinkAttributes=t.RenderingCancelledException=t.CustomStyle=void 0;var n,i=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(0),o=(n=r(20))&&n.__esModule?n:{default:n};function s(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var c="noopener noreferrer nofollow",l="http://www.w3.org/2000/svg",u=function(){function e(){s(this,e)}return i(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw Error("invalid canvas size");var r=document.createElement("canvas"),n=r.getContext("2d");return r.width=e,r.height=t,{canvas:r,context:n}}},{key:"reset",value:function(e,t,r){if(!e.canvas)throw Error("canvas is not specified");if(t<=0||r<=0)throw Error("invalid canvas size");e.canvas.width=t,e.canvas.height=r}},{key:"destroy",value:function(e){if(!e.canvas)throw Error("canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}}]),e}(),d=function(){function e(t){var r=t.baseUrl,n=t.isCompressed;s(this,e),this.baseUrl=void 0===r?null:r,this.isCompressed=void 0!==n&&n}return i(e,[{key:"fetch",value:function(e){var t=this,r=e.name;return this.baseUrl?r?new Promise(function(e,n){var i=t.baseUrl+r+(t.isCompressed?".bcmap":""),o=new XMLHttpRequest;o.open("GET",i,!0),t.isCompressed&&(o.responseType="arraybuffer"),o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE){if(200===o.status||0===o.status){var r=void 0;if(t.isCompressed&&o.response?r=new Uint8Array(o.response):!t.isCompressed&&o.responseText&&(r=(0,a.stringToBytes)(o.responseText)),r){e({cMapData:r,compressionType:t.isCompressed?a.CMapCompressionType.BINARY:a.CMapCompressionType.NONE});return}}n(Error("Unable to load "+(t.isCompressed?"binary ":"")+"CMap at: "+i))}},o.send(null)}):Promise.reject(Error("CMap name must be specified.")):Promise.reject(Error('CMap baseUrl must be specified, see "PDFJS.cMapUrl" (and also "PDFJS.cMapPacked").'))}}]),e}(),h=function(){function e(){s(this,e)}return i(e,[{key:"create",value:function(e,t){(0,a.assert)(e>0&&t>0,"Invalid SVG dimensions");var r=document.createElementNS(l,"svg:svg");return r.setAttribute("version","1.1"),r.setAttribute("width",e+"px"),r.setAttribute("height",t+"px"),r.setAttribute("preserveAspectRatio","none"),r.setAttribute("viewBox","0 0 "+e+" "+t),r}},{key:"createElement",value:function(e){return(0,a.assert)("string"==typeof e,"Invalid SVG element type"),document.createElementNS(l,e)}}]),e}(),f=function(){var e=["ms","Moz","Webkit","O"],t=Object.create(null);function r(){}return r.getProp=function(r,n){if(1==arguments.length&&"string"==typeof t[r])return t[r];var i,a,o=(n=n||document.documentElement).style;if("string"==typeof o[r])return t[r]=r;a=r.charAt(0).toUpperCase()+r.slice(1);for(var s=0,c=e.length;s<c;s++)if("string"==typeof o[i=e[s]+a])return t[r]=i;return t[r]="undefined"},r.setProp=function(e,t,r){var n=this.getProp(e);"undefined"!==n&&(t.style[n]=r)},r}(),p=function(){function e(e,t){this.message=e,this.type=t}return e.prototype=Error(),e.prototype.name="RenderingCancelledException",e.constructor=e,e}(),g={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4},m=["","_self","_blank","_parent","_top"];function b(e){var t=o.default.PDFJS;switch(e){case"pdfBug":return!!t&&t.pdfBug;case"disableAutoFetch":return!!t&&t.disableAutoFetch;case"disableStream":return!!t&&t.disableStream;case"disableRange":return!!t&&t.disableRange;case"disableFontFace":return!!t&&t.disableFontFace;case"disableCreateObjectURL":return!!t&&t.disableCreateObjectURL;case"disableWebGL":return!t||t.disableWebGL;case"cMapUrl":return t?t.cMapUrl:null;case"cMapPacked":return!!t&&t.cMapPacked;case"postMessageTransfers":return!t||t.postMessageTransfers;case"workerPort":return t?t.workerPort:null;case"workerSrc":return t?t.workerSrc:null;case"disableWorker":return!!t&&t.disableWorker;case"maxImageSize":return t?t.maxImageSize:-1;case"imageResourcesPath":return t?t.imageResourcesPath:"";case"isEvalSupported":return!t||t.isEvalSupported;case"externalLinkTarget":if(!t)return g.NONE;switch(t.externalLinkTarget){case g.NONE:case g.SELF:case g.BLANK:case g.PARENT:case g.TOP:return t.externalLinkTarget}return(0,a.warn)("PDFJS.externalLinkTarget is invalid: "+t.externalLinkTarget),t.externalLinkTarget=g.NONE,g.NONE;case"externalLinkRel":return t?t.externalLinkRel:c;case"enableStats":return!!(t&&t.enableStats);case"pdfjsNext":return!!(t&&t.pdfjsNext);default:throw Error("Unknown default setting: "+e)}}t.CustomStyle=f,t.RenderingCancelledException=p,t.addLinkAttributes=function(e,t){var r=t&&t.url;if(e.href=e.title=r?(0,a.removeNullCharacters)(r):"",r){var n=t.target;void 0===n&&(n=b("externalLinkTarget")),e.target=m[n];var i=t.rel;void 0===i&&(i=b("externalLinkRel")),e.rel=i}},t.isExternalLinkTargetSet=function(){switch(b("externalLinkTarget")){case g.NONE:return!1;case g.SELF:case g.BLANK:case g.PARENT:case g.TOP:return!0}},t.isValidUrl=function(e,t){return(0,a.deprecated)("isValidUrl(), please use createValidAbsoluteUrl() instead."),null!==(0,a.createValidAbsoluteUrl)(e,t?"http://example.com":null)},t.getFilenameFromUrl=function(e){var t=e.indexOf("#"),r=e.indexOf("?"),n=Math.min(t>0?t:e.length,r>0?r:e.length);return e.substring(e.lastIndexOf("/",n)+1,n)},t.LinkTarget=g,t.getDefaultSetting=b,t.DEFAULT_LINK_REL=c,t.DOMCanvasFactory=u,t.DOMCMapReaderFactory=d,t.DOMSVGFactory=h},function(e,t,r){"use strict";var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,r){"use strict";var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,r){"use strict";var n=r(35);e.exports=function(e){return Object(n(e))}},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";e.exports="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:{}},function(e,t,r){"use strict";e.exports=!1},function(e,t,r){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(14);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},function(e,t,r){"use strict";e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){"use strict";var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,r){"use strict";var n=r(13).f,i=r(10),a=r(3)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},function(e,t,r){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){"use strict";var n=r(34),i=r(35);e.exports=function(e){return n(i(e))}},function(e,t,r){"use strict";var n=r(17),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=n(e))<0?i(e+t,0):a(e,t)}},function(e,t,r){"use strict";var n=r(25),i=r(3)("toStringTag"),a="Arguments"==n(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=o(t=Object(e),i))?r:a?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,r){"use strict";var n=r(11),i=r(98),a=r(53),o=r(7),s=r(12),c=r(57),l={},u={},d=e.exports=function(e,t,r,d,h){var f,p,g,m,b=h?function(){return e}:c(e),v=n(r,d,t?2:1),y=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(a(b)){for(f=s(e.length);f>y;y++)if((m=t?v(o(p=e[y])[0],p[1]):v(e[y]))===l||m===u)return m}else for(g=b.call(e);!(p=g.next()).done;)if((m=i(g,v,p.value,t))===l||m===u)return m};d.BREAK=l,d.RETURN=u},function(e,t,r){"use strict";var n=r(2),i=r(1).document,a=n(i)&&n(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,r){"use strict";var n=r(2);e.exports=function(e,t){var r,i;if(!n(e))return e;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e))||"function"==typeof(r=e.valueOf)&&!n(i=r.call(e))||!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){"use strict";var n=r(25);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){"use strict";e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(51)("keys"),i=r(16);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t,r){"use strict";e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){"use strict";var n=r(49),i=r(37);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(11),i=r(34),a=r(18),o=r(12),s=r(82);e.exports=function(e,t){var r=1==e,c=2==e,l=3==e,u=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var g,m,b=a(t),v=i(b),y=n(s,p,3),_=o(v.length),A=0,x=r?f(t,_):c?f(t,0):void 0;_>A;A++)if((h||A in v)&&(m=y(g=v[A],A,b),e)){if(r)x[A]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return A;case 2:x.push(g)}else if(u)return!1}return d?-1:l||u?u:x}}},function(e,t,r){"use strict";var n=r(7),i=r(22),a=r(3)("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||void 0==(r=n(o)[a])?t:i(r)}},function(e,t,r){"use strict";var n=r(3)("iterator"),i=!1;try{var a=[7][n]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var a=[7],o=a[n]();o.next=function(){return{done:r=!0}},a[n]=function(){return o},e(a)}catch(e){}return r}},function(e,t,r){"use strict";var n=r(22);function i(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)}e.exports.f=function(e){return new i(e)}},function(e,t,r){"use strict";var n="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},i=r(16)("meta"),a=r(2),o=r(10),s=r(13).f,c=0,l=Object.isExtensible||function(){return!0},u=!r(9)(function(){return l(Object.preventExtensions({}))}),d=function(e){s(e,i,{value:{i:"O"+ ++c,w:{}}})},h=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!a(e))return(void 0===e?"undefined":n(e))=="symbol"?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";d(e)}return e[i].i},getWeak:function(e,t){if(!o(e,i)){if(!l(e))return!0;if(!t)return!1;d(e)}return e[i].w},onFreeze:function(e){return u&&h.NEED&&l(e)&&!o(e,i)&&d(e),e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateResponseStatus=t.validateRangeRequestCapabilities=t.createResponseStatusError=void 0;var n=r(0);t.createResponseStatusError=function(e,t){return 404===e||0===e&&/^file:/.test(t)?new n.MissingPDFException('Missing PDF "'+t+'".'):new n.UnexpectedResponseException("Unexpected server response ("+e+') while retrieving PDF "'+t+'".',e)},t.validateRangeRequestCapabilities=function(e){var t=e.getResponseHeader,r=e.isHttp,i=e.rangeChunkSize,a=e.disableRange;(0,n.assert)(i>0);var o={allowRangeRequests:!1,suggestedLength:void 0};if(a||!r||"bytes"!==t("Accept-Ranges")||"identity"!==(t("Content-Encoding")||"identity"))return o;var s=parseInt(t("Content-Length"),10);return Number.isInteger(s)&&(o.suggestedLength=s,s<=2*i||(o.allowRangeRequests=!0)),o},t.validateResponseStatus=function(e){return 200===e||206===e}},function(e,t,r){"use strict";e.exports=!r(8)&&!r(9)(function(){return 7!=Object.defineProperty(r(32)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){"use strict";for(var n,i=r(1),a=r(6),o=r(16),s=o("typed_array"),c=o("view"),l=!!(i.ArrayBuffer&&i.DataView),u=l,d=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(n=i[h[d++]])?(a(n.prototype,s,!0),a(n.prototype,c,!0)):u=!1;e.exports={ABV:l,CONSTR:u,TYPED:s,VIEW:c}},function(e,t,r){"use strict";var n=r(17),i=r(12);e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw RangeError("Wrong length!");return r}},function(e,t,r){"use strict";var n=r(49),i=r(37).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(10),i=r(28),a=r(50)(!1),o=r(36)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),c=0,l=[];for(r in s)r!=o&&n(s,r)&&l.push(r);for(;t.length>c;)n(s,r=t[c++])&&(~a(l,r)||l.push(r));return l}},function(e,t,r){"use strict";var n=r(28),i=r(12),a=r(29);e.exports=function(e){return function(t,r,o){var s,c=n(t),l=i(c.length),u=a(o,l);if(e&&r!=r){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}}},function(e,t,r){"use strict";var n=r(4),i=r(1),a="__core-js_shared__",o=i[a]||(i[a]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(21)?"pure":"global",copyright:"\xa9 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){"use strict";var n=r(18),i=r(29),a=r(12);e.exports=function(e){for(var t=n(this),r=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),c=o>2?arguments[2]:void 0,l=void 0===c?r:i(c,r);l>s;)t[s++]=e;return t}},function(e,t,r){"use strict";var n=r(19),i=r(3)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[i]===e)}},function(e,t,r){"use strict";var n=r(7),i=r(81),a=r(37),o=r(36)("IE_PROTO"),s=function(){},c="prototype",l=function(){var e,t=r(32)("iframe"),n=a.length;for(t.style.display="none",r(55).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l[c][a[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[c]=n(e),r=new s,s[c]=null,r[o]=e):r=l(),void 0===t?r:i(r,t)}},function(e,t,r){"use strict";var n=r(1).document;e.exports=n&&n.documentElement},function(e,t,r){"use strict";var n=r(10),i=r(18),a=r(36)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return n(e=i(e),a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,r){"use strict";var n=r(30),i=r(3)("iterator"),a=r(19);e.exports=r(4).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||a[n(e)]}},function(e,t,r){"use strict";var n=r(85),i=r(86),a=r(19),o=r(28);e.exports=r(59)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,r):"values"==t?i(0,e[r]):i(0,[r,e[r]])},"values"),a.Arguments=a.Array,n("keys"),n("values"),n("entries")},function(e,t,r){"use strict";var n=r(21),i=r(5),a=r(14),o=r(6),s=r(19),c=r(87),l=r(26),u=r(56),d=r(3)("iterator"),h=!([].keys&&"next"in[].keys()),f="keys",p="values",g=function(){return this};e.exports=function(e,t,r,m,b,v,y){c(r,t,m);var _,A,x,S=function(e){if(!h&&e in C)return C[e];switch(e){case f:case p:return function(){return new r(this,e)}}return function(){return new r(this,e)}},w=t+" Iterator",T=b==p,D=!1,C=e.prototype,k=C[d]||C["@@iterator"]||b&&C[b],E=k||S(b),P=b?T?S("entries"):E:void 0,R="Array"==t&&C.entries||k;if(R&&(x=u(R.call(new e)))!==Object.prototype&&x.next&&(l(x,w,!0),n||"function"==typeof x[d]||o(x,d,g)),T&&k&&k.name!==p&&(D=!0,E=function(){return k.call(this)}),(!n||y)&&(h||D||!C[d])&&o(C,d,E),s[t]=E,s[w]=g,b){if(_={values:T?E:S(p),keys:v?E:S(f),entries:P},y)for(A in _)A in C||a(C,A,_[A]);else i(i.P+i.F*(h||D),t,_)}return _}},function(e,t,r){"use strict";var n=r(1),i=r(13),a=r(8),o=r(3)("species");e.exports=function(e){var t=n[e];a&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n=r(62),i=r(27),a=r(28),o=r(33),s=r(10),c=r(45),l=Object.getOwnPropertyDescriptor;t.f=r(8)?l:function(e,t){if(e=a(e),t=o(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,r){"use strict";t.f=({}).propertyIsEnumerable},function(e,t,r){"use strict";var n=r(30),i={};i[r(3)("toStringTag")]="z",i+""!="[object z]"&&r(14)(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},function(e,t,r){"use strict";for(var n=r(58),i=r(38),a=r(14),o=r(1),s=r(6),c=r(19),l=r(3),u=l("iterator"),d=l("toStringTag"),h=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(f),g=0;g<p.length;g++){var m,b=p[g],v=f[b],y=o[b],_=y&&y.prototype;if(_&&(_[u]||s(_,u,h),_[d]||s(_,d,b),c[b]=h,v))for(m in n)_[m]||a(_,m,n[m],!0)}},function(e,t,r){"use strict";var n,i,a,o=r(11),s=r(99),c=r(55),l=r(32),u=r(1),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,g=u.Dispatch,m=0,b={},v="onreadystatechange",y=function(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},_=function(e){y.call(e.data)};h&&f||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return b[++m]=function(){s("function"==typeof e?e:Function(e),t)},n(m),m},f=function(e){delete b[e]},"process"==r(25)(d)?n=function(e){d.nextTick(o(y,e,1))}:g&&g.now?n=function(e){g.now(o(y,e,1))}:p?(a=(i=new p).port2,i.port1.onmessage=_,n=o(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(n=function(e){u.postMessage(e+"","*")},u.addEventListener("message",_,!1)):n=v in l("script")?function(e){c.appendChild(l("script"))[v]=function(){c.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:f}},function(e,t,r){"use strict";e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,r){"use strict";var n=r(7),i=r(2),a=r(42);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){"use strict";var n=r(2);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.build=t.version=t._UnsupportedManager=t.setPDFNetworkStreamClass=t.PDFPageProxy=t.PDFDocumentProxy=t.PDFWorker=t.PDFDataRangeTransport=t.LoopbackPort=t.getDocument=void 0;var i,a,o,s,c,l,u=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),d="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},h=n(0),f=n(15),p=n(119),g=n(120),m=(i=n(20))&&i.__esModule?i:{default:i},b=n(71),v=n(123),y=!1,_=!1,A="undefined"!=typeof document&&document.currentScript?document.currentScript.src:null,x=null,S=!1;"undefined"==typeof window&&(y=!0),S=!0,"undefined"!=typeof requirejs&&requirejs.toUrl&&(o=requirejs.toUrl("pdfjs-dist/build/pdf.worker.js"));var w="undefined"!=typeof requirejs&&requirejs.load;x=S?function(e){r.e(7682).then((function(){e(r(87682).WorkerMessageHandler)}).bind(null,r)).catch(r.oe)}:w?function(e){requirejs(["pdfjs-dist/build/pdf.worker"],function(t){e(t.WorkerMessageHandler)})}:null;var T=function(){var e=0;function t(){this._capability=(0,h.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return t.prototype={get promise(){return this._capability.promise},destroy:function(){var e=this;return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then(function(){e._transport=null,e._worker&&(e._worker.destroy(),e._worker=null)})},then:function(e,t){return this.promise.then.apply(this.promise,arguments)}},t}(),D=function(){function e(e,t){this.length=e,this.initialData=t,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._readyCapability=(0,h.createPromiseCapability)()}return e.prototype={addRangeListener:function(e){this._rangeListeners.push(e)},addProgressListener:function(e){this._progressListeners.push(e)},addProgressiveReadListener:function(e){this._progressiveReadListeners.push(e)},onDataRange:function(e,t){for(var r=this._rangeListeners,n=0,i=r.length;n<i;++n)r[n](e,t)},onDataProgress:function(e){var t=this;this._readyCapability.promise.then(function(){for(var r=t._progressListeners,n=0,i=r.length;n<i;++n)r[n](e)})},onDataProgressiveRead:function(e){var t=this;this._readyCapability.promise.then(function(){for(var r=t._progressiveReadListeners,n=0,i=r.length;n<i;++n)r[n](e)})},transportReady:function(){this._readyCapability.resolve()},requestDataRange:function(e,t){throw Error("Abstract method PDFDataRangeTransport.requestDataRange")},abort:function(){}},e}(),C=function(){function e(e,t,r){this.pdfInfo=e,this.transport=t,this.loadingTask=r}return e.prototype={get numPages(){return this.pdfInfo.numPages},get fingerprint(){return this.pdfInfo.fingerprint},getPage:function(e){return this.transport.getPage(e)},getPageIndex:function(e){return this.transport.getPageIndex(e)},getDestinations:function(){return this.transport.getDestinations()},getDestination:function(e){return this.transport.getDestination(e)},getPageLabels:function(){return this.transport.getPageLabels()},getPageMode:function(){return this.transport.getPageMode()},getAttachments:function(){return this.transport.getAttachments()},getJavaScript:function(){return this.transport.getJavaScript()},getOutline:function(){return this.transport.getOutline()},getMetadata:function(){return this.transport.getMetadata()},getData:function(){return this.transport.getData()},getDownloadInfo:function(){return this.transport.downloadInfoCapability.promise},getStats:function(){return this.transport.getStats()},cleanup:function(){this.transport.startCleanup()},destroy:function(){return this.loadingTask.destroy()}},e}(),k=function(){function e(e,t,r){this.pageIndex=e,this.pageInfo=t,this.transport=r,this.stats=new h.StatTimer,this.stats.enabled=(0,f.getDefaultSetting)("enableStats"),this.commonObjs=r.commonObjs,this.objs=new F,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return e.prototype={get pageNumber(){return this.pageIndex+1},get rotate(){return this.pageInfo.rotate},get ref(){return this.pageInfo.ref},get userUnit(){return this.pageInfo.userUnit},get view(){return this.pageInfo.view},getViewport:function(e,t){return arguments.length<2&&(t=this.rotate),new h.PageViewport(this.view,e,t,0,0)},getAnnotations:function(e){var t=e&&e.intent||null;return this.annotationsPromise&&this.annotationsIntent===t||(this.annotationsPromise=this.transport.getAnnotations(this.pageIndex,t),this.annotationsIntent=t),this.annotationsPromise},render:function(e){var t=this,r=this.stats;r.time("Overall"),this.pendingCleanup=!1;var n="print"===e.intent?"print":"display",i=e.canvasFactory||new f.DOMCanvasFactory;this.intentStates[n]||(this.intentStates[n]=Object.create(null));var a=this.intentStates[n];a.displayReadyCapability||(a.receivingOperatorList=!0,a.displayReadyCapability=(0,h.createPromiseCapability)(),a.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.stats.time("Page Request"),this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageNumber-1,intent:n,renderInteractiveForms:!0===e.renderInteractiveForms}));var o=function(e){var n=a.renderTasks.indexOf(s);n>=0&&a.renderTasks.splice(n,1),t.cleanupAfterRender&&(t.pendingCleanup=!0),t._tryCleanup(),e?s.capability.reject(e):s.capability.resolve(),r.timeEnd("Rendering"),r.timeEnd("Overall")},s=new O(o,e,this.objs,this.commonObjs,a.operatorList,this.pageNumber,i);s.useRequestAnimationFrame="print"!==n,a.renderTasks||(a.renderTasks=[]),a.renderTasks.push(s);var c=s.task;return e.continueCallback&&((0,h.deprecated)("render is used with continueCallback parameter"),c.onContinue=e.continueCallback),a.displayReadyCapability.promise.then(function(e){if(t.pendingCleanup){o();return}r.time("Rendering"),s.initializeGraphics(e),s.operatorListChanged()}).catch(o),c},getOperatorList:function(){var e,t="oplist";this.intentStates[t]||(this.intentStates[t]=Object.create(null));var r=this.intentStates[t];return r.opListReadCapability||((e={}).operatorListChanged=function(){if(r.operatorList.lastChunk){r.opListReadCapability.resolve(r.operatorList);var t=r.renderTasks.indexOf(e);t>=0&&r.renderTasks.splice(t,1)}},r.receivingOperatorList=!0,r.opListReadCapability=(0,h.createPromiseCapability)(),r.renderTasks=[],r.renderTasks.push(e),r.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageIndex,intent:t})),r.opListReadCapability.promise},streamTextContent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this.pageNumber-1,normalizeWhitespace:!0===e.normalizeWhitespace,combineTextItems:!0!==e.disableCombineTextItems},{highWaterMark:100,size:function(e){return e.items.length}})},getTextContent:function(e){e=e||{};var t=this.streamTextContent(e);return new Promise(function(e,r){var n=t.getReader(),i={items:[],styles:Object.create(null)};!function t(){n.read().then(function(r){var n=r.value;if(r.done){e(i);return}h.Util.extendObj(i.styles,n.styles),h.Util.appendToArray(i.items,n.items),t()},r)}()})},_destroy:function(){this.destroyed=!0,this.transport.pageCache[this.pageIndex]=null;var e=[];return Object.keys(this.intentStates).forEach(function(t){"oplist"!==t&&this.intentStates[t].renderTasks.forEach(function(t){var r=t.capability.promise.catch(function(){});e.push(r),t.cancel()})},this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(e)},destroy:function(){(0,h.deprecated)("page destroy method, use cleanup() instead"),this.cleanup()},cleanup:function(){this.pendingCleanup=!0,this._tryCleanup()},_tryCleanup:function(){!this.pendingCleanup||Object.keys(this.intentStates).some(function(e){var t=this.intentStates[e];return 0!==t.renderTasks.length||t.receivingOperatorList},this)||(Object.keys(this.intentStates).forEach(function(e){delete this.intentStates[e]},this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1)},_startRenderPage:function(e,t){var r=this.intentStates[t];r.displayReadyCapability&&r.displayReadyCapability.resolve(e)},_renderPageChunk:function(e,t){var r,n,i=this.intentStates[t];for(r=0,n=e.length;r<n;r++)i.operatorList.fnArray.push(e.fnArray[r]),i.operatorList.argsArray.push(e.argsArray[r]);for(r=0,i.operatorList.lastChunk=e.lastChunk;r<i.renderTasks.length;r++)i.renderTasks[r].operatorListChanged();e.lastChunk&&(i.receivingOperatorList=!1,this._tryCleanup())}},e}(),E=function(){function e(t){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this._listeners=[],this._defer=t,this._deferred=Promise.resolve(void 0)}return u(e,[{key:"postMessage",value:function(e,t){var r=this;if(!this._defer){this._listeners.forEach(function(t){t.call(this,{data:e})},this);return}var n=new WeakMap,i={data:function e(r){if((void 0===r?"undefined":d(r))!=="object"||null===r)return r;if(n.has(r))return n.get(r);if((s=r.buffer)&&(0,h.isArrayBuffer)(s)){var i=t&&t.indexOf(s)>=0;return o=r===s?r:i?new r.constructor(s,r.byteOffset,r.byteLength):new r.constructor(r),n.set(r,o),o}for(var a in o=Array.isArray(r)?[]:{},n.set(r,o),r){for(var o,s,c,l=r;!(c=Object.getOwnPropertyDescriptor(l,a));)l=Object.getPrototypeOf(l);void 0!==c.value&&"function"!=typeof c.value&&(o[a]=e(c.value))}return o}(e)};this._deferred.then(function(){r._listeners.forEach(function(e){e.call(this,i)},r)})}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var r=this._listeners.indexOf(t);this._listeners.splice(r,1)}},{key:"terminate",value:function(){this._listeners=[]}}]),e}(),P=function(){var e=0;function t(){if(void 0!==o)return o;if((0,f.getDefaultSetting)("workerSrc"))return(0,f.getDefaultSetting)("workerSrc");if(A)return A.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2");throw Error("No PDFJS.workerSrc specified")}var r=void 0,n=new WeakMap;function i(e,t){if(t&&n.has(t))throw Error("Cannot use more than one PDFWorker per port");if(this.name=e,this.destroyed=!1,this.postMessageTransfers=!0,this._readyCapability=(0,h.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,t){n.set(t,this),this._initializeFromPort(t);return}this._initialize()}return i.prototype={get promise(){return this._readyCapability.promise},get port(){return this._port},get messageHandler(){return this._messageHandler},_initializeFromPort:function(e){this._port=e,this._messageHandler=new h.MessageHandler("main","worker",e),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()},_initialize:function(){var e=this;if(!y&&!(0,f.getDefaultSetting)("disableWorker")&&"undefined"!=typeof Worker){var r,n=t();try{(0,h.isSameOrigin)(window.location.href,n)||(r=new URL(n,window.location).href,n=URL.createObjectURL(new Blob(["importScripts('"+r+"');"])));var i=new Worker(n),a=new h.MessageHandler("main","worker",i),o=function(){i.removeEventListener("error",s),a.destroy(),i.terminate(),e.destroyed?e._readyCapability.reject(Error("Worker was destroyed")):e._setupFakeWorker()},s=function(){e._webWorker||o()};i.addEventListener("error",s),a.on("test",function(t){if(i.removeEventListener("error",s),e.destroyed){o();return}t&&t.supportTypedArray?(e._messageHandler=a,e._port=i,e._webWorker=i,t.supportTransfers||(e.postMessageTransfers=!1,_=!0),e._readyCapability.resolve(),a.send("configure",{verbosity:(0,h.getVerbosityLevel)()})):(e._setupFakeWorker(),a.destroy(),i.terminate())}),a.on("console_log",function(e){console.log.apply(console,e)}),a.on("console_error",function(e){console.error.apply(console,e)}),a.on("ready",function(t){if(i.removeEventListener("error",s),e.destroyed){o();return}try{c()}catch(t){e._setupFakeWorker()}});var c=function(){var e=(0,f.getDefaultSetting)("postMessageTransfers")&&!_,t=new Uint8Array([e?255:0]);try{a.send("test",t,[t.buffer])}catch(e){(0,h.info)("Cannot use postMessage transfers"),t[0]=0,a.send("test",t)}};c();return}catch(e){(0,h.info)("The worker has been disabled.")}}this._setupFakeWorker()},_setupFakeWorker:function(){var n=this;y||(0,f.getDefaultSetting)("disableWorker")||((0,h.warn)("Setting up fake worker."),y=!0),(r||(r=(0,h.createPromiseCapability)(),(x||function(e){h.Util.loadScript(t(),function(){e(window.pdfjsDistBuildPdfWorker.WorkerMessageHandler)})})(r.resolve)),r.promise).then(function(t){if(n.destroyed){n._readyCapability.reject(Error("Worker was destroyed"));return}var r=new E(Uint8Array!==Float32Array);n._port=r;var i="fake"+e++,a=new h.MessageHandler(i+"_worker",i,r);t.setup(a,r);var o=new h.MessageHandler(i,i+"_worker",r);n._messageHandler=o,n._readyCapability.resolve()})},destroy:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),n.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},i.fromPort=function(e){return n.has(e)?n.get(e):new i(null,e)},i}(),R=function(){function e(e,t,r,n){this.messageHandler=e,this.loadingTask=t,this.commonObjs=new F,this.fontLoader=new p.FontLoader(t.docId),this.CMapReaderFactory=new n({baseUrl:(0,f.getDefaultSetting)("cMapUrl"),isCompressed:(0,f.getDefaultSetting)("cMapPacked")}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=r,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,h.createPromiseCapability)(),this.setupMessageHandler()}return e.prototype={destroy:function(){var e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,h.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(Error("Worker was destroyed during onPassword callback"));var t=[];this.pageCache.forEach(function(e){e&&t.push(e._destroy())}),this.pageCache=[],this.pagePromises=[];var r=this.messageHandler.sendWithPromise("Terminate",null);return t.push(r),Promise.all(t).then(function(){e.fontLoader.clear(),e._networkStream&&e._networkStream.cancelAllRequests(),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise},setupMessageHandler:function(){var e=this.messageHandler,t=this.loadingTask;e.on("GetReader",function(e,t){var r=this;(0,h.assert)(this._networkStream),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=function(e){r._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=function(){r._fullReader.read().then(function(e){var r=e.value;if(e.done){t.close();return}(0,h.assert)((0,h.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r])}).catch(function(e){t.error(e)})},t.onCancel=function(e){r._fullReader.cancel(e)}},this),e.on("ReaderHeadersReady",function(e){var t=this,r=(0,h.createPromiseCapability)(),n=this._fullReader;return n.headersReady.then(function(){if(!n.isStreamingSupported||!n.isRangeSupported){if(t._lastProgress){var e=t.loadingTask;e.onProgress&&e.onProgress(t._lastProgress)}n.onProgress=function(e){var r=t.loadingTask;r.onProgress&&r.onProgress({loaded:e.loaded,total:e.total})}}r.resolve({isStreamingSupported:n.isStreamingSupported,isRangeSupported:n.isRangeSupported,contentLength:n.contentLength})},r.reject),r.promise},this),e.on("GetRangeReader",function(e,t){(0,h.assert)(this._networkStream);var r=this._networkStream.getRangeReader(e.begin,e.end);t.onPull=function(){r.read().then(function(e){var r=e.value;if(e.done){t.close();return}(0,h.assert)((0,h.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r])}).catch(function(e){t.error(e)})},t.onCancel=function(e){r.cancel(e)}},this),e.on("GetDoc",function(e){var t=e.pdfInfo;this.numPages=e.pdfInfo.numPages;var r=this.loadingTask,n=new C(t,this,r);this.pdfDocument=n,r._capability.resolve(n)},this),e.on("PasswordRequest",function(e){var r=this;return this._passwordCapability=(0,h.createPromiseCapability)(),t.onPassword?t.onPassword(function(e){r._passwordCapability.resolve({password:e})},e.code):this._passwordCapability.reject(new h.PasswordException(e.message,e.code)),this._passwordCapability.promise},this),e.on("PasswordException",function(e){t._capability.reject(new h.PasswordException(e.message,e.code))},this),e.on("InvalidPDF",function(e){this.loadingTask._capability.reject(new h.InvalidPDFException(e.message))},this),e.on("MissingPDF",function(e){this.loadingTask._capability.reject(new h.MissingPDFException(e.message))},this),e.on("UnexpectedResponse",function(e){this.loadingTask._capability.reject(new h.UnexpectedResponseException(e.message,e.status))},this),e.on("UnknownError",function(e){this.loadingTask._capability.reject(new h.UnknownErrorException(e.message,e.details))},this),e.on("DataLoaded",function(e){this.downloadInfoCapability.resolve(e)},this),e.on("PDFManagerReady",function(e){},this),e.on("StartRenderPage",function(e){if(!this.destroyed){var t=this.pageCache[e.pageIndex];t.stats.timeEnd("Page Request"),t._startRenderPage(e.transparency,e.intent)}},this),e.on("RenderPageChunk",function(e){this.destroyed||this.pageCache[e.pageIndex]._renderPageChunk(e.operatorList,e.intent)},this),e.on("commonobj",function(e){var t=this;if(!this.destroyed){var r=e[0],n=e[1];if(!this.commonObjs.hasData(r))switch(n){case"Font":var i=e[2];if("error"in i){var a=i.error;(0,h.warn)("Error during font loading: "+a),this.commonObjs.resolve(r,a);break}var o=null;(0,f.getDefaultSetting)("pdfBug")&&m.default.FontInspector&&m.default.FontInspector.enabled&&(o={registerFont:function(e,t){m.default.FontInspector.fontAdded(e,t)}});var s=new p.FontFaceObject(i,{isEvalSupported:(0,f.getDefaultSetting)("isEvalSupported"),disableFontFace:(0,f.getDefaultSetting)("disableFontFace"),fontRegistry:o});this.fontLoader.bind([s],function(e){t.commonObjs.resolve(r,s)});break;case"FontPath":this.commonObjs.resolve(r,e[2]);break;default:throw Error("Got unknown common object type "+n)}}},this),e.on("obj",function(e){if(!this.destroyed){var t,r=e[0],n=e[1],i=e[2],a=this.pageCache[n];if(!a.objs.hasData(r))switch(i){case"JpegStream":t=e[3],(0,h.loadJpegStream)(r,t,a.objs);break;case"Image":t=e[3],a.objs.resolve(r,t),t&&"data"in t&&t.data.length>8e6&&(a.cleanupAfterRender=!0);break;default:throw Error("Got unknown object type "+i)}}},this),e.on("DocProgress",function(e){if(!this.destroyed){var t=this.loadingTask;t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}},this),e.on("PageError",function(e){if(!this.destroyed){var t=this.pageCache[e.pageNum-1].intentStates[e.intent];if(t.displayReadyCapability)t.displayReadyCapability.reject(e.error);else throw Error(e.error);if(t.operatorList){t.operatorList.lastChunk=!0;for(var r=0;r<t.renderTasks.length;r++)t.renderTasks[r].operatorListChanged()}}},this),e.on("UnsupportedFeature",function(e){if(!this.destroyed){var t=e.featureId,r=this.loadingTask;r.onUnsupportedFeature&&r.onUnsupportedFeature(t),I.notify(t)}},this),e.on("JpegDecode",function(e){if(this.destroyed)return Promise.reject(Error("Worker was destroyed"));if("undefined"==typeof document)return Promise.reject(Error('"document" is not defined.'));var t=e[0],r=e[1];return 3!==r&&1!==r?Promise.reject(Error("Only 3 components or 1 component can be returned")):new Promise(function(e,n){var i=new Image;i.onload=function(){var t,n,a=i.width,o=i.height,s=a*o,c=4*s,l=new Uint8Array(s*r),u=document.createElement("canvas");u.width=a,u.height=o;var d=u.getContext("2d");d.drawImage(i,0,0);var h=d.getImageData(0,0,a,o).data;if(3===r)for(t=0,n=0;t<c;t+=4,n+=3)l[n]=h[t],l[n+1]=h[t+1],l[n+2]=h[t+2];else if(1===r)for(t=0,n=0;t<c;t+=4,n++)l[n]=h[t];e({data:l,width:a,height:o})},i.onerror=function(){n(Error("JpegDecode failed to load image"))},i.src=t})},this),e.on("FetchBuiltInCMap",function(e){return this.destroyed?Promise.reject(Error("Worker was destroyed")):this.CMapReaderFactory.fetch({name:e.name})},this)},getData:function(){return this.messageHandler.sendWithPromise("GetData",null)},getPage:function(e,t){var r=this;if(!Number.isInteger(e)||e<=0||e>this.numPages)return Promise.reject(Error("Invalid page request"));var n=e-1;if(n in this.pagePromises)return this.pagePromises[n];var i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:n}).then(function(e){if(r.destroyed)throw Error("Transport destroyed");var t=new k(n,e,r);return r.pageCache[n]=t,t});return this.pagePromises[n]=i,i},getPageIndex:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e}).catch(function(e){return Promise.reject(Error(e))})},getAnnotations:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})},getDestinations:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)},getDestination:function(e){return this.messageHandler.sendWithPromise("GetDestination",{id:e})},getPageLabels:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)},getPageMode:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)},getAttachments:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)},getJavaScript:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)},getOutline:function(){return this.messageHandler.sendWithPromise("GetOutline",null)},getMetadata:function(){return this.messageHandler.sendWithPromise("GetMetadata",null).then(function(e){return{info:e[0],metadata:e[1]?new b.Metadata(e[1]):null}})},getStats:function(){return this.messageHandler.sendWithPromise("GetStats",null)},startCleanup:function(){var e=this;this.messageHandler.sendWithPromise("Cleanup",null).then(function(){for(var t=0,r=e.pageCache.length;t<r;t++){var n=e.pageCache[t];n&&n.cleanup()}e.commonObjs.clear(),e.fontLoader.clear()})}},e}(),F=function(){function e(){this.objs=Object.create(null)}return e.prototype={ensureObj:function(e){if(this.objs[e])return this.objs[e];var t={capability:(0,h.createPromiseCapability)(),data:null,resolved:!1};return this.objs[e]=t,t},get:function(e,t){if(t)return this.ensureObj(e).capability.promise.then(t),null;var r=this.objs[e];if(!r||!r.resolved)throw Error("Requesting object that isn't resolved yet "+e);return r.data},resolve:function(e,t){var r=this.ensureObj(e);r.resolved=!0,r.data=t,r.capability.resolve(t)},isResolved:function(e){var t=this.objs;return!!t[e]&&t[e].resolved},hasData:function(e){return this.isResolved(e)},getData:function(e){var t=this.objs;return t[e]&&t[e].resolved?t[e].data:null},clear:function(){this.objs=Object.create(null)}},e}(),U=function(){function e(e){this._internalRenderTask=e,this.onContinue=null}return e.prototype={get promise(){return this._internalRenderTask.capability.promise},cancel:function(){this._internalRenderTask.cancel()},then:function(e,t){return this.promise.then.apply(this.promise,arguments)}},e}(),O=function(){var e=new WeakMap;function t(e,t,r,n,i,a,o){this.callback=e,this.params=t,this.objs=r,this.commonObjs=n,this.operatorListIdx=null,this.operatorList=i,this.pageNumber=a,this.canvasFactory=o,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this.useRequestAnimationFrame=!1,this.cancelled=!1,this.capability=(0,h.createPromiseCapability)(),this.task=new U(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvasContext.canvas}return t.prototype={initializeGraphics:function(t){if(this._canvas){if(e.has(this._canvas))throw Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");e.set(this._canvas,this)}if(!this.cancelled){(0,f.getDefaultSetting)("pdfBug")&&m.default.StepperManager&&m.default.StepperManager.enabled&&(this.stepper=m.default.StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var r=this.params;this.gfx=new g.CanvasGraphics(r.canvasContext,this.commonObjs,this.objs,this.canvasFactory,r.imageLayer),this.gfx.beginDrawing({transform:r.transform,viewport:r.viewport,transparency:t,background:r.background}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}},cancel:function(){this.running=!1,this.cancelled=!0,this._canvas&&e.delete(this._canvas),(0,f.getDefaultSetting)("pdfjsNext")?this.callback(new f.RenderingCancelledException("Rendering cancelled, page "+this.pageNumber,"canvas")):this.callback("cancelled")},operatorListChanged:function(){if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()},_continue:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())},_scheduleNext:function(){this.useRequestAnimationFrame&&"undefined"!=typeof window?window.requestAnimationFrame(this._nextBound):Promise.resolve(void 0).then(this._nextBound)},_next:function(){!this.cancelled&&(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&e.delete(this._canvas),this.callback())))}},t}(),I=(a=[],{listen:function(e){(0,h.deprecated)("Global UnsupportedManager.listen is used: use PDFDocumentLoadingTask.onUnsupportedFeature instead"),a.push(e)},notify:function(e){for(var t=0,r=a.length;t<r;t++)a[t](e)}});t.version=c="1.10.100",t.build=l="ea29ec83",t.getDocument=function(e,t,r,n){var i,a=new T;if(arguments.length>1&&(0,h.deprecated)("getDocument is called with pdfDataRangeTransport, passwordCallback or progressCallback argument"),t&&(t instanceof D||((t=Object.create(t)).length=e.length,t.initialData=e.initialData,t.abort||(t.abort=function(){})),(e=Object.create(e)).range=t),a.onPassword=r||null,a.onProgress=n||null,"string"==typeof e)i={url:e};else if((0,h.isArrayBuffer)(e))i={data:e};else if(e instanceof D)i={range:e};else{if((void 0===e?"undefined":d(e))!=="object")throw Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!e.url&&!e.data&&!e.range)throw Error("Invalid parameter object: need either .data, .range or .url");i=e}var o={},c=null,l=null,u=f.DOMCMapReaderFactory;for(var p in i){if("url"===p&&"undefined"!=typeof window){o[p]=new URL(i[p],window.location).href;continue}if("range"===p){c=i[p];continue}if("worker"===p){l=i[p];continue}if("data"!==p||i[p]instanceof Uint8Array){if("CMapReaderFactory"===p){u=i[p];continue}}else{var g=i[p];if("string"==typeof g)o[p]=(0,h.stringToBytes)(g);else if((void 0===g?"undefined":d(g))!=="object"||null===g||isNaN(g.length)){if((0,h.isArrayBuffer)(g))o[p]=new Uint8Array(g);else throw Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.")}else o[p]=new Uint8Array(g);continue}o[p]=i[p]}if(o.rangeChunkSize=o.rangeChunkSize||65536,o.ignoreErrors=!0!==o.stopAtErrors,void 0!==o.disableNativeImageDecoder&&(0,h.deprecated)("parameter disableNativeImageDecoder, use nativeImageDecoderSupport instead"),o.nativeImageDecoderSupport=o.nativeImageDecoderSupport||(!0===o.disableNativeImageDecoder?h.NativeImageDecoding.NONE:h.NativeImageDecoding.DECODE),o.nativeImageDecoderSupport!==h.NativeImageDecoding.DECODE&&o.nativeImageDecoderSupport!==h.NativeImageDecoding.NONE&&o.nativeImageDecoderSupport!==h.NativeImageDecoding.DISPLAY&&((0,h.warn)("Invalid parameter nativeImageDecoderSupport: need a state of enum {NativeImageDecoding}"),o.nativeImageDecoderSupport=h.NativeImageDecoding.DECODE),!l){var m=(0,f.getDefaultSetting)("workerPort");l=m?P.fromPort(m):new P,a._worker=l}var b=a.docId;return l.promise.then(function(){var e,t;if(a.destroyed)throw Error("Loading aborted");return(e=l,t=c,e.destroyed?Promise.reject(Error("Worker was destroyed")):(o.disableAutoFetch=(0,f.getDefaultSetting)("disableAutoFetch"),o.disableStream=(0,f.getDefaultSetting)("disableStream"),o.chunkedViewerLoading=!!t,t&&(o.length=t.length,o.initialData=t.initialData),e.messageHandler.sendWithPromise("GetDocRequest",{docId:b,apiVersion:"1.10.100",source:{data:o.data,url:o.url,password:o.password,disableAutoFetch:o.disableAutoFetch,rangeChunkSize:o.rangeChunkSize,length:o.length},maxImageSize:(0,f.getDefaultSetting)("maxImageSize"),disableFontFace:(0,f.getDefaultSetting)("disableFontFace"),disableCreateObjectURL:(0,f.getDefaultSetting)("disableCreateObjectURL"),postMessageTransfers:(0,f.getDefaultSetting)("postMessageTransfers")&&!_,docBaseUrl:o.docBaseUrl,nativeImageDecoderSupport:o.nativeImageDecoderSupport,ignoreErrors:o.ignoreErrors,isEvalSupported:(0,f.getDefaultSetting)("isEvalSupported")}).then(function(t){if(e.destroyed)throw Error("Worker was destroyed");return t}))).then(function(e){if(a.destroyed)throw Error("Loading aborted");var t=void 0;c?t=new v.PDFDataTransportStream(o,c):o.data||(t=new s({source:o,disableRange:(0,f.getDefaultSetting)("disableRange")}));var r=new h.MessageHandler(b,e,l.port);r.postMessageTransfers=l.postMessageTransfers;var n=new R(r,a,t,u);a._transport=n,r.send("Ready",null)})}).catch(a._capability.reject),a},t.LoopbackPort=E,t.PDFDataRangeTransport=D,t.PDFWorker=P,t.PDFDocumentProxy=C,t.PDFPageProxy=k,t.setPDFNetworkStreamClass=function(e){s=e},t._UnsupportedManager=I,t.version=c,t.build=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLUtils=void 0;var n=r(15),i=r(0),a=function(){function e(e,t,r){var n=e.createShader(r);if(e.shaderSource(n,t),e.compileShader(n),!e.getShaderParameter(n,e.COMPILE_STATUS))throw Error("Error during shader compilation: "+e.getShaderInfoLog(n));return n}function t(t,r){return e(t,r,t.VERTEX_SHADER)}function r(t,r){return e(t,r,t.FRAGMENT_SHADER)}function a(e,t){for(var r=e.createProgram(),n=0,i=t.length;n<i;++n)e.attachShader(r,t[n]);if(e.linkProgram(r),!e.getProgramParameter(r,e.LINK_STATUS))throw Error("Error during program linking: "+e.getProgramInfoLog(r));return r}function o(e,t,r){e.activeTexture(r);var n=e.createTexture();return e.bindTexture(e.TEXTURE_2D,n),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t),n}function s(){c||(c=(l=document.createElement("canvas")).getContext("webgl",{premultipliedalpha:!1}))}var c,l,u=null,d=null;return{get isEnabled(){if((0,n.getDefaultSetting)("disableWebGL"))return!1;var h=!1;try{s(),h=!!c}catch(e){}return(0,i.shadow)(this,"isEnabled",h)},composeSMask:function(e,n,i){var d,h,f,p,g,m,b,v,y,_,A=e.width,x=e.height;u||(s(),d=l,l=null,h=c,c=null,f=t(h," attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } "),p=r(h," precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } "),g=a(h,[f,p]),h.useProgram(g),(m={}).gl=h,m.canvas=d,m.resolutionLocation=h.getUniformLocation(g,"u_resolution"),m.positionLocation=h.getAttribLocation(g,"a_position"),m.backdropLocation=h.getUniformLocation(g,"u_backdrop"),m.subtypeLocation=h.getUniformLocation(g,"u_subtype"),b=h.getAttribLocation(g,"a_texCoord"),v=h.getUniformLocation(g,"u_image"),y=h.getUniformLocation(g,"u_mask"),_=h.createBuffer(),h.bindBuffer(h.ARRAY_BUFFER,_),h.bufferData(h.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),h.STATIC_DRAW),h.enableVertexAttribArray(b),h.vertexAttribPointer(b,2,h.FLOAT,!1,0,0),h.uniform1i(v,0),h.uniform1i(y,1),u=m);var S=u,w=S.canvas,T=S.gl;w.width=A,w.height=x,T.viewport(0,0,T.drawingBufferWidth,T.drawingBufferHeight),T.uniform2f(S.resolutionLocation,A,x),i.backdrop?T.uniform4f(S.resolutionLocation,i.backdrop[0],i.backdrop[1],i.backdrop[2],1):T.uniform4f(S.resolutionLocation,0,0,0,0),T.uniform1i(S.subtypeLocation,"Luminosity"===i.subtype?1:0);var D=o(T,e,T.TEXTURE0),C=o(T,n,T.TEXTURE1),k=T.createBuffer();return T.bindBuffer(T.ARRAY_BUFFER,k),T.bufferData(T.ARRAY_BUFFER,new Float32Array([0,0,A,0,0,x,0,x,A,0,A,x]),T.STATIC_DRAW),T.enableVertexAttribArray(S.positionLocation),T.vertexAttribPointer(S.positionLocation,2,T.FLOAT,!1,0,0),T.clearColor(0,0,0,0),T.enable(T.BLEND),T.blendFunc(T.ONE,T.ONE_MINUS_SRC_ALPHA),T.clear(T.COLOR_BUFFER_BIT),T.drawArrays(T.TRIANGLES,0,6),T.flush(),T.deleteTexture(D),T.deleteTexture(C),T.deleteBuffer(k),w},drawFigures:function(e,n,i,o,u){if(!d){var h,f,p,g,m,b;s(),h=l,l=null,f=c,c=null,p=t(f," attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } "),g=r(f," precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } "),m=a(f,[p,g]),f.useProgram(m),(b={}).gl=f,b.canvas=h,b.resolutionLocation=f.getUniformLocation(m,"u_resolution"),b.scaleLocation=f.getUniformLocation(m,"u_scale"),b.offsetLocation=f.getUniformLocation(m,"u_offset"),b.positionLocation=f.getAttribLocation(m,"a_position"),b.colorLocation=f.getAttribLocation(m,"a_color"),d=b}var v,y,_,A=d,x=A.canvas,S=A.gl;x.width=e,x.height=n,S.viewport(0,0,S.drawingBufferWidth,S.drawingBufferHeight),S.uniform2f(A.resolutionLocation,e,n);var w=0;for(v=0,y=o.length;v<y;v++)switch(o[v].type){case"lattice":w+=((_=o[v].coords.length/o[v].verticesPerRow|0)-1)*(o[v].verticesPerRow-1)*6;break;case"triangles":w+=o[v].coords.length}var T=new Float32Array(2*w),D=new Uint8Array(3*w),C=u.coords,k=u.colors,E=0,P=0;for(v=0,y=o.length;v<y;v++){var R=o[v],F=R.coords,U=R.colors;switch(R.type){case"lattice":var O=R.verticesPerRow;_=F.length/O|0;for(var I=1;I<_;I++)for(var L=I*O+1,N=1;N<O;N++,L++)T[E]=C[F[L-O-1]],T[E+1]=C[F[L-O-1]+1],T[E+2]=C[F[L-O]],T[E+3]=C[F[L-O]+1],T[E+4]=C[F[L-1]],T[E+5]=C[F[L-1]+1],D[P]=k[U[L-O-1]],D[P+1]=k[U[L-O-1]+1],D[P+2]=k[U[L-O-1]+2],D[P+3]=k[U[L-O]],D[P+4]=k[U[L-O]+1],D[P+5]=k[U[L-O]+2],D[P+6]=k[U[L-1]],D[P+7]=k[U[L-1]+1],D[P+8]=k[U[L-1]+2],T[E+6]=T[E+2],T[E+7]=T[E+3],T[E+8]=T[E+4],T[E+9]=T[E+5],T[E+10]=C[F[L]],T[E+11]=C[F[L]+1],D[P+9]=D[P+3],D[P+10]=D[P+4],D[P+11]=D[P+5],D[P+12]=D[P+6],D[P+13]=D[P+7],D[P+14]=D[P+8],D[P+15]=k[U[L]],D[P+16]=k[U[L]+1],D[P+17]=k[U[L]+2],E+=12,P+=18;break;case"triangles":for(var j=0,M=F.length;j<M;j++)T[E]=C[F[j]],T[E+1]=C[F[j]+1],D[P]=k[U[j]],D[P+1]=k[U[j]+1],D[P+2]=k[U[j]+2],E+=2,P+=3}}i?S.clearColor(i[0]/255,i[1]/255,i[2]/255,1):S.clearColor(0,0,0,0),S.clear(S.COLOR_BUFFER_BIT);var W=S.createBuffer();S.bindBuffer(S.ARRAY_BUFFER,W),S.bufferData(S.ARRAY_BUFFER,T,S.STATIC_DRAW),S.enableVertexAttribArray(A.positionLocation),S.vertexAttribPointer(A.positionLocation,2,S.FLOAT,!1,0,0);var q=S.createBuffer();return S.bindBuffer(S.ARRAY_BUFFER,q),S.bufferData(S.ARRAY_BUFFER,D,S.STATIC_DRAW),S.enableVertexAttribArray(A.colorLocation),S.vertexAttribPointer(A.colorLocation,3,S.UNSIGNED_BYTE,!1,0,0),S.uniform2f(A.scaleLocation,u.scaleX,u.scaleY),S.uniform2f(A.offsetLocation,u.offsetX,u.offsetY),S.drawArrays(S.TRIANGLES,0,w),S.flush(),S.deleteBuffer(W),S.deleteBuffer(q),x},clear:function(){u&&u.canvas&&(u.canvas.width=0,u.canvas.height=0),d&&d.canvas&&(d.canvas.width=0,d.canvas.height=0),u=null,d=null}}}();t.WebGLUtils=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(0),a=r(122),o=function(){function e(t){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),(0,i.assert)("string"==typeof t,"Metadata: input is not a string"),t=this._repair(t);var r=new a.SimpleXMLParser().parseFromString(t);this._metadata=Object.create(null),r&&this._parse(r)}return n(e,[{key:"_repair",value:function(e){return e.replace(/>\\376\\377([^<]+)/g,function(e,t){for(var r=t.replace(/\\([0-3])([0-7])([0-7])/g,function(e,t,r,n){return String.fromCharCode(64*t+8*r+1*n)}),n="",i=0,a=r.length;i<a;i+=2){var o=256*r.charCodeAt(i)+r.charCodeAt(i+1);o>=32&&o<127&&60!==o&&62!==o&&38!==o?n+=String.fromCharCode(o):n+="&#x"+(65536+o).toString(16).substring(1)+";"}return">"+n})}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName.toLowerCase())for(t=t.firstChild;t&&"rdf:rdf"!==t.nodeName.toLowerCase();)t=t.nextSibling;var r=t?t.nodeName.toLowerCase():null;if(t&&"rdf:rdf"===r&&t.hasChildNodes())for(var n=t.childNodes,i=0,a=n.length;i<a;i++){var o=n[i];if("rdf:description"===o.nodeName.toLowerCase()){for(var s=0,c=o.childNodes.length;s<c;s++)if("#text"!==o.childNodes[s].nodeName.toLowerCase()){var l=o.childNodes[s],u=l.nodeName.toLowerCase();this._metadata[u]=l.textContent.trim()}}}}},{key:"get",value:function(e){return this._metadata[e]||null}},{key:"getAll",value:function(){return this._metadata}},{key:"has",value:function(e){return void 0!==this._metadata[e]}},{key:"metadata",get:function(){return(0,i.deprecated)("`metadata` getter; use `getAll()` instead."),this.getAll()}}]),e}();t.Metadata=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(15),a=r(0);function o(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function s(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var l=function(){function e(){c(this,e)}return n(e,null,[{key:"create",value:function(e){switch(e.data.annotationType){case a.AnnotationType.LINK:return new d(e);case a.AnnotationType.TEXT:return new h(e);case a.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new p(e);case"Btn":if(e.data.radioButton)return new m(e);if(e.data.checkBox)return new g(e);(0,a.warn)("Unimplemented button widget annotation: pushbutton");break;case"Ch":return new b(e)}return new f(e);case a.AnnotationType.POPUP:return new v(e);case a.AnnotationType.LINE:return new _(e);case a.AnnotationType.SQUARE:return new A(e);case a.AnnotationType.CIRCLE:return new x(e);case a.AnnotationType.POLYLINE:return new S(e);case a.AnnotationType.POLYGON:return new w(e);case a.AnnotationType.HIGHLIGHT:return new T(e);case a.AnnotationType.UNDERLINE:return new D(e);case a.AnnotationType.SQUIGGLY:return new C(e);case a.AnnotationType.STRIKEOUT:return new k(e);case a.AnnotationType.STAMP:return new E(e);case a.AnnotationType.FILEATTACHMENT:return new P(e);default:return new u(e)}}}]),e}(),u=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(this,e),this.isRenderable=r,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderInteractiveForms=t.renderInteractiveForms,this.svgFactory=t.svgFactory,r&&(this.container=this._createContainer(n))}return n(e,[{key:"_createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.data,r=this.page,n=this.viewport,o=document.createElement("section"),s=t.rect[2]-t.rect[0],c=t.rect[3]-t.rect[1];o.setAttribute("data-annotation-id",t.id);var l=a.Util.normalizeRect([t.rect[0],r.view[3]-t.rect[1]+r.view[1],t.rect[2],r.view[3]-t.rect[3]+r.view[1]]);if(i.CustomStyle.setProp("transform",o,"matrix("+n.transform.join(",")+")"),i.CustomStyle.setProp("transformOrigin",o,-l[0]+"px "+-l[1]+"px"),!e&&t.borderStyle.width>0){o.style.borderWidth=t.borderStyle.width+"px",t.borderStyle.style!==a.AnnotationBorderStyleType.UNDERLINE&&(s-=2*t.borderStyle.width,c-=2*t.borderStyle.width);var u=t.borderStyle.horizontalCornerRadius,d=t.borderStyle.verticalCornerRadius;switch((u>0||d>0)&&i.CustomStyle.setProp("borderRadius",o,u+"px / "+d+"px"),t.borderStyle.style){case a.AnnotationBorderStyleType.SOLID:o.style.borderStyle="solid";break;case a.AnnotationBorderStyleType.DASHED:o.style.borderStyle="dashed";break;case a.AnnotationBorderStyleType.BEVELED:(0,a.warn)("Unimplemented border style: beveled");break;case a.AnnotationBorderStyleType.INSET:(0,a.warn)("Unimplemented border style: inset");break;case a.AnnotationBorderStyleType.UNDERLINE:o.style.borderBottomStyle="solid"}t.color?o.style.borderColor=a.Util.makeCssRgb(0|t.color[0],0|t.color[1],0|t.color[2]):o.style.borderWidth=0}return o.style.left=l[0]+"px",o.style.top=l[1]+"px",o.style.width=s+"px",o.style.height=c+"px",o}},{key:"_createPopup",value:function(e,t,r){t||((t=document.createElement("div")).style.height=e.style.height,t.style.width=e.style.width,e.appendChild(t));var n=new y({container:e,trigger:t,color:r.color,title:r.title,contents:r.contents,hideWrapper:!0}).render();n.style.left=e.style.width,e.appendChild(n)}},{key:"render",value:function(){throw Error("Abstract method `AnnotationElement.render` called")}}]),e}(),d=function(e){function t(e){c(this,t);var r=!!(e.data.url||e.data.dest||e.data.action);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="linkAnnotation";var e=document.createElement("a");return(0,i.addLinkAttributes)(e,{url:this.data.url,target:this.data.newWindow?i.LinkTarget.BLANK:void 0}),this.data.url||(this.data.action?this._bindNamedAction(e,this.data.action):this._bindLink(e,this.data.dest)),this.container.appendChild(e),this.container}},{key:"_bindLink",value:function(e,t){var r=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&r.linkService.navigateTo(t),!1},t&&(e.className="internalLink")}},{key:"_bindNamedAction",value:function(e,t){var r=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return r.linkService.executeNamedAction(t),!1},e.className="internalLink"}}]),t}(u),h=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="textAnnotation";var e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}}]),t}(u),f=function(e){function t(){return c(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),n(t,[{key:"render",value:function(){return this.container}}]),t}(u),p=function(e){function t(e){c(this,t);var r=e.renderInteractiveForms||!e.data.hasAppearance&&!!e.data.fieldValue;return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="textWidgetAnnotation";var e=null;if(this.renderInteractiveForms){if(this.data.multiLine?(e=document.createElement("textarea")).textContent=this.data.fieldValue:((e=document.createElement("input")).type="text",e.setAttribute("value",this.data.fieldValue)),e.disabled=this.data.readOnly,null!==this.data.maxLen&&(e.maxLength=this.data.maxLen),this.data.comb){var t=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;e.classList.add("comb"),e.style.letterSpacing="calc("+t+"px - 1ch)"}}else{(e=document.createElement("div")).textContent=this.data.fieldValue,e.style.verticalAlign="middle",e.style.display="table-cell";var r=null;this.data.fontRefName&&(r=this.page.commonObjs.getData(this.data.fontRefName)),this._setTextStyle(e,r)}return null!==this.data.textAlignment&&(e.style.textAlign=["left","center","right"][this.data.textAlignment]),this.container.appendChild(e),this.container}},{key:"_setTextStyle",value:function(e,t){var r=e.style;if(r.fontSize=this.data.fontSize+"px",r.direction=this.data.fontDirection<0?"rtl":"ltr",t){r.fontWeight=t.black?t.bold?"900":"bold":t.bold?"bold":"normal",r.fontStyle=t.italic?"italic":"normal";var n=t.loadedName?'"'+t.loadedName+'", ':"",i=t.fallbackName||"Helvetica, sans-serif";r.fontFamily=n+i}}}]),t}(f),g=function(e){function t(e){return c(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,e.renderInteractiveForms))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation checkBox";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="checkbox",this.data.fieldValue&&"Off"!==this.data.fieldValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(f),m=function(e){function t(e){return c(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,e.renderInteractiveForms))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation radioButton";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="radio",e.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(f),b=function(e){function t(e){return c(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,e.renderInteractiveForms))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="choiceWidgetAnnotation";var e=document.createElement("select");e.disabled=this.data.readOnly,!this.data.combo&&(e.size=this.data.options.length,this.data.multiSelect&&(e.multiple=!0));for(var t=0,r=this.data.options.length;t<r;t++){var n=this.data.options[t],i=document.createElement("option");i.textContent=n.displayValue,i.value=n.exportValue,this.data.fieldValue.indexOf(n.displayValue)>=0&&i.setAttribute("selected",!0),e.appendChild(i)}return this.container.appendChild(e),this.container}}]),t}(f),v=function(e){function t(e){c(this,t);var r=!!(e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return s(t,e),n(t,[{key:"render",value:function(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon"].indexOf(this.data.parentType)>=0)return this.container;var e='[data-annotation-id="'+this.data.parentId+'"]',t=this.layer.querySelector(e);if(!t)return this.container;var r=new y({container:this.container,trigger:t,color:this.data.color,title:this.data.title,contents:this.data.contents}),n=parseFloat(t.style.left),a=parseFloat(t.style.width);return i.CustomStyle.setProp("transformOrigin",this.container,-(n+a)+"px -"+t.style.top),this.container.style.left=n+a+"px",this.container.appendChild(r.render()),this.container}}]),t}(u),y=function(){function e(t){c(this,e),this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.title=t.title,this.contents=t.contents,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}return n(e,[{key:"render",value:function(){var e=document.createElement("div");e.className="popupWrapper",this.hideElement=this.hideWrapper?e:this.container,this.hideElement.setAttribute("hidden",!0);var t=document.createElement("div");t.className="popup";var r=this.color;if(r){var n=.7*(255-r[0])+r[0],i=.7*(255-r[1])+r[1],o=.7*(255-r[2])+r[2];t.style.backgroundColor=a.Util.makeCssRgb(0|n,0|i,0|o)}var s=this._formatContents(this.contents),c=document.createElement("h1");return c.textContent=this.title,this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),t.addEventListener("click",this._hide.bind(this,!0)),t.appendChild(c),t.appendChild(s),e.appendChild(t),e}},{key:"_formatContents",value:function(e){for(var t=document.createElement("p"),r=e.split(/(?:\r\n?|\n)/),n=0,i=r.length;n<i;++n){var a=r[n];t.appendChild(document.createTextNode(a)),n<i-1&&t.appendChild(document.createElement("br"))}return t}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)}},{key:"_hide",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];e&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}}]),e}(),_=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="lineAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=this.svgFactory.createElement("svg:line");return i.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),i.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),i.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),i.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),i.setAttribute("stroke-width",e.borderStyle.width),i.setAttribute("stroke","transparent"),n.appendChild(i),this.container.append(n),this._createPopup(this.container,i,e),this.container}}]),t}(u),A=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="squareAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,a=this.svgFactory.createElement("svg:rect");return a.setAttribute("x",i/2),a.setAttribute("y",i/2),a.setAttribute("width",t-i),a.setAttribute("height",r-i),a.setAttribute("stroke-width",i),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),n.appendChild(a),this.container.append(n),this._createPopup(this.container,a,e),this.container}}]),t}(u),x=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="circleAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,a=this.svgFactory.createElement("svg:ellipse");return a.setAttribute("cx",t/2),a.setAttribute("cy",r/2),a.setAttribute("rx",t/2-i/2),a.setAttribute("ry",r/2-i/2),a.setAttribute("stroke-width",i),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),n.appendChild(a),this.container.append(n),this._createPopup(this.container,a,e),this.container}}]),t}(u),S=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents),n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0));return n.containerClassName="polylineAnnotation",n.svgElementName="svg:polyline",n}return s(t,e),n(t,[{key:"render",value:function(){this.container.className=this.containerClassName;for(var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.vertices,a=[],o=0,s=i.length;o<s;o++){var c=i[o].x-e.rect[0],l=e.rect[3]-i[o].y;a.push(c+","+l)}a=a.join(" ");var u=e.borderStyle.width,d=this.svgFactory.createElement(this.svgElementName);return d.setAttribute("points",a),d.setAttribute("stroke-width",u),d.setAttribute("stroke","transparent"),d.setAttribute("fill","none"),n.appendChild(d),this.container.append(n),this._createPopup(this.container,d,e),this.container}}]),t}(u),w=function(e){function t(e){c(this,t);var r=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return s(t,e),t}(S),T=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(u),D=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(u),C=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(u),k=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(u),E=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(u),P=function(e){function t(e){c(this,t);var r=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,!0)),n=r.data.file;return r.filename=(0,i.getFilenameFromUrl)(n.filename),r.content=n.content,r.linkService.onFileAttachmentAnnotation({id:(0,a.stringToPDFString)(n.filename),filename:n.filename,content:n.content}),r}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="fileAttachmentAnnotation";var e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),!this.data.hasPopup&&(this.data.title||this.data.contents)&&this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}},{key:"_download",value:function(){if(!this.downloadManager){(0,a.warn)("Download cannot be started due to unavailable download manager");return}this.downloadManager.downloadData(this.content,this.filename,"")}}]),t}(u),R=function(){function e(){c(this,e)}return n(e,null,[{key:"render",value:function(e){for(var t=0,r=e.annotations.length;t<r;t++){var n=e.annotations[t];if(n){var a=l.create({data:n,layer:e.div,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||(0,i.getDefaultSetting)("imageResourcesPath"),renderInteractiveForms:e.renderInteractiveForms||!1,svgFactory:new i.DOMSVGFactory});a.isRenderable&&e.div.appendChild(a.render())}}}},{key:"update",value:function(e){for(var t=0,r=e.annotations.length;t<r;t++){var n=e.annotations[t],a=e.div.querySelector('[data-annotation-id="'+n.id+'"]');a&&i.CustomStyle.setProp("transform",a,"matrix("+e.viewport.transform.join(",")+")")}e.div.removeAttribute("hidden")}}]),e}();t.AnnotationLayer=R},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=void 0;var n=r(0),i=r(15),a=function(){var e=/\S/,t=["left: ",0,"px; top: ",0,"px; font-size: ",0,"px; font-family: ","",";"];function r(e){if(!e._canceled){var t=e._textDivs,r=e._capability,n=t.length;if(n>1e5){e._renderingDone=!0,r.resolve();return}if(!e._textContentStream)for(var i=0;i<n;i++)e._layoutText(t[i]);e._renderingDone=!0,r.resolve()}}function a(e,t){t.sort(function(e,t){return e.x1-t.x1||e.index-t.index});var r=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];t.forEach(function(e){for(var t,n=0;n<r.length&&r[n].end<=e.y1;)n++;for(var i=r.length-1;i>=0&&r[i].start>=e.y2;)i--;var a,o,s,c,l=-1/0;for(s=n;s<=i;s++)(t=(o=(a=r[s]).boundary).x2>e.x1?o.index>e.index?o.x1New:e.x1:void 0===o.x2New?(o.x2+e.x1)/2:o.x2New)>l&&(l=t);for(e.x1New=l,s=n;s<=i;s++)void 0===(o=(a=r[s]).boundary).x2New?o.x2>e.x1?o.index>e.index&&(o.x2New=o.x2):o.x2New=l:o.x2New>l&&(o.x2New=Math.max(l,o.x2));var u=[],d=null;for(s=n;s<=i;s++){var h=(o=(a=r[s]).boundary).x2>e.x2?o:e;d===h?u[u.length-1].end=a.end:(u.push({start:a.start,end:a.end,boundary:h}),d=h)}for(r[n].start<e.y1&&(u[0].start=e.y1,u.unshift({start:r[n].start,end:e.y1,boundary:r[n].boundary})),e.y2<r[i].end&&(u[u.length-1].end=e.y2,u.push({start:e.y2,end:r[i].end,boundary:r[i].boundary})),s=n;s<=i;s++)if(void 0===(o=(a=r[s]).boundary).x2New){var f=!1;for(c=n-1;!f&&c>=0&&r[c].start>=o.y1;c--)f=r[c].boundary===o;for(c=i+1;!f&&c<r.length&&r[c].end<=o.y2;c++)f=r[c].boundary===o;for(c=0;!f&&c<u.length;c++)f=u[c].boundary===o;f||(o.x2New=l)}Array.prototype.splice.apply(r,[n,i-n+1].concat(u))}),r.forEach(function(t){var r=t.boundary;void 0===r.x2New&&(r.x2New=Math.max(e,r.x2))})}function o(e){var t=e.textContent,r=e.textContentStream,i=e.container,a=e.viewport,o=e.textDivs,s=e.textContentItemsStr,c=e.enhanceTextSelection;this._textContent=t,this._textContentStream=r,this._container=i,this._viewport=a,this._textDivs=o||[],this._textContentItemsStr=s||[],this._enhanceTextSelection=!!c,this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,n.createPromiseCapability)(),this._renderTimer=null,this._bounds=[]}return o.prototype={get promise(){return this._capability.promise},cancel:function(){this._reader&&(this._reader.cancel(new n.AbortException("text layer task cancelled")),this._reader=null),this._canceled=!0,null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject("canceled")},_processItems:function(r,a){for(var o=0,s=r.length;o<s;o++)this._textContentItemsStr.push(r[o].str),function(r,a,o){var s=document.createElement("div"),c={style:null,angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(r._textDivs.push(s),p=a.str,!e.test(p)){c.isWhitespace=!0,r._textDivProperties.set(s,c);return}var l=n.Util.transform(r._viewport.transform,a.transform),u=Math.atan2(l[1],l[0]),d=o[a.fontName];d.vertical&&(u+=Math.PI/2);var h=Math.sqrt(l[2]*l[2]+l[3]*l[3]),f=h;if(d.ascent?f=d.ascent*f:d.descent&&(f=(1+d.descent)*f),0===u?(g=l[4],m=l[5]-f):(g=l[4]+f*Math.sin(u),m=l[5]-f*Math.cos(u)),t[1]=g,t[3]=m,t[5]=h,t[7]=d.fontFamily,c.style=t.join(""),s.setAttribute("style",c.style),s.textContent=a.str,(0,i.getDefaultSetting)("pdfBug")&&(s.dataset.fontName=a.fontName),0!==u&&(c.angle=180/Math.PI*u),a.str.length>1&&(d.vertical?c.canvasWidth=a.height*r._viewport.scale:c.canvasWidth=a.width*r._viewport.scale),r._textDivProperties.set(s,c),r._textContentStream&&r._layoutText(s),r._enhanceTextSelection){var p,g,m,b,v,y=1,_=0;0!==u&&(y=Math.cos(u),_=Math.sin(u));var A=(d.vertical?a.height:a.width)*r._viewport.scale;0!==u?(b=[y,_,-_,y,g,m],v=n.Util.getAxialAlignedBoundingBox([0,0,A,h],b)):v=[g,m,g+A,m+h],r._bounds.push({left:v[0],top:v[1],right:v[2],bottom:v[3],div:s,size:[A,h],m:b})}}(this,r[o],a)},_layoutText:function(e){var t=this._container,r=this._textDivProperties.get(e);if(!r.isWhitespace){var n=e.style.fontSize,a=e.style.fontFamily;(n!==this._layoutTextLastFontSize||a!==this._layoutTextLastFontFamily)&&(this._layoutTextCtx.font=n+" "+a,this._lastFontSize=n,this._lastFontFamily=a);var o=this._layoutTextCtx.measureText(e.textContent).width,s="";0!==r.canvasWidth&&o>0&&(r.scale=r.canvasWidth/o,s="scaleX("+r.scale+")"),0!==r.angle&&(s="rotate("+r.angle+"deg) "+s),""!==s&&(r.originalTransform=s,i.CustomStyle.setProp("transform",e,s)),this._textDivProperties.set(e,r),t.appendChild(e)}},_render:function(e){var t=this,i=(0,n.createPromiseCapability)(),a=Object.create(null),o=document.createElement("canvas");if(o.mozOpaque=!0,this._layoutTextCtx=o.getContext("2d",{alpha:!1}),this._textContent){var s=this._textContent.items,c=this._textContent.styles;this._processItems(s,c),i.resolve()}else if(this._textContentStream)this._reader=this._textContentStream.getReader(),function e(){t._reader.read().then(function(r){var o=r.value;if(r.done){i.resolve();return}n.Util.extendObj(a,o.styles),t._processItems(o.items,a),e()},i.reject)}();else throw Error('Neither "textContent" nor "textContentStream" parameters specified.');i.promise.then(function(){a=null,e?t._renderTimer=setTimeout(function(){r(t),t._renderTimer=null},e):r(t)},this._capability.reject)},expandTextDivs:function(e){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(function(e){for(var t,r,i,o,s=e._bounds,c=e._viewport,l=(t=c.width,r=c.height,a(t,i=s.map(function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}})),o=Array(s.length),i.forEach(function(e){o[e.index]={left:e.x1New,top:0,right:e.x2New,bottom:0}}),s.map(function(e,r){var n=o[r],a=i[r];a.x1=e.top,a.y1=t-n.right,a.x2=e.bottom,a.y2=t-n.left,a.index=r,a.x1New=void 0,a.x2New=void 0}),a(r,i),i.forEach(function(e){var t=e.index;o[t].top=e.x1New,o[t].bottom=e.x2New}),o),u=0;u<l.length;u++){var d=s[u].div,h=e._textDivProperties.get(d);if(0===h.angle){h.paddingLeft=s[u].left-l[u].left,h.paddingTop=s[u].top-l[u].top,h.paddingRight=l[u].right-s[u].right,h.paddingBottom=l[u].bottom-s[u].bottom,e._textDivProperties.set(d,h);continue}var f=l[u],p=s[u],g=p.m,m=g[0],b=g[1],v=[[0,0],[0,p.size[1]],[p.size[0],0],p.size],y=new Float64Array(64);v.forEach(function(e,t){var r=n.Util.applyTransform(e,g);y[t+0]=m&&(f.left-r[0])/m,y[t+4]=b&&(f.top-r[1])/b,y[t+8]=m&&(f.right-r[0])/m,y[t+12]=b&&(f.bottom-r[1])/b,y[t+16]=b&&-((f.left-r[0])/b),y[t+20]=m&&(f.top-r[1])/m,y[t+24]=b&&-((f.right-r[0])/b),y[t+28]=m&&(f.bottom-r[1])/m,y[t+32]=m&&-((f.left-r[0])/m),y[t+36]=b&&-((f.top-r[1])/b),y[t+40]=m&&-((f.right-r[0])/m),y[t+44]=b&&-((f.bottom-r[1])/b),y[t+48]=b&&(f.left-r[0])/b,y[t+52]=m&&-((f.top-r[1])/m),y[t+56]=b&&(f.right-r[0])/b,y[t+60]=m&&-((f.bottom-r[1])/m)});var _=function(e,t,r){for(var n=0,i=0;i<r;i++){var a=e[t++];a>0&&(n=n?Math.min(a,n):a)}return n},A=1+Math.min(Math.abs(m),Math.abs(b));h.paddingLeft=_(y,32,16)/A,h.paddingTop=_(y,48,16)/A,h.paddingRight=_(y,0,16)/A,h.paddingBottom=_(y,16,16)/A,e._textDivProperties.set(d,h)}}(this),this._bounds=null);for(var t=0,r=this._textDivs.length;t<r;t++){var o=this._textDivs[t],s=this._textDivProperties.get(o);if(!s.isWhitespace){if(e){var c="",l="";1!==s.scale&&(c="scaleX("+s.scale+")"),0!==s.angle&&(c="rotate("+s.angle+"deg) "+c),0!==s.paddingLeft&&(l+=" padding-left: "+s.paddingLeft/s.scale+"px;",c+=" translateX("+-s.paddingLeft/s.scale+"px)"),0!==s.paddingTop&&(l+=" padding-top: "+s.paddingTop+"px;",c+=" translateY("+-s.paddingTop+"px)"),0!==s.paddingRight&&(l+=" padding-right: "+s.paddingRight/s.scale+"px;"),0!==s.paddingBottom&&(l+=" padding-bottom: "+s.paddingBottom+"px;"),""!==l&&o.setAttribute("style",s.style+l),""!==c&&i.CustomStyle.setProp("transform",o,c)}else o.style.padding=0,i.CustomStyle.setProp("transform",o,s.originalTransform||"")}}}}},function(e){var t=new o({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t}}();t.renderTextLayer=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var i=n(0),a=n(15),o=function(){throw Error("Not implemented: SVGGraphics")},s="normal",c="#000000",l=function(){for(var e=new Uint8Array([137,80,78,71,13,10,26,10]),t=new Int32Array(256),n=0;n<256;n++){for(var a=n,o=0;o<8;o++)a=1&a?0xedb88320^a>>1&0x7fffffff:a>>1&0x7fffffff;t[n]=a}function s(e,r,n,i){var a=i,o=r.length;n[a]=o>>24&255,n[a+1]=o>>16&255,n[a+2]=o>>8&255,n[a+3]=255&o,n[a+=4]=255&e.charCodeAt(0),n[a+1]=255&e.charCodeAt(1),n[a+2]=255&e.charCodeAt(2),n[a+3]=255&e.charCodeAt(3),a+=4,n.set(r,a);var s=function(e,r,n){for(var i=-1,a=r;a<n;a++){var o=t[(i^e[a])&255];i=i>>>8^o}return -1^i}(n,i+4,a+=r.length);n[a]=s>>24&255,n[a+1]=s>>16&255,n[a+2]=s>>8&255,n[a+3]=255&s}function c(e){var t=e.length,r=Math.ceil(t/65535),n=new Uint8Array(2+t+5*r+4),i=0;n[i++]=120,n[i++]=156;for(var a=0;t>65535;)n[i++]=0,n[i++]=255,n[i++]=255,n[i++]=0,n[i++]=0,n.set(e.subarray(a,a+65535),i),i+=65535,a+=65535,t-=65535;n[i++]=1,n[i++]=255&t,n[i++]=t>>8&255,n[i++]=255&~t,n[i++]=(65535&~t)>>8&255,n.set(e.subarray(a),i),i+=e.length-a;var o=function(e,t,r){for(var n=1,i=0,a=0;a<r;++a)i=(i+(n=(n+(255&e[a]))%65521))%65521;return i<<16|n}(e,0,e.length);return n[i++]=o>>24&255,n[i++]=o>>16&255,n[i++]=o>>8&255,n[i++]=255&o,n}return function(t,n){var a=void 0===t.kind?i.ImageKind.GRAYSCALE_1BPP:t.kind;return function(t,n,a){var o,l,u,d,h,f=t.width,p=t.height,g=t.data;switch(n){case i.ImageKind.GRAYSCALE_1BPP:l=0,o=1,u=f+7>>3;break;case i.ImageKind.RGB_24BPP:l=2,o=8,u=3*f;break;case i.ImageKind.RGBA_32BPP:l=6,o=8,u=4*f;break;default:throw Error("invalid format")}var m=new Uint8Array((1+u)*p),b=0,v=0;for(d=0;d<p;++d)m[b++]=0,m.set(g.subarray(v,v+u),b),v+=u,b+=u;if(n===i.ImageKind.GRAYSCALE_1BPP)for(d=0,b=0;d<p;d++)for(b++,h=0;h<u;h++)m[b++]^=255;var y=new Uint8Array([f>>24&255,f>>16&255,f>>8&255,255&f,p>>24&255,p>>16&255,p>>8&255,255&p,o,l,0,0,0]),_=function(e){if(!(0,i.isNodeJS)())return c(e);try{parseInt(process.versions.node)>=8?t=e:t=new Buffer(e);var t,n=r(74075).deflateSync(t,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(e){(0,i.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return c(e)}(m),A=new Uint8Array(e.length+36+y.length+_.length),x=0;return A.set(e,x),s("IHDR",y,A,x+=e.length),s("IDATA",_,A,x+=12+y.length),x+=12+_.length,s("IEND",new Uint8Array(0),A,x),(0,i.createObjectURL)(A,"image/png",a)}(t,a,n)}}(),u=function(){function e(){this.fontSizeScale=1,this.fontWeight=s,this.fontSize=0,this.textMatrix=i.IDENTITY_MATRIX,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=c,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}();t.SVGGraphics=o=function(){function e(e){if(Number.isInteger(e))return e.toString();var t=e.toFixed(10),r=t.length-1;if("0"!==t[r])return t;do r--;while("0"===t[r]);return t.substr(0,"."===t[r]?r:r+1)}function t(t){if(0===t[4]&&0===t[5]){if(0===t[1]&&0===t[2])return 1===t[0]&&1===t[3]?"":"scale("+e(t[0])+" "+e(t[3])+")";if(t[0]===t[3]&&t[1]===-t[2])return"rotate("+e(180*Math.acos(t[0])/Math.PI)+")"}else if(1===t[0]&&0===t[1]&&0===t[2]&&1===t[3])return"translate("+e(t[4])+" "+e(t[5])+")";return"matrix("+e(t[0])+" "+e(t[1])+" "+e(t[2])+" "+e(t[3])+" "+e(t[4])+" "+e(t[5])+")"}function r(e,t,r){this.svgFactory=new a.DOMSVGFactory,this.current=new u,this.transformMatrix=i.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=e,this.objs=t,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!r}var n="http://www.w3.org/1999/xlink",o=["butt","round","square"],d=["miter","round","bevel"],h=0,f=0;return r.prototype={save:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()},restore:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null},group:function(e){this.save(),this.executeOpTree(e),this.restore()},loadDependencies:function(e){for(var t=this,r=e.fnArray,n=r.length,a=e.argsArray,o=0;o<n;o++)if(i.OPS.dependency===r[o])for(var s=a[o],c=0,l=s.length;c<l;c++){var u,d=s[c];u=new Promise("g_"===d.substring(0,2)?function(e){t.commonObjs.get(d,e)}:function(e){t.objs.get(d,e)}),this.current.dependencies.push(u)}return Promise.all(this.current.dependencies)},transform:function(e,t,r,n,a,o){this.transformMatrix=i.Util.transform(this.transformMatrix,[e,t,r,n,a,o]),this.tgrp=null},getSVG:function(e,t){var r=this;this.viewport=t;var n=this._initialize(t);return this.loadDependencies(e).then(function(){r.transformMatrix=i.IDENTITY_MATRIX;var t=r.convertOpList(e);return r.executeOpTree(t),n})},convertOpList:function(e){var t=e.argsArray,r=e.fnArray,n=r.length,a=[],o=[];for(var s in i.OPS)a[i.OPS[s]]=s;for(var c=0;c<n;c++){var l=r[c];o.push({fnId:l,fn:a[l],args:t[c]})}return function(e){for(var t=[],r=[],n=e.length,i=0;i<n;i++){if("save"===e[i].fn){t.push({fnId:92,fn:"group",items:[]}),r.push(t),t=t[t.length-1].items;continue}"restore"===e[i].fn?t=r.pop():t.push(e[i])}return t}(o)},executeOpTree:function(e){for(var t=e.length,r=0;r<t;r++){var n=e[r].fn,a=e[r].fnId,o=e[r].args;switch(0|a){case i.OPS.beginText:this.beginText();break;case i.OPS.setLeading:this.setLeading(o);break;case i.OPS.setLeadingMoveText:this.setLeadingMoveText(o[0],o[1]);break;case i.OPS.setFont:this.setFont(o);break;case i.OPS.showText:case i.OPS.showSpacedText:this.showText(o[0]);break;case i.OPS.endText:this.endText();break;case i.OPS.moveText:this.moveText(o[0],o[1]);break;case i.OPS.setCharSpacing:this.setCharSpacing(o[0]);break;case i.OPS.setWordSpacing:this.setWordSpacing(o[0]);break;case i.OPS.setHScale:this.setHScale(o[0]);break;case i.OPS.setTextMatrix:this.setTextMatrix(o[0],o[1],o[2],o[3],o[4],o[5]);break;case i.OPS.setTextRise:this.setTextRise(o[0]);break;case i.OPS.setLineWidth:this.setLineWidth(o[0]);break;case i.OPS.setLineJoin:this.setLineJoin(o[0]);break;case i.OPS.setLineCap:this.setLineCap(o[0]);break;case i.OPS.setMiterLimit:this.setMiterLimit(o[0]);break;case i.OPS.setFillRGBColor:this.setFillRGBColor(o[0],o[1],o[2]);break;case i.OPS.setStrokeRGBColor:this.setStrokeRGBColor(o[0],o[1],o[2]);break;case i.OPS.setDash:this.setDash(o[0],o[1]);break;case i.OPS.setGState:this.setGState(o[0]);break;case i.OPS.fill:this.fill();break;case i.OPS.eoFill:this.eoFill();break;case i.OPS.stroke:this.stroke();break;case i.OPS.fillStroke:this.fillStroke();break;case i.OPS.eoFillStroke:this.eoFillStroke();break;case i.OPS.clip:this.clip("nonzero");break;case i.OPS.eoClip:this.clip("evenodd");break;case i.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case i.OPS.paintJpegXObject:this.paintJpegXObject(o[0],o[1],o[2]);break;case i.OPS.paintImageXObject:this.paintImageXObject(o[0]);break;case i.OPS.paintInlineImageXObject:this.paintInlineImageXObject(o[0]);break;case i.OPS.paintImageMaskXObject:this.paintImageMaskXObject(o[0]);break;case i.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(o[0],o[1]);break;case i.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case i.OPS.closePath:this.closePath();break;case i.OPS.closeStroke:this.closeStroke();break;case i.OPS.closeFillStroke:this.closeFillStroke();break;case i.OPS.nextLine:this.nextLine();break;case i.OPS.transform:this.transform(o[0],o[1],o[2],o[3],o[4],o[5]);break;case i.OPS.constructPath:this.constructPath(o[0],o[1]);break;case i.OPS.endPath:this.endPath();break;case 92:this.group(e[r].items);break;default:(0,i.warn)("Unimplemented operator "+n)}}},setWordSpacing:function(e){this.current.wordSpacing=e},setCharSpacing:function(e){this.current.charSpacing=e},nextLine:function(){this.moveText(0,this.current.leading)},setTextMatrix:function(t,r,n,i,a,o){var s=this.current;this.current.textMatrix=this.current.lineMatrix=[t,r,n,i,a,o],this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,s.xcoords=[],s.tspan=this.svgFactory.createElement("svg:tspan"),s.tspan.setAttributeNS(null,"font-family",s.fontFamily),s.tspan.setAttributeNS(null,"font-size",e(s.fontSize)+"px"),s.tspan.setAttributeNS(null,"y",e(-s.y)),s.txtElement=this.svgFactory.createElement("svg:text"),s.txtElement.appendChild(s.tspan)},beginText:function(){this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,this.current.textMatrix=i.IDENTITY_MATRIX,this.current.lineMatrix=i.IDENTITY_MATRIX,this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.txtElement=this.svgFactory.createElement("svg:text"),this.current.txtgrp=this.svgFactory.createElement("svg:g"),this.current.xcoords=[]},moveText:function(t,r){var n=this.current;this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=r,n.xcoords=[],n.tspan=this.svgFactory.createElement("svg:tspan"),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size",e(n.fontSize)+"px"),n.tspan.setAttributeNS(null,"y",e(-n.y))},showText:function(r){var n=this.current,a=n.font,o=n.fontSize;if(0!==o){var l,u=n.charSpacing,d=n.wordSpacing,h=n.fontDirection,f=n.textHScale*h,p=r.length,g=a.vertical,m=o*n.fontMatrix[0],b=0;for(l=0;l<p;++l){var v=r[l];if(null===v){b+=h*d;continue}if((0,i.isNum)(v)){b+=-v*o*.001;continue}var y=v.width,_=v.fontChar,A=y*m+((v.isSpace?d:0)+u)*h;if(!v.isInFont&&!a.missingFile){b+=A;continue}n.xcoords.push(n.x+b*f),n.tspan.textContent+=_,b+=A}g?n.y-=b*f:n.x+=b*f,n.tspan.setAttributeNS(null,"x",n.xcoords.map(e).join(" ")),n.tspan.setAttributeNS(null,"y",e(-n.y)),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size",e(n.fontSize)+"px"),"normal"!==n.fontStyle&&n.tspan.setAttributeNS(null,"font-style",n.fontStyle),n.fontWeight!==s&&n.tspan.setAttributeNS(null,"font-weight",n.fontWeight),n.fillColor!==c&&n.tspan.setAttributeNS(null,"fill",n.fillColor);var x=n.textMatrix;0!==n.textRise&&(x=x.slice(),x[5]+=n.textRise),n.txtElement.setAttributeNS(null,"transform",t(x)+" scale(1, -1)"),n.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.txtElement.appendChild(n.tspan),n.txtgrp.appendChild(n.txtElement),this._ensureTransformGroup().appendChild(n.txtElement)}},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},addFontStyle:function(e){this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var t=(0,i.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'+e.loadedName+'"; src: url('+t+"); }\n"},setFont:function(t){var r=this.current,n=this.commonObjs.get(t[0]),a=t[1];this.current.font=n,this.embedFonts&&n.data&&!this.embeddedFonts[n.loadedName]&&(this.addFontStyle(n),this.embeddedFonts[n.loadedName]=n),r.fontMatrix=n.fontMatrix?n.fontMatrix:i.FONT_IDENTITY_MATRIX;var o=n.black?n.bold?"bolder":"bold":n.bold?"bold":"normal",s=n.italic?"italic":"normal";a<0?(a=-a,r.fontDirection=-1):r.fontDirection=1,r.fontSize=a,r.fontFamily=n.loadedName,r.fontWeight=o,r.fontStyle=s,r.tspan=this.svgFactory.createElement("svg:tspan"),r.tspan.setAttributeNS(null,"y",e(-r.y)),r.xcoords=[]},endText:function(){},setLineWidth:function(e){this.current.lineWidth=e},setLineCap:function(e){this.current.lineCap=o[e]},setLineJoin:function(e){this.current.lineJoin=d[e]},setMiterLimit:function(e){this.current.miterLimit=e},setStrokeAlpha:function(e){this.current.strokeAlpha=e},setStrokeRGBColor:function(e,t,r){var n=i.Util.makeCssRgb(e,t,r);this.current.strokeColor=n},setFillAlpha:function(e){this.current.fillAlpha=e},setFillRGBColor:function(e,t,r){var n=i.Util.makeCssRgb(e,t,r);this.current.fillColor=n,this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[]},setDash:function(e,t){this.current.dashArray=e,this.current.dashPhase=t},constructPath:function(t,r){var n=this.current,a=n.x,o=n.y;n.path=this.svgFactory.createElement("svg:path");for(var s=[],c=t.length,l=0,u=0;l<c;l++)switch(0|t[l]){case i.OPS.rectangle:a=r[u++],o=r[u++];var d=r[u++],h=r[u++],f=a+d,p=o+h;s.push("M",e(a),e(o),"L",e(f),e(o),"L",e(f),e(p),"L",e(a),e(p),"Z");break;case i.OPS.moveTo:a=r[u++],o=r[u++],s.push("M",e(a),e(o));break;case i.OPS.lineTo:a=r[u++],o=r[u++],s.push("L",e(a),e(o));break;case i.OPS.curveTo:a=r[u+4],o=r[u+5],s.push("C",e(r[u]),e(r[u+1]),e(r[u+2]),e(r[u+3]),e(a),e(o)),u+=6;break;case i.OPS.curveTo2:a=r[u+2],o=r[u+3],s.push("C",e(a),e(o),e(r[u]),e(r[u+1]),e(r[u+2]),e(r[u+3])),u+=4;break;case i.OPS.curveTo3:a=r[u+2],o=r[u+3],s.push("C",e(r[u]),e(r[u+1]),e(a),e(o),e(a),e(o)),u+=4;break;case i.OPS.closePath:s.push("Z")}n.path.setAttributeNS(null,"d",s.join(" ")),n.path.setAttributeNS(null,"fill","none"),this._ensureTransformGroup().appendChild(n.path),n.element=n.path,n.setCurrentPoint(a,o)},endPath:function(){if(this.pendingClip){var e=this.current,r="clippath"+h;h++;var n=this.svgFactory.createElement("svg:clipPath");n.setAttributeNS(null,"id",r),n.setAttributeNS(null,"transform",t(this.transformMatrix));var i=e.element.cloneNode();"evenodd"===this.pendingClip?i.setAttributeNS(null,"clip-rule","evenodd"):i.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,n.appendChild(i),this.defs.appendChild(n),e.activeClipUrl&&(e.clipGroup=null,this.extraStack.forEach(function(e){e.clipGroup=null})),e.activeClipUrl="url(#"+r+")",this.tgrp=null}},clip:function(e){this.pendingClip=e},closePath:function(){var e=this.current,t=e.path.getAttributeNS(null,"d");t+="Z",e.path.setAttributeNS(null,"d",t)},setLeading:function(e){this.current.leading=-e},setTextRise:function(e){this.current.textRise=e},setHScale:function(e){this.current.textHScale=e/100},setGState:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],a=n[0],o=n[1];switch(a){case"LW":this.setLineWidth(o);break;case"LC":this.setLineCap(o);break;case"LJ":this.setLineJoin(o);break;case"ML":this.setMiterLimit(o);break;case"D":this.setDash(o[0],o[1]);break;case"Font":this.setFont(o);break;case"CA":this.setStrokeAlpha(o);break;case"ca":this.setFillAlpha(o);break;default:(0,i.warn)("Unimplemented graphic state "+a)}}},fill:function(){var e=this.current;e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha)},stroke:function(){var t=this.current;t.element.setAttributeNS(null,"stroke",t.strokeColor),t.element.setAttributeNS(null,"stroke-opacity",t.strokeAlpha),t.element.setAttributeNS(null,"stroke-miterlimit",e(t.miterLimit)),t.element.setAttributeNS(null,"stroke-linecap",t.lineCap),t.element.setAttributeNS(null,"stroke-linejoin",t.lineJoin),t.element.setAttributeNS(null,"stroke-width",e(t.lineWidth)+"px"),t.element.setAttributeNS(null,"stroke-dasharray",t.dashArray.map(e).join(" ")),t.element.setAttributeNS(null,"stroke-dashoffset",e(t.dashPhase)+"px"),t.element.setAttributeNS(null,"fill","none")},eoFill:function(){this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()},fillStroke:function(){this.stroke(),this.fill()},eoFillStroke:function(){this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()},closeStroke:function(){this.closePath(),this.stroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},paintSolidColorImageMask:function(){var e=this.current,t=this.svgFactory.createElement("svg:rect");t.setAttributeNS(null,"x","0"),t.setAttributeNS(null,"y","0"),t.setAttributeNS(null,"width","1px"),t.setAttributeNS(null,"height","1px"),t.setAttributeNS(null,"fill",e.fillColor),this._ensureTransformGroup().appendChild(t)},paintJpegXObject:function(t,r,i){var a=this.objs.get(t),o=this.svgFactory.createElement("svg:image");o.setAttributeNS(n,"xlink:href",a.src),o.setAttributeNS(null,"width",e(r)),o.setAttributeNS(null,"height",e(i)),o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y",e(-i)),o.setAttributeNS(null,"transform","scale("+e(1/r)+" "+e(-1/i)+")"),this._ensureTransformGroup().appendChild(o)},paintImageXObject:function(e){var t=this.objs.get(e);if(!t){(0,i.warn)("Dependent image isn't ready yet");return}this.paintInlineImageXObject(t)},paintInlineImageXObject:function(t,r){var i=t.width,a=t.height,o=l(t,this.forceDataSchema),s=this.svgFactory.createElement("svg:rect");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",e(i)),s.setAttributeNS(null,"height",e(a)),this.current.element=s,this.clip("nonzero");var c=this.svgFactory.createElement("svg:image");c.setAttributeNS(n,"xlink:href",o),c.setAttributeNS(null,"x","0"),c.setAttributeNS(null,"y",e(-a)),c.setAttributeNS(null,"width",e(i)+"px"),c.setAttributeNS(null,"height",e(a)+"px"),c.setAttributeNS(null,"transform","scale("+e(1/i)+" "+e(-1/a)+")"),r?r.appendChild(c):this._ensureTransformGroup().appendChild(c)},paintImageMaskXObject:function(t){var r=this.current,n=t.width,i=t.height,a=r.fillColor;r.maskId="mask"+f++;var o=this.svgFactory.createElement("svg:mask");o.setAttributeNS(null,"id",r.maskId);var s=this.svgFactory.createElement("svg:rect");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",e(n)),s.setAttributeNS(null,"height",e(i)),s.setAttributeNS(null,"fill",a),s.setAttributeNS(null,"mask","url(#"+r.maskId+")"),this.defs.appendChild(o),this._ensureTransformGroup().appendChild(s),this.paintInlineImageXObject(t,o)},paintFormXObjectBegin:function(t,r){if(Array.isArray(t)&&6===t.length&&this.transform(t[0],t[1],t[2],t[3],t[4],t[5]),Array.isArray(r)&&4===r.length){var n=r[2]-r[0],i=r[3]-r[1],a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x",r[0]),a.setAttributeNS(null,"y",r[1]),a.setAttributeNS(null,"width",e(n)),a.setAttributeNS(null,"height",e(i)),this.current.element=a,this.clip("nonzero"),this.endPath()}},paintFormXObjectEnd:function(){},_initialize:function(e){var r=this.svgFactory.create(e.width,e.height),n=this.svgFactory.createElement("svg:defs");r.appendChild(n),this.defs=n;var i=this.svgFactory.createElement("svg:g");return i.setAttributeNS(null,"transform",t(e.transform)),r.appendChild(i),this.svg=i,r},_ensureClipGroup:function(){if(!this.current.clipGroup){var e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup},_ensureTransformGroup:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",t(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}},r}(),t.SVGGraphics=o},function(e,t,r){"use strict";var n=r(0),i=r(118),a=r(69),o=r(73),s=r(72),c=r(15),l=r(74);if(n.isNodeJS()){var u=r(124).PDFNodeStream;a.setPDFNetworkStreamClass(u)}else if("undefined"!=typeof Response&&"body"in Response.prototype&&"undefined"!=typeof ReadableStream){var d=r(125).PDFFetchStream;a.setPDFNetworkStreamClass(d)}else{var h=r(126).PDFNetworkStream;a.setPDFNetworkStreamClass(h)}t.PDFJS=i.PDFJS,t.build=a.build,t.version=a.version,t.getDocument=a.getDocument,t.LoopbackPort=a.LoopbackPort,t.PDFDataRangeTransport=a.PDFDataRangeTransport,t.PDFWorker=a.PDFWorker,t.renderTextLayer=o.renderTextLayer,t.AnnotationLayer=s.AnnotationLayer,t.CustomStyle=c.CustomStyle,t.createPromiseCapability=n.createPromiseCapability,t.PasswordResponses=n.PasswordResponses,t.InvalidPDFException=n.InvalidPDFException,t.MissingPDFException=n.MissingPDFException,t.SVGGraphics=l.SVGGraphics,t.NativeImageDecoding=n.NativeImageDecoding,t.UnexpectedResponseException=n.UnexpectedResponseException,t.OPS=n.OPS,t.UNSUPPORTED_FEATURES=n.UNSUPPORTED_FEATURES,t.isValidUrl=c.isValidUrl,t.createValidAbsoluteUrl=n.createValidAbsoluteUrl,t.createObjectURL=n.createObjectURL,t.removeNullCharacters=n.removeNullCharacters,t.shadow=n.shadow,t.createBlob=n.createBlob,t.RenderingCancelledException=c.RenderingCancelledException,t.getFilenameFromUrl=c.getFilenameFromUrl,t.addLinkAttributes=c.addLinkAttributes,t.StatTimer=n.StatTimer},function(e,t,r){"use strict";var n="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};if("undefined"==typeof PDFJS||!PDFJS.compatibilityChecked){var i=r(20),a="undefined"!=typeof navigator&&navigator.userAgent||"",o=/Android/.test(a),s=/Android\s[0-2][^\d]/.test(a),c=/Android\s[0-4][^\d]/.test(a),l=a.indexOf("Chrom")>=0,u=/Chrome\/(39|40)\./.test(a),d=a.indexOf("CriOS")>=0,h=a.indexOf("Trident")>=0,f=/\b(iPad|iPhone|iPod)(?=;)/.test(a),p=a.indexOf("Opera")>=0,g=/Safari\//.test(a)&&!/(Chrome\/|Android\s)/.test(a),m=("undefined"==typeof window?"undefined":n(window))==="object"&&("undefined"==typeof document?"undefined":n(document))==="object";"undefined"==typeof PDFJS&&(i.PDFJS={}),PDFJS.compatibilityChecked=!0,function(){if("undefined"==typeof Uint8ClampedArray&&(i.Uint8ClampedArray=r(77)),"undefined"!=typeof Uint8Array){void 0===Uint8Array.prototype.subarray&&(Uint8Array.prototype.subarray=function(e,t){return new Uint8Array(this.slice(e,t))},Float32Array.prototype.subarray=function(e,t){return new Float32Array(this.slice(e,t))}),"undefined"==typeof Float64Array&&(i.Float64Array=Float32Array);return}function e(e,t){return new s(this.slice(e,t))}function t(e,t){arguments.length<2&&(t=0);for(var r=0,n=e.length;r<n;++r,++t)this[t]=255&e[r]}function a(e,t){this.buffer=e,this.byteLength=e.length,this.length=t,function(e){for(;o<e;)Object.defineProperty(a.prototype,o,function(e){return{get:function(){var t=this.buffer,r=e<<2;return(t[r]|t[r+1]<<8|t[r+2]<<16|t[r+3]<<24)>>>0},set:function(t){var r=this.buffer,n=e<<2;r[n]=255&t,r[n+1]=t>>8&255,r[n+2]=t>>16&255,r[n+3]=t>>>24&255}}}(o)),o++}(this.length)}a.prototype=Object.create(null);var o=0;function s(r){var i,a,o;if("number"==typeof r)for(a=0,i=[];a<r;++a)i[a]=0;else if("slice"in r)i=r.slice(0);else for(a=0,i=[],o=r.length;a<o;++a)i[a]=r[a];return i.subarray=e,i.buffer=i,i.byteLength=i.length,i.set=t,(void 0===r?"undefined":n(r))==="object"&&r.buffer&&(i.buffer=r.buffer),i}i.Uint8Array=s,i.Int8Array=s,i.Int32Array=s,i.Uint16Array=s,i.Float32Array=s,i.Float64Array=s,i.Uint32Array=function(){if(3==arguments.length){if(0!==arguments[1])throw Error("offset !== 0 is not supported");return new a(arguments[0],arguments[2])}return s.apply(this,arguments)}}(),function(){if(m&&window.CanvasPixelArray){var e=window.CanvasPixelArray.prototype;"buffer"in e||(Object.defineProperty(e,"buffer",{get:function(){return this},enumerable:!1,configurable:!0}),Object.defineProperty(e,"byteLength",{get:function(){return this.length},enumerable:!1,configurable:!0}))}}(),i.URL||(i.URL=i.webkitURL),function(){if(void 0!==Object.defineProperty){var e=!0;try{m&&Object.defineProperty(new Image,"id",{value:"test"});var t=function(){};t.prototype={get id(){}},Object.defineProperty(new t,"id",{value:"",configurable:!0,enumerable:!0,writable:!1})}catch(t){e=!1}if(e)return}Object.defineProperty=function(e,t,r){delete e[t],"get"in r&&e.__defineGetter__(t,r.get),"set"in r&&e.__defineSetter__(t,r.set),"value"in r&&(e.__defineSetter__(t,function(e){return this.__defineGetter__(t,function(){return e}),e}),e[t]=r.value)}}(),function(){if("undefined"!=typeof XMLHttpRequest){var e=XMLHttpRequest.prototype,t=new XMLHttpRequest;if("overrideMimeType"in t||Object.defineProperty(e,"overrideMimeType",{value:function(e){}}),!("responseType"in t)){if(Object.defineProperty(e,"responseType",{get:function(){return this._responseType||"text"},set:function(e){("text"===e||"arraybuffer"===e)&&(this._responseType=e,"arraybuffer"===e&&"function"==typeof this.overrideMimeType&&this.overrideMimeType("text/plain; charset=x-user-defined"))}}),"undefined"!=typeof VBArray){Object.defineProperty(e,"response",{get:function(){return"arraybuffer"===this.responseType?new Uint8Array(new VBArray(this.responseBody).toArray()):this.responseText}});return}Object.defineProperty(e,"response",{get:function(){if("arraybuffer"!==this.responseType)return this.responseText;var e,t=this.responseText,r=t.length,n=new Uint8Array(r);for(e=0;e<r;++e)n[e]=255&t.charCodeAt(e);return n.buffer}})}}}(),function(){if(!("btoa"in i)){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.btoa=function(t){var r,n,i="";for(r=0,n=t.length;r<n;r+=3){var a=255&t.charCodeAt(r),o=255&t.charCodeAt(r+1),s=255&t.charCodeAt(r+2),c=a>>2,l=(3&a)<<4|o>>4,u=r+1<n?(15&o)<<2|s>>6:64,d=r+2<n?63&s:64;i+=e.charAt(c)+e.charAt(l)+e.charAt(u)+e.charAt(d)}return i}}}(),"atob"in i||(i.atob=function(e){if((e=e.replace(/=+$/,"")).length%4==1)throw Error("bad atob input");for(var t,r,n=0,i=0,a="";r=e.charAt(i++);~r&&(t=n%4?64*t+r:r,n++%4)&&(a+=String.fromCharCode(255&t>>(-2*n&6))))r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return a}),void 0===Function.prototype.bind&&(Function.prototype.bind=function(e){var t=this,r=Array.prototype.slice.call(arguments,1);return function(){var n=r.concat(Array.prototype.slice.call(arguments));return t.apply(e,n)}}),!m||"dataset"in document.createElement("div")||Object.defineProperty(HTMLElement.prototype,"dataset",{get:function(){if(this._dataset)return this._dataset;for(var e={},t=0,r=this.attributes.length;t<r;t++){var n=this.attributes[t];"data-"===n.name.substring(0,5)&&(e[n.name.substring(5).replace(/\-([a-z])/g,function(e,t){return t.toUpperCase()})]=n.value)}return Object.defineProperty(this,"_dataset",{value:e,writable:!1,enumerable:!1}),e},enumerable:!0}),function(){function e(e,t,r,n){var i=(e.className||"").split(/\s+/g);""===i[0]&&i.shift();var a=i.indexOf(t);return a<0&&r&&i.push(t),a>=0&&n&&i.splice(a,1),e.className=i.join(" "),a>=0}if(!(!m||"classList"in document.createElement("div"))){var t={add:function(t){e(this.element,t,!0,!1)},contains:function(t){return e(this.element,t,!1,!1)},remove:function(t){e(this.element,t,!1,!0)},toggle:function(t){e(this.element,t,!0,!0)}};Object.defineProperty(HTMLElement.prototype,"classList",{get:function(){if(this._classList)return this._classList;var e=Object.create(t,{element:{value:this,writable:!1,enumerable:!0}});return Object.defineProperty(this,"_classList",{value:e,writable:!1,enumerable:!1}),e},enumerable:!0})}}(),function(){if("undefined"!=typeof importScripts&&!("console"in i)){var e={};i.console={log:function(){var e=Array.prototype.slice.call(arguments);i.postMessage({targetName:"main",action:"console_log",data:e})},error:function(){var e=Array.prototype.slice.call(arguments);i.postMessage({targetName:"main",action:"console_error",data:e})},time:function(t){e[t]=Date.now()},timeEnd:function(t){var r=e[t];if(!r)throw Error("Unknown timer name "+t);this.log("Timer:",t,Date.now()-r)}}}}(),function(){if(m){if(!("console"in window)){window.console={log:function(){},error:function(){},warn:function(){}};return}if(!("bind"in console.log)){var e,t,r;console.log=(e=console.log,function(t){return e(t)}),console.error=(t=console.error,function(e){return t(e)}),console.warn=(r=console.warn,function(e){return r(e)})}}}(),p&&document.addEventListener("click",function(e){(function e(t){return t.disabled||t.parentNode&&e(t.parentNode)})(e.target)&&e.stopPropagation()},!0),(h||d)&&(PDFJS.disableCreateObjectURL=!0),"undefined"==typeof navigator||"language"in navigator||(PDFJS.locale=navigator.userLanguage||"en-US"),(g||s||u||f)&&(PDFJS.disableRange=!0,PDFJS.disableStream=!0),m&&(!history.pushState||s)&&(PDFJS.disableHistory=!0),function(){if(m){if(window.CanvasPixelArray)"function"!=typeof window.CanvasPixelArray.prototype.set&&(window.CanvasPixelArray.prototype.set=function(e){for(var t=0,r=this.length;t<r;t++)this[t]=e[t]});else{var e,t=!1;if(l?t=(e=a.match(/Chrom(e|ium)\/([0-9]+)\./))&&21>parseInt(e[2]):o?t=c:g&&(t=(e=a.match(/Version\/([0-9]+)\.([0-9]+)\.([0-9]+) Safari\//))&&6>parseInt(e[1])),t){var r=window.CanvasRenderingContext2D.prototype,n=r.createImageData;r.createImageData=function(e,t){var r=n.call(this,e,t);return r.data.set=function(e){for(var t=0,r=this.length;t<r;t++)this[t]=e[t]},r},r=null}}}}(),function(){function e(){window.requestAnimationFrame=function(e){return window.setTimeout(e,20)},window.cancelAnimationFrame=function(e){window.clearTimeout(e)}}if(m){if(f){e();return}!("requestAnimationFrame"in window)&&(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame,window.requestAnimationFrame||e())}}(),(f||o)&&(PDFJS.maxCanvasPixels=5242880),m&&h&&window.parent!==window&&(PDFJS.disableFullscreen=!0),!m||"currentScript"in document||Object.defineProperty(document,"currentScript",{get:function(){var e=document.getElementsByTagName("script");return e[e.length-1]},enumerable:!0,configurable:!0}),function(){if(m){var e=document.createElement("input");try{e.type="number"}catch(n){var t=e.constructor.prototype,r=Object.getOwnPropertyDescriptor(t,"type");Object.defineProperty(t,"type",{get:function(){return r.get.call(this)},set:function(e){r.set.call(this,"number"===e?"text":e)},enumerable:!0,configurable:!0})}}}(),function(){if(m&&document.attachEvent){var e=document.constructor.prototype,t=Object.getOwnPropertyDescriptor(e,"readyState");Object.defineProperty(e,"readyState",{get:function(){var e=t.get.call(this);return"interactive"===e?"loading":e},set:function(e){t.set.call(this,e)},enumerable:!0,configurable:!0})}}(),m&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),Number.isNaN||(Number.isNaN=r(89)),Number.isInteger||(Number.isInteger=r(91)),i.Promise||(i.Promise=r(94)),i.WeakMap||(i.WeakMap=r(104)),function(){var e=!1;try{if("function"==typeof URL&&"object"===n(URL.prototype)&&"origin"in URL.prototype){var t=new URL("b","http://a");t.pathname="c%20d",e="http://a/c%20d"===t.href}}catch(e){}if(!e){var r=Object.create(null);r.ftp=21,r.file=0,r.gopher=70,r.http=80,r.https=443,r.ws=80,r.wss=443;var a=Object.create(null);a["%2e"]=".",a[".%2e"]="..",a["%2e."]="..",a["%2e%2e"]="..";var o,s=/[a-zA-Z]/,c=/[a-zA-Z0-9\+\-\.]/;v.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var l="";return(""!==this._username||null!==this._password)&&(l=this._username+(null!==this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+l+this.host:"")+this.pathname+this._query+this._fragment},set href(value){b.call(this),m.call(this,value)},get protocol(){return this._scheme+":"},set protocol(value){if(this._isInvalid)return;m.call(this,value+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"host")},get hostname(){return this._host},set hostname(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"hostname")},get port(){return this._port},set port(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(value){if(this._isInvalid||!this._isRelative)return;this._path=[],m.call(this,value,"relative path start")},get search(){return this._isInvalid||!this._query||"?"===this._query?"":this._query},set search(value){if(this._isInvalid||!this._isRelative)return;this._query="?","?"===value[0]&&(value=value.slice(1)),m.call(this,value,"query")},get hash(){return this._isInvalid||!this._fragment||"#"===this._fragment?"":this._fragment},set hash(value){if(this._isInvalid)return;this._fragment="#","#"===value[0]&&(value=value.slice(1)),m.call(this,value,"fragment")},get origin(){var u;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null";case"blob":try{return new v(this._schemeData).origin||"null"}catch(e){}return"null"}if(!(u=this.host))return"";return this._scheme+"://"+u}};var d=i.URL;d&&(v.createObjectURL=function(e){return d.createObjectURL.apply(d,arguments)},v.revokeObjectURL=function(e){d.revokeObjectURL(e)}),i.URL=v}function h(e){return void 0!==r[e]}function f(){b.call(this),this._isInvalid=!0}function p(e){return""===e&&f.call(this),e.toLowerCase()}function g(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function m(e,t,n){function i(e){v.push(e)}var l=t||"scheme start",u=0,d="",m=!1,b=!1,v=[];i:for(;(e[u-1]!==o||0===u)&&!this._isInvalid;){var y,_=e[u];switch(l){case"scheme start":if(_&&s.test(_))d+=_.toLowerCase(),l="scheme";else if(t){i("Invalid scheme.");break i}else{d="",l="no scheme";continue}break;case"scheme":if(_&&c.test(_))d+=_.toLowerCase();else if(":"===_){if(this._scheme=d,d="",t)break i;h(this._scheme)&&(this._isRelative=!0),l="file"===this._scheme?"relative":this._isRelative&&n&&n._scheme===this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}else if(t){if(_===o)break i;i("Code point not allowed in scheme: "+_);break i}else{d="",u=0,l="no scheme";continue}break;case"scheme data":"?"===_?(this._query="?",l="query"):"#"===_?(this._fragment="#",l="fragment"):_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._schemeData+=g(_));break;case"no scheme":if(n&&h(n._scheme)){l="relative";continue}i("Missing scheme."),f.call(this);break;case"relative or authority":if("/"===_&&"/"===e[u+1])l="authority ignore slashes";else{i("Expected /, got: "+_),l="relative";continue}break;case"relative":if(this._isRelative=!0,"file"!==this._scheme&&(this._scheme=n._scheme),_===o){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break i}if("/"===_||"\\"===_)"\\"===_&&i("\\ is an invalid code point."),l="relative slash";else if("?"===_)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,l="query";else if("#"===_)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,l="fragment";else{var A=e[u+1],x=e[u+2];"file"===this._scheme&&s.test(_)&&(":"===A||"|"===A)&&(x===o||"/"===x||"\\"===x||"?"===x||"#"===x)||(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),l="relative path";continue}break;case"relative slash":if("/"===_||"\\"===_)"\\"===_&&i("\\ is an invalid code point."),l="file"===this._scheme?"file host":"authority ignore slashes";else{"file"!==this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),l="relative path";continue}break;case"authority first slash":if("/"===_)l="authority second slash";else{i("Expected '/', got: "+_),l="authority ignore slashes";continue}break;case"authority second slash":if(l="authority ignore slashes","/"!==_){i("Expected '/', got: "+_);continue}break;case"authority ignore slashes":if("/"!==_&&"\\"!==_){l="authority";continue}i("Expected authority, got: "+_);break;case"authority":if("@"===_){m&&(i("@ already seen."),d+="%40"),m=!0;for(var S=0;S<d.length;S++){var w=d[S];if(" "===w||"\n"===w||"\r"===w){i("Invalid whitespace in authority.");continue}if(":"===w&&null===this._password){this._password="";continue}var T=g(w);null!==this._password?this._password+=T:this._username+=T}d=""}else if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){u-=d.length,d="",l="host";continue}else d+=_;break;case"file host":if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){2===d.length&&s.test(d[0])&&(":"===d[1]||"|"===d[1])?l="relative path":(0===d.length||(this._host=p.call(this,d),d=""),l="relative path start");continue}" "===_||"\n"===_||"\r"===_?i("Invalid whitespace in file host."):d+=_;break;case"host":case"hostname":if(":"!==_||b){if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){if(this._host=p.call(this,d),d="",l="relative path start",t)break i;continue}" "!==_&&"\n"!==_&&"\r"!==_?("["===_?b=!0:"]"===_&&(b=!1),d+=_):i("Invalid code point in host/hostname: "+_)}else if(this._host=p.call(this,d),d="",l="port","hostname"===t)break i;break;case"port":if(/[0-9]/.test(_))d+=_;else if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_||t){if(""!==d){var D=parseInt(d,10);D!==r[this._scheme]&&(this._port=D+""),d=""}if(t)break i;l="relative path start";continue}else" "===_||"\n"===_||"\r"===_?i("Invalid code point in port: "+_):f.call(this);break;case"relative path start":if("\\"===_&&i("'\\' not allowed in path."),l="relative path","/"!==_&&"\\"!==_)continue;break;case"relative path":_!==o&&"/"!==_&&"\\"!==_&&(t||"?"!==_&&"#"!==_)?" "!==_&&"\n"!==_&&"\r"!==_&&(d+=g(_)):("\\"===_&&i("\\ not allowed in relative path."),(y=a[d.toLowerCase()])&&(d=y),".."===d?(this._path.pop(),"/"!==_&&"\\"!==_&&this._path.push("")):"."===d&&"/"!==_&&"\\"!==_?this._path.push(""):"."!==d&&("file"===this._scheme&&0===this._path.length&&2===d.length&&s.test(d[0])&&"|"===d[1]&&(d=d[0]+":"),this._path.push(d)),d="","?"===_?(this._query="?",l="query"):"#"===_&&(this._fragment="#",l="fragment"));break;case"query":t||"#"!==_?_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._query+=function(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}(_)):(this._fragment="#",l="fragment");break;case"fragment":_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._fragment+=_)}u++}}function b(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function v(e,t){void 0===t||t instanceof v||(t=new v(String(t))),this._url=e,b.call(this);var r=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");m.call(this,r,null,t)}}()}},function(e,t,r){"use strict";r(78),e.exports=r(4).Uint8ClampedArray},function(e,t,r){"use strict";r(79)("Uint8",1,function(e){return function(t,r,n){return e(this,t,r,n)}},!0)},function(e,t,r){"use strict";var n="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};if(r(8)){var i=r(21),a=r(1),o=r(9),s=r(5),c=r(46),l=r(80),u=r(11),d=r(24),h=r(27),f=r(6),p=r(23),g=r(17),m=r(12),b=r(47),v=r(29),y=r(33),_=r(10),A=r(30),x=r(2),S=r(18),w=r(53),T=r(54),D=r(56),C=r(48).f,k=r(57),E=r(16),P=r(3),R=r(39),F=r(50),U=r(40),O=r(58),I=r(19),L=r(41),N=r(60),j=r(52),M=r(88),W=r(13),q=r(61),B=W.f,z=q.f,H=a.RangeError,G=a.TypeError,X=a.Uint8Array,V="ArrayBuffer",Y="Shared"+V,Q="BYTES_PER_ELEMENT",J="prototype",K=Array[J],Z=l.ArrayBuffer,$=l.DataView,ee=R(0),et=R(2),er=R(3),en=R(4),ei=R(5),ea=R(6),eo=F(!0),es=F(!1),ec=O.values,el=O.keys,eu=O.entries,ed=K.lastIndexOf,eh=K.reduce,ef=K.reduceRight,ep=K.join,eg=K.sort,em=K.slice,eb=K.toString,ev=K.toLocaleString,ey=P("iterator"),e_=P("toStringTag"),eA=E("typed_constructor"),ex=E("def_constructor"),eS=c.CONSTR,ew=c.TYPED,eT=c.VIEW,eD="Wrong length!",eC=R(1,function(e,t){return eF(U(e,e[ex]),t)}),ek=o(function(){return 1===new X(new Uint16Array([1]).buffer)[0]}),eE=!!X&&!!X[J].set&&o(function(){new X(1).set({})}),eP=function(e,t){var r=g(e);if(r<0||r%t)throw H("Wrong offset!");return r},eR=function(e){if(x(e)&&ew in e)return e;throw G(e+" is not a typed array!")},eF=function(e,t){if(!(x(e)&&eA in e))throw G("It is not a typed array constructor!");return new e(t)},eU=function(e,t){return eO(U(e,e[ex]),t)},eO=function(e,t){for(var r=0,n=t.length,i=eF(e,n);n>r;)i[r]=t[r++];return i},eI=function(e,t,r){B(e,t,{get:function(){return this._d[r]}})},eL=function(e){var t,r,n,i,a,o,s=S(e),c=arguments.length,l=c>1?arguments[1]:void 0,d=void 0!==l,h=k(s);if(void 0!=h&&!w(h)){for(o=h.call(s),n=[],t=0;!(a=o.next()).done;t++)n.push(a.value);s=n}for(d&&c>2&&(l=u(l,arguments[2],2)),t=0,i=eF(this,r=m(s.length));r>t;t++)i[t]=d?l(s[t],t):s[t];return i},eN=function(){for(var e=0,t=arguments.length,r=eF(this,t);t>e;)r[e]=arguments[e++];return r},ej=!!X&&o(function(){ev.call(new X(1))}),eM=function(){return ev.apply(ej?em.call(eR(this)):eR(this),arguments)},eW={copyWithin:function(e,t){return M.call(eR(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return en(eR(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return j.apply(eR(this),arguments)},filter:function(e){return eU(this,et(eR(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return ei(eR(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ea(eR(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){ee(eR(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return es(eR(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return eo(eR(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ep.apply(eR(this),arguments)},lastIndexOf:function(e){return ed.apply(eR(this),arguments)},map:function(e){return eC(eR(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return eh.apply(eR(this),arguments)},reduceRight:function(e){return ef.apply(eR(this),arguments)},reverse:function(){for(var e,t=eR(this).length,r=Math.floor(t/2),n=0;n<r;)e=this[n],this[n++]=this[--t],this[t]=e;return this},some:function(e){return er(eR(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return eg.call(eR(this),e)},subarray:function(e,t){var r=eR(this),n=r.length,i=v(e,n);return new(U(r,r[ex]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,m((void 0===t?n:v(t,n))-i))}},eq=function(e,t){return eU(this,em.call(eR(this),e,t))},eB=function(e){eR(this);var t=eP(arguments[1],1),r=this.length,n=S(e),i=m(n.length),a=0;if(i+t>r)throw H(eD);for(;a<i;)this[t+a]=n[a++]},ez={entries:function(){return eu.call(eR(this))},keys:function(){return el.call(eR(this))},values:function(){return ec.call(eR(this))}},eH=function(e,t){return x(e)&&e[ew]&&(void 0===t?"undefined":n(t))!="symbol"&&t in e&&String(+t)==String(t)},eG=function(e,t){return eH(e,t=y(t,!0))?h(2,e[t]):z(e,t)},eX=function(e,t,r){return eH(e,t=y(t,!0))&&x(r)&&_(r,"value")&&!_(r,"get")&&!_(r,"set")&&!r.configurable&&(!_(r,"writable")||r.writable)&&(!_(r,"enumerable")||r.enumerable)?(e[t]=r.value,e):B(e,t,r)};eS||(q.f=eG,W.f=eX),s(s.S+!eS*s.F,"Object",{getOwnPropertyDescriptor:eG,defineProperty:eX}),o(function(){eb.call({})})&&(eb=ev=function(){return ep.call(this)});var eV=p({},eW);p(eV,ez),f(eV,ey,ez.values),p(eV,{slice:eq,set:eB,constructor:function(){},toString:eb,toLocaleString:eM}),eI(eV,"buffer","b"),eI(eV,"byteOffset","o"),eI(eV,"byteLength","l"),eI(eV,"length","e"),B(eV,e_,{get:function(){return this[ew]}}),e.exports=function(e,t,r,n){var l=e+((n=!!n)?"Clamped":"")+"Array",u="get"+e,h="set"+e,p=a[l],g=p||{},v=p&&D(p),y=!p||!c.ABV,_={},S=p&&p[J],w=function(e,r){var n=e._d;return n.v[u](r*t+n.o,ek)},k=function(e,r,i){var a=e._d;n&&(i=(i=Math.round(i))<0?0:i>255?255:255&i),a.v[h](r*t+a.o,i,ek)},E=function(e,t){B(e,t,{get:function(){return w(this,t)},set:function(e){return k(this,t,e)},enumerable:!0})};y?(S=(p=r(function(e,r,n,i){d(e,p,l,"_d");var a,o,s,c,u=0,h=0;if(x(r)){if(r instanceof Z||(c=A(r))==V||c==Y){a=r,h=eP(n,t);var g=r.byteLength;if(void 0===i){if(g%t||(o=g-h)<0)throw H(eD)}else if((o=m(i)*t)+h>g)throw H(eD);s=o/t}else if(ew in r)return eO(p,r);else return eL.call(p,r)}else a=new Z(o=(s=b(r))*t);for(f(e,"_d",{b:a,o:h,l:o,e:s,v:new $(a)});u<s;)E(e,u++)}))[J]=T(eV),f(S,"constructor",p)):o(function(){p(1)})&&o(function(){new p(-1)})&&L(function(e){new p,new p(null),new p(1.5),new p(e)},!0)||(p=r(function(e,r,n,i){var a;return(d(e,p,l),x(r))?r instanceof Z||(a=A(r))==V||a==Y?void 0!==i?new g(r,eP(n,t),i):void 0!==n?new g(r,eP(n,t)):new g(r):ew in r?eO(p,r):eL.call(p,r):new g(b(r))}),ee(v!==Function.prototype?C(g).concat(C(v)):C(g),function(e){e in p||f(p,e,g[e])}),p[J]=S,i||(S.constructor=p));var P=S[ey],R=!!P&&("values"==P.name||void 0==P.name),F=ez.values;f(p,eA,!0),f(S,ew,l),f(S,eT,!0),f(S,ex,p),(n?new p(1)[e_]==l:e_ in S)||B(S,e_,{get:function(){return l}}),_[l]=p,s(s.G+s.W+s.F*(p!=g),_),s(s.S,l,{BYTES_PER_ELEMENT:t}),s(s.S+s.F*o(function(){g.of.call(p,1)}),l,{from:eL,of:eN}),Q in S||f(S,Q,t),s(s.P,l,eW),N(l),s(s.P+s.F*eE,l,{set:eB}),s(s.P+!R*s.F,l,ez),i||S.toString==eb||(S.toString=eb),s(s.P+s.F*o(function(){new p(1).slice()}),l,{slice:eq}),s(s.P+s.F*(o(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!o(function(){S.toLocaleString.call([1,2])})),l,{toLocaleString:eM}),I[l]=R?P:F,i||R||f(S,ey,F)}}else e.exports=function(){}},function(e,t,r){"use strict";var n=r(1),i=r(8),a=r(21),o=r(46),s=r(6),c=r(23),l=r(9),u=r(24),d=r(17),h=r(12),f=r(47),p=r(48).f,g=r(13).f,m=r(52),b=r(26),v="ArrayBuffer",y="DataView",_="prototype",A="Wrong index!",x=n[v],S=n[y],w=n.Math,T=n.RangeError,D=n.Infinity,C=x,k=w.abs,E=w.pow,P=w.floor,R=w.log,F=w.LN2,U="buffer",O="byteLength",I="byteOffset",L=i?"_b":U,N=i?"_l":O,j=i?"_o":I;function M(e,t,r){var n,i,a,o=Array(r),s=8*r-t-1,c=(1<<s)-1,l=c>>1,u=23===t?E(2,-24)-E(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for((e=k(e))!=e||e===D?(i=e!=e?1:0,n=c):(n=P(R(e)/F),e*(a=E(2,-n))<1&&(n--,a*=2),n+l>=1?e+=u/a:e+=u*E(2,1-l),e*a>=2&&(n++,a/=2),n+l>=c?(i=0,n=c):n+l>=1?(i=(e*a-1)*E(2,t),n+=l):(i=e*E(2,l-1)*E(2,t),n=0));t>=8;o[d++]=255&i,i/=256,t-=8);for(n=n<<t|i,s+=t;s>0;o[d++]=255&n,n/=256,s-=8);return o[--d]|=128*h,o}function W(e,t,r){var n,i=8*r-t-1,a=(1<<i)-1,o=a>>1,s=i-7,c=r-1,l=e[c--],u=127&l;for(l>>=7;s>0;u=256*u+e[c],c--,s-=8);for(n=u&(1<<-s)-1,u>>=-s,s+=t;s>0;n=256*n+e[c],c--,s-=8);if(0===u)u=1-o;else{if(u===a)return n?NaN:l?-D:D;n+=E(2,t),u-=o}return(l?-1:1)*n*E(2,u-t)}function q(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function B(e){return[255&e]}function z(e){return[255&e,e>>8&255]}function H(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function G(e){return M(e,52,8)}function X(e){return M(e,23,4)}function V(e,t,r){g(e[_],t,{get:function(){return this[r]}})}function Y(e,t,r,n){var i=f(+r);if(i+t>e[N])throw T(A);var a=e[L]._b,o=i+e[j],s=a.slice(o,o+t);return n?s:s.reverse()}function Q(e,t,r,n,i,a){var o=f(+r);if(o+t>e[N])throw T(A);for(var s=e[L]._b,c=o+e[j],l=n(+i),u=0;u<t;u++)s[c+u]=l[a?u:t-u-1]}if(o.ABV){if(!l(function(){x(1)})||!l(function(){new x(-1)})||l(function(){return new x,new x(1.5),new x(NaN),x.name!=v})){for(var J,K=(x=function(e){return u(this,x),new C(f(e))})[_]=C[_],Z=p(C),$=0;Z.length>$;)(J=Z[$++])in x||s(x,J,C[J]);a||(K.constructor=x)}var ee=new S(new x(2)),et=S[_].setInt8;ee.setInt8(0,0x80000000),ee.setInt8(1,0x80000001),(ee.getInt8(0)||!ee.getInt8(1))&&c(S[_],{setInt8:function(e,t){et.call(this,e,t<<24>>24)},setUint8:function(e,t){et.call(this,e,t<<24>>24)}},!0)}else x=function(e){u(this,x,v);var t=f(e);this._b=m.call(Array(t),0),this[N]=t},S=function(e,t,r){u(this,S,y),u(e,x,y);var n=e[N],i=d(t);if(i<0||i>n)throw T("Wrong offset!");if(r=void 0===r?n-i:h(r),i+r>n)throw T("Wrong length!");this[L]=e,this[j]=i,this[N]=r},i&&(V(x,O,"_l"),V(S,U,"_b"),V(S,O,"_l"),V(S,I,"_o")),c(S[_],{getInt8:function(e){return Y(this,1,e)[0]<<24>>24},getUint8:function(e){return Y(this,1,e)[0]},getInt16:function(e){var t=Y(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Y(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return q(Y(this,4,e,arguments[1]))},getUint32:function(e){return q(Y(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return W(Y(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return W(Y(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){Q(this,1,e,B,t)},setUint8:function(e,t){Q(this,1,e,B,t)},setInt16:function(e,t){Q(this,2,e,z,t,arguments[2])},setUint16:function(e,t){Q(this,2,e,z,t,arguments[2])},setInt32:function(e,t){Q(this,4,e,H,t,arguments[2])},setUint32:function(e,t){Q(this,4,e,H,t,arguments[2])},setFloat32:function(e,t){Q(this,4,e,X,t,arguments[2])},setFloat64:function(e,t){Q(this,8,e,G,t,arguments[2])}});b(x,v),b(S,y),s(S[_],o.VIEW,!0),t[v]=x,t[y]=S},function(e,t,r){"use strict";var n=r(13),i=r(7),a=r(38);e.exports=r(8)?Object.defineProperties:function(e,t){i(e);for(var r,o=a(t),s=o.length,c=0;s>c;)n.f(e,r=o[c++],t[r]);return e}},function(e,t,r){"use strict";var n=r(83);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){"use strict";var n=r(2),i=r(84),a=r(3)("species");e.exports=function(e){var t;return i(e)&&("function"==typeof(t=e.constructor)&&(t===Array||i(t.prototype))&&(t=void 0),n(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?Array:t}},function(e,t,r){"use strict";var n=r(25);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){"use strict";var n=r(3)("unscopables"),i=Array.prototype;void 0==i[n]&&r(6)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t,r){"use strict";e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){"use strict";var n=r(54),i=r(27),a=r(26),o={};r(6)(o,r(3)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(o,{next:i(1,r)}),a(e,t+" Iterator")}},function(e,t,r){"use strict";var n=r(18),i=r(29),a=r(12);e.exports=[].copyWithin||function(e,t){var r=n(this),o=a(r.length),s=i(e,o),c=i(t,o),l=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===l?o:i(l,o))-c,o-s),d=1;for(c<s&&s<c+u&&(d=-1,c+=u-1,s+=u-1);u-- >0;)c in r?r[s]=r[c]:delete r[s],s+=d,c+=d;return r}},function(e,t,r){"use strict";r(90),e.exports=r(4).Number.isNaN},function(e,t,r){"use strict";var n=r(5);n(n.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,r){"use strict";r(92),e.exports=r(4).Number.isInteger},function(e,t,r){"use strict";var n=r(5);n(n.S,"Number",{isInteger:r(93)})},function(e,t,r){"use strict";var n=r(2),i=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&i(e)===e}},function(e,t,r){"use strict";r(63),r(95),r(64),r(97),r(102),r(103),e.exports=r(4).Promise},function(e,t,r){"use strict";var n=r(96)(!0);r(59)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){"use strict";var n=r(17),i=r(35);e.exports=function(e){return function(t,r){var a,o,s=String(i(t)),c=n(r),l=s.length;return c<0||c>=l?e?"":void 0:(a=s.charCodeAt(c))<55296||a>56319||c+1===l||(o=s.charCodeAt(c+1))<56320||o>57343?e?s.charAt(c):a:e?s.slice(c,c+2):(a-55296<<10)+(o-56320)+65536}}},function(e,t,r){"use strict";var n,i,a,o,s=r(21),c=r(1),l=r(11),u=r(30),d=r(5),h=r(2),f=r(22),p=r(24),g=r(31),m=r(40),b=r(65).set,v=r(100)(),y=r(42),_=r(66),A=r(101),x=r(67),S="Promise",w=c.TypeError,T=c.process,D=T&&T.versions,C=D&&D.v8||"",k=c[S],E="process"==u(T),P=function(){},R=i=y.f,F=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[r(3)("species")]=function(e){e(P,P)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(P)instanceof t&&0!==C.indexOf("6.6")&&-1===A.indexOf("Chrome/66")}catch(e){}}(),U=function(e){var t;return!!h(e)&&"function"==typeof(t=e.then)&&t},O=function(e,t){if(!e._n){e._n=!0;var r=e._c;v(function(){for(var n=e._v,i=1==e._s,a=0;r.length>a;)!function(t){var r,a,o,s=i?t.ok:t.fail,c=t.resolve,l=t.reject,u=t.domain;try{s?(i||(2==e._h&&N(e),e._h=1),!0===s?r=n:(u&&u.enter(),r=s(n),u&&(u.exit(),o=!0)),r===t.promise?l(w("Promise-chain cycle")):(a=U(r))?a.call(r,c,l):c(r)):l(n)}catch(e){u&&!o&&u.exit(),l(e)}}(r[a++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){b.call(c,function(){var t,r,n,i=e._v,a=L(e);if(a&&(t=_(function(){E?T.emit("unhandledRejection",i,e):(r=c.onunhandledrejection)?r({promise:e,reason:i}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",i)}),e._h=E||L(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){b.call(c,function(){var t;E?T.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),O(t,!0))},M=function e(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw w("Promise can't be resolved itself");(r=U(t))?v(function(){var i={_w:n,_d:!1};try{r.call(t,l(e,i,1),l(j,i,1))}catch(e){j.call(i,e)}}):(n._v=t,n._s=1,O(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};F||(k=function(e){p(this,k,S,"_h"),f(e),n.call(this);try{e(l(M,this,1),l(j,this,1))}catch(e){j.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(23)(k.prototype,{then:function(e,t){var r=R(m(this,k));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=E?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&O(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n;this.promise=e,this.resolve=l(M,e,1),this.reject=l(j,e,1)},y.f=R=function(e){return e===k||e===o?new a(e):i(e)}),d(d.G+d.W+!F*d.F,{Promise:k}),r(26)(k,S),r(60)(S),o=r(4)[S],d(d.S+!F*d.F,S,{reject:function(e){var t=R(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!F),S,{resolve:function(e){return x(s&&this===o?k:this,e)}}),d(d.S+!(F&&r(41)(function(e){k.all(e).catch(P)}))*d.F,S,{all:function(e){var t=this,r=R(t),n=r.resolve,i=r.reject,a=_(function(){var r=[],a=0,o=1;g(e,!1,function(e){var s=a++,c=!1;r.push(void 0),o++,t.resolve(e).then(function(e){!c&&(c=!0,r[s]=e,--o||n(r))},i)}),--o||n(r)});return a.e&&i(a.v),r.promise},race:function(e){var t=this,r=R(t),n=r.reject,i=_(function(){g(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return i.e&&n(i.v),r.promise}})},function(e,t,r){"use strict";var n=r(7);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){var a=e.return;throw void 0!==a&&n(a.call(e)),t}}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){"use strict";var n=r(1),i=r(65).set,a=n.MutationObserver||n.WebKitMutationObserver,o=n.process,s=n.Promise,c="process"==r(25)(o);e.exports=function(){var e,t,r,l=function(){var n,i;for(c&&(n=o.domain)&&n.exit();e;){i=e.fn,e=e.next;try{i()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(c)r=function(){o.nextTick(l)};else if(a&&!(n.navigator&&n.navigator.standalone)){var u=!0,d=document.createTextNode("");new a(l).observe(d,{characterData:!0}),r=function(){d.data=u=!u}}else if(s&&s.resolve){var h=s.resolve(void 0);r=function(){h.then(l)}}else r=function(){i.call(n,l)};return function(n){var i={fn:n,next:void 0};t&&(t.next=i),e||(e=i,r()),t=i}}},function(e,t,r){"use strict";var n=r(1).navigator;e.exports=n&&n.userAgent||""},function(e,t,r){"use strict";var n=r(5),i=r(4),a=r(1),o=r(40),s=r(67);n(n.P+n.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then(function(){return r})}:e,r?function(r){return s(t,e()).then(function(){throw r})}:e)}})},function(e,t,r){"use strict";var n=r(5),i=r(42),a=r(66);n(n.S,"Promise",{try:function(e){var t=i.f(this),r=a(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){"use strict";r(63),r(64),r(105),r(112),r(114),e.exports=r(4).WeakMap},function(e,t,r){"use strict";var n,i=r(39)(0),a=r(14),o=r(43),s=r(106),c=r(108),l=r(2),u=r(9),d=r(68),h="WeakMap",f=o.getWeak,p=Object.isExtensible,g=c.ufstore,m={},b=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(e){if(l(e)){var t=f(e);return!0===t?g(d(this,h)).get(e):t?t[this._i]:void 0}},set:function(e,t){return c.def(d(this,h),e,t)}},y=e.exports=r(109)(h,b,v,c,!0,!0);u(function(){return 7!=new y().set((Object.freeze||Object)(m),7).get(m)})&&(s((n=c.getConstructor(b,h)).prototype,v),o.NEED=!0,i(["delete","has","get","set"],function(e){var t=y.prototype,r=t[e];a(t,e,function(t,i){if(l(t)&&!p(t)){this._f||(this._f=new n);var a=this._f[e](t,i);return"set"==e?this:a}return r.call(this,t,i)})}))},function(e,t,r){"use strict";var n=r(38),i=r(107),a=r(62),o=r(18),s=r(34),c=Object.assign;e.exports=!c||r(9)(function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=c({},e)[r]||Object.keys(c({},t)).join("")!=n})?function(e,t){for(var r=o(e),c=arguments.length,l=1,u=i.f,d=a.f;c>l;)for(var h,f=s(arguments[l++]),p=u?n(f).concat(u(f)):n(f),g=p.length,m=0;g>m;)d.call(f,h=p[m++])&&(r[h]=f[h]);return r}:c},function(e,t,r){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";var n=r(23),i=r(43).getWeak,a=r(7),o=r(2),s=r(24),c=r(31),l=r(39),u=r(10),d=r(68),h=l(5),f=l(6),p=0,g=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},b=function(e,t){return h(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var r=b(this,e);r?r[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,a){var l=e(function(e,n){s(e,l,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=n&&c(n,r,e[a],e)});return n(l.prototype,{delete:function(e){if(!o(e))return!1;var r=i(e);return!0===r?g(d(this,t)).delete(e):r&&u(r,this._i)&&delete r[this._i]},has:function(e){if(!o(e))return!1;var r=i(e);return!0===r?g(d(this,t)).has(e):r&&u(r,this._i)}}),l},def:function(e,t,r){var n=i(a(t),!0);return!0===n?g(e).set(t,r):n[e._i]=r,e},ufstore:g}},function(e,t,r){"use strict";var n=r(1),i=r(5),a=r(14),o=r(23),s=r(43),c=r(31),l=r(24),u=r(2),d=r(9),h=r(41),f=r(26),p=r(110);e.exports=function(e,t,r,g,m,b){var v=n[e],y=v,_=m?"set":"add",A=y&&y.prototype,x={},S=function(e){var t=A[e];a(A,e,"delete"==e?function(e){return(!b||!!u(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return(!b||!!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return b&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,r){return t.call(this,0===e?0:e,r),this})};if("function"==typeof y&&(b||A.forEach&&!d(function(){new y().entries().next()}))){var w=new y,T=w[_](b?{}:-0,1)!=w,D=d(function(){w.has(1)}),C=h(function(e){new y(e)}),k=!b&&d(function(){for(var e=new y,t=5;t--;)e[_](t,t);return!e.has(-0)});C||((y=t(function(t,r){l(t,y,e);var n=p(new v,t,y);return void 0!=r&&c(r,m,n[_],n),n})).prototype=A,A.constructor=y),(D||k)&&(S("delete"),S("has"),m&&S("get")),(k||T)&&S(_),b&&A.clear&&delete A.clear}else o((y=g.getConstructor(t,e,m,_)).prototype,r),s.NEED=!0;return f(y,e),x[e]=y,i(i.G+i.W+i.F*(y!=v),x),b||g.setStrong(y,e,m),y}},function(e,t,r){"use strict";var n=r(2),i=r(111).set;e.exports=function(e,t,r){var a,o=t.constructor;return o!==r&&"function"==typeof o&&(a=o.prototype)!==r.prototype&&n(a)&&i&&i(e,a),e}},function(e,t,r){"use strict";var n=r(2),i=r(7),a=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(11)(Function.call,r(61).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return a(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:a}},function(e,t,r){"use strict";r(113)("WeakMap")},function(e,t,r){"use strict";var n=r(5);e.exports=function(e){n(n.S,e,{of:function(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,r){"use strict";r(115)("WeakMap")},function(e,t,r){"use strict";var n=r(5),i=r(22),a=r(11),o=r(31);e.exports=function(e){n(n.S,e,{from:function(e){var t,r,n,s,c=arguments[1];return(i(this),(t=void 0!==c)&&i(c),void 0==e)?new this:(r=[],t?(n=0,s=a(c,arguments[2],2),o(e,!1,function(e){r.push(s(e,n++))})):o(e,!1,r.push,r),new this(r))}})}},function(e,t,r){"use strict";var n=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),n=!0}catch(e){}n?t.ReadableStream=ReadableStream:t.ReadableStream=r(117).ReadableStream},function(e,t,r){"use strict";var n="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};!function(e,t){for(var r in t)e[r]=t[r]}(t,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){var i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)},a=r(1).assert;function o(e){return"string"==typeof e||(void 0===e?"undefined":i(e))==="symbol"}function s(e,t,r){if("function"!=typeof e)throw TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}t.typeIsObject=function(e){return(void 0===e?"undefined":i(e))==="object"&&null!==e||"function"==typeof e},t.createDataProperty=function(e,r,n){a(t.typeIsObject(e)),Object.defineProperty(e,r,{value:n,writable:!0,enumerable:!0,configurable:!0})},t.createArrayFromList=function(e){return e.slice()},t.ArrayBufferCopy=function(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)},t.CreateIterResultObject=function(e,t){a("boolean"==typeof t);var r={};return Object.defineProperty(r,"value",{value:e,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(r,"done",{value:t,enumerable:!0,writable:!0,configurable:!0}),r},t.IsFiniteNonNegativeNumber=function(e){return!Number.isNaN(e)&&e!==1/0&&!(e<0)},t.InvokeOrNoop=function(e,t,r){a(void 0!==e),a(o(t)),a(Array.isArray(r));var n=e[t];if(void 0!==n)return s(n,e,r)},t.PromiseInvokeOrNoop=function(e,r,n){a(void 0!==e),a(o(r)),a(Array.isArray(n));try{return Promise.resolve(t.InvokeOrNoop(e,r,n))}catch(e){return Promise.reject(e)}},t.PromiseInvokeOrPerformFallback=function(e,t,r,n,i){a(void 0!==e),a(o(t)),a(Array.isArray(r)),a(Array.isArray(i));var c=void 0;try{c=e[t]}catch(e){return Promise.reject(e)}if(void 0===c)return n.apply(null,i);try{return Promise.resolve(s(c,e,r))}catch(e){return Promise.reject(e)}},t.TransferArrayBuffer=function(e){return e.slice()},t.ValidateAndNormalizeHighWaterMark=function(e){if(Number.isNaN(e=Number(e))||e<0)throw RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e},t.ValidateAndNormalizeQueuingStrategy=function(e,r){if(void 0!==e&&"function"!=typeof e)throw TypeError("size property of a queuing strategy must be a function");return{size:e,highWaterMark:r=t.ValidateAndNormalizeHighWaterMark(r)}}},function(e,t,r){function n(e){this.name="AssertionError",this.message=e||"",this.stack=Error().stack}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,e.exports={rethrowAssertionErrorRejection:function(e){e&&e.constructor===n&&setTimeout(function(){throw e},0)},AssertionError:n,assert:function(e,t){if(!e)throw new n(t)}}},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(0),o=a.InvokeOrNoop,s=a.PromiseInvokeOrNoop,c=a.ValidateAndNormalizeQueuingStrategy,l=a.typeIsObject,u=r(1),d=u.assert,h=u.rethrowAssertionErrorRejection,f=r(3),p=f.DequeueValue,g=f.EnqueueValueWithSize,m=f.PeekQueueValue,b=f.ResetQueue,v=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,a=r.highWaterMark;if(i(this,e),this._state="writable",this._storedError=void 0,this._writer=void 0,this._writableStreamController=void 0,this._writeRequests=[],this._inFlightWriteRequest=void 0,this._closeRequest=void 0,this._inFlightCloseRequest=void 0,this._pendingAbortRequest=void 0,this._backpressure=!1,void 0!==t.type)throw RangeError("Invalid type is specified");this._writableStreamController=new L(this,t,n,void 0===a?1:a),this._writableStreamController.__startSteps()}return n(e,[{key:"abort",value:function(e){return!1===_(this)?Promise.reject(q("abort")):!0===A(this)?Promise.reject(TypeError("Cannot abort a stream that already has a writer")):x(this,e)}},{key:"getWriter",value:function(){if(!1===_(this))throw q("getWriter");return y(this)}},{key:"locked",get:function(){if(!1===_(this))throw q("locked");return A(this)}}]),e}();function y(e){return new P(e)}function _(e){return!!(l(e)&&Object.prototype.hasOwnProperty.call(e,"_writableStreamController"))}function A(e){return d(!0===_(e),"IsWritableStreamLocked should only be used on known writable streams"),void 0!==e._writer}function x(e,t){var r=e._state;if("closed"===r)return Promise.resolve(void 0);if("errored"===r)return Promise.reject(e._storedError);var n=TypeError("Requested to abort");if(void 0!==e._pendingAbortRequest)return Promise.reject(n);d("writable"===r||"erroring"===r,"state must be writable or erroring");var i=!1;"erroring"===r&&(i=!0,t=void 0);var a=new Promise(function(r,n){e._pendingAbortRequest={_resolve:r,_reject:n,_reason:t,_wasAlreadyErroring:i}});return!1===i&&w(e,n),a}function S(e,t){var r=e._state;if("writable"===r){w(e,t);return}d("erroring"===r),T(e)}function w(e,t){d(void 0===e._storedError,"stream._storedError === undefined"),d("writable"===e._state,"state must be writable");var r=e._writableStreamController;d(void 0!==r,"controller must not be undefined"),e._state="erroring",e._storedError=t;var n=e._writer;void 0!==n&&U(n,t),!1===C(e)&&!0===r._started&&T(e)}function T(e){d("erroring"===e._state,"stream._state === erroring"),d(!1===C(e),"WritableStreamHasOperationMarkedInFlight(stream) === false"),e._state="errored",e._writableStreamController.__errorSteps();for(var t=e._storedError,r=0;r<e._writeRequests.length;r++)e._writeRequests[r]._reject(t);if(e._writeRequests=[],void 0===e._pendingAbortRequest){k(e);return}var n=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,!0===n._wasAlreadyErroring){n._reject(t),k(e);return}e._writableStreamController.__abortSteps(n._reason).then(function(){n._resolve(),k(e)},function(t){n._reject(t),k(e)})}function D(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function C(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}function k(e){d("errored"===e._state,'_stream_.[[state]] is `"errored"`'),void 0!==e._closeRequest&&(d(void 0===e._inFlightCloseRequest),e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&(G(t,e._storedError),t._closedPromise.catch(function(){}))}function E(e,t){d("writable"===e._state),d(!1===D(e));var r=e._writer;void 0!==r&&t!==e._backpressure&&(!0===t?(d(void 0===r._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),d(void 0===r._readyPromise_reject,"writer._readyPromise_reject === undefined"),r._readyPromise=new Promise(function(e,t){r._readyPromise_resolve=e,r._readyPromise_reject=t}),r._readyPromiseState="pending"):(d(!1===t),Y(r))),e._backpressure=t}e.exports={AcquireWritableStreamDefaultWriter:y,IsWritableStream:_,IsWritableStreamLocked:A,WritableStream:v,WritableStreamAbort:x,WritableStreamDefaultControllerError:W,WritableStreamDefaultWriterCloseWithErrorPropagation:function(e){var t=e._ownerWritableStream;d(void 0!==t);var r=t._state;return!0===D(t)||"closed"===r?Promise.resolve():"errored"===r?Promise.reject(t._storedError):(d("writable"===r||"erroring"===r),F(e))},WritableStreamDefaultWriterRelease:O,WritableStreamDefaultWriterWrite:I,WritableStreamCloseQueuedOrInFlight:D};var P=function(){function e(t){if(i(this,e),!1===_(t))throw TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===A(t))throw TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;var r=t._state;if("writable"===r)!1===D(t)&&!0===t._backpressure?(n=this,n._readyPromise=new Promise(function(e,t){n._readyPromise_resolve=e,n._readyPromise_reject=t}),n._readyPromiseState="pending"):V(this),H(this);else if("erroring"===r)X(this,t._storedError),this._readyPromise.catch(function(){}),H(this);else if("closed"===r)V(this),this._closedPromise=Promise.resolve(void 0),this._closedPromise_resolve=void 0,this._closedPromise_reject=void 0,this._closedPromiseState="resolved";else{d("errored"===r,"state must be errored");var n,a=t._storedError;X(this,a),this._readyPromise.catch(function(){}),this._closedPromise=Promise.reject(a),this._closedPromise_resolve=void 0,this._closedPromise_reject=void 0,this._closedPromiseState="rejected",this._closedPromise.catch(function(){})}}return n(e,[{key:"abort",value:function(e){var t;return!1===R(this)?Promise.reject(B("abort")):void 0===this._ownerWritableStream?Promise.reject(z("abort")):(d(void 0!==(t=this._ownerWritableStream)),x(t,e))}},{key:"close",value:function(){if(!1===R(this))return Promise.reject(B("close"));var e=this._ownerWritableStream;return void 0===e?Promise.reject(z("close")):!0===D(e)?Promise.reject(TypeError("cannot close an already-closing stream")):F(this)}},{key:"releaseLock",value:function(){if(!1===R(this))throw B("releaseLock");var e=this._ownerWritableStream;void 0!==e&&(d(void 0!==e._writer),O(this))}},{key:"write",value:function(e){return!1===R(this)?Promise.reject(B("write")):void 0===this._ownerWritableStream?Promise.reject(z("write to")):I(this,e)}},{key:"closed",get:function(){return!1===R(this)?Promise.reject(B("closed")):this._closedPromise}},{key:"desiredSize",get:function(){var e,t;if(!1===R(this))throw B("desiredSize");if(void 0===this._ownerWritableStream)throw z("desiredSize");return"errored"===(t=(e=this._ownerWritableStream)._state)||"erroring"===t?null:"closed"===t?0:N(e._writableStreamController)}},{key:"ready",get:function(){return!1===R(this)?Promise.reject(B("ready")):this._readyPromise}}]),e}();function R(e){return!!(l(e)&&Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream"))}function F(e){var t,r=e._ownerWritableStream;d(void 0!==r);var n=r._state;if("closed"===n||"errored"===n)return Promise.reject(TypeError("The stream (in "+n+" state) is not in the writable state and cannot be closed"));d("writable"===n||"erroring"===n),d(!1===D(r));var i=new Promise(function(e,t){r._closeRequest={_resolve:e,_reject:t}});return!0===r._backpressure&&"writable"===n&&Y(e),g(t=r._writableStreamController,"close",0),j(t),i}function U(e,t){"pending"===e._readyPromiseState?(d(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),d(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0):(d(void 0===e._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),d(void 0===e._readyPromise_reject,"writer._readyPromise_reject === undefined"),e._readyPromise=Promise.reject(t)),e._readyPromiseState="rejected",e._readyPromise.catch(function(){})}function O(e){var t=e._ownerWritableStream;d(void 0!==t),d(t._writer===e);var r=TypeError("Writer was released and can no longer be used to monitor the stream's closedness");U(e,r),"pending"===e._closedPromiseState?G(e,r):(d(void 0===e._closedPromise_resolve,"writer._closedPromise_resolve === undefined"),d(void 0===e._closedPromise_reject,"writer._closedPromise_reject === undefined"),d("pending"!==e._closedPromiseState,"writer._closedPromiseState is not pending"),e._closedPromise=Promise.reject(r),e._closedPromiseState="rejected"),e._closedPromise.catch(function(){}),t._writer=void 0,e._ownerWritableStream=void 0}function I(e,t){var r=e._ownerWritableStream;d(void 0!==r);var n=r._writableStreamController,i=function(e,t){var r=e._strategySize;if(void 0===r)return 1;try{return r(t)}catch(t){return M(e,t),1}}(n,t);if(r!==e._ownerWritableStream)return Promise.reject(z("write to"));var a=r._state;if("errored"===a)return Promise.reject(r._storedError);if(!0===D(r)||"closed"===a)return Promise.reject(TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===a)return Promise.reject(r._storedError);d("writable"===a);var o=(d(!0===A(r)),d("writable"===r._state),new Promise(function(e,t){r._writeRequests.push({_resolve:e,_reject:t})}));return function(e,t,r){try{g(e,{chunk:t},r)}catch(t){M(e,t);return}var n=e._controlledWritableStream;!1===D(n)&&"writable"===n._state&&E(n,0>=N(e)),j(e)}(n,t,i),o}var L=function(){function e(t,r,n,a){if(i(this,e),!1===_(t))throw TypeError("WritableStreamDefaultController can only be constructed with a WritableStream instance");if(void 0!==t._writableStreamController)throw TypeError("WritableStreamDefaultController instances can only be created by the WritableStream constructor");this._controlledWritableStream=t,this._underlyingSink=r,this._queue=void 0,this._queueTotalSize=void 0,b(this),this._started=!1;var o=c(n,a);this._strategySize=o.size,this._strategyHWM=o.highWaterMark,E(t,0>=N(this))}return n(e,[{key:"error",value:function(e){if(!1==!!(l(this)&&Object.prototype.hasOwnProperty.call(this,"_underlyingSink")))throw TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&W(this,e)}},{key:"__abortSteps",value:function(e){return s(this._underlyingSink,"abort",[e])}},{key:"__errorSteps",value:function(){b(this)}},{key:"__startSteps",value:function(){var e=this,t=o(this._underlyingSink,"start",[this]),r=this._controlledWritableStream;Promise.resolve(t).then(function(){d("writable"===r._state||"erroring"===r._state),e._started=!0,j(e)},function(t){d("writable"===r._state||"erroring"===r._state),e._started=!0,S(r,t)}).catch(h)}}]),e}();function N(e){return e._strategyHWM-e._queueTotalSize}function j(e){var t=e._controlledWritableStream;if(!1!==e._started&&void 0===t._inFlightWriteRequest){var r=t._state;if("closed"!==r&&"errored"!==r){if("erroring"===r){T(t);return}if(0!==e._queue.length){var n,i,a,o,c,l=m(e);"close"===l?(d(void 0===(i=(n=e)._controlledWritableStream)._inFlightCloseRequest),d(void 0!==i._closeRequest),i._inFlightCloseRequest=i._closeRequest,i._closeRequest=void 0,p(n),d(0===n._queue.length,"queue must be empty once the final write record is dequeued"),s(n._underlyingSink,"close",[]).then(function(){var e,t;d(void 0!==i._inFlightCloseRequest),i._inFlightCloseRequest._resolve(void 0),i._inFlightCloseRequest=void 0,d("writable"===(e=i._state)||"erroring"===e),"erroring"===e&&(i._storedError=void 0,void 0!==i._pendingAbortRequest&&(i._pendingAbortRequest._resolve(),i._pendingAbortRequest=void 0)),i._state="closed",void 0!==(t=i._writer)&&(d(void 0!==t._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),d(void 0!==t._closedPromise_reject,"writer._closedPromise_reject !== undefined"),d("pending"===t._closedPromiseState,"writer._closedPromiseState is pending"),t._closedPromise_resolve(void 0),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0,t._closedPromiseState="resolved"),d(void 0===i._pendingAbortRequest,"stream._pendingAbortRequest === undefined"),d(void 0===i._storedError,"stream._storedError === undefined")},function(e){d(void 0!==i._inFlightCloseRequest),i._inFlightCloseRequest._reject(e),i._inFlightCloseRequest=void 0,d("writable"===i._state||"erroring"===i._state),void 0!==i._pendingAbortRequest&&(i._pendingAbortRequest._reject(e),i._pendingAbortRequest=void 0),S(i,e)}).catch(h)):(a=e,o=l.chunk,d(void 0===(c=a._controlledWritableStream)._inFlightWriteRequest,"there must be no pending write request"),d(0!==c._writeRequests.length,"writeRequests must not be empty"),c._inFlightWriteRequest=c._writeRequests.shift(),s(a._underlyingSink,"write",[o,a]).then(function(){d(void 0!==c._inFlightWriteRequest),c._inFlightWriteRequest._resolve(void 0),c._inFlightWriteRequest=void 0;var e=c._state;d("writable"===e||"erroring"===e),p(a),!1===D(c)&&"writable"===e&&E(c,0>=N(a)),j(a)},function(e){d(void 0!==c._inFlightWriteRequest),c._inFlightWriteRequest._reject(e),c._inFlightWriteRequest=void 0,d("writable"===c._state||"erroring"===c._state),S(c,e)}).catch(h))}}}}function M(e,t){"writable"===e._controlledWritableStream._state&&W(e,t)}function W(e,t){var r=e._controlledWritableStream;d("writable"===r._state),w(r,t)}function q(e){return TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function B(e){return TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function z(e){return TypeError("Cannot "+e+" a stream using a released writer")}function H(e){e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function G(e,t){d(void 0!==e._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),d(void 0!==e._closedPromise_reject,"writer._closedPromise_reject !== undefined"),d("pending"===e._closedPromiseState,"writer._closedPromiseState is pending"),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function X(e,t){e._readyPromise=Promise.reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function V(e){e._readyPromise=Promise.resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}function Y(e){d(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),d(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}},function(e,t,r){var n=r(0).IsFiniteNonNegativeNumber,i=r(1).assert;t.DequeueValue=function(e){i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: DequeueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),i(e._queue.length>0,"Spec-level failure: should never dequeue from an empty queue.");var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value},t.EnqueueValueWithSize=function(e,t,r){if(i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: EnqueueValueWithSize should only be used on containers with [[queue]] and [[queueTotalSize]]."),!n(r=Number(r)))throw RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r},t.PeekQueueValue=function(e){return i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: PeekQueueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),i(e._queue.length>0,"Spec-level failure: should never peek at an empty queue."),e._queue[0].value},t.ResetQueue=function(e){i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: ResetQueue should only be used on containers with [[queue]] and [[queueTotalSize]]."),e._queue=[],e._queueTotalSize=0}},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(0),o=a.ArrayBufferCopy,s=a.CreateIterResultObject,c=a.IsFiniteNonNegativeNumber,l=a.InvokeOrNoop,u=a.PromiseInvokeOrNoop,d=a.TransferArrayBuffer,h=a.ValidateAndNormalizeQueuingStrategy,f=a.ValidateAndNormalizeHighWaterMark,p=r(0),g=p.createArrayFromList,m=p.createDataProperty,b=p.typeIsObject,v=r(1),y=v.assert,_=v.rethrowAssertionErrorRejection,A=r(3),x=A.DequeueValue,S=A.EnqueueValueWithSize,w=A.ResetQueue,T=r(2),D=T.AcquireWritableStreamDefaultWriter,C=T.IsWritableStream,k=T.IsWritableStreamLocked,E=T.WritableStreamAbort,P=T.WritableStreamDefaultWriterCloseWithErrorPropagation,R=T.WritableStreamDefaultWriterRelease,F=T.WritableStreamDefaultWriterWrite,U=T.WritableStreamCloseQueuedOrInFlight,O=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,a=r.highWaterMark;i(this,e),this._state="readable",this._reader=void 0,this._storedError=void 0,this._disturbed=!1,this._readableStreamController=void 0;var o=t.type;if("bytes"===String(o))void 0===a&&(a=0),this._readableStreamController=new eu(this,t,a);else if(void 0===o)void 0===a&&(a=1),this._readableStreamController=new et(this,t,n,a);else throw RangeError("Invalid type is specified")}return n(e,[{key:"cancel",value:function(e){return!1===I(this)?Promise.reject(eC("cancel")):!0===L(this)?Promise.reject(TypeError("Cannot cancel a stream that already has a reader")):M(this,e)}},{key:"getReader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode;if(!1===I(this))throw eC("getReader");if(void 0===t)return new V(this);if("byob"===(t=String(t)))return new Y(this);throw RangeError("Invalid mode is specified")}},{key:"pipeThrough",value:function(e,t){var r=e.writable,n=e.readable;return function(e){try{Promise.prototype.then.call(e,void 0,function(){})}catch(e){}}(this.pipeTo(r,t)),n}},{key:"pipeTo",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.preventClose,i=r.preventAbort,a=r.preventCancel;if(!1===I(this))return Promise.reject(eC("pipeTo"));if(!1===C(e))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));if(n=!!n,i=!!i,a=!!a,!0===L(this))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===k(e))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));var o=new V(this),s=D(e),c=!1,l=Promise.resolve();return new Promise(function(r,u){var d,h;if(g(t,o._closedPromise,function(t){!1===i?m(function(){return E(e,t)},!0,t):b(!0,t)}),g(e,s._closedPromise,function(e){!1===a?m(function(){return M(t,e)},!0,e):b(!0,e)}),d=o._closedPromise,h=function(){!1===n?m(function(){return P(s)}):b()},"closed"===t._state?h():d.then(h).catch(_),!0===U(e)||"closed"===e._state){var f=TypeError("the destination writable stream closed before all data could be piped to it");!1===a?m(function(){return M(t,f)},!0,f):b(!0,f)}function p(){var e=l;return l.then(function(){return e!==l?p():void 0})}function g(e,t,r){"errored"===e._state?r(e._storedError):t.catch(r).catch(_)}function m(t,r,n){!0!==c&&(c=!0,"writable"===e._state&&!1===U(e)?p().then(i):i());function i(){t().then(function(){return v(r,n)},function(e){return v(!0,e)}).catch(_)}}function b(t,r){!0!==c&&(c=!0,"writable"===e._state&&!1===U(e)?p().then(function(){return v(t,r)}).catch(_):v(t,r))}function v(e,t){R(s),$(o),e?u(t):r(void 0)}(function e(){return(l=Promise.resolve(),!0===c)?Promise.resolve():s._readyPromise.then(function(){return ee(o).then(function(e){var t=e.value;!0!==e.done&&(l=F(s,t).catch(function(){}))})}).then(e)})().catch(function(e){l=Promise.resolve(),_(e)})})}},{key:"tee",value:function(){var e,t,r,n,i,a,o,s,c;if(!1===I(this))throw eC("tee");return g((y(!0===I(this)),y("boolean"==typeof!1),e=new V(this),(t={closedOrErrored:!1,canceled1:!1,canceled2:!1,reason1:void 0,reason2:void 0}).promise=new Promise(function(e){t._resolve=e}),(r=function e(){var t=e._reader,r=e._branch1,n=e._branch2,i=e._teeState;return ee(t).then(function(e){y(b(e));var t=e.value,a=e.done;y("boolean"==typeof a),!0===a&&!1===i.closedOrErrored&&(!1===i.canceled1&&ei(r),!1===i.canceled2&&ei(n),i.closedOrErrored=!0),!0!==i.closedOrErrored&&(!1===i.canceled1&&ea(r,t),!1===i.canceled2&&ea(n,t))})})._reader=e,r._teeState=t,r._cloneForBranch2=!1,(n=function e(t){var r=e._stream,n=e._teeState;if(n.canceled1=!0,n.reason1=t,!0===n.canceled2){var i=M(r,g([n.reason1,n.reason2]));n._resolve(i)}return n.promise})._stream=this,n._teeState=t,(i=function e(t){var r=e._stream,n=e._teeState;if(n.canceled2=!0,n.reason2=t,!0===n.canceled1){var i=M(r,g([n.reason1,n.reason2]));n._resolve(i)}return n.promise})._stream=this,i._teeState=t,m(a=Object.create(Object.prototype),"pull",r),m(a,"cancel",n),o=new O(a),m(s=Object.create(Object.prototype),"pull",r),m(s,"cancel",i),c=new O(s),r._branch1=o._readableStreamController,r._branch2=c._readableStreamController,e._closedPromise.catch(function(e){!0!==t.closedOrErrored&&(eo(r._branch1,e),eo(r._branch2,e),t.closedOrErrored=!0)}),[o,c]))}},{key:"locked",get:function(){if(!1===I(this))throw eC("locked");return L(this)}}]),e}();function I(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readableStreamController"))}function L(e){return y(!0===I(e),"IsReadableStreamLocked should only be used on known readable streams"),void 0!==e._reader}function N(e){return y(!0===Q(e._reader)),y("readable"===e._state||"closed"===e._state),new Promise(function(t,r){e._reader._readIntoRequests.push({_resolve:t,_reject:r})})}function j(e){return y(!0===J(e._reader)),y("readable"===e._state),new Promise(function(t,r){e._reader._readRequests.push({_resolve:t,_reject:r})})}function M(e,t){return(e._disturbed=!0,"closed"===e._state)?Promise.resolve(void 0):"errored"===e._state?Promise.reject(e._storedError):(W(e),e._readableStreamController.__cancelSteps(t).then(function(){}))}function W(e){y("readable"===e._state),e._state="closed";var t=e._reader;if(void 0!==t){if(!0===J(t)){for(var r=0;r<t._readRequests.length;r++)(0,t._readRequests[r]._resolve)(s(void 0,!0));t._readRequests=[]}y(void 0!==t._closedPromise_resolve),y(void 0!==t._closedPromise_reject),t._closedPromise_resolve(void 0),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0}}function q(e,t){y(!0===I(e),"stream must be ReadableStream"),y("readable"===e._state,"state must be readable"),e._state="errored",e._storedError=t;var r=e._reader;if(void 0!==r){if(!0===J(r)){for(var n=0;n<r._readRequests.length;n++)r._readRequests[n]._reject(t);r._readRequests=[]}else{y(Q(r),"reader must be ReadableStreamBYOBReader");for(var i=0;i<r._readIntoRequests.length;i++)r._readIntoRequests[i]._reject(t);r._readIntoRequests=[]}eP(r,t),r._closedPromise.catch(function(){})}}function B(e,t,r){var n=e._reader;y(n._readRequests.length>0),n._readRequests.shift()._resolve(s(t,r))}function z(e){return e._reader._readIntoRequests.length}function H(e){return e._reader._readRequests.length}function G(e){var t=e._reader;return void 0!==t&&!1!==Q(t)}function X(e){var t=e._reader;return void 0!==t&&!1!==J(t)}e.exports={ReadableStream:O,IsReadableStreamDisturbed:function(e){return y(!0===I(e),"IsReadableStreamDisturbed should only be used on known readable streams"),e._disturbed},ReadableStreamDefaultControllerClose:ei,ReadableStreamDefaultControllerEnqueue:ea,ReadableStreamDefaultControllerError:eo,ReadableStreamDefaultControllerGetDesiredSize:ec};var V=function(){function e(t){if(i(this,e),!1===I(t))throw TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===L(t))throw TypeError("This stream has already been locked for exclusive reading by another reader");K(this,t),this._readRequests=[]}return n(e,[{key:"cancel",value:function(e){return!1===J(this)?Promise.reject(eE("cancel")):void 0===this._ownerReadableStream?Promise.reject(ek("cancel")):Z(this,e)}},{key:"read",value:function(){return!1===J(this)?Promise.reject(eE("read")):void 0===this._ownerReadableStream?Promise.reject(ek("read from")):ee(this)}},{key:"releaseLock",value:function(){if(!1===J(this))throw eE("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");$(this)}}},{key:"closed",get:function(){return!1===J(this)?Promise.reject(eE("closed")):this._closedPromise}}]),e}(),Y=function(){function e(t){if(i(this,e),!I(t))throw TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===ed(t._readableStreamController))throw TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(L(t))throw TypeError("This stream has already been locked for exclusive reading by another reader");K(this,t),this._readIntoRequests=[]}return n(e,[{key:"cancel",value:function(e){return Q(this)?void 0===this._ownerReadableStream?Promise.reject(ek("cancel")):Z(this,e):Promise.reject(eR("cancel"))}},{key:"read",value:function(e){var t;return Q(this)?void 0===this._ownerReadableStream?Promise.reject(ek("read from")):ArrayBuffer.isView(e)?0===e.byteLength?Promise.reject(TypeError("view must have non-zero byteLength")):(y(void 0!==(t=this._ownerReadableStream)),t._disturbed=!0,"errored"===t._state)?Promise.reject(t._storedError):function(e,t){var r=e._controlledReadableStream,n=1;t.constructor!==DataView&&(n=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,a={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:n,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return a.buffer=d(a.buffer),e._pendingPullIntos.push(a),N(r);if("closed"===r._state)return Promise.resolve(s(new t.constructor(a.buffer,a.byteOffset,0),!0));if(e._queueTotalSize>0){if(!0===ev(e,a)){var o=em(a);return e_(e),Promise.resolve(s(o,!1))}if(!0===e._closeRequested){var c=TypeError("Insufficient bytes to fill elements in the given buffer");return eT(e,c),Promise.reject(c)}}a.buffer=d(a.buffer),e._pendingPullIntos.push(a);var l=N(r);return ef(e),l}(t._readableStreamController,e):Promise.reject(TypeError("view must be an array buffer view")):Promise.reject(eR("read"))}},{key:"releaseLock",value:function(){if(!Q(this))throw eR("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");$(this)}}},{key:"closed",get:function(){return Q(this)?this._closedPromise:Promise.reject(eR("closed"))}}]),e}();function Q(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readIntoRequests"))}function J(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readRequests"))}function K(e,t){var r;e._ownerReadableStream=t,t._reader=e,"readable"===t._state?e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r}):"closed"===t._state?(e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0):(y("errored"===t._state,"state must be errored"),r=t._storedError,e._closedPromise=Promise.reject(r),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromise.catch(function(){}))}function Z(e,t){var r=e._ownerReadableStream;return y(void 0!==r),M(r,t)}function $(e){var t;y(void 0!==e._ownerReadableStream),y(e._ownerReadableStream._reader===e),"readable"===e._ownerReadableStream._state?eP(e,TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):(t=TypeError("Reader was released and can no longer be used to monitor the stream's closedness"),y(void 0===e._closedPromise_resolve),y(void 0===e._closedPromise_reject),e._closedPromise=Promise.reject(t)),e._closedPromise.catch(function(){}),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function ee(e){var t=e._ownerReadableStream;return(y(void 0!==t),t._disturbed=!0,"closed"===t._state)?Promise.resolve(s(void 0,!0)):"errored"===t._state?Promise.reject(t._storedError):(y("readable"===t._state),t._readableStreamController.__pullSteps())}var et=function(){function e(t,r,n,a){if(i(this,e),!1===I(t))throw TypeError("ReadableStreamDefaultController can only be constructed with a ReadableStream instance");if(void 0!==t._readableStreamController)throw TypeError("ReadableStreamDefaultController instances can only be created by the ReadableStream constructor");this._controlledReadableStream=t,this._underlyingSource=r,this._queue=void 0,this._queueTotalSize=void 0,w(this),this._started=!1,this._closeRequested=!1,this._pullAgain=!1,this._pulling=!1;var o=h(n,a);this._strategySize=o.size,this._strategyHWM=o.highWaterMark;var s=this;Promise.resolve(l(r,"start",[this])).then(function(){s._started=!0,y(!1===s._pulling),y(!1===s._pullAgain),en(s)},function(e){es(s,e)}).catch(_)}return n(e,[{key:"close",value:function(){if(!1===er(this))throw eF("close");if(!0===this._closeRequested)throw TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");ei(this)}},{key:"enqueue",value:function(e){if(!1===er(this))throw eF("enqueue");if(!0===this._closeRequested)throw TypeError("stream is closed or draining");var t=this._controlledReadableStream._state;if("readable"!==t)throw TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");return ea(this,e)}},{key:"error",value:function(e){if(!1===er(this))throw eF("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw TypeError("The stream is "+t._state+" and so cannot be errored");eo(this,e)}},{key:"__cancelSteps",value:function(e){return w(this),u(this._underlyingSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(this._queue.length>0){var t=x(this);return!0===this._closeRequested&&0===this._queue.length?W(e):en(this),Promise.resolve(s(t,!1))}var r=j(e);return en(this),r}},{key:"desiredSize",get:function(){if(!1===er(this))throw eF("desiredSize");return ec(this)}}]),e}();function er(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_underlyingSource"))}function en(e){var t;if(!1!=("closed"!==(t=e._controlledReadableStream)._state&&"errored"!==t._state&&!0!==e._closeRequested&&!1!==e._started&&!!(!0===L(t)&&H(t)>0||ec(e)>0))){if(!0===e._pulling){e._pullAgain=!0;return}y(!1===e._pullAgain),e._pulling=!0,u(e._underlyingSource,"pull",[e]).then(function(){if(e._pulling=!1,!0===e._pullAgain)return e._pullAgain=!1,en(e)},function(t){es(e,t)}).catch(_)}}function ei(e){var t=e._controlledReadableStream;y(!1===e._closeRequested),y("readable"===t._state),e._closeRequested=!0,0===e._queue.length&&W(t)}function ea(e,t){var r=e._controlledReadableStream;if(y(!1===e._closeRequested),y("readable"===r._state),!0===L(r)&&H(r)>0)B(r,t,!1);else{var n=1;if(void 0!==e._strategySize){var i=e._strategySize;try{n=i(t)}catch(t){throw es(e,t),t}}try{S(e,t,n)}catch(t){throw es(e,t),t}}en(e)}function eo(e,t){var r=e._controlledReadableStream;y("readable"===r._state),w(e),q(r,t)}function es(e,t){"readable"===e._controlledReadableStream._state&&eo(e,t)}function ec(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}var el=function(){function e(t,r){i(this,e),this._associatedReadableByteStreamController=t,this._view=r}return n(e,[{key:"respond",value:function(e){if(!1===eh(this))throw eU("respond");if(void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");(function(e,t){if(!1===c(t=Number(t)))throw RangeError("bytesWritten must be a finite");y(e._pendingPullIntos.length>0),eS(e,t)})(this._associatedReadableByteStreamController,e)}},{key:"respondWithNewView",value:function(e){if(!1===eh(this))throw eU("respond");if(void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(e))throw TypeError("You can only respond with array buffer views");(function(e,t){y(e._pendingPullIntos.length>0);var r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,eS(e,t.byteLength)})(this._associatedReadableByteStreamController,e)}},{key:"view",get:function(){return this._view}}]),e}(),eu=function(){function e(t,r,n){if(i(this,e),!1===I(t))throw TypeError("ReadableByteStreamController can only be constructed with a ReadableStream instance given a byte source");if(void 0!==t._readableStreamController)throw TypeError("ReadableByteStreamController instances can only be created by the ReadableStream constructor given a byte source");this._controlledReadableStream=t,this._underlyingByteSource=r,this._pullAgain=!1,this._pulling=!1,ep(this),this._queue=this._queueTotalSize=void 0,w(this),this._closeRequested=!1,this._started=!1,this._strategyHWM=f(n);var a=r.autoAllocateChunkSize;if(void 0!==a&&(!1===Number.isInteger(a)||a<=0))throw RangeError("autoAllocateChunkSize must be a positive integer");this._autoAllocateChunkSize=a,this._pendingPullIntos=[];var o=this;Promise.resolve(l(r,"start",[this])).then(function(){o._started=!0,y(!1===o._pulling),y(!1===o._pullAgain),ef(o)},function(e){"readable"===t._state&&eT(o,e)}).catch(_)}return n(e,[{key:"close",value:function(){if(!1===ed(this))throw eO("close");if(!0===this._closeRequested)throw TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");(function(e){var t=e._controlledReadableStream;if(y(!1===e._closeRequested),y("readable"===t._state),e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0&&e._pendingPullIntos[0].bytesFilled>0){var r=TypeError("Insufficient bytes to fill elements in the given buffer");throw eT(e,r),r}W(t)})(this)}},{key:"enqueue",value:function(e){if(!1===ed(this))throw eO("enqueue");if(!0===this._closeRequested)throw TypeError("stream is closed or draining");var t,r,n,i,a,o=this._controlledReadableStream._state;if("readable"!==o)throw TypeError("The stream (in "+o+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(e))throw TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");t=this._controlledReadableStream,y(!1===this._closeRequested),y("readable"===t._state),r=e.buffer,n=e.byteOffset,i=e.byteLength,a=d(r),!0===X(t)?0===H(t)?eb(this,a,n,i):(y(0===this._queue.length),B(t,new Uint8Array(a,n,i),!1)):!0===G(t)?(eb(this,a,n,i),ex(this)):(y(!1===L(t),"stream must not be locked"),eb(this,a,n,i))}},{key:"error",value:function(e){if(!1===ed(this))throw eO("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw TypeError("The stream is "+t._state+" and so cannot be errored");eT(this,e)}},{key:"__cancelSteps",value:function(e){return this._pendingPullIntos.length>0&&(this._pendingPullIntos[0].bytesFilled=0),w(this),u(this._underlyingByteSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(y(!0===X(e)),this._queueTotalSize>0){y(0===H(e));var t=this._queue.shift();this._queueTotalSize-=t.byteLength,e_(this);var r=void 0;try{r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(e){return Promise.reject(e)}return Promise.resolve(s(r,!1))}var n=this._autoAllocateChunkSize;if(void 0!==n){var i=void 0;try{i=new ArrayBuffer(n)}catch(e){return Promise.reject(e)}var a={buffer:i,byteOffset:0,byteLength:n,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(a)}var o=j(e);return ef(this),o}},{key:"byobRequest",get:function(){if(!1===ed(this))throw eO("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var e=this._pendingPullIntos[0],t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled);this._byobRequest=new el(this,t)}return this._byobRequest}},{key:"desiredSize",get:function(){if(!1===ed(this))throw eO("desiredSize");return eD(this)}}]),e}();function ed(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_underlyingByteSource"))}function eh(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController"))}function ef(e){var t;if(!1!=("readable"===(t=e._controlledReadableStream)._state&&!0!==e._closeRequested&&!1!==e._started&&!!(!0===X(t)&&H(t)>0||!0===G(t)&&z(t)>0||eD(e)>0))){if(!0===e._pulling){e._pullAgain=!0;return}y(!1===e._pullAgain),e._pulling=!0,u(e._underlyingByteSource,"pull",[e]).then(function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,ef(e))},function(t){"readable"===e._controlledReadableStream._state&&eT(e,t)}).catch(_)}}function ep(e){eA(e),e._pendingPullIntos=[]}function eg(e,t){y("errored"!==e._state,"state must not be errored");var r,n,i=!1;"closed"===e._state&&(y(0===t.bytesFilled),i=!0);var a=em(t);"default"===t.readerType?B(e,a,i):(y("byob"===t.readerType),r=i,y((n=e._reader)._readIntoRequests.length>0),n._readIntoRequests.shift()._resolve(s(a,r)))}function em(e){var t=e.bytesFilled,r=e.elementSize;return y(t<=e.byteLength),y(t%r==0),new e.ctor(e.buffer,e.byteOffset,t/r)}function eb(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function ev(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),a=t.bytesFilled+i,s=a-a%r,c=i,l=!1;s>n&&(c=s-t.bytesFilled,l=!0);for(var u=e._queue;c>0;){var d=u[0],h=Math.min(c,d.byteLength),f=t.byteOffset+t.bytesFilled;o(t.buffer,f,d.buffer,d.byteOffset,h),d.byteLength===h?u.shift():(d.byteOffset+=h,d.byteLength-=h),e._queueTotalSize-=h,ey(e,h,t),c-=h}return!1===l&&(y(0===e._queueTotalSize,"queue must be empty"),y(t.bytesFilled>0),y(t.bytesFilled<t.elementSize)),l}function ey(e,t,r){y(0===e._pendingPullIntos.length||e._pendingPullIntos[0]===r),eA(e),r.bytesFilled+=t}function e_(e){y("readable"===e._controlledReadableStream._state),0===e._queueTotalSize&&!0===e._closeRequested?W(e._controlledReadableStream):ef(e)}function eA(e){void 0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function ex(e){for(y(!1===e._closeRequested);e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos[0];!0===ev(e,t)&&(ew(e),eg(e._controlledReadableStream,t))}}function eS(e,t){var r=e._pendingPullIntos[0],n=e._controlledReadableStream;if("closed"===n._state){if(0!==t)throw TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function(e,t){t.buffer=d(t.buffer),y(0===t.bytesFilled,"bytesFilled must be 0");var r=e._controlledReadableStream;if(!0===G(r))for(;z(r)>0;)eg(r,ew(e))}(e,r)}else y("readable"===n._state),function(e,t,r){if(r.bytesFilled+t>r.byteLength)throw RangeError("bytesWritten out of range");if(ey(e,t,r),!(r.bytesFilled<r.elementSize)){ew(e);var n=r.bytesFilled%r.elementSize;if(n>0){var i=r.byteOffset+r.bytesFilled,a=r.buffer.slice(i-n,i);eb(e,a,0,a.byteLength)}r.buffer=d(r.buffer),r.bytesFilled-=n,eg(e._controlledReadableStream,r),ex(e)}}(e,t,r)}function ew(e){var t=e._pendingPullIntos.shift();return eA(e),t}function eT(e,t){var r=e._controlledReadableStream;y("readable"===r._state),ep(e),w(e),q(r,t)}function eD(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function eC(e){return TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function ek(e){return TypeError("Cannot "+e+" a stream using a released reader")}function eE(e){return TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}function eP(e,t){y(void 0!==e._closedPromise_resolve),y(void 0!==e._closedPromise_reject),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function eR(e){return TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function eF(e){return TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function eU(e){return TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function eO(e){return TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}},function(e,t,r){var n=r(6),i=r(4),a=r(2);t.TransformStream=n.TransformStream,t.ReadableStream=i.ReadableStream,t.IsReadableStreamDisturbed=i.IsReadableStreamDisturbed,t.ReadableStreamDefaultControllerClose=i.ReadableStreamDefaultControllerClose,t.ReadableStreamDefaultControllerEnqueue=i.ReadableStreamDefaultControllerEnqueue,t.ReadableStreamDefaultControllerError=i.ReadableStreamDefaultControllerError,t.ReadableStreamDefaultControllerGetDesiredSize=i.ReadableStreamDefaultControllerGetDesiredSize,t.AcquireWritableStreamDefaultWriter=a.AcquireWritableStreamDefaultWriter,t.IsWritableStream=a.IsWritableStream,t.IsWritableStreamLocked=a.IsWritableStreamLocked,t.WritableStream=a.WritableStream,t.WritableStreamAbort=a.WritableStreamAbort,t.WritableStreamDefaultControllerError=a.WritableStreamDefaultControllerError,t.WritableStreamDefaultWriterCloseWithErrorPropagation=a.WritableStreamDefaultWriterCloseWithErrorPropagation,t.WritableStreamDefaultWriterRelease=a.WritableStreamDefaultWriterRelease,t.WritableStreamDefaultWriterWrite=a.WritableStreamDefaultWriterWrite},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(1).assert,o=r(0),s=o.InvokeOrNoop,c=o.PromiseInvokeOrPerformFallback,l=o.PromiseInvokeOrNoop,u=o.typeIsObject,d=r(4),h=d.ReadableStream,f=d.ReadableStreamDefaultControllerClose,p=d.ReadableStreamDefaultControllerEnqueue,g=d.ReadableStreamDefaultControllerError,m=d.ReadableStreamDefaultControllerGetDesiredSize,b=r(2),v=b.WritableStream,y=b.WritableStreamDefaultControllerError;function _(e,t){if(!0===e._errored)throw TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw TypeError("Readable side is already closed");var r=e._readableController;try{p(r,t)}catch(t){throw e._readableClosed=!0,x(e,t),e._storedError}!0==0>=m(r)&&!1===e._backpressure&&T(e,!0)}function A(e){a(!1===e._errored),a(!1===e._readableClosed);try{f(e._readableController)}catch(e){a(!1)}e._readableClosed=!0}function x(e,t){!1===e._errored&&S(e,t)}function S(e,t){a(!1===e._errored),e._errored=!0,e._storedError=t,!1===e._writableDone&&y(e._writableController,t),!1===e._readableClosed&&g(e._readableController,t)}function w(e){return(a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!1===e._backpressure)?Promise.resolve():(a(!0===e._backpressure,"_backpressure should have been initialized"),e._backpressureChangePromise)}function T(e,t){a(e._backpressure!==t,"TransformStreamSetBackpressure() should be called only when backpressure is changed"),void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(t),e._backpressureChangePromise=new Promise(function(t){e._backpressureChangePromise_resolve=t}),e._backpressureChangePromise.then(function(e){a(e!==t,"_backpressureChangePromise should be fulfilled only when backpressure is changed")}),e._backpressure=t}function D(e,t){return _(t._controlledTransformStream,e),Promise.resolve()}function C(e){return!!(u(e)&&Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream"))}function k(e){return!!(u(e)&&Object.prototype.hasOwnProperty.call(e,"_transformStreamController"))}var E=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._writableController=e,this._startPromise.then(function(){return w(t)})}},{key:"write",value:function(e){var t,r;return a(!1===(t=this._transformStream)._errored),a(!1===t._transforming),a(!1===t._backpressure),t._transforming=!0,c(t._transformer,"transform",[e,r=t._transformStreamController],D,[e,r]).then(function(){return t._transforming=!1,w(t)},function(e){return x(t,e),Promise.reject(e)})}},{key:"abort",value:function(){var e=this._transformStream;e._writableDone=!0,S(e,TypeError("Writable side aborted"))}},{key:"close",value:function(){var e=this._transformStream;return a(!1===e._transforming),e._writableDone=!0,l(e._transformer,"flush",[e._transformStreamController]).then(function(){return!0===e._errored?Promise.reject(e._storedError):(!1===e._readableClosed&&A(e),Promise.resolve())}).catch(function(t){return x(e,t),Promise.reject(e._storedError)})}}]),e}(),P=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._readableController=e,this._startPromise.then(function(){return(a(void 0!==t._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!0===t._backpressure)?Promise.resolve():(a(!1===t._backpressure,"_backpressure should have been initialized"),t._backpressureChangePromise)})}},{key:"pull",value:function(){var e=this._transformStream;return a(!0===e._backpressure,"pull() should be never called while _backpressure is false"),a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),T(e,!1),e._backpressureChangePromise}},{key:"cancel",value:function(){var e=this._transformStream;e._readableClosed=!0,S(e,TypeError("Readable side canceled"))}}]),e}(),R=function(){function e(t){if(i(this,e),!1===k(t))throw TypeError("TransformStreamDefaultController can only be constructed with a TransformStream instance");if(void 0!==t._transformStreamController)throw TypeError("TransformStreamDefaultController instances can only be created by the TransformStream constructor");this._controlledTransformStream=t}return n(e,[{key:"enqueue",value:function(e){if(!1===C(this))throw U("enqueue");_(this._controlledTransformStream,e)}},{key:"close",value:function(){if(!1===C(this))throw U("close");!function(e){if(!0===e._errored)throw TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw TypeError("Readable side is already closed");A(e)}(this._controlledTransformStream)}},{key:"error",value:function(e){if(!1===C(this))throw U("error");!function(e,t){if(!0===e._errored)throw TypeError("TransformStream is already errored");S(e,t)}(this._controlledTransformStream,e)}},{key:"desiredSize",get:function(){if(!1===C(this))throw U("desiredSize");return m(this._controlledTransformStream._readableController)}}]),e}(),F=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e),this._transformer=t;var r=t.readableStrategy,n=t.writableStrategy;this._transforming=!1,this._errored=!1,this._storedError=void 0,this._writableController=void 0,this._readableController=void 0,this._transformStreamController=void 0,this._writableDone=!1,this._readableClosed=!1,this._backpressure=void 0,this._backpressureChangePromise=void 0,this._backpressureChangePromise_resolve=void 0,this._transformStreamController=new R(this);var o=void 0,c=new Promise(function(e){o=e}),l=new P(this,c);this._readable=new h(l,r);var u=new E(this,c);this._writable=new v(u,n),a(void 0!==this._writableController),a(void 0!==this._readableController),T(this,0>=m(this._readableController));var d=this,f=s(t,"start",[d._transformStreamController]);o(f),c.catch(function(e){!1===d._errored&&(d._errored=!0,d._storedError=e)})}return n(e,[{key:"readable",get:function(){if(!1===k(this))throw O("readable");return this._readable}},{key:"writable",get:function(){if(!1===k(this))throw O("writable");return this._writable}}]),e}();function U(e){return TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function O(e){return TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}e.exports={TransformStream:F}},function(e,t,r){e.exports=r(5)}]))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFJS=t.globalScope=void 0;var n,i=r(69),a=r(15),o=r(0),s=r(72),c=(n=r(20))&&n.__esModule?n:{default:n},l=r(71),u=r(73),d=r(74);c.default.PDFJS||(c.default.PDFJS={});var h=c.default.PDFJS;h.version="1.10.100",h.build="ea29ec83",h.pdfBug=!1,void 0!==h.verbosity&&(0,o.setVerbosityLevel)(h.verbosity),delete h.verbosity,Object.defineProperty(h,"verbosity",{get:function(){return(0,o.getVerbosityLevel)()},set:function(e){(0,o.setVerbosityLevel)(e)},enumerable:!0,configurable:!0}),h.VERBOSITY_LEVELS=o.VERBOSITY_LEVELS,h.OPS=o.OPS,h.UNSUPPORTED_FEATURES=o.UNSUPPORTED_FEATURES,h.isValidUrl=a.isValidUrl,h.shadow=o.shadow,h.createBlob=o.createBlob,h.createObjectURL=function(e,t){return(0,o.createObjectURL)(e,t,h.disableCreateObjectURL)},Object.defineProperty(h,"isLittleEndian",{configurable:!0,get:function(){return(0,o.shadow)(h,"isLittleEndian",(0,o.isLittleEndian)())}}),h.removeNullCharacters=o.removeNullCharacters,h.PasswordResponses=o.PasswordResponses,h.PasswordException=o.PasswordException,h.UnknownErrorException=o.UnknownErrorException,h.InvalidPDFException=o.InvalidPDFException,h.MissingPDFException=o.MissingPDFException,h.UnexpectedResponseException=o.UnexpectedResponseException,h.Util=o.Util,h.PageViewport=o.PageViewport,h.createPromiseCapability=o.createPromiseCapability,h.maxImageSize=void 0===h.maxImageSize?-1:h.maxImageSize,h.cMapUrl=void 0===h.cMapUrl?null:h.cMapUrl,h.cMapPacked=void 0!==h.cMapPacked&&h.cMapPacked,h.disableFontFace=void 0!==h.disableFontFace&&h.disableFontFace,h.imageResourcesPath=void 0===h.imageResourcesPath?"":h.imageResourcesPath,h.disableWorker=void 0!==h.disableWorker&&h.disableWorker,h.workerSrc=void 0===h.workerSrc?null:h.workerSrc,h.workerPort=void 0===h.workerPort?null:h.workerPort,h.disableRange=void 0!==h.disableRange&&h.disableRange,h.disableStream=void 0!==h.disableStream&&h.disableStream,h.disableAutoFetch=void 0!==h.disableAutoFetch&&h.disableAutoFetch,h.pdfBug=void 0!==h.pdfBug&&h.pdfBug,h.postMessageTransfers=void 0===h.postMessageTransfers||h.postMessageTransfers,h.disableCreateObjectURL=void 0!==h.disableCreateObjectURL&&h.disableCreateObjectURL,h.disableWebGL=void 0===h.disableWebGL||h.disableWebGL,h.externalLinkTarget=void 0===h.externalLinkTarget?a.LinkTarget.NONE:h.externalLinkTarget,h.externalLinkRel=void 0===h.externalLinkRel?a.DEFAULT_LINK_REL:h.externalLinkRel,h.isEvalSupported=void 0===h.isEvalSupported||h.isEvalSupported,h.pdfjsNext=void 0!==h.pdfjsNext&&h.pdfjsNext;var f=h.openExternalLinksInNewWindow;delete h.openExternalLinksInNewWindow,Object.defineProperty(h,"openExternalLinksInNewWindow",{get:function(){return h.externalLinkTarget===a.LinkTarget.BLANK},set:function(e){if(e&&(0,o.deprecated)('PDFJS.openExternalLinksInNewWindow, please use "PDFJS.externalLinkTarget = PDFJS.LinkTarget.BLANK" instead.'),h.externalLinkTarget!==a.LinkTarget.NONE){(0,o.warn)("PDFJS.externalLinkTarget is already initialized");return}h.externalLinkTarget=e?a.LinkTarget.BLANK:a.LinkTarget.NONE},enumerable:!0,configurable:!0}),f&&(h.openExternalLinksInNewWindow=f),h.getDocument=i.getDocument,h.LoopbackPort=i.LoopbackPort,h.PDFDataRangeTransport=i.PDFDataRangeTransport,h.PDFWorker=i.PDFWorker,h.hasCanvasTypedArrays=!0,h.CustomStyle=a.CustomStyle,h.LinkTarget=a.LinkTarget,h.addLinkAttributes=a.addLinkAttributes,h.getFilenameFromUrl=a.getFilenameFromUrl,h.isExternalLinkTargetSet=a.isExternalLinkTargetSet,h.AnnotationLayer=s.AnnotationLayer,h.renderTextLayer=u.renderTextLayer,h.Metadata=l.Metadata,h.SVGGraphics=d.SVGGraphics,h.UnsupportedManager=i._UnsupportedManager,t.globalScope=c.default,t.PDFJS=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var n=r(0);function i(e){this.docId=e,this.styleElement=null,this.nativeFontFaces=[],this.loadTestFontId=0,this.loadingContext={requests:[],nextRequestId:0}}i.prototype={insertRule:function(e){var t=this.styleElement;t||((t=this.styleElement=document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_"+this.docId,document.documentElement.getElementsByTagName("head")[0].appendChild(t));var r=t.sheet;r.insertRule(e,r.cssRules.length)},clear:function(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null),this.nativeFontFaces.forEach(function(e){document.fonts.delete(e)}),this.nativeFontFaces.length=0}},Object.defineProperty(i.prototype,"loadTestFont",{get:function(){return(0,n.shadow)(this,"loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))},configurable:!0}),i.prototype.addNativeFontFace=function(e){this.nativeFontFaces.push(e),document.fonts.add(e)},i.prototype.bind=function(e,t){for(var r=[],a=[],o=[],s=function(e){return e.loaded.catch(function(t){(0,n.warn)('Failed to load font "'+e.family+'": '+t)})},c=i.isFontLoadingAPISupported&&!i.isSyncFontLoadingSupported,l=0,u=e.length;l<u;l++){var d=e[l];if(!d.attached&&!1!==d.loading){if(d.attached=!0,c){var h=d.createNativeFontFace();h&&(this.addNativeFontFace(h),o.push(s(h)))}else{var f=d.createFontFaceRule();f&&(this.insertRule(f),r.push(f),a.push(d))}}}var p=this.queueLoadingCallback(t);c?Promise.all(o).then(function(){p.complete()}):r.length>0&&!i.isSyncFontLoadingSupported?this.prepareFontLoadEvent(r,a,p):p.complete()},i.prototype.queueLoadingCallback=function(e){var t=this.loadingContext,r={id:"pdfjs-font-loading-"+t.nextRequestId++,complete:function(){for((0,n.assert)(!r.end,"completeRequest() cannot be called twice"),r.end=Date.now();t.requests.length>0&&t.requests[0].end;)setTimeout(t.requests.shift().callback,0)},callback:e,started:Date.now()};return t.requests.push(r),r},i.prototype.prepareFontLoadEvent=function(e,t,r){function i(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function a(e,t,r,n){return e.substr(0,t)+n+e.substr(t+r)}var o,s,c=document.createElement("canvas");c.width=1,c.height=1;var l=c.getContext("2d"),u=0,d="lt"+Date.now()+this.loadTestFontId++,h=this.loadTestFont,f=i(h=a(h,976,d.length,d),16);for(o=0,s=d.length-3;o<s;o+=4)f=f-0x58585858+i(d,o)|0;o<d.length&&(f=f-0x58585858+i(d+"XXX",o)|0);var p='@font-face { font-family:"'+d+'";src:url(data:font/opentype;base64,'+btoa(h=a(h,16,4,(0,n.string32)(f)))+");}";this.insertRule(p);var g=[];for(o=0,s=t.length;o<s;o++)g.push(t[o].loadedName);g.push(d);var m=document.createElement("div");for(m.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;"),o=0,s=g.length;o<s;++o){var b=document.createElement("span");b.textContent="Hi",b.style.fontFamily=g[o],m.appendChild(b)}document.body.appendChild(m),function e(t,r){if(++u>30){(0,n.warn)("Load test font never loaded."),r();return}if(l.font="30px "+t,l.fillText(".",0,20),l.getImageData(0,0,1,1).data[3]>0){r();return}setTimeout(e.bind(null,t,r))}(d,function(){document.body.removeChild(m),r.complete()})},i.isFontLoadingAPISupported="undefined"!=typeof document&&!!document.fonts;var a=function(){if("undefined"==typeof navigator)return!0;var e=!1,t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);return t&&t[1]>=14&&(e=!0),e};Object.defineProperty(i,"isSyncFontLoadingSupported",{get:function(){return(0,n.shadow)(i,"isSyncFontLoadingSupported",a())},enumerable:!0,configurable:!0});var o={get value(){return(0,n.shadow)(this,"value",(0,n.isEvalSupported)())}},s=function(){function e(e,t){for(var r in this.compiledGlyphs=Object.create(null),e)this[r]=e[r];this.options=t}return e.prototype={createNativeFontFace:function(){if(!this.data)return null;if(this.options.disableFontFace)return this.disableFontFace=!0,null;var e=new FontFace(this.loadedName,this.data,{});return this.options.fontRegistry&&this.options.fontRegistry.registerFont(this),e},createFontFaceRule:function(){if(!this.data)return null;if(this.options.disableFontFace)return this.disableFontFace=!0,null;var e=(0,n.bytesToString)(new Uint8Array(this.data)),t=this.loadedName,r="url(data:"+this.mimetype+";base64,"+btoa(e)+");",i='@font-face { font-family:"'+t+'";src:'+r+"}";return this.options.fontRegistry&&this.options.fontRegistry.registerFont(this,r),i},getPathGenerator:function(e,t){if(!(t in this.compiledGlyphs)){var r=e.get(this.loadedName+"_path_"+t);if(this.options.isEvalSupported&&o.value){var n,i,a,s,c="";for(i=0,a=r.length;i<a;i++)s=void 0!==(n=r[i]).args?n.args.join(","):"",c+="c."+n.cmd+"("+s+");\n";this.compiledGlyphs[t]=Function("c","size",c)}else this.compiledGlyphs[t]=function(e,t){for(i=0,a=r.length;i<a;i++)"scale"===(n=r[i]).cmd&&(n.args=[t,-t]),e[n.cmd].apply(e,n.args)}}return this.compiledGlyphs[t]}},e}();t.FontFaceObject=s,t.FontLoader=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var n=r(0),i=r(121),a=r(70),o={get value(){return(0,n.shadow)(o,"value",(0,n.isLittleEndian)())}};function s(e){e.mozCurrentTransform||(e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[],Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){var e=this._transformMatrix,t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],o=e[5],s=t*i-r*n,c=r*n-t*i;return[i/s,r/c,n/c,t/s,(i*a-n*o)/c,(r*a-t*o)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var r=this._transformMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5],this._originalTranslate(e,t)},e.scale=function(e,t){var r=this._transformMatrix;r[0]=r[0]*e,r[1]=r[1]*e,r[2]=r[2]*t,r[3]=r[3]*t,this._originalScale(e,t)},e.transform=function(t,r,n,i,a,o){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*r,s[1]*t+s[3]*r,s[0]*n+s[2]*i,s[1]*n+s[3]*i,s[0]*a+s[2]*o+s[4],s[1]*a+s[3]*o+s[5]],e._originalTransform(t,r,n,i,a,o)},e.setTransform=function(t,r,n,i,a,o){this._transformMatrix=[t,r,n,i,a,o],e._originalSetTransform(t,r,n,i,a,o)},e.rotate=function(e){var t=Math.cos(e),r=Math.sin(e),n=this._transformMatrix;this._transformMatrix=[n[0]*t+n[2]*r,n[1]*t+n[3]*r,-(n[0]*r)+n[2]*t,-(n[1]*r)+n[3]*t,n[4],n[5]],this._originalRotate(e)})}var c=function(){function e(e){this.canvasFactory=e,this.cache=Object.create(null)}return e.prototype={getCanvas:function(e,t,r,n){var i;return void 0!==this.cache[e]?(i=this.cache[e],this.canvasFactory.reset(i,t,r),i.context.setTransform(1,0,0,1,0,0)):(i=this.canvasFactory.create(t,r),this.cache[e]=i),n&&s(i.context),i},clear:function(){for(var e in this.cache){var t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}},e}(),l=function(){function e(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=n.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=n.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}(),u=function(){function e(e,t,r,n,i){this.ctx=e,this.current=new l,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=r,this.canvasFactory=n,this.imageLayer=i,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new c(this.canvasFactory),e&&s(e),this.cachedGetSinglePixelWidth=null}function t(e,t){if("undefined"!=typeof ImageData&&t instanceof ImageData){e.putImageData(t,0,0);return}var r,i,a,s,c,l=t.height,u=t.width,d=l%16,h=(l-d)/16,f=0===d?h:h+1,p=e.createImageData(u,16),g=0,m=t.data,b=p.data;if(t.kind===n.ImageKind.GRAYSCALE_1BPP){var v=m.byteLength,y=new Uint32Array(b.buffer,0,b.byteLength>>2),_=y.length,A=u+7>>3,x=o.value?0xff000000:255;for(r=0;r<f;r++){for(i=0,a=r<h?16:d,c=0;i<a;i++){for(var S=v-g,w=0,T=S>A?u:8*S-7,D=-8&T,C=0,k=0;w<D;w+=8)k=m[g++],y[c++]=128&k?0xffffffff:x,y[c++]=64&k?0xffffffff:x,y[c++]=32&k?0xffffffff:x,y[c++]=16&k?0xffffffff:x,y[c++]=8&k?0xffffffff:x,y[c++]=4&k?0xffffffff:x,y[c++]=2&k?0xffffffff:x,y[c++]=1&k?0xffffffff:x;for(;w<T;w++)0===C&&(k=m[g++],C=128),y[c++]=k&C?0xffffffff:x,C>>=1}for(;c<_;)y[c++]=0;e.putImageData(p,0,16*r)}}else if(t.kind===n.ImageKind.RGBA_32BPP){for(r=0,i=0,s=64*u;r<h;r++)b.set(m.subarray(g,g+s)),g+=s,e.putImageData(p,0,i),i+=16;r<f&&(s=u*d*4,b.set(m.subarray(g,g+s)),e.putImageData(p,0,i))}else if(t.kind===n.ImageKind.RGB_24BPP)for(r=0,s=u*(a=16);r<f;r++){for(r>=h&&(s=u*(a=d)),c=0,i=s;i--;)b[c++]=m[g++],b[c++]=m[g++],b[c++]=m[g++],b[c++]=255;e.putImageData(p,0,16*r)}else throw Error("bad image kind: "+t.kind)}function r(e,t){for(var r=t.height,n=t.width,i=r%16,a=(r-i)/16,o=0===i?a:a+1,s=e.createImageData(n,16),c=0,l=t.data,u=s.data,d=0;d<o;d++){for(var h=d<a?16:i,f=3,p=0;p<h;p++)for(var g=0,m=0;m<n;m++){if(!g){var b=l[c++];g=128}u[f]=b&g?0:255,f+=4,g>>=1}e.putImageData(s,0,16*d)}}function u(e,t){for(var r=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],n=0,i=r.length;n<i;n++){var a=r[n];void 0!==e[a]&&(t[a]=e[a])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function d(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function h(e,t,r){for(var n=e.length,i=1/255,a=3;a<n;a+=4){var o=r?r[e[a]]:e[a];t[a]=t[a]*o*i|0}}function f(e,t,r){for(var n=e.length,i=3;i<n;i+=4){var a=77*e[i-3]+152*e[i-2]+28*e[i-1];t[i]=r?t[i]*r[a>>8]>>8:t[i]*a>>16}}function p(e,t,r){var n=t.canvas,i=t.context;e.setTransform(t.scaleX,0,0,t.scaleY,t.offsetX,t.offsetY);var o=t.backdrop||null;if(!t.transferMap&&a.WebGLUtils.isEnabled){var s=a.WebGLUtils.composeSMask(r.canvas,n,{subtype:t.subtype,backdrop:o});e.setTransform(1,0,0,1,0,0),e.drawImage(s,t.offsetX,t.offsetY);return}(function(e,t,r,n,i,a,o){var s,c=!!a,l=c?a[0]:0,u=c?a[1]:0,d=c?a[2]:0;s="Luminosity"===i?f:h;for(var p=Math.min(n,Math.ceil(1048576/r)),g=0;g<n;g+=p){var m=Math.min(p,n-g),b=e.getImageData(0,g,r,m),v=t.getImageData(0,g,r,m);c&&function(e,t,r,n){for(var i=e.length,a=3;a<i;a+=4){var o=e[a];if(0===o)e[a-3]=t,e[a-2]=r,e[a-1]=n;else if(o<255){var s=255-o;e[a-3]=e[a-3]*o+t*s>>8,e[a-2]=e[a-2]*o+r*s>>8,e[a-1]=e[a-1]*o+n*s>>8}}}(b.data,l,u,d),s(b.data,v.data,o),e.putImageData(v,0,g)}})(i,r,n.width,n.height,t.subtype,o,t.transferMap),e.drawImage(n,0,0)}var g=["butt","round","square"],m=["miter","round","bevel"],b={},v={};for(var y in e.prototype={beginDrawing:function(e){var t=e.transform,r=e.viewport,n=e.transparency,i=e.background,a=this.ctx.canvas.width,o=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=(void 0===i?null:i)||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,a,o),this.ctx.restore(),n){var s=this.cachedCanvases.getCanvas("transparent",a,o,!0);this.compositeCtx=this.ctx,this.transparentCanvas=s.canvas,this.ctx=s.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),d(this.ctx),t&&this.ctx.transform.apply(this.ctx,t),this.ctx.transform.apply(this.ctx,r.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(e,t,r,i){var a,o=e.argsArray,s=e.fnArray,c=t||0,l=o.length;if(l===c)return c;for(var u=l-c>10&&"function"==typeof r,d=u?Date.now()+15:0,h=0,f=this.commonObjs,p=this.objs;;){if(void 0!==i&&c===i.nextBreakPoint)return i.breakIt(c,r),c;if((a=s[c])!==n.OPS.dependency)this[a].apply(this,o[c]);else for(var g=o[c],m=0,b=g.length;m<b;m++){var v=g[m],y="g"===v[0]&&"_"===v[1]?f:p;if(!y.isResolved(v))return y.get(v,r),c}if(++c===l)return c;if(u&&++h>10){if(Date.now()>d)return r(),c;h=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),a.WebGLUtils.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e},setLineCap:function(e){this.ctx.lineCap=g[e]},setLineJoin:function(e){this.ctx.lineJoin=m[e]},setMiterLimit:function(e){this.ctx.miterLimit=e},setDash:function(e,t){var r=this.ctx;void 0!==r.setLineDash&&(r.setLineDash(e),r.lineDashOffset=t)},setRenderingIntent:function(e){},setFlatness:function(e){},setGState:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],i=n[0],a=n[1];switch(i){case"LW":this.setLineWidth(a);break;case"LC":this.setLineCap(a);break;case"LJ":this.setLineJoin(a);break;case"ML":this.setMiterLimit(a);break;case"D":this.setDash(a[0],a[1]);break;case"RI":this.setRenderingIntent(a);break;case"FL":this.setFlatness(a);break;case"Font":this.setFont(a[0],a[1]);break;case"CA":this.current.strokeAlpha=n[1];break;case"ca":this.current.fillAlpha=n[1],this.ctx.globalAlpha=n[1];break;case"BM":this.ctx.globalCompositeOperation=a;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=a?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function(){var e=this.current.activeSMask,t=e.canvas.width,r=e.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,t,r,!0),a=this.ctx,o=a.mozCurrentTransform;this.ctx.save();var s=i.context;s.scale(1/e.scaleX,1/e.scaleY),s.translate(-e.offsetX,-e.offsetY),s.transform.apply(s,o),e.startTransformInverse=s.mozCurrentTransformInverse,u(a,s),this.ctx=s,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(a),this.groupLevel++},suspendSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),p(this.ctx,this.current.activeSMask,e),this.ctx.restore(),this.ctx.save(),u(e,this.ctx),this.current.resumeSMaskCtx=e;var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t),e.save(),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.restore()},resumeSMaskGroup:function(){var e=this.current.resumeSMaskCtx,t=this.ctx;this.ctx=e,this.groupStack.push(t),this.groupLevel++},endSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),p(this.ctx,this.current.activeSMask,e),this.ctx.restore(),u(e,this.ctx);var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t)},save:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null!==this.current.activeSMask&&(0===this.stateStack.length||this.stateStack[this.stateStack.length-1].activeSMask!==this.current.activeSMask)&&this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this.cachedGetSinglePixelWidth=null)},transform:function(e,t,r,n,i,a){this.ctx.transform(e,t,r,n,i,a),this.cachedGetSinglePixelWidth=null},constructPath:function(e,t){for(var r=this.ctx,i=this.current,a=i.x,o=i.y,s=0,c=0,l=e.length;s<l;s++)switch(0|e[s]){case n.OPS.rectangle:a=t[c++],o=t[c++];var u=t[c++],d=t[c++];0===u&&(u=this.getSinglePixelWidth()),0===d&&(d=this.getSinglePixelWidth());var h=a+u,f=o+d;this.ctx.moveTo(a,o),this.ctx.lineTo(h,o),this.ctx.lineTo(h,f),this.ctx.lineTo(a,f),this.ctx.lineTo(a,o),this.ctx.closePath();break;case n.OPS.moveTo:a=t[c++],o=t[c++],r.moveTo(a,o);break;case n.OPS.lineTo:a=t[c++],o=t[c++],r.lineTo(a,o);break;case n.OPS.curveTo:a=t[c+4],o=t[c+5],r.bezierCurveTo(t[c],t[c+1],t[c+2],t[c+3],a,o),c+=6;break;case n.OPS.curveTo2:r.bezierCurveTo(a,o,t[c],t[c+1],t[c+2],t[c+3]),a=t[c+2],o=t[c+3],c+=4;break;case n.OPS.curveTo3:a=t[c+2],o=t[c+3],r.bezierCurveTo(t[c],t[c+1],a,o,a,o),c+=4;break;case n.OPS.closePath:r.closePath()}i.setCurrentPoint(a,o)},closePath:function(){this.ctx.closePath()},stroke:function(e){e=void 0===e||e;var t=this.ctx,r=this.current.strokeColor;t.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth),t.globalAlpha=this.current.strokeAlpha,r&&r.hasOwnProperty("type")&&"Pattern"===r.type?(t.save(),t.strokeStyle=r.getPattern(t,this),t.stroke(),t.restore()):t.stroke(),e&&this.consumePath(),t.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(e){e=void 0===e||e;var t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,i=!1;n&&(t.save(),this.baseTransform&&t.setTransform.apply(t,this.baseTransform),t.fillStyle=r.getPattern(t,this),i=!0),this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill(),i&&t.restore(),e&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=b},eoClip:function(){this.pendingClip=v},beginText:function(){this.current.textMatrix=n.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0===e){t.beginPath();return}t.save(),t.beginPath();for(var r=0;r<e.length;r++){var n=e[r];t.setTransform.apply(t,n.transform),t.translate(n.x,n.y),n.addToPath(t,n.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths},setCharSpacing:function(e){this.current.charSpacing=e},setWordSpacing:function(e){this.current.wordSpacing=e},setHScale:function(e){this.current.textHScale=e/100},setLeading:function(e){this.current.leading=-e},setFont:function(e,t){var r=this.commonObjs.get(e),i=this.current;if(!r)throw Error("Can't find font for "+e);if(i.fontMatrix=r.fontMatrix?r.fontMatrix:n.FONT_IDENTITY_MATRIX,(0===i.fontMatrix[0]||0===i.fontMatrix[3])&&(0,n.warn)("Invalid font matrix for font "+e),t<0?(t=-t,i.fontDirection=-1):i.fontDirection=1,this.current.font=r,this.current.fontSize=t,!r.isType3Font){var a=r.loadedName||"sans-serif",o=r.black?"900":r.bold?"bold":"normal",s=r.italic?"italic":"normal",c='"'+a+'", '+r.fallbackName,l=t<16?16:t>100?100:t;this.current.fontSizeScale=t/l,this.ctx.font=s+" "+o+" "+l+"px "+c}},setTextRenderingMode:function(e){this.current.textRenderingMode=e},setTextRise:function(e){this.current.textRise=e},moveText:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},setTextMatrix:function(e,t,r,n,i,a){this.current.textMatrix=[e,t,r,n,i,a],this.current.textMatrixScale=Math.sqrt(e*e+t*t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(e,t,r){var i,a=this.ctx,o=this.current,s=o.font,c=o.textRenderingMode,l=o.fontSize/o.fontSizeScale,u=c&n.TextRenderingMode.FILL_STROKE_MASK,d=!!(c&n.TextRenderingMode.ADD_TO_PATH_FLAG);(s.disableFontFace||d)&&(i=s.getPathGenerator(this.commonObjs,e)),s.disableFontFace?(a.save(),a.translate(t,r),a.beginPath(),i(a,l),(u===n.TextRenderingMode.FILL||u===n.TextRenderingMode.FILL_STROKE)&&a.fill(),(u===n.TextRenderingMode.STROKE||u===n.TextRenderingMode.FILL_STROKE)&&a.stroke(),a.restore()):((u===n.TextRenderingMode.FILL||u===n.TextRenderingMode.FILL_STROKE)&&a.fillText(e,t,r),(u===n.TextRenderingMode.STROKE||u===n.TextRenderingMode.FILL_STROKE)&&a.strokeText(e,t,r)),d&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:a.mozCurrentTransform,x:t,y:r,fontSize:l,addToPath:i})},get isFontSubpixelAAEnabled(){var _=this.canvasFactory.create(10,10).context;_.scale(1.5,1),_.fillText("I",0,10);for(var A=_.getImageData(0,0,10,10).data,x=!1,S=3;S<A.length;S+=4)if(A[S]>0&&A[S]<255){x=!0;break}return(0,n.shadow)(this,"isFontSubpixelAAEnabled",x)},showText:function(e){var t=this.current,r=t.font;if(r.isType3Font)return this.showType3Text(e);var i=t.fontSize;if(0!==i){var a=this.ctx,o=t.fontSizeScale,s=t.charSpacing,c=t.wordSpacing,l=t.fontDirection,u=t.textHScale*l,d=e.length,h=r.vertical,f=h?1:-1,p=r.defaultVMetrics,g=i*t.fontMatrix[0],m=t.textRenderingMode===n.TextRenderingMode.FILL&&!r.disableFontFace;a.save(),a.transform.apply(a,t.textMatrix),a.translate(t.x,t.y+t.textRise),t.patternFill&&(a.fillStyle=t.fillColor.getPattern(a,this)),l>0?a.scale(u,-1):a.scale(u,1);var b=t.lineWidth,v=t.textMatrixScale;if(0===v||0===b){var y=t.textRenderingMode&n.TextRenderingMode.FILL_STROKE_MASK;(y===n.TextRenderingMode.STROKE||y===n.TextRenderingMode.FILL_STROKE)&&(this.cachedGetSinglePixelWidth=null,b=.65*this.getSinglePixelWidth())}else b/=v;1!==o&&(a.scale(o,o),b/=o),a.lineWidth=b;var _,A=0;for(_=0;_<d;++_){var x,S,w,T,D,C,k,E=e[_];if((0,n.isNum)(E)){A+=f*E*i/1e3;continue}var P=!1,R=(E.isSpace?c:0)+s,F=E.fontChar,U=E.accent,O=E.width;if(h?(D=E.vmetric||p,C=-(C=E.vmetric?D[1]:.5*O)*g,k=D[2]*g,O=D?-D[0]:O,x=C/o,S=(A+k)/o):(x=A/o,S=0),r.remeasure&&O>0){var I=1e3*a.measureText(F).width/i*o;if(O<I&&this.isFontSubpixelAAEnabled){var L=O/I;P=!0,a.save(),a.scale(L,1),x/=L}else O!==I&&(x+=(O-I)/2e3*i/o)}(E.isInFont||r.missingFile)&&(m&&!U?a.fillText(F,x,S):(this.paintChar(F,x,S),U&&(w=x+U.offset.x/o,T=S-U.offset.y/o,this.paintChar(U.fontChar,w,T)))),A+=O*g+R*l,P&&a.restore()}h?t.y-=A*u:t.x+=A*u,a.restore()}},showType3Text:function(e){var t,r,i,a,o=this.ctx,s=this.current,c=s.font,l=s.fontSize,u=s.fontDirection,d=c.vertical?1:-1,h=s.charSpacing,f=s.wordSpacing,p=s.textHScale*u,g=s.fontMatrix||n.FONT_IDENTITY_MATRIX,m=e.length;if(s.textRenderingMode!==n.TextRenderingMode.INVISIBLE&&0!==l){for(this.cachedGetSinglePixelWidth=null,o.save(),o.transform.apply(o,s.textMatrix),o.translate(s.x,s.y),o.scale(p,u),t=0;t<m;++t){if(r=e[t],(0,n.isNum)(r)){a=d*r*l/1e3,this.ctx.translate(a,0),s.x+=a*p;continue}var b=(r.isSpace?f:0)+h,v=c.charProcOperatorList[r.operatorListId];if(!v){(0,n.warn)('Type3 character "'+r.operatorListId+'" is not available.');continue}this.processingType3=r,this.save(),o.scale(l,l),o.transform.apply(o,g),this.executeOperatorList(v),this.restore(),i=n.Util.applyTransform([r.width,0],g)[0]*l+b,o.translate(i,0),s.x+=i*p}o.restore(),this.processingType3=null}},setCharWidth:function(e,t){},setCharWidthAndBounds:function(e,t,r,n,i,a){this.ctx.rect(r,n,i-r,a-n),this.clip(),this.endPath()},getColorN_Pattern:function(t){var r,n=this;if("TilingPattern"===t[0]){var a=t[1],o=this.baseTransform||this.ctx.mozCurrentTransform.slice();r=new i.TilingPattern(t,a,this.ctx,{createCanvasGraphics:function(t){return new e(t,n.commonObjs,n.objs,n.canvasFactory)}},o)}else r=(0,i.getShadingPatternFromIR)(t);return r},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.strokeStyle=i,this.current.strokeColor=i},setFillRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1},shadingFill:function(e){var t=this.ctx;this.save();var r=(0,i.getShadingPatternFromIR)(e);t.fillStyle=r.getPattern(t,this,!0);var a=t.mozCurrentTransformInverse;if(a){var o=t.canvas,s=o.width,c=o.height,l=n.Util.applyTransform([0,0],a),u=n.Util.applyTransform([0,c],a),d=n.Util.applyTransform([s,0],a),h=n.Util.applyTransform([s,c],a),f=Math.min(l[0],u[0],d[0],h[0]),p=Math.min(l[1],u[1],d[1],h[1]),g=Math.max(l[0],u[0],d[0],h[0]),m=Math.max(l[1],u[1],d[1],h[1]);this.ctx.fillRect(f,p,g-f,m-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){throw Error("Should not call beginInlineImage")},beginImageData:function(){throw Error("Should not call beginImageData")},paintFormXObjectBegin:function(e,t){if(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,Array.isArray(t)&&4===t.length){var r=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],r,n),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(e){this.save();var t=this.ctx;e.isolated||(0,n.info)("TODO: Support non-isolated groups."),e.knockout&&(0,n.warn)("Knockout groups not supported.");var r=t.mozCurrentTransform;if(e.matrix&&t.transform.apply(t,e.matrix),!e.bbox)throw Error("Bounding box is required.");var i=n.Util.getAxialAlignedBoundingBox(e.bbox,t.mozCurrentTransform),a=[0,0,t.canvas.width,t.canvas.height],o=Math.floor((i=n.Util.intersect(i,a)||[0,0,0,0])[0]),s=Math.floor(i[1]),c=Math.max(Math.ceil(i[2])-o,1),l=Math.max(Math.ceil(i[3])-s,1),d=1,h=1;c>4096&&(d=c/4096,c=4096),l>4096&&(h=l/4096,l=4096);var f="groupAt"+this.groupLevel;e.smask&&(f+="_smask_"+this.smaskCounter++%2);var p=this.cachedCanvases.getCanvas(f,c,l,!0),g=p.context;g.scale(1/d,1/h),g.translate(-o,-s),g.transform.apply(g,r),e.smask?this.smaskStack.push({canvas:p.canvas,context:g,offsetX:o,offsetY:s,scaleX:d,scaleY:h,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(o,s),t.scale(d,h)),u(t,g),this.ctx=g,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++,this.current.activeSMask=null},endGroup:function(e){this.groupLevel--;var t=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,e.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(t.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(e,t,r){if(this.save(),d(this.ctx),this.current=new l,Array.isArray(e)&&4===e.length){var n=e[2]-e[0],i=e[3]-e[1];this.ctx.rect(e[0],e[1],n,i),this.clip(),this.endPath()}this.transform.apply(this,t),this.transform.apply(this,r)},endAnnotation:function(){this.restore()},paintJpegXObject:function(e,t,r){var i=this.objs.get(e);if(!i){(0,n.warn)("Dependent image isn't ready yet");return}this.save();var a=this.ctx;if(a.scale(1/t,-1/r),a.drawImage(i,0,0,i.width,i.height,0,-r,t,r),this.imageLayer){var o=a.mozCurrentTransformInverse,s=this.getCanvasPosition(0,0);this.imageLayer.appendImage({objId:e,left:s[0],top:s[1],width:t/o[0],height:r/o[3]})}this.restore()},paintImageMaskXObject:function(e){var t=this.ctx,n=e.width,i=e.height,a=this.current.fillColor,o=this.current.patternFill,s=this.processingType3;if(s&&void 0===s.compiled&&(n<=1e3&&i<=1e3?s.compiled=function(e){var t,r,n,i,a=e.width,o=e.height,s=a+1,c=new Uint8Array(s*(o+1)),l=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),u=a+7&-8,d=e.data,h=new Uint8Array(u*o),f=0;for(t=0,i=d.length;t<i;t++)for(var p=128,g=d[t];p>0;)h[f++]=g&p?0:255,p>>=1;var m=0;for(0!==h[f=0]&&(c[0]=1,++m),r=1;r<a;r++)h[f]!==h[f+1]&&(c[r]=h[f]?2:1,++m),f++;for(0!==h[f]&&(c[r]=2,++m),t=1;t<o;t++){f=t*u,n=t*s,h[f-u]!==h[f]&&(c[n]=h[f]?1:8,++m);var b=(h[f]?4:0)+(h[f-u]?8:0);for(r=1;r<a;r++)l[b=(b>>2)+(h[f+1]?4:0)+(h[f-u+1]?8:0)]&&(c[n+r]=l[b],++m),f++;if(h[f-u]!==h[f]&&(c[n+r]=h[f]?2:4,++m),m>1e3)return null}for(f=u*(o-1),n=t*s,0!==h[f]&&(c[n]=8,++m),r=1;r<a;r++)h[f]!==h[f+1]&&(c[n+r]=h[f]?4:8,++m),f++;if(0!==h[f]&&(c[n+r]=4,++m),m>1e3)return null;var v=new Int32Array([0,s,-1,0,-s,0,0,0,1]),y=[];for(t=0;m&&t<=o;t++){for(var _=t*s,A=_+a;_<A&&!c[_];)_++;if(_!==A){var x,S=[_%s,t],w=c[_],T=_;do{var D=v[w];do _+=D;while(!c[_]);5!==(x=c[_])&&10!==x?(w=x,c[_]=0):(w=x&51*w>>4,c[_]&=w>>2|w<<2),S.push(_%s),S.push(_/s|0),--m}while(T!==_);y.push(S),--t}}return function(e){e.save(),e.scale(1/a,-1/o),e.translate(0,-o),e.beginPath();for(var t=0,r=y.length;t<r;t++){var n=y[t];e.moveTo(n[0],n[1]);for(var i=2,s=n.length;i<s;i+=2)e.lineTo(n[i],n[i+1])}e.fill(),e.beginPath(),e.restore()}}({data:e.data,width:n,height:i}):s.compiled=null),s&&s.compiled){s.compiled(t);return}var c=this.cachedCanvases.getCanvas("maskCanvas",n,i),l=c.context;l.save(),r(l,e),l.globalCompositeOperation="source-in",l.fillStyle=o?a.getPattern(l,this):a,l.fillRect(0,0,n,i),l.restore(),this.paintInlineImageXObject(c.canvas)},paintImageMaskXObjectRepeat:function(e,t,n,i){var a=e.width,o=e.height,s=this.current.fillColor,c=this.current.patternFill,l=this.cachedCanvases.getCanvas("maskCanvas",a,o),u=l.context;u.save(),r(u,e),u.globalCompositeOperation="source-in",u.fillStyle=c?s.getPattern(u,this):s,u.fillRect(0,0,a,o),u.restore();for(var d=this.ctx,h=0,f=i.length;h<f;h+=2)d.save(),d.transform(t,0,0,n,i[h],i[h+1]),d.scale(1,-1),d.drawImage(l.canvas,0,0,a,o,0,-1,1,1),d.restore()},paintImageMaskXObjectGroup:function(e){for(var t=this.ctx,n=this.current.fillColor,i=this.current.patternFill,a=0,o=e.length;a<o;a++){var s=e[a],c=s.width,l=s.height,u=this.cachedCanvases.getCanvas("maskCanvas",c,l),d=u.context;d.save(),r(d,s),d.globalCompositeOperation="source-in",d.fillStyle=i?n.getPattern(d,this):n,d.fillRect(0,0,c,l),d.restore(),t.save(),t.transform.apply(t,s.transform),t.scale(1,-1),t.drawImage(u.canvas,0,0,c,l,0,-1,1,1),t.restore()}},paintImageXObject:function(e){var t=this.objs.get(e);if(!t){(0,n.warn)("Dependent image isn't ready yet");return}this.paintInlineImageXObject(t)},paintImageXObjectRepeat:function(e,t,r,i){var a=this.objs.get(e);if(!a){(0,n.warn)("Dependent image isn't ready yet");return}for(var o=a.width,s=a.height,c=[],l=0,u=i.length;l<u;l+=2)c.push({transform:[t,0,0,r,i[l],i[l+1]],x:0,y:0,w:o,h:s});this.paintInlineImageXObjectGroup(a,c)},paintInlineImageXObject:function(e){var r,n,i=e.width,a=e.height,o=this.ctx;this.save(),o.scale(1/i,-1/a);var s=o.mozCurrentTransformInverse,c=s[0],l=s[1],u=Math.max(Math.sqrt(c*c+l*l),1),d=s[2],h=s[3],f=Math.max(Math.sqrt(d*d+h*h),1);if(e instanceof HTMLElement||!e.data)r=e;else{var p=(n=this.cachedCanvases.getCanvas("inlineImage",i,a)).context;t(p,e),r=n.canvas}for(var g=i,m=a,b="prescale1";u>2&&g>1||f>2&&m>1;){var v=g,y=m;u>2&&g>1&&(v=Math.ceil(g/2),u/=g/v),f>2&&m>1&&(y=Math.ceil(m/2),f/=m/y),(p=(n=this.cachedCanvases.getCanvas(b,v,y)).context).clearRect(0,0,v,y),p.drawImage(r,0,0,g,m,0,0,v,y),r=n.canvas,g=v,m=y,b="prescale1"===b?"prescale2":"prescale1"}if(o.drawImage(r,0,0,g,m,0,-a,i,a),this.imageLayer){var _=this.getCanvasPosition(0,-a);this.imageLayer.appendImage({imgData:e,left:_[0],top:_[1],width:i/s[0],height:a/s[3]})}this.restore()},paintInlineImageXObjectGroup:function(e,r){var n=this.ctx,i=e.width,a=e.height,o=this.cachedCanvases.getCanvas("inlineImage",i,a);t(o.context,e);for(var s=0,c=r.length;s<c;s++){var l=r[s];if(n.save(),n.transform.apply(n,l.transform),n.scale(1,-1),n.drawImage(o.canvas,l.x,l.y,l.w,l.h,0,-1,1,1),this.imageLayer){var u=this.getCanvasPosition(l.x,l.y);this.imageLayer.appendImage({imgData:e,left:u[0],top:u[1],width:i,height:a})}n.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){(0,n.warn)("Unsupported 'paintXObject' command.")},markPoint:function(e){},markPointProps:function(e,t){},beginMarkedContent:function(e){},beginMarkedContentProps:function(e,t){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var e=this.ctx;this.pendingClip&&(this.pendingClip===v?e.clip("evenodd"):e.clip(),this.pendingClip=null),e.beginPath()},getSinglePixelWidth:function(e){if(null===this.cachedGetSinglePixelWidth){this.ctx.save();var t=this.ctx.mozCurrentTransformInverse;this.ctx.restore(),this.cachedGetSinglePixelWidth=Math.sqrt(Math.max(t[0]*t[0]+t[1]*t[1],t[2]*t[2]+t[3]*t[3]))}return this.cachedGetSinglePixelWidth},getCanvasPosition:function(e,t){var r=this.ctx.mozCurrentTransform;return[r[0]*e+r[2]*t+r[4],r[1]*e+r[3]*t+r[5]]}},n.OPS)e.prototype[n.OPS[y]]=e.prototype[y];return e}();t.CanvasGraphics=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TilingPattern=t.getShadingPatternFromIR=void 0;var n=r(0),i=r(70),a={};a.RadialAxial={fromIR:function(e){var t=e[1],r=e[2],n=e[3],i=e[4],a=e[5],o=e[6];return{type:"Pattern",getPattern:function(e){var s;"axial"===t?s=e.createLinearGradient(n[0],n[1],i[0],i[1]):"radial"===t&&(s=e.createRadialGradient(n[0],n[1],a,i[0],i[1],o));for(var c=0,l=r.length;c<l;++c){var u=r[c];s.addColorStop(u[0],u[1])}return s}}}};var o=function(){function e(e,t,r,n,i,a,o,s){var c,l,u,d,h,f,p,g,m,b,v=t.coords,y=t.colors,_=e.data,A=4*e.width;v[r+1]>v[n+1]&&(c=r,r=n,n=c,c=a,a=o,o=c),v[n+1]>v[i+1]&&(c=n,n=i,i=c,c=o,o=s,s=c),v[r+1]>v[n+1]&&(c=r,r=n,n=c,c=a,a=o,o=c);var x=(v[r]+t.offsetX)*t.scaleX,S=(v[r+1]+t.offsetY)*t.scaleY,w=(v[n]+t.offsetX)*t.scaleX,T=(v[n+1]+t.offsetY)*t.scaleY,D=(v[i]+t.offsetX)*t.scaleX,C=(v[i+1]+t.offsetY)*t.scaleY;if(!(S>=C))for(var k=y[a],E=y[a+1],P=y[a+2],R=y[o],F=y[o+1],U=y[o+2],O=y[s],I=y[s+1],L=y[s+2],N=Math.round(S),j=Math.round(C),M=N;M<=j;M++){M<T?(l=x-(x-w)*(b=M<S?0:S===T?1:(S-M)/(S-T)),u=k-(k-R)*b,d=E-(E-F)*b,h=P-(P-U)*b):(l=w-(w-D)*(b=M>C?1:T===C?0:(T-M)/(T-C)),u=R-(R-O)*b,d=F-(F-I)*b,h=U-(U-L)*b),f=x-(x-D)*(b=M<S?0:M>C?1:(S-M)/(S-C)),p=k-(k-O)*b,g=E-(E-I)*b,m=P-(P-L)*b;for(var W=Math.round(Math.min(l,f)),q=Math.round(Math.max(l,f)),B=A*M+4*W,z=W;z<=q;z++)b=(b=(l-z)/(l-f))<0?0:b>1?1:b,_[B++]=u-(u-p)*b|0,_[B++]=d-(d-g)*b|0,_[B++]=h-(h-m)*b|0,_[B++]=255}}return function(t,r,n,a,o,s,c){var l,u,d,h,f=Math.floor(t[0]),p=Math.floor(t[1]),g=Math.ceil(t[2])-f,m=Math.ceil(t[3])-p,b=Math.min(Math.ceil(Math.abs(g*r[0]*1.1)),3e3),v=Math.min(Math.ceil(Math.abs(m*r[1]*1.1)),3e3),y=g/b,_=m/v,A={coords:n,colors:a,offsetX:-f,offsetY:-p,scaleX:1/y,scaleY:1/_},x=b+4,S=v+4;if(i.WebGLUtils.isEnabled)l=i.WebGLUtils.drawFigures(b,v,s,o,A),(u=c.getCanvas("mesh",x,S,!1)).context.drawImage(l,2,2),l=u.canvas;else{var w=(u=c.getCanvas("mesh",x,S,!1)).context,T=w.createImageData(b,v);if(s){var D=T.data;for(d=0,h=D.length;d<h;d+=4)D[d]=s[0],D[d+1]=s[1],D[d+2]=s[2],D[d+3]=255}for(d=0;d<o.length;d++)!function(t,r,n){var i,a,o=r.coords,s=r.colors;switch(r.type){case"lattice":var c=r.verticesPerRow,l=Math.floor(o.length/c)-1,u=c-1;for(i=0;i<l;i++)for(var d=i*c,h=0;h<u;h++,d++)e(t,n,o[d],o[d+1],o[d+c],s[d],s[d+1],s[d+c]),e(t,n,o[d+c+1],o[d+1],o[d+c],s[d+c+1],s[d+1],s[d+c]);break;case"triangles":for(i=0,a=o.length;i<a;i+=3)e(t,n,o[i],o[i+1],o[i+2],s[i],s[i+1],s[i+2]);break;default:throw Error("illegal figure")}}(T,o[d],A);w.putImageData(T,2,2),l=u.canvas}return{canvas:l,offsetX:f-2*y,offsetY:p-2*_,scaleX:y,scaleY:_}}}();a.Mesh={fromIR:function(e){var t=e[2],r=e[3],i=e[4],a=e[5],s=e[6],c=e[8];return{type:"Pattern",getPattern:function(e,l,u){if(u)d=n.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(d=n.Util.singularValueDecompose2dScale(l.baseTransform),s){var d,h=n.Util.singularValueDecompose2dScale(s);d=[d[0]*h[0],d[1]*h[1]]}var f=o(a,d,t,r,i,u?null:c,l.cachedCanvases);return!u&&(e.setTransform.apply(e,l.baseTransform),s&&e.transform.apply(e,s)),e.translate(f.offsetX,f.offsetY),e.scale(f.scaleX,f.scaleY),e.createPattern(f.canvas,"no-repeat")}}}},a.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var s=function(){var e={COLORED:1,UNCOLORED:2};function t(e,t,r,n,i){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.canvasGraphicsFactory=n,this.baseTransform=i,this.type="Pattern",this.ctx=r}return t.prototype={createPatternCanvas:function(e){var t=this.operatorList,r=this.bbox,i=this.xstep,a=this.ystep,o=this.paintType,s=this.tilingType,c=this.color,l=this.canvasGraphicsFactory;(0,n.info)("TilingType: "+s);var u=r[0],d=r[1],h=r[2],f=r[3],p=[u,d],g=[u+i,d+a],m=g[0]-p[0],b=g[1]-p[1],v=n.Util.singularValueDecompose2dScale(this.matrix),y=n.Util.singularValueDecompose2dScale(this.baseTransform),_=[v[0]*y[0],v[1]*y[1]];m=Math.min(Math.ceil(Math.abs(m*_[0])),3e3),b=Math.min(Math.ceil(Math.abs(b*_[1])),3e3);var A=e.cachedCanvases.getCanvas("pattern",m,b,!0),x=A.context,S=l.createCanvasGraphics(x);S.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(S,o,c),this.setScale(m,b,i,a),this.transformToScale(S);var w=[1,0,0,1,-p[0],-p[1]];return S.transform.apply(S,w),this.clipBbox(S,r,u,d,h,f),S.executeOperatorList(t),A.canvas},setScale:function(e,t,r,n){this.scale=[e/r,t/n]},transformToScale:function(e){var t=this.scale,r=[t[0],0,0,t[1],0,0];e.transform.apply(e,r)},scaleToContext:function(){var e=this.scale;this.ctx.scale(1/e[0],1/e[1])},clipBbox:function(e,t,r,n,i,a){Array.isArray(t)&&4===t.length&&(e.ctx.rect(r,n,i-r,a-n),e.clip(),e.endPath())},setFillAndStrokeStyleToContext:function(t,r,i){var a=t.ctx,o=t.current;switch(r){case e.COLORED:var s=this.ctx;a.fillStyle=s.fillStyle,a.strokeStyle=s.strokeStyle,o.fillColor=s.fillStyle,o.strokeColor=s.strokeStyle;break;case e.UNCOLORED:var c=n.Util.makeCssRgb(i[0],i[1],i[2]);a.fillStyle=c,a.strokeStyle=c,o.fillColor=c,o.strokeColor=c;break;default:throw new n.FormatError("Unsupported paint type: "+r)}},getPattern:function(e,t){var r=this.createPatternCanvas(t);return(e=this.ctx).setTransform.apply(e,this.baseTransform),e.transform.apply(e,this.matrix),this.scaleToContext(),e.createPattern(r,"repeat")}},t}();t.getShadingPatternFromIR=function(e){var t=a[e[0]];if(!t)throw Error("Unknown IR type: "+e[0]);return t.fromIR(e)},t.TilingPattern=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}return r}(e,t);throw TypeError("Invalid attempt to destructure non-iterable instance")},i=function e(t,r,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,r);if(void 0===i){var a=Object.getPrototypeOf(t);if(null===a)return;return e(a,r,n)}if("value"in i)return i.value;var o=i.get;if(void 0!==o)return o.call(n)},a=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var s={NoError:0,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,UnterminatedElement:-9};function c(e,t){var r=e[t];return" "===r||"\n"===r||"\r"===r||" "===r}var l=function(){function e(){o(this,e)}return a(e,[{key:"_resolveEntities",value:function(e){return e.replace(/&([^;]+);/g,function(e,t){if("#x"===t.substring(0,2))return String.fromCharCode(parseInt(t.substring(2),16));if("#"===t.substring(0,1))return String.fromCharCode(parseInt(t.substring(1),10));switch(t){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"'}return this.onResolveEntity(t)})}},{key:"_parseContent",value:function(e,t){var r=t,n=void 0,i=[];function a(){for(;r<e.length&&c(e,r);)++r}for(;r<e.length&&!c(e,r)&&">"!==e[r]&&"/"!==e[r];)++r;for(n=e.substring(t,r),a();r<e.length&&">"!==e[r]&&"/"!==e[r]&&"?"!==e[r];){a();for(var o="",s="";r<e.length&&!c(e,r)&&"="!==e[r];)o+=e[r],++r;if(a(),"="!==e[r])return null;++r,a();var l=e[r];if('"'!==l&&"'"!==l)return null;var u=e.indexOf(l,++r);if(u<0)return null;s=e.substring(r,u),i.push({name:o,value:this._resolveEntities(s)}),r=u+1,a()}return{name:n,attributes:i,parsed:r-t}}},{key:"_parseProcessingInstruction",value:function(e,t){for(var r=t,n=void 0;r<e.length&&!c(e,r)&&">"!==e[r]&&"/"!==e[r];)++r;n=e.substring(t,r),function(){for(;r<e.length&&c(e,r);)++r}();for(var i=r;r<e.length&&("?"!==e[r]||">"!==e[r+1]);)++r;return{name:n,value:e.substring(i,r),parsed:r-t}}},{key:"parseXml",value:function(e){for(var t=0;t<e.length;){var r=e[t],n=t;if("<"===r){var i=e[++n],a=void 0;switch(i){case"/":if(++n,(a=e.indexOf(">",n))<0){this.onError(s.UnterminatedElement);return}this.onEndElement(e.substring(n,a)),n=a+1;break;case"?":++n;var o=this._parseProcessingInstruction(e,n);if("?>"!==e.substring(n+o.parsed,n+o.parsed+2)){this.onError(s.UnterminatedXmlDeclaration);return}this.onPi(o.name,o.value),n+=o.parsed+2;break;case"!":if("--"===e.substring(n+1,n+3)){if((a=e.indexOf("--\x3e",n+3))<0){this.onError(s.UnterminatedComment);return}this.onComment(e.substring(n+3,a)),n=a+3}else if("[CDATA["===e.substring(n+1,n+8)){if((a=e.indexOf("]]>",n+8))<0){this.onError(s.UnterminatedCdat);return}this.onCdata(e.substring(n+8,a)),n=a+3}else if("DOCTYPE"===e.substring(n+1,n+8)){var c=e.indexOf("[",n+8),l=!1;if((a=e.indexOf(">",n+8))<0){this.onError(s.UnterminatedDoctypeDeclaration);return}if(c>0&&a>c){if((a=e.indexOf("]>",n+8))<0){this.onError(s.UnterminatedDoctypeDeclaration);return}l=!0}var u=e.substring(n+8,a+(l?1:0));this.onDoctype(u),n=a+(l?2:1)}else{this.onError(s.MalformedElement);return}break;default:var d=this._parseContent(e,n);if(null===d){this.onError(s.MalformedElement);return}var h=!1;if("/>"===e.substring(n+d.parsed,n+d.parsed+2))h=!0;else if(">"!==e.substring(n+d.parsed,n+d.parsed+1)){this.onError(s.UnterminatedElement);return}this.onBeginElement(d.name,d.attributes,h),n+=d.parsed+(h?2:1)}}else{for(;n<e.length&&"<"!==e[n];)n++;var f=e.substring(t,n);this.onText(this._resolveEntities(f))}t=n}}},{key:"onResolveEntity",value:function(e){return"&"+e+";"}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,r){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}]),e}(),u=function(){function e(t,r){o(this,e),this.nodeName=t,this.nodeValue=r,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return a(e,[{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"firstChild",get:function(){return this.childNodes[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[e+1]}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map(function(e){return e.textContent}).join(""):this.nodeValue||""}}]),e}(),d=function(e){function t(){o(this,t);var e=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e._currentFragment=null,e._stack=null,e._errorCode=s.NoError,e}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=s.NoError,this.parseXml(e),this._errorCode===s.NoError)return{documentElement:n(this._currentFragment,1)[0]}}},{key:"onResolveEntity",value:function(e){return"apos"===e?"'":i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"onResolveEntity",this).call(this,e)}},{key:"onText",value:function(e){if(!function(e){for(var t=0,r=e.length;t<r;t++)if(!c(e,t))return!1;return!0}(e)){var t=new u("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new u("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,r){var n=new u(e);n.childNodes=[],this._currentFragment.push(n),r||(this._stack.push(this._currentFragment),this._currentFragment=n.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop();for(var t=this._currentFragment[this._currentFragment.length-1],r=0,n=t.childNodes.length;r<n;r++)t.childNodes[r].parentNode=t}},{key:"onError",value:function(e){this._errorCode=e}}]),t}(l);t.SimpleXMLParser=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var n=r(0),i=function(){function e(e,t){var r=this;(0,n.assert)(t),this._queuedChunks=[];var i=e.initialData;if(i&&i.length>0){var a=new Uint8Array(i).buffer;this._queuedChunks.push(a)}this._pdfDataRangeTransport=t,this._isRangeSupported=!e.disableRange,this._isStreamingSupported=!e.disableStream,this._contentLength=e.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener(function(e,t){r._onReceiveData({begin:e,chunk:t})}),this._pdfDataRangeTransport.addProgressListener(function(e){r._onProgress({loaded:e})}),this._pdfDataRangeTransport.addProgressiveReadListener(function(e){r._onReceiveData({chunk:e})}),this._pdfDataRangeTransport.transportReady()}function t(e,t){this._stream=e,this._done=!1,this._queuedChunks=t||[],this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}function r(e,t,r){this._stream=e,this._begin=t,this._end=r,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}return e.prototype={_onReceiveData:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var r=this._rangeReaders.some(function(r){return r._begin===e.begin&&(r._enqueue(t),!0)});(0,n.assert)(r)}},_onProgress:function(e){if(this._rangeReaders.length>0){var t=this._rangeReaders[0];t.onProgress&&t.onProgress({loaded:e.loaded})}},_removeRangeReader:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)},getFullReader:function(){(0,n.assert)(!this._fullRequestReader);var e=this._queuedChunks;return this._queuedChunks=null,new t(this,e)},getRangeReader:function(e,t){var n=new r(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n},cancelAllRequests:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeReaders.slice(0).forEach(function(t){t.cancel(e)}),this._pdfDataRangeTransport.abort()}},t.prototype={_enqueue:function(e){if(!this._done){if(this._requests.length>0){this._requests.shift().resolve({value:e,done:!1});return}this._queuedChunks.push(e)}},get headersReady(){return this._headersReady},get isRangeSupported(){return this._stream._isRangeSupported},get isStreamingSupported(){return this._stream._isStreamingSupported},get contentLength(){return this._stream._contentLength},read:function(){if(this._queuedChunks.length>0)return Promise.resolve({value:this._queuedChunks.shift(),done:!1});if(this._done)return Promise.resolve({value:void 0,done:!0});var e=(0,n.createPromiseCapability)();return this._requests.push(e),e.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[]}},r.prototype={_enqueue:function(e){this._done||(0===this._requests.length?this._queuedChunk=e:(this._requests.shift().resolve({value:e,done:!1}),this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[]),this._done=!0,this._stream._removeRangeReader(this))},get isStreamingSupported(){return!1},read:function(){if(this._queuedChunk){var e=this._queuedChunk;return this._queuedChunk=null,Promise.resolve({value:e,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var t=(0,n.createPromiseCapability)();return this._requests.push(t),t.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._stream._removeRangeReader(this)}},e}();t.PDFDataTransportStream=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var i=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=n(0),o=n(44);function s(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function c(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var u=r(29021),d=r(81630),h=r(55591),f=r(79551),p=function(){function e(t){l(this,e),this.options=t,this.source=t.source,this.url=f.parse(this.source.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol||!this.url.host,this.httpHeaders=this.isHttp&&this.source.httpHeaders||{},this._fullRequest=null,this._rangeRequestReaders=[]}return i(e,[{key:"getFullReader",value:function(){return(0,a.assert)(!this._fullRequest),this._fullRequest=this.isFsUrl?new _(this):new v(this),this._fullRequest}},{key:"getRangeReader",value:function(e,t){var r=this.isFsUrl?new A(this,e,t):new y(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequest&&this._fullRequest.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}}]),e}(),g=function(){function e(t){l(this,e),this._url=t.url,this._done=!1,this._errored=!1,this._reason=null,this.onProgress=null,this._contentLength=t.source.length,this._loaded=0,this._disableRange=t.options.disableRange||!1,this._rangeChunkSize=t.source.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!t.source.disableStream,this._isRangeSupported=!t.options.disableRange,this._readableStream=null,this._readCapability=(0,a.createPromiseCapability)(),this._headersCapability=(0,a.createPromiseCapability)()}return i(e,[{key:"read",value:function(){var e=this;return this._readCapability.promise.then(function(){if(e._done)return Promise.resolve({value:void 0,done:!0});if(e._errored)return Promise.reject(e._reason);var t=e._readableStream.read();return null===t?(e._readCapability=(0,a.createPromiseCapability)(),e.read()):(e._loaded+=t.length,e.onProgress&&e.onProgress({loaded:e._loaded,total:e._contentLength}),Promise.resolve({value:new Uint8Array(t).buffer,done:!1}))})}},{key:"cancel",value:function(e){if(!this._readableStream){this._error(e);return}this._readableStream.destroy(e)}},{key:"_error",value:function(e){this._errored=!0,this._reason=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",function(){t._readCapability.resolve()}),e.on("end",function(){e.destroy(),t._done=!0,t._readCapability.resolve()}),e.on("error",function(e){t._error(e)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new a.AbortException("streaming is disabled")),this._errored&&this._readableStream.destroy(this._reason)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),m=function(){function e(t){l(this,e),this._url=t.url,this._done=!1,this._errored=!1,this._reason=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,a.createPromiseCapability)(),this._isStreamingSupported=!t.source.disableStream}return i(e,[{key:"read",value:function(){var e=this;return this._readCapability.promise.then(function(){if(e._done)return Promise.resolve({value:void 0,done:!0});if(e._errored)return Promise.reject(e._reason);var t=e._readableStream.read();return null===t?(e._readCapability=(0,a.createPromiseCapability)(),e.read()):(e._loaded+=t.length,e.onProgress&&e.onProgress({loaded:e._loaded}),Promise.resolve({value:new Uint8Array(t).buffer,done:!1}))})}},{key:"cancel",value:function(e){if(!this._readableStream){this._error(e);return}this._readableStream.destroy(e)}},{key:"_error",value:function(e){this._errored=!0,this._reason=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",function(){t._readCapability.resolve()}),e.on("end",function(){e.destroy(),t._done=!0,t._readCapability.resolve()}),e.on("error",function(e){t._error(e)}),this._errored&&this._readableStream.destroy(this._reason)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}();function b(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}var v=function(e){function t(e){l(this,t);var r=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n=function(t){r._headersCapability.resolve(),r._setReadableStream(t);var n=(0,o.validateRangeRequestCapabilities)({getResponseHeader:function(e){return r._readableStream.headers[e.toLowerCase()]},isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),i=n.allowRangeRequests,a=n.suggestedLength;i&&(r._isRangeSupported=!0),r._contentLength=a};return r._request=null,"http:"===r._url.protocol?r._request=d.request(b(r._url,e.httpHeaders),n):r._request=h.request(b(r._url,e.httpHeaders),n),r._request.on("error",function(e){r._errored=!0,r._reason=e,r._headersCapability.reject(e)}),r._request.end(),r}return c(t,e),t}(g),y=function(e){function t(e,r,n){l(this,t);var i=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));for(var a in i._httpHeaders={},e.httpHeaders){var o=e.httpHeaders[a];void 0!==o&&(i._httpHeaders[a]=o)}return i._httpHeaders.Range="bytes="+r+"-"+(n-1),i._request=null,"http:"===i._url.protocol?i._request=d.request(b(i._url,i._httpHeaders),function(e){i._setReadableStream(e)}):i._request=h.request(b(i._url,i._httpHeaders),function(e){i._setReadableStream(e)}),i._request.on("error",function(e){i._errored=!0,i._reason=e}),i._request.end(),i}return c(t,e),t}(m),_=function(e){function t(e){l(this,t);var r=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n=decodeURI(r._url.path);return u.lstat(n,function(e,t){if(e){r._errored=!0,r._reason=e,r._headersCapability.reject(e);return}r._contentLength=t.size,r._setReadableStream(u.createReadStream(n)),r._headersCapability.resolve()}),r}return c(t,e),t}(g),A=function(e){function t(e,r,n){l(this,t);var i=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i._setReadableStream(u.createReadStream(decodeURI(i._url.path),{start:r,end:n-1})),i}return c(t,e),t}(m);t.PDFNodeStream=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(0),a=r(44);function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function s(e,t){return{method:"GET",headers:e,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}var c=function(){function e(t){o(this,e),this.options=t,this.source=t.source,this.isHttp=/^https?:/i.test(this.source.url),this.httpHeaders=this.isHttp&&this.source.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return n(e,[{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new l(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new u(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}}]),e}(),l=function(){function e(t){var r=this;for(var n in o(this,e),this._stream=t,this._reader=null,this._loaded=0,this._withCredentials=t.source.withCredentials,this._contentLength=this._stream.source.length,this._headersCapability=(0,i.createPromiseCapability)(),this._disableRange=this._stream.options.disableRange,this._rangeChunkSize=this._stream.source.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isRangeSupported=!this._stream.options.disableRange,this._isStreamingSupported=!this._stream.source.disableStream,this._headers=new Headers,this._stream.httpHeaders){var c=this._stream.httpHeaders[n];void 0!==c&&this._headers.append(n,c)}var l=this._stream.source.url;fetch(l,s(this._headers,this._withCredentials)).then(function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,l);r._reader=e.body.getReader(),r._headersCapability.resolve();var t=(0,a.validateRangeRequestCapabilities)({getResponseHeader:function(t){return e.headers.get(t)},isHttp:r._stream.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),n=t.allowRangeRequests,o=t.suggestedLength;r._contentLength=o,r._isRangeSupported=n,!r._isStreamingSupported&&r._isRangeSupported&&r.cancel(new i.AbortException("streaming is disabled"))}).catch(this._headersCapability.reject),this.onProgress=null}return n(e,[{key:"read",value:function(){var e=this;return this._headersCapability.promise.then(function(){return e._reader.read().then(function(t){var r=t.value,n=t.done;return n?Promise.resolve({value:r,done:n}):(e._loaded+=r.byteLength,e.onProgress&&e.onProgress({loaded:e._loaded,total:e._contentLength}),Promise.resolve({value:new Uint8Array(r).buffer,done:!1}))})})}},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),u=function(){function e(t,r,n){var c=this;for(var l in o(this,e),this._stream=t,this._reader=null,this._loaded=0,this._withCredentials=t.source.withCredentials,this._readCapability=(0,i.createPromiseCapability)(),this._isStreamingSupported=!t.source.disableStream,this._headers=new Headers,this._stream.httpHeaders){var u=this._stream.httpHeaders[l];void 0!==u&&this._headers.append(l,u)}this._headers.append("Range","bytes="+r+"-"+(n-1));var d=this._stream.source.url;fetch(d,s(this._headers,this._withCredentials)).then(function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,d);c._readCapability.resolve(),c._reader=e.body.getReader()}),this.onProgress=null}return n(e,[{key:"read",value:function(){var e=this;return this._readCapability.promise.then(function(){return e._reader.read().then(function(t){var r=t.value,n=t.done;return n?Promise.resolve({value:r,done:n}):(e._loaded+=r.byteLength,e.onProgress&&e.onProgress({loaded:e._loaded}),Promise.resolve({value:new Uint8Array(r).buffer,done:!1}))})})}},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}();t.PDFFetchStream=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkManager=t.PDFNetworkStream=void 0;var n,i=r(0),a=r(44),o=(n=r(20))&&n.__esModule?n:{default:n};function s(e,t){this.url=e,t=t||{},this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this.withCredentials=t.withCredentials||!1,this.getXhr=t.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null),this.loadedRequests=Object.create(null)}function c(e){var t=e.response;return"string"!=typeof t?t:(0,i.stringToBytes)(t).buffer}var l=function(){try{var e=new XMLHttpRequest;return e.open("GET",o.default.location.href),e.responseType="moz-chunked-arraybuffer","moz-chunked-arraybuffer"===e.responseType}catch(e){return!1}}();function u(e){this._options=e;var t=e.source;this._manager=new s(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}function d(e,t){this._manager=e;var r=t.source,n={onHeadersReceived:this._onHeadersReceived.bind(this),onProgressiveData:r.disableStream?null:this._onProgressiveData.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=e.requestFull(n),this._headersReceivedCapability=(0,i.createPromiseCapability)(),this._disableRange=t.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this.onProgress=null}function h(e,t,r){this._manager=e;var n={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=e.requestRange(t,r,n),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}s.prototype={requestRange:function(e,t,r){var n={begin:e,end:t};for(var i in r)n[i]=r[i];return this.request(n)},requestFull:function(e){return this.request(e)},request:function(e){var t=this.getXhr(),r=this.currXhrId++,n=this.pendingRequests[r]={xhr:t};for(var i in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var a=this.httpHeaders[i];void 0!==a&&t.setRequestHeader(i,a)}if(this.isHttp&&"begin"in e&&"end"in e){var o=e.begin+"-"+(e.end-1);t.setRequestHeader("Range","bytes="+o),n.expectedStatus=206}else n.expectedStatus=200;return l&&e.onProgressiveData?(t.responseType="moz-chunked-arraybuffer",n.onProgressiveData=e.onProgressiveData,n.mozChunked=!0):t.responseType="arraybuffer",e.onError&&(t.onerror=function(r){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,r),t.onprogress=this.onProgress.bind(this,r),n.onHeadersReceived=e.onHeadersReceived,n.onDone=e.onDone,n.onError=e.onError,n.onProgress=e.onProgress,t.send(null),r},onProgress:function(e,t){var r=this.pendingRequests[e];if(r){if(r.mozChunked){var n=c(r.xhr);r.onProgressiveData(n)}var i=r.onProgress;i&&i(t)}},onStateChange:function(e,t){var r=this.pendingRequests[e];if(r){var n=r.xhr;if(n.readyState>=2&&r.onHeadersReceived&&(r.onHeadersReceived(),delete r.onHeadersReceived),4===n.readyState&&e in this.pendingRequests){if(delete this.pendingRequests[e],0===n.status&&this.isHttp){r.onError&&r.onError(n.status);return}var i=n.status||200;if(!(200===i&&206===r.expectedStatus)&&i!==r.expectedStatus){r.onError&&r.onError(n.status);return}this.loadedRequests[e]=!0;var a=c(n);if(206===i){var o=n.getResponseHeader("Content-Range"),s=parseInt(/bytes (\d+)-(\d+)\/(\d+)/.exec(o)[1],10);r.onDone({begin:s,chunk:a})}else r.onProgressiveData?r.onDone(null):a?r.onDone({begin:0,chunk:a}):r.onError&&r.onError(n.status)}}},hasPendingRequests:function(){for(var e in this.pendingRequests)return!0;return!1},getRequestXhr:function(e){return this.pendingRequests[e].xhr},isStreamingRequest:function(e){return!!this.pendingRequests[e].onProgressiveData},isPendingRequest:function(e){return e in this.pendingRequests},isLoadedRequest:function(e){return e in this.loadedRequests},abortAllRequests:function(){for(var e in this.pendingRequests)this.abortRequest(0|e)},abortRequest:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}},u.prototype={_onRangeRequestReaderClosed:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)},getFullReader:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new d(this._manager,this._options),this._fullRequestReader},getRangeReader:function(e,t){var r=new h(this._manager,e,t);return r.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r},cancelAllRequests:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}},d.prototype={_onHeadersReceived:function(){var e=this._fullRequestId,t=this._manager.getRequestXhr(e),r=(0,a.validateRangeRequestCapabilities)({getResponseHeader:function(e){return t.getResponseHeader(e)},isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),n=r.allowRangeRequests,i=r.suggestedLength;this._contentLength=i||this._contentLength,n&&(this._isRangeSupported=!0);var o=this._manager;o.isStreamingRequest(e)?this._isStreamingSupported=!0:this._isRangeSupported&&o.abortRequest(e),this._headersReceivedCapability.resolve()},_onProgressiveData:function(e){this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._cachedChunks.push(e)},_onDone:function(e){e&&this._onProgressiveData(e.chunk),this._done=!0,this._cachedChunks.length>0||(this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[])},_onError:function(e){var t=this._url,r=(0,a.createResponseStatusError)(e,t);this._storedError=r,this._headersReceivedCapability.reject(r),this._requests.forEach(function(e){e.reject(r)}),this._requests=[],this._cachedChunks=[]},_onProgress:function(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})},get isRangeSupported(){return this._isRangeSupported},get isStreamingSupported(){return this._isStreamingSupported},get contentLength(){return this._contentLength},get headersReady(){return this._headersReceivedCapability.promise},read:function(){if(this._storedError)return Promise.reject(this._storedError);if(this._cachedChunks.length>0)return Promise.resolve({value:this._cachedChunks.shift(),done:!1});if(this._done)return Promise.resolve({value:void 0,done:!0});var e=(0,i.createPromiseCapability)();return this._requests.push(e),e.promise},cancel:function(e){this._done=!0,this._headersReceivedCapability.reject(e),this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},h.prototype={_close:function(){this.onClosed&&this.onClosed(this)},_onDone:function(e){var t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._close()},_onProgress:function(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})},get isStreamingSupported(){return!1},read:function(){if(null!==this._queuedChunk){var e=this._queuedChunk;return this._queuedChunk=null,Promise.resolve({value:e,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var t=(0,i.createPromiseCapability)();return this._requests.push(t),t.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},t.PDFNetworkStream=u,t.NetworkManager=s}])},e.exports=n()},61675:function(e,t,r){var n;n=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=75)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unreachable=t.warn=t.utf8StringToString=t.stringToUTF8String=t.stringToPDFString=t.stringToBytes=t.string32=t.shadow=t.setVerbosityLevel=t.ReadableStream=t.removeNullCharacters=t.readUint32=t.readUint16=t.readInt8=t.log2=t.loadJpegStream=t.isEvalSupported=t.isLittleEndian=t.createValidAbsoluteUrl=t.isSameOrigin=t.isNodeJS=t.isSpace=t.isString=t.isNum=t.isEmptyObj=t.isBool=t.isArrayBuffer=t.info=t.getVerbosityLevel=t.getLookupTableFactory=t.deprecated=t.createObjectURL=t.createPromiseCapability=t.createBlob=t.bytesToString=t.assert=t.arraysToBytes=t.arrayByteLength=t.FormatError=t.XRefParseException=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.StatTimer=t.PasswordResponses=t.PasswordException=t.PageViewport=t.NotImplementedException=t.NativeImageDecoding=t.MissingPDFException=t.MissingDataException=t.MessageHandler=t.InvalidPDFException=t.AbortException=t.CMapCompressionType=t.ImageKind=t.FontType=t.AnnotationType=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.UNSUPPORTED_FEATURES=t.VERBOSITY_LEVELS=t.OPS=t.IDENTITY_MATRIX=t.FONT_IDENTITY_MATRIX=void 0;var n,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};r(76);var a=r(115),o={errors:0,warnings:1,infos:5},s=o.warnings;function c(e){s>=o.warnings&&console.log("Warning: "+e)}function l(e){throw Error(e)}function u(e,t){e||l(t)}var d=function(){function e(e,t){this.name="PasswordException",this.message=e,this.code=t}return e.prototype=Error(),e.constructor=e,e}(),h=function(){function e(e,t){this.name="UnknownErrorException",this.message=e,this.details=t}return e.prototype=Error(),e.constructor=e,e}(),f=function(){function e(e){this.name="InvalidPDFException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),p=function(){function e(e){this.name="MissingPDFException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),g=function(){function e(e,t){this.name="UnexpectedResponseException",this.message=e,this.status=t}return e.prototype=Error(),e.constructor=e,e}(),m=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="NotImplementedException",e.constructor=e,e}(),b=function(){function e(e,t){this.begin=e,this.end=t,this.message="Missing data ["+e+", "+t+")"}return e.prototype=Error(),e.prototype.name="MissingDataException",e.constructor=e,e}(),v=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="XRefParseException",e.constructor=e,e}(),y=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="FormatError",e.constructor=e,e}(),_=function(){function e(e){this.name="AbortException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),A=/\x00/g;function x(e){u("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),n=0;n<t;++n)r[n]=255&e.charCodeAt(n);return r}function S(e){return void 0!==e.length?e.length:(u(void 0!==e.byteLength),e.byteLength)}var w=function(){function e(){}var t=["rgb(",0,",",0,",",0,")"];e.makeCssRgb=function(e,r,n){return t[1]=e,t[3]=r,t[5]=n,t.join("")},e.transform=function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]},e.applyTransform=function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]},e.applyInverseTransform=function(e,t){var r=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]},e.getAxialAlignedBoundingBox=function(t,r){var n=e.applyTransform(t,r),i=e.applyTransform(t.slice(2,4),r),a=e.applyTransform([t[0],t[3]],r),o=e.applyTransform([t[2],t[1]],r);return[Math.min(n[0],i[0],a[0],o[0]),Math.min(n[1],i[1],a[1],o[1]),Math.max(n[0],i[0],a[0],o[0]),Math.max(n[1],i[1],a[1],o[1])]},e.inverseTransform=function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]},e.apply3dTransform=function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]},e.singularValueDecompose2dScale=function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],n=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],a=e[2]*t[1]+e[3]*t[3],o=(r+a)/2,s=Math.sqrt((r+a)*(r+a)-4*(r*a-i*n))/2;return[Math.sqrt(o+s||1),Math.sqrt(o-s||1)]},e.normalizeRect=function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t},e.intersect=function(t,r){function n(e,t){return e-t}var i=[t[0],t[2],r[0],r[2]].sort(n),a=[t[1],t[3],r[1],r[3]].sort(n),o=[];return t=e.normalizeRect(t),r=e.normalizeRect(r),(i[0]===t[0]&&i[1]===r[0]||i[0]===r[0]&&i[1]===t[0])&&(o[0]=i[1],o[2]=i[2],(a[0]===t[1]&&a[1]===r[1]||a[0]===r[1]&&a[1]===t[1])&&(o[1]=a[1],o[3]=a[2],o))};var r=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];return e.toRoman=function(e,t){u(Number.isInteger(e)&&e>0,"The number should be a positive integer.");for(var n,i=[];e>=1e3;)e-=1e3,i.push("M");n=e/100|0,e%=100,i.push(r[n]),n=e/10|0,e%=10,i.push(r[10+n]),i.push(r[20+e]);var a=i.join("");return t?a.toLowerCase():a},e.appendToArray=function(e,t){Array.prototype.push.apply(e,t)},e.prependToArray=function(e,t){Array.prototype.unshift.apply(e,t)},e.extendObj=function(e,t){for(var r in t)e[r]=t[r]},e.getInheritableProperty=function(e,t,r){for(;e&&!e.has(t);)e=e.get("Parent");return e?r?e.getArray(t):e.get(t):null},e.inherit=function(e,t,r){for(var n in e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r)e.prototype[n]=r[n]},e.loadScript=function(e,t){var r=document.createElement("script"),n=!1;r.setAttribute("src",e),t&&(r.onload=function(){n||t(),n=!0}),document.getElementsByTagName("head")[0].appendChild(r)},e}(),T=function(){function e(e,t,r,n,i,a){this.viewBox=e,this.scale=t,this.rotation=r,this.offsetX=n,this.offsetY=i;var o,s,c,l,u,d,h,f,p=(e[2]+e[0])/2,g=(e[3]+e[1])/2;switch(r%=360,r=r<0?r+360:r){case 180:o=-1,s=0,c=0,l=1;break;case 90:o=0,s=1,c=1,l=0;break;case 270:o=0,s=-1,c=-1,l=0;break;default:o=1,s=0,c=0,l=-1}a&&(c=-c,l=-l),0===o?(u=Math.abs(g-e[1])*t+n,d=Math.abs(p-e[0])*t+i,h=Math.abs(e[3]-e[1])*t,f=Math.abs(e[2]-e[0])*t):(u=Math.abs(p-e[0])*t+n,d=Math.abs(g-e[1])*t+i,h=Math.abs(e[2]-e[0])*t,f=Math.abs(e[3]-e[1])*t),this.transform=[o*t,s*t,c*t,l*t,u-o*t*p-c*t*g,d-s*t*p-l*t*g],this.width=h,this.height=f,this.fontScale=t}return e.prototype={clone:function(t){var r="scale"in(t=t||{})?t.scale:this.scale,n="rotation"in t?t.rotation:this.rotation;return new e(this.viewBox.slice(),r,n,this.offsetX,this.offsetY,t.dontFlip)},convertToViewportPoint:function(e,t){return w.applyTransform([e,t],this.transform)},convertToViewportRectangle:function(e){var t=w.applyTransform([e[0],e[1]],this.transform),r=w.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],r[0],r[1]]},convertToPdfPoint:function(e,t){return w.applyInverseTransform([e,t],this.transform)}},e}(),D=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function C(){var e={};return e.promise=new Promise(function(t,r){e.resolve=t,e.reject=r}),e}var k=function(){function e(){this.started=Object.create(null),this.times=[],this.enabled=!0}return e.prototype={time:function(e){this.enabled&&(e in this.started&&c("Timer is already running for "+e),this.started[e]=Date.now())},timeEnd:function(e){this.enabled&&(e in this.started||c("Timer has not been started for "+e),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e])},toString:function(){var e,t,r=this.times,n="",i=0;for(e=0,t=r.length;e<t;++e){var a=r[e].name;a.length>i&&(i=a.length)}for(e=0,t=r.length;e<t;++e){var o=r[e],s=o.end-o.start;n+=function(e,t,r){for(;e.length<r;)e+=" ";return e}(o.name,0,i)+" "+s+"ms\n"}return n}},e}(),E=function(e,t){if("undefined"!=typeof Blob)return new Blob([e],{type:t});throw Error('The "Blob" constructor is not supported.')},P=(n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!r&&URL.createObjectURL){var i=E(e,t);return URL.createObjectURL(i)}for(var a="data:"+t+";base64,",o=0,s=e.length;o<s;o+=3){var c=255&e[o],l=255&e[o+1],u=255&e[o+2],d=c>>2,h=(3&c)<<4|l>>4,f=o+1<s?(15&l)<<2|u>>6:64,p=o+2<s?63&u:64;a+=n[d]+n[h]+n[f]+n[p]}return a});function R(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e?new Promise(function(n,i){n(e.apply(r,t))}):Promise.resolve(void 0)}function F(e){if((void 0===e?"undefined":i(e))!=="object")return e;switch(e.name){case"AbortException":return new _(e.message);case"MissingPDFException":return new p(e.message);case"UnexpectedResponseException":return new g(e.message,e.status);default:return new h(e.message,e.details)}}function U(e,t,r){t?e.resolve():e.reject(r)}function O(e,t,r){var n=this;this.sourceName=e,this.targetName=t,this.comObj=r,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null);var i=this.callbacksCapabilities=Object.create(null),a=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===n.sourceName){if(t.stream)n._processStreamMessage(t);else if(t.isReply){var o=t.callbackId;if(t.callbackId in i){var s=i[o];delete i[o],"error"in t?s.reject(F(t.error)):s.resolve(t.data)}else throw Error("Cannot resolve callback "+o)}else if(t.action in a){var c=a[t.action];if(t.callbackId){var l=n.sourceName,u=t.sourceName;Promise.resolve().then(function(){return c[0].call(c[1],t.data)}).then(function(e){r.postMessage({sourceName:l,targetName:u,isReply:!0,callbackId:t.callbackId,data:e})},function(e){r.postMessage({sourceName:l,targetName:u,isReply:!0,callbackId:t.callbackId,error:!(e instanceof Error)||e instanceof _||e instanceof p||e instanceof g||e instanceof h?e:new h(e.message,e.toString())})})}else t.streamId?n._createStreamSink(t):c[0].call(c[1],t.data)}else throw Error("Unknown action from worker: "+t.action)}},r.addEventListener("message",this._onComObjOnMessage)}O.prototype={on:function(e,t,r){var n=this.actionHandler;if(n[e])throw Error('There is already an actionName called "'+e+'"');n[e]=[t,r]},send:function(e,t,r){var n={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t};this.postMessage(n,r)},sendWithPromise:function(e,t,r){var n=this.callbackId++,i={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t,callbackId:n},a=C();this.callbacksCapabilities[n]=a;try{this.postMessage(i,r)}catch(e){a.reject(e)}return a.promise},sendWithStream:function(e,t,r,n){var i=this,o=this.streamId++,s=this.sourceName,c=this.targetName;return new a.ReadableStream({start:function(r){var n=C();return i.streamControllers[o]={controller:r,startCall:n,isClosed:!1},i.postMessage({sourceName:s,targetName:c,action:e,streamId:o,data:t,desiredSize:r.desiredSize}),n.promise},pull:function(e){var t=C();return i.streamControllers[o].pullCall=t,i.postMessage({sourceName:s,targetName:c,stream:"pull",streamId:o,desiredSize:e.desiredSize}),t.promise},cancel:function(e){var t=C();return i.streamControllers[o].cancelCall=t,i.streamControllers[o].isClosed=!0,i.postMessage({sourceName:s,targetName:c,stream:"cancel",reason:e,streamId:o}),t.promise}},r)},_createStreamSink:function(e){var t=this,r=this,n=this.actionHandler[e.action],i=e.streamId,a=e.desiredSize,o=this.sourceName,s=e.sourceName,c=C(),l=function(e){var r=e.stream,n=e.chunk,a=e.transfers,c=e.success,l=e.reason;t.postMessage({sourceName:o,targetName:s,stream:r,streamId:i,chunk:n,success:c,reason:l},a)},u={enqueue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments[2];if(!this.isCancelled){var n=this.desiredSize;this.desiredSize-=t,n>0&&this.desiredSize<=0&&(this.sinkCapability=C(),this.ready=this.sinkCapability.promise),l({stream:"enqueue",chunk:e,transfers:r})}},close:function(){this.isCancelled||(this.isCancelled=!0,l({stream:"close"}),delete r.streamSinks[i])},error:function(e){this.isCancelled||(this.isCancelled=!0,l({stream:"error",reason:e}))},sinkCapability:c,onPull:null,onCancel:null,isCancelled:!1,desiredSize:a,ready:null};u.sinkCapability.resolve(),u.ready=u.sinkCapability.promise,this.streamSinks[i]=u,R(n[0],[e.data,u],n[1]).then(function(){l({stream:"start_complete",success:!0})},function(e){l({stream:"start_complete",success:!1,reason:e})})},_processStreamMessage:function(e){var t=this,r=this.sourceName,n=e.sourceName,i=e.streamId,a=function(e){var a=e.stream,o=e.success,s=e.reason;t.comObj.postMessage({sourceName:r,targetName:n,stream:a,success:o,streamId:i,reason:s})},o=function(){Promise.all([t.streamControllers[e.streamId].startCall,t.streamControllers[e.streamId].pullCall,t.streamControllers[e.streamId].cancelCall].map(function(e){return e&&Promise.resolve(e.promise).catch(function(){})})).then(function(){delete t.streamControllers[e.streamId]})};switch(e.stream){case"start_complete":U(this.streamControllers[e.streamId].startCall,e.success,F(e.reason));break;case"pull_complete":U(this.streamControllers[e.streamId].pullCall,e.success,F(e.reason));break;case"pull":if(!this.streamSinks[e.streamId]){a({stream:"pull_complete",success:!0});break}this.streamSinks[e.streamId].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[e.streamId].sinkCapability.resolve(),this.streamSinks[e.streamId].desiredSize=e.desiredSize,R(this.streamSinks[e.streamId].onPull).then(function(){a({stream:"pull_complete",success:!0})},function(e){a({stream:"pull_complete",success:!1,reason:e})});break;case"enqueue":u(this.streamControllers[e.streamId],"enqueue should have stream controller"),this.streamControllers[e.streamId].isClosed||this.streamControllers[e.streamId].controller.enqueue(e.chunk);break;case"close":if(u(this.streamControllers[e.streamId],"close should have stream controller"),this.streamControllers[e.streamId].isClosed)break;this.streamControllers[e.streamId].isClosed=!0,this.streamControllers[e.streamId].controller.close(),o();break;case"error":u(this.streamControllers[e.streamId],"error should have stream controller"),this.streamControllers[e.streamId].controller.error(F(e.reason)),o();break;case"cancel_complete":U(this.streamControllers[e.streamId].cancelCall,e.success,F(e.reason)),o();break;case"cancel":if(!this.streamSinks[e.streamId])break;R(this.streamSinks[e.streamId].onCancel,[F(e.reason)]).then(function(){a({stream:"cancel_complete",success:!0})},function(e){a({stream:"cancel_complete",success:!1,reason:e})}),this.streamSinks[e.streamId].sinkCapability.reject(F(e.reason)),this.streamSinks[e.streamId].isCancelled=!0,delete this.streamSinks[e.streamId];break;default:throw Error("Unexpected stream case")}},postMessage:function(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)},destroy:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}},t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.VERBOSITY_LEVELS=o,t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:0x1000000,RICHTEXT:0x2000000,RADIOSINUNISON:0x2000000,COMMITONSELCHANGE:0x4000000},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.FontType={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.AbortException=_,t.InvalidPDFException=f,t.MessageHandler=O,t.MissingDataException=b,t.MissingPDFException=p,t.NativeImageDecoding={NONE:"none",DECODE:"decode",DISPLAY:"display"},t.NotImplementedException=m,t.PageViewport=T,t.PasswordException=d,t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},t.StatTimer=k,t.StreamType={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.UnexpectedResponseException=g,t.UnknownErrorException=h,t.Util=w,t.XRefParseException=v,t.FormatError=y,t.arrayByteLength=S,t.arraysToBytes=function(e){if(1===e.length&&e[0]instanceof Uint8Array)return e[0];var t,r,n,i=0,a=e.length;for(n=0;n<a;n++)i+=r=S(t=e[n]);var o=0,s=new Uint8Array(i);for(n=0;n<a;n++)(t=e[n])instanceof Uint8Array||(t="string"==typeof t?x(t):new Uint8Array(t)),r=t.byteLength,s.set(t,o),o+=r;return s},t.assert=u,t.bytesToString=function(e){u(null!==e&&(void 0===e?"undefined":i(e))==="object"&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length;if(t<8192)return String.fromCharCode.apply(null,e);for(var r=[],n=0;n<t;n+=8192){var a=Math.min(n+8192,t),o=e.subarray(n,a);r.push(String.fromCharCode.apply(null,o))}return r.join("")},t.createBlob=E,t.createPromiseCapability=C,t.createObjectURL=P,t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.getLookupTableFactory=function(e){var t;return function(){return e&&(t=Object.create(null),e(t),e=null),t}},t.getVerbosityLevel=function(){return s},t.info=function(e){s>=o.infos&&console.log("Info: "+e)},t.isArrayBuffer=function(e){return(void 0===e?"undefined":i(e))==="object"&&null!==e&&void 0!==e.byteLength},t.isBool=function(e){return"boolean"==typeof e},t.isEmptyObj=function(e){for(var t in e)return!1;return!0},t.isNum=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSpace=function(e){return 32===e||9===e||13===e||10===e},t.isNodeJS=function(){return("undefined"==typeof process?"undefined":i(process))==="object"&&process+""=="[object process]"},t.isSameOrigin=function(e,t){try{var r=new URL(e);if(!r.origin||"null"===r.origin)return!1}catch(e){return!1}var n=new URL(t,r);return r.origin===n.origin},t.createValidAbsoluteUrl=function(e,t){if(!e)return null;try{var r=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(r))return r}catch(e){}return null},t.isLittleEndian=function(){var e=new Uint8Array(4);return e[0]=1,1===new Uint32Array(e.buffer,0,1)[0]},t.isEvalSupported=function(){try{return Function(""),!0}catch(e){return!1}},t.loadJpegStream=function(e,t,r){var n=new Image;n.onload=function(){r.resolve(e,n)},n.onerror=function(){r.resolve(e,null),c("Error during JPEG image loading")},n.src=t},t.log2=function(e){for(var t=1,r=0;e>t;)t<<=1,r++;return r},t.readInt8=function(e,t){return e[t]<<24>>24},t.readUint16=function(e,t){return e[t]<<8|e[t+1]},t.readUint32=function(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0},t.removeNullCharacters=function(e){return"string"!=typeof e?(c("The argument for removeNullCharacters must be a string."),e):e.replace(A,"")},t.ReadableStream=a.ReadableStream,t.setVerbosityLevel=function(e){s=e},t.shadow=function(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r},t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=x,t.stringToPDFString=function(e){var t,r=e.length,n=[];if("\xfe"===e[0]&&"\xff"===e[1])for(t=2;t<r;t+=2)n.push(String.fromCharCode(e.charCodeAt(t)<<8|e.charCodeAt(t+1)));else for(t=0;t<r;++t){var i=D[e.charCodeAt(t)];n.push(i?String.fromCharCode(i):e.charAt(t))}return n.join("")},t.stringToUTF8String=function(e){return decodeURIComponent(escape(e))},t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=c,t.unreachable=l},function(e,t,r){"use strict";var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,r){"use strict";var n="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.exports=function(e){return(void 0===e?"undefined":n(e))==="object"?null!==e:"function"==typeof e}},function(e,t,r){"use strict";var n=r(51)("wks"),i=r(16),a=r(1).Symbol,o="function"==typeof a;(e.exports=function(e){return n[e]||(n[e]=o&&a[e]||(o?a:i)("Symbol."+e))}).store=n},function(e,t,r){"use strict";var n=r(1),i=r(5),a=r(6),o=r(15),s=r(11),c="prototype",l=function e(t,r,l){var u,d,h,f,p=t&e.F,g=t&e.G,m=t&e.S,b=t&e.P,v=t&e.B,y=g?n:m?n[r]||(n[r]={}):(n[r]||{})[c],_=g?i:i[r]||(i[r]={}),A=_[c]||(_[c]={});for(u in g&&(l=r),l)h=((d=!p&&y&&void 0!==y[u])?y:l)[u],f=v&&d?s(h,n):b&&"function"==typeof h?s(Function.call,h):h,y&&o(y,u,h,t&e.U),_[u]!=h&&a(_,u,f),b&&A[u]!=h&&(A[u]=h)};n.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,r){"use strict";var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(e,t,r){"use strict";var n=r(14),i=r(27);e.exports=r(9)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){"use strict";var n=r(2);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){"use strict";var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,r){"use strict";e.exports=!r(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,r){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){"use strict";var n=r(21);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){"use strict";var n=r(17),i=Math.min;e.exports=function(e){return e>0?i(n(e),0x1fffffffffffff):0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleXMLParser=t.DOMSVGFactory=t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.getDefaultSetting=t.LinkTarget=t.getFilenameFromUrl=t.isValidUrl=t.isExternalLinkTargetSet=t.addLinkAttributes=t.RenderingCancelledException=t.CustomStyle=void 0;var n,i=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(0),o=(n=r(20))&&n.__esModule?n:{default:n};function s(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var c="noopener noreferrer nofollow",l="http://www.w3.org/2000/svg",u=function(){function e(){s(this,e)}return i(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw Error("invalid canvas size");var r=document.createElement("canvas"),n=r.getContext("2d");return r.width=e,r.height=t,{canvas:r,context:n}}},{key:"reset",value:function(e,t,r){if(!e.canvas)throw Error("canvas is not specified");if(t<=0||r<=0)throw Error("invalid canvas size");e.canvas.width=t,e.canvas.height=r}},{key:"destroy",value:function(e){if(!e.canvas)throw Error("canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}}]),e}(),d=function(){function e(t){var r=t.baseUrl,n=t.isCompressed;s(this,e),this.baseUrl=void 0===r?null:r,this.isCompressed=void 0!==n&&n}return i(e,[{key:"fetch",value:function(e){var t=this,r=e.name;return this.baseUrl?r?new Promise(function(e,n){var i=t.baseUrl+r+(t.isCompressed?".bcmap":""),o=new XMLHttpRequest;o.open("GET",i,!0),t.isCompressed&&(o.responseType="arraybuffer"),o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE){if(200===o.status||0===o.status){var r=void 0;if(t.isCompressed&&o.response?r=new Uint8Array(o.response):!t.isCompressed&&o.responseText&&(r=(0,a.stringToBytes)(o.responseText)),r){e({cMapData:r,compressionType:t.isCompressed?a.CMapCompressionType.BINARY:a.CMapCompressionType.NONE});return}}n(Error("Unable to load "+(t.isCompressed?"binary ":"")+"CMap at: "+i))}},o.send(null)}):Promise.reject(Error("CMap name must be specified.")):Promise.reject(Error('CMap baseUrl must be specified, see "PDFJS.cMapUrl" (and also "PDFJS.cMapPacked").'))}}]),e}(),h=function(){function e(){s(this,e)}return i(e,[{key:"create",value:function(e,t){(0,a.assert)(e>0&&t>0,"Invalid SVG dimensions");var r=document.createElementNS(l,"svg:svg");return r.setAttribute("version","1.1"),r.setAttribute("width",e+"px"),r.setAttribute("height",t+"px"),r.setAttribute("preserveAspectRatio","none"),r.setAttribute("viewBox","0 0 "+e+" "+t),r}},{key:"createElement",value:function(e){return(0,a.assert)("string"==typeof e,"Invalid SVG element type"),document.createElementNS(l,e)}}]),e}(),f=function(){function e(t,r){s(this,e),this.nodeName=t,this.nodeValue=r,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return i(e,[{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"firstChild",get:function(){return this.childNodes[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[e+1]}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map(function(e){return e.textContent}).join(""):this.nodeValue||""}}]),e}(),p=function(){function e(){s(this,e)}return i(e,[{key:"parseFromString",value:function(e){var t=this,r=[];e=(e=(e=(e=e.replace(/<\?[\s\S]*?\?>|<!--[\s\S]*?-->/g,"").trim()).replace(/<!DOCTYPE[^>\[]+(\[[^\]]+)?[^>]+>/g,"").trim()).replace(/>([^<][\s\S]*?)</g,function(e,n){var i=r.length,a=new f("#text",t._decodeXML(n));return(r.push(a),0===a.textContent.trim().length)?"><":">"+i+",<"})).replace(/<!\[CDATA\[([\s\S]*?)\]\]>/g,function(e,t){var n=r.length,i=new f("#text",t);return r.push(i),n+","});var n=/<([\w\:]+)((?:[\s\w:=]|'[^']*'|"[^"]*")*)(?:\/>|>([\d,]*)<\/[^>]+>)/g,i=void 0;do i=r.length,e=e.replace(n,function(e,t,n,i){var a=r.length,o=new f(t),s=[];return i&&((i=i.split(",")).pop(),i.forEach(function(e){var t=r[+e];t.parentNode=o,s.push(t)})),o.childNodes=s,r.push(o),a+","});while(i<r.length);return{documentElement:r.pop()}}},{key:"_decodeXML",value:function(e){return 0>e.indexOf("&")?e:e.replace(/&(#(x[0-9a-f]+|\d+)|\w+);/gi,function(e,t,r){if(r)return String.fromCharCode(r="x"===r[0]?parseInt(r.substring(1),16):+r);switch(t){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';case"apos":return"'"}return"&"+t+";"})}}]),e}(),g=function(){var e=["ms","Moz","Webkit","O"],t=Object.create(null);function r(){}return r.getProp=function(r,n){if(1==arguments.length&&"string"==typeof t[r])return t[r];var i,a,o=(n=n||document.documentElement).style;if("string"==typeof o[r])return t[r]=r;a=r.charAt(0).toUpperCase()+r.slice(1);for(var s=0,c=e.length;s<c;s++)if("string"==typeof o[i=e[s]+a])return t[r]=i;return t[r]="undefined"},r.setProp=function(e,t,r){var n=this.getProp(e);"undefined"!==n&&(t.style[n]=r)},r}(),m=function(){function e(e,t){this.message=e,this.type=t}return e.prototype=Error(),e.prototype.name="RenderingCancelledException",e.constructor=e,e}(),b={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4},v=["","_self","_blank","_parent","_top"];function y(e){var t=o.default.PDFJS;switch(e){case"pdfBug":return!!t&&t.pdfBug;case"disableAutoFetch":return!!t&&t.disableAutoFetch;case"disableStream":return!!t&&t.disableStream;case"disableRange":return!!t&&t.disableRange;case"disableFontFace":return!!t&&t.disableFontFace;case"disableCreateObjectURL":return!!t&&t.disableCreateObjectURL;case"disableWebGL":return!t||t.disableWebGL;case"cMapUrl":return t?t.cMapUrl:null;case"cMapPacked":return!!t&&t.cMapPacked;case"postMessageTransfers":return!t||t.postMessageTransfers;case"workerPort":return t?t.workerPort:null;case"workerSrc":return t?t.workerSrc:null;case"disableWorker":return!!t&&t.disableWorker;case"maxImageSize":return t?t.maxImageSize:-1;case"imageResourcesPath":return t?t.imageResourcesPath:"";case"isEvalSupported":return!t||t.isEvalSupported;case"externalLinkTarget":if(!t)return b.NONE;switch(t.externalLinkTarget){case b.NONE:case b.SELF:case b.BLANK:case b.PARENT:case b.TOP:return t.externalLinkTarget}return(0,a.warn)("PDFJS.externalLinkTarget is invalid: "+t.externalLinkTarget),t.externalLinkTarget=b.NONE,b.NONE;case"externalLinkRel":return t?t.externalLinkRel:c;case"enableStats":return!!(t&&t.enableStats);case"pdfjsNext":return!!(t&&t.pdfjsNext);default:throw Error("Unknown default setting: "+e)}}t.CustomStyle=g,t.RenderingCancelledException=m,t.addLinkAttributes=function(e,t){var r=t&&t.url;if(e.href=e.title=r?(0,a.removeNullCharacters)(r):"",r){var n=t.target;void 0===n&&(n=y("externalLinkTarget")),e.target=v[n];var i=t.rel;void 0===i&&(i=y("externalLinkRel")),e.rel=i}},t.isExternalLinkTargetSet=function(){switch(y("externalLinkTarget")){case b.NONE:return!1;case b.SELF:case b.BLANK:case b.PARENT:case b.TOP:return!0}},t.isValidUrl=function(e,t){return(0,a.deprecated)("isValidUrl(), please use createValidAbsoluteUrl() instead."),null!==(0,a.createValidAbsoluteUrl)(e,t?"http://example.com":null)},t.getFilenameFromUrl=function(e){var t=e.indexOf("#"),r=e.indexOf("?"),n=Math.min(t>0?t:e.length,r>0?r:e.length);return e.substring(e.lastIndexOf("/",n)+1,n)},t.LinkTarget=b,t.getDefaultSetting=y,t.DEFAULT_LINK_REL=c,t.DOMCanvasFactory=u,t.DOMCMapReaderFactory=d,t.DOMSVGFactory=h,t.SimpleXMLParser=p},function(e,t,r){"use strict";var n=r(7),i=r(45),a=r(33),o=Object.defineProperty;t.f=r(9)?Object.defineProperty:function(e,t,r){if(n(e),t=a(t,!0),n(r),i)try{return o(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){"use strict";var n=r(1),i=r(6),a=r(8),o=r(16)("src"),s="toString",c=Function[s],l=(""+c).split(s);r(5).inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,r,s){var c="function"==typeof r;c&&(a(r,"name")||i(r,"name",t)),e[t]!==r&&(c&&(a(r,o)||i(r,o,e[t]?""+e[t]:l.join(String(t)))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,s,function(){return"function"==typeof this&&this[o]||c.call(this)})},function(e,t,r){"use strict";var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,r){"use strict";var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,r){"use strict";var n=r(35);e.exports=function(e){return Object(n(e))}},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";e.exports="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:{}},function(e,t,r){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(15);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},function(e,t,r){"use strict";e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){"use strict";var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,r){"use strict";var n=r(14).f,i=r(8),a=r(3)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},function(e,t,r){"use strict";e.exports=!1},function(e,t,r){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){"use strict";var n=r(34),i=r(35);e.exports=function(e){return n(i(e))}},function(e,t,r){"use strict";var n=r(17),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=n(e))<0?i(e+t,0):a(e,t)}},function(e,t,r){"use strict";var n=r(24),i=r(3)("toStringTag"),a="Arguments"==n(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=o(t=Object(e),i))?r:a?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,r){"use strict";var n=r(11),i=r(98),a=r(53),o=r(7),s=r(12),c=r(57),l={},u={},d=e.exports=function(e,t,r,d,h){var f,p,g,m,b=h?function(){return e}:c(e),v=n(r,d,t?2:1),y=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(a(b)){for(f=s(e.length);f>y;y++)if((m=t?v(o(p=e[y])[0],p[1]):v(e[y]))===l||m===u)return m}else for(g=b.call(e);!(p=g.next()).done;)if((m=i(g,v,p.value,t))===l||m===u)return m};d.BREAK=l,d.RETURN=u},function(e,t,r){"use strict";var n=r(2),i=r(1).document,a=n(i)&&n(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,r){"use strict";var n=r(2);e.exports=function(e,t){var r,i;if(!n(e))return e;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e))||"function"==typeof(r=e.valueOf)&&!n(i=r.call(e))||!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){"use strict";var n=r(24);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){"use strict";e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(51)("keys"),i=r(16);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t,r){"use strict";e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){"use strict";var n=r(49),i=r(37);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(11),i=r(34),a=r(18),o=r(12),s=r(82);e.exports=function(e,t){var r=1==e,c=2==e,l=3==e,u=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var g,m,b=a(t),v=i(b),y=n(s,p,3),_=o(v.length),A=0,x=r?f(t,_):c?f(t,0):void 0;_>A;A++)if((h||A in v)&&(m=y(g=v[A],A,b),e)){if(r)x[A]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return A;case 2:x.push(g)}else if(u)return!1}return d?-1:l||u?u:x}}},function(e,t,r){"use strict";var n=r(7),i=r(21),a=r(3)("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||void 0==(r=n(o)[a])?t:i(r)}},function(e,t,r){"use strict";var n=r(3)("iterator"),i=!1;try{var a=[7][n]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var a=[7],o=a[n]();o.next=function(){return{done:r=!0}},a[n]=function(){return o},e(a)}catch(e){}return r}},function(e,t,r){"use strict";var n=r(21);function i(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)}e.exports.f=function(e){return new i(e)}},function(e,t,r){"use strict";var n="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},i=r(16)("meta"),a=r(2),o=r(8),s=r(14).f,c=0,l=Object.isExtensible||function(){return!0},u=!r(10)(function(){return l(Object.preventExtensions({}))}),d=function(e){s(e,i,{value:{i:"O"+ ++c,w:{}}})},h=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!a(e))return(void 0===e?"undefined":n(e))=="symbol"?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";d(e)}return e[i].i},getWeak:function(e,t){if(!o(e,i)){if(!l(e))return!0;if(!t)return!1;d(e)}return e[i].w},onFreeze:function(e){return u&&h.NEED&&l(e)&&!o(e,i)&&d(e),e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateResponseStatus=t.validateRangeRequestCapabilities=t.createResponseStatusError=void 0;var n=r(0);t.createResponseStatusError=function(e,t){return 404===e||0===e&&/^file:/.test(t)?new n.MissingPDFException('Missing PDF "'+t+'".'):new n.UnexpectedResponseException("Unexpected server response ("+e+') while retrieving PDF "'+t+'".',e)},t.validateRangeRequestCapabilities=function(e){var t=e.getResponseHeader,r=e.isHttp,i=e.rangeChunkSize,a=e.disableRange;(0,n.assert)(i>0);var o={allowRangeRequests:!1,suggestedLength:void 0};if(a||!r||"bytes"!==t("Accept-Ranges")||"identity"!==(t("Content-Encoding")||"identity"))return o;var s=parseInt(t("Content-Length"),10);return Number.isInteger(s)&&(o.suggestedLength=s,s<=2*i||(o.allowRangeRequests=!0)),o},t.validateResponseStatus=function(e){return 200===e||206===e}},function(e,t,r){"use strict";e.exports=!r(9)&&!r(10)(function(){return 7!=Object.defineProperty(r(32)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){"use strict";for(var n,i=r(1),a=r(6),o=r(16),s=o("typed_array"),c=o("view"),l=!!(i.ArrayBuffer&&i.DataView),u=l,d=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(n=i[h[d++]])?(a(n.prototype,s,!0),a(n.prototype,c,!0)):u=!1;e.exports={ABV:l,CONSTR:u,TYPED:s,VIEW:c}},function(e,t,r){"use strict";var n=r(17),i=r(12);e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw RangeError("Wrong length!");return r}},function(e,t,r){"use strict";var n=r(49),i=r(37).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(8),i=r(28),a=r(50)(!1),o=r(36)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),c=0,l=[];for(r in s)r!=o&&n(s,r)&&l.push(r);for(;t.length>c;)n(s,r=t[c++])&&(~a(l,r)||l.push(r));return l}},function(e,t,r){"use strict";var n=r(28),i=r(12),a=r(29);e.exports=function(e){return function(t,r,o){var s,c=n(t),l=i(c.length),u=a(o,l);if(e&&r!=r){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}}},function(e,t,r){"use strict";var n=r(1),i="__core-js_shared__",a=n[i]||(n[i]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t,r){"use strict";var n=r(18),i=r(29),a=r(12);e.exports=function(e){for(var t=n(this),r=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),c=o>2?arguments[2]:void 0,l=void 0===c?r:i(c,r);l>s;)t[s++]=e;return t}},function(e,t,r){"use strict";var n=r(19),i=r(3)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[i]===e)}},function(e,t,r){"use strict";var n=r(7),i=r(81),a=r(37),o=r(36)("IE_PROTO"),s=function(){},c="prototype",l=function(){var e,t=r(32)("iframe"),n=a.length;for(t.style.display="none",r(55).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l[c][a[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[c]=n(e),r=new s,s[c]=null,r[o]=e):r=l(),void 0===t?r:i(r,t)}},function(e,t,r){"use strict";var n=r(1).document;e.exports=n&&n.documentElement},function(e,t,r){"use strict";var n=r(8),i=r(18),a=r(36)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return n(e=i(e),a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,r){"use strict";var n=r(30),i=r(3)("iterator"),a=r(19);e.exports=r(5).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||a[n(e)]}},function(e,t,r){"use strict";var n=r(85),i=r(86),a=r(19),o=r(28);e.exports=r(59)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,r):"values"==t?i(0,e[r]):i(0,[r,e[r]])},"values"),a.Arguments=a.Array,n("keys"),n("values"),n("entries")},function(e,t,r){"use strict";var n=r(26),i=r(4),a=r(15),o=r(6),s=r(8),c=r(19),l=r(87),u=r(25),d=r(56),h=r(3)("iterator"),f=!([].keys&&"next"in[].keys()),p="keys",g="values",m=function(){return this};e.exports=function(e,t,r,b,v,y,_){l(r,t,b);var A,x,S,w=function(e){if(!f&&e in k)return k[e];switch(e){case p:case g:return function(){return new r(this,e)}}return function(){return new r(this,e)}},T=t+" Iterator",D=v==g,C=!1,k=e.prototype,E=k[h]||k["@@iterator"]||v&&k[v],P=E||w(v),R=v?D?w("entries"):P:void 0,F="Array"==t&&k.entries||E;if(F&&(S=d(F.call(new e)))!==Object.prototype&&S.next&&(u(S,T,!0),n||s(S,h)||o(S,h,m)),D&&E&&E.name!==g&&(C=!0,P=function(){return E.call(this)}),(!n||_)&&(f||C||!k[h])&&o(k,h,P),c[t]=P,c[T]=m,v){if(A={values:D?P:w(g),keys:y?P:w(p),entries:R},_)for(x in A)x in k||a(k,x,A[x]);else i(i.P+i.F*(f||C),t,A)}return A}},function(e,t,r){"use strict";var n=r(1),i=r(14),a=r(9),o=r(3)("species");e.exports=function(e){var t=n[e];a&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n=r(62),i=r(27),a=r(28),o=r(33),s=r(8),c=r(45),l=Object.getOwnPropertyDescriptor;t.f=r(9)?l:function(e,t){if(e=a(e),t=o(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,r){"use strict";t.f=({}).propertyIsEnumerable},function(e,t,r){"use strict";var n=r(30),i={};i[r(3)("toStringTag")]="z",i+""!="[object z]"&&r(15)(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},function(e,t,r){"use strict";for(var n=r(58),i=r(38),a=r(15),o=r(1),s=r(6),c=r(19),l=r(3),u=l("iterator"),d=l("toStringTag"),h=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(f),g=0;g<p.length;g++){var m,b=p[g],v=f[b],y=o[b],_=y&&y.prototype;if(_&&(_[u]||s(_,u,h),_[d]||s(_,d,b),c[b]=h,v))for(m in n)_[m]||a(_,m,n[m],!0)}},function(e,t,r){"use strict";var n,i,a,o=r(11),s=r(99),c=r(55),l=r(32),u=r(1),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,g=u.Dispatch,m=0,b={},v="onreadystatechange",y=function(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},_=function(e){y.call(e.data)};h&&f||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return b[++m]=function(){s("function"==typeof e?e:Function(e),t)},n(m),m},f=function(e){delete b[e]},"process"==r(24)(d)?n=function(e){d.nextTick(o(y,e,1))}:g&&g.now?n=function(e){g.now(o(y,e,1))}:p?(a=(i=new p).port2,i.port1.onmessage=_,n=o(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(n=function(e){u.postMessage(e+"","*")},u.addEventListener("message",_,!1)):n=v in l("script")?function(e){c.appendChild(l("script"))[v]=function(){c.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:f}},function(e,t,r){"use strict";e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,r){"use strict";var n=r(7),i=r(2),a=r(42);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){"use strict";var n=r(2);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.build=t.version=t._UnsupportedManager=t.setPDFNetworkStreamClass=t.PDFPageProxy=t.PDFDocumentProxy=t.PDFWorker=t.PDFDataRangeTransport=t.LoopbackPort=t.getDocument=void 0;var i,a,o,s,c,l,u=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),d="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},h=n(0),f=n(13),p=n(118),g=n(119),m=(i=n(20))&&i.__esModule?i:{default:i},b=n(71),v=n(121),y=!1,_=!1,A="undefined"!=typeof document&&document.currentScript?document.currentScript.src:null,x=null,S=!1;"undefined"==typeof window&&(y=!0),S=!0,"undefined"!=typeof requirejs&&requirejs.toUrl&&(o=requirejs.toUrl("pdfjs-dist/build/pdf.worker.js"));var w="undefined"!=typeof requirejs&&requirejs.load;x=S?function(e){r.e(407).then((function(){e(r(90407).WorkerMessageHandler)}).bind(null,r)).catch(r.oe)}:w?function(e){requirejs(["pdfjs-dist/build/pdf.worker"],function(t){e(t.WorkerMessageHandler)})}:null;var T=function(){var e=0;function t(){this._capability=(0,h.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return t.prototype={get promise(){return this._capability.promise},destroy:function(){var e=this;return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then(function(){e._transport=null,e._worker&&(e._worker.destroy(),e._worker=null)})},then:function(e,t){return this.promise.then.apply(this.promise,arguments)}},t}(),D=function(){function e(e,t){this.length=e,this.initialData=t,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._readyCapability=(0,h.createPromiseCapability)()}return e.prototype={addRangeListener:function(e){this._rangeListeners.push(e)},addProgressListener:function(e){this._progressListeners.push(e)},addProgressiveReadListener:function(e){this._progressiveReadListeners.push(e)},onDataRange:function(e,t){for(var r=this._rangeListeners,n=0,i=r.length;n<i;++n)r[n](e,t)},onDataProgress:function(e){var t=this;this._readyCapability.promise.then(function(){for(var r=t._progressListeners,n=0,i=r.length;n<i;++n)r[n](e)})},onDataProgressiveRead:function(e){var t=this;this._readyCapability.promise.then(function(){for(var r=t._progressiveReadListeners,n=0,i=r.length;n<i;++n)r[n](e)})},transportReady:function(){this._readyCapability.resolve()},requestDataRange:function(e,t){throw Error("Abstract method PDFDataRangeTransport.requestDataRange")},abort:function(){}},e}(),C=function(){function e(e,t,r){this.pdfInfo=e,this.transport=t,this.loadingTask=r}return e.prototype={get numPages(){return this.pdfInfo.numPages},get fingerprint(){return this.pdfInfo.fingerprint},getPage:function(e){return this.transport.getPage(e)},getPageIndex:function(e){return this.transport.getPageIndex(e)},getDestinations:function(){return this.transport.getDestinations()},getDestination:function(e){return this.transport.getDestination(e)},getPageLabels:function(){return this.transport.getPageLabels()},getPageMode:function(){return this.transport.getPageMode()},getAttachments:function(){return this.transport.getAttachments()},getJavaScript:function(){return this.transport.getJavaScript()},getOutline:function(){return this.transport.getOutline()},getMetadata:function(){return this.transport.getMetadata()},getData:function(){return this.transport.getData()},getDownloadInfo:function(){return this.transport.downloadInfoCapability.promise},getStats:function(){return this.transport.getStats()},cleanup:function(){this.transport.startCleanup()},destroy:function(){return this.loadingTask.destroy()}},e}(),k=function(){function e(e,t,r){this.pageIndex=e,this.pageInfo=t,this.transport=r,this.stats=new h.StatTimer,this.stats.enabled=(0,f.getDefaultSetting)("enableStats"),this.commonObjs=r.commonObjs,this.objs=new F,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return e.prototype={get pageNumber(){return this.pageIndex+1},get rotate(){return this.pageInfo.rotate},get ref(){return this.pageInfo.ref},get userUnit(){return this.pageInfo.userUnit},get view(){return this.pageInfo.view},getViewport:function(e,t){return arguments.length<2&&(t=this.rotate),new h.PageViewport(this.view,e,t,0,0)},getAnnotations:function(e){var t=e&&e.intent||null;return this.annotationsPromise&&this.annotationsIntent===t||(this.annotationsPromise=this.transport.getAnnotations(this.pageIndex,t),this.annotationsIntent=t),this.annotationsPromise},render:function(e){var t=this,r=this.stats;r.time("Overall"),this.pendingCleanup=!1;var n="print"===e.intent?"print":"display",i=e.canvasFactory||new f.DOMCanvasFactory;this.intentStates[n]||(this.intentStates[n]=Object.create(null));var a=this.intentStates[n];a.displayReadyCapability||(a.receivingOperatorList=!0,a.displayReadyCapability=(0,h.createPromiseCapability)(),a.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.stats.time("Page Request"),this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageNumber-1,intent:n,renderInteractiveForms:!0===e.renderInteractiveForms}));var o=function(e){var n=a.renderTasks.indexOf(s);n>=0&&a.renderTasks.splice(n,1),t.cleanupAfterRender&&(t.pendingCleanup=!0),t._tryCleanup(),e?s.capability.reject(e):s.capability.resolve(),r.timeEnd("Rendering"),r.timeEnd("Overall")},s=new O(o,e,this.objs,this.commonObjs,a.operatorList,this.pageNumber,i);s.useRequestAnimationFrame="print"!==n,a.renderTasks||(a.renderTasks=[]),a.renderTasks.push(s);var c=s.task;return e.continueCallback&&((0,h.deprecated)("render is used with continueCallback parameter"),c.onContinue=e.continueCallback),a.displayReadyCapability.promise.then(function(e){if(t.pendingCleanup){o();return}r.time("Rendering"),s.initializeGraphics(e),s.operatorListChanged()}).catch(o),c},getOperatorList:function(){var e,t="oplist";this.intentStates[t]||(this.intentStates[t]=Object.create(null));var r=this.intentStates[t];return r.opListReadCapability||((e={}).operatorListChanged=function(){if(r.operatorList.lastChunk){r.opListReadCapability.resolve(r.operatorList);var t=r.renderTasks.indexOf(e);t>=0&&r.renderTasks.splice(t,1)}},r.receivingOperatorList=!0,r.opListReadCapability=(0,h.createPromiseCapability)(),r.renderTasks=[],r.renderTasks.push(e),r.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageIndex,intent:t})),r.opListReadCapability.promise},streamTextContent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this.pageNumber-1,normalizeWhitespace:!0===e.normalizeWhitespace,combineTextItems:!0!==e.disableCombineTextItems},{highWaterMark:100,size:function(e){return e.items.length}})},getTextContent:function(e){e=e||{};var t=this.streamTextContent(e);return new Promise(function(e,r){var n=t.getReader(),i={items:[],styles:Object.create(null)};!function t(){n.read().then(function(r){var n=r.value;if(r.done){e(i);return}h.Util.extendObj(i.styles,n.styles),h.Util.appendToArray(i.items,n.items),t()},r)}()})},_destroy:function(){this.destroyed=!0,this.transport.pageCache[this.pageIndex]=null;var e=[];return Object.keys(this.intentStates).forEach(function(t){"oplist"!==t&&this.intentStates[t].renderTasks.forEach(function(t){var r=t.capability.promise.catch(function(){});e.push(r),t.cancel()})},this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(e)},destroy:function(){(0,h.deprecated)("page destroy method, use cleanup() instead"),this.cleanup()},cleanup:function(){this.pendingCleanup=!0,this._tryCleanup()},_tryCleanup:function(){!this.pendingCleanup||Object.keys(this.intentStates).some(function(e){var t=this.intentStates[e];return 0!==t.renderTasks.length||t.receivingOperatorList},this)||(Object.keys(this.intentStates).forEach(function(e){delete this.intentStates[e]},this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1)},_startRenderPage:function(e,t){var r=this.intentStates[t];r.displayReadyCapability&&r.displayReadyCapability.resolve(e)},_renderPageChunk:function(e,t){var r,n,i=this.intentStates[t];for(r=0,n=e.length;r<n;r++)i.operatorList.fnArray.push(e.fnArray[r]),i.operatorList.argsArray.push(e.argsArray[r]);for(r=0,i.operatorList.lastChunk=e.lastChunk;r<i.renderTasks.length;r++)i.renderTasks[r].operatorListChanged();e.lastChunk&&(i.receivingOperatorList=!1,this._tryCleanup())}},e}(),E=function(){function e(t){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this._listeners=[],this._defer=t,this._deferred=Promise.resolve(void 0)}return u(e,[{key:"postMessage",value:function(e,t){var r=this;if(!this._defer){this._listeners.forEach(function(t){t.call(this,{data:e})},this);return}var n=new WeakMap,i={data:function e(r){if((void 0===r?"undefined":d(r))!=="object"||null===r)return r;if(n.has(r))return n.get(r);if((s=r.buffer)&&(0,h.isArrayBuffer)(s)){var i=t&&t.indexOf(s)>=0;return o=r===s?r:i?new r.constructor(s,r.byteOffset,r.byteLength):new r.constructor(r),n.set(r,o),o}for(var a in o=Array.isArray(r)?[]:{},n.set(r,o),r){for(var o,s,c,l=r;!(c=Object.getOwnPropertyDescriptor(l,a));)l=Object.getPrototypeOf(l);void 0!==c.value&&"function"!=typeof c.value&&(o[a]=e(c.value))}return o}(e)};this._deferred.then(function(){r._listeners.forEach(function(e){e.call(this,i)},r)})}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var r=this._listeners.indexOf(t);this._listeners.splice(r,1)}},{key:"terminate",value:function(){this._listeners=[]}}]),e}(),P=function(){var e=0;function t(){if(void 0!==o)return o;if((0,f.getDefaultSetting)("workerSrc"))return(0,f.getDefaultSetting)("workerSrc");if(A)return A.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2");throw Error("No PDFJS.workerSrc specified")}var r=void 0,n=new WeakMap;function i(e,t){if(t&&n.has(t))throw Error("Cannot use more than one PDFWorker per port");if(this.name=e,this.destroyed=!1,this.postMessageTransfers=!0,this._readyCapability=(0,h.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,t){n.set(t,this),this._initializeFromPort(t);return}this._initialize()}return i.prototype={get promise(){return this._readyCapability.promise},get port(){return this._port},get messageHandler(){return this._messageHandler},_initializeFromPort:function(e){this._port=e,this._messageHandler=new h.MessageHandler("main","worker",e),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()},_initialize:function(){var e=this;if(!y&&!(0,f.getDefaultSetting)("disableWorker")&&"undefined"!=typeof Worker){var r,n=t();try{(0,h.isSameOrigin)(window.location.href,n)||(r=new URL(n,window.location).href,n=URL.createObjectURL(new Blob(["importScripts('"+r+"');"])));var i=new Worker(n),a=new h.MessageHandler("main","worker",i),o=function(){i.removeEventListener("error",s),a.destroy(),i.terminate(),e.destroyed?e._readyCapability.reject(Error("Worker was destroyed")):e._setupFakeWorker()},s=function(){e._webWorker||o()};i.addEventListener("error",s),a.on("test",function(t){if(i.removeEventListener("error",s),e.destroyed){o();return}t&&t.supportTypedArray?(e._messageHandler=a,e._port=i,e._webWorker=i,t.supportTransfers||(e.postMessageTransfers=!1,_=!0),e._readyCapability.resolve(),a.send("configure",{verbosity:(0,h.getVerbosityLevel)()})):(e._setupFakeWorker(),a.destroy(),i.terminate())}),a.on("console_log",function(e){console.log.apply(console,e)}),a.on("console_error",function(e){console.error.apply(console,e)}),a.on("ready",function(t){if(i.removeEventListener("error",s),e.destroyed){o();return}try{c()}catch(t){e._setupFakeWorker()}});var c=function(){var e=(0,f.getDefaultSetting)("postMessageTransfers")&&!_,t=new Uint8Array([e?255:0]);try{a.send("test",t,[t.buffer])}catch(e){(0,h.info)("Cannot use postMessage transfers"),t[0]=0,a.send("test",t)}};c();return}catch(e){(0,h.info)("The worker has been disabled.")}}this._setupFakeWorker()},_setupFakeWorker:function(){var n=this;y||(0,f.getDefaultSetting)("disableWorker")||((0,h.warn)("Setting up fake worker."),y=!0),(r||(r=(0,h.createPromiseCapability)(),(x||function(e){h.Util.loadScript(t(),function(){e(window.pdfjsDistBuildPdfWorker.WorkerMessageHandler)})})(r.resolve)),r.promise).then(function(t){if(n.destroyed){n._readyCapability.reject(Error("Worker was destroyed"));return}var r=new E(Uint8Array!==Float32Array);n._port=r;var i="fake"+e++,a=new h.MessageHandler(i+"_worker",i,r);t.setup(a,r);var o=new h.MessageHandler(i,i+"_worker",r);n._messageHandler=o,n._readyCapability.resolve()})},destroy:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),n.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},i.fromPort=function(e){return n.has(e)?n.get(e):new i(null,e)},i}(),R=function(){function e(e,t,r,n){this.messageHandler=e,this.loadingTask=t,this.commonObjs=new F,this.fontLoader=new p.FontLoader(t.docId),this.CMapReaderFactory=new n({baseUrl:(0,f.getDefaultSetting)("cMapUrl"),isCompressed:(0,f.getDefaultSetting)("cMapPacked")}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=r,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,h.createPromiseCapability)(),this.setupMessageHandler()}return e.prototype={destroy:function(){var e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,h.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(Error("Worker was destroyed during onPassword callback"));var t=[];this.pageCache.forEach(function(e){e&&t.push(e._destroy())}),this.pageCache=[],this.pagePromises=[];var r=this.messageHandler.sendWithPromise("Terminate",null);return t.push(r),Promise.all(t).then(function(){e.fontLoader.clear(),e._networkStream&&e._networkStream.cancelAllRequests(),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise},setupMessageHandler:function(){var e=this.messageHandler,t=this.loadingTask;e.on("GetReader",function(e,t){var r=this;(0,h.assert)(this._networkStream),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=function(e){r._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=function(){r._fullReader.read().then(function(e){var r=e.value;if(e.done){t.close();return}(0,h.assert)((0,h.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r])}).catch(function(e){t.error(e)})},t.onCancel=function(e){r._fullReader.cancel(e)}},this),e.on("ReaderHeadersReady",function(e){var t=this,r=(0,h.createPromiseCapability)(),n=this._fullReader;return n.headersReady.then(function(){if(!n.isStreamingSupported||!n.isRangeSupported){if(t._lastProgress){var e=t.loadingTask;e.onProgress&&e.onProgress(t._lastProgress)}n.onProgress=function(e){var r=t.loadingTask;r.onProgress&&r.onProgress({loaded:e.loaded,total:e.total})}}r.resolve({isStreamingSupported:n.isStreamingSupported,isRangeSupported:n.isRangeSupported,contentLength:n.contentLength})},r.reject),r.promise},this),e.on("GetRangeReader",function(e,t){(0,h.assert)(this._networkStream);var r=this._networkStream.getRangeReader(e.begin,e.end);t.onPull=function(){r.read().then(function(e){var r=e.value;if(e.done){t.close();return}(0,h.assert)((0,h.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r])}).catch(function(e){t.error(e)})},t.onCancel=function(e){r.cancel(e)}},this),e.on("GetDoc",function(e){var t=e.pdfInfo;this.numPages=e.pdfInfo.numPages;var r=this.loadingTask,n=new C(t,this,r);this.pdfDocument=n,r._capability.resolve(n)},this),e.on("PasswordRequest",function(e){var r=this;return this._passwordCapability=(0,h.createPromiseCapability)(),t.onPassword?t.onPassword(function(e){r._passwordCapability.resolve({password:e})},e.code):this._passwordCapability.reject(new h.PasswordException(e.message,e.code)),this._passwordCapability.promise},this),e.on("PasswordException",function(e){t._capability.reject(new h.PasswordException(e.message,e.code))},this),e.on("InvalidPDF",function(e){this.loadingTask._capability.reject(new h.InvalidPDFException(e.message))},this),e.on("MissingPDF",function(e){this.loadingTask._capability.reject(new h.MissingPDFException(e.message))},this),e.on("UnexpectedResponse",function(e){this.loadingTask._capability.reject(new h.UnexpectedResponseException(e.message,e.status))},this),e.on("UnknownError",function(e){this.loadingTask._capability.reject(new h.UnknownErrorException(e.message,e.details))},this),e.on("DataLoaded",function(e){this.downloadInfoCapability.resolve(e)},this),e.on("PDFManagerReady",function(e){},this),e.on("StartRenderPage",function(e){if(!this.destroyed){var t=this.pageCache[e.pageIndex];t.stats.timeEnd("Page Request"),t._startRenderPage(e.transparency,e.intent)}},this),e.on("RenderPageChunk",function(e){this.destroyed||this.pageCache[e.pageIndex]._renderPageChunk(e.operatorList,e.intent)},this),e.on("commonobj",function(e){var t=this;if(!this.destroyed){var r=e[0],n=e[1];if(!this.commonObjs.hasData(r))switch(n){case"Font":var i=e[2];if("error"in i){var a=i.error;(0,h.warn)("Error during font loading: "+a),this.commonObjs.resolve(r,a);break}var o=null;(0,f.getDefaultSetting)("pdfBug")&&m.default.FontInspector&&m.default.FontInspector.enabled&&(o={registerFont:function(e,t){m.default.FontInspector.fontAdded(e,t)}});var s=new p.FontFaceObject(i,{isEvalSupported:(0,f.getDefaultSetting)("isEvalSupported"),disableFontFace:(0,f.getDefaultSetting)("disableFontFace"),fontRegistry:o});this.fontLoader.bind([s],function(e){t.commonObjs.resolve(r,s)});break;case"FontPath":this.commonObjs.resolve(r,e[2]);break;default:throw Error("Got unknown common object type "+n)}}},this),e.on("obj",function(e){if(!this.destroyed){var t,r=e[0],n=e[1],i=e[2],a=this.pageCache[n];if(!a.objs.hasData(r))switch(i){case"JpegStream":t=e[3],(0,h.loadJpegStream)(r,t,a.objs);break;case"Image":t=e[3],a.objs.resolve(r,t),t&&"data"in t&&t.data.length>8e6&&(a.cleanupAfterRender=!0);break;default:throw Error("Got unknown object type "+i)}}},this),e.on("DocProgress",function(e){if(!this.destroyed){var t=this.loadingTask;t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}},this),e.on("PageError",function(e){if(!this.destroyed){var t=this.pageCache[e.pageNum-1].intentStates[e.intent];if(t.displayReadyCapability)t.displayReadyCapability.reject(e.error);else throw Error(e.error);if(t.operatorList){t.operatorList.lastChunk=!0;for(var r=0;r<t.renderTasks.length;r++)t.renderTasks[r].operatorListChanged()}}},this),e.on("UnsupportedFeature",function(e){if(!this.destroyed){var t=e.featureId,r=this.loadingTask;r.onUnsupportedFeature&&r.onUnsupportedFeature(t),I.notify(t)}},this),e.on("JpegDecode",function(e){if(this.destroyed)return Promise.reject(Error("Worker was destroyed"));if("undefined"==typeof document)return Promise.reject(Error('"document" is not defined.'));var t=e[0],r=e[1];return 3!==r&&1!==r?Promise.reject(Error("Only 3 components or 1 component can be returned")):new Promise(function(e,n){var i=new Image;i.onload=function(){var t,n,a=i.width,o=i.height,s=a*o,c=4*s,l=new Uint8Array(s*r),u=document.createElement("canvas");u.width=a,u.height=o;var d=u.getContext("2d");d.drawImage(i,0,0);var h=d.getImageData(0,0,a,o).data;if(3===r)for(t=0,n=0;t<c;t+=4,n+=3)l[n]=h[t],l[n+1]=h[t+1],l[n+2]=h[t+2];else if(1===r)for(t=0,n=0;t<c;t+=4,n++)l[n]=h[t];e({data:l,width:a,height:o})},i.onerror=function(){n(Error("JpegDecode failed to load image"))},i.src=t})},this),e.on("FetchBuiltInCMap",function(e){return this.destroyed?Promise.reject(Error("Worker was destroyed")):this.CMapReaderFactory.fetch({name:e.name})},this)},getData:function(){return this.messageHandler.sendWithPromise("GetData",null)},getPage:function(e,t){var r=this;if(!Number.isInteger(e)||e<=0||e>this.numPages)return Promise.reject(Error("Invalid page request"));var n=e-1;if(n in this.pagePromises)return this.pagePromises[n];var i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:n}).then(function(e){if(r.destroyed)throw Error("Transport destroyed");var t=new k(n,e,r);return r.pageCache[n]=t,t});return this.pagePromises[n]=i,i},getPageIndex:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e}).catch(function(e){return Promise.reject(Error(e))})},getAnnotations:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})},getDestinations:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)},getDestination:function(e){return this.messageHandler.sendWithPromise("GetDestination",{id:e})},getPageLabels:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)},getPageMode:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)},getAttachments:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)},getJavaScript:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)},getOutline:function(){return this.messageHandler.sendWithPromise("GetOutline",null)},getMetadata:function(){return this.messageHandler.sendWithPromise("GetMetadata",null).then(function(e){return{info:e[0],metadata:e[1]?new b.Metadata(e[1]):null}})},getStats:function(){return this.messageHandler.sendWithPromise("GetStats",null)},startCleanup:function(){var e=this;this.messageHandler.sendWithPromise("Cleanup",null).then(function(){for(var t=0,r=e.pageCache.length;t<r;t++){var n=e.pageCache[t];n&&n.cleanup()}e.commonObjs.clear(),e.fontLoader.clear()})}},e}(),F=function(){function e(){this.objs=Object.create(null)}return e.prototype={ensureObj:function(e){if(this.objs[e])return this.objs[e];var t={capability:(0,h.createPromiseCapability)(),data:null,resolved:!1};return this.objs[e]=t,t},get:function(e,t){if(t)return this.ensureObj(e).capability.promise.then(t),null;var r=this.objs[e];if(!r||!r.resolved)throw Error("Requesting object that isn't resolved yet "+e);return r.data},resolve:function(e,t){var r=this.ensureObj(e);r.resolved=!0,r.data=t,r.capability.resolve(t)},isResolved:function(e){var t=this.objs;return!!t[e]&&t[e].resolved},hasData:function(e){return this.isResolved(e)},getData:function(e){var t=this.objs;return t[e]&&t[e].resolved?t[e].data:null},clear:function(){this.objs=Object.create(null)}},e}(),U=function(){function e(e){this._internalRenderTask=e,this.onContinue=null}return e.prototype={get promise(){return this._internalRenderTask.capability.promise},cancel:function(){this._internalRenderTask.cancel()},then:function(e,t){return this.promise.then.apply(this.promise,arguments)}},e}(),O=function(){var e=new WeakMap;function t(e,t,r,n,i,a,o){this.callback=e,this.params=t,this.objs=r,this.commonObjs=n,this.operatorListIdx=null,this.operatorList=i,this.pageNumber=a,this.canvasFactory=o,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this.useRequestAnimationFrame=!1,this.cancelled=!1,this.capability=(0,h.createPromiseCapability)(),this.task=new U(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvasContext.canvas}return t.prototype={initializeGraphics:function(t){if(this._canvas){if(e.has(this._canvas))throw Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");e.set(this._canvas,this)}if(!this.cancelled){(0,f.getDefaultSetting)("pdfBug")&&m.default.StepperManager&&m.default.StepperManager.enabled&&(this.stepper=m.default.StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var r=this.params;this.gfx=new g.CanvasGraphics(r.canvasContext,this.commonObjs,this.objs,this.canvasFactory,r.imageLayer),this.gfx.beginDrawing({transform:r.transform,viewport:r.viewport,transparency:t,background:r.background}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}},cancel:function(){this.running=!1,this.cancelled=!0,this._canvas&&e.delete(this._canvas),(0,f.getDefaultSetting)("pdfjsNext")?this.callback(new f.RenderingCancelledException("Rendering cancelled, page "+this.pageNumber,"canvas")):this.callback("cancelled")},operatorListChanged:function(){if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()},_continue:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())},_scheduleNext:function(){this.useRequestAnimationFrame&&"undefined"!=typeof window?window.requestAnimationFrame(this._nextBound):Promise.resolve(void 0).then(this._nextBound)},_next:function(){!this.cancelled&&(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&e.delete(this._canvas),this.callback())))}},t}(),I=(a=[],{listen:function(e){(0,h.deprecated)("Global UnsupportedManager.listen is used: use PDFDocumentLoadingTask.onUnsupportedFeature instead"),a.push(e)},notify:function(e){for(var t=0,r=a.length;t<r;t++)a[t](e)}});t.version=c="1.10.88",t.build=l="c62a1938",t.getDocument=function(e,t,r,n){var i,a=new T;if(arguments.length>1&&(0,h.deprecated)("getDocument is called with pdfDataRangeTransport, passwordCallback or progressCallback argument"),t&&(t instanceof D||((t=Object.create(t)).length=e.length,t.initialData=e.initialData,t.abort||(t.abort=function(){})),(e=Object.create(e)).range=t),a.onPassword=r||null,a.onProgress=n||null,"string"==typeof e)i={url:e};else if((0,h.isArrayBuffer)(e))i={data:e};else if(e instanceof D)i={range:e};else{if((void 0===e?"undefined":d(e))!=="object")throw Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!e.url&&!e.data&&!e.range)throw Error("Invalid parameter object: need either .data, .range or .url");i=e}var o={},c=null,l=null,u=f.DOMCMapReaderFactory;for(var p in i){if("url"===p&&"undefined"!=typeof window){o[p]=new URL(i[p],window.location).href;continue}if("range"===p){c=i[p];continue}if("worker"===p){l=i[p];continue}if("data"!==p||i[p]instanceof Uint8Array){if("CMapReaderFactory"===p){u=i[p];continue}}else{var g=i[p];if("string"==typeof g)o[p]=(0,h.stringToBytes)(g);else if((void 0===g?"undefined":d(g))!=="object"||null===g||isNaN(g.length)){if((0,h.isArrayBuffer)(g))o[p]=new Uint8Array(g);else throw Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.")}else o[p]=new Uint8Array(g);continue}o[p]=i[p]}if(o.rangeChunkSize=o.rangeChunkSize||65536,o.ignoreErrors=!0!==o.stopAtErrors,void 0!==o.disableNativeImageDecoder&&(0,h.deprecated)("parameter disableNativeImageDecoder, use nativeImageDecoderSupport instead"),o.nativeImageDecoderSupport=o.nativeImageDecoderSupport||(!0===o.disableNativeImageDecoder?h.NativeImageDecoding.NONE:h.NativeImageDecoding.DECODE),o.nativeImageDecoderSupport!==h.NativeImageDecoding.DECODE&&o.nativeImageDecoderSupport!==h.NativeImageDecoding.NONE&&o.nativeImageDecoderSupport!==h.NativeImageDecoding.DISPLAY&&((0,h.warn)("Invalid parameter nativeImageDecoderSupport: need a state of enum {NativeImageDecoding}"),o.nativeImageDecoderSupport=h.NativeImageDecoding.DECODE),!l){var m=(0,f.getDefaultSetting)("workerPort");l=m?P.fromPort(m):new P,a._worker=l}var b=a.docId;return l.promise.then(function(){var e,t;if(a.destroyed)throw Error("Loading aborted");return(e=l,t=c,e.destroyed?Promise.reject(Error("Worker was destroyed")):(o.disableAutoFetch=(0,f.getDefaultSetting)("disableAutoFetch"),o.disableStream=(0,f.getDefaultSetting)("disableStream"),o.chunkedViewerLoading=!!t,t&&(o.length=t.length,o.initialData=t.initialData),e.messageHandler.sendWithPromise("GetDocRequest",{docId:b,apiVersion:"1.10.88",source:{data:o.data,url:o.url,password:o.password,disableAutoFetch:o.disableAutoFetch,rangeChunkSize:o.rangeChunkSize,length:o.length},maxImageSize:(0,f.getDefaultSetting)("maxImageSize"),disableFontFace:(0,f.getDefaultSetting)("disableFontFace"),disableCreateObjectURL:(0,f.getDefaultSetting)("disableCreateObjectURL"),postMessageTransfers:(0,f.getDefaultSetting)("postMessageTransfers")&&!_,docBaseUrl:o.docBaseUrl,nativeImageDecoderSupport:o.nativeImageDecoderSupport,ignoreErrors:o.ignoreErrors,isEvalSupported:(0,f.getDefaultSetting)("isEvalSupported")}).then(function(t){if(e.destroyed)throw Error("Worker was destroyed");return t}))).then(function(e){if(a.destroyed)throw Error("Loading aborted");var t=void 0;c?t=new v.PDFDataTransportStream(o,c):o.data||(t=new s({source:o,disableRange:(0,f.getDefaultSetting)("disableRange")}));var r=new h.MessageHandler(b,e,l.port);r.postMessageTransfers=l.postMessageTransfers;var n=new R(r,a,t,u);a._transport=n,r.send("Ready",null)})}).catch(a._capability.reject),a},t.LoopbackPort=E,t.PDFDataRangeTransport=D,t.PDFWorker=P,t.PDFDocumentProxy=C,t.PDFPageProxy=k,t.setPDFNetworkStreamClass=function(e){s=e},t._UnsupportedManager=I,t.version=c,t.build=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLUtils=void 0;var n=r(13),i=r(0),a=function(){function e(e,t,r){var n=e.createShader(r);if(e.shaderSource(n,t),e.compileShader(n),!e.getShaderParameter(n,e.COMPILE_STATUS))throw Error("Error during shader compilation: "+e.getShaderInfoLog(n));return n}function t(t,r){return e(t,r,t.VERTEX_SHADER)}function r(t,r){return e(t,r,t.FRAGMENT_SHADER)}function a(e,t){for(var r=e.createProgram(),n=0,i=t.length;n<i;++n)e.attachShader(r,t[n]);if(e.linkProgram(r),!e.getProgramParameter(r,e.LINK_STATUS))throw Error("Error during program linking: "+e.getProgramInfoLog(r));return r}function o(e,t,r){e.activeTexture(r);var n=e.createTexture();return e.bindTexture(e.TEXTURE_2D,n),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t),n}function s(){c||(c=(l=document.createElement("canvas")).getContext("webgl",{premultipliedalpha:!1}))}var c,l,u=null,d=null;return{get isEnabled(){if((0,n.getDefaultSetting)("disableWebGL"))return!1;var h=!1;try{s(),h=!!c}catch(e){}return(0,i.shadow)(this,"isEnabled",h)},composeSMask:function(e,n,i){var d,h,f,p,g,m,b,v,y,_,A=e.width,x=e.height;u||(s(),d=l,l=null,h=c,c=null,f=t(h," attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } "),p=r(h," precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } "),g=a(h,[f,p]),h.useProgram(g),(m={}).gl=h,m.canvas=d,m.resolutionLocation=h.getUniformLocation(g,"u_resolution"),m.positionLocation=h.getAttribLocation(g,"a_position"),m.backdropLocation=h.getUniformLocation(g,"u_backdrop"),m.subtypeLocation=h.getUniformLocation(g,"u_subtype"),b=h.getAttribLocation(g,"a_texCoord"),v=h.getUniformLocation(g,"u_image"),y=h.getUniformLocation(g,"u_mask"),_=h.createBuffer(),h.bindBuffer(h.ARRAY_BUFFER,_),h.bufferData(h.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),h.STATIC_DRAW),h.enableVertexAttribArray(b),h.vertexAttribPointer(b,2,h.FLOAT,!1,0,0),h.uniform1i(v,0),h.uniform1i(y,1),u=m);var S=u,w=S.canvas,T=S.gl;w.width=A,w.height=x,T.viewport(0,0,T.drawingBufferWidth,T.drawingBufferHeight),T.uniform2f(S.resolutionLocation,A,x),i.backdrop?T.uniform4f(S.resolutionLocation,i.backdrop[0],i.backdrop[1],i.backdrop[2],1):T.uniform4f(S.resolutionLocation,0,0,0,0),T.uniform1i(S.subtypeLocation,"Luminosity"===i.subtype?1:0);var D=o(T,e,T.TEXTURE0),C=o(T,n,T.TEXTURE1),k=T.createBuffer();return T.bindBuffer(T.ARRAY_BUFFER,k),T.bufferData(T.ARRAY_BUFFER,new Float32Array([0,0,A,0,0,x,0,x,A,0,A,x]),T.STATIC_DRAW),T.enableVertexAttribArray(S.positionLocation),T.vertexAttribPointer(S.positionLocation,2,T.FLOAT,!1,0,0),T.clearColor(0,0,0,0),T.enable(T.BLEND),T.blendFunc(T.ONE,T.ONE_MINUS_SRC_ALPHA),T.clear(T.COLOR_BUFFER_BIT),T.drawArrays(T.TRIANGLES,0,6),T.flush(),T.deleteTexture(D),T.deleteTexture(C),T.deleteBuffer(k),w},drawFigures:function(e,n,i,o,u){if(!d){var h,f,p,g,m,b;s(),h=l,l=null,f=c,c=null,p=t(f," attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } "),g=r(f," precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } "),m=a(f,[p,g]),f.useProgram(m),(b={}).gl=f,b.canvas=h,b.resolutionLocation=f.getUniformLocation(m,"u_resolution"),b.scaleLocation=f.getUniformLocation(m,"u_scale"),b.offsetLocation=f.getUniformLocation(m,"u_offset"),b.positionLocation=f.getAttribLocation(m,"a_position"),b.colorLocation=f.getAttribLocation(m,"a_color"),d=b}var v,y,_,A=d,x=A.canvas,S=A.gl;x.width=e,x.height=n,S.viewport(0,0,S.drawingBufferWidth,S.drawingBufferHeight),S.uniform2f(A.resolutionLocation,e,n);var w=0;for(v=0,y=o.length;v<y;v++)switch(o[v].type){case"lattice":w+=((_=o[v].coords.length/o[v].verticesPerRow|0)-1)*(o[v].verticesPerRow-1)*6;break;case"triangles":w+=o[v].coords.length}var T=new Float32Array(2*w),D=new Uint8Array(3*w),C=u.coords,k=u.colors,E=0,P=0;for(v=0,y=o.length;v<y;v++){var R=o[v],F=R.coords,U=R.colors;switch(R.type){case"lattice":var O=R.verticesPerRow;_=F.length/O|0;for(var I=1;I<_;I++)for(var L=I*O+1,N=1;N<O;N++,L++)T[E]=C[F[L-O-1]],T[E+1]=C[F[L-O-1]+1],T[E+2]=C[F[L-O]],T[E+3]=C[F[L-O]+1],T[E+4]=C[F[L-1]],T[E+5]=C[F[L-1]+1],D[P]=k[U[L-O-1]],D[P+1]=k[U[L-O-1]+1],D[P+2]=k[U[L-O-1]+2],D[P+3]=k[U[L-O]],D[P+4]=k[U[L-O]+1],D[P+5]=k[U[L-O]+2],D[P+6]=k[U[L-1]],D[P+7]=k[U[L-1]+1],D[P+8]=k[U[L-1]+2],T[E+6]=T[E+2],T[E+7]=T[E+3],T[E+8]=T[E+4],T[E+9]=T[E+5],T[E+10]=C[F[L]],T[E+11]=C[F[L]+1],D[P+9]=D[P+3],D[P+10]=D[P+4],D[P+11]=D[P+5],D[P+12]=D[P+6],D[P+13]=D[P+7],D[P+14]=D[P+8],D[P+15]=k[U[L]],D[P+16]=k[U[L]+1],D[P+17]=k[U[L]+2],E+=12,P+=18;break;case"triangles":for(var j=0,M=F.length;j<M;j++)T[E]=C[F[j]],T[E+1]=C[F[j]+1],D[P]=k[U[j]],D[P+1]=k[U[j]+1],D[P+2]=k[U[j]+2],E+=2,P+=3}}i?S.clearColor(i[0]/255,i[1]/255,i[2]/255,1):S.clearColor(0,0,0,0),S.clear(S.COLOR_BUFFER_BIT);var W=S.createBuffer();S.bindBuffer(S.ARRAY_BUFFER,W),S.bufferData(S.ARRAY_BUFFER,T,S.STATIC_DRAW),S.enableVertexAttribArray(A.positionLocation),S.vertexAttribPointer(A.positionLocation,2,S.FLOAT,!1,0,0);var q=S.createBuffer();return S.bindBuffer(S.ARRAY_BUFFER,q),S.bufferData(S.ARRAY_BUFFER,D,S.STATIC_DRAW),S.enableVertexAttribArray(A.colorLocation),S.vertexAttribPointer(A.colorLocation,3,S.UNSIGNED_BYTE,!1,0,0),S.uniform2f(A.scaleLocation,u.scaleX,u.scaleY),S.uniform2f(A.offsetLocation,u.offsetX,u.offsetY),S.drawArrays(S.TRIANGLES,0,w),S.flush(),S.deleteBuffer(W),S.deleteBuffer(q),x},clear:function(){u&&u.canvas&&(u.canvas.width=0,u.canvas.height=0),d&&d.canvas&&(d.canvas.width=0,d.canvas.height=0),u=null,d=null}}}();t.WebGLUtils=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(0),a=r(13),o=function(){function e(t){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),(0,i.assert)("string"==typeof t,"Metadata: input is not a string"),t=this._repair(t),t=new a.SimpleXMLParser().parseFromString(t),this._metadata=Object.create(null),this._parse(t)}return n(e,[{key:"_repair",value:function(e){return e.replace(/>\\376\\377([^<]+)/g,function(e,t){for(var r=t.replace(/\\([0-3])([0-7])([0-7])/g,function(e,t,r,n){return String.fromCharCode(64*t+8*r+1*n)}),n="",i=0,a=r.length;i<a;i+=2){var o=256*r.charCodeAt(i)+r.charCodeAt(i+1);o>=32&&o<127&&60!==o&&62!==o&&38!==o?n+=String.fromCharCode(o):n+="&#x"+(65536+o).toString(16).substring(1)+";"}return">"+n})}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName.toLowerCase())for(t=t.firstChild;t&&"rdf:rdf"!==t.nodeName.toLowerCase();)t=t.nextSibling;var r=t?t.nodeName.toLowerCase():null;if(t&&"rdf:rdf"===r&&t.hasChildNodes())for(var n=t.childNodes,i=0,a=n.length;i<a;i++){var o=n[i];if("rdf:description"===o.nodeName.toLowerCase()){for(var s=0,c=o.childNodes.length;s<c;s++)if("#text"!==o.childNodes[s].nodeName.toLowerCase()){var l=o.childNodes[s],u=l.nodeName.toLowerCase();this._metadata[u]=l.textContent.trim()}}}}},{key:"get",value:function(e){return this._metadata[e]||null}},{key:"getAll",value:function(){return this._metadata}},{key:"has",value:function(e){return void 0!==this._metadata[e]}},{key:"metadata",get:function(){return(0,i.deprecated)("`metadata` getter; use `getAll()` instead."),this.getAll()}}]),e}();t.Metadata=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(13),a=r(0);function o(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function s(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var l=function(){function e(){c(this,e)}return n(e,null,[{key:"create",value:function(e){switch(e.data.annotationType){case a.AnnotationType.LINK:return new d(e);case a.AnnotationType.TEXT:return new h(e);case a.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new p(e);case"Btn":if(e.data.radioButton)return new m(e);if(e.data.checkBox)return new g(e);(0,a.warn)("Unimplemented button widget annotation: pushbutton");break;case"Ch":return new b(e)}return new f(e);case a.AnnotationType.POPUP:return new v(e);case a.AnnotationType.LINE:return new _(e);case a.AnnotationType.SQUARE:return new A(e);case a.AnnotationType.CIRCLE:return new x(e);case a.AnnotationType.POLYLINE:return new S(e);case a.AnnotationType.POLYGON:return new w(e);case a.AnnotationType.HIGHLIGHT:return new T(e);case a.AnnotationType.UNDERLINE:return new D(e);case a.AnnotationType.SQUIGGLY:return new C(e);case a.AnnotationType.STRIKEOUT:return new k(e);case a.AnnotationType.STAMP:return new E(e);case a.AnnotationType.FILEATTACHMENT:return new P(e);default:return new u(e)}}}]),e}(),u=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(this,e),this.isRenderable=r,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderInteractiveForms=t.renderInteractiveForms,this.svgFactory=t.svgFactory,r&&(this.container=this._createContainer(n))}return n(e,[{key:"_createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.data,r=this.page,n=this.viewport,o=document.createElement("section"),s=t.rect[2]-t.rect[0],c=t.rect[3]-t.rect[1];o.setAttribute("data-annotation-id",t.id);var l=a.Util.normalizeRect([t.rect[0],r.view[3]-t.rect[1]+r.view[1],t.rect[2],r.view[3]-t.rect[3]+r.view[1]]);if(i.CustomStyle.setProp("transform",o,"matrix("+n.transform.join(",")+")"),i.CustomStyle.setProp("transformOrigin",o,-l[0]+"px "+-l[1]+"px"),!e&&t.borderStyle.width>0){o.style.borderWidth=t.borderStyle.width+"px",t.borderStyle.style!==a.AnnotationBorderStyleType.UNDERLINE&&(s-=2*t.borderStyle.width,c-=2*t.borderStyle.width);var u=t.borderStyle.horizontalCornerRadius,d=t.borderStyle.verticalCornerRadius;switch((u>0||d>0)&&i.CustomStyle.setProp("borderRadius",o,u+"px / "+d+"px"),t.borderStyle.style){case a.AnnotationBorderStyleType.SOLID:o.style.borderStyle="solid";break;case a.AnnotationBorderStyleType.DASHED:o.style.borderStyle="dashed";break;case a.AnnotationBorderStyleType.BEVELED:(0,a.warn)("Unimplemented border style: beveled");break;case a.AnnotationBorderStyleType.INSET:(0,a.warn)("Unimplemented border style: inset");break;case a.AnnotationBorderStyleType.UNDERLINE:o.style.borderBottomStyle="solid"}t.color?o.style.borderColor=a.Util.makeCssRgb(0|t.color[0],0|t.color[1],0|t.color[2]):o.style.borderWidth=0}return o.style.left=l[0]+"px",o.style.top=l[1]+"px",o.style.width=s+"px",o.style.height=c+"px",o}},{key:"_createPopup",value:function(e,t,r){t||((t=document.createElement("div")).style.height=e.style.height,t.style.width=e.style.width,e.appendChild(t));var n=new y({container:e,trigger:t,color:r.color,title:r.title,contents:r.contents,hideWrapper:!0}).render();n.style.left=e.style.width,e.appendChild(n)}},{key:"render",value:function(){throw Error("Abstract method `AnnotationElement.render` called")}}]),e}(),d=function(e){function t(e){c(this,t);var r=!!(e.data.url||e.data.dest||e.data.action);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="linkAnnotation";var e=document.createElement("a");return(0,i.addLinkAttributes)(e,{url:this.data.url,target:this.data.newWindow?i.LinkTarget.BLANK:void 0}),this.data.url||(this.data.action?this._bindNamedAction(e,this.data.action):this._bindLink(e,this.data.dest)),this.container.appendChild(e),this.container}},{key:"_bindLink",value:function(e,t){var r=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&r.linkService.navigateTo(t),!1},t&&(e.className="internalLink")}},{key:"_bindNamedAction",value:function(e,t){var r=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return r.linkService.executeNamedAction(t),!1},e.className="internalLink"}}]),t}(u),h=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="textAnnotation";var e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}}]),t}(u),f=function(e){function t(){return c(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),n(t,[{key:"render",value:function(){return this.container}}]),t}(u),p=function(e){function t(e){c(this,t);var r=e.renderInteractiveForms||!e.data.hasAppearance&&!!e.data.fieldValue;return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="textWidgetAnnotation";var e=null;if(this.renderInteractiveForms){if(this.data.multiLine?(e=document.createElement("textarea")).textContent=this.data.fieldValue:((e=document.createElement("input")).type="text",e.setAttribute("value",this.data.fieldValue)),e.disabled=this.data.readOnly,null!==this.data.maxLen&&(e.maxLength=this.data.maxLen),this.data.comb){var t=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;e.classList.add("comb"),e.style.letterSpacing="calc("+t+"px - 1ch)"}}else{(e=document.createElement("div")).textContent=this.data.fieldValue,e.style.verticalAlign="middle",e.style.display="table-cell";var r=null;this.data.fontRefName&&(r=this.page.commonObjs.getData(this.data.fontRefName)),this._setTextStyle(e,r)}return null!==this.data.textAlignment&&(e.style.textAlign=["left","center","right"][this.data.textAlignment]),this.container.appendChild(e),this.container}},{key:"_setTextStyle",value:function(e,t){var r=e.style;if(r.fontSize=this.data.fontSize+"px",r.direction=this.data.fontDirection<0?"rtl":"ltr",t){r.fontWeight=t.black?t.bold?"900":"bold":t.bold?"bold":"normal",r.fontStyle=t.italic?"italic":"normal";var n=t.loadedName?'"'+t.loadedName+'", ':"",i=t.fallbackName||"Helvetica, sans-serif";r.fontFamily=n+i}}}]),t}(f),g=function(e){function t(e){return c(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,e.renderInteractiveForms))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation checkBox";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="checkbox",this.data.fieldValue&&"Off"!==this.data.fieldValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(f),m=function(e){function t(e){return c(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,e.renderInteractiveForms))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation radioButton";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="radio",e.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(f),b=function(e){function t(e){return c(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,e.renderInteractiveForms))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="choiceWidgetAnnotation";var e=document.createElement("select");e.disabled=this.data.readOnly,!this.data.combo&&(e.size=this.data.options.length,this.data.multiSelect&&(e.multiple=!0));for(var t=0,r=this.data.options.length;t<r;t++){var n=this.data.options[t],i=document.createElement("option");i.textContent=n.displayValue,i.value=n.exportValue,this.data.fieldValue.indexOf(n.displayValue)>=0&&i.setAttribute("selected",!0),e.appendChild(i)}return this.container.appendChild(e),this.container}}]),t}(f),v=function(e){function t(e){c(this,t);var r=!!(e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return s(t,e),n(t,[{key:"render",value:function(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon"].indexOf(this.data.parentType)>=0)return this.container;var e='[data-annotation-id="'+this.data.parentId+'"]',t=this.layer.querySelector(e);if(!t)return this.container;var r=new y({container:this.container,trigger:t,color:this.data.color,title:this.data.title,contents:this.data.contents}),n=parseFloat(t.style.left),a=parseFloat(t.style.width);return i.CustomStyle.setProp("transformOrigin",this.container,-(n+a)+"px -"+t.style.top),this.container.style.left=n+a+"px",this.container.appendChild(r.render()),this.container}}]),t}(u),y=function(){function e(t){c(this,e),this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.title=t.title,this.contents=t.contents,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}return n(e,[{key:"render",value:function(){var e=document.createElement("div");e.className="popupWrapper",this.hideElement=this.hideWrapper?e:this.container,this.hideElement.setAttribute("hidden",!0);var t=document.createElement("div");t.className="popup";var r=this.color;if(r){var n=.7*(255-r[0])+r[0],i=.7*(255-r[1])+r[1],o=.7*(255-r[2])+r[2];t.style.backgroundColor=a.Util.makeCssRgb(0|n,0|i,0|o)}var s=this._formatContents(this.contents),c=document.createElement("h1");return c.textContent=this.title,this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),t.addEventListener("click",this._hide.bind(this,!0)),t.appendChild(c),t.appendChild(s),e.appendChild(t),e}},{key:"_formatContents",value:function(e){for(var t=document.createElement("p"),r=e.split(/(?:\r\n?|\n)/),n=0,i=r.length;n<i;++n){var a=r[n];t.appendChild(document.createTextNode(a)),n<i-1&&t.appendChild(document.createElement("br"))}return t}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)}},{key:"_hide",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];e&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}}]),e}(),_=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="lineAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=this.svgFactory.createElement("svg:line");return i.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),i.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),i.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),i.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),i.setAttribute("stroke-width",e.borderStyle.width),i.setAttribute("stroke","transparent"),n.appendChild(i),this.container.append(n),this._createPopup(this.container,i,e),this.container}}]),t}(u),A=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="squareAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,a=this.svgFactory.createElement("svg:rect");return a.setAttribute("x",i/2),a.setAttribute("y",i/2),a.setAttribute("width",t-i),a.setAttribute("height",r-i),a.setAttribute("stroke-width",i),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),n.appendChild(a),this.container.append(n),this._createPopup(this.container,a,e),this.container}}]),t}(u),x=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="circleAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,a=this.svgFactory.createElement("svg:ellipse");return a.setAttribute("cx",t/2),a.setAttribute("cy",r/2),a.setAttribute("rx",t/2-i/2),a.setAttribute("ry",r/2-i/2),a.setAttribute("stroke-width",i),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),n.appendChild(a),this.container.append(n),this._createPopup(this.container,a,e),this.container}}]),t}(u),S=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents),n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0));return n.containerClassName="polylineAnnotation",n.svgElementName="svg:polyline",n}return s(t,e),n(t,[{key:"render",value:function(){this.container.className=this.containerClassName;for(var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.vertices,a=[],o=0,s=i.length;o<s;o++){var c=i[o].x-e.rect[0],l=e.rect[3]-i[o].y;a.push(c+","+l)}a=a.join(" ");var u=e.borderStyle.width,d=this.svgFactory.createElement(this.svgElementName);return d.setAttribute("points",a),d.setAttribute("stroke-width",u),d.setAttribute("stroke","transparent"),d.setAttribute("fill","none"),n.appendChild(d),this.container.append(n),this._createPopup(this.container,d,e),this.container}}]),t}(u),w=function(e){function t(e){c(this,t);var r=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return s(t,e),t}(S),T=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(u),D=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(u),C=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(u),k=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(u),E=function(e){function t(e){c(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return s(t,e),n(t,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(u),P=function(e){function t(e){c(this,t);var r=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,!0)),n=r.data.file;return r.filename=(0,i.getFilenameFromUrl)(n.filename),r.content=n.content,r.linkService.onFileAttachmentAnnotation({id:(0,a.stringToPDFString)(n.filename),filename:n.filename,content:n.content}),r}return s(t,e),n(t,[{key:"render",value:function(){this.container.className="fileAttachmentAnnotation";var e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),!this.data.hasPopup&&(this.data.title||this.data.contents)&&this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}},{key:"_download",value:function(){if(!this.downloadManager){(0,a.warn)("Download cannot be started due to unavailable download manager");return}this.downloadManager.downloadData(this.content,this.filename,"")}}]),t}(u),R=function(){function e(){c(this,e)}return n(e,null,[{key:"render",value:function(e){for(var t=0,r=e.annotations.length;t<r;t++){var n=e.annotations[t];if(n){var a=l.create({data:n,layer:e.div,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||(0,i.getDefaultSetting)("imageResourcesPath"),renderInteractiveForms:e.renderInteractiveForms||!1,svgFactory:new i.DOMSVGFactory});a.isRenderable&&e.div.appendChild(a.render())}}}},{key:"update",value:function(e){for(var t=0,r=e.annotations.length;t<r;t++){var n=e.annotations[t],a=e.div.querySelector('[data-annotation-id="'+n.id+'"]');a&&i.CustomStyle.setProp("transform",a,"matrix("+e.viewport.transform.join(",")+")")}e.div.removeAttribute("hidden")}}]),e}();t.AnnotationLayer=R},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=void 0;var n=r(0),i=r(13),a=function(){var e=/\S/,t=["left: ",0,"px; top: ",0,"px; font-size: ",0,"px; font-family: ","",";"];function r(e){if(!e._canceled){var t=e._textDivs,r=e._capability,n=t.length;if(n>1e5){e._renderingDone=!0,r.resolve();return}if(!e._textContentStream)for(var i=0;i<n;i++)e._layoutText(t[i]);e._renderingDone=!0,r.resolve()}}function a(e,t){t.sort(function(e,t){return e.x1-t.x1||e.index-t.index});var r=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];t.forEach(function(e){for(var t,n=0;n<r.length&&r[n].end<=e.y1;)n++;for(var i=r.length-1;i>=0&&r[i].start>=e.y2;)i--;var a,o,s,c,l=-1/0;for(s=n;s<=i;s++)(t=(o=(a=r[s]).boundary).x2>e.x1?o.index>e.index?o.x1New:e.x1:void 0===o.x2New?(o.x2+e.x1)/2:o.x2New)>l&&(l=t);for(e.x1New=l,s=n;s<=i;s++)void 0===(o=(a=r[s]).boundary).x2New?o.x2>e.x1?o.index>e.index&&(o.x2New=o.x2):o.x2New=l:o.x2New>l&&(o.x2New=Math.max(l,o.x2));var u=[],d=null;for(s=n;s<=i;s++){var h=(o=(a=r[s]).boundary).x2>e.x2?o:e;d===h?u[u.length-1].end=a.end:(u.push({start:a.start,end:a.end,boundary:h}),d=h)}for(r[n].start<e.y1&&(u[0].start=e.y1,u.unshift({start:r[n].start,end:e.y1,boundary:r[n].boundary})),e.y2<r[i].end&&(u[u.length-1].end=e.y2,u.push({start:e.y2,end:r[i].end,boundary:r[i].boundary})),s=n;s<=i;s++)if(void 0===(o=(a=r[s]).boundary).x2New){var f=!1;for(c=n-1;!f&&c>=0&&r[c].start>=o.y1;c--)f=r[c].boundary===o;for(c=i+1;!f&&c<r.length&&r[c].end<=o.y2;c++)f=r[c].boundary===o;for(c=0;!f&&c<u.length;c++)f=u[c].boundary===o;f||(o.x2New=l)}Array.prototype.splice.apply(r,[n,i-n+1].concat(u))}),r.forEach(function(t){var r=t.boundary;void 0===r.x2New&&(r.x2New=Math.max(e,r.x2))})}function o(e){var t=e.textContent,r=e.textContentStream,i=e.container,a=e.viewport,o=e.textDivs,s=e.textContentItemsStr,c=e.enhanceTextSelection;this._textContent=t,this._textContentStream=r,this._container=i,this._viewport=a,this._textDivs=o||[],this._textContentItemsStr=s||[],this._enhanceTextSelection=!!c,this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,n.createPromiseCapability)(),this._renderTimer=null,this._bounds=[]}return o.prototype={get promise(){return this._capability.promise},cancel:function(){this._reader&&(this._reader.cancel(new n.AbortException("text layer task cancelled")),this._reader=null),this._canceled=!0,null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject("canceled")},_processItems:function(r,a){for(var o=0,s=r.length;o<s;o++)this._textContentItemsStr.push(r[o].str),function(r,a,o){var s=document.createElement("div"),c={style:null,angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(r._textDivs.push(s),p=a.str,!e.test(p)){c.isWhitespace=!0,r._textDivProperties.set(s,c);return}var l=n.Util.transform(r._viewport.transform,a.transform),u=Math.atan2(l[1],l[0]),d=o[a.fontName];d.vertical&&(u+=Math.PI/2);var h=Math.sqrt(l[2]*l[2]+l[3]*l[3]),f=h;if(d.ascent?f=d.ascent*f:d.descent&&(f=(1+d.descent)*f),0===u?(g=l[4],m=l[5]-f):(g=l[4]+f*Math.sin(u),m=l[5]-f*Math.cos(u)),t[1]=g,t[3]=m,t[5]=h,t[7]=d.fontFamily,c.style=t.join(""),s.setAttribute("style",c.style),s.textContent=a.str,(0,i.getDefaultSetting)("pdfBug")&&(s.dataset.fontName=a.fontName),0!==u&&(c.angle=180/Math.PI*u),a.str.length>1&&(d.vertical?c.canvasWidth=a.height*r._viewport.scale:c.canvasWidth=a.width*r._viewport.scale),r._textDivProperties.set(s,c),r._textContentStream&&r._layoutText(s),r._enhanceTextSelection){var p,g,m,b,v,y=1,_=0;0!==u&&(y=Math.cos(u),_=Math.sin(u));var A=(d.vertical?a.height:a.width)*r._viewport.scale;0!==u?(b=[y,_,-_,y,g,m],v=n.Util.getAxialAlignedBoundingBox([0,0,A,h],b)):v=[g,m,g+A,m+h],r._bounds.push({left:v[0],top:v[1],right:v[2],bottom:v[3],div:s,size:[A,h],m:b})}}(this,r[o],a)},_layoutText:function(e){var t=this._container,r=this._textDivProperties.get(e);if(!r.isWhitespace){var n=e.style.fontSize,a=e.style.fontFamily;(n!==this._layoutTextLastFontSize||a!==this._layoutTextLastFontFamily)&&(this._layoutTextCtx.font=n+" "+a,this._lastFontSize=n,this._lastFontFamily=a);var o=this._layoutTextCtx.measureText(e.textContent).width,s="";0!==r.canvasWidth&&o>0&&(r.scale=r.canvasWidth/o,s="scaleX("+r.scale+")"),0!==r.angle&&(s="rotate("+r.angle+"deg) "+s),""!==s&&(r.originalTransform=s,i.CustomStyle.setProp("transform",e,s)),this._textDivProperties.set(e,r),t.appendChild(e)}},_render:function(e){var t=this,i=(0,n.createPromiseCapability)(),a=Object.create(null),o=document.createElement("canvas");if(o.mozOpaque=!0,this._layoutTextCtx=o.getContext("2d",{alpha:!1}),this._textContent){var s=this._textContent.items,c=this._textContent.styles;this._processItems(s,c),i.resolve()}else if(this._textContentStream)this._reader=this._textContentStream.getReader(),function e(){t._reader.read().then(function(r){var o=r.value;if(r.done){i.resolve();return}n.Util.extendObj(a,o.styles),t._processItems(o.items,a),e()},i.reject)}();else throw Error('Neither "textContent" nor "textContentStream" parameters specified.');i.promise.then(function(){a=null,e?t._renderTimer=setTimeout(function(){r(t),t._renderTimer=null},e):r(t)},this._capability.reject)},expandTextDivs:function(e){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(function(e){for(var t,r,i,o,s=e._bounds,c=e._viewport,l=(t=c.width,r=c.height,a(t,i=s.map(function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}})),o=Array(s.length),i.forEach(function(e){o[e.index]={left:e.x1New,top:0,right:e.x2New,bottom:0}}),s.map(function(e,r){var n=o[r],a=i[r];a.x1=e.top,a.y1=t-n.right,a.x2=e.bottom,a.y2=t-n.left,a.index=r,a.x1New=void 0,a.x2New=void 0}),a(r,i),i.forEach(function(e){var t=e.index;o[t].top=e.x1New,o[t].bottom=e.x2New}),o),u=0;u<l.length;u++){var d=s[u].div,h=e._textDivProperties.get(d);if(0===h.angle){h.paddingLeft=s[u].left-l[u].left,h.paddingTop=s[u].top-l[u].top,h.paddingRight=l[u].right-s[u].right,h.paddingBottom=l[u].bottom-s[u].bottom,e._textDivProperties.set(d,h);continue}var f=l[u],p=s[u],g=p.m,m=g[0],b=g[1],v=[[0,0],[0,p.size[1]],[p.size[0],0],p.size],y=new Float64Array(64);v.forEach(function(e,t){var r=n.Util.applyTransform(e,g);y[t+0]=m&&(f.left-r[0])/m,y[t+4]=b&&(f.top-r[1])/b,y[t+8]=m&&(f.right-r[0])/m,y[t+12]=b&&(f.bottom-r[1])/b,y[t+16]=b&&-((f.left-r[0])/b),y[t+20]=m&&(f.top-r[1])/m,y[t+24]=b&&-((f.right-r[0])/b),y[t+28]=m&&(f.bottom-r[1])/m,y[t+32]=m&&-((f.left-r[0])/m),y[t+36]=b&&-((f.top-r[1])/b),y[t+40]=m&&-((f.right-r[0])/m),y[t+44]=b&&-((f.bottom-r[1])/b),y[t+48]=b&&(f.left-r[0])/b,y[t+52]=m&&-((f.top-r[1])/m),y[t+56]=b&&(f.right-r[0])/b,y[t+60]=m&&-((f.bottom-r[1])/m)});var _=function(e,t,r){for(var n=0,i=0;i<r;i++){var a=e[t++];a>0&&(n=n?Math.min(a,n):a)}return n},A=1+Math.min(Math.abs(m),Math.abs(b));h.paddingLeft=_(y,32,16)/A,h.paddingTop=_(y,48,16)/A,h.paddingRight=_(y,0,16)/A,h.paddingBottom=_(y,16,16)/A,e._textDivProperties.set(d,h)}}(this),this._bounds=null);for(var t=0,r=this._textDivs.length;t<r;t++){var o=this._textDivs[t],s=this._textDivProperties.get(o);if(!s.isWhitespace){if(e){var c="",l="";1!==s.scale&&(c="scaleX("+s.scale+")"),0!==s.angle&&(c="rotate("+s.angle+"deg) "+c),0!==s.paddingLeft&&(l+=" padding-left: "+s.paddingLeft/s.scale+"px;",c+=" translateX("+-s.paddingLeft/s.scale+"px)"),0!==s.paddingTop&&(l+=" padding-top: "+s.paddingTop+"px;",c+=" translateY("+-s.paddingTop+"px)"),0!==s.paddingRight&&(l+=" padding-right: "+s.paddingRight/s.scale+"px;"),0!==s.paddingBottom&&(l+=" padding-bottom: "+s.paddingBottom+"px;"),""!==l&&o.setAttribute("style",s.style+l),""!==c&&i.CustomStyle.setProp("transform",o,c)}else o.style.padding=0,i.CustomStyle.setProp("transform",o,s.originalTransform||"")}}}}},function(e){var t=new o({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t}}();t.renderTextLayer=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var i=n(0),a=n(13),o=function(){throw Error("Not implemented: SVGGraphics")},s="normal",c="#000000",l=function(){for(var e=new Uint8Array([137,80,78,71,13,10,26,10]),t=new Int32Array(256),n=0;n<256;n++){for(var a=n,o=0;o<8;o++)a=1&a?0xedb88320^a>>1&0x7fffffff:a>>1&0x7fffffff;t[n]=a}function s(e,r,n,i){var a=i,o=r.length;n[a]=o>>24&255,n[a+1]=o>>16&255,n[a+2]=o>>8&255,n[a+3]=255&o,n[a+=4]=255&e.charCodeAt(0),n[a+1]=255&e.charCodeAt(1),n[a+2]=255&e.charCodeAt(2),n[a+3]=255&e.charCodeAt(3),a+=4,n.set(r,a);var s=function(e,r,n){for(var i=-1,a=r;a<n;a++){var o=t[(i^e[a])&255];i=i>>>8^o}return -1^i}(n,i+4,a+=r.length);n[a]=s>>24&255,n[a+1]=s>>16&255,n[a+2]=s>>8&255,n[a+3]=255&s}function c(e){var t=e.length,r=Math.ceil(t/65535),n=new Uint8Array(2+t+5*r+4),i=0;n[i++]=120,n[i++]=156;for(var a=0;t>65535;)n[i++]=0,n[i++]=255,n[i++]=255,n[i++]=0,n[i++]=0,n.set(e.subarray(a,a+65535),i),i+=65535,a+=65535,t-=65535;n[i++]=1,n[i++]=255&t,n[i++]=t>>8&255,n[i++]=255&~t,n[i++]=(65535&~t)>>8&255,n.set(e.subarray(a),i),i+=e.length-a;var o=function(e,t,r){for(var n=1,i=0,a=0;a<r;++a)i=(i+(n=(n+(255&e[a]))%65521))%65521;return i<<16|n}(e,0,e.length);return n[i++]=o>>24&255,n[i++]=o>>16&255,n[i++]=o>>8&255,n[i++]=255&o,n}return function(t,n){var a=void 0===t.kind?i.ImageKind.GRAYSCALE_1BPP:t.kind;return function(t,n,a){var o,l,u,d,h,f=t.width,p=t.height,g=t.data;switch(n){case i.ImageKind.GRAYSCALE_1BPP:l=0,o=1,u=f+7>>3;break;case i.ImageKind.RGB_24BPP:l=2,o=8,u=3*f;break;case i.ImageKind.RGBA_32BPP:l=6,o=8,u=4*f;break;default:throw Error("invalid format")}var m=new Uint8Array((1+u)*p),b=0,v=0;for(d=0;d<p;++d)m[b++]=0,m.set(g.subarray(v,v+u),b),v+=u,b+=u;if(n===i.ImageKind.GRAYSCALE_1BPP)for(d=0,b=0;d<p;d++)for(b++,h=0;h<u;h++)m[b++]^=255;var y=new Uint8Array([f>>24&255,f>>16&255,f>>8&255,255&f,p>>24&255,p>>16&255,p>>8&255,255&p,o,l,0,0,0]),_=function(e){if(!(0,i.isNodeJS)())return c(e);try{parseInt(process.versions.node)>=8?t=e:t=new Buffer(e);var t,n=r(74075).deflateSync(t,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(e){(0,i.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return c(e)}(m),A=new Uint8Array(e.length+36+y.length+_.length),x=0;return A.set(e,x),s("IHDR",y,A,x+=e.length),s("IDATA",_,A,x+=12+y.length),x+=12+_.length,s("IEND",new Uint8Array(0),A,x),(0,i.createObjectURL)(A,"image/png",a)}(t,a,n)}}(),u=function(){function e(){this.fontSizeScale=1,this.fontWeight=s,this.fontSize=0,this.textMatrix=i.IDENTITY_MATRIX,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=c,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}();t.SVGGraphics=o=function(){function e(e){if(Number.isInteger(e))return e.toString();var t=e.toFixed(10),r=t.length-1;if("0"!==t[r])return t;do r--;while("0"===t[r]);return t.substr(0,"."===t[r]?r:r+1)}function t(t){if(0===t[4]&&0===t[5]){if(0===t[1]&&0===t[2])return 1===t[0]&&1===t[3]?"":"scale("+e(t[0])+" "+e(t[3])+")";if(t[0]===t[3]&&t[1]===-t[2])return"rotate("+e(180*Math.acos(t[0])/Math.PI)+")"}else if(1===t[0]&&0===t[1]&&0===t[2]&&1===t[3])return"translate("+e(t[4])+" "+e(t[5])+")";return"matrix("+e(t[0])+" "+e(t[1])+" "+e(t[2])+" "+e(t[3])+" "+e(t[4])+" "+e(t[5])+")"}function r(e,t,r){this.svgFactory=new a.DOMSVGFactory,this.current=new u,this.transformMatrix=i.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=e,this.objs=t,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!r}var n="http://www.w3.org/1999/xlink",o=["butt","round","square"],d=["miter","round","bevel"],h=0,f=0;return r.prototype={save:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()},restore:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null},group:function(e){this.save(),this.executeOpTree(e),this.restore()},loadDependencies:function(e){for(var t=this,r=e.fnArray,n=r.length,a=e.argsArray,o=0;o<n;o++)if(i.OPS.dependency===r[o])for(var s=a[o],c=0,l=s.length;c<l;c++){var u,d=s[c];u=new Promise("g_"===d.substring(0,2)?function(e){t.commonObjs.get(d,e)}:function(e){t.objs.get(d,e)}),this.current.dependencies.push(u)}return Promise.all(this.current.dependencies)},transform:function(e,t,r,n,a,o){this.transformMatrix=i.Util.transform(this.transformMatrix,[e,t,r,n,a,o]),this.tgrp=null},getSVG:function(e,t){var r=this;this.viewport=t;var n=this._initialize(t);return this.loadDependencies(e).then(function(){r.transformMatrix=i.IDENTITY_MATRIX;var t=r.convertOpList(e);return r.executeOpTree(t),n})},convertOpList:function(e){var t=e.argsArray,r=e.fnArray,n=r.length,a=[],o=[];for(var s in i.OPS)a[i.OPS[s]]=s;for(var c=0;c<n;c++){var l=r[c];o.push({fnId:l,fn:a[l],args:t[c]})}return function(e){for(var t=[],r=[],n=e.length,i=0;i<n;i++){if("save"===e[i].fn){t.push({fnId:92,fn:"group",items:[]}),r.push(t),t=t[t.length-1].items;continue}"restore"===e[i].fn?t=r.pop():t.push(e[i])}return t}(o)},executeOpTree:function(e){for(var t=e.length,r=0;r<t;r++){var n=e[r].fn,a=e[r].fnId,o=e[r].args;switch(0|a){case i.OPS.beginText:this.beginText();break;case i.OPS.setLeading:this.setLeading(o);break;case i.OPS.setLeadingMoveText:this.setLeadingMoveText(o[0],o[1]);break;case i.OPS.setFont:this.setFont(o);break;case i.OPS.showText:case i.OPS.showSpacedText:this.showText(o[0]);break;case i.OPS.endText:this.endText();break;case i.OPS.moveText:this.moveText(o[0],o[1]);break;case i.OPS.setCharSpacing:this.setCharSpacing(o[0]);break;case i.OPS.setWordSpacing:this.setWordSpacing(o[0]);break;case i.OPS.setHScale:this.setHScale(o[0]);break;case i.OPS.setTextMatrix:this.setTextMatrix(o[0],o[1],o[2],o[3],o[4],o[5]);break;case i.OPS.setTextRise:this.setTextRise(o[0]);break;case i.OPS.setLineWidth:this.setLineWidth(o[0]);break;case i.OPS.setLineJoin:this.setLineJoin(o[0]);break;case i.OPS.setLineCap:this.setLineCap(o[0]);break;case i.OPS.setMiterLimit:this.setMiterLimit(o[0]);break;case i.OPS.setFillRGBColor:this.setFillRGBColor(o[0],o[1],o[2]);break;case i.OPS.setStrokeRGBColor:this.setStrokeRGBColor(o[0],o[1],o[2]);break;case i.OPS.setDash:this.setDash(o[0],o[1]);break;case i.OPS.setGState:this.setGState(o[0]);break;case i.OPS.fill:this.fill();break;case i.OPS.eoFill:this.eoFill();break;case i.OPS.stroke:this.stroke();break;case i.OPS.fillStroke:this.fillStroke();break;case i.OPS.eoFillStroke:this.eoFillStroke();break;case i.OPS.clip:this.clip("nonzero");break;case i.OPS.eoClip:this.clip("evenodd");break;case i.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case i.OPS.paintJpegXObject:this.paintJpegXObject(o[0],o[1],o[2]);break;case i.OPS.paintImageXObject:this.paintImageXObject(o[0]);break;case i.OPS.paintInlineImageXObject:this.paintInlineImageXObject(o[0]);break;case i.OPS.paintImageMaskXObject:this.paintImageMaskXObject(o[0]);break;case i.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(o[0],o[1]);break;case i.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case i.OPS.closePath:this.closePath();break;case i.OPS.closeStroke:this.closeStroke();break;case i.OPS.closeFillStroke:this.closeFillStroke();break;case i.OPS.nextLine:this.nextLine();break;case i.OPS.transform:this.transform(o[0],o[1],o[2],o[3],o[4],o[5]);break;case i.OPS.constructPath:this.constructPath(o[0],o[1]);break;case i.OPS.endPath:this.endPath();break;case 92:this.group(e[r].items);break;default:(0,i.warn)("Unimplemented operator "+n)}}},setWordSpacing:function(e){this.current.wordSpacing=e},setCharSpacing:function(e){this.current.charSpacing=e},nextLine:function(){this.moveText(0,this.current.leading)},setTextMatrix:function(t,r,n,i,a,o){var s=this.current;this.current.textMatrix=this.current.lineMatrix=[t,r,n,i,a,o],this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,s.xcoords=[],s.tspan=this.svgFactory.createElement("svg:tspan"),s.tspan.setAttributeNS(null,"font-family",s.fontFamily),s.tspan.setAttributeNS(null,"font-size",e(s.fontSize)+"px"),s.tspan.setAttributeNS(null,"y",e(-s.y)),s.txtElement=this.svgFactory.createElement("svg:text"),s.txtElement.appendChild(s.tspan)},beginText:function(){this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,this.current.textMatrix=i.IDENTITY_MATRIX,this.current.lineMatrix=i.IDENTITY_MATRIX,this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.txtElement=this.svgFactory.createElement("svg:text"),this.current.txtgrp=this.svgFactory.createElement("svg:g"),this.current.xcoords=[]},moveText:function(t,r){var n=this.current;this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=r,n.xcoords=[],n.tspan=this.svgFactory.createElement("svg:tspan"),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size",e(n.fontSize)+"px"),n.tspan.setAttributeNS(null,"y",e(-n.y))},showText:function(r){var n=this.current,a=n.font,o=n.fontSize;if(0!==o){var l,u=n.charSpacing,d=n.wordSpacing,h=n.fontDirection,f=n.textHScale*h,p=r.length,g=a.vertical,m=o*n.fontMatrix[0],b=0;for(l=0;l<p;++l){var v=r[l];if(null===v){b+=h*d;continue}if((0,i.isNum)(v)){b+=-v*o*.001;continue}var y=v.width,_=v.fontChar,A=y*m+((v.isSpace?d:0)+u)*h;if(!v.isInFont&&!a.missingFile){b+=A;continue}n.xcoords.push(n.x+b*f),n.tspan.textContent+=_,b+=A}g?n.y-=b*f:n.x+=b*f,n.tspan.setAttributeNS(null,"x",n.xcoords.map(e).join(" ")),n.tspan.setAttributeNS(null,"y",e(-n.y)),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size",e(n.fontSize)+"px"),"normal"!==n.fontStyle&&n.tspan.setAttributeNS(null,"font-style",n.fontStyle),n.fontWeight!==s&&n.tspan.setAttributeNS(null,"font-weight",n.fontWeight),n.fillColor!==c&&n.tspan.setAttributeNS(null,"fill",n.fillColor);var x=n.textMatrix;0!==n.textRise&&(x=x.slice(),x[5]+=n.textRise),n.txtElement.setAttributeNS(null,"transform",t(x)+" scale(1, -1)"),n.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.txtElement.appendChild(n.tspan),n.txtgrp.appendChild(n.txtElement),this._ensureTransformGroup().appendChild(n.txtElement)}},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},addFontStyle:function(e){this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var t=(0,i.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'+e.loadedName+'"; src: url('+t+"); }\n"},setFont:function(t){var r=this.current,n=this.commonObjs.get(t[0]),a=t[1];this.current.font=n,this.embedFonts&&n.data&&!this.embeddedFonts[n.loadedName]&&(this.addFontStyle(n),this.embeddedFonts[n.loadedName]=n),r.fontMatrix=n.fontMatrix?n.fontMatrix:i.FONT_IDENTITY_MATRIX;var o=n.black?n.bold?"bolder":"bold":n.bold?"bold":"normal",s=n.italic?"italic":"normal";a<0?(a=-a,r.fontDirection=-1):r.fontDirection=1,r.fontSize=a,r.fontFamily=n.loadedName,r.fontWeight=o,r.fontStyle=s,r.tspan=this.svgFactory.createElement("svg:tspan"),r.tspan.setAttributeNS(null,"y",e(-r.y)),r.xcoords=[]},endText:function(){},setLineWidth:function(e){this.current.lineWidth=e},setLineCap:function(e){this.current.lineCap=o[e]},setLineJoin:function(e){this.current.lineJoin=d[e]},setMiterLimit:function(e){this.current.miterLimit=e},setStrokeAlpha:function(e){this.current.strokeAlpha=e},setStrokeRGBColor:function(e,t,r){var n=i.Util.makeCssRgb(e,t,r);this.current.strokeColor=n},setFillAlpha:function(e){this.current.fillAlpha=e},setFillRGBColor:function(e,t,r){var n=i.Util.makeCssRgb(e,t,r);this.current.fillColor=n,this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[]},setDash:function(e,t){this.current.dashArray=e,this.current.dashPhase=t},constructPath:function(t,r){var n=this.current,a=n.x,o=n.y;n.path=this.svgFactory.createElement("svg:path");for(var s=[],c=t.length,l=0,u=0;l<c;l++)switch(0|t[l]){case i.OPS.rectangle:a=r[u++],o=r[u++];var d=r[u++],h=r[u++],f=a+d,p=o+h;s.push("M",e(a),e(o),"L",e(f),e(o),"L",e(f),e(p),"L",e(a),e(p),"Z");break;case i.OPS.moveTo:a=r[u++],o=r[u++],s.push("M",e(a),e(o));break;case i.OPS.lineTo:a=r[u++],o=r[u++],s.push("L",e(a),e(o));break;case i.OPS.curveTo:a=r[u+4],o=r[u+5],s.push("C",e(r[u]),e(r[u+1]),e(r[u+2]),e(r[u+3]),e(a),e(o)),u+=6;break;case i.OPS.curveTo2:a=r[u+2],o=r[u+3],s.push("C",e(a),e(o),e(r[u]),e(r[u+1]),e(r[u+2]),e(r[u+3])),u+=4;break;case i.OPS.curveTo3:a=r[u+2],o=r[u+3],s.push("C",e(r[u]),e(r[u+1]),e(a),e(o),e(a),e(o)),u+=4;break;case i.OPS.closePath:s.push("Z")}n.path.setAttributeNS(null,"d",s.join(" ")),n.path.setAttributeNS(null,"fill","none"),this._ensureTransformGroup().appendChild(n.path),n.element=n.path,n.setCurrentPoint(a,o)},endPath:function(){if(this.pendingClip){var e=this.current,r="clippath"+h;h++;var n=this.svgFactory.createElement("svg:clipPath");n.setAttributeNS(null,"id",r),n.setAttributeNS(null,"transform",t(this.transformMatrix));var i=e.element.cloneNode();"evenodd"===this.pendingClip?i.setAttributeNS(null,"clip-rule","evenodd"):i.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,n.appendChild(i),this.defs.appendChild(n),e.activeClipUrl&&(e.clipGroup=null,this.extraStack.forEach(function(e){e.clipGroup=null})),e.activeClipUrl="url(#"+r+")",this.tgrp=null}},clip:function(e){this.pendingClip=e},closePath:function(){var e=this.current,t=e.path.getAttributeNS(null,"d");t+="Z",e.path.setAttributeNS(null,"d",t)},setLeading:function(e){this.current.leading=-e},setTextRise:function(e){this.current.textRise=e},setHScale:function(e){this.current.textHScale=e/100},setGState:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],a=n[0],o=n[1];switch(a){case"LW":this.setLineWidth(o);break;case"LC":this.setLineCap(o);break;case"LJ":this.setLineJoin(o);break;case"ML":this.setMiterLimit(o);break;case"D":this.setDash(o[0],o[1]);break;case"Font":this.setFont(o);break;case"CA":this.setStrokeAlpha(o);break;case"ca":this.setFillAlpha(o);break;default:(0,i.warn)("Unimplemented graphic state "+a)}}},fill:function(){var e=this.current;e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha)},stroke:function(){var t=this.current;t.element.setAttributeNS(null,"stroke",t.strokeColor),t.element.setAttributeNS(null,"stroke-opacity",t.strokeAlpha),t.element.setAttributeNS(null,"stroke-miterlimit",e(t.miterLimit)),t.element.setAttributeNS(null,"stroke-linecap",t.lineCap),t.element.setAttributeNS(null,"stroke-linejoin",t.lineJoin),t.element.setAttributeNS(null,"stroke-width",e(t.lineWidth)+"px"),t.element.setAttributeNS(null,"stroke-dasharray",t.dashArray.map(e).join(" ")),t.element.setAttributeNS(null,"stroke-dashoffset",e(t.dashPhase)+"px"),t.element.setAttributeNS(null,"fill","none")},eoFill:function(){this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()},fillStroke:function(){this.stroke(),this.fill()},eoFillStroke:function(){this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()},closeStroke:function(){this.closePath(),this.stroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},paintSolidColorImageMask:function(){var e=this.current,t=this.svgFactory.createElement("svg:rect");t.setAttributeNS(null,"x","0"),t.setAttributeNS(null,"y","0"),t.setAttributeNS(null,"width","1px"),t.setAttributeNS(null,"height","1px"),t.setAttributeNS(null,"fill",e.fillColor),this._ensureTransformGroup().appendChild(t)},paintJpegXObject:function(t,r,i){var a=this.objs.get(t),o=this.svgFactory.createElement("svg:image");o.setAttributeNS(n,"xlink:href",a.src),o.setAttributeNS(null,"width",e(r)),o.setAttributeNS(null,"height",e(i)),o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y",e(-i)),o.setAttributeNS(null,"transform","scale("+e(1/r)+" "+e(-1/i)+")"),this._ensureTransformGroup().appendChild(o)},paintImageXObject:function(e){var t=this.objs.get(e);if(!t){(0,i.warn)("Dependent image isn't ready yet");return}this.paintInlineImageXObject(t)},paintInlineImageXObject:function(t,r){var i=t.width,a=t.height,o=l(t,this.forceDataSchema),s=this.svgFactory.createElement("svg:rect");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",e(i)),s.setAttributeNS(null,"height",e(a)),this.current.element=s,this.clip("nonzero");var c=this.svgFactory.createElement("svg:image");c.setAttributeNS(n,"xlink:href",o),c.setAttributeNS(null,"x","0"),c.setAttributeNS(null,"y",e(-a)),c.setAttributeNS(null,"width",e(i)+"px"),c.setAttributeNS(null,"height",e(a)+"px"),c.setAttributeNS(null,"transform","scale("+e(1/i)+" "+e(-1/a)+")"),r?r.appendChild(c):this._ensureTransformGroup().appendChild(c)},paintImageMaskXObject:function(t){var r=this.current,n=t.width,i=t.height,a=r.fillColor;r.maskId="mask"+f++;var o=this.svgFactory.createElement("svg:mask");o.setAttributeNS(null,"id",r.maskId);var s=this.svgFactory.createElement("svg:rect");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",e(n)),s.setAttributeNS(null,"height",e(i)),s.setAttributeNS(null,"fill",a),s.setAttributeNS(null,"mask","url(#"+r.maskId+")"),this.defs.appendChild(o),this._ensureTransformGroup().appendChild(s),this.paintInlineImageXObject(t,o)},paintFormXObjectBegin:function(t,r){if(Array.isArray(t)&&6===t.length&&this.transform(t[0],t[1],t[2],t[3],t[4],t[5]),Array.isArray(r)&&4===r.length){var n=r[2]-r[0],i=r[3]-r[1],a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x",r[0]),a.setAttributeNS(null,"y",r[1]),a.setAttributeNS(null,"width",e(n)),a.setAttributeNS(null,"height",e(i)),this.current.element=a,this.clip("nonzero"),this.endPath()}},paintFormXObjectEnd:function(){},_initialize:function(e){var r=this.svgFactory.create(e.width,e.height),n=this.svgFactory.createElement("svg:defs");r.appendChild(n),this.defs=n;var i=this.svgFactory.createElement("svg:g");return i.setAttributeNS(null,"transform",t(e.transform)),r.appendChild(i),this.svg=i,r},_ensureClipGroup:function(){if(!this.current.clipGroup){var e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup},_ensureTransformGroup:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",t(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}},r}(),t.SVGGraphics=o},function(e,t,r){"use strict";var n=r(0),i=r(117),a=r(69),o=r(73),s=r(72),c=r(13),l=r(74);if(n.isNodeJS()){var u=r(122).PDFNodeStream;a.setPDFNetworkStreamClass(u)}else if("undefined"!=typeof Response&&"body"in Response.prototype&&"undefined"!=typeof ReadableStream){var d=r(123).PDFFetchStream;a.setPDFNetworkStreamClass(d)}else{var h=r(124).PDFNetworkStream;a.setPDFNetworkStreamClass(h)}t.PDFJS=i.PDFJS,t.build=a.build,t.version=a.version,t.getDocument=a.getDocument,t.LoopbackPort=a.LoopbackPort,t.PDFDataRangeTransport=a.PDFDataRangeTransport,t.PDFWorker=a.PDFWorker,t.renderTextLayer=o.renderTextLayer,t.AnnotationLayer=s.AnnotationLayer,t.CustomStyle=c.CustomStyle,t.createPromiseCapability=n.createPromiseCapability,t.PasswordResponses=n.PasswordResponses,t.InvalidPDFException=n.InvalidPDFException,t.MissingPDFException=n.MissingPDFException,t.SVGGraphics=l.SVGGraphics,t.NativeImageDecoding=n.NativeImageDecoding,t.UnexpectedResponseException=n.UnexpectedResponseException,t.OPS=n.OPS,t.UNSUPPORTED_FEATURES=n.UNSUPPORTED_FEATURES,t.isValidUrl=c.isValidUrl,t.createValidAbsoluteUrl=n.createValidAbsoluteUrl,t.createObjectURL=n.createObjectURL,t.removeNullCharacters=n.removeNullCharacters,t.shadow=n.shadow,t.createBlob=n.createBlob,t.RenderingCancelledException=c.RenderingCancelledException,t.getFilenameFromUrl=c.getFilenameFromUrl,t.addLinkAttributes=c.addLinkAttributes,t.StatTimer=n.StatTimer},function(e,t,r){"use strict";var n="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};if("undefined"==typeof PDFJS||!PDFJS.compatibilityChecked){var i=r(20),a="undefined"!=typeof navigator&&navigator.userAgent||"",o=/Android/.test(a),s=/Android\s[0-2][^\d]/.test(a),c=/Android\s[0-4][^\d]/.test(a),l=a.indexOf("Chrom")>=0,u=/Chrome\/(39|40)\./.test(a),d=a.indexOf("CriOS")>=0,h=a.indexOf("Trident")>=0,f=/\b(iPad|iPhone|iPod)(?=;)/.test(a),p=a.indexOf("Opera")>=0,g=/Safari\//.test(a)&&!/(Chrome\/|Android\s)/.test(a),m=("undefined"==typeof window?"undefined":n(window))==="object"&&("undefined"==typeof document?"undefined":n(document))==="object";"undefined"==typeof PDFJS&&(i.PDFJS={}),PDFJS.compatibilityChecked=!0,function(){if("undefined"==typeof Uint8ClampedArray&&(i.Uint8ClampedArray=r(77)),"undefined"!=typeof Uint8Array){void 0===Uint8Array.prototype.subarray&&(Uint8Array.prototype.subarray=function(e,t){return new Uint8Array(this.slice(e,t))},Float32Array.prototype.subarray=function(e,t){return new Float32Array(this.slice(e,t))}),"undefined"==typeof Float64Array&&(i.Float64Array=Float32Array);return}function e(e,t){return new s(this.slice(e,t))}function t(e,t){arguments.length<2&&(t=0);for(var r=0,n=e.length;r<n;++r,++t)this[t]=255&e[r]}function a(e,t){this.buffer=e,this.byteLength=e.length,this.length=t,function(e){for(;o<e;)Object.defineProperty(a.prototype,o,function(e){return{get:function(){var t=this.buffer,r=e<<2;return(t[r]|t[r+1]<<8|t[r+2]<<16|t[r+3]<<24)>>>0},set:function(t){var r=this.buffer,n=e<<2;r[n]=255&t,r[n+1]=t>>8&255,r[n+2]=t>>16&255,r[n+3]=t>>>24&255}}}(o)),o++}(this.length)}a.prototype=Object.create(null);var o=0;function s(r){var i,a,o;if("number"==typeof r)for(a=0,i=[];a<r;++a)i[a]=0;else if("slice"in r)i=r.slice(0);else for(a=0,i=[],o=r.length;a<o;++a)i[a]=r[a];return i.subarray=e,i.buffer=i,i.byteLength=i.length,i.set=t,(void 0===r?"undefined":n(r))==="object"&&r.buffer&&(i.buffer=r.buffer),i}i.Uint8Array=s,i.Int8Array=s,i.Int32Array=s,i.Uint16Array=s,i.Float32Array=s,i.Float64Array=s,i.Uint32Array=function(){if(3==arguments.length){if(0!==arguments[1])throw Error("offset !== 0 is not supported");return new a(arguments[0],arguments[2])}return s.apply(this,arguments)}}(),function(){if(m&&window.CanvasPixelArray){var e=window.CanvasPixelArray.prototype;"buffer"in e||(Object.defineProperty(e,"buffer",{get:function(){return this},enumerable:!1,configurable:!0}),Object.defineProperty(e,"byteLength",{get:function(){return this.length},enumerable:!1,configurable:!0}))}}(),i.URL||(i.URL=i.webkitURL),function(){if(void 0!==Object.defineProperty){var e=!0;try{m&&Object.defineProperty(new Image,"id",{value:"test"});var t=function(){};t.prototype={get id(){}},Object.defineProperty(new t,"id",{value:"",configurable:!0,enumerable:!0,writable:!1})}catch(t){e=!1}if(e)return}Object.defineProperty=function(e,t,r){delete e[t],"get"in r&&e.__defineGetter__(t,r.get),"set"in r&&e.__defineSetter__(t,r.set),"value"in r&&(e.__defineSetter__(t,function(e){return this.__defineGetter__(t,function(){return e}),e}),e[t]=r.value)}}(),function(){if("undefined"!=typeof XMLHttpRequest){var e=XMLHttpRequest.prototype,t=new XMLHttpRequest;if("overrideMimeType"in t||Object.defineProperty(e,"overrideMimeType",{value:function(e){}}),!("responseType"in t)){if(Object.defineProperty(e,"responseType",{get:function(){return this._responseType||"text"},set:function(e){("text"===e||"arraybuffer"===e)&&(this._responseType=e,"arraybuffer"===e&&"function"==typeof this.overrideMimeType&&this.overrideMimeType("text/plain; charset=x-user-defined"))}}),"undefined"!=typeof VBArray){Object.defineProperty(e,"response",{get:function(){return"arraybuffer"===this.responseType?new Uint8Array(new VBArray(this.responseBody).toArray()):this.responseText}});return}Object.defineProperty(e,"response",{get:function(){if("arraybuffer"!==this.responseType)return this.responseText;var e,t=this.responseText,r=t.length,n=new Uint8Array(r);for(e=0;e<r;++e)n[e]=255&t.charCodeAt(e);return n.buffer}})}}}(),function(){if(!("btoa"in i)){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.btoa=function(t){var r,n,i="";for(r=0,n=t.length;r<n;r+=3){var a=255&t.charCodeAt(r),o=255&t.charCodeAt(r+1),s=255&t.charCodeAt(r+2),c=a>>2,l=(3&a)<<4|o>>4,u=r+1<n?(15&o)<<2|s>>6:64,d=r+2<n?63&s:64;i+=e.charAt(c)+e.charAt(l)+e.charAt(u)+e.charAt(d)}return i}}}(),"atob"in i||(i.atob=function(e){if((e=e.replace(/=+$/,"")).length%4==1)throw Error("bad atob input");for(var t,r,n=0,i=0,a="";r=e.charAt(i++);~r&&(t=n%4?64*t+r:r,n++%4)&&(a+=String.fromCharCode(255&t>>(-2*n&6))))r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return a}),void 0===Function.prototype.bind&&(Function.prototype.bind=function(e){var t=this,r=Array.prototype.slice.call(arguments,1);return function(){var n=r.concat(Array.prototype.slice.call(arguments));return t.apply(e,n)}}),!m||"dataset"in document.createElement("div")||Object.defineProperty(HTMLElement.prototype,"dataset",{get:function(){if(this._dataset)return this._dataset;for(var e={},t=0,r=this.attributes.length;t<r;t++){var n=this.attributes[t];"data-"===n.name.substring(0,5)&&(e[n.name.substring(5).replace(/\-([a-z])/g,function(e,t){return t.toUpperCase()})]=n.value)}return Object.defineProperty(this,"_dataset",{value:e,writable:!1,enumerable:!1}),e},enumerable:!0}),function(){function e(e,t,r,n){var i=(e.className||"").split(/\s+/g);""===i[0]&&i.shift();var a=i.indexOf(t);return a<0&&r&&i.push(t),a>=0&&n&&i.splice(a,1),e.className=i.join(" "),a>=0}if(!(!m||"classList"in document.createElement("div"))){var t={add:function(t){e(this.element,t,!0,!1)},contains:function(t){return e(this.element,t,!1,!1)},remove:function(t){e(this.element,t,!1,!0)},toggle:function(t){e(this.element,t,!0,!0)}};Object.defineProperty(HTMLElement.prototype,"classList",{get:function(){if(this._classList)return this._classList;var e=Object.create(t,{element:{value:this,writable:!1,enumerable:!0}});return Object.defineProperty(this,"_classList",{value:e,writable:!1,enumerable:!1}),e},enumerable:!0})}}(),function(){if("undefined"!=typeof importScripts&&!("console"in i)){var e={};i.console={log:function(){var e=Array.prototype.slice.call(arguments);i.postMessage({targetName:"main",action:"console_log",data:e})},error:function(){var e=Array.prototype.slice.call(arguments);i.postMessage({targetName:"main",action:"console_error",data:e})},time:function(t){e[t]=Date.now()},timeEnd:function(t){var r=e[t];if(!r)throw Error("Unknown timer name "+t);this.log("Timer:",t,Date.now()-r)}}}}(),function(){if(m){if(!("console"in window)){window.console={log:function(){},error:function(){},warn:function(){}};return}if(!("bind"in console.log)){var e,t,r;console.log=(e=console.log,function(t){return e(t)}),console.error=(t=console.error,function(e){return t(e)}),console.warn=(r=console.warn,function(e){return r(e)})}}}(),p&&document.addEventListener("click",function(e){(function e(t){return t.disabled||t.parentNode&&e(t.parentNode)})(e.target)&&e.stopPropagation()},!0),(h||d)&&(PDFJS.disableCreateObjectURL=!0),"undefined"==typeof navigator||"language"in navigator||(PDFJS.locale=navigator.userLanguage||"en-US"),(g||s||u||f)&&(PDFJS.disableRange=!0,PDFJS.disableStream=!0),m&&(!history.pushState||s)&&(PDFJS.disableHistory=!0),function(){if(m){if(window.CanvasPixelArray)"function"!=typeof window.CanvasPixelArray.prototype.set&&(window.CanvasPixelArray.prototype.set=function(e){for(var t=0,r=this.length;t<r;t++)this[t]=e[t]});else{var e,t=!1;if(l?t=(e=a.match(/Chrom(e|ium)\/([0-9]+)\./))&&21>parseInt(e[2]):o?t=c:g&&(t=(e=a.match(/Version\/([0-9]+)\.([0-9]+)\.([0-9]+) Safari\//))&&6>parseInt(e[1])),t){var r=window.CanvasRenderingContext2D.prototype,n=r.createImageData;r.createImageData=function(e,t){var r=n.call(this,e,t);return r.data.set=function(e){for(var t=0,r=this.length;t<r;t++)this[t]=e[t]},r},r=null}}}}(),function(){function e(){window.requestAnimationFrame=function(e){return window.setTimeout(e,20)},window.cancelAnimationFrame=function(e){window.clearTimeout(e)}}if(m){if(f){e();return}!("requestAnimationFrame"in window)&&(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame,window.requestAnimationFrame||e())}}(),(f||o)&&(PDFJS.maxCanvasPixels=5242880),m&&h&&window.parent!==window&&(PDFJS.disableFullscreen=!0),!m||"currentScript"in document||Object.defineProperty(document,"currentScript",{get:function(){var e=document.getElementsByTagName("script");return e[e.length-1]},enumerable:!0,configurable:!0}),function(){if(m){var e=document.createElement("input");try{e.type="number"}catch(n){var t=e.constructor.prototype,r=Object.getOwnPropertyDescriptor(t,"type");Object.defineProperty(t,"type",{get:function(){return r.get.call(this)},set:function(e){r.set.call(this,"number"===e?"text":e)},enumerable:!0,configurable:!0})}}}(),function(){if(m&&document.attachEvent){var e=document.constructor.prototype,t=Object.getOwnPropertyDescriptor(e,"readyState");Object.defineProperty(e,"readyState",{get:function(){var e=t.get.call(this);return"interactive"===e?"loading":e},set:function(e){t.set.call(this,e)},enumerable:!0,configurable:!0})}}(),m&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),Number.isNaN||(Number.isNaN=r(89)),Number.isInteger||(Number.isInteger=r(91)),i.Promise||(i.Promise=r(94)),i.WeakMap||(i.WeakMap=r(103)),function(){var e=!1;try{if("function"==typeof URL&&"object"===n(URL.prototype)&&"origin"in URL.prototype){var t=new URL("b","http://a");t.pathname="c%20d",e="http://a/c%20d"===t.href}}catch(e){}if(!e){var r=Object.create(null);r.ftp=21,r.file=0,r.gopher=70,r.http=80,r.https=443,r.ws=80,r.wss=443;var a=Object.create(null);a["%2e"]=".",a[".%2e"]="..",a["%2e."]="..",a["%2e%2e"]="..";var o,s=/[a-zA-Z]/,c=/[a-zA-Z0-9\+\-\.]/;v.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var l="";return(""!==this._username||null!==this._password)&&(l=this._username+(null!==this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+l+this.host:"")+this.pathname+this._query+this._fragment},set href(value){b.call(this),m.call(this,value)},get protocol(){return this._scheme+":"},set protocol(value){if(this._isInvalid)return;m.call(this,value+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"host")},get hostname(){return this._host},set hostname(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"hostname")},get port(){return this._port},set port(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(value){if(this._isInvalid||!this._isRelative)return;this._path=[],m.call(this,value,"relative path start")},get search(){return this._isInvalid||!this._query||"?"===this._query?"":this._query},set search(value){if(this._isInvalid||!this._isRelative)return;this._query="?","?"===value[0]&&(value=value.slice(1)),m.call(this,value,"query")},get hash(){return this._isInvalid||!this._fragment||"#"===this._fragment?"":this._fragment},set hash(value){if(this._isInvalid)return;this._fragment="#","#"===value[0]&&(value=value.slice(1)),m.call(this,value,"fragment")},get origin(){var u;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null";case"blob":try{return new v(this._schemeData).origin||"null"}catch(e){}return"null"}if(!(u=this.host))return"";return this._scheme+"://"+u}};var d=i.URL;d&&(v.createObjectURL=function(e){return d.createObjectURL.apply(d,arguments)},v.revokeObjectURL=function(e){d.revokeObjectURL(e)}),i.URL=v}function h(e){return void 0!==r[e]}function f(){b.call(this),this._isInvalid=!0}function p(e){return""===e&&f.call(this),e.toLowerCase()}function g(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function m(e,t,n){function i(e){v.push(e)}var l=t||"scheme start",u=0,d="",m=!1,b=!1,v=[];i:for(;(e[u-1]!==o||0===u)&&!this._isInvalid;){var y,_=e[u];switch(l){case"scheme start":if(_&&s.test(_))d+=_.toLowerCase(),l="scheme";else if(t){i("Invalid scheme.");break i}else{d="",l="no scheme";continue}break;case"scheme":if(_&&c.test(_))d+=_.toLowerCase();else if(":"===_){if(this._scheme=d,d="",t)break i;h(this._scheme)&&(this._isRelative=!0),l="file"===this._scheme?"relative":this._isRelative&&n&&n._scheme===this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}else if(t){if(_===o)break i;i("Code point not allowed in scheme: "+_);break i}else{d="",u=0,l="no scheme";continue}break;case"scheme data":"?"===_?(this._query="?",l="query"):"#"===_?(this._fragment="#",l="fragment"):_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._schemeData+=g(_));break;case"no scheme":if(n&&h(n._scheme)){l="relative";continue}i("Missing scheme."),f.call(this);break;case"relative or authority":if("/"===_&&"/"===e[u+1])l="authority ignore slashes";else{i("Expected /, got: "+_),l="relative";continue}break;case"relative":if(this._isRelative=!0,"file"!==this._scheme&&(this._scheme=n._scheme),_===o){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break i}if("/"===_||"\\"===_)"\\"===_&&i("\\ is an invalid code point."),l="relative slash";else if("?"===_)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,l="query";else if("#"===_)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,l="fragment";else{var A=e[u+1],x=e[u+2];"file"===this._scheme&&s.test(_)&&(":"===A||"|"===A)&&(x===o||"/"===x||"\\"===x||"?"===x||"#"===x)||(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),l="relative path";continue}break;case"relative slash":if("/"===_||"\\"===_)"\\"===_&&i("\\ is an invalid code point."),l="file"===this._scheme?"file host":"authority ignore slashes";else{"file"!==this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),l="relative path";continue}break;case"authority first slash":if("/"===_)l="authority second slash";else{i("Expected '/', got: "+_),l="authority ignore slashes";continue}break;case"authority second slash":if(l="authority ignore slashes","/"!==_){i("Expected '/', got: "+_);continue}break;case"authority ignore slashes":if("/"!==_&&"\\"!==_){l="authority";continue}i("Expected authority, got: "+_);break;case"authority":if("@"===_){m&&(i("@ already seen."),d+="%40"),m=!0;for(var S=0;S<d.length;S++){var w=d[S];if(" "===w||"\n"===w||"\r"===w){i("Invalid whitespace in authority.");continue}if(":"===w&&null===this._password){this._password="";continue}var T=g(w);null!==this._password?this._password+=T:this._username+=T}d=""}else if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){u-=d.length,d="",l="host";continue}else d+=_;break;case"file host":if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){2===d.length&&s.test(d[0])&&(":"===d[1]||"|"===d[1])?l="relative path":(0===d.length||(this._host=p.call(this,d),d=""),l="relative path start");continue}" "===_||"\n"===_||"\r"===_?i("Invalid whitespace in file host."):d+=_;break;case"host":case"hostname":if(":"!==_||b){if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){if(this._host=p.call(this,d),d="",l="relative path start",t)break i;continue}" "!==_&&"\n"!==_&&"\r"!==_?("["===_?b=!0:"]"===_&&(b=!1),d+=_):i("Invalid code point in host/hostname: "+_)}else if(this._host=p.call(this,d),d="",l="port","hostname"===t)break i;break;case"port":if(/[0-9]/.test(_))d+=_;else if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_||t){if(""!==d){var D=parseInt(d,10);D!==r[this._scheme]&&(this._port=D+""),d=""}if(t)break i;l="relative path start";continue}else" "===_||"\n"===_||"\r"===_?i("Invalid code point in port: "+_):f.call(this);break;case"relative path start":if("\\"===_&&i("'\\' not allowed in path."),l="relative path","/"!==_&&"\\"!==_)continue;break;case"relative path":_!==o&&"/"!==_&&"\\"!==_&&(t||"?"!==_&&"#"!==_)?" "!==_&&"\n"!==_&&"\r"!==_&&(d+=g(_)):("\\"===_&&i("\\ not allowed in relative path."),(y=a[d.toLowerCase()])&&(d=y),".."===d?(this._path.pop(),"/"!==_&&"\\"!==_&&this._path.push("")):"."===d&&"/"!==_&&"\\"!==_?this._path.push(""):"."!==d&&("file"===this._scheme&&0===this._path.length&&2===d.length&&s.test(d[0])&&"|"===d[1]&&(d=d[0]+":"),this._path.push(d)),d="","?"===_?(this._query="?",l="query"):"#"===_&&(this._fragment="#",l="fragment"));break;case"query":t||"#"!==_?_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._query+=function(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}(_)):(this._fragment="#",l="fragment");break;case"fragment":_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._fragment+=_)}u++}}function b(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function v(e,t){void 0===t||t instanceof v||(t=new v(String(t))),this._url=e,b.call(this);var r=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");m.call(this,r,null,t)}}()}},function(e,t,r){"use strict";r(78),e.exports=r(5).Uint8ClampedArray},function(e,t,r){"use strict";r(79)("Uint8",1,function(e){return function(t,r,n){return e(this,t,r,n)}},!0)},function(e,t,r){"use strict";var n="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};if(r(9)){var i=r(26),a=r(1),o=r(10),s=r(4),c=r(46),l=r(80),u=r(11),d=r(23),h=r(27),f=r(6),p=r(22),g=r(17),m=r(12),b=r(47),v=r(29),y=r(33),_=r(8),A=r(30),x=r(2),S=r(18),w=r(53),T=r(54),D=r(56),C=r(48).f,k=r(57),E=r(16),P=r(3),R=r(39),F=r(50),U=r(40),O=r(58),I=r(19),L=r(41),N=r(60),j=r(52),M=r(88),W=r(14),q=r(61),B=W.f,z=q.f,H=a.RangeError,G=a.TypeError,X=a.Uint8Array,V="ArrayBuffer",Y="Shared"+V,Q="BYTES_PER_ELEMENT",J="prototype",K=Array[J],Z=l.ArrayBuffer,$=l.DataView,ee=R(0),et=R(2),er=R(3),en=R(4),ei=R(5),ea=R(6),eo=F(!0),es=F(!1),ec=O.values,el=O.keys,eu=O.entries,ed=K.lastIndexOf,eh=K.reduce,ef=K.reduceRight,ep=K.join,eg=K.sort,em=K.slice,eb=K.toString,ev=K.toLocaleString,ey=P("iterator"),e_=P("toStringTag"),eA=E("typed_constructor"),ex=E("def_constructor"),eS=c.CONSTR,ew=c.TYPED,eT=c.VIEW,eD="Wrong length!",eC=R(1,function(e,t){return eF(U(e,e[ex]),t)}),ek=o(function(){return 1===new X(new Uint16Array([1]).buffer)[0]}),eE=!!X&&!!X[J].set&&o(function(){new X(1).set({})}),eP=function(e,t){var r=g(e);if(r<0||r%t)throw H("Wrong offset!");return r},eR=function(e){if(x(e)&&ew in e)return e;throw G(e+" is not a typed array!")},eF=function(e,t){if(!(x(e)&&eA in e))throw G("It is not a typed array constructor!");return new e(t)},eU=function(e,t){return eO(U(e,e[ex]),t)},eO=function(e,t){for(var r=0,n=t.length,i=eF(e,n);n>r;)i[r]=t[r++];return i},eI=function(e,t,r){B(e,t,{get:function(){return this._d[r]}})},eL=function(e){var t,r,n,i,a,o,s=S(e),c=arguments.length,l=c>1?arguments[1]:void 0,d=void 0!==l,h=k(s);if(void 0!=h&&!w(h)){for(o=h.call(s),n=[],t=0;!(a=o.next()).done;t++)n.push(a.value);s=n}for(d&&c>2&&(l=u(l,arguments[2],2)),t=0,i=eF(this,r=m(s.length));r>t;t++)i[t]=d?l(s[t],t):s[t];return i},eN=function(){for(var e=0,t=arguments.length,r=eF(this,t);t>e;)r[e]=arguments[e++];return r},ej=!!X&&o(function(){ev.call(new X(1))}),eM=function(){return ev.apply(ej?em.call(eR(this)):eR(this),arguments)},eW={copyWithin:function(e,t){return M.call(eR(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return en(eR(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return j.apply(eR(this),arguments)},filter:function(e){return eU(this,et(eR(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return ei(eR(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ea(eR(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){ee(eR(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return es(eR(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return eo(eR(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ep.apply(eR(this),arguments)},lastIndexOf:function(e){return ed.apply(eR(this),arguments)},map:function(e){return eC(eR(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return eh.apply(eR(this),arguments)},reduceRight:function(e){return ef.apply(eR(this),arguments)},reverse:function(){for(var e,t=eR(this).length,r=Math.floor(t/2),n=0;n<r;)e=this[n],this[n++]=this[--t],this[t]=e;return this},some:function(e){return er(eR(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return eg.call(eR(this),e)},subarray:function(e,t){var r=eR(this),n=r.length,i=v(e,n);return new(U(r,r[ex]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,m((void 0===t?n:v(t,n))-i))}},eq=function(e,t){return eU(this,em.call(eR(this),e,t))},eB=function(e){eR(this);var t=eP(arguments[1],1),r=this.length,n=S(e),i=m(n.length),a=0;if(i+t>r)throw H(eD);for(;a<i;)this[t+a]=n[a++]},ez={entries:function(){return eu.call(eR(this))},keys:function(){return el.call(eR(this))},values:function(){return ec.call(eR(this))}},eH=function(e,t){return x(e)&&e[ew]&&(void 0===t?"undefined":n(t))!="symbol"&&t in e&&String(+t)==String(t)},eG=function(e,t){return eH(e,t=y(t,!0))?h(2,e[t]):z(e,t)},eX=function(e,t,r){return eH(e,t=y(t,!0))&&x(r)&&_(r,"value")&&!_(r,"get")&&!_(r,"set")&&!r.configurable&&(!_(r,"writable")||r.writable)&&(!_(r,"enumerable")||r.enumerable)?(e[t]=r.value,e):B(e,t,r)};eS||(q.f=eG,W.f=eX),s(s.S+!eS*s.F,"Object",{getOwnPropertyDescriptor:eG,defineProperty:eX}),o(function(){eb.call({})})&&(eb=ev=function(){return ep.call(this)});var eV=p({},eW);p(eV,ez),f(eV,ey,ez.values),p(eV,{slice:eq,set:eB,constructor:function(){},toString:eb,toLocaleString:eM}),eI(eV,"buffer","b"),eI(eV,"byteOffset","o"),eI(eV,"byteLength","l"),eI(eV,"length","e"),B(eV,e_,{get:function(){return this[ew]}}),e.exports=function(e,t,r,n){var l=e+((n=!!n)?"Clamped":"")+"Array",u="get"+e,h="set"+e,p=a[l],g=p||{},v=p&&D(p),y=!p||!c.ABV,_={},S=p&&p[J],w=function(e,r){var n=e._d;return n.v[u](r*t+n.o,ek)},k=function(e,r,i){var a=e._d;n&&(i=(i=Math.round(i))<0?0:i>255?255:255&i),a.v[h](r*t+a.o,i,ek)},E=function(e,t){B(e,t,{get:function(){return w(this,t)},set:function(e){return k(this,t,e)},enumerable:!0})};y?(S=(p=r(function(e,r,n,i){d(e,p,l,"_d");var a,o,s,c,u=0,h=0;if(x(r)){if(r instanceof Z||(c=A(r))==V||c==Y){a=r,h=eP(n,t);var g=r.byteLength;if(void 0===i){if(g%t||(o=g-h)<0)throw H(eD)}else if((o=m(i)*t)+h>g)throw H(eD);s=o/t}else if(ew in r)return eO(p,r);else return eL.call(p,r)}else a=new Z(o=(s=b(r))*t);for(f(e,"_d",{b:a,o:h,l:o,e:s,v:new $(a)});u<s;)E(e,u++)}))[J]=T(eV),f(S,"constructor",p)):o(function(){p(1)})&&o(function(){new p(-1)})&&L(function(e){new p,new p(null),new p(1.5),new p(e)},!0)||(p=r(function(e,r,n,i){var a;return(d(e,p,l),x(r))?r instanceof Z||(a=A(r))==V||a==Y?void 0!==i?new g(r,eP(n,t),i):void 0!==n?new g(r,eP(n,t)):new g(r):ew in r?eO(p,r):eL.call(p,r):new g(b(r))}),ee(v!==Function.prototype?C(g).concat(C(v)):C(g),function(e){e in p||f(p,e,g[e])}),p[J]=S,i||(S.constructor=p));var P=S[ey],R=!!P&&("values"==P.name||void 0==P.name),F=ez.values;f(p,eA,!0),f(S,ew,l),f(S,eT,!0),f(S,ex,p),(n?new p(1)[e_]==l:e_ in S)||B(S,e_,{get:function(){return l}}),_[l]=p,s(s.G+s.W+s.F*(p!=g),_),s(s.S,l,{BYTES_PER_ELEMENT:t}),s(s.S+s.F*o(function(){g.of.call(p,1)}),l,{from:eL,of:eN}),Q in S||f(S,Q,t),s(s.P,l,eW),N(l),s(s.P+s.F*eE,l,{set:eB}),s(s.P+!R*s.F,l,ez),i||S.toString==eb||(S.toString=eb),s(s.P+s.F*o(function(){new p(1).slice()}),l,{slice:eq}),s(s.P+s.F*(o(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!o(function(){S.toLocaleString.call([1,2])})),l,{toLocaleString:eM}),I[l]=R?P:F,i||R||f(S,ey,F)}}else e.exports=function(){}},function(e,t,r){"use strict";var n=r(1),i=r(9),a=r(26),o=r(46),s=r(6),c=r(22),l=r(10),u=r(23),d=r(17),h=r(12),f=r(47),p=r(48).f,g=r(14).f,m=r(52),b=r(25),v="ArrayBuffer",y="DataView",_="prototype",A="Wrong index!",x=n[v],S=n[y],w=n.Math,T=n.RangeError,D=n.Infinity,C=x,k=w.abs,E=w.pow,P=w.floor,R=w.log,F=w.LN2,U="buffer",O="byteLength",I="byteOffset",L=i?"_b":U,N=i?"_l":O,j=i?"_o":I;function M(e,t,r){var n,i,a,o=Array(r),s=8*r-t-1,c=(1<<s)-1,l=c>>1,u=23===t?E(2,-24)-E(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for((e=k(e))!=e||e===D?(i=e!=e?1:0,n=c):(n=P(R(e)/F),e*(a=E(2,-n))<1&&(n--,a*=2),n+l>=1?e+=u/a:e+=u*E(2,1-l),e*a>=2&&(n++,a/=2),n+l>=c?(i=0,n=c):n+l>=1?(i=(e*a-1)*E(2,t),n+=l):(i=e*E(2,l-1)*E(2,t),n=0));t>=8;o[d++]=255&i,i/=256,t-=8);for(n=n<<t|i,s+=t;s>0;o[d++]=255&n,n/=256,s-=8);return o[--d]|=128*h,o}function W(e,t,r){var n,i=8*r-t-1,a=(1<<i)-1,o=a>>1,s=i-7,c=r-1,l=e[c--],u=127&l;for(l>>=7;s>0;u=256*u+e[c],c--,s-=8);for(n=u&(1<<-s)-1,u>>=-s,s+=t;s>0;n=256*n+e[c],c--,s-=8);if(0===u)u=1-o;else{if(u===a)return n?NaN:l?-D:D;n+=E(2,t),u-=o}return(l?-1:1)*n*E(2,u-t)}function q(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function B(e){return[255&e]}function z(e){return[255&e,e>>8&255]}function H(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function G(e){return M(e,52,8)}function X(e){return M(e,23,4)}function V(e,t,r){g(e[_],t,{get:function(){return this[r]}})}function Y(e,t,r,n){var i=f(+r);if(i+t>e[N])throw T(A);var a=e[L]._b,o=i+e[j],s=a.slice(o,o+t);return n?s:s.reverse()}function Q(e,t,r,n,i,a){var o=f(+r);if(o+t>e[N])throw T(A);for(var s=e[L]._b,c=o+e[j],l=n(+i),u=0;u<t;u++)s[c+u]=l[a?u:t-u-1]}if(o.ABV){if(!l(function(){x(1)})||!l(function(){new x(-1)})||l(function(){return new x,new x(1.5),new x(NaN),x.name!=v})){for(var J,K=(x=function(e){return u(this,x),new C(f(e))})[_]=C[_],Z=p(C),$=0;Z.length>$;)(J=Z[$++])in x||s(x,J,C[J]);a||(K.constructor=x)}var ee=new S(new x(2)),et=S[_].setInt8;ee.setInt8(0,0x80000000),ee.setInt8(1,0x80000001),(ee.getInt8(0)||!ee.getInt8(1))&&c(S[_],{setInt8:function(e,t){et.call(this,e,t<<24>>24)},setUint8:function(e,t){et.call(this,e,t<<24>>24)}},!0)}else x=function(e){u(this,x,v);var t=f(e);this._b=m.call(Array(t),0),this[N]=t},S=function(e,t,r){u(this,S,y),u(e,x,y);var n=e[N],i=d(t);if(i<0||i>n)throw T("Wrong offset!");if(r=void 0===r?n-i:h(r),i+r>n)throw T("Wrong length!");this[L]=e,this[j]=i,this[N]=r},i&&(V(x,O,"_l"),V(S,U,"_b"),V(S,O,"_l"),V(S,I,"_o")),c(S[_],{getInt8:function(e){return Y(this,1,e)[0]<<24>>24},getUint8:function(e){return Y(this,1,e)[0]},getInt16:function(e){var t=Y(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Y(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return q(Y(this,4,e,arguments[1]))},getUint32:function(e){return q(Y(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return W(Y(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return W(Y(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){Q(this,1,e,B,t)},setUint8:function(e,t){Q(this,1,e,B,t)},setInt16:function(e,t){Q(this,2,e,z,t,arguments[2])},setUint16:function(e,t){Q(this,2,e,z,t,arguments[2])},setInt32:function(e,t){Q(this,4,e,H,t,arguments[2])},setUint32:function(e,t){Q(this,4,e,H,t,arguments[2])},setFloat32:function(e,t){Q(this,4,e,X,t,arguments[2])},setFloat64:function(e,t){Q(this,8,e,G,t,arguments[2])}});b(x,v),b(S,y),s(S[_],o.VIEW,!0),t[v]=x,t[y]=S},function(e,t,r){"use strict";var n=r(14),i=r(7),a=r(38);e.exports=r(9)?Object.defineProperties:function(e,t){i(e);for(var r,o=a(t),s=o.length,c=0;s>c;)n.f(e,r=o[c++],t[r]);return e}},function(e,t,r){"use strict";var n=r(83);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){"use strict";var n=r(2),i=r(84),a=r(3)("species");e.exports=function(e){var t;return i(e)&&("function"==typeof(t=e.constructor)&&(t===Array||i(t.prototype))&&(t=void 0),n(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?Array:t}},function(e,t,r){"use strict";var n=r(24);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){"use strict";var n=r(3)("unscopables"),i=Array.prototype;void 0==i[n]&&r(6)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t,r){"use strict";e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){"use strict";var n=r(54),i=r(27),a=r(25),o={};r(6)(o,r(3)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(o,{next:i(1,r)}),a(e,t+" Iterator")}},function(e,t,r){"use strict";var n=r(18),i=r(29),a=r(12);e.exports=[].copyWithin||function(e,t){var r=n(this),o=a(r.length),s=i(e,o),c=i(t,o),l=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===l?o:i(l,o))-c,o-s),d=1;for(c<s&&s<c+u&&(d=-1,c+=u-1,s+=u-1);u-- >0;)c in r?r[s]=r[c]:delete r[s],s+=d,c+=d;return r}},function(e,t,r){"use strict";r(90),e.exports=r(5).Number.isNaN},function(e,t,r){"use strict";var n=r(4);n(n.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,r){"use strict";r(92),e.exports=r(5).Number.isInteger},function(e,t,r){"use strict";var n=r(4);n(n.S,"Number",{isInteger:r(93)})},function(e,t,r){"use strict";var n=r(2),i=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&i(e)===e}},function(e,t,r){"use strict";r(63),r(95),r(64),r(97),r(101),r(102),e.exports=r(5).Promise},function(e,t,r){"use strict";var n=r(96)(!0);r(59)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){"use strict";var n=r(17),i=r(35);e.exports=function(e){return function(t,r){var a,o,s=String(i(t)),c=n(r),l=s.length;return c<0||c>=l?e?"":void 0:(a=s.charCodeAt(c))<55296||a>56319||c+1===l||(o=s.charCodeAt(c+1))<56320||o>57343?e?s.charAt(c):a:e?s.slice(c,c+2):(a-55296<<10)+(o-56320)+65536}}},function(e,t,r){"use strict";var n,i,a,o,s=r(26),c=r(1),l=r(11),u=r(30),d=r(4),h=r(2),f=r(21),p=r(23),g=r(31),m=r(40),b=r(65).set,v=r(100)(),y=r(42),_=r(66),A=r(67),x="Promise",S=c.TypeError,w=c.process,T=c[x],D="process"==u(w),C=function(){},k=i=y.f,E=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[r(3)("species")]=function(e){e(C,C)};return(D||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),P=function(e){var t;return!!h(e)&&"function"==typeof(t=e.then)&&t},R=function(e,t){if(!e._n){e._n=!0;var r=e._c;v(function(){for(var n=e._v,i=1==e._s,a=0;r.length>a;)!function(t){var r,a,o=i?t.ok:t.fail,s=t.resolve,c=t.reject,l=t.domain;try{o?(i||(2==e._h&&O(e),e._h=1),!0===o?r=n:(l&&l.enter(),r=o(n),l&&l.exit()),r===t.promise?c(S("Promise-chain cycle")):(a=P(r))?a.call(r,s,c):s(r)):c(n)}catch(e){c(e)}}(r[a++]);e._c=[],e._n=!1,t&&!e._h&&F(e)})}},F=function(e){b.call(c,function(){var t,r,n,i=e._v,a=U(e);if(a&&(t=_(function(){D?w.emit("unhandledRejection",i,e):(r=c.onunhandledrejection)?r({promise:e,reason:i}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",i)}),e._h=D||U(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},U=function e(t){if(1==t._h)return!1;for(var r,n=t._a||t._c,i=0;n.length>i;)if((r=n[i++]).fail||!e(r.promise))return!1;return!0},O=function(e){b.call(c,function(){var t;D?w.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},I=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),R(t,!0))},L=function e(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(r=P(t))?v(function(){var i={_w:n,_d:!1};try{r.call(t,l(e,i,1),l(I,i,1))}catch(e){I.call(i,e)}}):(n._v=t,n._s=1,R(n,!1))}catch(e){I.call({_w:n,_d:!1},e)}}};E||(T=function(e){p(this,T,x,"_h"),f(e),n.call(this);try{e(l(L,this,1),l(I,this,1))}catch(e){I.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(22)(T.prototype,{then:function(e,t){var r=k(m(this,T));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=D?w.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&R(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n;this.promise=e,this.resolve=l(L,e,1),this.reject=l(I,e,1)},y.f=k=function(e){return e===T||e===o?new a(e):i(e)}),d(d.G+d.W+!E*d.F,{Promise:T}),r(25)(T,x),r(60)(x),o=r(5)[x],d(d.S+!E*d.F,x,{reject:function(e){var t=k(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!E),x,{resolve:function(e){return A(s&&this===o?T:this,e)}}),d(d.S+!(E&&r(41)(function(e){T.all(e).catch(C)}))*d.F,x,{all:function(e){var t=this,r=k(t),n=r.resolve,i=r.reject,a=_(function(){var r=[],a=0,o=1;g(e,!1,function(e){var s=a++,c=!1;r.push(void 0),o++,t.resolve(e).then(function(e){!c&&(c=!0,r[s]=e,--o||n(r))},i)}),--o||n(r)});return a.e&&i(a.v),r.promise},race:function(e){var t=this,r=k(t),n=r.reject,i=_(function(){g(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return i.e&&n(i.v),r.promise}})},function(e,t,r){"use strict";var n=r(7);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){var a=e.return;throw void 0!==a&&n(a.call(e)),t}}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){"use strict";var n=r(1),i=r(65).set,a=n.MutationObserver||n.WebKitMutationObserver,o=n.process,s=n.Promise,c="process"==r(24)(o);e.exports=function(){var e,t,r,l=function(){var n,i;for(c&&(n=o.domain)&&n.exit();e;){i=e.fn,e=e.next;try{i()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(c)r=function(){o.nextTick(l)};else if(a){var u=!0,d=document.createTextNode("");new a(l).observe(d,{characterData:!0}),r=function(){d.data=u=!u}}else if(s&&s.resolve){var h=s.resolve();r=function(){h.then(l)}}else r=function(){i.call(n,l)};return function(n){var i={fn:n,next:void 0};t&&(t.next=i),e||(e=i,r()),t=i}}},function(e,t,r){"use strict";var n=r(4),i=r(5),a=r(1),o=r(40),s=r(67);n(n.P+n.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then(function(){return r})}:e,r?function(r){return s(t,e()).then(function(){throw r})}:e)}})},function(e,t,r){"use strict";var n=r(4),i=r(42),a=r(66);n(n.S,"Promise",{try:function(e){var t=i.f(this),r=a(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){"use strict";r(63),r(64),r(104),r(111),r(113),e.exports=r(5).WeakMap},function(e,t,r){"use strict";var n,i=r(39)(0),a=r(15),o=r(43),s=r(105),c=r(107),l=r(2),u=r(10),d=r(68),h="WeakMap",f=o.getWeak,p=Object.isExtensible,g=c.ufstore,m={},b=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(e){if(l(e)){var t=f(e);return!0===t?g(d(this,h)).get(e):t?t[this._i]:void 0}},set:function(e,t){return c.def(d(this,h),e,t)}},y=e.exports=r(108)(h,b,v,c,!0,!0);u(function(){return 7!=new y().set((Object.freeze||Object)(m),7).get(m)})&&(s((n=c.getConstructor(b,h)).prototype,v),o.NEED=!0,i(["delete","has","get","set"],function(e){var t=y.prototype,r=t[e];a(t,e,function(t,i){if(l(t)&&!p(t)){this._f||(this._f=new n);var a=this._f[e](t,i);return"set"==e?this:a}return r.call(this,t,i)})}))},function(e,t,r){"use strict";var n=r(38),i=r(106),a=r(62),o=r(18),s=r(34),c=Object.assign;e.exports=!c||r(10)(function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=c({},e)[r]||Object.keys(c({},t)).join("")!=n})?function(e,t){for(var r=o(e),c=arguments.length,l=1,u=i.f,d=a.f;c>l;)for(var h,f=s(arguments[l++]),p=u?n(f).concat(u(f)):n(f),g=p.length,m=0;g>m;)d.call(f,h=p[m++])&&(r[h]=f[h]);return r}:c},function(e,t,r){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";var n=r(22),i=r(43).getWeak,a=r(7),o=r(2),s=r(23),c=r(31),l=r(39),u=r(8),d=r(68),h=l(5),f=l(6),p=0,g=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},b=function(e,t){return h(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var r=b(this,e);r?r[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,a){var l=e(function(e,n){s(e,l,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=n&&c(n,r,e[a],e)});return n(l.prototype,{delete:function(e){if(!o(e))return!1;var r=i(e);return!0===r?g(d(this,t)).delete(e):r&&u(r,this._i)&&delete r[this._i]},has:function(e){if(!o(e))return!1;var r=i(e);return!0===r?g(d(this,t)).has(e):r&&u(r,this._i)}}),l},def:function(e,t,r){var n=i(a(t),!0);return!0===n?g(e).set(t,r):n[e._i]=r,e},ufstore:g}},function(e,t,r){"use strict";var n=r(1),i=r(4),a=r(15),o=r(22),s=r(43),c=r(31),l=r(23),u=r(2),d=r(10),h=r(41),f=r(25),p=r(109);e.exports=function(e,t,r,g,m,b){var v=n[e],y=v,_=m?"set":"add",A=y&&y.prototype,x={},S=function(e){var t=A[e];a(A,e,"delete"==e?function(e){return(!b||!!u(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return(!b||!!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return b&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,r){return t.call(this,0===e?0:e,r),this})};if("function"==typeof y&&(b||A.forEach&&!d(function(){new y().entries().next()}))){var w=new y,T=w[_](b?{}:-0,1)!=w,D=d(function(){w.has(1)}),C=h(function(e){new y(e)}),k=!b&&d(function(){for(var e=new y,t=5;t--;)e[_](t,t);return!e.has(-0)});C||((y=t(function(t,r){l(t,y,e);var n=p(new v,t,y);return void 0!=r&&c(r,m,n[_],n),n})).prototype=A,A.constructor=y),(D||k)&&(S("delete"),S("has"),m&&S("get")),(k||T)&&S(_),b&&A.clear&&delete A.clear}else o((y=g.getConstructor(t,e,m,_)).prototype,r),s.NEED=!0;return f(y,e),x[e]=y,i(i.G+i.W+i.F*(y!=v),x),b||g.setStrong(y,e,m),y}},function(e,t,r){"use strict";var n=r(2),i=r(110).set;e.exports=function(e,t,r){var a,o=t.constructor;return o!==r&&"function"==typeof o&&(a=o.prototype)!==r.prototype&&n(a)&&i&&i(e,a),e}},function(e,t,r){"use strict";var n=r(2),i=r(7),a=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(11)(Function.call,r(61).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return a(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:a}},function(e,t,r){"use strict";r(112)("WeakMap")},function(e,t,r){"use strict";var n=r(4);e.exports=function(e){n(n.S,e,{of:function(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,r){"use strict";r(114)("WeakMap")},function(e,t,r){"use strict";var n=r(4),i=r(21),a=r(11),o=r(31);e.exports=function(e){n(n.S,e,{from:function(e){var t,r,n,s,c=arguments[1];return(i(this),(t=void 0!==c)&&i(c),void 0==e)?new this:(r=[],t?(n=0,s=a(c,arguments[2],2),o(e,!1,function(e){r.push(s(e,n++))})):o(e,!1,r.push,r),new this(r))}})}},function(e,t,r){"use strict";var n=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),n=!0}catch(e){}n?t.ReadableStream=ReadableStream:t.ReadableStream=r(116).ReadableStream},function(e,t,r){"use strict";var n="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};!function(e,t){for(var r in t)e[r]=t[r]}(t,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){var i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)},a=r(1).assert;function o(e){return"string"==typeof e||(void 0===e?"undefined":i(e))==="symbol"}function s(e,t,r){if("function"!=typeof e)throw TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}t.typeIsObject=function(e){return(void 0===e?"undefined":i(e))==="object"&&null!==e||"function"==typeof e},t.createDataProperty=function(e,r,n){a(t.typeIsObject(e)),Object.defineProperty(e,r,{value:n,writable:!0,enumerable:!0,configurable:!0})},t.createArrayFromList=function(e){return e.slice()},t.ArrayBufferCopy=function(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)},t.CreateIterResultObject=function(e,t){a("boolean"==typeof t);var r={};return Object.defineProperty(r,"value",{value:e,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(r,"done",{value:t,enumerable:!0,writable:!0,configurable:!0}),r},t.IsFiniteNonNegativeNumber=function(e){return!Number.isNaN(e)&&e!==1/0&&!(e<0)},t.InvokeOrNoop=function(e,t,r){a(void 0!==e),a(o(t)),a(Array.isArray(r));var n=e[t];if(void 0!==n)return s(n,e,r)},t.PromiseInvokeOrNoop=function(e,r,n){a(void 0!==e),a(o(r)),a(Array.isArray(n));try{return Promise.resolve(t.InvokeOrNoop(e,r,n))}catch(e){return Promise.reject(e)}},t.PromiseInvokeOrPerformFallback=function(e,t,r,n,i){a(void 0!==e),a(o(t)),a(Array.isArray(r)),a(Array.isArray(i));var c=void 0;try{c=e[t]}catch(e){return Promise.reject(e)}if(void 0===c)return n.apply(null,i);try{return Promise.resolve(s(c,e,r))}catch(e){return Promise.reject(e)}},t.TransferArrayBuffer=function(e){return e.slice()},t.ValidateAndNormalizeHighWaterMark=function(e){if(Number.isNaN(e=Number(e))||e<0)throw RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e},t.ValidateAndNormalizeQueuingStrategy=function(e,r){if(void 0!==e&&"function"!=typeof e)throw TypeError("size property of a queuing strategy must be a function");return{size:e,highWaterMark:r=t.ValidateAndNormalizeHighWaterMark(r)}}},function(e,t,r){function n(e){this.name="AssertionError",this.message=e||"",this.stack=Error().stack}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,e.exports={rethrowAssertionErrorRejection:function(e){e&&e.constructor===n&&setTimeout(function(){throw e},0)},AssertionError:n,assert:function(e,t){if(!e)throw new n(t)}}},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(0),o=a.InvokeOrNoop,s=a.PromiseInvokeOrNoop,c=a.ValidateAndNormalizeQueuingStrategy,l=a.typeIsObject,u=r(1),d=u.assert,h=u.rethrowAssertionErrorRejection,f=r(3),p=f.DequeueValue,g=f.EnqueueValueWithSize,m=f.PeekQueueValue,b=f.ResetQueue,v=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,a=r.highWaterMark;if(i(this,e),this._state="writable",this._storedError=void 0,this._writer=void 0,this._writableStreamController=void 0,this._writeRequests=[],this._inFlightWriteRequest=void 0,this._closeRequest=void 0,this._inFlightCloseRequest=void 0,this._pendingAbortRequest=void 0,this._backpressure=!1,void 0!==t.type)throw RangeError("Invalid type is specified");this._writableStreamController=new L(this,t,n,void 0===a?1:a),this._writableStreamController.__startSteps()}return n(e,[{key:"abort",value:function(e){return!1===_(this)?Promise.reject(q("abort")):!0===A(this)?Promise.reject(TypeError("Cannot abort a stream that already has a writer")):x(this,e)}},{key:"getWriter",value:function(){if(!1===_(this))throw q("getWriter");return y(this)}},{key:"locked",get:function(){if(!1===_(this))throw q("locked");return A(this)}}]),e}();function y(e){return new P(e)}function _(e){return!!(l(e)&&Object.prototype.hasOwnProperty.call(e,"_writableStreamController"))}function A(e){return d(!0===_(e),"IsWritableStreamLocked should only be used on known writable streams"),void 0!==e._writer}function x(e,t){var r=e._state;if("closed"===r)return Promise.resolve(void 0);if("errored"===r)return Promise.reject(e._storedError);var n=TypeError("Requested to abort");if(void 0!==e._pendingAbortRequest)return Promise.reject(n);d("writable"===r||"erroring"===r,"state must be writable or erroring");var i=!1;"erroring"===r&&(i=!0,t=void 0);var a=new Promise(function(r,n){e._pendingAbortRequest={_resolve:r,_reject:n,_reason:t,_wasAlreadyErroring:i}});return!1===i&&w(e,n),a}function S(e,t){var r=e._state;if("writable"===r){w(e,t);return}d("erroring"===r),T(e)}function w(e,t){d(void 0===e._storedError,"stream._storedError === undefined"),d("writable"===e._state,"state must be writable");var r=e._writableStreamController;d(void 0!==r,"controller must not be undefined"),e._state="erroring",e._storedError=t;var n=e._writer;void 0!==n&&U(n,t),!1===C(e)&&!0===r._started&&T(e)}function T(e){d("erroring"===e._state,"stream._state === erroring"),d(!1===C(e),"WritableStreamHasOperationMarkedInFlight(stream) === false"),e._state="errored",e._writableStreamController.__errorSteps();for(var t=e._storedError,r=0;r<e._writeRequests.length;r++)e._writeRequests[r]._reject(t);if(e._writeRequests=[],void 0===e._pendingAbortRequest){k(e);return}var n=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,!0===n._wasAlreadyErroring){n._reject(t),k(e);return}e._writableStreamController.__abortSteps(n._reason).then(function(){n._resolve(),k(e)},function(t){n._reject(t),k(e)})}function D(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function C(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}function k(e){d("errored"===e._state,'_stream_.[[state]] is `"errored"`'),void 0!==e._closeRequest&&(d(void 0===e._inFlightCloseRequest),e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&(G(t,e._storedError),t._closedPromise.catch(function(){}))}function E(e,t){d("writable"===e._state),d(!1===D(e));var r=e._writer;void 0!==r&&t!==e._backpressure&&(!0===t?(d(void 0===r._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),d(void 0===r._readyPromise_reject,"writer._readyPromise_reject === undefined"),r._readyPromise=new Promise(function(e,t){r._readyPromise_resolve=e,r._readyPromise_reject=t}),r._readyPromiseState="pending"):(d(!1===t),Y(r))),e._backpressure=t}e.exports={AcquireWritableStreamDefaultWriter:y,IsWritableStream:_,IsWritableStreamLocked:A,WritableStream:v,WritableStreamAbort:x,WritableStreamDefaultControllerError:W,WritableStreamDefaultWriterCloseWithErrorPropagation:function(e){var t=e._ownerWritableStream;d(void 0!==t);var r=t._state;return!0===D(t)||"closed"===r?Promise.resolve():"errored"===r?Promise.reject(t._storedError):(d("writable"===r||"erroring"===r),F(e))},WritableStreamDefaultWriterRelease:O,WritableStreamDefaultWriterWrite:I,WritableStreamCloseQueuedOrInFlight:D};var P=function(){function e(t){if(i(this,e),!1===_(t))throw TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===A(t))throw TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;var r=t._state;if("writable"===r)!1===D(t)&&!0===t._backpressure?(n=this,n._readyPromise=new Promise(function(e,t){n._readyPromise_resolve=e,n._readyPromise_reject=t}),n._readyPromiseState="pending"):V(this),H(this);else if("erroring"===r)X(this,t._storedError),this._readyPromise.catch(function(){}),H(this);else if("closed"===r)V(this),this._closedPromise=Promise.resolve(void 0),this._closedPromise_resolve=void 0,this._closedPromise_reject=void 0,this._closedPromiseState="resolved";else{d("errored"===r,"state must be errored");var n,a=t._storedError;X(this,a),this._readyPromise.catch(function(){}),this._closedPromise=Promise.reject(a),this._closedPromise_resolve=void 0,this._closedPromise_reject=void 0,this._closedPromiseState="rejected",this._closedPromise.catch(function(){})}}return n(e,[{key:"abort",value:function(e){var t;return!1===R(this)?Promise.reject(B("abort")):void 0===this._ownerWritableStream?Promise.reject(z("abort")):(d(void 0!==(t=this._ownerWritableStream)),x(t,e))}},{key:"close",value:function(){if(!1===R(this))return Promise.reject(B("close"));var e=this._ownerWritableStream;return void 0===e?Promise.reject(z("close")):!0===D(e)?Promise.reject(TypeError("cannot close an already-closing stream")):F(this)}},{key:"releaseLock",value:function(){if(!1===R(this))throw B("releaseLock");var e=this._ownerWritableStream;void 0!==e&&(d(void 0!==e._writer),O(this))}},{key:"write",value:function(e){return!1===R(this)?Promise.reject(B("write")):void 0===this._ownerWritableStream?Promise.reject(z("write to")):I(this,e)}},{key:"closed",get:function(){return!1===R(this)?Promise.reject(B("closed")):this._closedPromise}},{key:"desiredSize",get:function(){var e,t;if(!1===R(this))throw B("desiredSize");if(void 0===this._ownerWritableStream)throw z("desiredSize");return"errored"===(t=(e=this._ownerWritableStream)._state)||"erroring"===t?null:"closed"===t?0:N(e._writableStreamController)}},{key:"ready",get:function(){return!1===R(this)?Promise.reject(B("ready")):this._readyPromise}}]),e}();function R(e){return!!(l(e)&&Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream"))}function F(e){var t,r=e._ownerWritableStream;d(void 0!==r);var n=r._state;if("closed"===n||"errored"===n)return Promise.reject(TypeError("The stream (in "+n+" state) is not in the writable state and cannot be closed"));d("writable"===n||"erroring"===n),d(!1===D(r));var i=new Promise(function(e,t){r._closeRequest={_resolve:e,_reject:t}});return!0===r._backpressure&&"writable"===n&&Y(e),g(t=r._writableStreamController,"close",0),j(t),i}function U(e,t){"pending"===e._readyPromiseState?(d(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),d(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0):(d(void 0===e._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),d(void 0===e._readyPromise_reject,"writer._readyPromise_reject === undefined"),e._readyPromise=Promise.reject(t)),e._readyPromiseState="rejected",e._readyPromise.catch(function(){})}function O(e){var t=e._ownerWritableStream;d(void 0!==t),d(t._writer===e);var r=TypeError("Writer was released and can no longer be used to monitor the stream's closedness");U(e,r),"pending"===e._closedPromiseState?G(e,r):(d(void 0===e._closedPromise_resolve,"writer._closedPromise_resolve === undefined"),d(void 0===e._closedPromise_reject,"writer._closedPromise_reject === undefined"),d("pending"!==e._closedPromiseState,"writer._closedPromiseState is not pending"),e._closedPromise=Promise.reject(r),e._closedPromiseState="rejected"),e._closedPromise.catch(function(){}),t._writer=void 0,e._ownerWritableStream=void 0}function I(e,t){var r=e._ownerWritableStream;d(void 0!==r);var n=r._writableStreamController,i=function(e,t){var r=e._strategySize;if(void 0===r)return 1;try{return r(t)}catch(t){return M(e,t),1}}(n,t);if(r!==e._ownerWritableStream)return Promise.reject(z("write to"));var a=r._state;if("errored"===a)return Promise.reject(r._storedError);if(!0===D(r)||"closed"===a)return Promise.reject(TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===a)return Promise.reject(r._storedError);d("writable"===a);var o=(d(!0===A(r)),d("writable"===r._state),new Promise(function(e,t){r._writeRequests.push({_resolve:e,_reject:t})}));return function(e,t,r){try{g(e,{chunk:t},r)}catch(t){M(e,t);return}var n=e._controlledWritableStream;!1===D(n)&&"writable"===n._state&&E(n,0>=N(e)),j(e)}(n,t,i),o}var L=function(){function e(t,r,n,a){if(i(this,e),!1===_(t))throw TypeError("WritableStreamDefaultController can only be constructed with a WritableStream instance");if(void 0!==t._writableStreamController)throw TypeError("WritableStreamDefaultController instances can only be created by the WritableStream constructor");this._controlledWritableStream=t,this._underlyingSink=r,this._queue=void 0,this._queueTotalSize=void 0,b(this),this._started=!1;var o=c(n,a);this._strategySize=o.size,this._strategyHWM=o.highWaterMark,E(t,0>=N(this))}return n(e,[{key:"error",value:function(e){if(!1==!!(l(this)&&Object.prototype.hasOwnProperty.call(this,"_underlyingSink")))throw TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&W(this,e)}},{key:"__abortSteps",value:function(e){return s(this._underlyingSink,"abort",[e])}},{key:"__errorSteps",value:function(){b(this)}},{key:"__startSteps",value:function(){var e=this,t=o(this._underlyingSink,"start",[this]),r=this._controlledWritableStream;Promise.resolve(t).then(function(){d("writable"===r._state||"erroring"===r._state),e._started=!0,j(e)},function(t){d("writable"===r._state||"erroring"===r._state),e._started=!0,S(r,t)}).catch(h)}}]),e}();function N(e){return e._strategyHWM-e._queueTotalSize}function j(e){var t=e._controlledWritableStream;if(!1!==e._started&&void 0===t._inFlightWriteRequest){var r=t._state;if("closed"!==r&&"errored"!==r){if("erroring"===r){T(t);return}if(0!==e._queue.length){var n,i,a,o,c,l=m(e);"close"===l?(d(void 0===(i=(n=e)._controlledWritableStream)._inFlightCloseRequest),d(void 0!==i._closeRequest),i._inFlightCloseRequest=i._closeRequest,i._closeRequest=void 0,p(n),d(0===n._queue.length,"queue must be empty once the final write record is dequeued"),s(n._underlyingSink,"close",[]).then(function(){var e,t;d(void 0!==i._inFlightCloseRequest),i._inFlightCloseRequest._resolve(void 0),i._inFlightCloseRequest=void 0,d("writable"===(e=i._state)||"erroring"===e),"erroring"===e&&(i._storedError=void 0,void 0!==i._pendingAbortRequest&&(i._pendingAbortRequest._resolve(),i._pendingAbortRequest=void 0)),i._state="closed",void 0!==(t=i._writer)&&(d(void 0!==t._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),d(void 0!==t._closedPromise_reject,"writer._closedPromise_reject !== undefined"),d("pending"===t._closedPromiseState,"writer._closedPromiseState is pending"),t._closedPromise_resolve(void 0),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0,t._closedPromiseState="resolved"),d(void 0===i._pendingAbortRequest,"stream._pendingAbortRequest === undefined"),d(void 0===i._storedError,"stream._storedError === undefined")},function(e){d(void 0!==i._inFlightCloseRequest),i._inFlightCloseRequest._reject(e),i._inFlightCloseRequest=void 0,d("writable"===i._state||"erroring"===i._state),void 0!==i._pendingAbortRequest&&(i._pendingAbortRequest._reject(e),i._pendingAbortRequest=void 0),S(i,e)}).catch(h)):(a=e,o=l.chunk,d(void 0===(c=a._controlledWritableStream)._inFlightWriteRequest,"there must be no pending write request"),d(0!==c._writeRequests.length,"writeRequests must not be empty"),c._inFlightWriteRequest=c._writeRequests.shift(),s(a._underlyingSink,"write",[o,a]).then(function(){d(void 0!==c._inFlightWriteRequest),c._inFlightWriteRequest._resolve(void 0),c._inFlightWriteRequest=void 0;var e=c._state;d("writable"===e||"erroring"===e),p(a),!1===D(c)&&"writable"===e&&E(c,0>=N(a)),j(a)},function(e){d(void 0!==c._inFlightWriteRequest),c._inFlightWriteRequest._reject(e),c._inFlightWriteRequest=void 0,d("writable"===c._state||"erroring"===c._state),S(c,e)}).catch(h))}}}}function M(e,t){"writable"===e._controlledWritableStream._state&&W(e,t)}function W(e,t){var r=e._controlledWritableStream;d("writable"===r._state),w(r,t)}function q(e){return TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function B(e){return TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function z(e){return TypeError("Cannot "+e+" a stream using a released writer")}function H(e){e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function G(e,t){d(void 0!==e._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),d(void 0!==e._closedPromise_reject,"writer._closedPromise_reject !== undefined"),d("pending"===e._closedPromiseState,"writer._closedPromiseState is pending"),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function X(e,t){e._readyPromise=Promise.reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function V(e){e._readyPromise=Promise.resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}function Y(e){d(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),d(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}},function(e,t,r){var n=r(0).IsFiniteNonNegativeNumber,i=r(1).assert;t.DequeueValue=function(e){i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: DequeueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),i(e._queue.length>0,"Spec-level failure: should never dequeue from an empty queue.");var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value},t.EnqueueValueWithSize=function(e,t,r){if(i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: EnqueueValueWithSize should only be used on containers with [[queue]] and [[queueTotalSize]]."),!n(r=Number(r)))throw RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r},t.PeekQueueValue=function(e){return i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: PeekQueueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),i(e._queue.length>0,"Spec-level failure: should never peek at an empty queue."),e._queue[0].value},t.ResetQueue=function(e){i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: ResetQueue should only be used on containers with [[queue]] and [[queueTotalSize]]."),e._queue=[],e._queueTotalSize=0}},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(0),o=a.ArrayBufferCopy,s=a.CreateIterResultObject,c=a.IsFiniteNonNegativeNumber,l=a.InvokeOrNoop,u=a.PromiseInvokeOrNoop,d=a.TransferArrayBuffer,h=a.ValidateAndNormalizeQueuingStrategy,f=a.ValidateAndNormalizeHighWaterMark,p=r(0),g=p.createArrayFromList,m=p.createDataProperty,b=p.typeIsObject,v=r(1),y=v.assert,_=v.rethrowAssertionErrorRejection,A=r(3),x=A.DequeueValue,S=A.EnqueueValueWithSize,w=A.ResetQueue,T=r(2),D=T.AcquireWritableStreamDefaultWriter,C=T.IsWritableStream,k=T.IsWritableStreamLocked,E=T.WritableStreamAbort,P=T.WritableStreamDefaultWriterCloseWithErrorPropagation,R=T.WritableStreamDefaultWriterRelease,F=T.WritableStreamDefaultWriterWrite,U=T.WritableStreamCloseQueuedOrInFlight,O=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,a=r.highWaterMark;i(this,e),this._state="readable",this._reader=void 0,this._storedError=void 0,this._disturbed=!1,this._readableStreamController=void 0;var o=t.type;if("bytes"===String(o))void 0===a&&(a=0),this._readableStreamController=new eu(this,t,a);else if(void 0===o)void 0===a&&(a=1),this._readableStreamController=new et(this,t,n,a);else throw RangeError("Invalid type is specified")}return n(e,[{key:"cancel",value:function(e){return!1===I(this)?Promise.reject(eC("cancel")):!0===L(this)?Promise.reject(TypeError("Cannot cancel a stream that already has a reader")):M(this,e)}},{key:"getReader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode;if(!1===I(this))throw eC("getReader");if(void 0===t)return new V(this);if("byob"===(t=String(t)))return new Y(this);throw RangeError("Invalid mode is specified")}},{key:"pipeThrough",value:function(e,t){var r=e.writable,n=e.readable;return function(e){try{Promise.prototype.then.call(e,void 0,function(){})}catch(e){}}(this.pipeTo(r,t)),n}},{key:"pipeTo",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.preventClose,i=r.preventAbort,a=r.preventCancel;if(!1===I(this))return Promise.reject(eC("pipeTo"));if(!1===C(e))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));if(n=!!n,i=!!i,a=!!a,!0===L(this))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===k(e))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));var o=new V(this),s=D(e),c=!1,l=Promise.resolve();return new Promise(function(r,u){var d,h;if(g(t,o._closedPromise,function(t){!1===i?m(function(){return E(e,t)},!0,t):b(!0,t)}),g(e,s._closedPromise,function(e){!1===a?m(function(){return M(t,e)},!0,e):b(!0,e)}),d=o._closedPromise,h=function(){!1===n?m(function(){return P(s)}):b()},"closed"===t._state?h():d.then(h).catch(_),!0===U(e)||"closed"===e._state){var f=TypeError("the destination writable stream closed before all data could be piped to it");!1===a?m(function(){return M(t,f)},!0,f):b(!0,f)}function p(){var e=l;return l.then(function(){return e!==l?p():void 0})}function g(e,t,r){"errored"===e._state?r(e._storedError):t.catch(r).catch(_)}function m(t,r,n){!0!==c&&(c=!0,"writable"===e._state&&!1===U(e)?p().then(i):i());function i(){t().then(function(){return v(r,n)},function(e){return v(!0,e)}).catch(_)}}function b(t,r){!0!==c&&(c=!0,"writable"===e._state&&!1===U(e)?p().then(function(){return v(t,r)}).catch(_):v(t,r))}function v(e,t){R(s),$(o),e?u(t):r(void 0)}(function e(){return(l=Promise.resolve(),!0===c)?Promise.resolve():s._readyPromise.then(function(){return ee(o).then(function(e){var t=e.value;!0!==e.done&&(l=F(s,t).catch(function(){}))})}).then(e)})().catch(function(e){l=Promise.resolve(),_(e)})})}},{key:"tee",value:function(){var e,t,r,n,i,a,o,s,c;if(!1===I(this))throw eC("tee");return g((y(!0===I(this)),y("boolean"==typeof!1),e=new V(this),(t={closedOrErrored:!1,canceled1:!1,canceled2:!1,reason1:void 0,reason2:void 0}).promise=new Promise(function(e){t._resolve=e}),(r=function e(){var t=e._reader,r=e._branch1,n=e._branch2,i=e._teeState;return ee(t).then(function(e){y(b(e));var t=e.value,a=e.done;y("boolean"==typeof a),!0===a&&!1===i.closedOrErrored&&(!1===i.canceled1&&ei(r),!1===i.canceled2&&ei(n),i.closedOrErrored=!0),!0!==i.closedOrErrored&&(!1===i.canceled1&&ea(r,t),!1===i.canceled2&&ea(n,t))})})._reader=e,r._teeState=t,r._cloneForBranch2=!1,(n=function e(t){var r=e._stream,n=e._teeState;if(n.canceled1=!0,n.reason1=t,!0===n.canceled2){var i=M(r,g([n.reason1,n.reason2]));n._resolve(i)}return n.promise})._stream=this,n._teeState=t,(i=function e(t){var r=e._stream,n=e._teeState;if(n.canceled2=!0,n.reason2=t,!0===n.canceled1){var i=M(r,g([n.reason1,n.reason2]));n._resolve(i)}return n.promise})._stream=this,i._teeState=t,m(a=Object.create(Object.prototype),"pull",r),m(a,"cancel",n),o=new O(a),m(s=Object.create(Object.prototype),"pull",r),m(s,"cancel",i),c=new O(s),r._branch1=o._readableStreamController,r._branch2=c._readableStreamController,e._closedPromise.catch(function(e){!0!==t.closedOrErrored&&(eo(r._branch1,e),eo(r._branch2,e),t.closedOrErrored=!0)}),[o,c]))}},{key:"locked",get:function(){if(!1===I(this))throw eC("locked");return L(this)}}]),e}();function I(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readableStreamController"))}function L(e){return y(!0===I(e),"IsReadableStreamLocked should only be used on known readable streams"),void 0!==e._reader}function N(e){return y(!0===Q(e._reader)),y("readable"===e._state||"closed"===e._state),new Promise(function(t,r){e._reader._readIntoRequests.push({_resolve:t,_reject:r})})}function j(e){return y(!0===J(e._reader)),y("readable"===e._state),new Promise(function(t,r){e._reader._readRequests.push({_resolve:t,_reject:r})})}function M(e,t){return(e._disturbed=!0,"closed"===e._state)?Promise.resolve(void 0):"errored"===e._state?Promise.reject(e._storedError):(W(e),e._readableStreamController.__cancelSteps(t).then(function(){}))}function W(e){y("readable"===e._state),e._state="closed";var t=e._reader;if(void 0!==t){if(!0===J(t)){for(var r=0;r<t._readRequests.length;r++)(0,t._readRequests[r]._resolve)(s(void 0,!0));t._readRequests=[]}y(void 0!==t._closedPromise_resolve),y(void 0!==t._closedPromise_reject),t._closedPromise_resolve(void 0),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0}}function q(e,t){y(!0===I(e),"stream must be ReadableStream"),y("readable"===e._state,"state must be readable"),e._state="errored",e._storedError=t;var r=e._reader;if(void 0!==r){if(!0===J(r)){for(var n=0;n<r._readRequests.length;n++)r._readRequests[n]._reject(t);r._readRequests=[]}else{y(Q(r),"reader must be ReadableStreamBYOBReader");for(var i=0;i<r._readIntoRequests.length;i++)r._readIntoRequests[i]._reject(t);r._readIntoRequests=[]}eP(r,t),r._closedPromise.catch(function(){})}}function B(e,t,r){var n=e._reader;y(n._readRequests.length>0),n._readRequests.shift()._resolve(s(t,r))}function z(e){return e._reader._readIntoRequests.length}function H(e){return e._reader._readRequests.length}function G(e){var t=e._reader;return void 0!==t&&!1!==Q(t)}function X(e){var t=e._reader;return void 0!==t&&!1!==J(t)}e.exports={ReadableStream:O,IsReadableStreamDisturbed:function(e){return y(!0===I(e),"IsReadableStreamDisturbed should only be used on known readable streams"),e._disturbed},ReadableStreamDefaultControllerClose:ei,ReadableStreamDefaultControllerEnqueue:ea,ReadableStreamDefaultControllerError:eo,ReadableStreamDefaultControllerGetDesiredSize:ec};var V=function(){function e(t){if(i(this,e),!1===I(t))throw TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===L(t))throw TypeError("This stream has already been locked for exclusive reading by another reader");K(this,t),this._readRequests=[]}return n(e,[{key:"cancel",value:function(e){return!1===J(this)?Promise.reject(eE("cancel")):void 0===this._ownerReadableStream?Promise.reject(ek("cancel")):Z(this,e)}},{key:"read",value:function(){return!1===J(this)?Promise.reject(eE("read")):void 0===this._ownerReadableStream?Promise.reject(ek("read from")):ee(this)}},{key:"releaseLock",value:function(){if(!1===J(this))throw eE("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");$(this)}}},{key:"closed",get:function(){return!1===J(this)?Promise.reject(eE("closed")):this._closedPromise}}]),e}(),Y=function(){function e(t){if(i(this,e),!I(t))throw TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===ed(t._readableStreamController))throw TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(L(t))throw TypeError("This stream has already been locked for exclusive reading by another reader");K(this,t),this._readIntoRequests=[]}return n(e,[{key:"cancel",value:function(e){return Q(this)?void 0===this._ownerReadableStream?Promise.reject(ek("cancel")):Z(this,e):Promise.reject(eR("cancel"))}},{key:"read",value:function(e){var t;return Q(this)?void 0===this._ownerReadableStream?Promise.reject(ek("read from")):ArrayBuffer.isView(e)?0===e.byteLength?Promise.reject(TypeError("view must have non-zero byteLength")):(y(void 0!==(t=this._ownerReadableStream)),t._disturbed=!0,"errored"===t._state)?Promise.reject(t._storedError):function(e,t){var r=e._controlledReadableStream,n=1;t.constructor!==DataView&&(n=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,a={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:n,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return a.buffer=d(a.buffer),e._pendingPullIntos.push(a),N(r);if("closed"===r._state)return Promise.resolve(s(new t.constructor(a.buffer,a.byteOffset,0),!0));if(e._queueTotalSize>0){if(!0===ev(e,a)){var o=em(a);return e_(e),Promise.resolve(s(o,!1))}if(!0===e._closeRequested){var c=TypeError("Insufficient bytes to fill elements in the given buffer");return eT(e,c),Promise.reject(c)}}a.buffer=d(a.buffer),e._pendingPullIntos.push(a);var l=N(r);return ef(e),l}(t._readableStreamController,e):Promise.reject(TypeError("view must be an array buffer view")):Promise.reject(eR("read"))}},{key:"releaseLock",value:function(){if(!Q(this))throw eR("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");$(this)}}},{key:"closed",get:function(){return Q(this)?this._closedPromise:Promise.reject(eR("closed"))}}]),e}();function Q(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readIntoRequests"))}function J(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readRequests"))}function K(e,t){var r;e._ownerReadableStream=t,t._reader=e,"readable"===t._state?e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r}):"closed"===t._state?(e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0):(y("errored"===t._state,"state must be errored"),r=t._storedError,e._closedPromise=Promise.reject(r),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromise.catch(function(){}))}function Z(e,t){var r=e._ownerReadableStream;return y(void 0!==r),M(r,t)}function $(e){var t;y(void 0!==e._ownerReadableStream),y(e._ownerReadableStream._reader===e),"readable"===e._ownerReadableStream._state?eP(e,TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):(t=TypeError("Reader was released and can no longer be used to monitor the stream's closedness"),y(void 0===e._closedPromise_resolve),y(void 0===e._closedPromise_reject),e._closedPromise=Promise.reject(t)),e._closedPromise.catch(function(){}),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function ee(e){var t=e._ownerReadableStream;return(y(void 0!==t),t._disturbed=!0,"closed"===t._state)?Promise.resolve(s(void 0,!0)):"errored"===t._state?Promise.reject(t._storedError):(y("readable"===t._state),t._readableStreamController.__pullSteps())}var et=function(){function e(t,r,n,a){if(i(this,e),!1===I(t))throw TypeError("ReadableStreamDefaultController can only be constructed with a ReadableStream instance");if(void 0!==t._readableStreamController)throw TypeError("ReadableStreamDefaultController instances can only be created by the ReadableStream constructor");this._controlledReadableStream=t,this._underlyingSource=r,this._queue=void 0,this._queueTotalSize=void 0,w(this),this._started=!1,this._closeRequested=!1,this._pullAgain=!1,this._pulling=!1;var o=h(n,a);this._strategySize=o.size,this._strategyHWM=o.highWaterMark;var s=this;Promise.resolve(l(r,"start",[this])).then(function(){s._started=!0,y(!1===s._pulling),y(!1===s._pullAgain),en(s)},function(e){es(s,e)}).catch(_)}return n(e,[{key:"close",value:function(){if(!1===er(this))throw eF("close");if(!0===this._closeRequested)throw TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");ei(this)}},{key:"enqueue",value:function(e){if(!1===er(this))throw eF("enqueue");if(!0===this._closeRequested)throw TypeError("stream is closed or draining");var t=this._controlledReadableStream._state;if("readable"!==t)throw TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");return ea(this,e)}},{key:"error",value:function(e){if(!1===er(this))throw eF("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw TypeError("The stream is "+t._state+" and so cannot be errored");eo(this,e)}},{key:"__cancelSteps",value:function(e){return w(this),u(this._underlyingSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(this._queue.length>0){var t=x(this);return!0===this._closeRequested&&0===this._queue.length?W(e):en(this),Promise.resolve(s(t,!1))}var r=j(e);return en(this),r}},{key:"desiredSize",get:function(){if(!1===er(this))throw eF("desiredSize");return ec(this)}}]),e}();function er(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_underlyingSource"))}function en(e){var t;if(!1!=("closed"!==(t=e._controlledReadableStream)._state&&"errored"!==t._state&&!0!==e._closeRequested&&!1!==e._started&&!!(!0===L(t)&&H(t)>0||ec(e)>0))){if(!0===e._pulling){e._pullAgain=!0;return}y(!1===e._pullAgain),e._pulling=!0,u(e._underlyingSource,"pull",[e]).then(function(){if(e._pulling=!1,!0===e._pullAgain)return e._pullAgain=!1,en(e)},function(t){es(e,t)}).catch(_)}}function ei(e){var t=e._controlledReadableStream;y(!1===e._closeRequested),y("readable"===t._state),e._closeRequested=!0,0===e._queue.length&&W(t)}function ea(e,t){var r=e._controlledReadableStream;if(y(!1===e._closeRequested),y("readable"===r._state),!0===L(r)&&H(r)>0)B(r,t,!1);else{var n=1;if(void 0!==e._strategySize){var i=e._strategySize;try{n=i(t)}catch(t){throw es(e,t),t}}try{S(e,t,n)}catch(t){throw es(e,t),t}}en(e)}function eo(e,t){var r=e._controlledReadableStream;y("readable"===r._state),w(e),q(r,t)}function es(e,t){"readable"===e._controlledReadableStream._state&&eo(e,t)}function ec(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}var el=function(){function e(t,r){i(this,e),this._associatedReadableByteStreamController=t,this._view=r}return n(e,[{key:"respond",value:function(e){if(!1===eh(this))throw eU("respond");if(void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");(function(e,t){if(!1===c(t=Number(t)))throw RangeError("bytesWritten must be a finite");y(e._pendingPullIntos.length>0),eS(e,t)})(this._associatedReadableByteStreamController,e)}},{key:"respondWithNewView",value:function(e){if(!1===eh(this))throw eU("respond");if(void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(e))throw TypeError("You can only respond with array buffer views");(function(e,t){y(e._pendingPullIntos.length>0);var r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,eS(e,t.byteLength)})(this._associatedReadableByteStreamController,e)}},{key:"view",get:function(){return this._view}}]),e}(),eu=function(){function e(t,r,n){if(i(this,e),!1===I(t))throw TypeError("ReadableByteStreamController can only be constructed with a ReadableStream instance given a byte source");if(void 0!==t._readableStreamController)throw TypeError("ReadableByteStreamController instances can only be created by the ReadableStream constructor given a byte source");this._controlledReadableStream=t,this._underlyingByteSource=r,this._pullAgain=!1,this._pulling=!1,ep(this),this._queue=this._queueTotalSize=void 0,w(this),this._closeRequested=!1,this._started=!1,this._strategyHWM=f(n);var a=r.autoAllocateChunkSize;if(void 0!==a&&(!1===Number.isInteger(a)||a<=0))throw RangeError("autoAllocateChunkSize must be a positive integer");this._autoAllocateChunkSize=a,this._pendingPullIntos=[];var o=this;Promise.resolve(l(r,"start",[this])).then(function(){o._started=!0,y(!1===o._pulling),y(!1===o._pullAgain),ef(o)},function(e){"readable"===t._state&&eT(o,e)}).catch(_)}return n(e,[{key:"close",value:function(){if(!1===ed(this))throw eO("close");if(!0===this._closeRequested)throw TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");(function(e){var t=e._controlledReadableStream;if(y(!1===e._closeRequested),y("readable"===t._state),e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0&&e._pendingPullIntos[0].bytesFilled>0){var r=TypeError("Insufficient bytes to fill elements in the given buffer");throw eT(e,r),r}W(t)})(this)}},{key:"enqueue",value:function(e){if(!1===ed(this))throw eO("enqueue");if(!0===this._closeRequested)throw TypeError("stream is closed or draining");var t,r,n,i,a,o=this._controlledReadableStream._state;if("readable"!==o)throw TypeError("The stream (in "+o+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(e))throw TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");t=this._controlledReadableStream,y(!1===this._closeRequested),y("readable"===t._state),r=e.buffer,n=e.byteOffset,i=e.byteLength,a=d(r),!0===X(t)?0===H(t)?eb(this,a,n,i):(y(0===this._queue.length),B(t,new Uint8Array(a,n,i),!1)):!0===G(t)?(eb(this,a,n,i),ex(this)):(y(!1===L(t),"stream must not be locked"),eb(this,a,n,i))}},{key:"error",value:function(e){if(!1===ed(this))throw eO("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw TypeError("The stream is "+t._state+" and so cannot be errored");eT(this,e)}},{key:"__cancelSteps",value:function(e){return this._pendingPullIntos.length>0&&(this._pendingPullIntos[0].bytesFilled=0),w(this),u(this._underlyingByteSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(y(!0===X(e)),this._queueTotalSize>0){y(0===H(e));var t=this._queue.shift();this._queueTotalSize-=t.byteLength,e_(this);var r=void 0;try{r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(e){return Promise.reject(e)}return Promise.resolve(s(r,!1))}var n=this._autoAllocateChunkSize;if(void 0!==n){var i=void 0;try{i=new ArrayBuffer(n)}catch(e){return Promise.reject(e)}var a={buffer:i,byteOffset:0,byteLength:n,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(a)}var o=j(e);return ef(this),o}},{key:"byobRequest",get:function(){if(!1===ed(this))throw eO("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var e=this._pendingPullIntos[0],t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled);this._byobRequest=new el(this,t)}return this._byobRequest}},{key:"desiredSize",get:function(){if(!1===ed(this))throw eO("desiredSize");return eD(this)}}]),e}();function ed(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_underlyingByteSource"))}function eh(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController"))}function ef(e){var t;if(!1!=("readable"===(t=e._controlledReadableStream)._state&&!0!==e._closeRequested&&!1!==e._started&&!!(!0===X(t)&&H(t)>0||!0===G(t)&&z(t)>0||eD(e)>0))){if(!0===e._pulling){e._pullAgain=!0;return}y(!1===e._pullAgain),e._pulling=!0,u(e._underlyingByteSource,"pull",[e]).then(function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,ef(e))},function(t){"readable"===e._controlledReadableStream._state&&eT(e,t)}).catch(_)}}function ep(e){eA(e),e._pendingPullIntos=[]}function eg(e,t){y("errored"!==e._state,"state must not be errored");var r,n,i=!1;"closed"===e._state&&(y(0===t.bytesFilled),i=!0);var a=em(t);"default"===t.readerType?B(e,a,i):(y("byob"===t.readerType),r=i,y((n=e._reader)._readIntoRequests.length>0),n._readIntoRequests.shift()._resolve(s(a,r)))}function em(e){var t=e.bytesFilled,r=e.elementSize;return y(t<=e.byteLength),y(t%r==0),new e.ctor(e.buffer,e.byteOffset,t/r)}function eb(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function ev(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),a=t.bytesFilled+i,s=a-a%r,c=i,l=!1;s>n&&(c=s-t.bytesFilled,l=!0);for(var u=e._queue;c>0;){var d=u[0],h=Math.min(c,d.byteLength),f=t.byteOffset+t.bytesFilled;o(t.buffer,f,d.buffer,d.byteOffset,h),d.byteLength===h?u.shift():(d.byteOffset+=h,d.byteLength-=h),e._queueTotalSize-=h,ey(e,h,t),c-=h}return!1===l&&(y(0===e._queueTotalSize,"queue must be empty"),y(t.bytesFilled>0),y(t.bytesFilled<t.elementSize)),l}function ey(e,t,r){y(0===e._pendingPullIntos.length||e._pendingPullIntos[0]===r),eA(e),r.bytesFilled+=t}function e_(e){y("readable"===e._controlledReadableStream._state),0===e._queueTotalSize&&!0===e._closeRequested?W(e._controlledReadableStream):ef(e)}function eA(e){void 0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function ex(e){for(y(!1===e._closeRequested);e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos[0];!0===ev(e,t)&&(ew(e),eg(e._controlledReadableStream,t))}}function eS(e,t){var r=e._pendingPullIntos[0],n=e._controlledReadableStream;if("closed"===n._state){if(0!==t)throw TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function(e,t){t.buffer=d(t.buffer),y(0===t.bytesFilled,"bytesFilled must be 0");var r=e._controlledReadableStream;if(!0===G(r))for(;z(r)>0;)eg(r,ew(e))}(e,r)}else y("readable"===n._state),function(e,t,r){if(r.bytesFilled+t>r.byteLength)throw RangeError("bytesWritten out of range");if(ey(e,t,r),!(r.bytesFilled<r.elementSize)){ew(e);var n=r.bytesFilled%r.elementSize;if(n>0){var i=r.byteOffset+r.bytesFilled,a=r.buffer.slice(i-n,i);eb(e,a,0,a.byteLength)}r.buffer=d(r.buffer),r.bytesFilled-=n,eg(e._controlledReadableStream,r),ex(e)}}(e,t,r)}function ew(e){var t=e._pendingPullIntos.shift();return eA(e),t}function eT(e,t){var r=e._controlledReadableStream;y("readable"===r._state),ep(e),w(e),q(r,t)}function eD(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function eC(e){return TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function ek(e){return TypeError("Cannot "+e+" a stream using a released reader")}function eE(e){return TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}function eP(e,t){y(void 0!==e._closedPromise_resolve),y(void 0!==e._closedPromise_reject),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function eR(e){return TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function eF(e){return TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function eU(e){return TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function eO(e){return TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}},function(e,t,r){var n=r(6),i=r(4),a=r(2);t.TransformStream=n.TransformStream,t.ReadableStream=i.ReadableStream,t.IsReadableStreamDisturbed=i.IsReadableStreamDisturbed,t.ReadableStreamDefaultControllerClose=i.ReadableStreamDefaultControllerClose,t.ReadableStreamDefaultControllerEnqueue=i.ReadableStreamDefaultControllerEnqueue,t.ReadableStreamDefaultControllerError=i.ReadableStreamDefaultControllerError,t.ReadableStreamDefaultControllerGetDesiredSize=i.ReadableStreamDefaultControllerGetDesiredSize,t.AcquireWritableStreamDefaultWriter=a.AcquireWritableStreamDefaultWriter,t.IsWritableStream=a.IsWritableStream,t.IsWritableStreamLocked=a.IsWritableStreamLocked,t.WritableStream=a.WritableStream,t.WritableStreamAbort=a.WritableStreamAbort,t.WritableStreamDefaultControllerError=a.WritableStreamDefaultControllerError,t.WritableStreamDefaultWriterCloseWithErrorPropagation=a.WritableStreamDefaultWriterCloseWithErrorPropagation,t.WritableStreamDefaultWriterRelease=a.WritableStreamDefaultWriterRelease,t.WritableStreamDefaultWriterWrite=a.WritableStreamDefaultWriterWrite},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(1).assert,o=r(0),s=o.InvokeOrNoop,c=o.PromiseInvokeOrPerformFallback,l=o.PromiseInvokeOrNoop,u=o.typeIsObject,d=r(4),h=d.ReadableStream,f=d.ReadableStreamDefaultControllerClose,p=d.ReadableStreamDefaultControllerEnqueue,g=d.ReadableStreamDefaultControllerError,m=d.ReadableStreamDefaultControllerGetDesiredSize,b=r(2),v=b.WritableStream,y=b.WritableStreamDefaultControllerError;function _(e,t){if(!0===e._errored)throw TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw TypeError("Readable side is already closed");var r=e._readableController;try{p(r,t)}catch(t){throw e._readableClosed=!0,x(e,t),e._storedError}!0==0>=m(r)&&!1===e._backpressure&&T(e,!0)}function A(e){a(!1===e._errored),a(!1===e._readableClosed);try{f(e._readableController)}catch(e){a(!1)}e._readableClosed=!0}function x(e,t){!1===e._errored&&S(e,t)}function S(e,t){a(!1===e._errored),e._errored=!0,e._storedError=t,!1===e._writableDone&&y(e._writableController,t),!1===e._readableClosed&&g(e._readableController,t)}function w(e){return(a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!1===e._backpressure)?Promise.resolve():(a(!0===e._backpressure,"_backpressure should have been initialized"),e._backpressureChangePromise)}function T(e,t){a(e._backpressure!==t,"TransformStreamSetBackpressure() should be called only when backpressure is changed"),void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(t),e._backpressureChangePromise=new Promise(function(t){e._backpressureChangePromise_resolve=t}),e._backpressureChangePromise.then(function(e){a(e!==t,"_backpressureChangePromise should be fulfilled only when backpressure is changed")}),e._backpressure=t}function D(e,t){return _(t._controlledTransformStream,e),Promise.resolve()}function C(e){return!!(u(e)&&Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream"))}function k(e){return!!(u(e)&&Object.prototype.hasOwnProperty.call(e,"_transformStreamController"))}var E=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._writableController=e,this._startPromise.then(function(){return w(t)})}},{key:"write",value:function(e){var t,r;return a(!1===(t=this._transformStream)._errored),a(!1===t._transforming),a(!1===t._backpressure),t._transforming=!0,c(t._transformer,"transform",[e,r=t._transformStreamController],D,[e,r]).then(function(){return t._transforming=!1,w(t)},function(e){return x(t,e),Promise.reject(e)})}},{key:"abort",value:function(){var e=this._transformStream;e._writableDone=!0,S(e,TypeError("Writable side aborted"))}},{key:"close",value:function(){var e=this._transformStream;return a(!1===e._transforming),e._writableDone=!0,l(e._transformer,"flush",[e._transformStreamController]).then(function(){return!0===e._errored?Promise.reject(e._storedError):(!1===e._readableClosed&&A(e),Promise.resolve())}).catch(function(t){return x(e,t),Promise.reject(e._storedError)})}}]),e}(),P=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._readableController=e,this._startPromise.then(function(){return(a(void 0!==t._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!0===t._backpressure)?Promise.resolve():(a(!1===t._backpressure,"_backpressure should have been initialized"),t._backpressureChangePromise)})}},{key:"pull",value:function(){var e=this._transformStream;return a(!0===e._backpressure,"pull() should be never called while _backpressure is false"),a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),T(e,!1),e._backpressureChangePromise}},{key:"cancel",value:function(){var e=this._transformStream;e._readableClosed=!0,S(e,TypeError("Readable side canceled"))}}]),e}(),R=function(){function e(t){if(i(this,e),!1===k(t))throw TypeError("TransformStreamDefaultController can only be constructed with a TransformStream instance");if(void 0!==t._transformStreamController)throw TypeError("TransformStreamDefaultController instances can only be created by the TransformStream constructor");this._controlledTransformStream=t}return n(e,[{key:"enqueue",value:function(e){if(!1===C(this))throw U("enqueue");_(this._controlledTransformStream,e)}},{key:"close",value:function(){if(!1===C(this))throw U("close");!function(e){if(!0===e._errored)throw TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw TypeError("Readable side is already closed");A(e)}(this._controlledTransformStream)}},{key:"error",value:function(e){if(!1===C(this))throw U("error");!function(e,t){if(!0===e._errored)throw TypeError("TransformStream is already errored");S(e,t)}(this._controlledTransformStream,e)}},{key:"desiredSize",get:function(){if(!1===C(this))throw U("desiredSize");return m(this._controlledTransformStream._readableController)}}]),e}(),F=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e),this._transformer=t;var r=t.readableStrategy,n=t.writableStrategy;this._transforming=!1,this._errored=!1,this._storedError=void 0,this._writableController=void 0,this._readableController=void 0,this._transformStreamController=void 0,this._writableDone=!1,this._readableClosed=!1,this._backpressure=void 0,this._backpressureChangePromise=void 0,this._backpressureChangePromise_resolve=void 0,this._transformStreamController=new R(this);var o=void 0,c=new Promise(function(e){o=e}),l=new P(this,c);this._readable=new h(l,r);var u=new E(this,c);this._writable=new v(u,n),a(void 0!==this._writableController),a(void 0!==this._readableController),T(this,0>=m(this._readableController));var d=this,f=s(t,"start",[d._transformStreamController]);o(f),c.catch(function(e){!1===d._errored&&(d._errored=!0,d._storedError=e)})}return n(e,[{key:"readable",get:function(){if(!1===k(this))throw O("readable");return this._readable}},{key:"writable",get:function(){if(!1===k(this))throw O("writable");return this._writable}}]),e}();function U(e){return TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function O(e){return TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}e.exports={TransformStream:F}},function(e,t,r){e.exports=r(5)}]))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFJS=t.globalScope=void 0;var n,i=r(69),a=r(13),o=r(0),s=r(72),c=(n=r(20))&&n.__esModule?n:{default:n},l=r(71),u=r(73),d=r(74);c.default.PDFJS||(c.default.PDFJS={});var h=c.default.PDFJS;h.version="1.10.88",h.build="c62a1938",h.pdfBug=!1,void 0!==h.verbosity&&(0,o.setVerbosityLevel)(h.verbosity),delete h.verbosity,Object.defineProperty(h,"verbosity",{get:function(){return(0,o.getVerbosityLevel)()},set:function(e){(0,o.setVerbosityLevel)(e)},enumerable:!0,configurable:!0}),h.VERBOSITY_LEVELS=o.VERBOSITY_LEVELS,h.OPS=o.OPS,h.UNSUPPORTED_FEATURES=o.UNSUPPORTED_FEATURES,h.isValidUrl=a.isValidUrl,h.shadow=o.shadow,h.createBlob=o.createBlob,h.createObjectURL=function(e,t){return(0,o.createObjectURL)(e,t,h.disableCreateObjectURL)},Object.defineProperty(h,"isLittleEndian",{configurable:!0,get:function(){return(0,o.shadow)(h,"isLittleEndian",(0,o.isLittleEndian)())}}),h.removeNullCharacters=o.removeNullCharacters,h.PasswordResponses=o.PasswordResponses,h.PasswordException=o.PasswordException,h.UnknownErrorException=o.UnknownErrorException,h.InvalidPDFException=o.InvalidPDFException,h.MissingPDFException=o.MissingPDFException,h.UnexpectedResponseException=o.UnexpectedResponseException,h.Util=o.Util,h.PageViewport=o.PageViewport,h.createPromiseCapability=o.createPromiseCapability,h.maxImageSize=void 0===h.maxImageSize?-1:h.maxImageSize,h.cMapUrl=void 0===h.cMapUrl?null:h.cMapUrl,h.cMapPacked=void 0!==h.cMapPacked&&h.cMapPacked,h.disableFontFace=void 0!==h.disableFontFace&&h.disableFontFace,h.imageResourcesPath=void 0===h.imageResourcesPath?"":h.imageResourcesPath,h.disableWorker=void 0!==h.disableWorker&&h.disableWorker,h.workerSrc=void 0===h.workerSrc?null:h.workerSrc,h.workerPort=void 0===h.workerPort?null:h.workerPort,h.disableRange=void 0!==h.disableRange&&h.disableRange,h.disableStream=void 0!==h.disableStream&&h.disableStream,h.disableAutoFetch=void 0!==h.disableAutoFetch&&h.disableAutoFetch,h.pdfBug=void 0!==h.pdfBug&&h.pdfBug,h.postMessageTransfers=void 0===h.postMessageTransfers||h.postMessageTransfers,h.disableCreateObjectURL=void 0!==h.disableCreateObjectURL&&h.disableCreateObjectURL,h.disableWebGL=void 0===h.disableWebGL||h.disableWebGL,h.externalLinkTarget=void 0===h.externalLinkTarget?a.LinkTarget.NONE:h.externalLinkTarget,h.externalLinkRel=void 0===h.externalLinkRel?a.DEFAULT_LINK_REL:h.externalLinkRel,h.isEvalSupported=void 0===h.isEvalSupported||h.isEvalSupported,h.pdfjsNext=void 0!==h.pdfjsNext&&h.pdfjsNext;var f=h.openExternalLinksInNewWindow;delete h.openExternalLinksInNewWindow,Object.defineProperty(h,"openExternalLinksInNewWindow",{get:function(){return h.externalLinkTarget===a.LinkTarget.BLANK},set:function(e){if(e&&(0,o.deprecated)('PDFJS.openExternalLinksInNewWindow, please use "PDFJS.externalLinkTarget = PDFJS.LinkTarget.BLANK" instead.'),h.externalLinkTarget!==a.LinkTarget.NONE){(0,o.warn)("PDFJS.externalLinkTarget is already initialized");return}h.externalLinkTarget=e?a.LinkTarget.BLANK:a.LinkTarget.NONE},enumerable:!0,configurable:!0}),f&&(h.openExternalLinksInNewWindow=f),h.getDocument=i.getDocument,h.LoopbackPort=i.LoopbackPort,h.PDFDataRangeTransport=i.PDFDataRangeTransport,h.PDFWorker=i.PDFWorker,h.hasCanvasTypedArrays=!0,h.CustomStyle=a.CustomStyle,h.LinkTarget=a.LinkTarget,h.addLinkAttributes=a.addLinkAttributes,h.getFilenameFromUrl=a.getFilenameFromUrl,h.isExternalLinkTargetSet=a.isExternalLinkTargetSet,h.AnnotationLayer=s.AnnotationLayer,h.renderTextLayer=u.renderTextLayer,h.Metadata=l.Metadata,h.SVGGraphics=d.SVGGraphics,h.UnsupportedManager=i._UnsupportedManager,t.globalScope=c.default,t.PDFJS=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var n=r(0);function i(e){this.docId=e,this.styleElement=null,this.nativeFontFaces=[],this.loadTestFontId=0,this.loadingContext={requests:[],nextRequestId:0}}i.prototype={insertRule:function(e){var t=this.styleElement;t||((t=this.styleElement=document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_"+this.docId,document.documentElement.getElementsByTagName("head")[0].appendChild(t));var r=t.sheet;r.insertRule(e,r.cssRules.length)},clear:function(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null),this.nativeFontFaces.forEach(function(e){document.fonts.delete(e)}),this.nativeFontFaces.length=0}},Object.defineProperty(i.prototype,"loadTestFont",{get:function(){return(0,n.shadow)(this,"loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))},configurable:!0}),i.prototype.addNativeFontFace=function(e){this.nativeFontFaces.push(e),document.fonts.add(e)},i.prototype.bind=function(e,t){for(var r=[],a=[],o=[],s=function(e){return e.loaded.catch(function(t){(0,n.warn)('Failed to load font "'+e.family+'": '+t)})},c=i.isFontLoadingAPISupported&&!i.isSyncFontLoadingSupported,l=0,u=e.length;l<u;l++){var d=e[l];if(!d.attached&&!1!==d.loading){if(d.attached=!0,c){var h=d.createNativeFontFace();h&&(this.addNativeFontFace(h),o.push(s(h)))}else{var f=d.createFontFaceRule();f&&(this.insertRule(f),r.push(f),a.push(d))}}}var p=this.queueLoadingCallback(t);c?Promise.all(o).then(function(){p.complete()}):r.length>0&&!i.isSyncFontLoadingSupported?this.prepareFontLoadEvent(r,a,p):p.complete()},i.prototype.queueLoadingCallback=function(e){var t=this.loadingContext,r={id:"pdfjs-font-loading-"+t.nextRequestId++,complete:function(){for((0,n.assert)(!r.end,"completeRequest() cannot be called twice"),r.end=Date.now();t.requests.length>0&&t.requests[0].end;)setTimeout(t.requests.shift().callback,0)},callback:e,started:Date.now()};return t.requests.push(r),r},i.prototype.prepareFontLoadEvent=function(e,t,r){function i(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function a(e,t,r,n){return e.substr(0,t)+n+e.substr(t+r)}var o,s,c=document.createElement("canvas");c.width=1,c.height=1;var l=c.getContext("2d"),u=0,d="lt"+Date.now()+this.loadTestFontId++,h=this.loadTestFont,f=i(h=a(h,976,d.length,d),16);for(o=0,s=d.length-3;o<s;o+=4)f=f-0x58585858+i(d,o)|0;o<d.length&&(f=f-0x58585858+i(d+"XXX",o)|0);var p='@font-face { font-family:"'+d+'";src:url(data:font/opentype;base64,'+btoa(h=a(h,16,4,(0,n.string32)(f)))+");}";this.insertRule(p);var g=[];for(o=0,s=t.length;o<s;o++)g.push(t[o].loadedName);g.push(d);var m=document.createElement("div");for(m.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;"),o=0,s=g.length;o<s;++o){var b=document.createElement("span");b.textContent="Hi",b.style.fontFamily=g[o],m.appendChild(b)}document.body.appendChild(m),function e(t,r){if(++u>30){(0,n.warn)("Load test font never loaded."),r();return}if(l.font="30px "+t,l.fillText(".",0,20),l.getImageData(0,0,1,1).data[3]>0){r();return}setTimeout(e.bind(null,t,r))}(d,function(){document.body.removeChild(m),r.complete()})},i.isFontLoadingAPISupported="undefined"!=typeof document&&!!document.fonts;var a=function(){if("undefined"==typeof navigator)return!0;var e=!1,t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);return t&&t[1]>=14&&(e=!0),e};Object.defineProperty(i,"isSyncFontLoadingSupported",{get:function(){return(0,n.shadow)(i,"isSyncFontLoadingSupported",a())},enumerable:!0,configurable:!0});var o={get value(){return(0,n.shadow)(this,"value",(0,n.isEvalSupported)())}},s=function(){function e(e,t){for(var r in this.compiledGlyphs=Object.create(null),e)this[r]=e[r];this.options=t}return e.prototype={createNativeFontFace:function(){if(!this.data)return null;if(this.options.disableFontFace)return this.disableFontFace=!0,null;var e=new FontFace(this.loadedName,this.data,{});return this.options.fontRegistry&&this.options.fontRegistry.registerFont(this),e},createFontFaceRule:function(){if(!this.data)return null;if(this.options.disableFontFace)return this.disableFontFace=!0,null;var e=(0,n.bytesToString)(new Uint8Array(this.data)),t=this.loadedName,r="url(data:"+this.mimetype+";base64,"+btoa(e)+");",i='@font-face { font-family:"'+t+'";src:'+r+"}";return this.options.fontRegistry&&this.options.fontRegistry.registerFont(this,r),i},getPathGenerator:function(e,t){if(!(t in this.compiledGlyphs)){var r=e.get(this.loadedName+"_path_"+t);if(this.options.isEvalSupported&&o.value){var n,i,a,s,c="";for(i=0,a=r.length;i<a;i++)s=void 0!==(n=r[i]).args?n.args.join(","):"",c+="c."+n.cmd+"("+s+");\n";this.compiledGlyphs[t]=Function("c","size",c)}else this.compiledGlyphs[t]=function(e,t){for(i=0,a=r.length;i<a;i++)"scale"===(n=r[i]).cmd&&(n.args=[t,-t]),e[n.cmd].apply(e,n.args)}}return this.compiledGlyphs[t]}},e}();t.FontFaceObject=s,t.FontLoader=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var n=r(0),i=r(120),a=r(70),o={get value(){return(0,n.shadow)(o,"value",(0,n.isLittleEndian)())}};function s(e){e.mozCurrentTransform||(e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[],Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){var e=this._transformMatrix,t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],o=e[5],s=t*i-r*n,c=r*n-t*i;return[i/s,r/c,n/c,t/s,(i*a-n*o)/c,(r*a-t*o)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var r=this._transformMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5],this._originalTranslate(e,t)},e.scale=function(e,t){var r=this._transformMatrix;r[0]=r[0]*e,r[1]=r[1]*e,r[2]=r[2]*t,r[3]=r[3]*t,this._originalScale(e,t)},e.transform=function(t,r,n,i,a,o){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*r,s[1]*t+s[3]*r,s[0]*n+s[2]*i,s[1]*n+s[3]*i,s[0]*a+s[2]*o+s[4],s[1]*a+s[3]*o+s[5]],e._originalTransform(t,r,n,i,a,o)},e.setTransform=function(t,r,n,i,a,o){this._transformMatrix=[t,r,n,i,a,o],e._originalSetTransform(t,r,n,i,a,o)},e.rotate=function(e){var t=Math.cos(e),r=Math.sin(e),n=this._transformMatrix;this._transformMatrix=[n[0]*t+n[2]*r,n[1]*t+n[3]*r,-(n[0]*r)+n[2]*t,-(n[1]*r)+n[3]*t,n[4],n[5]],this._originalRotate(e)})}var c=function(){function e(e){this.canvasFactory=e,this.cache=Object.create(null)}return e.prototype={getCanvas:function(e,t,r,n){var i;return void 0!==this.cache[e]?(i=this.cache[e],this.canvasFactory.reset(i,t,r),i.context.setTransform(1,0,0,1,0,0)):(i=this.canvasFactory.create(t,r),this.cache[e]=i),n&&s(i.context),i},clear:function(){for(var e in this.cache){var t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}},e}(),l=function(){function e(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=n.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=n.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}(),u=function(){function e(e,t,r,n,i){this.ctx=e,this.current=new l,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=r,this.canvasFactory=n,this.imageLayer=i,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new c(this.canvasFactory),e&&s(e),this.cachedGetSinglePixelWidth=null}function t(e,t){if("undefined"!=typeof ImageData&&t instanceof ImageData){e.putImageData(t,0,0);return}var r,i,a,s,c,l=t.height,u=t.width,d=l%16,h=(l-d)/16,f=0===d?h:h+1,p=e.createImageData(u,16),g=0,m=t.data,b=p.data;if(t.kind===n.ImageKind.GRAYSCALE_1BPP){var v=m.byteLength,y=new Uint32Array(b.buffer,0,b.byteLength>>2),_=y.length,A=u+7>>3,x=o.value?0xff000000:255;for(r=0;r<f;r++){for(i=0,a=r<h?16:d,c=0;i<a;i++){for(var S=v-g,w=0,T=S>A?u:8*S-7,D=-8&T,C=0,k=0;w<D;w+=8)k=m[g++],y[c++]=128&k?0xffffffff:x,y[c++]=64&k?0xffffffff:x,y[c++]=32&k?0xffffffff:x,y[c++]=16&k?0xffffffff:x,y[c++]=8&k?0xffffffff:x,y[c++]=4&k?0xffffffff:x,y[c++]=2&k?0xffffffff:x,y[c++]=1&k?0xffffffff:x;for(;w<T;w++)0===C&&(k=m[g++],C=128),y[c++]=k&C?0xffffffff:x,C>>=1}for(;c<_;)y[c++]=0;e.putImageData(p,0,16*r)}}else if(t.kind===n.ImageKind.RGBA_32BPP){for(r=0,i=0,s=64*u;r<h;r++)b.set(m.subarray(g,g+s)),g+=s,e.putImageData(p,0,i),i+=16;r<f&&(s=u*d*4,b.set(m.subarray(g,g+s)),e.putImageData(p,0,i))}else if(t.kind===n.ImageKind.RGB_24BPP)for(r=0,s=u*(a=16);r<f;r++){for(r>=h&&(s=u*(a=d)),c=0,i=s;i--;)b[c++]=m[g++],b[c++]=m[g++],b[c++]=m[g++],b[c++]=255;e.putImageData(p,0,16*r)}else throw Error("bad image kind: "+t.kind)}function r(e,t){for(var r=t.height,n=t.width,i=r%16,a=(r-i)/16,o=0===i?a:a+1,s=e.createImageData(n,16),c=0,l=t.data,u=s.data,d=0;d<o;d++){for(var h=d<a?16:i,f=3,p=0;p<h;p++)for(var g=0,m=0;m<n;m++){if(!g){var b=l[c++];g=128}u[f]=b&g?0:255,f+=4,g>>=1}e.putImageData(s,0,16*d)}}function u(e,t){for(var r=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],n=0,i=r.length;n<i;n++){var a=r[n];void 0!==e[a]&&(t[a]=e[a])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function d(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function h(e,t,r){for(var n=e.length,i=1/255,a=3;a<n;a+=4){var o=r?r[e[a]]:e[a];t[a]=t[a]*o*i|0}}function f(e,t,r){for(var n=e.length,i=3;i<n;i+=4){var a=77*e[i-3]+152*e[i-2]+28*e[i-1];t[i]=r?t[i]*r[a>>8]>>8:t[i]*a>>16}}function p(e,t,r){var n=t.canvas,i=t.context;e.setTransform(t.scaleX,0,0,t.scaleY,t.offsetX,t.offsetY);var o=t.backdrop||null;if(!t.transferMap&&a.WebGLUtils.isEnabled){var s=a.WebGLUtils.composeSMask(r.canvas,n,{subtype:t.subtype,backdrop:o});e.setTransform(1,0,0,1,0,0),e.drawImage(s,t.offsetX,t.offsetY);return}(function(e,t,r,n,i,a,o){var s,c=!!a,l=c?a[0]:0,u=c?a[1]:0,d=c?a[2]:0;s="Luminosity"===i?f:h;for(var p=Math.min(n,Math.ceil(1048576/r)),g=0;g<n;g+=p){var m=Math.min(p,n-g),b=e.getImageData(0,g,r,m),v=t.getImageData(0,g,r,m);c&&function(e,t,r,n){for(var i=e.length,a=3;a<i;a+=4){var o=e[a];if(0===o)e[a-3]=t,e[a-2]=r,e[a-1]=n;else if(o<255){var s=255-o;e[a-3]=e[a-3]*o+t*s>>8,e[a-2]=e[a-2]*o+r*s>>8,e[a-1]=e[a-1]*o+n*s>>8}}}(b.data,l,u,d),s(b.data,v.data,o),e.putImageData(v,0,g)}})(i,r,n.width,n.height,t.subtype,o,t.transferMap),e.drawImage(n,0,0)}var g=["butt","round","square"],m=["miter","round","bevel"],b={},v={};for(var y in e.prototype={beginDrawing:function(e){var t=e.transform,r=e.viewport,n=e.transparency,i=e.background,a=this.ctx.canvas.width,o=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=(void 0===i?null:i)||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,a,o),this.ctx.restore(),n){var s=this.cachedCanvases.getCanvas("transparent",a,o,!0);this.compositeCtx=this.ctx,this.transparentCanvas=s.canvas,this.ctx=s.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),d(this.ctx),t&&this.ctx.transform.apply(this.ctx,t),this.ctx.transform.apply(this.ctx,r.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(e,t,r,i){var a,o=e.argsArray,s=e.fnArray,c=t||0,l=o.length;if(l===c)return c;for(var u=l-c>10&&"function"==typeof r,d=u?Date.now()+15:0,h=0,f=this.commonObjs,p=this.objs;;){if(void 0!==i&&c===i.nextBreakPoint)return i.breakIt(c,r),c;if((a=s[c])!==n.OPS.dependency)this[a].apply(this,o[c]);else for(var g=o[c],m=0,b=g.length;m<b;m++){var v=g[m],y="g"===v[0]&&"_"===v[1]?f:p;if(!y.isResolved(v))return y.get(v,r),c}if(++c===l)return c;if(u&&++h>10){if(Date.now()>d)return r(),c;h=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),a.WebGLUtils.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e},setLineCap:function(e){this.ctx.lineCap=g[e]},setLineJoin:function(e){this.ctx.lineJoin=m[e]},setMiterLimit:function(e){this.ctx.miterLimit=e},setDash:function(e,t){var r=this.ctx;void 0!==r.setLineDash&&(r.setLineDash(e),r.lineDashOffset=t)},setRenderingIntent:function(e){},setFlatness:function(e){},setGState:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],i=n[0],a=n[1];switch(i){case"LW":this.setLineWidth(a);break;case"LC":this.setLineCap(a);break;case"LJ":this.setLineJoin(a);break;case"ML":this.setMiterLimit(a);break;case"D":this.setDash(a[0],a[1]);break;case"RI":this.setRenderingIntent(a);break;case"FL":this.setFlatness(a);break;case"Font":this.setFont(a[0],a[1]);break;case"CA":this.current.strokeAlpha=n[1];break;case"ca":this.current.fillAlpha=n[1],this.ctx.globalAlpha=n[1];break;case"BM":this.ctx.globalCompositeOperation=a;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=a?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function(){var e=this.current.activeSMask,t=e.canvas.width,r=e.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,t,r,!0),a=this.ctx,o=a.mozCurrentTransform;this.ctx.save();var s=i.context;s.scale(1/e.scaleX,1/e.scaleY),s.translate(-e.offsetX,-e.offsetY),s.transform.apply(s,o),e.startTransformInverse=s.mozCurrentTransformInverse,u(a,s),this.ctx=s,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(a),this.groupLevel++},suspendSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),p(this.ctx,this.current.activeSMask,e),this.ctx.restore(),this.ctx.save(),u(e,this.ctx),this.current.resumeSMaskCtx=e;var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t),e.save(),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.restore()},resumeSMaskGroup:function(){var e=this.current.resumeSMaskCtx,t=this.ctx;this.ctx=e,this.groupStack.push(t),this.groupLevel++},endSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),p(this.ctx,this.current.activeSMask,e),this.ctx.restore(),u(e,this.ctx);var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t)},save:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null!==this.current.activeSMask&&(0===this.stateStack.length||this.stateStack[this.stateStack.length-1].activeSMask!==this.current.activeSMask)&&this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this.cachedGetSinglePixelWidth=null)},transform:function(e,t,r,n,i,a){this.ctx.transform(e,t,r,n,i,a),this.cachedGetSinglePixelWidth=null},constructPath:function(e,t){for(var r=this.ctx,i=this.current,a=i.x,o=i.y,s=0,c=0,l=e.length;s<l;s++)switch(0|e[s]){case n.OPS.rectangle:a=t[c++],o=t[c++];var u=t[c++],d=t[c++];0===u&&(u=this.getSinglePixelWidth()),0===d&&(d=this.getSinglePixelWidth());var h=a+u,f=o+d;this.ctx.moveTo(a,o),this.ctx.lineTo(h,o),this.ctx.lineTo(h,f),this.ctx.lineTo(a,f),this.ctx.lineTo(a,o),this.ctx.closePath();break;case n.OPS.moveTo:a=t[c++],o=t[c++],r.moveTo(a,o);break;case n.OPS.lineTo:a=t[c++],o=t[c++],r.lineTo(a,o);break;case n.OPS.curveTo:a=t[c+4],o=t[c+5],r.bezierCurveTo(t[c],t[c+1],t[c+2],t[c+3],a,o),c+=6;break;case n.OPS.curveTo2:r.bezierCurveTo(a,o,t[c],t[c+1],t[c+2],t[c+3]),a=t[c+2],o=t[c+3],c+=4;break;case n.OPS.curveTo3:a=t[c+2],o=t[c+3],r.bezierCurveTo(t[c],t[c+1],a,o,a,o),c+=4;break;case n.OPS.closePath:r.closePath()}i.setCurrentPoint(a,o)},closePath:function(){this.ctx.closePath()},stroke:function(e){e=void 0===e||e;var t=this.ctx,r=this.current.strokeColor;t.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth),t.globalAlpha=this.current.strokeAlpha,r&&r.hasOwnProperty("type")&&"Pattern"===r.type?(t.save(),t.strokeStyle=r.getPattern(t,this),t.stroke(),t.restore()):t.stroke(),e&&this.consumePath(),t.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(e){e=void 0===e||e;var t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,i=!1;n&&(t.save(),this.baseTransform&&t.setTransform.apply(t,this.baseTransform),t.fillStyle=r.getPattern(t,this),i=!0),this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill(),i&&t.restore(),e&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=b},eoClip:function(){this.pendingClip=v},beginText:function(){this.current.textMatrix=n.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0===e){t.beginPath();return}t.save(),t.beginPath();for(var r=0;r<e.length;r++){var n=e[r];t.setTransform.apply(t,n.transform),t.translate(n.x,n.y),n.addToPath(t,n.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths},setCharSpacing:function(e){this.current.charSpacing=e},setWordSpacing:function(e){this.current.wordSpacing=e},setHScale:function(e){this.current.textHScale=e/100},setLeading:function(e){this.current.leading=-e},setFont:function(e,t){var r=this.commonObjs.get(e),i=this.current;if(!r)throw Error("Can't find font for "+e);if(i.fontMatrix=r.fontMatrix?r.fontMatrix:n.FONT_IDENTITY_MATRIX,(0===i.fontMatrix[0]||0===i.fontMatrix[3])&&(0,n.warn)("Invalid font matrix for font "+e),t<0?(t=-t,i.fontDirection=-1):i.fontDirection=1,this.current.font=r,this.current.fontSize=t,!r.isType3Font){var a=r.loadedName||"sans-serif",o=r.black?"900":r.bold?"bold":"normal",s=r.italic?"italic":"normal",c='"'+a+'", '+r.fallbackName,l=t<16?16:t>100?100:t;this.current.fontSizeScale=t/l,this.ctx.font=s+" "+o+" "+l+"px "+c}},setTextRenderingMode:function(e){this.current.textRenderingMode=e},setTextRise:function(e){this.current.textRise=e},moveText:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},setTextMatrix:function(e,t,r,n,i,a){this.current.textMatrix=[e,t,r,n,i,a],this.current.textMatrixScale=Math.sqrt(e*e+t*t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(e,t,r){var i,a=this.ctx,o=this.current,s=o.font,c=o.textRenderingMode,l=o.fontSize/o.fontSizeScale,u=c&n.TextRenderingMode.FILL_STROKE_MASK,d=!!(c&n.TextRenderingMode.ADD_TO_PATH_FLAG);(s.disableFontFace||d)&&(i=s.getPathGenerator(this.commonObjs,e)),s.disableFontFace?(a.save(),a.translate(t,r),a.beginPath(),i(a,l),(u===n.TextRenderingMode.FILL||u===n.TextRenderingMode.FILL_STROKE)&&a.fill(),(u===n.TextRenderingMode.STROKE||u===n.TextRenderingMode.FILL_STROKE)&&a.stroke(),a.restore()):((u===n.TextRenderingMode.FILL||u===n.TextRenderingMode.FILL_STROKE)&&a.fillText(e,t,r),(u===n.TextRenderingMode.STROKE||u===n.TextRenderingMode.FILL_STROKE)&&a.strokeText(e,t,r)),d&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:a.mozCurrentTransform,x:t,y:r,fontSize:l,addToPath:i})},get isFontSubpixelAAEnabled(){var _=this.canvasFactory.create(10,10).context;_.scale(1.5,1),_.fillText("I",0,10);for(var A=_.getImageData(0,0,10,10).data,x=!1,S=3;S<A.length;S+=4)if(A[S]>0&&A[S]<255){x=!0;break}return(0,n.shadow)(this,"isFontSubpixelAAEnabled",x)},showText:function(e){var t=this.current,r=t.font;if(r.isType3Font)return this.showType3Text(e);var i=t.fontSize;if(0!==i){var a=this.ctx,o=t.fontSizeScale,s=t.charSpacing,c=t.wordSpacing,l=t.fontDirection,u=t.textHScale*l,d=e.length,h=r.vertical,f=h?1:-1,p=r.defaultVMetrics,g=i*t.fontMatrix[0],m=t.textRenderingMode===n.TextRenderingMode.FILL&&!r.disableFontFace;a.save(),a.transform.apply(a,t.textMatrix),a.translate(t.x,t.y+t.textRise),t.patternFill&&(a.fillStyle=t.fillColor.getPattern(a,this)),l>0?a.scale(u,-1):a.scale(u,1);var b=t.lineWidth,v=t.textMatrixScale;if(0===v||0===b){var y=t.textRenderingMode&n.TextRenderingMode.FILL_STROKE_MASK;(y===n.TextRenderingMode.STROKE||y===n.TextRenderingMode.FILL_STROKE)&&(this.cachedGetSinglePixelWidth=null,b=.65*this.getSinglePixelWidth())}else b/=v;1!==o&&(a.scale(o,o),b/=o),a.lineWidth=b;var _,A=0;for(_=0;_<d;++_){var x,S,w,T,D,C,k,E=e[_];if((0,n.isNum)(E)){A+=f*E*i/1e3;continue}var P=!1,R=(E.isSpace?c:0)+s,F=E.fontChar,U=E.accent,O=E.width;if(h?(D=E.vmetric||p,C=-(C=E.vmetric?D[1]:.5*O)*g,k=D[2]*g,O=D?-D[0]:O,x=C/o,S=(A+k)/o):(x=A/o,S=0),r.remeasure&&O>0){var I=1e3*a.measureText(F).width/i*o;if(O<I&&this.isFontSubpixelAAEnabled){var L=O/I;P=!0,a.save(),a.scale(L,1),x/=L}else O!==I&&(x+=(O-I)/2e3*i/o)}(E.isInFont||r.missingFile)&&(m&&!U?a.fillText(F,x,S):(this.paintChar(F,x,S),U&&(w=x+U.offset.x/o,T=S-U.offset.y/o,this.paintChar(U.fontChar,w,T)))),A+=O*g+R*l,P&&a.restore()}h?t.y-=A*u:t.x+=A*u,a.restore()}},showType3Text:function(e){var t,r,i,a,o=this.ctx,s=this.current,c=s.font,l=s.fontSize,u=s.fontDirection,d=c.vertical?1:-1,h=s.charSpacing,f=s.wordSpacing,p=s.textHScale*u,g=s.fontMatrix||n.FONT_IDENTITY_MATRIX,m=e.length;if(s.textRenderingMode!==n.TextRenderingMode.INVISIBLE&&0!==l){for(this.cachedGetSinglePixelWidth=null,o.save(),o.transform.apply(o,s.textMatrix),o.translate(s.x,s.y),o.scale(p,u),t=0;t<m;++t){if(r=e[t],(0,n.isNum)(r)){a=d*r*l/1e3,this.ctx.translate(a,0),s.x+=a*p;continue}var b=(r.isSpace?f:0)+h,v=c.charProcOperatorList[r.operatorListId];if(!v){(0,n.warn)('Type3 character "'+r.operatorListId+'" is not available.');continue}this.processingType3=r,this.save(),o.scale(l,l),o.transform.apply(o,g),this.executeOperatorList(v),this.restore(),i=n.Util.applyTransform([r.width,0],g)[0]*l+b,o.translate(i,0),s.x+=i*p}o.restore(),this.processingType3=null}},setCharWidth:function(e,t){},setCharWidthAndBounds:function(e,t,r,n,i,a){this.ctx.rect(r,n,i-r,a-n),this.clip(),this.endPath()},getColorN_Pattern:function(t){var r,n=this;if("TilingPattern"===t[0]){var a=t[1],o=this.baseTransform||this.ctx.mozCurrentTransform.slice();r=new i.TilingPattern(t,a,this.ctx,{createCanvasGraphics:function(t){return new e(t,n.commonObjs,n.objs,n.canvasFactory)}},o)}else r=(0,i.getShadingPatternFromIR)(t);return r},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.strokeStyle=i,this.current.strokeColor=i},setFillRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1},shadingFill:function(e){var t=this.ctx;this.save();var r=(0,i.getShadingPatternFromIR)(e);t.fillStyle=r.getPattern(t,this,!0);var a=t.mozCurrentTransformInverse;if(a){var o=t.canvas,s=o.width,c=o.height,l=n.Util.applyTransform([0,0],a),u=n.Util.applyTransform([0,c],a),d=n.Util.applyTransform([s,0],a),h=n.Util.applyTransform([s,c],a),f=Math.min(l[0],u[0],d[0],h[0]),p=Math.min(l[1],u[1],d[1],h[1]),g=Math.max(l[0],u[0],d[0],h[0]),m=Math.max(l[1],u[1],d[1],h[1]);this.ctx.fillRect(f,p,g-f,m-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){throw Error("Should not call beginInlineImage")},beginImageData:function(){throw Error("Should not call beginImageData")},paintFormXObjectBegin:function(e,t){if(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,Array.isArray(t)&&4===t.length){var r=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],r,n),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(e){this.save();var t=this.ctx;e.isolated||(0,n.info)("TODO: Support non-isolated groups."),e.knockout&&(0,n.warn)("Knockout groups not supported.");var r=t.mozCurrentTransform;if(e.matrix&&t.transform.apply(t,e.matrix),!e.bbox)throw Error("Bounding box is required.");var i=n.Util.getAxialAlignedBoundingBox(e.bbox,t.mozCurrentTransform),a=[0,0,t.canvas.width,t.canvas.height],o=Math.floor((i=n.Util.intersect(i,a)||[0,0,0,0])[0]),s=Math.floor(i[1]),c=Math.max(Math.ceil(i[2])-o,1),l=Math.max(Math.ceil(i[3])-s,1),d=1,h=1;c>4096&&(d=c/4096,c=4096),l>4096&&(h=l/4096,l=4096);var f="groupAt"+this.groupLevel;e.smask&&(f+="_smask_"+this.smaskCounter++%2);var p=this.cachedCanvases.getCanvas(f,c,l,!0),g=p.context;g.scale(1/d,1/h),g.translate(-o,-s),g.transform.apply(g,r),e.smask?this.smaskStack.push({canvas:p.canvas,context:g,offsetX:o,offsetY:s,scaleX:d,scaleY:h,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(o,s),t.scale(d,h)),u(t,g),this.ctx=g,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++,this.current.activeSMask=null},endGroup:function(e){this.groupLevel--;var t=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,e.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(t.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(e,t,r){if(this.save(),d(this.ctx),this.current=new l,Array.isArray(e)&&4===e.length){var n=e[2]-e[0],i=e[3]-e[1];this.ctx.rect(e[0],e[1],n,i),this.clip(),this.endPath()}this.transform.apply(this,t),this.transform.apply(this,r)},endAnnotation:function(){this.restore()},paintJpegXObject:function(e,t,r){var i=this.objs.get(e);if(!i){(0,n.warn)("Dependent image isn't ready yet");return}this.save();var a=this.ctx;if(a.scale(1/t,-1/r),a.drawImage(i,0,0,i.width,i.height,0,-r,t,r),this.imageLayer){var o=a.mozCurrentTransformInverse,s=this.getCanvasPosition(0,0);this.imageLayer.appendImage({objId:e,left:s[0],top:s[1],width:t/o[0],height:r/o[3]})}this.restore()},paintImageMaskXObject:function(e){var t=this.ctx,n=e.width,i=e.height,a=this.current.fillColor,o=this.current.patternFill,s=this.processingType3;if(s&&void 0===s.compiled&&(n<=1e3&&i<=1e3?s.compiled=function(e){var t,r,n,i,a=e.width,o=e.height,s=a+1,c=new Uint8Array(s*(o+1)),l=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),u=a+7&-8,d=e.data,h=new Uint8Array(u*o),f=0;for(t=0,i=d.length;t<i;t++)for(var p=128,g=d[t];p>0;)h[f++]=g&p?0:255,p>>=1;var m=0;for(0!==h[f=0]&&(c[0]=1,++m),r=1;r<a;r++)h[f]!==h[f+1]&&(c[r]=h[f]?2:1,++m),f++;for(0!==h[f]&&(c[r]=2,++m),t=1;t<o;t++){f=t*u,n=t*s,h[f-u]!==h[f]&&(c[n]=h[f]?1:8,++m);var b=(h[f]?4:0)+(h[f-u]?8:0);for(r=1;r<a;r++)l[b=(b>>2)+(h[f+1]?4:0)+(h[f-u+1]?8:0)]&&(c[n+r]=l[b],++m),f++;if(h[f-u]!==h[f]&&(c[n+r]=h[f]?2:4,++m),m>1e3)return null}for(f=u*(o-1),n=t*s,0!==h[f]&&(c[n]=8,++m),r=1;r<a;r++)h[f]!==h[f+1]&&(c[n+r]=h[f]?4:8,++m),f++;if(0!==h[f]&&(c[n+r]=4,++m),m>1e3)return null;var v=new Int32Array([0,s,-1,0,-s,0,0,0,1]),y=[];for(t=0;m&&t<=o;t++){for(var _=t*s,A=_+a;_<A&&!c[_];)_++;if(_!==A){var x,S=[_%s,t],w=c[_],T=_;do{var D=v[w];do _+=D;while(!c[_]);5!==(x=c[_])&&10!==x?(w=x,c[_]=0):(w=x&51*w>>4,c[_]&=w>>2|w<<2),S.push(_%s),S.push(_/s|0),--m}while(T!==_);y.push(S),--t}}return function(e){e.save(),e.scale(1/a,-1/o),e.translate(0,-o),e.beginPath();for(var t=0,r=y.length;t<r;t++){var n=y[t];e.moveTo(n[0],n[1]);for(var i=2,s=n.length;i<s;i+=2)e.lineTo(n[i],n[i+1])}e.fill(),e.beginPath(),e.restore()}}({data:e.data,width:n,height:i}):s.compiled=null),s&&s.compiled){s.compiled(t);return}var c=this.cachedCanvases.getCanvas("maskCanvas",n,i),l=c.context;l.save(),r(l,e),l.globalCompositeOperation="source-in",l.fillStyle=o?a.getPattern(l,this):a,l.fillRect(0,0,n,i),l.restore(),this.paintInlineImageXObject(c.canvas)},paintImageMaskXObjectRepeat:function(e,t,n,i){var a=e.width,o=e.height,s=this.current.fillColor,c=this.current.patternFill,l=this.cachedCanvases.getCanvas("maskCanvas",a,o),u=l.context;u.save(),r(u,e),u.globalCompositeOperation="source-in",u.fillStyle=c?s.getPattern(u,this):s,u.fillRect(0,0,a,o),u.restore();for(var d=this.ctx,h=0,f=i.length;h<f;h+=2)d.save(),d.transform(t,0,0,n,i[h],i[h+1]),d.scale(1,-1),d.drawImage(l.canvas,0,0,a,o,0,-1,1,1),d.restore()},paintImageMaskXObjectGroup:function(e){for(var t=this.ctx,n=this.current.fillColor,i=this.current.patternFill,a=0,o=e.length;a<o;a++){var s=e[a],c=s.width,l=s.height,u=this.cachedCanvases.getCanvas("maskCanvas",c,l),d=u.context;d.save(),r(d,s),d.globalCompositeOperation="source-in",d.fillStyle=i?n.getPattern(d,this):n,d.fillRect(0,0,c,l),d.restore(),t.save(),t.transform.apply(t,s.transform),t.scale(1,-1),t.drawImage(u.canvas,0,0,c,l,0,-1,1,1),t.restore()}},paintImageXObject:function(e){var t=this.objs.get(e);if(!t){(0,n.warn)("Dependent image isn't ready yet");return}this.paintInlineImageXObject(t)},paintImageXObjectRepeat:function(e,t,r,i){var a=this.objs.get(e);if(!a){(0,n.warn)("Dependent image isn't ready yet");return}for(var o=a.width,s=a.height,c=[],l=0,u=i.length;l<u;l+=2)c.push({transform:[t,0,0,r,i[l],i[l+1]],x:0,y:0,w:o,h:s});this.paintInlineImageXObjectGroup(a,c)},paintInlineImageXObject:function(e){var r,n,i=e.width,a=e.height,o=this.ctx;this.save(),o.scale(1/i,-1/a);var s=o.mozCurrentTransformInverse,c=s[0],l=s[1],u=Math.max(Math.sqrt(c*c+l*l),1),d=s[2],h=s[3],f=Math.max(Math.sqrt(d*d+h*h),1);if(e instanceof HTMLElement||!e.data)r=e;else{var p=(n=this.cachedCanvases.getCanvas("inlineImage",i,a)).context;t(p,e),r=n.canvas}for(var g=i,m=a,b="prescale1";u>2&&g>1||f>2&&m>1;){var v=g,y=m;u>2&&g>1&&(v=Math.ceil(g/2),u/=g/v),f>2&&m>1&&(y=Math.ceil(m/2),f/=m/y),(p=(n=this.cachedCanvases.getCanvas(b,v,y)).context).clearRect(0,0,v,y),p.drawImage(r,0,0,g,m,0,0,v,y),r=n.canvas,g=v,m=y,b="prescale1"===b?"prescale2":"prescale1"}if(o.drawImage(r,0,0,g,m,0,-a,i,a),this.imageLayer){var _=this.getCanvasPosition(0,-a);this.imageLayer.appendImage({imgData:e,left:_[0],top:_[1],width:i/s[0],height:a/s[3]})}this.restore()},paintInlineImageXObjectGroup:function(e,r){var n=this.ctx,i=e.width,a=e.height,o=this.cachedCanvases.getCanvas("inlineImage",i,a);t(o.context,e);for(var s=0,c=r.length;s<c;s++){var l=r[s];if(n.save(),n.transform.apply(n,l.transform),n.scale(1,-1),n.drawImage(o.canvas,l.x,l.y,l.w,l.h,0,-1,1,1),this.imageLayer){var u=this.getCanvasPosition(l.x,l.y);this.imageLayer.appendImage({imgData:e,left:u[0],top:u[1],width:i,height:a})}n.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){(0,n.warn)("Unsupported 'paintXObject' command.")},markPoint:function(e){},markPointProps:function(e,t){},beginMarkedContent:function(e){},beginMarkedContentProps:function(e,t){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var e=this.ctx;this.pendingClip&&(this.pendingClip===v?e.clip("evenodd"):e.clip(),this.pendingClip=null),e.beginPath()},getSinglePixelWidth:function(e){if(null===this.cachedGetSinglePixelWidth){this.ctx.save();var t=this.ctx.mozCurrentTransformInverse;this.ctx.restore(),this.cachedGetSinglePixelWidth=Math.sqrt(Math.max(t[0]*t[0]+t[1]*t[1],t[2]*t[2]+t[3]*t[3]))}return this.cachedGetSinglePixelWidth},getCanvasPosition:function(e,t){var r=this.ctx.mozCurrentTransform;return[r[0]*e+r[2]*t+r[4],r[1]*e+r[3]*t+r[5]]}},n.OPS)e.prototype[n.OPS[y]]=e.prototype[y];return e}();t.CanvasGraphics=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TilingPattern=t.getShadingPatternFromIR=void 0;var n=r(0),i=r(70),a={};a.RadialAxial={fromIR:function(e){var t=e[1],r=e[2],n=e[3],i=e[4],a=e[5],o=e[6];return{type:"Pattern",getPattern:function(e){var s;"axial"===t?s=e.createLinearGradient(n[0],n[1],i[0],i[1]):"radial"===t&&(s=e.createRadialGradient(n[0],n[1],a,i[0],i[1],o));for(var c=0,l=r.length;c<l;++c){var u=r[c];s.addColorStop(u[0],u[1])}return s}}}};var o=function(){function e(e,t,r,n,i,a,o,s){var c,l,u,d,h,f,p,g,m,b,v=t.coords,y=t.colors,_=e.data,A=4*e.width;v[r+1]>v[n+1]&&(c=r,r=n,n=c,c=a,a=o,o=c),v[n+1]>v[i+1]&&(c=n,n=i,i=c,c=o,o=s,s=c),v[r+1]>v[n+1]&&(c=r,r=n,n=c,c=a,a=o,o=c);var x=(v[r]+t.offsetX)*t.scaleX,S=(v[r+1]+t.offsetY)*t.scaleY,w=(v[n]+t.offsetX)*t.scaleX,T=(v[n+1]+t.offsetY)*t.scaleY,D=(v[i]+t.offsetX)*t.scaleX,C=(v[i+1]+t.offsetY)*t.scaleY;if(!(S>=C))for(var k=y[a],E=y[a+1],P=y[a+2],R=y[o],F=y[o+1],U=y[o+2],O=y[s],I=y[s+1],L=y[s+2],N=Math.round(S),j=Math.round(C),M=N;M<=j;M++){M<T?(l=x-(x-w)*(b=M<S?0:S===T?1:(S-M)/(S-T)),u=k-(k-R)*b,d=E-(E-F)*b,h=P-(P-U)*b):(l=w-(w-D)*(b=M>C?1:T===C?0:(T-M)/(T-C)),u=R-(R-O)*b,d=F-(F-I)*b,h=U-(U-L)*b),f=x-(x-D)*(b=M<S?0:M>C?1:(S-M)/(S-C)),p=k-(k-O)*b,g=E-(E-I)*b,m=P-(P-L)*b;for(var W=Math.round(Math.min(l,f)),q=Math.round(Math.max(l,f)),B=A*M+4*W,z=W;z<=q;z++)b=(b=(l-z)/(l-f))<0?0:b>1?1:b,_[B++]=u-(u-p)*b|0,_[B++]=d-(d-g)*b|0,_[B++]=h-(h-m)*b|0,_[B++]=255}}return function(t,r,n,a,o,s,c){var l,u,d,h,f=Math.floor(t[0]),p=Math.floor(t[1]),g=Math.ceil(t[2])-f,m=Math.ceil(t[3])-p,b=Math.min(Math.ceil(Math.abs(g*r[0]*1.1)),3e3),v=Math.min(Math.ceil(Math.abs(m*r[1]*1.1)),3e3),y=g/b,_=m/v,A={coords:n,colors:a,offsetX:-f,offsetY:-p,scaleX:1/y,scaleY:1/_},x=b+4,S=v+4;if(i.WebGLUtils.isEnabled)l=i.WebGLUtils.drawFigures(b,v,s,o,A),(u=c.getCanvas("mesh",x,S,!1)).context.drawImage(l,2,2),l=u.canvas;else{var w=(u=c.getCanvas("mesh",x,S,!1)).context,T=w.createImageData(b,v);if(s){var D=T.data;for(d=0,h=D.length;d<h;d+=4)D[d]=s[0],D[d+1]=s[1],D[d+2]=s[2],D[d+3]=255}for(d=0;d<o.length;d++)!function(t,r,n){var i,a,o=r.coords,s=r.colors;switch(r.type){case"lattice":var c=r.verticesPerRow,l=Math.floor(o.length/c)-1,u=c-1;for(i=0;i<l;i++)for(var d=i*c,h=0;h<u;h++,d++)e(t,n,o[d],o[d+1],o[d+c],s[d],s[d+1],s[d+c]),e(t,n,o[d+c+1],o[d+1],o[d+c],s[d+c+1],s[d+1],s[d+c]);break;case"triangles":for(i=0,a=o.length;i<a;i+=3)e(t,n,o[i],o[i+1],o[i+2],s[i],s[i+1],s[i+2]);break;default:throw Error("illegal figure")}}(T,o[d],A);w.putImageData(T,2,2),l=u.canvas}return{canvas:l,offsetX:f-2*y,offsetY:p-2*_,scaleX:y,scaleY:_}}}();a.Mesh={fromIR:function(e){var t=e[2],r=e[3],i=e[4],a=e[5],s=e[6],c=e[8];return{type:"Pattern",getPattern:function(e,l,u){if(u)d=n.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(d=n.Util.singularValueDecompose2dScale(l.baseTransform),s){var d,h=n.Util.singularValueDecompose2dScale(s);d=[d[0]*h[0],d[1]*h[1]]}var f=o(a,d,t,r,i,u?null:c,l.cachedCanvases);return!u&&(e.setTransform.apply(e,l.baseTransform),s&&e.transform.apply(e,s)),e.translate(f.offsetX,f.offsetY),e.scale(f.scaleX,f.scaleY),e.createPattern(f.canvas,"no-repeat")}}}},a.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var s=function(){var e={COLORED:1,UNCOLORED:2};function t(e,t,r,n,i){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.canvasGraphicsFactory=n,this.baseTransform=i,this.type="Pattern",this.ctx=r}return t.prototype={createPatternCanvas:function(e){var t=this.operatorList,r=this.bbox,i=this.xstep,a=this.ystep,o=this.paintType,s=this.tilingType,c=this.color,l=this.canvasGraphicsFactory;(0,n.info)("TilingType: "+s);var u=r[0],d=r[1],h=r[2],f=r[3],p=[u,d],g=[u+i,d+a],m=g[0]-p[0],b=g[1]-p[1],v=n.Util.singularValueDecompose2dScale(this.matrix),y=n.Util.singularValueDecompose2dScale(this.baseTransform),_=[v[0]*y[0],v[1]*y[1]];m=Math.min(Math.ceil(Math.abs(m*_[0])),3e3),b=Math.min(Math.ceil(Math.abs(b*_[1])),3e3);var A=e.cachedCanvases.getCanvas("pattern",m,b,!0),x=A.context,S=l.createCanvasGraphics(x);S.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(S,o,c),this.setScale(m,b,i,a),this.transformToScale(S);var w=[1,0,0,1,-p[0],-p[1]];return S.transform.apply(S,w),this.clipBbox(S,r,u,d,h,f),S.executeOperatorList(t),A.canvas},setScale:function(e,t,r,n){this.scale=[e/r,t/n]},transformToScale:function(e){var t=this.scale,r=[t[0],0,0,t[1],0,0];e.transform.apply(e,r)},scaleToContext:function(){var e=this.scale;this.ctx.scale(1/e[0],1/e[1])},clipBbox:function(e,t,r,n,i,a){Array.isArray(t)&&4===t.length&&(e.ctx.rect(r,n,i-r,a-n),e.clip(),e.endPath())},setFillAndStrokeStyleToContext:function(t,r,i){var a=t.ctx,o=t.current;switch(r){case e.COLORED:var s=this.ctx;a.fillStyle=s.fillStyle,a.strokeStyle=s.strokeStyle,o.fillColor=s.fillStyle,o.strokeColor=s.strokeStyle;break;case e.UNCOLORED:var c=n.Util.makeCssRgb(i[0],i[1],i[2]);a.fillStyle=c,a.strokeStyle=c,o.fillColor=c,o.strokeColor=c;break;default:throw new n.FormatError("Unsupported paint type: "+r)}},getPattern:function(e,t){var r=this.createPatternCanvas(t);return(e=this.ctx).setTransform.apply(e,this.baseTransform),e.transform.apply(e,this.matrix),this.scaleToContext(),e.createPattern(r,"repeat")}},t}();t.getShadingPatternFromIR=function(e){var t=a[e[0]];if(!t)throw Error("Unknown IR type: "+e[0]);return t.fromIR(e)},t.TilingPattern=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var n=r(0),i=function(){function e(e,t){var r=this;(0,n.assert)(t),this._queuedChunks=[];var i=e.initialData;if(i&&i.length>0){var a=new Uint8Array(i).buffer;this._queuedChunks.push(a)}this._pdfDataRangeTransport=t,this._isRangeSupported=!e.disableRange,this._isStreamingSupported=!e.disableStream,this._contentLength=e.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener(function(e,t){r._onReceiveData({begin:e,chunk:t})}),this._pdfDataRangeTransport.addProgressListener(function(e){r._onProgress({loaded:e})}),this._pdfDataRangeTransport.addProgressiveReadListener(function(e){r._onReceiveData({chunk:e})}),this._pdfDataRangeTransport.transportReady()}function t(e,t){this._stream=e,this._done=!1,this._queuedChunks=t||[],this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}function r(e,t,r){this._stream=e,this._begin=t,this._end=r,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}return e.prototype={_onReceiveData:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var r=this._rangeReaders.some(function(r){return r._begin===e.begin&&(r._enqueue(t),!0)});(0,n.assert)(r)}},_onProgress:function(e){if(this._rangeReaders.length>0){var t=this._rangeReaders[0];t.onProgress&&t.onProgress({loaded:e.loaded})}},_removeRangeReader:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)},getFullReader:function(){(0,n.assert)(!this._fullRequestReader);var e=this._queuedChunks;return this._queuedChunks=null,new t(this,e)},getRangeReader:function(e,t){var n=new r(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n},cancelAllRequests:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeReaders.slice(0).forEach(function(t){t.cancel(e)}),this._pdfDataRangeTransport.abort()}},t.prototype={_enqueue:function(e){if(!this._done){if(this._requests.length>0){this._requests.shift().resolve({value:e,done:!1});return}this._queuedChunks.push(e)}},get headersReady(){return this._headersReady},get isRangeSupported(){return this._stream._isRangeSupported},get isStreamingSupported(){return this._stream._isStreamingSupported},get contentLength(){return this._stream._contentLength},read:function(){if(this._queuedChunks.length>0)return Promise.resolve({value:this._queuedChunks.shift(),done:!1});if(this._done)return Promise.resolve({value:void 0,done:!0});var e=(0,n.createPromiseCapability)();return this._requests.push(e),e.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[]}},r.prototype={_enqueue:function(e){this._done||(0===this._requests.length?this._queuedChunk=e:(this._requests.shift().resolve({value:e,done:!1}),this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[]),this._done=!0,this._stream._removeRangeReader(this))},get isStreamingSupported(){return!1},read:function(){if(this._queuedChunk){var e=this._queuedChunk;return this._queuedChunk=null,Promise.resolve({value:e,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var t=(0,n.createPromiseCapability)();return this._requests.push(t),t.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._stream._removeRangeReader(this)}},e}();t.PDFDataTransportStream=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var i=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=n(0),o=n(44);function s(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function c(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var u=r(29021),d=r(81630),h=r(55591),f=r(79551),p=function(){function e(t){l(this,e),this.options=t,this.source=t.source,this.url=f.parse(this.source.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol||!this.url.host,this.httpHeaders=this.isHttp&&this.source.httpHeaders||{},this._fullRequest=null,this._rangeRequestReaders=[]}return i(e,[{key:"getFullReader",value:function(){return(0,a.assert)(!this._fullRequest),this._fullRequest=this.isFsUrl?new _(this):new v(this),this._fullRequest}},{key:"getRangeReader",value:function(e,t){var r=this.isFsUrl?new A(this,e,t):new y(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequest&&this._fullRequest.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}}]),e}(),g=function(){function e(t){l(this,e),this._url=t.url,this._done=!1,this._errored=!1,this._reason=null,this.onProgress=null,this._contentLength=t.source.length,this._loaded=0,this._disableRange=t.options.disableRange||!1,this._rangeChunkSize=t.source.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!t.source.disableStream,this._isRangeSupported=!t.options.disableRange,this._readableStream=null,this._readCapability=(0,a.createPromiseCapability)(),this._headersCapability=(0,a.createPromiseCapability)()}return i(e,[{key:"read",value:function(){var e=this;return this._readCapability.promise.then(function(){if(e._done)return Promise.resolve({value:void 0,done:!0});if(e._errored)return Promise.reject(e._reason);var t=e._readableStream.read();return null===t?(e._readCapability=(0,a.createPromiseCapability)(),e.read()):(e._loaded+=t.length,e.onProgress&&e.onProgress({loaded:e._loaded,total:e._contentLength}),Promise.resolve({value:new Uint8Array(t).buffer,done:!1}))})}},{key:"cancel",value:function(e){if(!this._readableStream){this._error(e);return}this._readableStream.destroy(e)}},{key:"_error",value:function(e){this._errored=!0,this._reason=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",function(){t._readCapability.resolve()}),e.on("end",function(){e.destroy(),t._done=!0,t._readCapability.resolve()}),e.on("error",function(e){t._error(e)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new a.AbortException("streaming is disabled")),this._errored&&this._readableStream.destroy(this._reason)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),m=function(){function e(t){l(this,e),this._url=t.url,this._done=!1,this._errored=!1,this._reason=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,a.createPromiseCapability)(),this._isStreamingSupported=!t.source.disableStream}return i(e,[{key:"read",value:function(){var e=this;return this._readCapability.promise.then(function(){if(e._done)return Promise.resolve({value:void 0,done:!0});if(e._errored)return Promise.reject(e._reason);var t=e._readableStream.read();return null===t?(e._readCapability=(0,a.createPromiseCapability)(),e.read()):(e._loaded+=t.length,e.onProgress&&e.onProgress({loaded:e._loaded}),Promise.resolve({value:new Uint8Array(t).buffer,done:!1}))})}},{key:"cancel",value:function(e){if(!this._readableStream){this._error(e);return}this._readableStream.destroy(e)}},{key:"_error",value:function(e){this._errored=!0,this._reason=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",function(){t._readCapability.resolve()}),e.on("end",function(){e.destroy(),t._done=!0,t._readCapability.resolve()}),e.on("error",function(e){t._error(e)}),this._errored&&this._readableStream.destroy(this._reason)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}();function b(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}var v=function(e){function t(e){l(this,t);var r=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n=function(t){r._headersCapability.resolve(),r._setReadableStream(t);var n=(0,o.validateRangeRequestCapabilities)({getResponseHeader:function(e){return r._readableStream.headers[e.toLowerCase()]},isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),i=n.allowRangeRequests,a=n.suggestedLength;i&&(r._isRangeSupported=!0),r._contentLength=a};return r._request=null,"http:"===r._url.protocol?r._request=d.request(b(r._url,e.httpHeaders),n):r._request=h.request(b(r._url,e.httpHeaders),n),r._request.on("error",function(e){r._errored=!0,r._reason=e,r._headersCapability.reject(e)}),r._request.end(),r}return c(t,e),t}(g),y=function(e){function t(e,r,n){l(this,t);var i=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));for(var a in i._httpHeaders={},e.httpHeaders){var o=e.httpHeaders[a];void 0!==o&&(i._httpHeaders[a]=o)}return i._httpHeaders.Range="bytes="+r+"-"+(n-1),i._request=null,"http:"===i._url.protocol?i._request=d.request(b(i._url,i._httpHeaders),function(e){i._setReadableStream(e)}):i._request=h.request(b(i._url,i._httpHeaders),function(e){i._setReadableStream(e)}),i._request.on("error",function(e){i._errored=!0,i._reason=e}),i._request.end(),i}return c(t,e),t}(m),_=function(e){function t(e){l(this,t);var r=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n=decodeURI(r._url.path);return u.lstat(n,function(e,t){if(e){r._errored=!0,r._reason=e,r._headersCapability.reject(e);return}r._contentLength=t.size,r._setReadableStream(u.createReadStream(n)),r._headersCapability.resolve()}),r}return c(t,e),t}(g),A=function(e){function t(e,r,n){l(this,t);var i=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i._setReadableStream(u.createReadStream(decodeURI(i._url.path),{start:r,end:n-1})),i}return c(t,e),t}(m);t.PDFNodeStream=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(0),a=r(44);function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function s(e,t){return{method:"GET",headers:e,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}var c=function(){function e(t){o(this,e),this.options=t,this.source=t.source,this.isHttp=/^https?:/i.test(this.source.url),this.httpHeaders=this.isHttp&&this.source.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return n(e,[{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new l(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new u(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}}]),e}(),l=function(){function e(t){var r=this;for(var n in o(this,e),this._stream=t,this._reader=null,this._loaded=0,this._withCredentials=t.source.withCredentials,this._contentLength=this._stream.source.length,this._headersCapability=(0,i.createPromiseCapability)(),this._disableRange=this._stream.options.disableRange,this._rangeChunkSize=this._stream.source.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isRangeSupported=!this._stream.options.disableRange,this._isStreamingSupported=!this._stream.source.disableStream,this._headers=new Headers,this._stream.httpHeaders){var c=this._stream.httpHeaders[n];void 0!==c&&this._headers.append(n,c)}var l=this._stream.source.url;fetch(l,s(this._headers,this._withCredentials)).then(function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,l);r._reader=e.body.getReader(),r._headersCapability.resolve();var t=(0,a.validateRangeRequestCapabilities)({getResponseHeader:function(t){return e.headers.get(t)},isHttp:r._stream.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),n=t.allowRangeRequests,o=t.suggestedLength;r._contentLength=o,r._isRangeSupported=n,!r._isStreamingSupported&&r._isRangeSupported&&r.cancel(new i.AbortException("streaming is disabled"))}).catch(this._headersCapability.reject),this.onProgress=null}return n(e,[{key:"read",value:function(){var e=this;return this._headersCapability.promise.then(function(){return e._reader.read().then(function(t){var r=t.value,n=t.done;return n?Promise.resolve({value:r,done:n}):(e._loaded+=r.byteLength,e.onProgress&&e.onProgress({loaded:e._loaded,total:e._contentLength}),Promise.resolve({value:new Uint8Array(r).buffer,done:!1}))})})}},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),u=function(){function e(t,r,n){var c=this;for(var l in o(this,e),this._stream=t,this._reader=null,this._loaded=0,this._withCredentials=t.source.withCredentials,this._readCapability=(0,i.createPromiseCapability)(),this._isStreamingSupported=!t.source.disableStream,this._headers=new Headers,this._stream.httpHeaders){var u=this._stream.httpHeaders[l];void 0!==u&&this._headers.append(l,u)}this._headers.append("Range","bytes="+r+"-"+(n-1));var d=this._stream.source.url;fetch(d,s(this._headers,this._withCredentials)).then(function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,d);c._readCapability.resolve(),c._reader=e.body.getReader()}),this.onProgress=null}return n(e,[{key:"read",value:function(){var e=this;return this._readCapability.promise.then(function(){return e._reader.read().then(function(t){var r=t.value,n=t.done;return n?Promise.resolve({value:r,done:n}):(e._loaded+=r.byteLength,e.onProgress&&e.onProgress({loaded:e._loaded}),Promise.resolve({value:new Uint8Array(r).buffer,done:!1}))})})}},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}();t.PDFFetchStream=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkManager=t.PDFNetworkStream=void 0;var n,i=r(0),a=r(44),o=(n=r(20))&&n.__esModule?n:{default:n};function s(e,t){this.url=e,t=t||{},this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this.withCredentials=t.withCredentials||!1,this.getXhr=t.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null),this.loadedRequests=Object.create(null)}function c(e){var t=e.response;return"string"!=typeof t?t:(0,i.stringToBytes)(t).buffer}var l=function(){try{var e=new XMLHttpRequest;return e.open("GET",o.default.location.href),e.responseType="moz-chunked-arraybuffer","moz-chunked-arraybuffer"===e.responseType}catch(e){return!1}}();function u(e){this._options=e;var t=e.source;this._manager=new s(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}function d(e,t){this._manager=e;var r=t.source,n={onHeadersReceived:this._onHeadersReceived.bind(this),onProgressiveData:r.disableStream?null:this._onProgressiveData.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=e.requestFull(n),this._headersReceivedCapability=(0,i.createPromiseCapability)(),this._disableRange=t.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this.onProgress=null}function h(e,t,r){this._manager=e;var n={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=e.requestRange(t,r,n),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}s.prototype={requestRange:function(e,t,r){var n={begin:e,end:t};for(var i in r)n[i]=r[i];return this.request(n)},requestFull:function(e){return this.request(e)},request:function(e){var t=this.getXhr(),r=this.currXhrId++,n=this.pendingRequests[r]={xhr:t};for(var i in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var a=this.httpHeaders[i];void 0!==a&&t.setRequestHeader(i,a)}if(this.isHttp&&"begin"in e&&"end"in e){var o=e.begin+"-"+(e.end-1);t.setRequestHeader("Range","bytes="+o),n.expectedStatus=206}else n.expectedStatus=200;return l&&e.onProgressiveData?(t.responseType="moz-chunked-arraybuffer",n.onProgressiveData=e.onProgressiveData,n.mozChunked=!0):t.responseType="arraybuffer",e.onError&&(t.onerror=function(r){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,r),t.onprogress=this.onProgress.bind(this,r),n.onHeadersReceived=e.onHeadersReceived,n.onDone=e.onDone,n.onError=e.onError,n.onProgress=e.onProgress,t.send(null),r},onProgress:function(e,t){var r=this.pendingRequests[e];if(r){if(r.mozChunked){var n=c(r.xhr);r.onProgressiveData(n)}var i=r.onProgress;i&&i(t)}},onStateChange:function(e,t){var r=this.pendingRequests[e];if(r){var n=r.xhr;if(n.readyState>=2&&r.onHeadersReceived&&(r.onHeadersReceived(),delete r.onHeadersReceived),4===n.readyState&&e in this.pendingRequests){if(delete this.pendingRequests[e],0===n.status&&this.isHttp){r.onError&&r.onError(n.status);return}var i=n.status||200;if(!(200===i&&206===r.expectedStatus)&&i!==r.expectedStatus){r.onError&&r.onError(n.status);return}this.loadedRequests[e]=!0;var a=c(n);if(206===i){var o=n.getResponseHeader("Content-Range"),s=parseInt(/bytes (\d+)-(\d+)\/(\d+)/.exec(o)[1],10);r.onDone({begin:s,chunk:a})}else r.onProgressiveData?r.onDone(null):a?r.onDone({begin:0,chunk:a}):r.onError&&r.onError(n.status)}}},hasPendingRequests:function(){for(var e in this.pendingRequests)return!0;return!1},getRequestXhr:function(e){return this.pendingRequests[e].xhr},isStreamingRequest:function(e){return!!this.pendingRequests[e].onProgressiveData},isPendingRequest:function(e){return e in this.pendingRequests},isLoadedRequest:function(e){return e in this.loadedRequests},abortAllRequests:function(){for(var e in this.pendingRequests)this.abortRequest(0|e)},abortRequest:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}},u.prototype={_onRangeRequestReaderClosed:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)},getFullReader:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new d(this._manager,this._options),this._fullRequestReader},getRangeReader:function(e,t){var r=new h(this._manager,e,t);return r.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r},cancelAllRequests:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}},d.prototype={_onHeadersReceived:function(){var e=this._fullRequestId,t=this._manager.getRequestXhr(e),r=(0,a.validateRangeRequestCapabilities)({getResponseHeader:function(e){return t.getResponseHeader(e)},isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),n=r.allowRangeRequests,i=r.suggestedLength;this._contentLength=i||this._contentLength,n&&(this._isRangeSupported=!0);var o=this._manager;o.isStreamingRequest(e)?this._isStreamingSupported=!0:this._isRangeSupported&&o.abortRequest(e),this._headersReceivedCapability.resolve()},_onProgressiveData:function(e){this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._cachedChunks.push(e)},_onDone:function(e){e&&this._onProgressiveData(e.chunk),this._done=!0,this._cachedChunks.length>0||(this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[])},_onError:function(e){var t=this._url,r=(0,a.createResponseStatusError)(e,t);this._storedError=r,this._headersReceivedCapability.reject(r),this._requests.forEach(function(e){e.reject(r)}),this._requests=[],this._cachedChunks=[]},_onProgress:function(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})},get isRangeSupported(){return this._isRangeSupported},get isStreamingSupported(){return this._isStreamingSupported},get contentLength(){return this._contentLength},get headersReady(){return this._headersReceivedCapability.promise},read:function(){if(this._storedError)return Promise.reject(this._storedError);if(this._cachedChunks.length>0)return Promise.resolve({value:this._cachedChunks.shift(),done:!1});if(this._done)return Promise.resolve({value:void 0,done:!0});var e=(0,i.createPromiseCapability)();return this._requests.push(e),e.promise},cancel:function(e){this._done=!0,this._headersReceivedCapability.reject(e),this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},h.prototype={_close:function(){this.onClosed&&this.onClosed(this)},_onDone:function(e){var t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._close()},_onProgress:function(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})},get isStreamingSupported(){return!1},read:function(){if(null!==this._queuedChunk){var e=this._queuedChunk;return this._queuedChunk=null,Promise.resolve({value:e,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var t=(0,i.createPromiseCapability)();return this._requests.push(t),t.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},t.PDFNetworkStream=u,t.NetworkManager=s}])},e.exports=n()},97075:function(e,t,r){var n;n=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=15)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unreachable=t.warn=t.utf8StringToString=t.stringToUTF8String=t.stringToPDFString=t.stringToBytes=t.string32=t.shadow=t.setVerbosityLevel=t.ReadableStream=t.removeNullCharacters=t.readUint32=t.readUint16=t.readInt8=t.log2=t.loadJpegStream=t.isEvalSupported=t.isLittleEndian=t.createValidAbsoluteUrl=t.isSameOrigin=t.isNodeJS=t.isSpace=t.isString=t.isNum=t.isInt=t.isEmptyObj=t.isBool=t.isArrayBuffer=t.isArray=t.info=t.globalScope=t.getVerbosityLevel=t.getLookupTableFactory=t.deprecated=t.createObjectURL=t.createPromiseCapability=t.createBlob=t.bytesToString=t.assert=t.arraysToBytes=t.arrayByteLength=t.FormatError=t.XRefParseException=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.StatTimer=t.PasswordResponses=t.PasswordException=t.PageViewport=t.NotImplementedException=t.NativeImageDecoding=t.MissingPDFException=t.MissingDataException=t.MessageHandler=t.InvalidPDFException=t.AbortException=t.CMapCompressionType=t.ImageKind=t.FontType=t.AnnotationType=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.UNSUPPORTED_FEATURES=t.VERBOSITY_LEVELS=t.OPS=t.IDENTITY_MATRIX=t.FONT_IDENTITY_MATRIX=void 0;var n,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};r(16);var a=r(17),o="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:void 0,s={errors:0,warnings:1,infos:5},c=s.warnings;function l(e){c>=s.warnings&&console.log("Warning: "+e)}function u(e){throw Error(e)}function d(e,t){e||u(t)}var h=function(){function e(e,t){this.name="PasswordException",this.message=e,this.code=t}return e.prototype=Error(),e.constructor=e,e}(),f=function(){function e(e,t){this.name="UnknownErrorException",this.message=e,this.details=t}return e.prototype=Error(),e.constructor=e,e}(),p=function(){function e(e){this.name="InvalidPDFException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),g=function(){function e(e){this.name="MissingPDFException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),m=function(){function e(e,t){this.name="UnexpectedResponseException",this.message=e,this.status=t}return e.prototype=Error(),e.constructor=e,e}(),b=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="NotImplementedException",e.constructor=e,e}(),v=function(){function e(e,t){this.begin=e,this.end=t,this.message="Missing data ["+e+", "+t+")"}return e.prototype=Error(),e.prototype.name="MissingDataException",e.constructor=e,e}(),y=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="XRefParseException",e.constructor=e,e}(),_=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="FormatError",e.constructor=e,e}(),A=function(){function e(e){this.name="AbortException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),x=/\x00/g;function S(e){d("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),n=0;n<t;++n)r[n]=255&e.charCodeAt(n);return r}function w(e){return void 0!==e.length?e.length:(d(void 0!==e.byteLength),e.byteLength)}var T=function(){function e(){}var t=["rgb(",0,",",0,",",0,")"];e.makeCssRgb=function(e,r,n){return t[1]=e,t[3]=r,t[5]=n,t.join("")},e.transform=function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]},e.applyTransform=function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]},e.applyInverseTransform=function(e,t){var r=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]},e.getAxialAlignedBoundingBox=function(t,r){var n=e.applyTransform(t,r),i=e.applyTransform(t.slice(2,4),r),a=e.applyTransform([t[0],t[3]],r),o=e.applyTransform([t[2],t[1]],r);return[Math.min(n[0],i[0],a[0],o[0]),Math.min(n[1],i[1],a[1],o[1]),Math.max(n[0],i[0],a[0],o[0]),Math.max(n[1],i[1],a[1],o[1])]},e.inverseTransform=function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]},e.apply3dTransform=function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]},e.singularValueDecompose2dScale=function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],n=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],a=e[2]*t[1]+e[3]*t[3],o=(r+a)/2,s=Math.sqrt((r+a)*(r+a)-4*(r*a-i*n))/2;return[Math.sqrt(o+s||1),Math.sqrt(o-s||1)]},e.normalizeRect=function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t},e.intersect=function(t,r){function n(e,t){return e-t}var i=[t[0],t[2],r[0],r[2]].sort(n),a=[t[1],t[3],r[1],r[3]].sort(n),o=[];return t=e.normalizeRect(t),r=e.normalizeRect(r),(i[0]===t[0]&&i[1]===r[0]||i[0]===r[0]&&i[1]===t[0])&&(o[0]=i[1],o[2]=i[2],(a[0]===t[1]&&a[1]===r[1]||a[0]===r[1]&&a[1]===t[1])&&(o[1]=a[1],o[3]=a[2],o))},e.sign=function(e){return e<0?-1:1};var r=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];return e.toRoman=function(e,t){d(k(e)&&e>0,"The number should be a positive integer.");for(var n,i=[];e>=1e3;)e-=1e3,i.push("M");n=e/100|0,e%=100,i.push(r[n]),n=e/10|0,e%=10,i.push(r[10+n]),i.push(r[20+e]);var a=i.join("");return t?a.toLowerCase():a},e.appendToArray=function(e,t){Array.prototype.push.apply(e,t)},e.prependToArray=function(e,t){Array.prototype.unshift.apply(e,t)},e.extendObj=function(e,t){for(var r in t)e[r]=t[r]},e.getInheritableProperty=function(e,t,r){for(;e&&!e.has(t);)e=e.get("Parent");return e?r?e.getArray(t):e.get(t):null},e.inherit=function(e,t,r){for(var n in e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r)e.prototype[n]=r[n]},e.loadScript=function(e,t){var r=document.createElement("script"),n=!1;r.setAttribute("src",e),t&&(r.onload=function(){n||t(),n=!0}),document.getElementsByTagName("head")[0].appendChild(r)},e}(),D=function(){function e(e,t,r,n,i,a){this.viewBox=e,this.scale=t,this.rotation=r,this.offsetX=n,this.offsetY=i;var o,s,c,l,u,d,h,f,p=(e[2]+e[0])/2,g=(e[3]+e[1])/2;switch(r%=360,r=r<0?r+360:r){case 180:o=-1,s=0,c=0,l=1;break;case 90:o=0,s=1,c=1,l=0;break;case 270:o=0,s=-1,c=-1,l=0;break;default:o=1,s=0,c=0,l=-1}a&&(c=-c,l=-l),0===o?(u=Math.abs(g-e[1])*t+n,d=Math.abs(p-e[0])*t+i,h=Math.abs(e[3]-e[1])*t,f=Math.abs(e[2]-e[0])*t):(u=Math.abs(p-e[0])*t+n,d=Math.abs(g-e[1])*t+i,h=Math.abs(e[2]-e[0])*t,f=Math.abs(e[3]-e[1])*t),this.transform=[o*t,s*t,c*t,l*t,u-o*t*p-c*t*g,d-s*t*p-l*t*g],this.width=h,this.height=f,this.fontScale=t}return e.prototype={clone:function(t){var r="scale"in(t=t||{})?t.scale:this.scale,n="rotation"in t?t.rotation:this.rotation;return new e(this.viewBox.slice(),r,n,this.offsetX,this.offsetY,t.dontFlip)},convertToViewportPoint:function(e,t){return T.applyTransform([e,t],this.transform)},convertToViewportRectangle:function(e){var t=T.applyTransform([e[0],e[1]],this.transform),r=T.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],r[0],r[1]]},convertToPdfPoint:function(e,t){return T.applyInverseTransform([e,t],this.transform)}},e}(),C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function k(e){return"number"==typeof e&&(0|e)===e}function E(){var e={};return e.promise=new Promise(function(t,r){e.resolve=t,e.reject=r}),e}var P=function(){function e(){this.started=Object.create(null),this.times=[],this.enabled=!0}return e.prototype={time:function(e){this.enabled&&(e in this.started&&l("Timer is already running for "+e),this.started[e]=Date.now())},timeEnd:function(e){this.enabled&&(e in this.started||l("Timer has not been started for "+e),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e])},toString:function(){var e,t,r=this.times,n="",i=0;for(e=0,t=r.length;e<t;++e){var a=r[e].name;a.length>i&&(i=a.length)}for(e=0,t=r.length;e<t;++e){var o=r[e],s=o.end-o.start;n+=function(e,t,r){for(;e.length<r;)e+=" ";return e}(o.name,0,i)+" "+s+"ms\n"}return n}},e}(),R=function(e,t){if("undefined"!=typeof Blob)return new Blob([e],{type:t});throw Error('The "Blob" constructor is not supported.')},F=(n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!r&&URL.createObjectURL){var i=R(e,t);return URL.createObjectURL(i)}for(var a="data:"+t+";base64,",o=0,s=e.length;o<s;o+=3){var c=255&e[o],l=255&e[o+1],u=255&e[o+2],d=c>>2,h=(3&c)<<4|l>>4,f=o+1<s?(15&l)<<2|u>>6:64,p=o+2<s?63&u:64;a+=n[d]+n[h]+n[f]+n[p]}return a});function U(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e?new Promise(function(n,i){n(e.apply(r,t))}):Promise.resolve(void 0)}function O(e){if((void 0===e?"undefined":i(e))!=="object")return e;switch(e.name){case"AbortException":return new A(e.message);case"MissingPDFException":return new g(e.message);case"UnexpectedResponseException":return new m(e.message,e.status);default:return new f(e.message,e.details)}}function I(e,t,r){t?e.resolve():e.reject(r)}function L(e,t,r){var n=this;this.sourceName=e,this.targetName=t,this.comObj=r,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null);var i=this.callbacksCapabilities=Object.create(null),a=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===n.sourceName){if(t.stream)n._processStreamMessage(t);else if(t.isReply){var o=t.callbackId;if(t.callbackId in i){var s=i[o];delete i[o],"error"in t?s.reject(O(t.error)):s.resolve(t.data)}else throw Error("Cannot resolve callback "+o)}else if(t.action in a){var c=a[t.action];if(t.callbackId){var l=n.sourceName,u=t.sourceName;Promise.resolve().then(function(){return c[0].call(c[1],t.data)}).then(function(e){r.postMessage({sourceName:l,targetName:u,isReply:!0,callbackId:t.callbackId,data:e})},function(e){e instanceof Error&&(e+=""),r.postMessage({sourceName:l,targetName:u,isReply:!0,callbackId:t.callbackId,error:e})})}else t.streamId?n._createStreamSink(t):c[0].call(c[1],t.data)}else throw Error("Unknown action from worker: "+t.action)}},r.addEventListener("message",this._onComObjOnMessage)}L.prototype={on:function(e,t,r){var n=this.actionHandler;if(n[e])throw Error('There is already an actionName called "'+e+'"');n[e]=[t,r]},send:function(e,t,r){var n={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t};this.postMessage(n,r)},sendWithPromise:function(e,t,r){var n=this.callbackId++,i={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t,callbackId:n},a=E();this.callbacksCapabilities[n]=a;try{this.postMessage(i,r)}catch(e){a.reject(e)}return a.promise},sendWithStream:function(e,t,r,n){var i=this,o=this.streamId++,s=this.sourceName,c=this.targetName;return new a.ReadableStream({start:function(r){var n=E();return i.streamControllers[o]={controller:r,startCall:n,isClosed:!1},i.postMessage({sourceName:s,targetName:c,action:e,streamId:o,data:t,desiredSize:r.desiredSize}),n.promise},pull:function(e){var t=E();return i.streamControllers[o].pullCall=t,i.postMessage({sourceName:s,targetName:c,stream:"pull",streamId:o,desiredSize:e.desiredSize}),t.promise},cancel:function(e){var t=E();return i.streamControllers[o].cancelCall=t,i.streamControllers[o].isClosed=!0,i.postMessage({sourceName:s,targetName:c,stream:"cancel",reason:e,streamId:o}),t.promise}},r)},_createStreamSink:function(e){var t=this,r=this,n=this.actionHandler[e.action],i=e.streamId,a=e.desiredSize,o=this.sourceName,s=e.sourceName,c=E(),l=function(e){var r=e.stream,n=e.chunk,a=e.transfers,c=e.success,l=e.reason;t.postMessage({sourceName:o,targetName:s,stream:r,streamId:i,chunk:n,success:c,reason:l},a)},u={enqueue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments[2];if(!this.isCancelled){var n=this.desiredSize;this.desiredSize-=t,n>0&&this.desiredSize<=0&&(this.sinkCapability=E(),this.ready=this.sinkCapability.promise),l({stream:"enqueue",chunk:e,transfers:r})}},close:function(){this.isCancelled||(l({stream:"close"}),delete r.streamSinks[i])},error:function(e){this.isCancelled||(this.isCancelled=!0,l({stream:"error",reason:e}))},sinkCapability:c,onPull:null,onCancel:null,isCancelled:!1,desiredSize:a,ready:null};u.sinkCapability.resolve(),u.ready=u.sinkCapability.promise,this.streamSinks[i]=u,U(n[0],[e.data,u],n[1]).then(function(){l({stream:"start_complete",success:!0})},function(e){l({stream:"start_complete",success:!1,reason:e})})},_processStreamMessage:function(e){var t=this,r=this.sourceName,n=e.sourceName,i=e.streamId,a=function(e){var a=e.stream,o=e.success,s=e.reason;t.comObj.postMessage({sourceName:r,targetName:n,stream:a,success:o,streamId:i,reason:s})},o=function(){Promise.all([t.streamControllers[e.streamId].startCall,t.streamControllers[e.streamId].pullCall,t.streamControllers[e.streamId].cancelCall].map(function(e){return e&&Promise.resolve(e.promise).catch(function(){})})).then(function(){delete t.streamControllers[e.streamId]})};switch(e.stream){case"start_complete":I(this.streamControllers[e.streamId].startCall,e.success,O(e.reason));break;case"pull_complete":I(this.streamControllers[e.streamId].pullCall,e.success,O(e.reason));break;case"pull":if(!this.streamSinks[e.streamId]){a({stream:"pull_complete",success:!0});break}this.streamSinks[e.streamId].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[e.streamId].sinkCapability.resolve(),this.streamSinks[e.streamId].desiredSize=e.desiredSize,U(this.streamSinks[e.streamId].onPull).then(function(){a({stream:"pull_complete",success:!0})},function(e){a({stream:"pull_complete",success:!1,reason:e})});break;case"enqueue":d(this.streamControllers[e.streamId],"enqueue should have stream controller"),this.streamControllers[e.streamId].isClosed||this.streamControllers[e.streamId].controller.enqueue(e.chunk);break;case"close":if(d(this.streamControllers[e.streamId],"close should have stream controller"),this.streamControllers[e.streamId].isClosed)break;this.streamControllers[e.streamId].isClosed=!0,this.streamControllers[e.streamId].controller.close(),o();break;case"error":d(this.streamControllers[e.streamId],"error should have stream controller"),this.streamControllers[e.streamId].controller.error(O(e.reason)),o();break;case"cancel_complete":I(this.streamControllers[e.streamId].cancelCall,e.success,O(e.reason)),o();break;case"cancel":if(!this.streamSinks[e.streamId])break;U(this.streamSinks[e.streamId].onCancel,[O(e.reason)]).then(function(){a({stream:"cancel_complete",success:!0})},function(e){a({stream:"cancel_complete",success:!1,reason:e})}),this.streamSinks[e.streamId].sinkCapability.reject(O(e.reason)),this.streamSinks[e.streamId].isCancelled=!0,delete this.streamSinks[e.streamId];break;default:throw Error("Unexpected stream case")}},postMessage:function(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)},destroy:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}},t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.VERBOSITY_LEVELS=s,t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:0x1000000,RICHTEXT:0x2000000,RADIOSINUNISON:0x2000000,COMMITONSELCHANGE:0x4000000},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.FontType={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.AbortException=A,t.InvalidPDFException=p,t.MessageHandler=L,t.MissingDataException=v,t.MissingPDFException=g,t.NativeImageDecoding={NONE:"none",DECODE:"decode",DISPLAY:"display"},t.NotImplementedException=b,t.PageViewport=D,t.PasswordException=h,t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},t.StatTimer=P,t.StreamType={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.UnexpectedResponseException=m,t.UnknownErrorException=f,t.Util=T,t.XRefParseException=y,t.FormatError=_,t.arrayByteLength=w,t.arraysToBytes=function(e){if(1===e.length&&e[0]instanceof Uint8Array)return e[0];var t,r,n,i=0,a=e.length;for(n=0;n<a;n++)i+=r=w(t=e[n]);var o=0,s=new Uint8Array(i);for(n=0;n<a;n++)(t=e[n])instanceof Uint8Array||(t="string"==typeof t?S(t):new Uint8Array(t)),r=t.byteLength,s.set(t,o),o+=r;return s},t.assert=d,t.bytesToString=function(e){d(null!==e&&(void 0===e?"undefined":i(e))==="object"&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length;if(t<8192)return String.fromCharCode.apply(null,e);for(var r=[],n=0;n<t;n+=8192){var a=Math.min(n+8192,t),o=e.subarray(n,a);r.push(String.fromCharCode.apply(null,o))}return r.join("")},t.createBlob=R,t.createPromiseCapability=E,t.createObjectURL=F,t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.getLookupTableFactory=function(e){var t;return function(){return e&&(t=Object.create(null),e(t),e=null),t}},t.getVerbosityLevel=function(){return c},t.globalScope=o,t.info=function(e){c>=s.infos&&console.log("Info: "+e)},t.isArray=function(e){return e instanceof Array},t.isArrayBuffer=function(e){return(void 0===e?"undefined":i(e))==="object"&&null!==e&&void 0!==e.byteLength},t.isBool=function(e){return"boolean"==typeof e},t.isEmptyObj=function(e){for(var t in e)return!1;return!0},t.isInt=k,t.isNum=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSpace=function(e){return 32===e||9===e||13===e||10===e},t.isNodeJS=function(){return("undefined"==typeof process?"undefined":i(process))==="object"&&process+""=="[object process]"},t.isSameOrigin=function(e,t){try{var r=new URL(e);if(!r.origin||"null"===r.origin)return!1}catch(e){return!1}var n=new URL(t,r);return r.origin===n.origin},t.createValidAbsoluteUrl=function(e,t){if(!e)return null;try{var r=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(r))return r}catch(e){}return null},t.isLittleEndian=function(){var e=new Uint8Array(4);return e[0]=1,1===new Uint32Array(e.buffer,0,1)[0]},t.isEvalSupported=function(){try{return Function(""),!0}catch(e){return!1}},t.loadJpegStream=function(e,t,r){var n=new Image;n.onload=function(){r.resolve(e,n)},n.onerror=function(){r.resolve(e,null),l("Error during JPEG image loading")},n.src=t},t.log2=function(e){for(var t=1,r=0;e>t;)t<<=1,r++;return r},t.readInt8=function(e,t){return e[t]<<24>>24},t.readUint16=function(e,t){return e[t]<<8|e[t+1]},t.readUint32=function(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0},t.removeNullCharacters=function(e){return"string"!=typeof e?(l("The argument for removeNullCharacters must be a string."),e):e.replace(x,"")},t.ReadableStream=a.ReadableStream,t.setVerbosityLevel=function(e){c=e},t.shadow=function(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r},t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=S,t.stringToPDFString=function(e){var t,r=e.length,n=[];if("\xfe"===e[0]&&"\xff"===e[1])for(t=2;t<r;t+=2)n.push(String.fromCharCode(e.charCodeAt(t)<<8|e.charCodeAt(t+1)));else for(t=0;t<r;++t){var i=C[e.charCodeAt(t)];n.push(i?String.fromCharCode(i):e.charAt(t))}return n.join("")},t.stringToUTF8String=function(e){return decodeURIComponent(escape(e))},t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=l,t.unreachable=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.getDefaultSetting=t.LinkTarget=t.getFilenameFromUrl=t.isValidUrl=t.isExternalLinkTargetSet=t.addLinkAttributes=t.RenderingCancelledException=t.CustomStyle=void 0;var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(0);function a(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var o="noopener noreferrer nofollow",s=function(){function e(){a(this,e)}return n(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw Error("invalid canvas size");var r=document.createElement("canvas"),n=r.getContext("2d");return r.width=e,r.height=t,{canvas:r,context:n}}},{key:"reset",value:function(e,t,r){if(!e.canvas)throw Error("canvas is not specified");if(t<=0||r<=0)throw Error("invalid canvas size");e.canvas.width=t,e.canvas.height=r}},{key:"destroy",value:function(e){if(!e.canvas)throw Error("canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}}]),e}(),c=function(){function e(t){var r=t.baseUrl,n=t.isCompressed;a(this,e),this.baseUrl=void 0===r?null:r,this.isCompressed=void 0!==n&&n}return n(e,[{key:"fetch",value:function(e){var t=this,r=e.name;return r?new Promise(function(e,n){var a=t.baseUrl+r+(t.isCompressed?".bcmap":""),o=new XMLHttpRequest;o.open("GET",a,!0),t.isCompressed&&(o.responseType="arraybuffer"),o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE){if(200===o.status||0===o.status){var r=void 0;if(t.isCompressed&&o.response?r=new Uint8Array(o.response):!t.isCompressed&&o.responseText&&(r=(0,i.stringToBytes)(o.responseText)),r){e({cMapData:r,compressionType:t.isCompressed?i.CMapCompressionType.BINARY:i.CMapCompressionType.NONE});return}}n(Error("Unable to load "+(t.isCompressed?"binary ":"")+"CMap at: "+a))}},o.send(null)}):Promise.reject(Error("CMap name must be specified."))}}]),e}(),l=function(){var e=["ms","Moz","Webkit","O"],t=Object.create(null);function r(){}return r.getProp=function(r,n){if(1==arguments.length&&"string"==typeof t[r])return t[r];var i,a,o=(n=n||document.documentElement).style;if("string"==typeof o[r])return t[r]=r;a=r.charAt(0).toUpperCase()+r.slice(1);for(var s=0,c=e.length;s<c;s++)if("string"==typeof o[i=e[s]+a])return t[r]=i;return t[r]="undefined"},r.setProp=function(e,t,r){var n=this.getProp(e);"undefined"!==n&&(t.style[n]=r)},r}(),u=function(){function e(e,t){this.message=e,this.type=t}return e.prototype=Error(),e.prototype.name="RenderingCancelledException",e.constructor=e,e}(),d={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4},h=["","_self","_blank","_parent","_top"];function f(e){var t=i.globalScope.PDFJS;switch(e){case"pdfBug":return!!t&&t.pdfBug;case"disableAutoFetch":return!!t&&t.disableAutoFetch;case"disableStream":return!!t&&t.disableStream;case"disableRange":return!!t&&t.disableRange;case"disableFontFace":return!!t&&t.disableFontFace;case"disableCreateObjectURL":return!!t&&t.disableCreateObjectURL;case"disableWebGL":return!t||t.disableWebGL;case"cMapUrl":return t?t.cMapUrl:null;case"cMapPacked":return!!t&&t.cMapPacked;case"postMessageTransfers":return!t||t.postMessageTransfers;case"workerPort":return t?t.workerPort:null;case"workerSrc":return t?t.workerSrc:null;case"disableWorker":return!!t&&t.disableWorker;case"maxImageSize":return t?t.maxImageSize:-1;case"imageResourcesPath":return t?t.imageResourcesPath:"";case"isEvalSupported":return!t||t.isEvalSupported;case"externalLinkTarget":if(!t)return d.NONE;switch(t.externalLinkTarget){case d.NONE:case d.SELF:case d.BLANK:case d.PARENT:case d.TOP:return t.externalLinkTarget}return(0,i.warn)("PDFJS.externalLinkTarget is invalid: "+t.externalLinkTarget),t.externalLinkTarget=d.NONE,d.NONE;case"externalLinkRel":return t?t.externalLinkRel:o;case"enableStats":return!!(t&&t.enableStats);case"pdfjsNext":return!!(t&&t.pdfjsNext);default:throw Error("Unknown default setting: "+e)}}t.CustomStyle=l,t.RenderingCancelledException=u,t.addLinkAttributes=function(e,t){var r=t&&t.url;if(e.href=e.title=r?(0,i.removeNullCharacters)(r):"",r){var n=t.target;void 0===n&&(n=f("externalLinkTarget")),e.target=h[n];var a=t.rel;void 0===a&&(a=f("externalLinkRel")),e.rel=a}},t.isExternalLinkTargetSet=function(){switch(f("externalLinkTarget")){case d.NONE:return!1;case d.SELF:case d.BLANK:case d.PARENT:case d.TOP:return!0}},t.isValidUrl=function(e,t){return(0,i.deprecated)("isValidUrl(), please use createValidAbsoluteUrl() instead."),null!==(0,i.createValidAbsoluteUrl)(e,t?"http://example.com":null)},t.getFilenameFromUrl=function(e){var t=e.indexOf("#"),r=e.indexOf("?"),n=Math.min(t>0?t:e.length,r>0?r:e.length);return e.substring(e.lastIndexOf("/",n)+1,n)},t.LinkTarget=d,t.getDefaultSetting=f,t.DEFAULT_LINK_REL=o,t.DOMCanvasFactory=s,t.DOMCMapReaderFactory=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.build=t.version=t._UnsupportedManager=t.setPDFNetworkStreamClass=t.PDFPageProxy=t.PDFDocumentProxy=t.PDFWorker=t.PDFDataRangeTransport=t.LoopbackPort=t.getDocument=void 0;var i,a,o,s,c,l=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),u="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},d=n(0),h=n(1),f=n(12),p=n(11),g=n(6),m=n(14),b=!1,v=!1,y="undefined"!=typeof document&&document.currentScript?document.currentScript.src:null,_=null,A=!1;"undefined"==typeof window&&(b=!0),A=!0,"undefined"!=typeof requirejs&&requirejs.toUrl&&(a=requirejs.toUrl("pdfjs-dist/build/pdf.worker.js"));var x="undefined"!=typeof requirejs&&requirejs.load;_=A?function(e){r.e(4127).then((function(){e(r(34127).WorkerMessageHandler)}).bind(null,r)).catch(r.oe)}:x?function(e){requirejs(["pdfjs-dist/build/pdf.worker"],function(t){e(t.WorkerMessageHandler)})}:null;var S=function(){var e=0;function t(){this._capability=(0,d.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return t.prototype={get promise(){return this._capability.promise},destroy:function(){var e=this;return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then(function(){e._transport=null,e._worker&&(e._worker.destroy(),e._worker=null)})},then:function(e,t){return this.promise.then.apply(this.promise,arguments)}},t}(),w=function(){function e(e,t){this.length=e,this.initialData=t,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._readyCapability=(0,d.createPromiseCapability)()}return e.prototype={addRangeListener:function(e){this._rangeListeners.push(e)},addProgressListener:function(e){this._progressListeners.push(e)},addProgressiveReadListener:function(e){this._progressiveReadListeners.push(e)},onDataRange:function(e,t){for(var r=this._rangeListeners,n=0,i=r.length;n<i;++n)r[n](e,t)},onDataProgress:function(e){var t=this;this._readyCapability.promise.then(function(){for(var r=t._progressListeners,n=0,i=r.length;n<i;++n)r[n](e)})},onDataProgressiveRead:function(e){var t=this;this._readyCapability.promise.then(function(){for(var r=t._progressiveReadListeners,n=0,i=r.length;n<i;++n)r[n](e)})},transportReady:function(){this._readyCapability.resolve()},requestDataRange:function(e,t){throw Error("Abstract method PDFDataRangeTransport.requestDataRange")},abort:function(){}},e}(),T=function(){function e(e,t,r){this.pdfInfo=e,this.transport=t,this.loadingTask=r}return e.prototype={get numPages(){return this.pdfInfo.numPages},get fingerprint(){return this.pdfInfo.fingerprint},getPage:function(e){return this.transport.getPage(e)},getPageIndex:function(e){return this.transport.getPageIndex(e)},getDestinations:function(){return this.transport.getDestinations()},getDestination:function(e){return this.transport.getDestination(e)},getPageLabels:function(){return this.transport.getPageLabels()},getPageMode:function(){return this.transport.getPageMode()},getAttachments:function(){return this.transport.getAttachments()},getJavaScript:function(){return this.transport.getJavaScript()},getOutline:function(){return this.transport.getOutline()},getMetadata:function(){return this.transport.getMetadata()},getData:function(){return this.transport.getData()},getDownloadInfo:function(){return this.transport.downloadInfoCapability.promise},getStats:function(){return this.transport.getStats()},cleanup:function(){this.transport.startCleanup()},destroy:function(){return this.loadingTask.destroy()}},e}(),D=function(){function e(e,t,r){this.pageIndex=e,this.pageInfo=t,this.transport=r,this.stats=new d.StatTimer,this.stats.enabled=(0,h.getDefaultSetting)("enableStats"),this.commonObjs=r.commonObjs,this.objs=new P,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return e.prototype={get pageNumber(){return this.pageIndex+1},get rotate(){return this.pageInfo.rotate},get ref(){return this.pageInfo.ref},get userUnit(){return this.pageInfo.userUnit},get view(){return this.pageInfo.view},getViewport:function(e,t){return arguments.length<2&&(t=this.rotate),new d.PageViewport(this.view,e,t,0,0)},getAnnotations:function(e){var t=e&&e.intent||null;return this.annotationsPromise&&this.annotationsIntent===t||(this.annotationsPromise=this.transport.getAnnotations(this.pageIndex,t),this.annotationsIntent=t),this.annotationsPromise},render:function(e){var t=this,r=this.stats;r.time("Overall"),this.pendingCleanup=!1;var n="print"===e.intent?"print":"display",i=e.canvasFactory||new h.DOMCanvasFactory;this.intentStates[n]||(this.intentStates[n]=Object.create(null));var a=this.intentStates[n];a.displayReadyCapability||(a.receivingOperatorList=!0,a.displayReadyCapability=(0,d.createPromiseCapability)(),a.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.stats.time("Page Request"),this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageNumber-1,intent:n,renderInteractiveForms:!0===e.renderInteractiveForms}));var o=function(e){var n=a.renderTasks.indexOf(s);n>=0&&a.renderTasks.splice(n,1),t.cleanupAfterRender&&(t.pendingCleanup=!0),t._tryCleanup(),e?s.capability.reject(e):s.capability.resolve(),r.timeEnd("Rendering"),r.timeEnd("Overall")},s=new F(o,e,this.objs,this.commonObjs,a.operatorList,this.pageNumber,i);s.useRequestAnimationFrame="print"!==n,a.renderTasks||(a.renderTasks=[]),a.renderTasks.push(s);var c=s.task;return e.continueCallback&&((0,d.deprecated)("render is used with continueCallback parameter"),c.onContinue=e.continueCallback),a.displayReadyCapability.promise.then(function(e){if(t.pendingCleanup){o();return}r.time("Rendering"),s.initializeGraphics(e),s.operatorListChanged()}).catch(o),c},getOperatorList:function(){var e,t="oplist";this.intentStates[t]||(this.intentStates[t]=Object.create(null));var r=this.intentStates[t];return r.opListReadCapability||((e={}).operatorListChanged=function(){if(r.operatorList.lastChunk){r.opListReadCapability.resolve(r.operatorList);var t=r.renderTasks.indexOf(e);t>=0&&r.renderTasks.splice(t,1)}},r.receivingOperatorList=!0,r.opListReadCapability=(0,d.createPromiseCapability)(),r.renderTasks=[],r.renderTasks.push(e),r.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageIndex,intent:t})),r.opListReadCapability.promise},streamTextContent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this.pageNumber-1,normalizeWhitespace:!0===e.normalizeWhitespace,combineTextItems:!0!==e.disableCombineTextItems},{highWaterMark:100,size:function(e){return e.items.length}})},getTextContent:function(e){e=e||{};var t=this.streamTextContent(e);return new Promise(function(e,r){var n=t.getReader(),i={items:[],styles:Object.create(null)};!function t(){n.read().then(function(r){var n=r.value;if(r.done){e(i);return}d.Util.extendObj(i.styles,n.styles),d.Util.appendToArray(i.items,n.items),t()},r)}()})},_destroy:function(){this.destroyed=!0,this.transport.pageCache[this.pageIndex]=null;var e=[];return Object.keys(this.intentStates).forEach(function(t){"oplist"!==t&&this.intentStates[t].renderTasks.forEach(function(t){var r=t.capability.promise.catch(function(){});e.push(r),t.cancel()})},this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(e)},destroy:function(){(0,d.deprecated)("page destroy method, use cleanup() instead"),this.cleanup()},cleanup:function(){this.pendingCleanup=!0,this._tryCleanup()},_tryCleanup:function(){!this.pendingCleanup||Object.keys(this.intentStates).some(function(e){var t=this.intentStates[e];return 0!==t.renderTasks.length||t.receivingOperatorList},this)||(Object.keys(this.intentStates).forEach(function(e){delete this.intentStates[e]},this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1)},_startRenderPage:function(e,t){var r=this.intentStates[t];r.displayReadyCapability&&r.displayReadyCapability.resolve(e)},_renderPageChunk:function(e,t){var r,n,i=this.intentStates[t];for(r=0,n=e.length;r<n;r++)i.operatorList.fnArray.push(e.fnArray[r]),i.operatorList.argsArray.push(e.argsArray[r]);for(r=0,i.operatorList.lastChunk=e.lastChunk;r<i.renderTasks.length;r++)i.renderTasks[r].operatorListChanged();e.lastChunk&&(i.receivingOperatorList=!1,this._tryCleanup())}},e}(),C=function(){function e(t){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this._listeners=[],this._defer=t,this._deferred=Promise.resolve(void 0)}return l(e,[{key:"postMessage",value:function(e,t){var r=this;if(!this._defer){this._listeners.forEach(function(t){t.call(this,{data:e})},this);return}var n=new WeakMap,i={data:function e(r){if((void 0===r?"undefined":u(r))!=="object"||null===r)return r;if(n.has(r))return n.get(r);if((s=r.buffer)&&(0,d.isArrayBuffer)(s)){var i=t&&t.indexOf(s)>=0;return o=r===s?r:i?new r.constructor(s,r.byteOffset,r.byteLength):new r.constructor(r),n.set(r,o),o}for(var a in o=(0,d.isArray)(r)?[]:{},n.set(r,o),r){for(var o,s,c,l=r;!(c=Object.getOwnPropertyDescriptor(l,a));)l=Object.getPrototypeOf(l);void 0!==c.value&&"function"!=typeof c.value&&(o[a]=e(c.value))}return o}(e)};this._deferred.then(function(){r._listeners.forEach(function(e){e.call(this,i)},r)})}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var r=this._listeners.indexOf(t);this._listeners.splice(r,1)}},{key:"terminate",value:function(){this._listeners=[]}}]),e}(),k=function(){var e=0;function t(){if(void 0!==a)return a;if((0,h.getDefaultSetting)("workerSrc"))return(0,h.getDefaultSetting)("workerSrc");if(y)return y.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2");throw Error("No PDFJS.workerSrc specified")}var r=void 0,n=new WeakMap;function i(e,t){if(t&&n.has(t))throw Error("Cannot use more than one PDFWorker per port");if(this.name=e,this.destroyed=!1,this.postMessageTransfers=!0,this._readyCapability=(0,d.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,t){n.set(t,this),this._initializeFromPort(t);return}this._initialize()}return i.prototype={get promise(){return this._readyCapability.promise},get port(){return this._port},get messageHandler(){return this._messageHandler},_initializeFromPort:function(e){this._port=e,this._messageHandler=new d.MessageHandler("main","worker",e),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()},_initialize:function(){var e=this;if(!b&&!(0,h.getDefaultSetting)("disableWorker")&&"undefined"!=typeof Worker){var r,n=t();try{(0,d.isSameOrigin)(window.location.href,n)||(r=new URL(n,window.location).href,n=URL.createObjectURL(new Blob(["importScripts('"+r+"');"])));var i=new Worker(n),a=new d.MessageHandler("main","worker",i),o=function(){i.removeEventListener("error",s),a.destroy(),i.terminate(),e.destroyed?e._readyCapability.reject(Error("Worker was destroyed")):e._setupFakeWorker()},s=function(){e._webWorker||o()};i.addEventListener("error",s),a.on("test",function(t){if(i.removeEventListener("error",s),e.destroyed){o();return}t&&t.supportTypedArray?(e._messageHandler=a,e._port=i,e._webWorker=i,t.supportTransfers||(e.postMessageTransfers=!1,v=!0),e._readyCapability.resolve(),a.send("configure",{verbosity:(0,d.getVerbosityLevel)()})):(e._setupFakeWorker(),a.destroy(),i.terminate())}),a.on("console_log",function(e){console.log.apply(console,e)}),a.on("console_error",function(e){console.error.apply(console,e)}),a.on("ready",function(t){if(i.removeEventListener("error",s),e.destroyed){o();return}try{c()}catch(t){e._setupFakeWorker()}});var c=function(){var e=(0,h.getDefaultSetting)("postMessageTransfers")&&!v,t=new Uint8Array([e?255:0]);try{a.send("test",t,[t.buffer])}catch(e){(0,d.info)("Cannot use postMessage transfers"),t[0]=0,a.send("test",t)}};c();return}catch(e){(0,d.info)("The worker has been disabled.")}}this._setupFakeWorker()},_setupFakeWorker:function(){var n=this;b||(0,h.getDefaultSetting)("disableWorker")||((0,d.warn)("Setting up fake worker."),b=!0),(r||(r=(0,d.createPromiseCapability)(),(_||function(e){d.Util.loadScript(t(),function(){e(window.pdfjsDistBuildPdfWorker.WorkerMessageHandler)})})(r.resolve)),r.promise).then(function(t){if(n.destroyed){n._readyCapability.reject(Error("Worker was destroyed"));return}var r=new C(Uint8Array!==Float32Array);n._port=r;var i="fake"+e++,a=new d.MessageHandler(i+"_worker",i,r);t.setup(a,r);var o=new d.MessageHandler(i,i+"_worker",r);n._messageHandler=o,n._readyCapability.resolve()})},destroy:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),n.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},i.fromPort=function(e){return n.has(e)?n.get(e):new i(null,e)},i}(),E=function(){function e(e,t,r,n){this.messageHandler=e,this.loadingTask=t,this.commonObjs=new P,this.fontLoader=new f.FontLoader(t.docId),this.CMapReaderFactory=new n({baseUrl:(0,h.getDefaultSetting)("cMapUrl"),isCompressed:(0,h.getDefaultSetting)("cMapPacked")}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=r,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,d.createPromiseCapability)(),this.setupMessageHandler()}return e.prototype={destroy:function(){var e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,d.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(Error("Worker was destroyed during onPassword callback"));var t=[];this.pageCache.forEach(function(e){e&&t.push(e._destroy())}),this.pageCache=[],this.pagePromises=[];var r=this.messageHandler.sendWithPromise("Terminate",null);return t.push(r),Promise.all(t).then(function(){e.fontLoader.clear(),e._networkStream&&e._networkStream.cancelAllRequests(),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise},setupMessageHandler:function(){var e=this.messageHandler,t=this.loadingTask;e.on("GetReader",function(e,t){var r=this;(0,d.assert)(this._networkStream),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=function(e){r._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=function(){r._fullReader.read().then(function(e){var r=e.value;if(e.done){t.close();return}(0,d.assert)((0,d.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r])}).catch(function(e){t.error(e)})},t.onCancel=function(e){r._fullReader.cancel(e)}},this),e.on("ReaderHeadersReady",function(e){var t=this,r=(0,d.createPromiseCapability)(),n=this._fullReader;return n.headersReady.then(function(){if(!n.isStreamingSupported||!n.isRangeSupported){if(t._lastProgress){var e=t.loadingTask;e.onProgress&&e.onProgress(t._lastProgress)}n.onProgress=function(e){var r=t.loadingTask;r.onProgress&&r.onProgress({loaded:e.loaded,total:e.total})}}r.resolve({isStreamingSupported:n.isStreamingSupported,isRangeSupported:n.isRangeSupported,contentLength:n.contentLength})},r.reject),r.promise},this),e.on("GetRangeReader",function(e,t){(0,d.assert)(this._networkStream);var r=this._networkStream.getRangeReader(e.begin,e.end);t.onPull=function(){r.read().then(function(e){var r=e.value;if(e.done){t.close();return}(0,d.assert)((0,d.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r])}).catch(function(e){t.error(e)})},t.onCancel=function(e){r.cancel(e)}},this),e.on("GetDoc",function(e){var t=e.pdfInfo;this.numPages=e.pdfInfo.numPages;var r=this.loadingTask,n=new T(t,this,r);this.pdfDocument=n,r._capability.resolve(n)},this),e.on("PasswordRequest",function(e){var r=this;return this._passwordCapability=(0,d.createPromiseCapability)(),t.onPassword?t.onPassword(function(e){r._passwordCapability.resolve({password:e})},e.code):this._passwordCapability.reject(new d.PasswordException(e.message,e.code)),this._passwordCapability.promise},this),e.on("PasswordException",function(e){t._capability.reject(new d.PasswordException(e.message,e.code))},this),e.on("InvalidPDF",function(e){this.loadingTask._capability.reject(new d.InvalidPDFException(e.message))},this),e.on("MissingPDF",function(e){this.loadingTask._capability.reject(new d.MissingPDFException(e.message))},this),e.on("UnexpectedResponse",function(e){this.loadingTask._capability.reject(new d.UnexpectedResponseException(e.message,e.status))},this),e.on("UnknownError",function(e){this.loadingTask._capability.reject(new d.UnknownErrorException(e.message,e.details))},this),e.on("DataLoaded",function(e){this.downloadInfoCapability.resolve(e)},this),e.on("PDFManagerReady",function(e){},this),e.on("StartRenderPage",function(e){if(!this.destroyed){var t=this.pageCache[e.pageIndex];t.stats.timeEnd("Page Request"),t._startRenderPage(e.transparency,e.intent)}},this),e.on("RenderPageChunk",function(e){this.destroyed||this.pageCache[e.pageIndex]._renderPageChunk(e.operatorList,e.intent)},this),e.on("commonobj",function(e){var t=this;if(!this.destroyed){var r=e[0],n=e[1];if(!this.commonObjs.hasData(r))switch(n){case"Font":var i=e[2];if("error"in i){var a=i.error;(0,d.warn)("Error during font loading: "+a),this.commonObjs.resolve(r,a);break}var o=null;(0,h.getDefaultSetting)("pdfBug")&&d.globalScope.FontInspector&&d.globalScope.FontInspector.enabled&&(o={registerFont:function(e,t){d.globalScope.FontInspector.fontAdded(e,t)}});var s=new f.FontFaceObject(i,{isEvalSuported:(0,h.getDefaultSetting)("isEvalSupported"),disableFontFace:(0,h.getDefaultSetting)("disableFontFace"),fontRegistry:o});this.fontLoader.bind([s],function(e){t.commonObjs.resolve(r,s)});break;case"FontPath":this.commonObjs.resolve(r,e[2]);break;default:throw Error("Got unknown common object type "+n)}}},this),e.on("obj",function(e){if(!this.destroyed){var t,r=e[0],n=e[1],i=e[2],a=this.pageCache[n];if(!a.objs.hasData(r))switch(i){case"JpegStream":t=e[3],(0,d.loadJpegStream)(r,t,a.objs);break;case"Image":t=e[3],a.objs.resolve(r,t),t&&"data"in t&&t.data.length>8e6&&(a.cleanupAfterRender=!0);break;default:throw Error("Got unknown object type "+i)}}},this),e.on("DocProgress",function(e){if(!this.destroyed){var t=this.loadingTask;t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}},this),e.on("PageError",function(e){if(!this.destroyed){var t=this.pageCache[e.pageNum-1].intentStates[e.intent];if(t.displayReadyCapability)t.displayReadyCapability.reject(e.error);else throw Error(e.error);if(t.operatorList){t.operatorList.lastChunk=!0;for(var r=0;r<t.renderTasks.length;r++)t.renderTasks[r].operatorListChanged()}}},this),e.on("UnsupportedFeature",function(e){if(!this.destroyed){var t=e.featureId,r=this.loadingTask;r.onUnsupportedFeature&&r.onUnsupportedFeature(t),U.notify(t)}},this),e.on("JpegDecode",function(e){if(this.destroyed)return Promise.reject(Error("Worker was destroyed"));if("undefined"==typeof document)return Promise.reject(Error('"document" is not defined.'));var t=e[0],r=e[1];return 3!==r&&1!==r?Promise.reject(Error("Only 3 components or 1 component can be returned")):new Promise(function(e,n){var i=new Image;i.onload=function(){var t,n,a=i.width,o=i.height,s=a*o,c=4*s,l=new Uint8Array(s*r),u=document.createElement("canvas");u.width=a,u.height=o;var d=u.getContext("2d");d.drawImage(i,0,0);var h=d.getImageData(0,0,a,o).data;if(3===r)for(t=0,n=0;t<c;t+=4,n+=3)l[n]=h[t],l[n+1]=h[t+1],l[n+2]=h[t+2];else if(1===r)for(t=0,n=0;t<c;t+=4,n++)l[n]=h[t];e({data:l,width:a,height:o})},i.onerror=function(){n(Error("JpegDecode failed to load image"))},i.src=t})},this),e.on("FetchBuiltInCMap",function(e){return this.destroyed?Promise.reject(Error("Worker was destroyed")):this.CMapReaderFactory.fetch({name:e.name})},this)},getData:function(){return this.messageHandler.sendWithPromise("GetData",null)},getPage:function(e,t){var r=this;if(!(0,d.isInt)(e)||e<=0||e>this.numPages)return Promise.reject(Error("Invalid page request"));var n=e-1;if(n in this.pagePromises)return this.pagePromises[n];var i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:n}).then(function(e){if(r.destroyed)throw Error("Transport destroyed");var t=new D(n,e,r);return r.pageCache[n]=t,t});return this.pagePromises[n]=i,i},getPageIndex:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e}).catch(function(e){return Promise.reject(Error(e))})},getAnnotations:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})},getDestinations:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)},getDestination:function(e){return this.messageHandler.sendWithPromise("GetDestination",{id:e})},getPageLabels:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)},getPageMode:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)},getAttachments:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)},getJavaScript:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)},getOutline:function(){return this.messageHandler.sendWithPromise("GetOutline",null)},getMetadata:function(){return this.messageHandler.sendWithPromise("GetMetadata",null).then(function(e){return{info:e[0],metadata:e[1]?new g.Metadata(e[1]):null}})},getStats:function(){return this.messageHandler.sendWithPromise("GetStats",null)},startCleanup:function(){var e=this;this.messageHandler.sendWithPromise("Cleanup",null).then(function(){for(var t=0,r=e.pageCache.length;t<r;t++){var n=e.pageCache[t];n&&n.cleanup()}e.commonObjs.clear(),e.fontLoader.clear()})}},e}(),P=function(){function e(){this.objs=Object.create(null)}return e.prototype={ensureObj:function(e){if(this.objs[e])return this.objs[e];var t={capability:(0,d.createPromiseCapability)(),data:null,resolved:!1};return this.objs[e]=t,t},get:function(e,t){if(t)return this.ensureObj(e).capability.promise.then(t),null;var r=this.objs[e];if(!r||!r.resolved)throw Error("Requesting object that isn't resolved yet "+e);return r.data},resolve:function(e,t){var r=this.ensureObj(e);r.resolved=!0,r.data=t,r.capability.resolve(t)},isResolved:function(e){var t=this.objs;return!!t[e]&&t[e].resolved},hasData:function(e){return this.isResolved(e)},getData:function(e){var t=this.objs;return t[e]&&t[e].resolved?t[e].data:null},clear:function(){this.objs=Object.create(null)}},e}(),R=function(){function e(e){this._internalRenderTask=e,this.onContinue=null}return e.prototype={get promise(){return this._internalRenderTask.capability.promise},cancel:function(){this._internalRenderTask.cancel()},then:function(e,t){return this.promise.then.apply(this.promise,arguments)}},e}(),F=function(){var e=new WeakMap;function t(e,t,r,n,i,a,o){this.callback=e,this.params=t,this.objs=r,this.commonObjs=n,this.operatorListIdx=null,this.operatorList=i,this.pageNumber=a,this.canvasFactory=o,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this.useRequestAnimationFrame=!1,this.cancelled=!1,this.capability=(0,d.createPromiseCapability)(),this.task=new R(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvasContext.canvas}return t.prototype={initializeGraphics:function(t){if(this._canvas){if(e.has(this._canvas))throw Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");e.set(this._canvas,this)}if(!this.cancelled){(0,h.getDefaultSetting)("pdfBug")&&d.globalScope.StepperManager&&d.globalScope.StepperManager.enabled&&(this.stepper=d.globalScope.StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var r=this.params;this.gfx=new p.CanvasGraphics(r.canvasContext,this.commonObjs,this.objs,this.canvasFactory,r.imageLayer),this.gfx.beginDrawing({transform:r.transform,viewport:r.viewport,transparency:t,background:r.background}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}},cancel:function(){this.running=!1,this.cancelled=!0,this._canvas&&e.delete(this._canvas),(0,h.getDefaultSetting)("pdfjsNext")?this.callback(new h.RenderingCancelledException("Rendering cancelled, page "+this.pageNumber,"canvas")):this.callback("cancelled")},operatorListChanged:function(){if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()},_continue:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())},_scheduleNext:function(){this.useRequestAnimationFrame&&"undefined"!=typeof window?window.requestAnimationFrame(this._nextBound):Promise.resolve(void 0).then(this._nextBound)},_next:function(){!this.cancelled&&(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&e.delete(this._canvas),this.callback())))}},t}(),U=(i=[],{listen:function(e){(0,d.deprecated)("Global UnsupportedManager.listen is used: use PDFDocumentLoadingTask.onUnsupportedFeature instead"),i.push(e)},notify:function(e){for(var t=0,r=i.length;t<r;t++)i[t](e)}});t.version=s="1.9.426",t.build=c="2558a58d",t.getDocument=function(e,t,r,n){var i,a=new S;if(arguments.length>1&&(0,d.deprecated)("getDocument is called with pdfDataRangeTransport, passwordCallback or progressCallback argument"),t&&(t instanceof w||((t=Object.create(t)).length=e.length,t.initialData=e.initialData,t.abort||(t.abort=function(){})),(e=Object.create(e)).range=t),a.onPassword=r||null,a.onProgress=n||null,"string"==typeof e)i={url:e};else if((0,d.isArrayBuffer)(e))i={data:e};else if(e instanceof w)i={range:e};else{if((void 0===e?"undefined":u(e))!=="object")throw Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!e.url&&!e.data&&!e.range)throw Error("Invalid parameter object: need either .data, .range or .url");i=e}var s={},c=null,l=null,f=h.DOMCMapReaderFactory;for(var p in i){if("url"===p&&"undefined"!=typeof window){s[p]=new URL(i[p],window.location).href;continue}if("range"===p){c=i[p];continue}if("worker"===p){l=i[p];continue}if("data"!==p||i[p]instanceof Uint8Array){if("CMapReaderFactory"===p){f=i[p];continue}}else{var g=i[p];if("string"==typeof g)s[p]=(0,d.stringToBytes)(g);else if((void 0===g?"undefined":u(g))!=="object"||null===g||isNaN(g.length)){if((0,d.isArrayBuffer)(g))s[p]=new Uint8Array(g);else throw Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.")}else s[p]=new Uint8Array(g);continue}s[p]=i[p]}if(s.rangeChunkSize=s.rangeChunkSize||65536,s.ignoreErrors=!0!==s.stopAtErrors,void 0!==s.disableNativeImageDecoder&&(0,d.deprecated)("parameter disableNativeImageDecoder, use nativeImageDecoderSupport instead"),s.nativeImageDecoderSupport=s.nativeImageDecoderSupport||(!0===s.disableNativeImageDecoder?d.NativeImageDecoding.NONE:d.NativeImageDecoding.DECODE),s.nativeImageDecoderSupport!==d.NativeImageDecoding.DECODE&&s.nativeImageDecoderSupport!==d.NativeImageDecoding.NONE&&s.nativeImageDecoderSupport!==d.NativeImageDecoding.DISPLAY&&((0,d.warn)("Invalid parameter nativeImageDecoderSupport: need a state of enum {NativeImageDecoding}"),s.nativeImageDecoderSupport=d.NativeImageDecoding.DECODE),!l){var b=(0,h.getDefaultSetting)("workerPort");l=b?k.fromPort(b):new k,a._worker=l}var y=a.docId;return l.promise.then(function(){var e,t;if(a.destroyed)throw Error("Loading aborted");return(e=l,t=c,e.destroyed?Promise.reject(Error("Worker was destroyed")):(s.disableAutoFetch=(0,h.getDefaultSetting)("disableAutoFetch"),s.disableStream=(0,h.getDefaultSetting)("disableStream"),s.chunkedViewerLoading=!!t,t&&(s.length=t.length,s.initialData=t.initialData),e.messageHandler.sendWithPromise("GetDocRequest",{docId:y,source:{data:s.data,url:s.url,password:s.password,disableAutoFetch:s.disableAutoFetch,rangeChunkSize:s.rangeChunkSize,length:s.length},maxImageSize:(0,h.getDefaultSetting)("maxImageSize"),disableFontFace:(0,h.getDefaultSetting)("disableFontFace"),disableCreateObjectURL:(0,h.getDefaultSetting)("disableCreateObjectURL"),postMessageTransfers:(0,h.getDefaultSetting)("postMessageTransfers")&&!v,docBaseUrl:s.docBaseUrl,nativeImageDecoderSupport:s.nativeImageDecoderSupport,ignoreErrors:s.ignoreErrors}).then(function(t){if(e.destroyed)throw Error("Worker was destroyed");return t}))).then(function(e){if(a.destroyed)throw Error("Loading aborted");var t=void 0;c?t=new m.PDFDataTransportStream(s,c):s.data||(t=new o({source:s,disableRange:(0,h.getDefaultSetting)("disableRange")}));var r=new d.MessageHandler(y,e,l.port);r.postMessageTransfers=l.postMessageTransfers;var n=new E(r,a,t,f);a._transport=n,r.send("Ready",null)})}).catch(a._capability.reject),a},t.LoopbackPort=C,t.PDFDataRangeTransport=w,t.PDFWorker=k,t.PDFDocumentProxy=T,t.PDFPageProxy=D,t.setPDFNetworkStreamClass=function(e){o=e},t._UnsupportedManager=U,t.version=s,t.build=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var n=r(1),i=r(0);function a(){}a.prototype={create:function(e){switch(e.data.annotationType){case i.AnnotationType.LINK:return new s(e);case i.AnnotationType.TEXT:return new c(e);case i.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new u(e);case"Btn":if(e.data.radioButton)return new h(e);if(e.data.checkBox)return new d(e);(0,i.warn)("Unimplemented button widget annotation: pushbutton");break;case"Ch":return new f(e)}return new l(e);case i.AnnotationType.POPUP:return new p(e);case i.AnnotationType.LINE:return new m(e);case i.AnnotationType.HIGHLIGHT:return new b(e);case i.AnnotationType.UNDERLINE:return new v(e);case i.AnnotationType.SQUIGGLY:return new y(e);case i.AnnotationType.STRIKEOUT:return new _(e);case i.AnnotationType.FILEATTACHMENT:return new A(e);default:return new o(e)}}};var o=function(){function e(e,t,r){this.isRenderable=t||!1,this.data=e.data,this.layer=e.layer,this.page=e.page,this.viewport=e.viewport,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderInteractiveForms=e.renderInteractiveForms,t&&(this.container=this._createContainer(r))}return e.prototype={_createContainer:function(e){var t=this.data,r=this.page,a=this.viewport,o=document.createElement("section"),s=t.rect[2]-t.rect[0],c=t.rect[3]-t.rect[1];o.setAttribute("data-annotation-id",t.id);var l=i.Util.normalizeRect([t.rect[0],r.view[3]-t.rect[1]+r.view[1],t.rect[2],r.view[3]-t.rect[3]+r.view[1]]);if(n.CustomStyle.setProp("transform",o,"matrix("+a.transform.join(",")+")"),n.CustomStyle.setProp("transformOrigin",o,-l[0]+"px "+-l[1]+"px"),!e&&t.borderStyle.width>0){o.style.borderWidth=t.borderStyle.width+"px",t.borderStyle.style!==i.AnnotationBorderStyleType.UNDERLINE&&(s-=2*t.borderStyle.width,c-=2*t.borderStyle.width);var u=t.borderStyle.horizontalCornerRadius,d=t.borderStyle.verticalCornerRadius;switch((u>0||d>0)&&n.CustomStyle.setProp("borderRadius",o,u+"px / "+d+"px"),t.borderStyle.style){case i.AnnotationBorderStyleType.SOLID:o.style.borderStyle="solid";break;case i.AnnotationBorderStyleType.DASHED:o.style.borderStyle="dashed";break;case i.AnnotationBorderStyleType.BEVELED:(0,i.warn)("Unimplemented border style: beveled");break;case i.AnnotationBorderStyleType.INSET:(0,i.warn)("Unimplemented border style: inset");break;case i.AnnotationBorderStyleType.UNDERLINE:o.style.borderBottomStyle="solid"}t.color?o.style.borderColor=i.Util.makeCssRgb(0|t.color[0],0|t.color[1],0|t.color[2]):o.style.borderWidth=0}return o.style.left=l[0]+"px",o.style.top=l[1]+"px",o.style.width=s+"px",o.style.height=c+"px",o},_createPopup:function(e,t,r){t||((t=document.createElement("div")).style.height=e.style.height,t.style.width=e.style.width,e.appendChild(t));var n=new g({container:e,trigger:t,color:r.color,title:r.title,contents:r.contents,hideWrapper:!0}).render();n.style.left=e.style.width,e.appendChild(n)},render:function(){throw Error("Abstract method AnnotationElement.render called")}},e}(),s=function(){function e(e){o.call(this,e,!0)}return i.Util.inherit(e,o,{render:function(){this.container.className="linkAnnotation";var e=document.createElement("a");return(0,n.addLinkAttributes)(e,{url:this.data.url,target:this.data.newWindow?n.LinkTarget.BLANK:void 0}),this.data.url||(this.data.action?this._bindNamedAction(e,this.data.action):this._bindLink(e,this.data.dest)),this.container.appendChild(e),this.container},_bindLink:function(e,t){var r=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&r.linkService.navigateTo(t),!1},t&&(e.className="internalLink")},_bindNamedAction:function(e,t){var r=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return r.linkService.executeNamedAction(t),!1},e.className="internalLink"}}),e}(),c=function(){function e(e){var t=!!(e.data.hasPopup||e.data.title||e.data.contents);o.call(this,e,t)}return i.Util.inherit(e,o,{render:function(){this.container.className="textAnnotation";var e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}}),e}(),l=function(){function e(e,t){o.call(this,e,t)}return i.Util.inherit(e,o,{render:function(){return this.container}}),e}(),u=function(){var e=["left","center","right"];function t(e){var t=e.renderInteractiveForms||!e.data.hasAppearance&&!!e.data.fieldValue;l.call(this,e,t)}return i.Util.inherit(t,l,{render:function(){this.container.className="textWidgetAnnotation";var t=null;if(this.renderInteractiveForms){if(this.data.multiLine?(t=document.createElement("textarea")).textContent=this.data.fieldValue:((t=document.createElement("input")).type="text",t.setAttribute("value",this.data.fieldValue)),t.disabled=this.data.readOnly,null!==this.data.maxLen&&(t.maxLength=this.data.maxLen),this.data.comb){var r=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;t.classList.add("comb"),t.style.letterSpacing="calc("+r+"px - 1ch)"}}else{(t=document.createElement("div")).textContent=this.data.fieldValue,t.style.verticalAlign="middle",t.style.display="table-cell";var n=null;this.data.fontRefName&&(n=this.page.commonObjs.getData(this.data.fontRefName)),this._setTextStyle(t,n)}return null!==this.data.textAlignment&&(t.style.textAlign=e[this.data.textAlignment]),this.container.appendChild(t),this.container},_setTextStyle:function(e,t){var r=e.style;if(r.fontSize=this.data.fontSize+"px",r.direction=this.data.fontDirection<0?"rtl":"ltr",t){r.fontWeight=t.black?t.bold?"900":"bold":t.bold?"bold":"normal",r.fontStyle=t.italic?"italic":"normal";var n=t.loadedName?'"'+t.loadedName+'", ':"",i=t.fallbackName||"Helvetica, sans-serif";r.fontFamily=n+i}}}),t}(),d=function(){function e(e){l.call(this,e,e.renderInteractiveForms)}return i.Util.inherit(e,l,{render:function(){this.container.className="buttonWidgetAnnotation checkBox";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="checkbox",this.data.fieldValue&&"Off"!==this.data.fieldValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}),e}(),h=function(){function e(e){l.call(this,e,e.renderInteractiveForms)}return i.Util.inherit(e,l,{render:function(){this.container.className="buttonWidgetAnnotation radioButton";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="radio",e.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}),e}(),f=function(){function e(e){l.call(this,e,e.renderInteractiveForms)}return i.Util.inherit(e,l,{render:function(){this.container.className="choiceWidgetAnnotation";var e=document.createElement("select");e.disabled=this.data.readOnly,!this.data.combo&&(e.size=this.data.options.length,this.data.multiSelect&&(e.multiple=!0));for(var t=0,r=this.data.options.length;t<r;t++){var n=this.data.options[t],i=document.createElement("option");i.textContent=n.displayValue,i.value=n.exportValue,this.data.fieldValue.indexOf(n.displayValue)>=0&&i.setAttribute("selected",!0),e.appendChild(i)}return this.container.appendChild(e),this.container}}),e}(),p=function(){var e=["Line"];function t(e){var t=!!(e.data.title||e.data.contents);o.call(this,e,t)}return i.Util.inherit(t,o,{render:function(){if(this.container.className="popupAnnotation",e.indexOf(this.data.parentType)>=0)return this.container;var t='[data-annotation-id="'+this.data.parentId+'"]',r=this.layer.querySelector(t);if(!r)return this.container;var i=new g({container:this.container,trigger:r,color:this.data.color,title:this.data.title,contents:this.data.contents}),a=parseFloat(r.style.left),o=parseFloat(r.style.width);return n.CustomStyle.setProp("transformOrigin",this.container,-(a+o)+"px -"+r.style.top),this.container.style.left=a+o+"px",this.container.appendChild(i.render()),this.container}}),t}(),g=function(){function e(e){this.container=e.container,this.trigger=e.trigger,this.color=e.color,this.title=e.title,this.contents=e.contents,this.hideWrapper=e.hideWrapper||!1,this.pinned=!1}return e.prototype={render:function(){var e=document.createElement("div");e.className="popupWrapper",this.hideElement=this.hideWrapper?e:this.container,this.hideElement.setAttribute("hidden",!0);var t=document.createElement("div");t.className="popup";var r=this.color;if(r){var n=.7*(255-r[0])+r[0],a=.7*(255-r[1])+r[1],o=.7*(255-r[2])+r[2];t.style.backgroundColor=i.Util.makeCssRgb(0|n,0|a,0|o)}var s=this._formatContents(this.contents),c=document.createElement("h1");return c.textContent=this.title,this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),t.addEventListener("click",this._hide.bind(this,!0)),t.appendChild(c),t.appendChild(s),e.appendChild(t),e},_formatContents:function(e){for(var t=document.createElement("p"),r=e.split(/(?:\r\n?|\n)/),n=0,i=r.length;n<i;++n){var a=r[n];t.appendChild(document.createTextNode(a)),n<i-1&&t.appendChild(document.createElement("br"))}return t},_toggle:function(){this.pinned?this._hide(!0):this._show(!0)},_show:function(e){e&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)},_hide:function(e){e&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}},e}(),m=function(){var e="http://www.w3.org/2000/svg";function t(e){var t=!!(e.data.hasPopup||e.data.title||e.data.contents);o.call(this,e,t,!0)}return i.Util.inherit(t,o,{render:function(){this.container.className="lineAnnotation";var t=this.data,r=t.rect[2]-t.rect[0],n=t.rect[3]-t.rect[1],i=document.createElementNS(e,"svg:svg");i.setAttributeNS(null,"version","1.1"),i.setAttributeNS(null,"width",r+"px"),i.setAttributeNS(null,"height",n+"px"),i.setAttributeNS(null,"preserveAspectRatio","none"),i.setAttributeNS(null,"viewBox","0 0 "+r+" "+n);var a=document.createElementNS(e,"svg:line");return a.setAttributeNS(null,"x1",t.rect[2]-t.lineCoordinates[0]),a.setAttributeNS(null,"y1",t.rect[3]-t.lineCoordinates[1]),a.setAttributeNS(null,"x2",t.rect[2]-t.lineCoordinates[2]),a.setAttributeNS(null,"y2",t.rect[3]-t.lineCoordinates[3]),a.setAttributeNS(null,"stroke-width",t.borderStyle.width),a.setAttributeNS(null,"stroke","transparent"),i.appendChild(a),this.container.append(i),this._createPopup(this.container,a,this.data),this.container}}),t}(),b=function(){function e(e){var t=!!(e.data.hasPopup||e.data.title||e.data.contents);o.call(this,e,t,!0)}return i.Util.inherit(e,o,{render:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}),e}(),v=function(){function e(e){var t=!!(e.data.hasPopup||e.data.title||e.data.contents);o.call(this,e,t,!0)}return i.Util.inherit(e,o,{render:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}),e}(),y=function(){function e(e){var t=!!(e.data.hasPopup||e.data.title||e.data.contents);o.call(this,e,t,!0)}return i.Util.inherit(e,o,{render:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}),e}(),_=function(){function e(e){var t=!!(e.data.hasPopup||e.data.title||e.data.contents);o.call(this,e,t,!0)}return i.Util.inherit(e,o,{render:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}),e}(),A=function(){function e(e){o.call(this,e,!0);var t=this.data.file;this.filename=(0,n.getFilenameFromUrl)(t.filename),this.content=t.content,this.linkService.onFileAttachmentAnnotation({id:(0,i.stringToPDFString)(t.filename),filename:t.filename,content:t.content})}return i.Util.inherit(e,o,{render:function(){this.container.className="fileAttachmentAnnotation";var e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),!this.data.hasPopup&&(this.data.title||this.data.contents)&&this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container},_download:function(){if(!this.downloadManager){(0,i.warn)("Download cannot be started due to unavailable download manager");return}this.downloadManager.downloadData(this.content,this.filename,"")}}),e}();t.AnnotationLayer={render:function(e){for(var t=new a,r=0,i=e.annotations.length;r<i;r++){var o=e.annotations[r];if(o){var s=t.create({data:o,layer:e.div,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||(0,n.getDefaultSetting)("imageResourcesPath"),renderInteractiveForms:e.renderInteractiveForms||!1});s.isRenderable&&e.div.appendChild(s.render())}}},update:function(e){for(var t=0,r=e.annotations.length;t<r;t++){var i=e.annotations[t],a=e.div.querySelector('[data-annotation-id="'+i.id+'"]');a&&n.CustomStyle.setProp("transform",a,"matrix("+e.viewport.transform.join(",")+")")}e.div.removeAttribute("hidden")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var i=n(0),a=function(){throw Error("Not implemented: SVGGraphics")},o="normal",s="#000000",c=function(){for(var e=new Uint8Array([137,80,78,71,13,10,26,10]),t=new Int32Array(256),n=0;n<256;n++){for(var a=n,o=0;o<8;o++)a=1&a?0xedb88320^a>>1&0x7fffffff:a>>1&0x7fffffff;t[n]=a}function s(e,r,n,i){var a=i,o=r.length;n[a]=o>>24&255,n[a+1]=o>>16&255,n[a+2]=o>>8&255,n[a+3]=255&o,n[a+=4]=255&e.charCodeAt(0),n[a+1]=255&e.charCodeAt(1),n[a+2]=255&e.charCodeAt(2),n[a+3]=255&e.charCodeAt(3),a+=4,n.set(r,a);var s=function(e,r,n){for(var i=-1,a=r;a<n;a++){var o=t[(i^e[a])&255];i=i>>>8^o}return -1^i}(n,i+4,a+=r.length);n[a]=s>>24&255,n[a+1]=s>>16&255,n[a+2]=s>>8&255,n[a+3]=255&s}function c(e){var t=e.length,r=Math.ceil(t/65535),n=new Uint8Array(2+t+5*r+4),i=0;n[i++]=120,n[i++]=156;for(var a=0;t>65535;)n[i++]=0,n[i++]=255,n[i++]=255,n[i++]=0,n[i++]=0,n.set(e.subarray(a,a+65535),i),i+=65535,a+=65535,t-=65535;n[i++]=1,n[i++]=255&t,n[i++]=t>>8&255,n[i++]=255&~t,n[i++]=(65535&~t)>>8&255,n.set(e.subarray(a),i),i+=e.length-a;var o=function(e,t,r){for(var n=1,i=0,a=0;a<r;++a)i=(i+(n=(n+(255&e[a]))%65521))%65521;return i<<16|n}(e,0,e.length);return n[i++]=o>>24&255,n[i++]=o>>16&255,n[i++]=o>>8&255,n[i++]=255&o,n}return function(t,n){var a=void 0===t.kind?i.ImageKind.GRAYSCALE_1BPP:t.kind;return function(t,n,a){var o,l,u,d,h,f=t.width,p=t.height,g=t.data;switch(n){case i.ImageKind.GRAYSCALE_1BPP:l=0,o=1,u=f+7>>3;break;case i.ImageKind.RGB_24BPP:l=2,o=8,u=3*f;break;case i.ImageKind.RGBA_32BPP:l=6,o=8,u=4*f;break;default:throw Error("invalid format")}var m=new Uint8Array((1+u)*p),b=0,v=0;for(d=0;d<p;++d)m[b++]=0,m.set(g.subarray(v,v+u),b),v+=u,b+=u;if(n===i.ImageKind.GRAYSCALE_1BPP)for(d=0,b=0;d<p;d++)for(b++,h=0;h<u;h++)m[b++]^=255;var y=new Uint8Array([f>>24&255,f>>16&255,f>>8&255,255&f,p>>24&255,p>>16&255,p>>8&255,255&p,o,l,0,0,0]),_=function(e){if(!(0,i.isNodeJS)())return c(e);try{parseInt(process.versions.node)>=8?t=e:t=new Buffer(e);var t,n=r(74075).deflateSync(t,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(e){(0,i.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return c(e)}(m),A=new Uint8Array(e.length+36+y.length+_.length),x=0;return A.set(e,x),s("IHDR",y,A,x+=e.length),s("IDATA",_,A,x+=12+y.length),x+=12+_.length,s("IEND",new Uint8Array(0),A,x),(0,i.createObjectURL)(A,"image/png",a)}(t,a,n)}}(),l=function(){function e(){this.fontSizeScale=1,this.fontWeight=o,this.fontSize=0,this.textMatrix=i.IDENTITY_MATRIX,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=s,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}();t.SVGGraphics=a=function(){function e(e){if(e===(0|e))return e.toString();var t=e.toFixed(10),r=t.length-1;if("0"!==t[r])return t;do r--;while("0"===t[r]);return t.substr(0,"."===t[r]?r:r+1)}function t(t){if(0===t[4]&&0===t[5]){if(0===t[1]&&0===t[2])return 1===t[0]&&1===t[3]?"":"scale("+e(t[0])+" "+e(t[3])+")";if(t[0]===t[3]&&t[1]===-t[2])return"rotate("+e(180*Math.acos(t[0])/Math.PI)+")"}else if(1===t[0]&&0===t[1]&&0===t[2]&&1===t[3])return"translate("+e(t[4])+" "+e(t[5])+")";return"matrix("+e(t[0])+" "+e(t[1])+" "+e(t[2])+" "+e(t[3])+" "+e(t[4])+" "+e(t[5])+")"}function r(e,t,r){this.current=new l,this.transformMatrix=i.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=e,this.objs=t,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!r}var n="http://www.w3.org/2000/svg",a="http://www.w3.org/1999/xlink",u=["butt","round","square"],d=["miter","round","bevel"],h=0,f=0;return r.prototype={save:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()},restore:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null},group:function(e){this.save(),this.executeOpTree(e),this.restore()},loadDependencies:function(e){for(var t=this,r=e.fnArray,n=r.length,a=e.argsArray,o=0;o<n;o++)if(i.OPS.dependency===r[o])for(var s=a[o],c=0,l=s.length;c<l;c++){var u,d=s[c];u=new Promise("g_"===d.substring(0,2)?function(e){t.commonObjs.get(d,e)}:function(e){t.objs.get(d,e)}),this.current.dependencies.push(u)}return Promise.all(this.current.dependencies)},transform:function(e,t,r,n,a,o){this.transformMatrix=i.Util.transform(this.transformMatrix,[e,t,r,n,a,o]),this.tgrp=null},getSVG:function(e,t){var r=this;this.viewport=t;var n=this._initialize(t);return this.loadDependencies(e).then(function(){r.transformMatrix=i.IDENTITY_MATRIX;var t=r.convertOpList(e);return r.executeOpTree(t),n})},convertOpList:function(e){var t=e.argsArray,r=e.fnArray,n=r.length,a=[],o=[];for(var s in i.OPS)a[i.OPS[s]]=s;for(var c=0;c<n;c++){var l=r[c];o.push({fnId:l,fn:a[l],args:t[c]})}return function(e){for(var t=[],r=[],n=e.length,i=0;i<n;i++){if("save"===e[i].fn){t.push({fnId:92,fn:"group",items:[]}),r.push(t),t=t[t.length-1].items;continue}"restore"===e[i].fn?t=r.pop():t.push(e[i])}return t}(o)},executeOpTree:function(e){for(var t=e.length,r=0;r<t;r++){var n=e[r].fn,a=e[r].fnId,o=e[r].args;switch(0|a){case i.OPS.beginText:this.beginText();break;case i.OPS.setLeading:this.setLeading(o);break;case i.OPS.setLeadingMoveText:this.setLeadingMoveText(o[0],o[1]);break;case i.OPS.setFont:this.setFont(o);break;case i.OPS.showText:case i.OPS.showSpacedText:this.showText(o[0]);break;case i.OPS.endText:this.endText();break;case i.OPS.moveText:this.moveText(o[0],o[1]);break;case i.OPS.setCharSpacing:this.setCharSpacing(o[0]);break;case i.OPS.setWordSpacing:this.setWordSpacing(o[0]);break;case i.OPS.setHScale:this.setHScale(o[0]);break;case i.OPS.setTextMatrix:this.setTextMatrix(o[0],o[1],o[2],o[3],o[4],o[5]);break;case i.OPS.setLineWidth:this.setLineWidth(o[0]);break;case i.OPS.setLineJoin:this.setLineJoin(o[0]);break;case i.OPS.setLineCap:this.setLineCap(o[0]);break;case i.OPS.setMiterLimit:this.setMiterLimit(o[0]);break;case i.OPS.setFillRGBColor:this.setFillRGBColor(o[0],o[1],o[2]);break;case i.OPS.setStrokeRGBColor:this.setStrokeRGBColor(o[0],o[1],o[2]);break;case i.OPS.setDash:this.setDash(o[0],o[1]);break;case i.OPS.setGState:this.setGState(o[0]);break;case i.OPS.fill:this.fill();break;case i.OPS.eoFill:this.eoFill();break;case i.OPS.stroke:this.stroke();break;case i.OPS.fillStroke:this.fillStroke();break;case i.OPS.eoFillStroke:this.eoFillStroke();break;case i.OPS.clip:this.clip("nonzero");break;case i.OPS.eoClip:this.clip("evenodd");break;case i.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case i.OPS.paintJpegXObject:this.paintJpegXObject(o[0],o[1],o[2]);break;case i.OPS.paintImageXObject:this.paintImageXObject(o[0]);break;case i.OPS.paintInlineImageXObject:this.paintInlineImageXObject(o[0]);break;case i.OPS.paintImageMaskXObject:this.paintImageMaskXObject(o[0]);break;case i.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(o[0],o[1]);break;case i.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case i.OPS.closePath:this.closePath();break;case i.OPS.closeStroke:this.closeStroke();break;case i.OPS.closeFillStroke:this.closeFillStroke();break;case i.OPS.nextLine:this.nextLine();break;case i.OPS.transform:this.transform(o[0],o[1],o[2],o[3],o[4],o[5]);break;case i.OPS.constructPath:this.constructPath(o[0],o[1]);break;case i.OPS.endPath:this.endPath();break;case 92:this.group(e[r].items);break;default:(0,i.warn)("Unimplemented operator "+n)}}},setWordSpacing:function(e){this.current.wordSpacing=e},setCharSpacing:function(e){this.current.charSpacing=e},nextLine:function(){this.moveText(0,this.current.leading)},setTextMatrix:function(t,r,i,a,o,s){var c=this.current;this.current.textMatrix=this.current.lineMatrix=[t,r,i,a,o,s],this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,c.xcoords=[],c.tspan=document.createElementNS(n,"svg:tspan"),c.tspan.setAttributeNS(null,"font-family",c.fontFamily),c.tspan.setAttributeNS(null,"font-size",e(c.fontSize)+"px"),c.tspan.setAttributeNS(null,"y",e(-c.y)),c.txtElement=document.createElementNS(n,"svg:text"),c.txtElement.appendChild(c.tspan)},beginText:function(){this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,this.current.textMatrix=i.IDENTITY_MATRIX,this.current.lineMatrix=i.IDENTITY_MATRIX,this.current.tspan=document.createElementNS(n,"svg:tspan"),this.current.txtElement=document.createElementNS(n,"svg:text"),this.current.txtgrp=document.createElementNS(n,"svg:g"),this.current.xcoords=[]},moveText:function(t,r){var i=this.current;this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=r,i.xcoords=[],i.tspan=document.createElementNS(n,"svg:tspan"),i.tspan.setAttributeNS(null,"font-family",i.fontFamily),i.tspan.setAttributeNS(null,"font-size",e(i.fontSize)+"px"),i.tspan.setAttributeNS(null,"y",e(-i.y))},showText:function(r){var n=this.current,a=n.font,c=n.fontSize;if(0!==c){var l,u=n.charSpacing,d=n.wordSpacing,h=n.fontDirection,f=n.textHScale*h,p=r.length,g=a.vertical,m=c*n.fontMatrix[0],b=0;for(l=0;l<p;++l){var v=r[l];if(null===v){b+=h*d;continue}if((0,i.isNum)(v)){b+=-v*c*.001;continue}n.xcoords.push(n.x+b*f);var y=v.width,_=v.fontChar;b+=y*m+((v.isSpace?d:0)+u)*h,n.tspan.textContent+=_}g?n.y-=b*f:n.x+=b*f,n.tspan.setAttributeNS(null,"x",n.xcoords.map(e).join(" ")),n.tspan.setAttributeNS(null,"y",e(-n.y)),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size",e(n.fontSize)+"px"),"normal"!==n.fontStyle&&n.tspan.setAttributeNS(null,"font-style",n.fontStyle),n.fontWeight!==o&&n.tspan.setAttributeNS(null,"font-weight",n.fontWeight),n.fillColor!==s&&n.tspan.setAttributeNS(null,"fill",n.fillColor),n.txtElement.setAttributeNS(null,"transform",t(n.textMatrix)+" scale(1, -1)"),n.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.txtElement.appendChild(n.tspan),n.txtgrp.appendChild(n.txtElement),this._ensureTransformGroup().appendChild(n.txtElement)}},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},addFontStyle:function(e){this.cssStyle||(this.cssStyle=document.createElementNS(n,"svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var t=(0,i.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'+e.loadedName+'"; src: url('+t+"); }\n"},setFont:function(t){var r=this.current,a=this.commonObjs.get(t[0]),o=t[1];this.current.font=a,this.embedFonts&&a.data&&!this.embeddedFonts[a.loadedName]&&(this.addFontStyle(a),this.embeddedFonts[a.loadedName]=a),r.fontMatrix=a.fontMatrix?a.fontMatrix:i.FONT_IDENTITY_MATRIX;var s=a.black?a.bold?"bolder":"bold":a.bold?"bold":"normal",c=a.italic?"italic":"normal";o<0?(o=-o,r.fontDirection=-1):r.fontDirection=1,r.fontSize=o,r.fontFamily=a.loadedName,r.fontWeight=s,r.fontStyle=c,r.tspan=document.createElementNS(n,"svg:tspan"),r.tspan.setAttributeNS(null,"y",e(-r.y)),r.xcoords=[]},endText:function(){},setLineWidth:function(e){this.current.lineWidth=e},setLineCap:function(e){this.current.lineCap=u[e]},setLineJoin:function(e){this.current.lineJoin=d[e]},setMiterLimit:function(e){this.current.miterLimit=e},setStrokeAlpha:function(e){this.current.strokeAlpha=e},setStrokeRGBColor:function(e,t,r){var n=i.Util.makeCssRgb(e,t,r);this.current.strokeColor=n},setFillAlpha:function(e){this.current.fillAlpha=e},setFillRGBColor:function(e,t,r){var a=i.Util.makeCssRgb(e,t,r);this.current.fillColor=a,this.current.tspan=document.createElementNS(n,"svg:tspan"),this.current.xcoords=[]},setDash:function(e,t){this.current.dashArray=e,this.current.dashPhase=t},constructPath:function(t,r){var a=this.current,o=a.x,s=a.y;a.path=document.createElementNS(n,"svg:path");for(var c=[],l=t.length,u=0,d=0;u<l;u++)switch(0|t[u]){case i.OPS.rectangle:o=r[d++],s=r[d++];var h=r[d++],f=r[d++],p=o+h,g=s+f;c.push("M",e(o),e(s),"L",e(p),e(s),"L",e(p),e(g),"L",e(o),e(g),"Z");break;case i.OPS.moveTo:o=r[d++],s=r[d++],c.push("M",e(o),e(s));break;case i.OPS.lineTo:o=r[d++],s=r[d++],c.push("L",e(o),e(s));break;case i.OPS.curveTo:o=r[d+4],s=r[d+5],c.push("C",e(r[d]),e(r[d+1]),e(r[d+2]),e(r[d+3]),e(o),e(s)),d+=6;break;case i.OPS.curveTo2:o=r[d+2],s=r[d+3],c.push("C",e(o),e(s),e(r[d]),e(r[d+1]),e(r[d+2]),e(r[d+3])),d+=4;break;case i.OPS.curveTo3:o=r[d+2],s=r[d+3],c.push("C",e(r[d]),e(r[d+1]),e(o),e(s),e(o),e(s)),d+=4;break;case i.OPS.closePath:c.push("Z")}a.path.setAttributeNS(null,"d",c.join(" ")),a.path.setAttributeNS(null,"fill","none"),this._ensureTransformGroup().appendChild(a.path),a.element=a.path,a.setCurrentPoint(o,s)},endPath:function(){if(this.pendingClip){var e=this.current,r="clippath"+h;h++;var i=document.createElementNS(n,"svg:clipPath");i.setAttributeNS(null,"id",r),i.setAttributeNS(null,"transform",t(this.transformMatrix));var a=e.element.cloneNode();"evenodd"===this.pendingClip?a.setAttributeNS(null,"clip-rule","evenodd"):a.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,i.appendChild(a),this.defs.appendChild(i),e.activeClipUrl&&(e.clipGroup=null,this.extraStack.forEach(function(e){e.clipGroup=null})),e.activeClipUrl="url(#"+r+")",this.tgrp=null}},clip:function(e){this.pendingClip=e},closePath:function(){var e=this.current,t=e.path.getAttributeNS(null,"d");t+="Z",e.path.setAttributeNS(null,"d",t)},setLeading:function(e){this.current.leading=-e},setTextRise:function(e){this.current.textRise=e},setHScale:function(e){this.current.textHScale=e/100},setGState:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],a=n[0],o=n[1];switch(a){case"LW":this.setLineWidth(o);break;case"LC":this.setLineCap(o);break;case"LJ":this.setLineJoin(o);break;case"ML":this.setMiterLimit(o);break;case"D":this.setDash(o[0],o[1]);break;case"Font":this.setFont(o);break;case"CA":this.setStrokeAlpha(o);break;case"ca":this.setFillAlpha(o);break;default:(0,i.warn)("Unimplemented graphic state "+a)}}},fill:function(){var e=this.current;e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha)},stroke:function(){var t=this.current;t.element.setAttributeNS(null,"stroke",t.strokeColor),t.element.setAttributeNS(null,"stroke-opacity",t.strokeAlpha),t.element.setAttributeNS(null,"stroke-miterlimit",e(t.miterLimit)),t.element.setAttributeNS(null,"stroke-linecap",t.lineCap),t.element.setAttributeNS(null,"stroke-linejoin",t.lineJoin),t.element.setAttributeNS(null,"stroke-width",e(t.lineWidth)+"px"),t.element.setAttributeNS(null,"stroke-dasharray",t.dashArray.map(e).join(" ")),t.element.setAttributeNS(null,"stroke-dashoffset",e(t.dashPhase)+"px"),t.element.setAttributeNS(null,"fill","none")},eoFill:function(){this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()},fillStroke:function(){this.stroke(),this.fill()},eoFillStroke:function(){this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()},closeStroke:function(){this.closePath(),this.stroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},paintSolidColorImageMask:function(){var e=this.current,t=document.createElementNS(n,"svg:rect");t.setAttributeNS(null,"x","0"),t.setAttributeNS(null,"y","0"),t.setAttributeNS(null,"width","1px"),t.setAttributeNS(null,"height","1px"),t.setAttributeNS(null,"fill",e.fillColor),this._ensureTransformGroup().appendChild(t)},paintJpegXObject:function(t,r,i){var o=this.objs.get(t),s=document.createElementNS(n,"svg:image");s.setAttributeNS(a,"xlink:href",o.src),s.setAttributeNS(null,"width",e(r)),s.setAttributeNS(null,"height",e(i)),s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y",e(-i)),s.setAttributeNS(null,"transform","scale("+e(1/r)+" "+e(-1/i)+")"),this._ensureTransformGroup().appendChild(s)},paintImageXObject:function(e){var t=this.objs.get(e);if(!t){(0,i.warn)("Dependent image isn't ready yet");return}this.paintInlineImageXObject(t)},paintInlineImageXObject:function(t,r){var i=t.width,o=t.height,s=c(t,this.forceDataSchema),l=document.createElementNS(n,"svg:rect");l.setAttributeNS(null,"x","0"),l.setAttributeNS(null,"y","0"),l.setAttributeNS(null,"width",e(i)),l.setAttributeNS(null,"height",e(o)),this.current.element=l,this.clip("nonzero");var u=document.createElementNS(n,"svg:image");u.setAttributeNS(a,"xlink:href",s),u.setAttributeNS(null,"x","0"),u.setAttributeNS(null,"y",e(-o)),u.setAttributeNS(null,"width",e(i)+"px"),u.setAttributeNS(null,"height",e(o)+"px"),u.setAttributeNS(null,"transform","scale("+e(1/i)+" "+e(-1/o)+")"),r?r.appendChild(u):this._ensureTransformGroup().appendChild(u)},paintImageMaskXObject:function(t){var r=this.current,i=t.width,a=t.height,o=r.fillColor;r.maskId="mask"+f++;var s=document.createElementNS(n,"svg:mask");s.setAttributeNS(null,"id",r.maskId);var c=document.createElementNS(n,"svg:rect");c.setAttributeNS(null,"x","0"),c.setAttributeNS(null,"y","0"),c.setAttributeNS(null,"width",e(i)),c.setAttributeNS(null,"height",e(a)),c.setAttributeNS(null,"fill",o),c.setAttributeNS(null,"mask","url(#"+r.maskId+")"),this.defs.appendChild(s),this._ensureTransformGroup().appendChild(c),this.paintInlineImageXObject(t,s)},paintFormXObjectBegin:function(t,r){if((0,i.isArray)(t)&&6===t.length&&this.transform(t[0],t[1],t[2],t[3],t[4],t[5]),(0,i.isArray)(r)&&4===r.length){var a=r[2]-r[0],o=r[3]-r[1],s=document.createElementNS(n,"svg:rect");s.setAttributeNS(null,"x",r[0]),s.setAttributeNS(null,"y",r[1]),s.setAttributeNS(null,"width",e(a)),s.setAttributeNS(null,"height",e(o)),this.current.element=s,this.clip("nonzero"),this.endPath()}},paintFormXObjectEnd:function(){},_initialize:function(e){var r=document.createElementNS(n,"svg:svg");r.setAttributeNS(null,"version","1.1"),r.setAttributeNS(null,"width",e.width+"px"),r.setAttributeNS(null,"height",e.height+"px"),r.setAttributeNS(null,"preserveAspectRatio","none"),r.setAttributeNS(null,"viewBox","0 0 "+e.width+" "+e.height);var i=document.createElementNS(n,"svg:defs");r.appendChild(i),this.defs=i;var a=document.createElementNS(n,"svg:g");return a.setAttributeNS(null,"transform",t(e.transform)),r.appendChild(a),this.svg=a,r},_ensureClipGroup:function(){if(!this.current.clipGroup){var e=document.createElementNS(n,"svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup},_ensureTransformGroup:function(){return this.tgrp||(this.tgrp=document.createElementNS(n,"svg:g"),this.tgrp.setAttributeNS(null,"transform",t(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}},r}(),t.SVGGraphics=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=void 0;var n=r(0),i=r(1),a=function(){var e=/\S/,t=["left: ",0,"px; top: ",0,"px; font-size: ",0,"px; font-family: ","",";"];function r(e){if(!e._canceled){var t=e._textDivs,r=e._capability,n=t.length;if(n>1e5){e._renderingDone=!0,r.resolve();return}if(!e._textContentStream)for(var i=0;i<n;i++)e._layoutText(t[i]);e._renderingDone=!0,r.resolve()}}function a(e,t){t.sort(function(e,t){return e.x1-t.x1||e.index-t.index});var r=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];t.forEach(function(e){for(var t,n=0;n<r.length&&r[n].end<=e.y1;)n++;for(var i=r.length-1;i>=0&&r[i].start>=e.y2;)i--;var a,o,s,c,l=-1/0;for(s=n;s<=i;s++)(t=(o=(a=r[s]).boundary).x2>e.x1?o.index>e.index?o.x1New:e.x1:void 0===o.x2New?(o.x2+e.x1)/2:o.x2New)>l&&(l=t);for(e.x1New=l,s=n;s<=i;s++)void 0===(o=(a=r[s]).boundary).x2New?o.x2>e.x1?o.index>e.index&&(o.x2New=o.x2):o.x2New=l:o.x2New>l&&(o.x2New=Math.max(l,o.x2));var u=[],d=null;for(s=n;s<=i;s++){var h=(o=(a=r[s]).boundary).x2>e.x2?o:e;d===h?u[u.length-1].end=a.end:(u.push({start:a.start,end:a.end,boundary:h}),d=h)}for(r[n].start<e.y1&&(u[0].start=e.y1,u.unshift({start:r[n].start,end:e.y1,boundary:r[n].boundary})),e.y2<r[i].end&&(u[u.length-1].end=e.y2,u.push({start:e.y2,end:r[i].end,boundary:r[i].boundary})),s=n;s<=i;s++)if(void 0===(o=(a=r[s]).boundary).x2New){var f=!1;for(c=n-1;!f&&c>=0&&r[c].start>=o.y1;c--)f=r[c].boundary===o;for(c=i+1;!f&&c<r.length&&r[c].end<=o.y2;c++)f=r[c].boundary===o;for(c=0;!f&&c<u.length;c++)f=u[c].boundary===o;f||(o.x2New=l)}Array.prototype.splice.apply(r,[n,i-n+1].concat(u))}),r.forEach(function(t){var r=t.boundary;void 0===r.x2New&&(r.x2New=Math.max(e,r.x2))})}function o(e){var t=e.textContent,r=e.textContentStream,i=e.container,a=e.viewport,o=e.textDivs,s=e.textContentItemsStr,c=e.enhanceTextSelection;this._textContent=t,this._textContentStream=r,this._container=i,this._viewport=a,this._textDivs=o||[],this._textContentItemsStr=s||[],this._enhanceTextSelection=!!c,this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,n.createPromiseCapability)(),this._renderTimer=null,this._bounds=[]}return o.prototype={get promise(){return this._capability.promise},cancel:function(){this._reader&&(this._reader.cancel(new n.AbortException("text layer task cancelled")),this._reader=null),this._canceled=!0,null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject("canceled")},_processItems:function(r,a){for(var o=0,s=r.length;o<s;o++)this._textContentItemsStr.push(r[o].str),function(r,a,o){var s=document.createElement("div"),c={style:null,angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(r._textDivs.push(s),p=a.str,!e.test(p)){c.isWhitespace=!0,r._textDivProperties.set(s,c);return}var l=n.Util.transform(r._viewport.transform,a.transform),u=Math.atan2(l[1],l[0]),d=o[a.fontName];d.vertical&&(u+=Math.PI/2);var h=Math.sqrt(l[2]*l[2]+l[3]*l[3]),f=h;if(d.ascent?f=d.ascent*f:d.descent&&(f=(1+d.descent)*f),0===u?(g=l[4],m=l[5]-f):(g=l[4]+f*Math.sin(u),m=l[5]-f*Math.cos(u)),t[1]=g,t[3]=m,t[5]=h,t[7]=d.fontFamily,c.style=t.join(""),s.setAttribute("style",c.style),s.textContent=a.str,(0,i.getDefaultSetting)("pdfBug")&&(s.dataset.fontName=a.fontName),0!==u&&(c.angle=180/Math.PI*u),a.str.length>1&&(d.vertical?c.canvasWidth=a.height*r._viewport.scale:c.canvasWidth=a.width*r._viewport.scale),r._textDivProperties.set(s,c),r._textContentStream&&r._layoutText(s),r._enhanceTextSelection){var p,g,m,b,v,y=1,_=0;0!==u&&(y=Math.cos(u),_=Math.sin(u));var A=(d.vertical?a.height:a.width)*r._viewport.scale;0!==u?(b=[y,_,-_,y,g,m],v=n.Util.getAxialAlignedBoundingBox([0,0,A,h],b)):v=[g,m,g+A,m+h],r._bounds.push({left:v[0],top:v[1],right:v[2],bottom:v[3],div:s,size:[A,h],m:b})}}(this,r[o],a)},_layoutText:function(e){var t=this._container,r=this._textDivProperties.get(e);if(!r.isWhitespace){var n=e.style.fontSize,a=e.style.fontFamily;(n!==this._layoutTextLastFontSize||a!==this._layoutTextLastFontFamily)&&(this._layoutTextCtx.font=n+" "+a,this._lastFontSize=n,this._lastFontFamily=a);var o=this._layoutTextCtx.measureText(e.textContent).width,s="";0!==r.canvasWidth&&o>0&&(r.scale=r.canvasWidth/o,s="scaleX("+r.scale+")"),0!==r.angle&&(s="rotate("+r.angle+"deg) "+s),""!==s&&(r.originalTransform=s,i.CustomStyle.setProp("transform",e,s)),this._textDivProperties.set(e,r),t.appendChild(e)}},_render:function(e){var t=this,i=(0,n.createPromiseCapability)(),a=Object.create(null),o=document.createElement("canvas");if(o.mozOpaque=!0,this._layoutTextCtx=o.getContext("2d",{alpha:!1}),this._textContent){var s=this._textContent.items,c=this._textContent.styles;this._processItems(s,c),i.resolve()}else if(this._textContentStream)this._reader=this._textContentStream.getReader(),function e(){t._reader.read().then(function(r){var o=r.value;if(r.done){i.resolve();return}n.Util.extendObj(a,o.styles),t._processItems(o.items,a),e()},i.reject)}();else throw Error('Neither "textContent" nor "textContentStream" parameters specified.');i.promise.then(function(){a=null,e?t._renderTimer=setTimeout(function(){r(t),t._renderTimer=null},e):r(t)},this._capability.reject)},expandTextDivs:function(e){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(function(e){for(var t,r,i,o,s=e._bounds,c=e._viewport,l=(t=c.width,r=c.height,a(t,i=s.map(function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}})),o=Array(s.length),i.forEach(function(e){o[e.index]={left:e.x1New,top:0,right:e.x2New,bottom:0}}),s.map(function(e,r){var n=o[r],a=i[r];a.x1=e.top,a.y1=t-n.right,a.x2=e.bottom,a.y2=t-n.left,a.index=r,a.x1New=void 0,a.x2New=void 0}),a(r,i),i.forEach(function(e){var t=e.index;o[t].top=e.x1New,o[t].bottom=e.x2New}),o),u=0;u<l.length;u++){var d=s[u].div,h=e._textDivProperties.get(d);if(0===h.angle){h.paddingLeft=s[u].left-l[u].left,h.paddingTop=s[u].top-l[u].top,h.paddingRight=l[u].right-s[u].right,h.paddingBottom=l[u].bottom-s[u].bottom,e._textDivProperties.set(d,h);continue}var f=l[u],p=s[u],g=p.m,m=g[0],b=g[1],v=[[0,0],[0,p.size[1]],[p.size[0],0],p.size],y=new Float64Array(64);v.forEach(function(e,t){var r=n.Util.applyTransform(e,g);y[t+0]=m&&(f.left-r[0])/m,y[t+4]=b&&(f.top-r[1])/b,y[t+8]=m&&(f.right-r[0])/m,y[t+12]=b&&(f.bottom-r[1])/b,y[t+16]=b&&-((f.left-r[0])/b),y[t+20]=m&&(f.top-r[1])/m,y[t+24]=b&&-((f.right-r[0])/b),y[t+28]=m&&(f.bottom-r[1])/m,y[t+32]=m&&-((f.left-r[0])/m),y[t+36]=b&&-((f.top-r[1])/b),y[t+40]=m&&-((f.right-r[0])/m),y[t+44]=b&&-((f.bottom-r[1])/b),y[t+48]=b&&(f.left-r[0])/b,y[t+52]=m&&-((f.top-r[1])/m),y[t+56]=b&&(f.right-r[0])/b,y[t+60]=m&&-((f.bottom-r[1])/m)});var _=function(e,t,r){for(var n=0,i=0;i<r;i++){var a=e[t++];a>0&&(n=n?Math.min(a,n):a)}return n},A=1+Math.min(Math.abs(m),Math.abs(b));h.paddingLeft=_(y,32,16)/A,h.paddingTop=_(y,48,16)/A,h.paddingRight=_(y,0,16)/A,h.paddingBottom=_(y,16,16)/A,e._textDivProperties.set(d,h)}}(this),this._bounds=null);for(var t=0,r=this._textDivs.length;t<r;t++){var o=this._textDivs[t],s=this._textDivProperties.get(o);if(!s.isWhitespace){if(e){var c="",l="";1!==s.scale&&(c="scaleX("+s.scale+")"),0!==s.angle&&(c="rotate("+s.angle+"deg) "+c),0!==s.paddingLeft&&(l+=" padding-left: "+s.paddingLeft/s.scale+"px;",c+=" translateX("+-s.paddingLeft/s.scale+"px)"),0!==s.paddingTop&&(l+=" padding-top: "+s.paddingTop+"px;",c+=" translateY("+-s.paddingTop+"px)"),0!==s.paddingRight&&(l+=" padding-right: "+s.paddingRight/s.scale+"px;"),0!==s.paddingBottom&&(l+=" padding-bottom: "+s.paddingBottom+"px;"),""!==l&&o.setAttribute("style",s.style+l),""!==c&&i.CustomStyle.setProp("transform",o,c)}else o.style.padding=0,i.CustomStyle.setProp("transform",o,s.originalTransform||"")}}}}},function(e){var t=new o({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t}}();t.renderTextLayer=a},function(e,t,r){"use strict";function n(e){if("string"==typeof e)e=e.replace(/>\\376\\377([^<]+)/g,function(e,t){for(var r=t.replace(/\\([0-3])([0-7])([0-7])/g,function(e,t,r,n){return String.fromCharCode(64*t+8*r+1*n)}),n="",i=0;i<r.length;i+=2){var a=256*r.charCodeAt(i)+r.charCodeAt(i+1);n+=a>=32&&a<127&&60!==a&&62!==a&&38!==a?String.fromCharCode(a):"&#x"+(65536+a).toString(16).substring(1)+";"}return">"+n}),e=new DOMParser().parseFromString(e,"application/xml");else if(!(e instanceof Document))throw Error("Metadata: Invalid metadata object");this.metaDocument=e,this.metadata=Object.create(null),this.parse()}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype={parse:function(){var e=this.metaDocument.documentElement;if("rdf:rdf"!==e.nodeName.toLowerCase())for(e=e.firstChild;e&&"rdf:rdf"!==e.nodeName.toLowerCase();)e=e.nextSibling;var t=e?e.nodeName.toLowerCase():null;if(e&&"rdf:rdf"===t&&e.hasChildNodes()){var r,n,i,a,o,s,c,l=e.childNodes;for(a=0,s=l.length;a<s;a++)if("rdf:description"===(r=l[a]).nodeName.toLowerCase())for(o=0,c=r.childNodes.length;o<c;o++)"#text"!==r.childNodes[o].nodeName.toLowerCase()&&(i=(n=r.childNodes[o]).nodeName.toLowerCase(),this.metadata[i]=n.textContent.trim())}},get:function(e){return this.metadata[e]||null},has:function(e){return void 0!==this.metadata[e]}},t.Metadata=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLUtils=void 0;var n=r(1),i=r(0),a=function(){function e(e,t,r){var n=e.createShader(r);if(e.shaderSource(n,t),e.compileShader(n),!e.getShaderParameter(n,e.COMPILE_STATUS))throw Error("Error during shader compilation: "+e.getShaderInfoLog(n));return n}function t(t,r){return e(t,r,t.VERTEX_SHADER)}function r(t,r){return e(t,r,t.FRAGMENT_SHADER)}function a(e,t){for(var r=e.createProgram(),n=0,i=t.length;n<i;++n)e.attachShader(r,t[n]);if(e.linkProgram(r),!e.getProgramParameter(r,e.LINK_STATUS))throw Error("Error during program linking: "+e.getProgramInfoLog(r));return r}function o(e,t,r){e.activeTexture(r);var n=e.createTexture();return e.bindTexture(e.TEXTURE_2D,n),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t),n}function s(){c||(c=(l=document.createElement("canvas")).getContext("webgl",{premultipliedalpha:!1}))}var c,l,u=null,d=null;return{get isEnabled(){if((0,n.getDefaultSetting)("disableWebGL"))return!1;var h=!1;try{s(),h=!!c}catch(e){}return(0,i.shadow)(this,"isEnabled",h)},composeSMask:function(e,n,i){var d,h,f,p,g,m,b,v,y,_,A=e.width,x=e.height;u||(s(),d=l,l=null,h=c,c=null,f=t(h," attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } "),p=r(h," precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } "),g=a(h,[f,p]),h.useProgram(g),(m={}).gl=h,m.canvas=d,m.resolutionLocation=h.getUniformLocation(g,"u_resolution"),m.positionLocation=h.getAttribLocation(g,"a_position"),m.backdropLocation=h.getUniformLocation(g,"u_backdrop"),m.subtypeLocation=h.getUniformLocation(g,"u_subtype"),b=h.getAttribLocation(g,"a_texCoord"),v=h.getUniformLocation(g,"u_image"),y=h.getUniformLocation(g,"u_mask"),_=h.createBuffer(),h.bindBuffer(h.ARRAY_BUFFER,_),h.bufferData(h.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),h.STATIC_DRAW),h.enableVertexAttribArray(b),h.vertexAttribPointer(b,2,h.FLOAT,!1,0,0),h.uniform1i(v,0),h.uniform1i(y,1),u=m);var S=u,w=S.canvas,T=S.gl;w.width=A,w.height=x,T.viewport(0,0,T.drawingBufferWidth,T.drawingBufferHeight),T.uniform2f(S.resolutionLocation,A,x),i.backdrop?T.uniform4f(S.resolutionLocation,i.backdrop[0],i.backdrop[1],i.backdrop[2],1):T.uniform4f(S.resolutionLocation,0,0,0,0),T.uniform1i(S.subtypeLocation,"Luminosity"===i.subtype?1:0);var D=o(T,e,T.TEXTURE0),C=o(T,n,T.TEXTURE1),k=T.createBuffer();return T.bindBuffer(T.ARRAY_BUFFER,k),T.bufferData(T.ARRAY_BUFFER,new Float32Array([0,0,A,0,0,x,0,x,A,0,A,x]),T.STATIC_DRAW),T.enableVertexAttribArray(S.positionLocation),T.vertexAttribPointer(S.positionLocation,2,T.FLOAT,!1,0,0),T.clearColor(0,0,0,0),T.enable(T.BLEND),T.blendFunc(T.ONE,T.ONE_MINUS_SRC_ALPHA),T.clear(T.COLOR_BUFFER_BIT),T.drawArrays(T.TRIANGLES,0,6),T.flush(),T.deleteTexture(D),T.deleteTexture(C),T.deleteBuffer(k),w},drawFigures:function(e,n,i,o,u){if(!d){var h,f,p,g,m,b;s(),h=l,l=null,f=c,c=null,p=t(f," attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } "),g=r(f," precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } "),m=a(f,[p,g]),f.useProgram(m),(b={}).gl=f,b.canvas=h,b.resolutionLocation=f.getUniformLocation(m,"u_resolution"),b.scaleLocation=f.getUniformLocation(m,"u_scale"),b.offsetLocation=f.getUniformLocation(m,"u_offset"),b.positionLocation=f.getAttribLocation(m,"a_position"),b.colorLocation=f.getAttribLocation(m,"a_color"),d=b}var v,y,_,A=d,x=A.canvas,S=A.gl;x.width=e,x.height=n,S.viewport(0,0,S.drawingBufferWidth,S.drawingBufferHeight),S.uniform2f(A.resolutionLocation,e,n);var w=0;for(v=0,y=o.length;v<y;v++)switch(o[v].type){case"lattice":w+=((_=o[v].coords.length/o[v].verticesPerRow|0)-1)*(o[v].verticesPerRow-1)*6;break;case"triangles":w+=o[v].coords.length}var T=new Float32Array(2*w),D=new Uint8Array(3*w),C=u.coords,k=u.colors,E=0,P=0;for(v=0,y=o.length;v<y;v++){var R=o[v],F=R.coords,U=R.colors;switch(R.type){case"lattice":var O=R.verticesPerRow;_=F.length/O|0;for(var I=1;I<_;I++)for(var L=I*O+1,N=1;N<O;N++,L++)T[E]=C[F[L-O-1]],T[E+1]=C[F[L-O-1]+1],T[E+2]=C[F[L-O]],T[E+3]=C[F[L-O]+1],T[E+4]=C[F[L-1]],T[E+5]=C[F[L-1]+1],D[P]=k[U[L-O-1]],D[P+1]=k[U[L-O-1]+1],D[P+2]=k[U[L-O-1]+2],D[P+3]=k[U[L-O]],D[P+4]=k[U[L-O]+1],D[P+5]=k[U[L-O]+2],D[P+6]=k[U[L-1]],D[P+7]=k[U[L-1]+1],D[P+8]=k[U[L-1]+2],T[E+6]=T[E+2],T[E+7]=T[E+3],T[E+8]=T[E+4],T[E+9]=T[E+5],T[E+10]=C[F[L]],T[E+11]=C[F[L]+1],D[P+9]=D[P+3],D[P+10]=D[P+4],D[P+11]=D[P+5],D[P+12]=D[P+6],D[P+13]=D[P+7],D[P+14]=D[P+8],D[P+15]=k[U[L]],D[P+16]=k[U[L]+1],D[P+17]=k[U[L]+2],E+=12,P+=18;break;case"triangles":for(var j=0,M=F.length;j<M;j++)T[E]=C[F[j]],T[E+1]=C[F[j]+1],D[P]=k[U[j]],D[P+1]=k[U[j]+1],D[P+2]=k[U[j]+2],E+=2,P+=3}}i?S.clearColor(i[0]/255,i[1]/255,i[2]/255,1):S.clearColor(0,0,0,0),S.clear(S.COLOR_BUFFER_BIT);var W=S.createBuffer();S.bindBuffer(S.ARRAY_BUFFER,W),S.bufferData(S.ARRAY_BUFFER,T,S.STATIC_DRAW),S.enableVertexAttribArray(A.positionLocation),S.vertexAttribPointer(A.positionLocation,2,S.FLOAT,!1,0,0);var q=S.createBuffer();return S.bindBuffer(S.ARRAY_BUFFER,q),S.bufferData(S.ARRAY_BUFFER,D,S.STATIC_DRAW),S.enableVertexAttribArray(A.colorLocation),S.vertexAttribPointer(A.colorLocation,3,S.UNSIGNED_BYTE,!1,0,0),S.uniform2f(A.scaleLocation,u.scaleX,u.scaleY),S.uniform2f(A.offsetLocation,u.offsetX,u.offsetY),S.drawArrays(S.TRIANGLES,0,w),S.flush(),S.deleteBuffer(W),S.deleteBuffer(q),x},clear:function(){u&&u.canvas&&(u.canvas.width=0,u.canvas.height=0),d&&d.canvas&&(d.canvas.width=0,d.canvas.height=0),u=null,d=null}}}();t.WebGLUtils=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFJS=t.isWorker=t.globalScope=void 0;var n=r(2),i=r(1),a=r(0),o=r(3),s=r(6),c=r(5),l=r(4),u="undefined"==typeof window;a.globalScope.PDFJS||(a.globalScope.PDFJS={});var d=a.globalScope.PDFJS;d.version="1.9.426",d.build="2558a58d",d.pdfBug=!1,void 0!==d.verbosity&&(0,a.setVerbosityLevel)(d.verbosity),delete d.verbosity,Object.defineProperty(d,"verbosity",{get:function(){return(0,a.getVerbosityLevel)()},set:function(e){(0,a.setVerbosityLevel)(e)},enumerable:!0,configurable:!0}),d.VERBOSITY_LEVELS=a.VERBOSITY_LEVELS,d.OPS=a.OPS,d.UNSUPPORTED_FEATURES=a.UNSUPPORTED_FEATURES,d.isValidUrl=i.isValidUrl,d.shadow=a.shadow,d.createBlob=a.createBlob,d.createObjectURL=function(e,t){return(0,a.createObjectURL)(e,t,d.disableCreateObjectURL)},Object.defineProperty(d,"isLittleEndian",{configurable:!0,get:function(){return(0,a.shadow)(d,"isLittleEndian",(0,a.isLittleEndian)())}}),d.removeNullCharacters=a.removeNullCharacters,d.PasswordResponses=a.PasswordResponses,d.PasswordException=a.PasswordException,d.UnknownErrorException=a.UnknownErrorException,d.InvalidPDFException=a.InvalidPDFException,d.MissingPDFException=a.MissingPDFException,d.UnexpectedResponseException=a.UnexpectedResponseException,d.Util=a.Util,d.PageViewport=a.PageViewport,d.createPromiseCapability=a.createPromiseCapability,d.maxImageSize=void 0===d.maxImageSize?-1:d.maxImageSize,d.cMapUrl=void 0===d.cMapUrl?null:d.cMapUrl,d.cMapPacked=void 0!==d.cMapPacked&&d.cMapPacked,d.disableFontFace=void 0!==d.disableFontFace&&d.disableFontFace,d.imageResourcesPath=void 0===d.imageResourcesPath?"":d.imageResourcesPath,d.disableWorker=void 0!==d.disableWorker&&d.disableWorker,d.workerSrc=void 0===d.workerSrc?null:d.workerSrc,d.workerPort=void 0===d.workerPort?null:d.workerPort,d.disableRange=void 0!==d.disableRange&&d.disableRange,d.disableStream=void 0!==d.disableStream&&d.disableStream,d.disableAutoFetch=void 0!==d.disableAutoFetch&&d.disableAutoFetch,d.pdfBug=void 0!==d.pdfBug&&d.pdfBug,d.postMessageTransfers=void 0===d.postMessageTransfers||d.postMessageTransfers,d.disableCreateObjectURL=void 0!==d.disableCreateObjectURL&&d.disableCreateObjectURL,d.disableWebGL=void 0===d.disableWebGL||d.disableWebGL,d.externalLinkTarget=void 0===d.externalLinkTarget?i.LinkTarget.NONE:d.externalLinkTarget,d.externalLinkRel=void 0===d.externalLinkRel?i.DEFAULT_LINK_REL:d.externalLinkRel,d.isEvalSupported=void 0===d.isEvalSupported||d.isEvalSupported,d.pdfjsNext=void 0!==d.pdfjsNext&&d.pdfjsNext;var h=d.openExternalLinksInNewWindow;delete d.openExternalLinksInNewWindow,Object.defineProperty(d,"openExternalLinksInNewWindow",{get:function(){return d.externalLinkTarget===i.LinkTarget.BLANK},set:function(e){if(e&&(0,a.deprecated)('PDFJS.openExternalLinksInNewWindow, please use "PDFJS.externalLinkTarget = PDFJS.LinkTarget.BLANK" instead.'),d.externalLinkTarget!==i.LinkTarget.NONE){(0,a.warn)("PDFJS.externalLinkTarget is already initialized");return}d.externalLinkTarget=e?i.LinkTarget.BLANK:i.LinkTarget.NONE},enumerable:!0,configurable:!0}),h&&(d.openExternalLinksInNewWindow=h),d.getDocument=n.getDocument,d.LoopbackPort=n.LoopbackPort,d.PDFDataRangeTransport=n.PDFDataRangeTransport,d.PDFWorker=n.PDFWorker,d.hasCanvasTypedArrays=!0,d.CustomStyle=i.CustomStyle,d.LinkTarget=i.LinkTarget,d.addLinkAttributes=i.addLinkAttributes,d.getFilenameFromUrl=i.getFilenameFromUrl,d.isExternalLinkTargetSet=i.isExternalLinkTargetSet,d.AnnotationLayer=o.AnnotationLayer,d.renderTextLayer=c.renderTextLayer,d.Metadata=s.Metadata,d.SVGGraphics=l.SVGGraphics,d.UnsupportedManager=n._UnsupportedManager,t.globalScope=a.globalScope,t.isWorker=u,t.PDFJS=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkManager=t.PDFNetworkStream=void 0;var n=r(0),i=r(2);function a(e,t){this.url=e,t=t||{},this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this.withCredentials=t.withCredentials||!1,this.getXhr=t.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null),this.loadedRequests=Object.create(null)}function o(e){var t=e.response;if("string"!=typeof t)return t;for(var r=t.length,n=new Uint8Array(r),i=0;i<r;i++)n[i]=255&t.charCodeAt(i);return n.buffer}var s=function(){try{var e=new XMLHttpRequest;return e.open("GET",n.globalScope.location.href),e.responseType="moz-chunked-arraybuffer","moz-chunked-arraybuffer"===e.responseType}catch(e){return!1}}();function c(e){this._options=e;var t=e.source;this._manager=new a(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}function l(e,t){this._manager=e;var r=t.source,i={onHeadersReceived:this._onHeadersReceived.bind(this),onProgressiveData:r.disableStream?null:this._onProgressiveData.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=e.requestFull(i),this._headersReceivedCapability=(0,n.createPromiseCapability)(),this._disableRange=t.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this.onProgress=null}function u(e,t,r){this._manager=e;var n={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=e.requestRange(t,r,n),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}a.prototype={requestRange:function(e,t,r){var n={begin:e,end:t};for(var i in r)n[i]=r[i];return this.request(n)},requestFull:function(e){return this.request(e)},request:function(e){var t=this.getXhr(),r=this.currXhrId++,n=this.pendingRequests[r]={xhr:t};for(var i in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var a=this.httpHeaders[i];void 0!==a&&t.setRequestHeader(i,a)}if(this.isHttp&&"begin"in e&&"end"in e){var o=e.begin+"-"+(e.end-1);t.setRequestHeader("Range","bytes="+o),n.expectedStatus=206}else n.expectedStatus=200;return s&&e.onProgressiveData?(t.responseType="moz-chunked-arraybuffer",n.onProgressiveData=e.onProgressiveData,n.mozChunked=!0):t.responseType="arraybuffer",e.onError&&(t.onerror=function(r){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,r),t.onprogress=this.onProgress.bind(this,r),n.onHeadersReceived=e.onHeadersReceived,n.onDone=e.onDone,n.onError=e.onError,n.onProgress=e.onProgress,t.send(null),r},onProgress:function(e,t){var r=this.pendingRequests[e];if(r){if(r.mozChunked){var n=o(r.xhr);r.onProgressiveData(n)}var i=r.onProgress;i&&i(t)}},onStateChange:function(e,t){var r=this.pendingRequests[e];if(r){var n=r.xhr;if(n.readyState>=2&&r.onHeadersReceived&&(r.onHeadersReceived(),delete r.onHeadersReceived),4===n.readyState&&e in this.pendingRequests){if(delete this.pendingRequests[e],0===n.status&&this.isHttp){r.onError&&r.onError(n.status);return}var i=n.status||200;if(!(200===i&&206===r.expectedStatus)&&i!==r.expectedStatus){r.onError&&r.onError(n.status);return}this.loadedRequests[e]=!0;var a=o(n);if(206===i){var s=n.getResponseHeader("Content-Range"),c=parseInt(/bytes (\d+)-(\d+)\/(\d+)/.exec(s)[1],10);r.onDone({begin:c,chunk:a})}else r.onProgressiveData?r.onDone(null):a?r.onDone({begin:0,chunk:a}):r.onError&&r.onError(n.status)}}},hasPendingRequests:function(){for(var e in this.pendingRequests)return!0;return!1},getRequestXhr:function(e){return this.pendingRequests[e].xhr},isStreamingRequest:function(e){return!!this.pendingRequests[e].onProgressiveData},isPendingRequest:function(e){return e in this.pendingRequests},isLoadedRequest:function(e){return e in this.loadedRequests},abortAllRequests:function(){for(var e in this.pendingRequests)this.abortRequest(0|e)},abortRequest:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}},c.prototype={_onRangeRequestReaderClosed:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)},getFullReader:function(){return(0,n.assert)(!this._fullRequestReader),this._fullRequestReader=new l(this._manager,this._options),this._fullRequestReader},getRangeReader:function(e,t){var r=new u(this._manager,e,t);return r.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r},cancelAllRequests:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}},l.prototype={_validateRangeRequestCapabilities:function(){if(this._disableRange)return!1;var e=this._manager;if(!e.isHttp)return!1;var t=this._fullRequestId,r=e.getRequestXhr(t);if("bytes"!==r.getResponseHeader("Accept-Ranges")||"identity"!==(r.getResponseHeader("Content-Encoding")||"identity"))return!1;var i=r.getResponseHeader("Content-Length");return i=parseInt(i,10),!!(0,n.isInt)(i)&&(this._contentLength=i,!(i<=2*this._rangeChunkSize))},_onHeadersReceived:function(){this._validateRangeRequestCapabilities()&&(this._isRangeSupported=!0);var e=this._manager,t=this._fullRequestId;e.isStreamingRequest(t)?this._isStreamingSupported=!0:this._isRangeSupported&&e.abortRequest(t),this._headersReceivedCapability.resolve()},_onProgressiveData:function(e){this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._cachedChunks.push(e)},_onDone:function(e){e&&this._onProgressiveData(e.chunk),this._done=!0,this._cachedChunks.length>0||(this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[])},_onError:function(e){var t,r=this._url;t=404===e||0===e&&/^file:/.test(r)?new n.MissingPDFException('Missing PDF "'+r+'".'):new n.UnexpectedResponseException("Unexpected server response ("+e+') while retrieving PDF "'+r+'".',e),this._storedError=t,this._headersReceivedCapability.reject(t),this._requests.forEach(function(e){e.reject(t)}),this._requests=[],this._cachedChunks=[]},_onProgress:function(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})},get isRangeSupported(){return this._isRangeSupported},get isStreamingSupported(){return this._isStreamingSupported},get contentLength(){return this._contentLength},get headersReady(){return this._headersReceivedCapability.promise},read:function(){if(this._storedError)return Promise.reject(this._storedError);if(this._cachedChunks.length>0)return Promise.resolve({value:this._cachedChunks.shift(),done:!1});if(this._done)return Promise.resolve({value:void 0,done:!0});var e=(0,n.createPromiseCapability)();return this._requests.push(e),e.promise},cancel:function(e){this._done=!0,this._headersReceivedCapability.reject(e),this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},u.prototype={_close:function(){this.onClosed&&this.onClosed(this)},_onDone:function(e){var t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._close()},_onProgress:function(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})},get isStreamingSupported(){return!1},read:function(){if(null!==this._queuedChunk){var e=this._queuedChunk;return this._queuedChunk=null,Promise.resolve({value:e,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var t=(0,n.createPromiseCapability)();return this._requests.push(t),t.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},(0,i.setPDFNetworkStreamClass)(c),t.PDFNetworkStream=c,t.NetworkManager=a},function(e,t,r){"use strict";var n="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};!function(e,t){for(var r in t)e[r]=t[r]}(t,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){var i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)},a=r(1).assert;function o(e){return"string"==typeof e||(void 0===e?"undefined":i(e))==="symbol"}function s(e,t,r){if("function"!=typeof e)throw TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}t.typeIsObject=function(e){return(void 0===e?"undefined":i(e))==="object"&&null!==e||"function"==typeof e},t.createDataProperty=function(e,r,n){a(t.typeIsObject(e)),Object.defineProperty(e,r,{value:n,writable:!0,enumerable:!0,configurable:!0})},t.createArrayFromList=function(e){return e.slice()},t.ArrayBufferCopy=function(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)},t.CreateIterResultObject=function(e,t){a("boolean"==typeof t);var r={};return Object.defineProperty(r,"value",{value:e,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(r,"done",{value:t,enumerable:!0,writable:!0,configurable:!0}),r},t.IsFiniteNonNegativeNumber=function(e){return!Number.isNaN(e)&&e!==1/0&&!(e<0)},t.InvokeOrNoop=function(e,t,r){a(void 0!==e),a(o(t)),a(Array.isArray(r));var n=e[t];if(void 0!==n)return s(n,e,r)},t.PromiseInvokeOrNoop=function(e,r,n){a(void 0!==e),a(o(r)),a(Array.isArray(n));try{return Promise.resolve(t.InvokeOrNoop(e,r,n))}catch(e){return Promise.reject(e)}},t.PromiseInvokeOrPerformFallback=function(e,t,r,n,i){a(void 0!==e),a(o(t)),a(Array.isArray(r)),a(Array.isArray(i));var c=void 0;try{c=e[t]}catch(e){return Promise.reject(e)}if(void 0===c)return n.apply(null,i);try{return Promise.resolve(s(c,e,r))}catch(e){return Promise.reject(e)}},t.TransferArrayBuffer=function(e){return e.slice()},t.ValidateAndNormalizeHighWaterMark=function(e){if(Number.isNaN(e=Number(e))||e<0)throw RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e},t.ValidateAndNormalizeQueuingStrategy=function(e,r){if(void 0!==e&&"function"!=typeof e)throw TypeError("size property of a queuing strategy must be a function");return{size:e,highWaterMark:r=t.ValidateAndNormalizeHighWaterMark(r)}}},function(e,t,r){function n(e){this.name="AssertionError",this.message=e||"",this.stack=Error().stack}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,e.exports={rethrowAssertionErrorRejection:function(e){e&&e.constructor===n&&setTimeout(function(){throw e},0)},AssertionError:n,assert:function(e,t){if(!e)throw new n(t)}}},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(0),o=a.InvokeOrNoop,s=a.PromiseInvokeOrNoop,c=a.ValidateAndNormalizeQueuingStrategy,l=a.typeIsObject,u=r(1),d=u.assert,h=u.rethrowAssertionErrorRejection,f=r(3),p=f.DequeueValue,g=f.EnqueueValueWithSize,m=f.PeekQueueValue,b=f.ResetQueue,v=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,a=r.highWaterMark;if(i(this,e),this._state="writable",this._storedError=void 0,this._writer=void 0,this._writableStreamController=void 0,this._writeRequests=[],this._inFlightWriteRequest=void 0,this._closeRequest=void 0,this._inFlightCloseRequest=void 0,this._pendingAbortRequest=void 0,this._backpressure=!1,void 0!==t.type)throw RangeError("Invalid type is specified");this._writableStreamController=new L(this,t,n,void 0===a?1:a),this._writableStreamController.__startSteps()}return n(e,[{key:"abort",value:function(e){return!1===_(this)?Promise.reject(q("abort")):!0===A(this)?Promise.reject(TypeError("Cannot abort a stream that already has a writer")):x(this,e)}},{key:"getWriter",value:function(){if(!1===_(this))throw q("getWriter");return y(this)}},{key:"locked",get:function(){if(!1===_(this))throw q("locked");return A(this)}}]),e}();function y(e){return new P(e)}function _(e){return!!(l(e)&&Object.prototype.hasOwnProperty.call(e,"_writableStreamController"))}function A(e){return d(!0===_(e),"IsWritableStreamLocked should only be used on known writable streams"),void 0!==e._writer}function x(e,t){var r=e._state;if("closed"===r)return Promise.resolve(void 0);if("errored"===r)return Promise.reject(e._storedError);var n=TypeError("Requested to abort");if(void 0!==e._pendingAbortRequest)return Promise.reject(n);d("writable"===r||"erroring"===r,"state must be writable or erroring");var i=!1;"erroring"===r&&(i=!0,t=void 0);var a=new Promise(function(r,n){e._pendingAbortRequest={_resolve:r,_reject:n,_reason:t,_wasAlreadyErroring:i}});return!1===i&&w(e,n),a}function S(e,t){var r=e._state;if("writable"===r){w(e,t);return}d("erroring"===r),T(e)}function w(e,t){d(void 0===e._storedError,"stream._storedError === undefined"),d("writable"===e._state,"state must be writable");var r=e._writableStreamController;d(void 0!==r,"controller must not be undefined"),e._state="erroring",e._storedError=t;var n=e._writer;void 0!==n&&U(n,t),!1===C(e)&&!0===r._started&&T(e)}function T(e){d("erroring"===e._state,"stream._state === erroring"),d(!1===C(e),"WritableStreamHasOperationMarkedInFlight(stream) === false"),e._state="errored",e._writableStreamController.__errorSteps();for(var t=e._storedError,r=0;r<e._writeRequests.length;r++)e._writeRequests[r]._reject(t);if(e._writeRequests=[],void 0===e._pendingAbortRequest){k(e);return}var n=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,!0===n._wasAlreadyErroring){n._reject(t),k(e);return}e._writableStreamController.__abortSteps(n._reason).then(function(){n._resolve(),k(e)},function(t){n._reject(t),k(e)})}function D(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function C(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}function k(e){d("errored"===e._state,'_stream_.[[state]] is `"errored"`'),void 0!==e._closeRequest&&(d(void 0===e._inFlightCloseRequest),e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&(G(t,e._storedError),t._closedPromise.catch(function(){}))}function E(e,t){d("writable"===e._state),d(!1===D(e));var r=e._writer;void 0!==r&&t!==e._backpressure&&(!0===t?(d(void 0===r._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),d(void 0===r._readyPromise_reject,"writer._readyPromise_reject === undefined"),r._readyPromise=new Promise(function(e,t){r._readyPromise_resolve=e,r._readyPromise_reject=t}),r._readyPromiseState="pending"):(d(!1===t),Y(r))),e._backpressure=t}e.exports={AcquireWritableStreamDefaultWriter:y,IsWritableStream:_,IsWritableStreamLocked:A,WritableStream:v,WritableStreamAbort:x,WritableStreamDefaultControllerError:W,WritableStreamDefaultWriterCloseWithErrorPropagation:function(e){var t=e._ownerWritableStream;d(void 0!==t);var r=t._state;return!0===D(t)||"closed"===r?Promise.resolve():"errored"===r?Promise.reject(t._storedError):(d("writable"===r||"erroring"===r),F(e))},WritableStreamDefaultWriterRelease:O,WritableStreamDefaultWriterWrite:I,WritableStreamCloseQueuedOrInFlight:D};var P=function(){function e(t){if(i(this,e),!1===_(t))throw TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===A(t))throw TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;var r=t._state;if("writable"===r)!1===D(t)&&!0===t._backpressure?(n=this,n._readyPromise=new Promise(function(e,t){n._readyPromise_resolve=e,n._readyPromise_reject=t}),n._readyPromiseState="pending"):V(this),H(this);else if("erroring"===r)X(this,t._storedError),this._readyPromise.catch(function(){}),H(this);else if("closed"===r)V(this),this._closedPromise=Promise.resolve(void 0),this._closedPromise_resolve=void 0,this._closedPromise_reject=void 0,this._closedPromiseState="resolved";else{d("errored"===r,"state must be errored");var n,a=t._storedError;X(this,a),this._readyPromise.catch(function(){}),this._closedPromise=Promise.reject(a),this._closedPromise_resolve=void 0,this._closedPromise_reject=void 0,this._closedPromiseState="rejected",this._closedPromise.catch(function(){})}}return n(e,[{key:"abort",value:function(e){var t;return!1===R(this)?Promise.reject(B("abort")):void 0===this._ownerWritableStream?Promise.reject(z("abort")):(d(void 0!==(t=this._ownerWritableStream)),x(t,e))}},{key:"close",value:function(){if(!1===R(this))return Promise.reject(B("close"));var e=this._ownerWritableStream;return void 0===e?Promise.reject(z("close")):!0===D(e)?Promise.reject(TypeError("cannot close an already-closing stream")):F(this)}},{key:"releaseLock",value:function(){if(!1===R(this))throw B("releaseLock");var e=this._ownerWritableStream;void 0!==e&&(d(void 0!==e._writer),O(this))}},{key:"write",value:function(e){return!1===R(this)?Promise.reject(B("write")):void 0===this._ownerWritableStream?Promise.reject(z("write to")):I(this,e)}},{key:"closed",get:function(){return!1===R(this)?Promise.reject(B("closed")):this._closedPromise}},{key:"desiredSize",get:function(){var e,t;if(!1===R(this))throw B("desiredSize");if(void 0===this._ownerWritableStream)throw z("desiredSize");return"errored"===(t=(e=this._ownerWritableStream)._state)||"erroring"===t?null:"closed"===t?0:N(e._writableStreamController)}},{key:"ready",get:function(){return!1===R(this)?Promise.reject(B("ready")):this._readyPromise}}]),e}();function R(e){return!!(l(e)&&Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream"))}function F(e){var t,r=e._ownerWritableStream;d(void 0!==r);var n=r._state;if("closed"===n||"errored"===n)return Promise.reject(TypeError("The stream (in "+n+" state) is not in the writable state and cannot be closed"));d("writable"===n||"erroring"===n),d(!1===D(r));var i=new Promise(function(e,t){r._closeRequest={_resolve:e,_reject:t}});return!0===r._backpressure&&"writable"===n&&Y(e),g(t=r._writableStreamController,"close",0),j(t),i}function U(e,t){"pending"===e._readyPromiseState?(d(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),d(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0):(d(void 0===e._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),d(void 0===e._readyPromise_reject,"writer._readyPromise_reject === undefined"),e._readyPromise=Promise.reject(t)),e._readyPromiseState="rejected",e._readyPromise.catch(function(){})}function O(e){var t=e._ownerWritableStream;d(void 0!==t),d(t._writer===e);var r=TypeError("Writer was released and can no longer be used to monitor the stream's closedness");U(e,r),"pending"===e._closedPromiseState?G(e,r):(d(void 0===e._closedPromise_resolve,"writer._closedPromise_resolve === undefined"),d(void 0===e._closedPromise_reject,"writer._closedPromise_reject === undefined"),d("pending"!==e._closedPromiseState,"writer._closedPromiseState is not pending"),e._closedPromise=Promise.reject(r),e._closedPromiseState="rejected"),e._closedPromise.catch(function(){}),t._writer=void 0,e._ownerWritableStream=void 0}function I(e,t){var r=e._ownerWritableStream;d(void 0!==r);var n=r._writableStreamController,i=function(e,t){var r=e._strategySize;if(void 0===r)return 1;try{return r(t)}catch(t){return M(e,t),1}}(n,t);if(r!==e._ownerWritableStream)return Promise.reject(z("write to"));var a=r._state;if("errored"===a)return Promise.reject(r._storedError);if(!0===D(r)||"closed"===a)return Promise.reject(TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===a)return Promise.reject(r._storedError);d("writable"===a);var o=(d(!0===A(r)),d("writable"===r._state),new Promise(function(e,t){r._writeRequests.push({_resolve:e,_reject:t})}));return function(e,t,r){try{g(e,{chunk:t},r)}catch(t){M(e,t);return}var n=e._controlledWritableStream;!1===D(n)&&"writable"===n._state&&E(n,0>=N(e)),j(e)}(n,t,i),o}var L=function(){function e(t,r,n,a){if(i(this,e),!1===_(t))throw TypeError("WritableStreamDefaultController can only be constructed with a WritableStream instance");if(void 0!==t._writableStreamController)throw TypeError("WritableStreamDefaultController instances can only be created by the WritableStream constructor");this._controlledWritableStream=t,this._underlyingSink=r,this._queue=void 0,this._queueTotalSize=void 0,b(this),this._started=!1;var o=c(n,a);this._strategySize=o.size,this._strategyHWM=o.highWaterMark,E(t,0>=N(this))}return n(e,[{key:"error",value:function(e){if(!1==!!(l(this)&&Object.prototype.hasOwnProperty.call(this,"_underlyingSink")))throw TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&W(this,e)}},{key:"__abortSteps",value:function(e){return s(this._underlyingSink,"abort",[e])}},{key:"__errorSteps",value:function(){b(this)}},{key:"__startSteps",value:function(){var e=this,t=o(this._underlyingSink,"start",[this]),r=this._controlledWritableStream;Promise.resolve(t).then(function(){d("writable"===r._state||"erroring"===r._state),e._started=!0,j(e)},function(t){d("writable"===r._state||"erroring"===r._state),e._started=!0,S(r,t)}).catch(h)}}]),e}();function N(e){return e._strategyHWM-e._queueTotalSize}function j(e){var t=e._controlledWritableStream;if(!1!==e._started&&void 0===t._inFlightWriteRequest){var r=t._state;if("closed"!==r&&"errored"!==r){if("erroring"===r){T(t);return}if(0!==e._queue.length){var n,i,a,o,c,l=m(e);"close"===l?(d(void 0===(i=(n=e)._controlledWritableStream)._inFlightCloseRequest),d(void 0!==i._closeRequest),i._inFlightCloseRequest=i._closeRequest,i._closeRequest=void 0,p(n),d(0===n._queue.length,"queue must be empty once the final write record is dequeued"),s(n._underlyingSink,"close",[]).then(function(){var e,t;d(void 0!==i._inFlightCloseRequest),i._inFlightCloseRequest._resolve(void 0),i._inFlightCloseRequest=void 0,d("writable"===(e=i._state)||"erroring"===e),"erroring"===e&&(i._storedError=void 0,void 0!==i._pendingAbortRequest&&(i._pendingAbortRequest._resolve(),i._pendingAbortRequest=void 0)),i._state="closed",void 0!==(t=i._writer)&&(d(void 0!==t._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),d(void 0!==t._closedPromise_reject,"writer._closedPromise_reject !== undefined"),d("pending"===t._closedPromiseState,"writer._closedPromiseState is pending"),t._closedPromise_resolve(void 0),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0,t._closedPromiseState="resolved"),d(void 0===i._pendingAbortRequest,"stream._pendingAbortRequest === undefined"),d(void 0===i._storedError,"stream._storedError === undefined")},function(e){d(void 0!==i._inFlightCloseRequest),i._inFlightCloseRequest._reject(e),i._inFlightCloseRequest=void 0,d("writable"===i._state||"erroring"===i._state),void 0!==i._pendingAbortRequest&&(i._pendingAbortRequest._reject(e),i._pendingAbortRequest=void 0),S(i,e)}).catch(h)):(a=e,o=l.chunk,d(void 0===(c=a._controlledWritableStream)._inFlightWriteRequest,"there must be no pending write request"),d(0!==c._writeRequests.length,"writeRequests must not be empty"),c._inFlightWriteRequest=c._writeRequests.shift(),s(a._underlyingSink,"write",[o,a]).then(function(){d(void 0!==c._inFlightWriteRequest),c._inFlightWriteRequest._resolve(void 0),c._inFlightWriteRequest=void 0;var e=c._state;d("writable"===e||"erroring"===e),p(a),!1===D(c)&&"writable"===e&&E(c,0>=N(a)),j(a)},function(e){d(void 0!==c._inFlightWriteRequest),c._inFlightWriteRequest._reject(e),c._inFlightWriteRequest=void 0,d("writable"===c._state||"erroring"===c._state),S(c,e)}).catch(h))}}}}function M(e,t){"writable"===e._controlledWritableStream._state&&W(e,t)}function W(e,t){var r=e._controlledWritableStream;d("writable"===r._state),w(r,t)}function q(e){return TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function B(e){return TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function z(e){return TypeError("Cannot "+e+" a stream using a released writer")}function H(e){e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function G(e,t){d(void 0!==e._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),d(void 0!==e._closedPromise_reject,"writer._closedPromise_reject !== undefined"),d("pending"===e._closedPromiseState,"writer._closedPromiseState is pending"),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function X(e,t){e._readyPromise=Promise.reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function V(e){e._readyPromise=Promise.resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}function Y(e){d(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),d(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}},function(e,t,r){var n=r(0).IsFiniteNonNegativeNumber,i=r(1).assert;t.DequeueValue=function(e){i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: DequeueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),i(e._queue.length>0,"Spec-level failure: should never dequeue from an empty queue.");var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value},t.EnqueueValueWithSize=function(e,t,r){if(i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: EnqueueValueWithSize should only be used on containers with [[queue]] and [[queueTotalSize]]."),!n(r=Number(r)))throw RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r},t.PeekQueueValue=function(e){return i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: PeekQueueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),i(e._queue.length>0,"Spec-level failure: should never peek at an empty queue."),e._queue[0].value},t.ResetQueue=function(e){i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: ResetQueue should only be used on containers with [[queue]] and [[queueTotalSize]]."),e._queue=[],e._queueTotalSize=0}},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(0),o=a.ArrayBufferCopy,s=a.CreateIterResultObject,c=a.IsFiniteNonNegativeNumber,l=a.InvokeOrNoop,u=a.PromiseInvokeOrNoop,d=a.TransferArrayBuffer,h=a.ValidateAndNormalizeQueuingStrategy,f=a.ValidateAndNormalizeHighWaterMark,p=r(0),g=p.createArrayFromList,m=p.createDataProperty,b=p.typeIsObject,v=r(1),y=v.assert,_=v.rethrowAssertionErrorRejection,A=r(3),x=A.DequeueValue,S=A.EnqueueValueWithSize,w=A.ResetQueue,T=r(2),D=T.AcquireWritableStreamDefaultWriter,C=T.IsWritableStream,k=T.IsWritableStreamLocked,E=T.WritableStreamAbort,P=T.WritableStreamDefaultWriterCloseWithErrorPropagation,R=T.WritableStreamDefaultWriterRelease,F=T.WritableStreamDefaultWriterWrite,U=T.WritableStreamCloseQueuedOrInFlight,O=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,a=r.highWaterMark;i(this,e),this._state="readable",this._reader=void 0,this._storedError=void 0,this._disturbed=!1,this._readableStreamController=void 0;var o=t.type;if("bytes"===String(o))void 0===a&&(a=0),this._readableStreamController=new eu(this,t,a);else if(void 0===o)void 0===a&&(a=1),this._readableStreamController=new et(this,t,n,a);else throw RangeError("Invalid type is specified")}return n(e,[{key:"cancel",value:function(e){return!1===I(this)?Promise.reject(eC("cancel")):!0===L(this)?Promise.reject(TypeError("Cannot cancel a stream that already has a reader")):M(this,e)}},{key:"getReader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode;if(!1===I(this))throw eC("getReader");if(void 0===t)return new V(this);if("byob"===(t=String(t)))return new Y(this);throw RangeError("Invalid mode is specified")}},{key:"pipeThrough",value:function(e,t){var r=e.writable,n=e.readable;return function(e){try{Promise.prototype.then.call(e,void 0,function(){})}catch(e){}}(this.pipeTo(r,t)),n}},{key:"pipeTo",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.preventClose,i=r.preventAbort,a=r.preventCancel;if(!1===I(this))return Promise.reject(eC("pipeTo"));if(!1===C(e))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));if(n=!!n,i=!!i,a=!!a,!0===L(this))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===k(e))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));var o=new V(this),s=D(e),c=!1,l=Promise.resolve();return new Promise(function(r,u){var d,h;if(g(t,o._closedPromise,function(t){!1===i?m(function(){return E(e,t)},!0,t):b(!0,t)}),g(e,s._closedPromise,function(e){!1===a?m(function(){return M(t,e)},!0,e):b(!0,e)}),d=o._closedPromise,h=function(){!1===n?m(function(){return P(s)}):b()},"closed"===t._state?h():d.then(h).catch(_),!0===U(e)||"closed"===e._state){var f=TypeError("the destination writable stream closed before all data could be piped to it");!1===a?m(function(){return M(t,f)},!0,f):b(!0,f)}function p(){var e=l;return l.then(function(){return e!==l?p():void 0})}function g(e,t,r){"errored"===e._state?r(e._storedError):t.catch(r).catch(_)}function m(t,r,n){!0!==c&&(c=!0,"writable"===e._state&&!1===U(e)?p().then(i):i());function i(){t().then(function(){return v(r,n)},function(e){return v(!0,e)}).catch(_)}}function b(t,r){!0!==c&&(c=!0,"writable"===e._state&&!1===U(e)?p().then(function(){return v(t,r)}).catch(_):v(t,r))}function v(e,t){R(s),$(o),e?u(t):r(void 0)}(function e(){return(l=Promise.resolve(),!0===c)?Promise.resolve():s._readyPromise.then(function(){return ee(o).then(function(e){var t=e.value;!0!==e.done&&(l=F(s,t).catch(function(){}))})}).then(e)})().catch(function(e){l=Promise.resolve(),_(e)})})}},{key:"tee",value:function(){var e,t,r,n,i,a,o,s,c;if(!1===I(this))throw eC("tee");return g((y(!0===I(this)),y("boolean"==typeof!1),e=new V(this),(t={closedOrErrored:!1,canceled1:!1,canceled2:!1,reason1:void 0,reason2:void 0}).promise=new Promise(function(e){t._resolve=e}),(r=function e(){var t=e._reader,r=e._branch1,n=e._branch2,i=e._teeState;return ee(t).then(function(e){y(b(e));var t=e.value,a=e.done;y("boolean"==typeof a),!0===a&&!1===i.closedOrErrored&&(!1===i.canceled1&&ei(r),!1===i.canceled2&&ei(n),i.closedOrErrored=!0),!0!==i.closedOrErrored&&(!1===i.canceled1&&ea(r,t),!1===i.canceled2&&ea(n,t))})})._reader=e,r._teeState=t,r._cloneForBranch2=!1,(n=function e(t){var r=e._stream,n=e._teeState;if(n.canceled1=!0,n.reason1=t,!0===n.canceled2){var i=M(r,g([n.reason1,n.reason2]));n._resolve(i)}return n.promise})._stream=this,n._teeState=t,(i=function e(t){var r=e._stream,n=e._teeState;if(n.canceled2=!0,n.reason2=t,!0===n.canceled1){var i=M(r,g([n.reason1,n.reason2]));n._resolve(i)}return n.promise})._stream=this,i._teeState=t,m(a=Object.create(Object.prototype),"pull",r),m(a,"cancel",n),o=new O(a),m(s=Object.create(Object.prototype),"pull",r),m(s,"cancel",i),c=new O(s),r._branch1=o._readableStreamController,r._branch2=c._readableStreamController,e._closedPromise.catch(function(e){!0!==t.closedOrErrored&&(eo(r._branch1,e),eo(r._branch2,e),t.closedOrErrored=!0)}),[o,c]))}},{key:"locked",get:function(){if(!1===I(this))throw eC("locked");return L(this)}}]),e}();function I(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readableStreamController"))}function L(e){return y(!0===I(e),"IsReadableStreamLocked should only be used on known readable streams"),void 0!==e._reader}function N(e){return y(!0===Q(e._reader)),y("readable"===e._state||"closed"===e._state),new Promise(function(t,r){e._reader._readIntoRequests.push({_resolve:t,_reject:r})})}function j(e){return y(!0===J(e._reader)),y("readable"===e._state),new Promise(function(t,r){e._reader._readRequests.push({_resolve:t,_reject:r})})}function M(e,t){return(e._disturbed=!0,"closed"===e._state)?Promise.resolve(void 0):"errored"===e._state?Promise.reject(e._storedError):(W(e),e._readableStreamController.__cancelSteps(t).then(function(){}))}function W(e){y("readable"===e._state),e._state="closed";var t=e._reader;if(void 0!==t){if(!0===J(t)){for(var r=0;r<t._readRequests.length;r++)(0,t._readRequests[r]._resolve)(s(void 0,!0));t._readRequests=[]}y(void 0!==t._closedPromise_resolve),y(void 0!==t._closedPromise_reject),t._closedPromise_resolve(void 0),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0}}function q(e,t){y(!0===I(e),"stream must be ReadableStream"),y("readable"===e._state,"state must be readable"),e._state="errored",e._storedError=t;var r=e._reader;if(void 0!==r){if(!0===J(r)){for(var n=0;n<r._readRequests.length;n++)r._readRequests[n]._reject(t);r._readRequests=[]}else{y(Q(r),"reader must be ReadableStreamBYOBReader");for(var i=0;i<r._readIntoRequests.length;i++)r._readIntoRequests[i]._reject(t);r._readIntoRequests=[]}eP(r,t),r._closedPromise.catch(function(){})}}function B(e,t,r){var n=e._reader;y(n._readRequests.length>0),n._readRequests.shift()._resolve(s(t,r))}function z(e){return e._reader._readIntoRequests.length}function H(e){return e._reader._readRequests.length}function G(e){var t=e._reader;return void 0!==t&&!1!==Q(t)}function X(e){var t=e._reader;return void 0!==t&&!1!==J(t)}e.exports={ReadableStream:O,IsReadableStreamDisturbed:function(e){return y(!0===I(e),"IsReadableStreamDisturbed should only be used on known readable streams"),e._disturbed},ReadableStreamDefaultControllerClose:ei,ReadableStreamDefaultControllerEnqueue:ea,ReadableStreamDefaultControllerError:eo,ReadableStreamDefaultControllerGetDesiredSize:ec};var V=function(){function e(t){if(i(this,e),!1===I(t))throw TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===L(t))throw TypeError("This stream has already been locked for exclusive reading by another reader");K(this,t),this._readRequests=[]}return n(e,[{key:"cancel",value:function(e){return!1===J(this)?Promise.reject(eE("cancel")):void 0===this._ownerReadableStream?Promise.reject(ek("cancel")):Z(this,e)}},{key:"read",value:function(){return!1===J(this)?Promise.reject(eE("read")):void 0===this._ownerReadableStream?Promise.reject(ek("read from")):ee(this)}},{key:"releaseLock",value:function(){if(!1===J(this))throw eE("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");$(this)}}},{key:"closed",get:function(){return!1===J(this)?Promise.reject(eE("closed")):this._closedPromise}}]),e}(),Y=function(){function e(t){if(i(this,e),!I(t))throw TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===ed(t._readableStreamController))throw TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(L(t))throw TypeError("This stream has already been locked for exclusive reading by another reader");K(this,t),this._readIntoRequests=[]}return n(e,[{key:"cancel",value:function(e){return Q(this)?void 0===this._ownerReadableStream?Promise.reject(ek("cancel")):Z(this,e):Promise.reject(eR("cancel"))}},{key:"read",value:function(e){var t;return Q(this)?void 0===this._ownerReadableStream?Promise.reject(ek("read from")):ArrayBuffer.isView(e)?0===e.byteLength?Promise.reject(TypeError("view must have non-zero byteLength")):(y(void 0!==(t=this._ownerReadableStream)),t._disturbed=!0,"errored"===t._state)?Promise.reject(t._storedError):function(e,t){var r=e._controlledReadableStream,n=1;t.constructor!==DataView&&(n=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,a={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:n,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return a.buffer=d(a.buffer),e._pendingPullIntos.push(a),N(r);if("closed"===r._state)return Promise.resolve(s(new t.constructor(a.buffer,a.byteOffset,0),!0));if(e._queueTotalSize>0){if(!0===ev(e,a)){var o=em(a);return e_(e),Promise.resolve(s(o,!1))}if(!0===e._closeRequested){var c=TypeError("Insufficient bytes to fill elements in the given buffer");return eT(e,c),Promise.reject(c)}}a.buffer=d(a.buffer),e._pendingPullIntos.push(a);var l=N(r);return ef(e),l}(t._readableStreamController,e):Promise.reject(TypeError("view must be an array buffer view")):Promise.reject(eR("read"))}},{key:"releaseLock",value:function(){if(!Q(this))throw eR("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");$(this)}}},{key:"closed",get:function(){return Q(this)?this._closedPromise:Promise.reject(eR("closed"))}}]),e}();function Q(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readIntoRequests"))}function J(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readRequests"))}function K(e,t){var r;e._ownerReadableStream=t,t._reader=e,"readable"===t._state?e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r}):"closed"===t._state?(e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0):(y("errored"===t._state,"state must be errored"),r=t._storedError,e._closedPromise=Promise.reject(r),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromise.catch(function(){}))}function Z(e,t){var r=e._ownerReadableStream;return y(void 0!==r),M(r,t)}function $(e){var t;y(void 0!==e._ownerReadableStream),y(e._ownerReadableStream._reader===e),"readable"===e._ownerReadableStream._state?eP(e,TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):(t=TypeError("Reader was released and can no longer be used to monitor the stream's closedness"),y(void 0===e._closedPromise_resolve),y(void 0===e._closedPromise_reject),e._closedPromise=Promise.reject(t)),e._closedPromise.catch(function(){}),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function ee(e){var t=e._ownerReadableStream;return(y(void 0!==t),t._disturbed=!0,"closed"===t._state)?Promise.resolve(s(void 0,!0)):"errored"===t._state?Promise.reject(t._storedError):(y("readable"===t._state),t._readableStreamController.__pullSteps())}var et=function(){function e(t,r,n,a){if(i(this,e),!1===I(t))throw TypeError("ReadableStreamDefaultController can only be constructed with a ReadableStream instance");if(void 0!==t._readableStreamController)throw TypeError("ReadableStreamDefaultController instances can only be created by the ReadableStream constructor");this._controlledReadableStream=t,this._underlyingSource=r,this._queue=void 0,this._queueTotalSize=void 0,w(this),this._started=!1,this._closeRequested=!1,this._pullAgain=!1,this._pulling=!1;var o=h(n,a);this._strategySize=o.size,this._strategyHWM=o.highWaterMark;var s=this;Promise.resolve(l(r,"start",[this])).then(function(){s._started=!0,y(!1===s._pulling),y(!1===s._pullAgain),en(s)},function(e){es(s,e)}).catch(_)}return n(e,[{key:"close",value:function(){if(!1===er(this))throw eF("close");if(!0===this._closeRequested)throw TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");ei(this)}},{key:"enqueue",value:function(e){if(!1===er(this))throw eF("enqueue");if(!0===this._closeRequested)throw TypeError("stream is closed or draining");var t=this._controlledReadableStream._state;if("readable"!==t)throw TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");return ea(this,e)}},{key:"error",value:function(e){if(!1===er(this))throw eF("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw TypeError("The stream is "+t._state+" and so cannot be errored");eo(this,e)}},{key:"__cancelSteps",value:function(e){return w(this),u(this._underlyingSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(this._queue.length>0){var t=x(this);return!0===this._closeRequested&&0===this._queue.length?W(e):en(this),Promise.resolve(s(t,!1))}var r=j(e);return en(this),r}},{key:"desiredSize",get:function(){if(!1===er(this))throw eF("desiredSize");return ec(this)}}]),e}();function er(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_underlyingSource"))}function en(e){var t;if(!1!=("closed"!==(t=e._controlledReadableStream)._state&&"errored"!==t._state&&!0!==e._closeRequested&&!1!==e._started&&!!(!0===L(t)&&H(t)>0||ec(e)>0))){if(!0===e._pulling){e._pullAgain=!0;return}y(!1===e._pullAgain),e._pulling=!0,u(e._underlyingSource,"pull",[e]).then(function(){if(e._pulling=!1,!0===e._pullAgain)return e._pullAgain=!1,en(e)},function(t){es(e,t)}).catch(_)}}function ei(e){var t=e._controlledReadableStream;y(!1===e._closeRequested),y("readable"===t._state),e._closeRequested=!0,0===e._queue.length&&W(t)}function ea(e,t){var r=e._controlledReadableStream;if(y(!1===e._closeRequested),y("readable"===r._state),!0===L(r)&&H(r)>0)B(r,t,!1);else{var n=1;if(void 0!==e._strategySize){var i=e._strategySize;try{n=i(t)}catch(t){throw es(e,t),t}}try{S(e,t,n)}catch(t){throw es(e,t),t}}en(e)}function eo(e,t){var r=e._controlledReadableStream;y("readable"===r._state),w(e),q(r,t)}function es(e,t){"readable"===e._controlledReadableStream._state&&eo(e,t)}function ec(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}var el=function(){function e(t,r){i(this,e),this._associatedReadableByteStreamController=t,this._view=r}return n(e,[{key:"respond",value:function(e){if(!1===eh(this))throw eU("respond");if(void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");(function(e,t){if(!1===c(t=Number(t)))throw RangeError("bytesWritten must be a finite");y(e._pendingPullIntos.length>0),eS(e,t)})(this._associatedReadableByteStreamController,e)}},{key:"respondWithNewView",value:function(e){if(!1===eh(this))throw eU("respond");if(void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(e))throw TypeError("You can only respond with array buffer views");(function(e,t){y(e._pendingPullIntos.length>0);var r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,eS(e,t.byteLength)})(this._associatedReadableByteStreamController,e)}},{key:"view",get:function(){return this._view}}]),e}(),eu=function(){function e(t,r,n){if(i(this,e),!1===I(t))throw TypeError("ReadableByteStreamController can only be constructed with a ReadableStream instance given a byte source");if(void 0!==t._readableStreamController)throw TypeError("ReadableByteStreamController instances can only be created by the ReadableStream constructor given a byte source");this._controlledReadableStream=t,this._underlyingByteSource=r,this._pullAgain=!1,this._pulling=!1,ep(this),this._queue=this._queueTotalSize=void 0,w(this),this._closeRequested=!1,this._started=!1,this._strategyHWM=f(n);var a=r.autoAllocateChunkSize;if(void 0!==a&&(!1===Number.isInteger(a)||a<=0))throw RangeError("autoAllocateChunkSize must be a positive integer");this._autoAllocateChunkSize=a,this._pendingPullIntos=[];var o=this;Promise.resolve(l(r,"start",[this])).then(function(){o._started=!0,y(!1===o._pulling),y(!1===o._pullAgain),ef(o)},function(e){"readable"===t._state&&eT(o,e)}).catch(_)}return n(e,[{key:"close",value:function(){if(!1===ed(this))throw eO("close");if(!0===this._closeRequested)throw TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");(function(e){var t=e._controlledReadableStream;if(y(!1===e._closeRequested),y("readable"===t._state),e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0&&e._pendingPullIntos[0].bytesFilled>0){var r=TypeError("Insufficient bytes to fill elements in the given buffer");throw eT(e,r),r}W(t)})(this)}},{key:"enqueue",value:function(e){if(!1===ed(this))throw eO("enqueue");if(!0===this._closeRequested)throw TypeError("stream is closed or draining");var t,r,n,i,a,o=this._controlledReadableStream._state;if("readable"!==o)throw TypeError("The stream (in "+o+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(e))throw TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");t=this._controlledReadableStream,y(!1===this._closeRequested),y("readable"===t._state),r=e.buffer,n=e.byteOffset,i=e.byteLength,a=d(r),!0===X(t)?0===H(t)?eb(this,a,n,i):(y(0===this._queue.length),B(t,new Uint8Array(a,n,i),!1)):!0===G(t)?(eb(this,a,n,i),ex(this)):(y(!1===L(t),"stream must not be locked"),eb(this,a,n,i))}},{key:"error",value:function(e){if(!1===ed(this))throw eO("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw TypeError("The stream is "+t._state+" and so cannot be errored");eT(this,e)}},{key:"__cancelSteps",value:function(e){return this._pendingPullIntos.length>0&&(this._pendingPullIntos[0].bytesFilled=0),w(this),u(this._underlyingByteSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(y(!0===X(e)),this._queueTotalSize>0){y(0===H(e));var t=this._queue.shift();this._queueTotalSize-=t.byteLength,e_(this);var r=void 0;try{r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(e){return Promise.reject(e)}return Promise.resolve(s(r,!1))}var n=this._autoAllocateChunkSize;if(void 0!==n){var i=void 0;try{i=new ArrayBuffer(n)}catch(e){return Promise.reject(e)}var a={buffer:i,byteOffset:0,byteLength:n,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(a)}var o=j(e);return ef(this),o}},{key:"byobRequest",get:function(){if(!1===ed(this))throw eO("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var e=this._pendingPullIntos[0],t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled);this._byobRequest=new el(this,t)}return this._byobRequest}},{key:"desiredSize",get:function(){if(!1===ed(this))throw eO("desiredSize");return eD(this)}}]),e}();function ed(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_underlyingByteSource"))}function eh(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController"))}function ef(e){var t;if(!1!=("readable"===(t=e._controlledReadableStream)._state&&!0!==e._closeRequested&&!1!==e._started&&!!(!0===X(t)&&H(t)>0||!0===G(t)&&z(t)>0||eD(e)>0))){if(!0===e._pulling){e._pullAgain=!0;return}y(!1===e._pullAgain),e._pulling=!0,u(e._underlyingByteSource,"pull",[e]).then(function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,ef(e))},function(t){"readable"===e._controlledReadableStream._state&&eT(e,t)}).catch(_)}}function ep(e){eA(e),e._pendingPullIntos=[]}function eg(e,t){y("errored"!==e._state,"state must not be errored");var r,n,i=!1;"closed"===e._state&&(y(0===t.bytesFilled),i=!0);var a=em(t);"default"===t.readerType?B(e,a,i):(y("byob"===t.readerType),r=i,y((n=e._reader)._readIntoRequests.length>0),n._readIntoRequests.shift()._resolve(s(a,r)))}function em(e){var t=e.bytesFilled,r=e.elementSize;return y(t<=e.byteLength),y(t%r==0),new e.ctor(e.buffer,e.byteOffset,t/r)}function eb(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function ev(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),a=t.bytesFilled+i,s=a-a%r,c=i,l=!1;s>n&&(c=s-t.bytesFilled,l=!0);for(var u=e._queue;c>0;){var d=u[0],h=Math.min(c,d.byteLength),f=t.byteOffset+t.bytesFilled;o(t.buffer,f,d.buffer,d.byteOffset,h),d.byteLength===h?u.shift():(d.byteOffset+=h,d.byteLength-=h),e._queueTotalSize-=h,ey(e,h,t),c-=h}return!1===l&&(y(0===e._queueTotalSize,"queue must be empty"),y(t.bytesFilled>0),y(t.bytesFilled<t.elementSize)),l}function ey(e,t,r){y(0===e._pendingPullIntos.length||e._pendingPullIntos[0]===r),eA(e),r.bytesFilled+=t}function e_(e){y("readable"===e._controlledReadableStream._state),0===e._queueTotalSize&&!0===e._closeRequested?W(e._controlledReadableStream):ef(e)}function eA(e){void 0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function ex(e){for(y(!1===e._closeRequested);e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos[0];!0===ev(e,t)&&(ew(e),eg(e._controlledReadableStream,t))}}function eS(e,t){var r=e._pendingPullIntos[0],n=e._controlledReadableStream;if("closed"===n._state){if(0!==t)throw TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function(e,t){t.buffer=d(t.buffer),y(0===t.bytesFilled,"bytesFilled must be 0");var r=e._controlledReadableStream;if(!0===G(r))for(;z(r)>0;)eg(r,ew(e))}(e,r)}else y("readable"===n._state),function(e,t,r){if(r.bytesFilled+t>r.byteLength)throw RangeError("bytesWritten out of range");if(ey(e,t,r),!(r.bytesFilled<r.elementSize)){ew(e);var n=r.bytesFilled%r.elementSize;if(n>0){var i=r.byteOffset+r.bytesFilled,a=r.buffer.slice(i-n,i);eb(e,a,0,a.byteLength)}r.buffer=d(r.buffer),r.bytesFilled-=n,eg(e._controlledReadableStream,r),ex(e)}}(e,t,r)}function ew(e){var t=e._pendingPullIntos.shift();return eA(e),t}function eT(e,t){var r=e._controlledReadableStream;y("readable"===r._state),ep(e),w(e),q(r,t)}function eD(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function eC(e){return TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function ek(e){return TypeError("Cannot "+e+" a stream using a released reader")}function eE(e){return TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}function eP(e,t){y(void 0!==e._closedPromise_resolve),y(void 0!==e._closedPromise_reject),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function eR(e){return TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function eF(e){return TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function eU(e){return TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function eO(e){return TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}},function(e,t,r){var n=r(6),i=r(4),a=r(2);t.TransformStream=n.TransformStream,t.ReadableStream=i.ReadableStream,t.IsReadableStreamDisturbed=i.IsReadableStreamDisturbed,t.ReadableStreamDefaultControllerClose=i.ReadableStreamDefaultControllerClose,t.ReadableStreamDefaultControllerEnqueue=i.ReadableStreamDefaultControllerEnqueue,t.ReadableStreamDefaultControllerError=i.ReadableStreamDefaultControllerError,t.ReadableStreamDefaultControllerGetDesiredSize=i.ReadableStreamDefaultControllerGetDesiredSize,t.AcquireWritableStreamDefaultWriter=a.AcquireWritableStreamDefaultWriter,t.IsWritableStream=a.IsWritableStream,t.IsWritableStreamLocked=a.IsWritableStreamLocked,t.WritableStream=a.WritableStream,t.WritableStreamAbort=a.WritableStreamAbort,t.WritableStreamDefaultControllerError=a.WritableStreamDefaultControllerError,t.WritableStreamDefaultWriterCloseWithErrorPropagation=a.WritableStreamDefaultWriterCloseWithErrorPropagation,t.WritableStreamDefaultWriterRelease=a.WritableStreamDefaultWriterRelease,t.WritableStreamDefaultWriterWrite=a.WritableStreamDefaultWriterWrite},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(1).assert,o=r(0),s=o.InvokeOrNoop,c=o.PromiseInvokeOrPerformFallback,l=o.PromiseInvokeOrNoop,u=o.typeIsObject,d=r(4),h=d.ReadableStream,f=d.ReadableStreamDefaultControllerClose,p=d.ReadableStreamDefaultControllerEnqueue,g=d.ReadableStreamDefaultControllerError,m=d.ReadableStreamDefaultControllerGetDesiredSize,b=r(2),v=b.WritableStream,y=b.WritableStreamDefaultControllerError;function _(e,t){if(!0===e._errored)throw TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw TypeError("Readable side is already closed");var r=e._readableController;try{p(r,t)}catch(t){throw e._readableClosed=!0,x(e,t),e._storedError}!0==0>=m(r)&&!1===e._backpressure&&T(e,!0)}function A(e){a(!1===e._errored),a(!1===e._readableClosed);try{f(e._readableController)}catch(e){a(!1)}e._readableClosed=!0}function x(e,t){!1===e._errored&&S(e,t)}function S(e,t){a(!1===e._errored),e._errored=!0,e._storedError=t,!1===e._writableDone&&y(e._writableController,t),!1===e._readableClosed&&g(e._readableController,t)}function w(e){return(a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!1===e._backpressure)?Promise.resolve():(a(!0===e._backpressure,"_backpressure should have been initialized"),e._backpressureChangePromise)}function T(e,t){a(e._backpressure!==t,"TransformStreamSetBackpressure() should be called only when backpressure is changed"),void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(t),e._backpressureChangePromise=new Promise(function(t){e._backpressureChangePromise_resolve=t}),e._backpressureChangePromise.then(function(e){a(e!==t,"_backpressureChangePromise should be fulfilled only when backpressure is changed")}),e._backpressure=t}function D(e,t){return _(t._controlledTransformStream,e),Promise.resolve()}function C(e){return!!(u(e)&&Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream"))}function k(e){return!!(u(e)&&Object.prototype.hasOwnProperty.call(e,"_transformStreamController"))}var E=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._writableController=e,this._startPromise.then(function(){return w(t)})}},{key:"write",value:function(e){var t,r;return a(!1===(t=this._transformStream)._errored),a(!1===t._transforming),a(!1===t._backpressure),t._transforming=!0,c(t._transformer,"transform",[e,r=t._transformStreamController],D,[e,r]).then(function(){return t._transforming=!1,w(t)},function(e){return x(t,e),Promise.reject(e)})}},{key:"abort",value:function(){var e=this._transformStream;e._writableDone=!0,S(e,TypeError("Writable side aborted"))}},{key:"close",value:function(){var e=this._transformStream;return a(!1===e._transforming),e._writableDone=!0,l(e._transformer,"flush",[e._transformStreamController]).then(function(){return!0===e._errored?Promise.reject(e._storedError):(!1===e._readableClosed&&A(e),Promise.resolve())}).catch(function(t){return x(e,t),Promise.reject(e._storedError)})}}]),e}(),P=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._readableController=e,this._startPromise.then(function(){return(a(void 0!==t._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!0===t._backpressure)?Promise.resolve():(a(!1===t._backpressure,"_backpressure should have been initialized"),t._backpressureChangePromise)})}},{key:"pull",value:function(){var e=this._transformStream;return a(!0===e._backpressure,"pull() should be never called while _backpressure is false"),a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),T(e,!1),e._backpressureChangePromise}},{key:"cancel",value:function(){var e=this._transformStream;e._readableClosed=!0,S(e,TypeError("Readable side canceled"))}}]),e}(),R=function(){function e(t){if(i(this,e),!1===k(t))throw TypeError("TransformStreamDefaultController can only be constructed with a TransformStream instance");if(void 0!==t._transformStreamController)throw TypeError("TransformStreamDefaultController instances can only be created by the TransformStream constructor");this._controlledTransformStream=t}return n(e,[{key:"enqueue",value:function(e){if(!1===C(this))throw U("enqueue");_(this._controlledTransformStream,e)}},{key:"close",value:function(){if(!1===C(this))throw U("close");!function(e){if(!0===e._errored)throw TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw TypeError("Readable side is already closed");A(e)}(this._controlledTransformStream)}},{key:"error",value:function(e){if(!1===C(this))throw U("error");!function(e,t){if(!0===e._errored)throw TypeError("TransformStream is already errored");S(e,t)}(this._controlledTransformStream,e)}},{key:"desiredSize",get:function(){if(!1===C(this))throw U("desiredSize");return m(this._controlledTransformStream._readableController)}}]),e}(),F=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e),this._transformer=t;var r=t.readableStrategy,n=t.writableStrategy;this._transforming=!1,this._errored=!1,this._storedError=void 0,this._writableController=void 0,this._readableController=void 0,this._transformStreamController=void 0,this._writableDone=!1,this._readableClosed=!1,this._backpressure=void 0,this._backpressureChangePromise=void 0,this._backpressureChangePromise_resolve=void 0,this._transformStreamController=new R(this);var o=void 0,c=new Promise(function(e){o=e}),l=new P(this,c);this._readable=new h(l,r);var u=new E(this,c);this._writable=new v(u,n),a(void 0!==this._writableController),a(void 0!==this._readableController),T(this,0>=m(this._readableController));var d=this,f=s(t,"start",[d._transformStreamController]);o(f),c.catch(function(e){!1===d._errored&&(d._errored=!0,d._storedError=e)})}return n(e,[{key:"readable",get:function(){if(!1===k(this))throw O("readable");return this._readable}},{key:"writable",get:function(){if(!1===k(this))throw O("writable");return this._writable}}]),e}();function U(e){return TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function O(e){return TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}e.exports={TransformStream:F}},function(e,t,r){e.exports=r(5)}]))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var n=r(0),i=r(13),a=r(7),o={get value(){return(0,n.shadow)(o,"value",(0,n.isLittleEndian)())}};function s(e){e.mozCurrentTransform||(e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[],Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){var e=this._transformMatrix,t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],o=e[5],s=t*i-r*n,c=r*n-t*i;return[i/s,r/c,n/c,t/s,(i*a-n*o)/c,(r*a-t*o)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var r=this._transformMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5],this._originalTranslate(e,t)},e.scale=function(e,t){var r=this._transformMatrix;r[0]=r[0]*e,r[1]=r[1]*e,r[2]=r[2]*t,r[3]=r[3]*t,this._originalScale(e,t)},e.transform=function(t,r,n,i,a,o){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*r,s[1]*t+s[3]*r,s[0]*n+s[2]*i,s[1]*n+s[3]*i,s[0]*a+s[2]*o+s[4],s[1]*a+s[3]*o+s[5]],e._originalTransform(t,r,n,i,a,o)},e.setTransform=function(t,r,n,i,a,o){this._transformMatrix=[t,r,n,i,a,o],e._originalSetTransform(t,r,n,i,a,o)},e.rotate=function(e){var t=Math.cos(e),r=Math.sin(e),n=this._transformMatrix;this._transformMatrix=[n[0]*t+n[2]*r,n[1]*t+n[3]*r,-(n[0]*r)+n[2]*t,-(n[1]*r)+n[3]*t,n[4],n[5]],this._originalRotate(e)})}var c=function(){function e(e){this.canvasFactory=e,this.cache=Object.create(null)}return e.prototype={getCanvas:function(e,t,r,n){var i;return void 0!==this.cache[e]?(i=this.cache[e],this.canvasFactory.reset(i,t,r),i.context.setTransform(1,0,0,1,0,0)):(i=this.canvasFactory.create(t,r),this.cache[e]=i),n&&s(i.context),i},clear:function(){for(var e in this.cache){var t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}},e}(),l=function(){function e(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=n.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=n.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}(),u=function(){function e(e,t,r,n,i){this.ctx=e,this.current=new l,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=r,this.canvasFactory=n,this.imageLayer=i,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new c(this.canvasFactory),e&&s(e),this.cachedGetSinglePixelWidth=null}function t(e,t){if("undefined"!=typeof ImageData&&t instanceof ImageData){e.putImageData(t,0,0);return}var r,i,a,s,c,l=t.height,u=t.width,d=l%16,h=(l-d)/16,f=0===d?h:h+1,p=e.createImageData(u,16),g=0,m=t.data,b=p.data;if(t.kind===n.ImageKind.GRAYSCALE_1BPP){var v=m.byteLength,y=new Uint32Array(b.buffer,0,b.byteLength>>2),_=y.length,A=u+7>>3,x=o.value?0xff000000:255;for(r=0;r<f;r++){for(i=0,a=r<h?16:d,c=0;i<a;i++){for(var S=v-g,w=0,T=S>A?u:8*S-7,D=-8&T,C=0,k=0;w<D;w+=8)k=m[g++],y[c++]=128&k?0xffffffff:x,y[c++]=64&k?0xffffffff:x,y[c++]=32&k?0xffffffff:x,y[c++]=16&k?0xffffffff:x,y[c++]=8&k?0xffffffff:x,y[c++]=4&k?0xffffffff:x,y[c++]=2&k?0xffffffff:x,y[c++]=1&k?0xffffffff:x;for(;w<T;w++)0===C&&(k=m[g++],C=128),y[c++]=k&C?0xffffffff:x,C>>=1}for(;c<_;)y[c++]=0;e.putImageData(p,0,16*r)}}else if(t.kind===n.ImageKind.RGBA_32BPP){for(r=0,i=0,s=64*u;r<h;r++)b.set(m.subarray(g,g+s)),g+=s,e.putImageData(p,0,i),i+=16;r<f&&(s=u*d*4,b.set(m.subarray(g,g+s)),e.putImageData(p,0,i))}else if(t.kind===n.ImageKind.RGB_24BPP)for(r=0,s=u*(a=16);r<f;r++){for(r>=h&&(s=u*(a=d)),c=0,i=s;i--;)b[c++]=m[g++],b[c++]=m[g++],b[c++]=m[g++],b[c++]=255;e.putImageData(p,0,16*r)}else throw Error("bad image kind: "+t.kind)}function r(e,t){for(var r=t.height,n=t.width,i=r%16,a=(r-i)/16,o=0===i?a:a+1,s=e.createImageData(n,16),c=0,l=t.data,u=s.data,d=0;d<o;d++){for(var h=d<a?16:i,f=3,p=0;p<h;p++)for(var g=0,m=0;m<n;m++){if(!g){var b=l[c++];g=128}u[f]=b&g?0:255,f+=4,g>>=1}e.putImageData(s,0,16*d)}}function u(e,t){for(var r=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],n=0,i=r.length;n<i;n++){var a=r[n];void 0!==e[a]&&(t[a]=e[a])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function d(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function h(e,t,r){for(var n=e.length,i=1/255,a=3;a<n;a+=4){var o=r?r[e[a]]:e[a];t[a]=t[a]*o*i|0}}function f(e,t,r){for(var n=e.length,i=3;i<n;i+=4){var a=77*e[i-3]+152*e[i-2]+28*e[i-1];t[i]=r?t[i]*r[a>>8]>>8:t[i]*a>>16}}function p(e,t,r){var n=t.canvas,i=t.context;e.setTransform(t.scaleX,0,0,t.scaleY,t.offsetX,t.offsetY);var o=t.backdrop||null;if(!t.transferMap&&a.WebGLUtils.isEnabled){var s=a.WebGLUtils.composeSMask(r.canvas,n,{subtype:t.subtype,backdrop:o});e.setTransform(1,0,0,1,0,0),e.drawImage(s,t.offsetX,t.offsetY);return}(function(e,t,r,n,i,a,o){var s,c=!!a,l=c?a[0]:0,u=c?a[1]:0,d=c?a[2]:0;s="Luminosity"===i?f:h;for(var p=Math.min(n,Math.ceil(1048576/r)),g=0;g<n;g+=p){var m=Math.min(p,n-g),b=e.getImageData(0,g,r,m),v=t.getImageData(0,g,r,m);c&&function(e,t,r,n){for(var i=e.length,a=3;a<i;a+=4){var o=e[a];if(0===o)e[a-3]=t,e[a-2]=r,e[a-1]=n;else if(o<255){var s=255-o;e[a-3]=e[a-3]*o+t*s>>8,e[a-2]=e[a-2]*o+r*s>>8,e[a-1]=e[a-1]*o+n*s>>8}}}(b.data,l,u,d),s(b.data,v.data,o),e.putImageData(v,0,g)}})(i,r,n.width,n.height,t.subtype,o,t.transferMap),e.drawImage(n,0,0)}var g=["butt","round","square"],m=["miter","round","bevel"],b={},v={};for(var y in e.prototype={beginDrawing:function(e){var t=e.transform,r=e.viewport,n=e.transparency,i=e.background,a=this.ctx.canvas.width,o=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=(void 0===i?null:i)||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,a,o),this.ctx.restore(),n){var s=this.cachedCanvases.getCanvas("transparent",a,o,!0);this.compositeCtx=this.ctx,this.transparentCanvas=s.canvas,this.ctx=s.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),d(this.ctx),t&&this.ctx.transform.apply(this.ctx,t),this.ctx.transform.apply(this.ctx,r.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(e,t,r,i){var a,o=e.argsArray,s=e.fnArray,c=t||0,l=o.length;if(l===c)return c;for(var u=l-c>10&&"function"==typeof r,d=u?Date.now()+15:0,h=0,f=this.commonObjs,p=this.objs;;){if(void 0!==i&&c===i.nextBreakPoint)return i.breakIt(c,r),c;if((a=s[c])!==n.OPS.dependency)this[a].apply(this,o[c]);else for(var g=o[c],m=0,b=g.length;m<b;m++){var v=g[m],y="g"===v[0]&&"_"===v[1]?f:p;if(!y.isResolved(v))return y.get(v,r),c}if(++c===l)return c;if(u&&++h>10){if(Date.now()>d)return r(),c;h=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),a.WebGLUtils.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e},setLineCap:function(e){this.ctx.lineCap=g[e]},setLineJoin:function(e){this.ctx.lineJoin=m[e]},setMiterLimit:function(e){this.ctx.miterLimit=e},setDash:function(e,t){var r=this.ctx;void 0!==r.setLineDash&&(r.setLineDash(e),r.lineDashOffset=t)},setRenderingIntent:function(e){},setFlatness:function(e){},setGState:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],i=n[0],a=n[1];switch(i){case"LW":this.setLineWidth(a);break;case"LC":this.setLineCap(a);break;case"LJ":this.setLineJoin(a);break;case"ML":this.setMiterLimit(a);break;case"D":this.setDash(a[0],a[1]);break;case"RI":this.setRenderingIntent(a);break;case"FL":this.setFlatness(a);break;case"Font":this.setFont(a[0],a[1]);break;case"CA":this.current.strokeAlpha=n[1];break;case"ca":this.current.fillAlpha=n[1],this.ctx.globalAlpha=n[1];break;case"BM":this.ctx.globalCompositeOperation=a;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=a?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function(){var e=this.current.activeSMask,t=e.canvas.width,r=e.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,t,r,!0),a=this.ctx,o=a.mozCurrentTransform;this.ctx.save();var s=i.context;s.scale(1/e.scaleX,1/e.scaleY),s.translate(-e.offsetX,-e.offsetY),s.transform.apply(s,o),e.startTransformInverse=s.mozCurrentTransformInverse,u(a,s),this.ctx=s,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(a),this.groupLevel++},suspendSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),p(this.ctx,this.current.activeSMask,e),this.ctx.restore(),this.ctx.save(),u(e,this.ctx),this.current.resumeSMaskCtx=e;var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t),e.save(),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.restore()},resumeSMaskGroup:function(){var e=this.current.resumeSMaskCtx,t=this.ctx;this.ctx=e,this.groupStack.push(t),this.groupLevel++},endSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),p(this.ctx,this.current.activeSMask,e),this.ctx.restore(),u(e,this.ctx);var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t)},save:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null!==this.current.activeSMask&&(0===this.stateStack.length||this.stateStack[this.stateStack.length-1].activeSMask!==this.current.activeSMask)&&this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this.cachedGetSinglePixelWidth=null)},transform:function(e,t,r,n,i,a){this.ctx.transform(e,t,r,n,i,a),this.cachedGetSinglePixelWidth=null},constructPath:function(e,t){for(var r=this.ctx,i=this.current,a=i.x,o=i.y,s=0,c=0,l=e.length;s<l;s++)switch(0|e[s]){case n.OPS.rectangle:a=t[c++],o=t[c++];var u=t[c++],d=t[c++];0===u&&(u=this.getSinglePixelWidth()),0===d&&(d=this.getSinglePixelWidth());var h=a+u,f=o+d;this.ctx.moveTo(a,o),this.ctx.lineTo(h,o),this.ctx.lineTo(h,f),this.ctx.lineTo(a,f),this.ctx.lineTo(a,o),this.ctx.closePath();break;case n.OPS.moveTo:a=t[c++],o=t[c++],r.moveTo(a,o);break;case n.OPS.lineTo:a=t[c++],o=t[c++],r.lineTo(a,o);break;case n.OPS.curveTo:a=t[c+4],o=t[c+5],r.bezierCurveTo(t[c],t[c+1],t[c+2],t[c+3],a,o),c+=6;break;case n.OPS.curveTo2:r.bezierCurveTo(a,o,t[c],t[c+1],t[c+2],t[c+3]),a=t[c+2],o=t[c+3],c+=4;break;case n.OPS.curveTo3:a=t[c+2],o=t[c+3],r.bezierCurveTo(t[c],t[c+1],a,o,a,o),c+=4;break;case n.OPS.closePath:r.closePath()}i.setCurrentPoint(a,o)},closePath:function(){this.ctx.closePath()},stroke:function(e){e=void 0===e||e;var t=this.ctx,r=this.current.strokeColor;t.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth),t.globalAlpha=this.current.strokeAlpha,r&&r.hasOwnProperty("type")&&"Pattern"===r.type?(t.save(),t.strokeStyle=r.getPattern(t,this),t.stroke(),t.restore()):t.stroke(),e&&this.consumePath(),t.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(e){e=void 0===e||e;var t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,i=!1;n&&(t.save(),this.baseTransform&&t.setTransform.apply(t,this.baseTransform),t.fillStyle=r.getPattern(t,this),i=!0),this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill(),i&&t.restore(),e&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=b},eoClip:function(){this.pendingClip=v},beginText:function(){this.current.textMatrix=n.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0===e){t.beginPath();return}t.save(),t.beginPath();for(var r=0;r<e.length;r++){var n=e[r];t.setTransform.apply(t,n.transform),t.translate(n.x,n.y),n.addToPath(t,n.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths},setCharSpacing:function(e){this.current.charSpacing=e},setWordSpacing:function(e){this.current.wordSpacing=e},setHScale:function(e){this.current.textHScale=e/100},setLeading:function(e){this.current.leading=-e},setFont:function(e,t){var r=this.commonObjs.get(e),i=this.current;if(!r)throw Error("Can't find font for "+e);if(i.fontMatrix=r.fontMatrix?r.fontMatrix:n.FONT_IDENTITY_MATRIX,(0===i.fontMatrix[0]||0===i.fontMatrix[3])&&(0,n.warn)("Invalid font matrix for font "+e),t<0?(t=-t,i.fontDirection=-1):i.fontDirection=1,this.current.font=r,this.current.fontSize=t,!r.isType3Font){var a=r.loadedName||"sans-serif",o=r.black?"900":r.bold?"bold":"normal",s=r.italic?"italic":"normal",c='"'+a+'", '+r.fallbackName,l=t<16?16:t>100?100:t;this.current.fontSizeScale=t/l,this.ctx.font=s+" "+o+" "+l+"px "+c}},setTextRenderingMode:function(e){this.current.textRenderingMode=e},setTextRise:function(e){this.current.textRise=e},moveText:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},setTextMatrix:function(e,t,r,n,i,a){this.current.textMatrix=[e,t,r,n,i,a],this.current.textMatrixScale=Math.sqrt(e*e+t*t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(e,t,r){var i,a=this.ctx,o=this.current,s=o.font,c=o.textRenderingMode,l=o.fontSize/o.fontSizeScale,u=c&n.TextRenderingMode.FILL_STROKE_MASK,d=!!(c&n.TextRenderingMode.ADD_TO_PATH_FLAG);(s.disableFontFace||d)&&(i=s.getPathGenerator(this.commonObjs,e)),s.disableFontFace?(a.save(),a.translate(t,r),a.beginPath(),i(a,l),(u===n.TextRenderingMode.FILL||u===n.TextRenderingMode.FILL_STROKE)&&a.fill(),(u===n.TextRenderingMode.STROKE||u===n.TextRenderingMode.FILL_STROKE)&&a.stroke(),a.restore()):((u===n.TextRenderingMode.FILL||u===n.TextRenderingMode.FILL_STROKE)&&a.fillText(e,t,r),(u===n.TextRenderingMode.STROKE||u===n.TextRenderingMode.FILL_STROKE)&&a.strokeText(e,t,r)),d&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:a.mozCurrentTransform,x:t,y:r,fontSize:l,addToPath:i})},get isFontSubpixelAAEnabled(){var _=this.canvasFactory.create(10,10).context;_.scale(1.5,1),_.fillText("I",0,10);for(var A=_.getImageData(0,0,10,10).data,x=!1,S=3;S<A.length;S+=4)if(A[S]>0&&A[S]<255){x=!0;break}return(0,n.shadow)(this,"isFontSubpixelAAEnabled",x)},showText:function(e){var t=this.current,r=t.font;if(r.isType3Font)return this.showType3Text(e);var i=t.fontSize;if(0!==i){var a=this.ctx,o=t.fontSizeScale,s=t.charSpacing,c=t.wordSpacing,l=t.fontDirection,u=t.textHScale*l,d=e.length,h=r.vertical,f=h?1:-1,p=r.defaultVMetrics,g=i*t.fontMatrix[0],m=t.textRenderingMode===n.TextRenderingMode.FILL&&!r.disableFontFace;a.save(),a.transform.apply(a,t.textMatrix),a.translate(t.x,t.y+t.textRise),t.patternFill&&(a.fillStyle=t.fillColor.getPattern(a,this)),l>0?a.scale(u,-1):a.scale(u,1);var b=t.lineWidth,v=t.textMatrixScale;if(0===v||0===b){var y=t.textRenderingMode&n.TextRenderingMode.FILL_STROKE_MASK;(y===n.TextRenderingMode.STROKE||y===n.TextRenderingMode.FILL_STROKE)&&(this.cachedGetSinglePixelWidth=null,b=.65*this.getSinglePixelWidth())}else b/=v;1!==o&&(a.scale(o,o),b/=o),a.lineWidth=b;var _,A=0;for(_=0;_<d;++_){var x,S,w,T,D,C,k,E=e[_];if((0,n.isNum)(E)){A+=f*E*i/1e3;continue}var P=!1,R=(E.isSpace?c:0)+s,F=E.fontChar,U=E.accent,O=E.width;if(h?(D=E.vmetric||p,C=-(C=E.vmetric?D[1]:.5*O)*g,k=D[2]*g,O=D?-D[0]:O,x=C/o,S=(A+k)/o):(x=A/o,S=0),r.remeasure&&O>0){var I=1e3*a.measureText(F).width/i*o;if(O<I&&this.isFontSubpixelAAEnabled){var L=O/I;P=!0,a.save(),a.scale(L,1),x/=L}else O!==I&&(x+=(O-I)/2e3*i/o)}(E.isInFont||r.missingFile)&&(m&&!U?a.fillText(F,x,S):(this.paintChar(F,x,S),U&&(w=x+U.offset.x/o,T=S-U.offset.y/o,this.paintChar(U.fontChar,w,T)))),A+=O*g+R*l,P&&a.restore()}h?t.y-=A*u:t.x+=A*u,a.restore()}},showType3Text:function(e){var t,r,i,a,o=this.ctx,s=this.current,c=s.font,l=s.fontSize,u=s.fontDirection,d=c.vertical?1:-1,h=s.charSpacing,f=s.wordSpacing,p=s.textHScale*u,g=s.fontMatrix||n.FONT_IDENTITY_MATRIX,m=e.length;if(s.textRenderingMode!==n.TextRenderingMode.INVISIBLE&&0!==l){for(this.cachedGetSinglePixelWidth=null,o.save(),o.transform.apply(o,s.textMatrix),o.translate(s.x,s.y),o.scale(p,u),t=0;t<m;++t){if(r=e[t],(0,n.isNum)(r)){a=d*r*l/1e3,this.ctx.translate(a,0),s.x+=a*p;continue}var b=(r.isSpace?f:0)+h,v=c.charProcOperatorList[r.operatorListId];if(!v){(0,n.warn)('Type3 character "'+r.operatorListId+'" is not available.');continue}this.processingType3=r,this.save(),o.scale(l,l),o.transform.apply(o,g),this.executeOperatorList(v),this.restore(),i=n.Util.applyTransform([r.width,0],g)[0]*l+b,o.translate(i,0),s.x+=i*p}o.restore(),this.processingType3=null}},setCharWidth:function(e,t){},setCharWidthAndBounds:function(e,t,r,n,i,a){this.ctx.rect(r,n,i-r,a-n),this.clip(),this.endPath()},getColorN_Pattern:function(t){var r,n=this;if("TilingPattern"===t[0]){var a=t[1],o=this.baseTransform||this.ctx.mozCurrentTransform.slice();r=new i.TilingPattern(t,a,this.ctx,{createCanvasGraphics:function(t){return new e(t,n.commonObjs,n.objs,n.canvasFactory)}},o)}else r=(0,i.getShadingPatternFromIR)(t);return r},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.strokeStyle=i,this.current.strokeColor=i},setFillRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1},shadingFill:function(e){var t=this.ctx;this.save();var r=(0,i.getShadingPatternFromIR)(e);t.fillStyle=r.getPattern(t,this,!0);var a=t.mozCurrentTransformInverse;if(a){var o=t.canvas,s=o.width,c=o.height,l=n.Util.applyTransform([0,0],a),u=n.Util.applyTransform([0,c],a),d=n.Util.applyTransform([s,0],a),h=n.Util.applyTransform([s,c],a),f=Math.min(l[0],u[0],d[0],h[0]),p=Math.min(l[1],u[1],d[1],h[1]),g=Math.max(l[0],u[0],d[0],h[0]),m=Math.max(l[1],u[1],d[1],h[1]);this.ctx.fillRect(f,p,g-f,m-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){throw Error("Should not call beginInlineImage")},beginImageData:function(){throw Error("Should not call beginImageData")},paintFormXObjectBegin:function(e,t){if(this.save(),this.baseTransformStack.push(this.baseTransform),(0,n.isArray)(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,(0,n.isArray)(t)&&4===t.length){var r=t[2]-t[0],i=t[3]-t[1];this.ctx.rect(t[0],t[1],r,i),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(e){this.save();var t=this.ctx;e.isolated||(0,n.info)("TODO: Support non-isolated groups."),e.knockout&&(0,n.warn)("Knockout groups not supported.");var r=t.mozCurrentTransform;if(e.matrix&&t.transform.apply(t,e.matrix),!e.bbox)throw Error("Bounding box is required.");var i=n.Util.getAxialAlignedBoundingBox(e.bbox,t.mozCurrentTransform),a=[0,0,t.canvas.width,t.canvas.height],o=Math.floor((i=n.Util.intersect(i,a)||[0,0,0,0])[0]),s=Math.floor(i[1]),c=Math.max(Math.ceil(i[2])-o,1),l=Math.max(Math.ceil(i[3])-s,1),d=1,h=1;c>4096&&(d=c/4096,c=4096),l>4096&&(h=l/4096,l=4096);var f="groupAt"+this.groupLevel;e.smask&&(f+="_smask_"+this.smaskCounter++%2);var p=this.cachedCanvases.getCanvas(f,c,l,!0),g=p.context;g.scale(1/d,1/h),g.translate(-o,-s),g.transform.apply(g,r),e.smask?this.smaskStack.push({canvas:p.canvas,context:g,offsetX:o,offsetY:s,scaleX:d,scaleY:h,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(o,s),t.scale(d,h)),u(t,g),this.ctx=g,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++,this.current.activeSMask=null},endGroup:function(e){this.groupLevel--;var t=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,e.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(t.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(e,t,r){if(this.save(),d(this.ctx),this.current=new l,(0,n.isArray)(e)&&4===e.length){var i=e[2]-e[0],a=e[3]-e[1];this.ctx.rect(e[0],e[1],i,a),this.clip(),this.endPath()}this.transform.apply(this,t),this.transform.apply(this,r)},endAnnotation:function(){this.restore()},paintJpegXObject:function(e,t,r){var i=this.objs.get(e);if(!i){(0,n.warn)("Dependent image isn't ready yet");return}this.save();var a=this.ctx;if(a.scale(1/t,-1/r),a.drawImage(i,0,0,i.width,i.height,0,-r,t,r),this.imageLayer){var o=a.mozCurrentTransformInverse,s=this.getCanvasPosition(0,0);this.imageLayer.appendImage({objId:e,left:s[0],top:s[1],width:t/o[0],height:r/o[3]})}this.restore()},paintImageMaskXObject:function(e){var t=this.ctx,n=e.width,i=e.height,a=this.current.fillColor,o=this.current.patternFill,s=this.processingType3;if(s&&void 0===s.compiled&&(n<=1e3&&i<=1e3?s.compiled=function(e){var t,r,n,i,a=e.width,o=e.height,s=a+1,c=new Uint8Array(s*(o+1)),l=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),u=a+7&-8,d=e.data,h=new Uint8Array(u*o),f=0;for(t=0,i=d.length;t<i;t++)for(var p=128,g=d[t];p>0;)h[f++]=g&p?0:255,p>>=1;var m=0;for(0!==h[f=0]&&(c[0]=1,++m),r=1;r<a;r++)h[f]!==h[f+1]&&(c[r]=h[f]?2:1,++m),f++;for(0!==h[f]&&(c[r]=2,++m),t=1;t<o;t++){f=t*u,n=t*s,h[f-u]!==h[f]&&(c[n]=h[f]?1:8,++m);var b=(h[f]?4:0)+(h[f-u]?8:0);for(r=1;r<a;r++)l[b=(b>>2)+(h[f+1]?4:0)+(h[f-u+1]?8:0)]&&(c[n+r]=l[b],++m),f++;if(h[f-u]!==h[f]&&(c[n+r]=h[f]?2:4,++m),m>1e3)return null}for(f=u*(o-1),n=t*s,0!==h[f]&&(c[n]=8,++m),r=1;r<a;r++)h[f]!==h[f+1]&&(c[n+r]=h[f]?4:8,++m),f++;if(0!==h[f]&&(c[n+r]=4,++m),m>1e3)return null;var v=new Int32Array([0,s,-1,0,-s,0,0,0,1]),y=[];for(t=0;m&&t<=o;t++){for(var _=t*s,A=_+a;_<A&&!c[_];)_++;if(_!==A){var x,S=[_%s,t],w=c[_],T=_;do{var D=v[w];do _+=D;while(!c[_]);5!==(x=c[_])&&10!==x?(w=x,c[_]=0):(w=x&51*w>>4,c[_]&=w>>2|w<<2),S.push(_%s),S.push(_/s|0),--m}while(T!==_);y.push(S),--t}}return function(e){e.save(),e.scale(1/a,-1/o),e.translate(0,-o),e.beginPath();for(var t=0,r=y.length;t<r;t++){var n=y[t];e.moveTo(n[0],n[1]);for(var i=2,s=n.length;i<s;i+=2)e.lineTo(n[i],n[i+1])}e.fill(),e.beginPath(),e.restore()}}({data:e.data,width:n,height:i}):s.compiled=null),s&&s.compiled){s.compiled(t);return}var c=this.cachedCanvases.getCanvas("maskCanvas",n,i),l=c.context;l.save(),r(l,e),l.globalCompositeOperation="source-in",l.fillStyle=o?a.getPattern(l,this):a,l.fillRect(0,0,n,i),l.restore(),this.paintInlineImageXObject(c.canvas)},paintImageMaskXObjectRepeat:function(e,t,n,i){var a=e.width,o=e.height,s=this.current.fillColor,c=this.current.patternFill,l=this.cachedCanvases.getCanvas("maskCanvas",a,o),u=l.context;u.save(),r(u,e),u.globalCompositeOperation="source-in",u.fillStyle=c?s.getPattern(u,this):s,u.fillRect(0,0,a,o),u.restore();for(var d=this.ctx,h=0,f=i.length;h<f;h+=2)d.save(),d.transform(t,0,0,n,i[h],i[h+1]),d.scale(1,-1),d.drawImage(l.canvas,0,0,a,o,0,-1,1,1),d.restore()},paintImageMaskXObjectGroup:function(e){for(var t=this.ctx,n=this.current.fillColor,i=this.current.patternFill,a=0,o=e.length;a<o;a++){var s=e[a],c=s.width,l=s.height,u=this.cachedCanvases.getCanvas("maskCanvas",c,l),d=u.context;d.save(),r(d,s),d.globalCompositeOperation="source-in",d.fillStyle=i?n.getPattern(d,this):n,d.fillRect(0,0,c,l),d.restore(),t.save(),t.transform.apply(t,s.transform),t.scale(1,-1),t.drawImage(u.canvas,0,0,c,l,0,-1,1,1),t.restore()}},paintImageXObject:function(e){var t=this.objs.get(e);if(!t){(0,n.warn)("Dependent image isn't ready yet");return}this.paintInlineImageXObject(t)},paintImageXObjectRepeat:function(e,t,r,i){var a=this.objs.get(e);if(!a){(0,n.warn)("Dependent image isn't ready yet");return}for(var o=a.width,s=a.height,c=[],l=0,u=i.length;l<u;l+=2)c.push({transform:[t,0,0,r,i[l],i[l+1]],x:0,y:0,w:o,h:s});this.paintInlineImageXObjectGroup(a,c)},paintInlineImageXObject:function(e){var r,n,i=e.width,a=e.height,o=this.ctx;this.save(),o.scale(1/i,-1/a);var s=o.mozCurrentTransformInverse,c=s[0],l=s[1],u=Math.max(Math.sqrt(c*c+l*l),1),d=s[2],h=s[3],f=Math.max(Math.sqrt(d*d+h*h),1);if(e instanceof HTMLElement||!e.data)r=e;else{var p=(n=this.cachedCanvases.getCanvas("inlineImage",i,a)).context;t(p,e),r=n.canvas}for(var g=i,m=a,b="prescale1";u>2&&g>1||f>2&&m>1;){var v=g,y=m;u>2&&g>1&&(v=Math.ceil(g/2),u/=g/v),f>2&&m>1&&(y=Math.ceil(m/2),f/=m/y),(p=(n=this.cachedCanvases.getCanvas(b,v,y)).context).clearRect(0,0,v,y),p.drawImage(r,0,0,g,m,0,0,v,y),r=n.canvas,g=v,m=y,b="prescale1"===b?"prescale2":"prescale1"}if(o.drawImage(r,0,0,g,m,0,-a,i,a),this.imageLayer){var _=this.getCanvasPosition(0,-a);this.imageLayer.appendImage({imgData:e,left:_[0],top:_[1],width:i/s[0],height:a/s[3]})}this.restore()},paintInlineImageXObjectGroup:function(e,r){var n=this.ctx,i=e.width,a=e.height,o=this.cachedCanvases.getCanvas("inlineImage",i,a);t(o.context,e);for(var s=0,c=r.length;s<c;s++){var l=r[s];if(n.save(),n.transform.apply(n,l.transform),n.scale(1,-1),n.drawImage(o.canvas,l.x,l.y,l.w,l.h,0,-1,1,1),this.imageLayer){var u=this.getCanvasPosition(l.x,l.y);this.imageLayer.appendImage({imgData:e,left:u[0],top:u[1],width:i,height:a})}n.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){(0,n.warn)("Unsupported 'paintXObject' command.")},markPoint:function(e){},markPointProps:function(e,t){},beginMarkedContent:function(e){},beginMarkedContentProps:function(e,t){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var e=this.ctx;this.pendingClip&&(this.pendingClip===v?e.clip("evenodd"):e.clip(),this.pendingClip=null),e.beginPath()},getSinglePixelWidth:function(e){if(null===this.cachedGetSinglePixelWidth){this.ctx.save();var t=this.ctx.mozCurrentTransformInverse;this.ctx.restore(),this.cachedGetSinglePixelWidth=Math.sqrt(Math.max(t[0]*t[0]+t[1]*t[1],t[2]*t[2]+t[3]*t[3]))}return this.cachedGetSinglePixelWidth},getCanvasPosition:function(e,t){var r=this.ctx.mozCurrentTransform;return[r[0]*e+r[2]*t+r[4],r[1]*e+r[3]*t+r[5]]}},n.OPS)e.prototype[n.OPS[y]]=e.prototype[y];return e}();t.CanvasGraphics=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var n=r(0);function i(e){this.docId=e,this.styleElement=null,this.nativeFontFaces=[],this.loadTestFontId=0,this.loadingContext={requests:[],nextRequestId:0}}i.prototype={insertRule:function(e){var t=this.styleElement;t||((t=this.styleElement=document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_"+this.docId,document.documentElement.getElementsByTagName("head")[0].appendChild(t));var r=t.sheet;r.insertRule(e,r.cssRules.length)},clear:function(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null),this.nativeFontFaces.forEach(function(e){document.fonts.delete(e)}),this.nativeFontFaces.length=0}},Object.defineProperty(i.prototype,"loadTestFont",{get:function(){return(0,n.shadow)(this,"loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))},configurable:!0}),i.prototype.addNativeFontFace=function(e){this.nativeFontFaces.push(e),document.fonts.add(e)},i.prototype.bind=function(e,t){for(var r=[],a=[],o=[],s=function(e){return e.loaded.catch(function(t){(0,n.warn)('Failed to load font "'+e.family+'": '+t)})},c=i.isFontLoadingAPISupported&&!i.isSyncFontLoadingSupported,l=0,u=e.length;l<u;l++){var d=e[l];if(!d.attached&&!1!==d.loading){if(d.attached=!0,c){var h=d.createNativeFontFace();h&&(this.addNativeFontFace(h),o.push(s(h)))}else{var f=d.createFontFaceRule();f&&(this.insertRule(f),r.push(f),a.push(d))}}}var p=this.queueLoadingCallback(t);c?Promise.all(o).then(function(){p.complete()}):r.length>0&&!i.isSyncFontLoadingSupported?this.prepareFontLoadEvent(r,a,p):p.complete()},i.prototype.queueLoadingCallback=function(e){var t=this.loadingContext,r={id:"pdfjs-font-loading-"+t.nextRequestId++,complete:function(){for((0,n.assert)(!r.end,"completeRequest() cannot be called twice"),r.end=Date.now();t.requests.length>0&&t.requests[0].end;)setTimeout(t.requests.shift().callback,0)},callback:e,started:Date.now()};return t.requests.push(r),r},i.prototype.prepareFontLoadEvent=function(e,t,r){function i(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function a(e,t,r,n){return e.substr(0,t)+n+e.substr(t+r)}var o,s,c=document.createElement("canvas");c.width=1,c.height=1;var l=c.getContext("2d"),u=0,d="lt"+Date.now()+this.loadTestFontId++,h=this.loadTestFont,f=i(h=a(h,976,d.length,d),16);for(o=0,s=d.length-3;o<s;o+=4)f=f-0x58585858+i(d,o)|0;o<d.length&&(f=f-0x58585858+i(d+"XXX",o)|0);var p='@font-face { font-family:"'+d+'";src:url(data:font/opentype;base64,'+btoa(h=a(h,16,4,(0,n.string32)(f)))+");}";this.insertRule(p);var g=[];for(o=0,s=t.length;o<s;o++)g.push(t[o].loadedName);g.push(d);var m=document.createElement("div");for(m.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;"),o=0,s=g.length;o<s;++o){var b=document.createElement("span");b.textContent="Hi",b.style.fontFamily=g[o],m.appendChild(b)}document.body.appendChild(m),function e(t,r){if(++u>30){(0,n.warn)("Load test font never loaded."),r();return}if(l.font="30px "+t,l.fillText(".",0,20),l.getImageData(0,0,1,1).data[3]>0){r();return}setTimeout(e.bind(null,t,r))}(d,function(){document.body.removeChild(m),r.complete()})},i.isFontLoadingAPISupported="undefined"!=typeof document&&!!document.fonts;var a=function(){if("undefined"==typeof navigator)return!0;var e=!1,t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);return t&&t[1]>=14&&(e=!0),e};Object.defineProperty(i,"isSyncFontLoadingSupported",{get:function(){return(0,n.shadow)(i,"isSyncFontLoadingSupported",a())},enumerable:!0,configurable:!0});var o={get value(){return(0,n.shadow)(this,"value",(0,n.isEvalSupported)())}},s=function(){function e(e,t){for(var r in this.compiledGlyphs=Object.create(null),e)this[r]=e[r];this.options=t}return e.prototype={createNativeFontFace:function(){if(!this.data)return null;if(this.options.disableFontFace)return this.disableFontFace=!0,null;var e=new FontFace(this.loadedName,this.data,{});return this.options.fontRegistry&&this.options.fontRegistry.registerFont(this),e},createFontFaceRule:function(){if(!this.data)return null;if(this.options.disableFontFace)return this.disableFontFace=!0,null;var e=(0,n.bytesToString)(new Uint8Array(this.data)),t=this.loadedName,r="url(data:"+this.mimetype+";base64,"+btoa(e)+");",i='@font-face { font-family:"'+t+'";src:'+r+"}";return this.options.fontRegistry&&this.options.fontRegistry.registerFont(this,r),i},getPathGenerator:function(e,t){if(!(t in this.compiledGlyphs)){var r=e.get(this.loadedName+"_path_"+t);if(this.options.isEvalSupported&&o.value){var n,i,a,s,c="";for(i=0,a=r.length;i<a;i++)s=void 0!==(n=r[i]).args?n.args.join(","):"",c+="c."+n.cmd+"("+s+");\n";this.compiledGlyphs[t]=Function("c","size",c)}else this.compiledGlyphs[t]=function(e,t){for(i=0,a=r.length;i<a;i++)"scale"===(n=r[i]).cmd&&(n.args=[t,-t]),e[n.cmd].apply(e,n.args)}}return this.compiledGlyphs[t]}},e}();t.FontFaceObject=s,t.FontLoader=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TilingPattern=t.getShadingPatternFromIR=void 0;var n=r(0),i=r(7),a={};a.RadialAxial={fromIR:function(e){var t=e[1],r=e[2],n=e[3],i=e[4],a=e[5],o=e[6];return{type:"Pattern",getPattern:function(e){var s;"axial"===t?s=e.createLinearGradient(n[0],n[1],i[0],i[1]):"radial"===t&&(s=e.createRadialGradient(n[0],n[1],a,i[0],i[1],o));for(var c=0,l=r.length;c<l;++c){var u=r[c];s.addColorStop(u[0],u[1])}return s}}}};var o=function(){function e(e,t,r,n,i,a,o,s){var c,l,u,d,h,f,p,g,m,b,v=t.coords,y=t.colors,_=e.data,A=4*e.width;v[r+1]>v[n+1]&&(c=r,r=n,n=c,c=a,a=o,o=c),v[n+1]>v[i+1]&&(c=n,n=i,i=c,c=o,o=s,s=c),v[r+1]>v[n+1]&&(c=r,r=n,n=c,c=a,a=o,o=c);var x=(v[r]+t.offsetX)*t.scaleX,S=(v[r+1]+t.offsetY)*t.scaleY,w=(v[n]+t.offsetX)*t.scaleX,T=(v[n+1]+t.offsetY)*t.scaleY,D=(v[i]+t.offsetX)*t.scaleX,C=(v[i+1]+t.offsetY)*t.scaleY;if(!(S>=C))for(var k=y[a],E=y[a+1],P=y[a+2],R=y[o],F=y[o+1],U=y[o+2],O=y[s],I=y[s+1],L=y[s+2],N=Math.round(S),j=Math.round(C),M=N;M<=j;M++){M<T?(l=x-(x-w)*(b=M<S?0:S===T?1:(S-M)/(S-T)),u=k-(k-R)*b,d=E-(E-F)*b,h=P-(P-U)*b):(l=w-(w-D)*(b=M>C?1:T===C?0:(T-M)/(T-C)),u=R-(R-O)*b,d=F-(F-I)*b,h=U-(U-L)*b),f=x-(x-D)*(b=M<S?0:M>C?1:(S-M)/(S-C)),p=k-(k-O)*b,g=E-(E-I)*b,m=P-(P-L)*b;for(var W=Math.round(Math.min(l,f)),q=Math.round(Math.max(l,f)),B=A*M+4*W,z=W;z<=q;z++)b=(b=(l-z)/(l-f))<0?0:b>1?1:b,_[B++]=u-(u-p)*b|0,_[B++]=d-(d-g)*b|0,_[B++]=h-(h-m)*b|0,_[B++]=255}}return function(t,r,n,a,o,s,c){var l,u,d,h,f=Math.floor(t[0]),p=Math.floor(t[1]),g=Math.ceil(t[2])-f,m=Math.ceil(t[3])-p,b=Math.min(Math.ceil(Math.abs(g*r[0]*1.1)),3e3),v=Math.min(Math.ceil(Math.abs(m*r[1]*1.1)),3e3),y=g/b,_=m/v,A={coords:n,colors:a,offsetX:-f,offsetY:-p,scaleX:1/y,scaleY:1/_},x=b+4,S=v+4;if(i.WebGLUtils.isEnabled)l=i.WebGLUtils.drawFigures(b,v,s,o,A),(u=c.getCanvas("mesh",x,S,!1)).context.drawImage(l,2,2),l=u.canvas;else{var w=(u=c.getCanvas("mesh",x,S,!1)).context,T=w.createImageData(b,v);if(s){var D=T.data;for(d=0,h=D.length;d<h;d+=4)D[d]=s[0],D[d+1]=s[1],D[d+2]=s[2],D[d+3]=255}for(d=0;d<o.length;d++)!function(t,r,n){var i,a,o=r.coords,s=r.colors;switch(r.type){case"lattice":var c=r.verticesPerRow,l=Math.floor(o.length/c)-1,u=c-1;for(i=0;i<l;i++)for(var d=i*c,h=0;h<u;h++,d++)e(t,n,o[d],o[d+1],o[d+c],s[d],s[d+1],s[d+c]),e(t,n,o[d+c+1],o[d+1],o[d+c],s[d+c+1],s[d+1],s[d+c]);break;case"triangles":for(i=0,a=o.length;i<a;i+=3)e(t,n,o[i],o[i+1],o[i+2],s[i],s[i+1],s[i+2]);break;default:throw Error("illegal figure")}}(T,o[d],A);w.putImageData(T,2,2),l=u.canvas}return{canvas:l,offsetX:f-2*y,offsetY:p-2*_,scaleX:y,scaleY:_}}}();a.Mesh={fromIR:function(e){var t=e[2],r=e[3],i=e[4],a=e[5],s=e[6],c=e[8];return{type:"Pattern",getPattern:function(e,l,u){if(u)d=n.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(d=n.Util.singularValueDecompose2dScale(l.baseTransform),s){var d,h=n.Util.singularValueDecompose2dScale(s);d=[d[0]*h[0],d[1]*h[1]]}var f=o(a,d,t,r,i,u?null:c,l.cachedCanvases);return!u&&(e.setTransform.apply(e,l.baseTransform),s&&e.transform.apply(e,s)),e.translate(f.offsetX,f.offsetY),e.scale(f.scaleX,f.scaleY),e.createPattern(f.canvas,"no-repeat")}}}},a.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var s=function(){var e={COLORED:1,UNCOLORED:2};function t(e,t,r,n,i){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.canvasGraphicsFactory=n,this.baseTransform=i,this.type="Pattern",this.ctx=r}return t.prototype={createPatternCanvas:function(e){var t=this.operatorList,r=this.bbox,i=this.xstep,a=this.ystep,o=this.paintType,s=this.tilingType,c=this.color,l=this.canvasGraphicsFactory;(0,n.info)("TilingType: "+s);var u=r[0],d=r[1],h=r[2],f=r[3],p=[u,d],g=[u+i,d+a],m=g[0]-p[0],b=g[1]-p[1],v=n.Util.singularValueDecompose2dScale(this.matrix),y=n.Util.singularValueDecompose2dScale(this.baseTransform),_=[v[0]*y[0],v[1]*y[1]];m=Math.min(Math.ceil(Math.abs(m*_[0])),3e3),b=Math.min(Math.ceil(Math.abs(b*_[1])),3e3);var A=e.cachedCanvases.getCanvas("pattern",m,b,!0),x=A.context,S=l.createCanvasGraphics(x);S.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(x,o,c),this.setScale(m,b,i,a),this.transformToScale(S);var w=[1,0,0,1,-p[0],-p[1]];return S.transform.apply(S,w),this.clipBbox(S,r,u,d,h,f),S.executeOperatorList(t),A.canvas},setScale:function(e,t,r,n){this.scale=[e/r,t/n]},transformToScale:function(e){var t=this.scale,r=[t[0],0,0,t[1],0,0];e.transform.apply(e,r)},scaleToContext:function(){var e=this.scale;this.ctx.scale(1/e[0],1/e[1])},clipBbox:function(e,t,r,i,a,o){(0,n.isArray)(t)&&4===t.length&&(e.ctx.rect(r,i,a-r,o-i),e.clip(),e.endPath())},setFillAndStrokeStyleToContext:function(t,r,i){switch(r){case e.COLORED:var a=this.ctx;t.fillStyle=a.fillStyle,t.strokeStyle=a.strokeStyle;break;case e.UNCOLORED:var o=n.Util.makeCssRgb(i[0],i[1],i[2]);t.fillStyle=o,t.strokeStyle=o;break;default:throw new n.FormatError("Unsupported paint type: "+r)}},getPattern:function(e,t){var r=this.createPatternCanvas(t);return(e=this.ctx).setTransform.apply(e,this.baseTransform),e.transform.apply(e,this.matrix),this.scaleToContext(),e.createPattern(r,"repeat")}},t}();t.getShadingPatternFromIR=function(e){var t=a[e[0]];if(!t)throw Error("Unknown IR type: "+e[0]);return t.fromIR(e)},t.TilingPattern=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var n=r(0),i=function(){function e(e,t){var r=this;(0,n.assert)(t),this._queuedChunks=[];var i=e.initialData;if(i&&i.length>0){var a=new Uint8Array(i).buffer;this._queuedChunks.push(a)}this._pdfDataRangeTransport=t,this._isRangeSupported=!e.disableRange,this._isStreamingSupported=!e.disableStream,this._contentLength=e.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener(function(e,t){r._onReceiveData({begin:e,chunk:t})}),this._pdfDataRangeTransport.addProgressListener(function(e){r._onProgress({loaded:e})}),this._pdfDataRangeTransport.addProgressiveReadListener(function(e){r._onReceiveData({chunk:e})}),this._pdfDataRangeTransport.transportReady()}function t(e,t){this._stream=e,this._done=!1,this._queuedChunks=t||[],this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}function r(e,t,r){this._stream=e,this._begin=t,this._end=r,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}return e.prototype={_onReceiveData:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var r=this._rangeReaders.some(function(r){return r._begin===e.begin&&(r._enqueue(t),!0)});(0,n.assert)(r)}},_onProgress:function(e){if(this._rangeReaders.length>0){var t=this._rangeReaders[0];t.onProgress&&t.onProgress({loaded:e.loaded})}},_removeRangeReader:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)},getFullReader:function(){(0,n.assert)(!this._fullRequestReader);var e=this._queuedChunks;return this._queuedChunks=null,new t(this,e)},getRangeReader:function(e,t){var n=new r(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n},cancelAllRequests:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeReaders.slice(0).forEach(function(t){t.cancel(e)}),this._pdfDataRangeTransport.abort()}},t.prototype={_enqueue:function(e){if(!this._done){if(this._requests.length>0){this._requests.shift().resolve({value:e,done:!1});return}this._queuedChunks.push(e)}},get headersReady(){return this._headersReady},get isRangeSupported(){return this._stream._isRangeSupported},get isStreamingSupported(){return this._stream._isStreamingSupported},get contentLength(){return this._stream._contentLength},read:function(){if(this._queuedChunks.length>0)return Promise.resolve({value:this._queuedChunks.shift(),done:!1});if(this._done)return Promise.resolve({value:void 0,done:!0});var e=(0,n.createPromiseCapability)();return this._requests.push(e),e.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[]}},r.prototype={_enqueue:function(e){this._done||(0===this._requests.length?this._queuedChunk=e:(this._requests.shift().resolve({value:e,done:!1}),this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[]),this._done=!0,this._stream._removeRangeReader(this))},get isStreamingSupported(){return!1},read:function(){if(this._queuedChunk){var e=this._queuedChunk;return this._queuedChunk=null,Promise.resolve({value:e,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var t=(0,n.createPromiseCapability)();return this._requests.push(t),t.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._stream._removeRangeReader(this)}},e}();t.PDFDataTransportStream=i},function(e,t,r){"use strict";var n=r(0),i=r(8),a=r(2),o=r(5),s=r(3),c=r(1),l=r(4);r(9),t.PDFJS=i.PDFJS,t.build=a.build,t.version=a.version,t.getDocument=a.getDocument,t.LoopbackPort=a.LoopbackPort,t.PDFDataRangeTransport=a.PDFDataRangeTransport,t.PDFWorker=a.PDFWorker,t.renderTextLayer=o.renderTextLayer,t.AnnotationLayer=s.AnnotationLayer,t.CustomStyle=c.CustomStyle,t.createPromiseCapability=n.createPromiseCapability,t.PasswordResponses=n.PasswordResponses,t.InvalidPDFException=n.InvalidPDFException,t.MissingPDFException=n.MissingPDFException,t.SVGGraphics=l.SVGGraphics,t.NativeImageDecoding=n.NativeImageDecoding,t.UnexpectedResponseException=n.UnexpectedResponseException,t.OPS=n.OPS,t.UNSUPPORTED_FEATURES=n.UNSUPPORTED_FEATURES,t.isValidUrl=c.isValidUrl,t.createValidAbsoluteUrl=n.createValidAbsoluteUrl,t.createObjectURL=n.createObjectURL,t.removeNullCharacters=n.removeNullCharacters,t.shadow=n.shadow,t.createBlob=n.createBlob,t.RenderingCancelledException=c.RenderingCancelledException,t.getFilenameFromUrl=c.getFilenameFromUrl,t.addLinkAttributes=c.addLinkAttributes,t.StatTimer=n.StatTimer},function(e,t,r){"use strict";var n="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};if("undefined"==typeof PDFJS||!PDFJS.compatibilityChecked){var i="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:{},a="undefined"!=typeof navigator&&navigator.userAgent||"",o=/Android/.test(a),s=/Android\s[0-2][^\d]/.test(a),c=/Android\s[0-4][^\d]/.test(a),l=a.indexOf("Chrom")>=0,u=/Chrome\/(39|40)\./.test(a),d=a.indexOf("CriOS")>=0,h=a.indexOf("Trident")>=0,f=/\b(iPad|iPhone|iPod)(?=;)/.test(a),p=a.indexOf("Opera")>=0,g=/Safari\//.test(a)&&!/(Chrome\/|Android\s)/.test(a),m=("undefined"==typeof window?"undefined":n(window))==="object"&&("undefined"==typeof document?"undefined":n(document))==="object";"undefined"==typeof PDFJS&&(i.PDFJS={}),PDFJS.compatibilityChecked=!0,function(){if("undefined"!=typeof Uint8Array){void 0===Uint8Array.prototype.subarray&&(Uint8Array.prototype.subarray=function(e,t){return new Uint8Array(this.slice(e,t))},Float32Array.prototype.subarray=function(e,t){return new Float32Array(this.slice(e,t))}),"undefined"==typeof Float64Array&&(i.Float64Array=Float32Array);return}function e(e,t){return new o(this.slice(e,t))}function t(e,t){arguments.length<2&&(t=0);for(var r=0,n=e.length;r<n;++r,++t)this[t]=255&e[r]}function r(e,t){this.buffer=e,this.byteLength=e.length,this.length=t,function(e){for(;a<e;)Object.defineProperty(r.prototype,a,function(e){return{get:function(){var t=this.buffer,r=e<<2;return(t[r]|t[r+1]<<8|t[r+2]<<16|t[r+3]<<24)>>>0},set:function(t){var r=this.buffer,n=e<<2;r[n]=255&t,r[n+1]=t>>8&255,r[n+2]=t>>16&255,r[n+3]=t>>>24&255}}}(a)),a++}(this.length)}r.prototype=Object.create(null);var a=0;function o(r){var i,a,o;if("number"==typeof r)for(a=0,i=[];a<r;++a)i[a]=0;else if("slice"in r)i=r.slice(0);else for(a=0,i=[],o=r.length;a<o;++a)i[a]=r[a];return i.subarray=e,i.buffer=i,i.byteLength=i.length,i.set=t,(void 0===r?"undefined":n(r))==="object"&&r.buffer&&(i.buffer=r.buffer),i}i.Uint8Array=o,i.Int8Array=o,i.Int32Array=o,i.Uint16Array=o,i.Float32Array=o,i.Float64Array=o,i.Uint32Array=function(){if(3==arguments.length){if(0!==arguments[1])throw Error("offset !== 0 is not supported");return new r(arguments[0],arguments[2])}return o.apply(this,arguments)}}(),function(){if(m&&window.CanvasPixelArray){var e=window.CanvasPixelArray.prototype;"buffer"in e||(Object.defineProperty(e,"buffer",{get:function(){return this},enumerable:!1,configurable:!0}),Object.defineProperty(e,"byteLength",{get:function(){return this.length},enumerable:!1,configurable:!0}))}}(),i.URL||(i.URL=i.webkitURL),function(){if(void 0!==Object.defineProperty){var e=!0;try{m&&Object.defineProperty(new Image,"id",{value:"test"});var t=function(){};t.prototype={get id(){}},Object.defineProperty(new t,"id",{value:"",configurable:!0,enumerable:!0,writable:!1})}catch(t){e=!1}if(e)return}Object.defineProperty=function(e,t,r){delete e[t],"get"in r&&e.__defineGetter__(t,r.get),"set"in r&&e.__defineSetter__(t,r.set),"value"in r&&(e.__defineSetter__(t,function(e){return this.__defineGetter__(t,function(){return e}),e}),e[t]=r.value)}}(),function(){if("undefined"!=typeof XMLHttpRequest){var e=XMLHttpRequest.prototype,t=new XMLHttpRequest;if("overrideMimeType"in t||Object.defineProperty(e,"overrideMimeType",{value:function(e){}}),!("responseType"in t)){if(Object.defineProperty(e,"responseType",{get:function(){return this._responseType||"text"},set:function(e){("text"===e||"arraybuffer"===e)&&(this._responseType=e,"arraybuffer"===e&&"function"==typeof this.overrideMimeType&&this.overrideMimeType("text/plain; charset=x-user-defined"))}}),"undefined"!=typeof VBArray){Object.defineProperty(e,"response",{get:function(){return"arraybuffer"===this.responseType?new Uint8Array(new VBArray(this.responseBody).toArray()):this.responseText}});return}Object.defineProperty(e,"response",{get:function(){if("arraybuffer"!==this.responseType)return this.responseText;var e,t=this.responseText,r=t.length,n=new Uint8Array(r);for(e=0;e<r;++e)n[e]=255&t.charCodeAt(e);return n.buffer}})}}}(),function(){if(!("btoa"in i)){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.btoa=function(t){var r,n,i="";for(r=0,n=t.length;r<n;r+=3){var a=255&t.charCodeAt(r),o=255&t.charCodeAt(r+1),s=255&t.charCodeAt(r+2),c=a>>2,l=(3&a)<<4|o>>4,u=r+1<n?(15&o)<<2|s>>6:64,d=r+2<n?63&s:64;i+=e.charAt(c)+e.charAt(l)+e.charAt(u)+e.charAt(d)}return i}}}(),"atob"in i||(i.atob=function(e){if((e=e.replace(/=+$/,"")).length%4==1)throw Error("bad atob input");for(var t,r,n=0,i=0,a="";r=e.charAt(i++);~r&&(t=n%4?64*t+r:r,n++%4)&&(a+=String.fromCharCode(255&t>>(-2*n&6))))r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return a}),void 0===Function.prototype.bind&&(Function.prototype.bind=function(e){var t=this,r=Array.prototype.slice.call(arguments,1);return function(){var n=r.concat(Array.prototype.slice.call(arguments));return t.apply(e,n)}}),!m||"dataset"in document.createElement("div")||Object.defineProperty(HTMLElement.prototype,"dataset",{get:function(){if(this._dataset)return this._dataset;for(var e={},t=0,r=this.attributes.length;t<r;t++){var n=this.attributes[t];"data-"===n.name.substring(0,5)&&(e[n.name.substring(5).replace(/\-([a-z])/g,function(e,t){return t.toUpperCase()})]=n.value)}return Object.defineProperty(this,"_dataset",{value:e,writable:!1,enumerable:!1}),e},enumerable:!0}),function(){function e(e,t,r,n){var i=(e.className||"").split(/\s+/g);""===i[0]&&i.shift();var a=i.indexOf(t);return a<0&&r&&i.push(t),a>=0&&n&&i.splice(a,1),e.className=i.join(" "),a>=0}if(!(!m||"classList"in document.createElement("div"))){var t={add:function(t){e(this.element,t,!0,!1)},contains:function(t){return e(this.element,t,!1,!1)},remove:function(t){e(this.element,t,!1,!0)},toggle:function(t){e(this.element,t,!0,!0)}};Object.defineProperty(HTMLElement.prototype,"classList",{get:function(){if(this._classList)return this._classList;var e=Object.create(t,{element:{value:this,writable:!1,enumerable:!0}});return Object.defineProperty(this,"_classList",{value:e,writable:!1,enumerable:!1}),e},enumerable:!0})}}(),function(){if("undefined"!=typeof importScripts&&!("console"in i)){var e={};i.console={log:function(){var e=Array.prototype.slice.call(arguments);i.postMessage({targetName:"main",action:"console_log",data:e})},error:function(){var e=Array.prototype.slice.call(arguments);i.postMessage({targetName:"main",action:"console_error",data:e})},time:function(t){e[t]=Date.now()},timeEnd:function(t){var r=e[t];if(!r)throw Error("Unknown timer name "+t);this.log("Timer:",t,Date.now()-r)}}}}(),function(){if(m){if(!("console"in window)){window.console={log:function(){},error:function(){},warn:function(){}};return}if(!("bind"in console.log)){var e,t,r;console.log=(e=console.log,function(t){return e(t)}),console.error=(t=console.error,function(e){return t(e)}),console.warn=(r=console.warn,function(e){return r(e)})}}}(),p&&document.addEventListener("click",function(e){(function e(t){return t.disabled||t.parentNode&&e(t.parentNode)})(e.target)&&e.stopPropagation()},!0),(h||d)&&(PDFJS.disableCreateObjectURL=!0),"undefined"==typeof navigator||"language"in navigator||(PDFJS.locale=navigator.userLanguage||"en-US"),(g||s||u||f)&&(PDFJS.disableRange=!0,PDFJS.disableStream=!0),m&&(!history.pushState||s)&&(PDFJS.disableHistory=!0),function(){if(m){if(window.CanvasPixelArray)"function"!=typeof window.CanvasPixelArray.prototype.set&&(window.CanvasPixelArray.prototype.set=function(e){for(var t=0,r=this.length;t<r;t++)this[t]=e[t]});else{var e,t=!1;if(l?t=(e=a.match(/Chrom(e|ium)\/([0-9]+)\./))&&21>parseInt(e[2]):o?t=c:g&&(t=(e=a.match(/Version\/([0-9]+)\.([0-9]+)\.([0-9]+) Safari\//))&&6>parseInt(e[1])),t){var r=window.CanvasRenderingContext2D.prototype,n=r.createImageData;r.createImageData=function(e,t){var r=n.call(this,e,t);return r.data.set=function(e){for(var t=0,r=this.length;t<r;t++)this[t]=e[t]},r},r=null}}}}(),function(){function e(){window.requestAnimationFrame=function(e){return window.setTimeout(e,20)},window.cancelAnimationFrame=function(e){window.clearTimeout(e)}}if(m){if(f){e();return}!("requestAnimationFrame"in window)&&(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame,window.requestAnimationFrame||e())}}(),(f||o)&&(PDFJS.maxCanvasPixels=5242880),m&&h&&window.parent!==window&&(PDFJS.disableFullscreen=!0),!m||"currentScript"in document||Object.defineProperty(document,"currentScript",{get:function(){var e=document.getElementsByTagName("script");return e[e.length-1]},enumerable:!0,configurable:!0}),function(){if(m){var e=document.createElement("input");try{e.type="number"}catch(n){var t=e.constructor.prototype,r=Object.getOwnPropertyDescriptor(t,"type");Object.defineProperty(t,"type",{get:function(){return r.get.call(this)},set:function(e){r.set.call(this,"number"===e?"text":e)},enumerable:!0,configurable:!0})}}}(),function(){if(m&&document.attachEvent){var e=document.constructor.prototype,t=Object.getOwnPropertyDescriptor(e,"readyState");Object.defineProperty(e,"readyState",{get:function(){var e=t.get.call(this);return"interactive"===e?"loading":e},set:function(e){t.set.call(this,e)},enumerable:!0,configurable:!0})}}(),m&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),Number.isNaN||(Number.isNaN=function(e){return"number"==typeof e&&isNaN(e)}),Number.isInteger||(Number.isInteger=function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}),function(){if(i.Promise){"function"!=typeof i.Promise.all&&(i.Promise.all=function(e){var t,r,n=0,a=[],o=new i.Promise(function(e,n){t=e,r=n});return e.forEach(function(e,i){n++,e.then(function(e){a[i]=e,0==--n&&t(a)},r)}),0===n&&t(a),o}),"function"!=typeof i.Promise.resolve&&(i.Promise.resolve=function(e){return new i.Promise(function(t){t(e)})}),"function"!=typeof i.Promise.reject&&(i.Promise.reject=function(e){return new i.Promise(function(t,r){r(e)})}),"function"!=typeof i.Promise.prototype.catch&&(i.Promise.prototype.catch=function(e){return i.Promise.prototype.then(void 0,e)});return}var e={handlers:[],running:!1,unhandledRejections:[],pendingRejectionCheck:!1,scheduleHandlers:function(e){0!==e._status&&(this.handlers=this.handlers.concat(e._handlers),e._handlers=[],this.running||(this.running=!0,setTimeout(this.runHandlers.bind(this),0)))},runHandlers:function(){for(var e=Date.now()+1;this.handlers.length>0;){var t=this.handlers.shift(),r=t.thisPromise._status,n=t.thisPromise._value;try{1===r?"function"==typeof t.onResolve&&(n=t.onResolve(n)):"function"==typeof t.onReject&&(n=t.onReject(n),r=1,t.thisPromise._unhandledRejection&&this.removeUnhandeledRejection(t.thisPromise))}catch(e){r=2,n=e}if(t.nextPromise._updateStatus(r,n),Date.now()>=e)break}if(this.handlers.length>0){setTimeout(this.runHandlers.bind(this),0);return}this.running=!1},addUnhandledRejection:function(e){this.unhandledRejections.push({promise:e,time:Date.now()}),this.scheduleRejectionCheck()},removeUnhandeledRejection:function(e){e._unhandledRejection=!1;for(var t=0;t<this.unhandledRejections.length;t++)this.unhandledRejections[t].promise===e&&(this.unhandledRejections.splice(t),t--)},scheduleRejectionCheck:function(){var e=this;this.pendingRejectionCheck||(this.pendingRejectionCheck=!0,setTimeout(function(){e.pendingRejectionCheck=!1;for(var t=Date.now(),r=0;r<e.unhandledRejections.length;r++)if(t-e.unhandledRejections[r].time>500){var n=e.unhandledRejections[r].promise._value,i="Unhandled rejection: "+n;n.stack&&(i+="\n"+n.stack);try{throw Error(i)}catch(e){console.warn(i)}e.unhandledRejections.splice(r),r--}e.unhandledRejections.length&&e.scheduleRejectionCheck()},500))}},t=function(e){this._status=0,this._handlers=[];try{e.call(this,this._resolve.bind(this),this._reject.bind(this))}catch(e){this._reject(e)}};t.all=function(e){var r,n,i=new t(function(e,t){r=e,n=t}),a=e.length,o=[];if(0===a)return r(o),i;function s(e){2!==i._status&&(o=[],n(e))}for(var c=0,l=e.length;c<l;++c){var u=e[c],d=function(e){return function(t){2!==i._status&&(o[e]=t,0==--a&&r(o))}}(c);t.isPromise(u)?u.then(d,s):d(u)}return i},t.isPromise=function(e){return e&&"function"==typeof e.then},t.resolve=function(e){return new t(function(t){t(e)})},t.reject=function(e){return new t(function(t,r){r(e)})},t.prototype={_status:null,_value:null,_handlers:null,_unhandledRejection:null,_updateStatus:function(r,n){if(1!==this._status&&2!==this._status){if(1===r&&t.isPromise(n)){n.then(this._updateStatus.bind(this,1),this._updateStatus.bind(this,2));return}this._status=r,this._value=n,2===r&&0===this._handlers.length&&(this._unhandledRejection=!0,e.addUnhandledRejection(this)),e.scheduleHandlers(this)}},_resolve:function(e){this._updateStatus(1,e)},_reject:function(e){this._updateStatus(2,e)},then:function(r,n){var i=new t(function(e,t){this.resolve=e,this.reject=t});return this._handlers.push({thisPromise:this,onResolve:r,onReject:n,nextPromise:i}),e.scheduleHandlers(this),i},catch:function(e){return this.then(void 0,e)}},i.Promise=t}(),function(){if(!i.WeakMap){var e=0;t.prototype={has:function(e){return((void 0===e?"undefined":n(e))==="object"||"function"==typeof e)&&null!==e&&!!Object.getOwnPropertyDescriptor(e,this.id)},get:function(e){return this.has(e)?e[this.id]:void 0},set:function(e,t){Object.defineProperty(e,this.id,{value:t,enumerable:!1,configurable:!0})},delete:function(e){delete e[this.id]}},i.WeakMap=t}function t(){this.id="$weakmap"+e++}}(),function(){var e=!1;try{if("function"==typeof URL&&"object"===n(URL.prototype)&&"origin"in URL.prototype){var t=new URL("b","http://a");t.pathname="c%20d",e="http://a/c%20d"===t.href}}catch(e){}if(!e){var r=Object.create(null);r.ftp=21,r.file=0,r.gopher=70,r.http=80,r.https=443,r.ws=80,r.wss=443;var a=Object.create(null);a["%2e"]=".",a[".%2e"]="..",a["%2e."]="..",a["%2e%2e"]="..";var o,s=/[a-zA-Z]/,c=/[a-zA-Z0-9\+\-\.]/;v.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var l="";return(""!==this._username||null!==this._password)&&(l=this._username+(null!==this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+l+this.host:"")+this.pathname+this._query+this._fragment},set href(value){b.call(this),m.call(this,value)},get protocol(){return this._scheme+":"},set protocol(value){if(this._isInvalid)return;m.call(this,value+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"host")},get hostname(){return this._host},set hostname(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"hostname")},get port(){return this._port},set port(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(value){if(this._isInvalid||!this._isRelative)return;this._path=[],m.call(this,value,"relative path start")},get search(){return this._isInvalid||!this._query||"?"===this._query?"":this._query},set search(value){if(this._isInvalid||!this._isRelative)return;this._query="?","?"===value[0]&&(value=value.slice(1)),m.call(this,value,"query")},get hash(){return this._isInvalid||!this._fragment||"#"===this._fragment?"":this._fragment},set hash(value){if(this._isInvalid)return;this._fragment="#","#"===value[0]&&(value=value.slice(1)),m.call(this,value,"fragment")},get origin(){var u;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null";case"blob":try{return new v(this._schemeData).origin||"null"}catch(e){}return"null"}if(!(u=this.host))return"";return this._scheme+"://"+u}};var d=i.URL;d&&(v.createObjectURL=function(e){return d.createObjectURL.apply(d,arguments)},v.revokeObjectURL=function(e){d.revokeObjectURL(e)}),i.URL=v}function h(e){return void 0!==r[e]}function f(){b.call(this),this._isInvalid=!0}function p(e){return""===e&&f.call(this),e.toLowerCase()}function g(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function m(e,t,n){function i(e){v.push(e)}var l=t||"scheme start",u=0,d="",m=!1,b=!1,v=[];i:for(;(e[u-1]!==o||0===u)&&!this._isInvalid;){var y,_=e[u];switch(l){case"scheme start":if(_&&s.test(_))d+=_.toLowerCase(),l="scheme";else if(t){i("Invalid scheme.");break i}else{d="",l="no scheme";continue}break;case"scheme":if(_&&c.test(_))d+=_.toLowerCase();else if(":"===_){if(this._scheme=d,d="",t)break i;h(this._scheme)&&(this._isRelative=!0),l="file"===this._scheme?"relative":this._isRelative&&n&&n._scheme===this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}else if(t){if(_===o)break i;i("Code point not allowed in scheme: "+_);break i}else{d="",u=0,l="no scheme";continue}break;case"scheme data":"?"===_?(this._query="?",l="query"):"#"===_?(this._fragment="#",l="fragment"):_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._schemeData+=g(_));break;case"no scheme":if(n&&h(n._scheme)){l="relative";continue}i("Missing scheme."),f.call(this);break;case"relative or authority":if("/"===_&&"/"===e[u+1])l="authority ignore slashes";else{i("Expected /, got: "+_),l="relative";continue}break;case"relative":if(this._isRelative=!0,"file"!==this._scheme&&(this._scheme=n._scheme),_===o){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break i}if("/"===_||"\\"===_)"\\"===_&&i("\\ is an invalid code point."),l="relative slash";else if("?"===_)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,l="query";else if("#"===_)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,l="fragment";else{var A=e[u+1],x=e[u+2];"file"===this._scheme&&s.test(_)&&(":"===A||"|"===A)&&(x===o||"/"===x||"\\"===x||"?"===x||"#"===x)||(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),l="relative path";continue}break;case"relative slash":if("/"===_||"\\"===_)"\\"===_&&i("\\ is an invalid code point."),l="file"===this._scheme?"file host":"authority ignore slashes";else{"file"!==this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),l="relative path";continue}break;case"authority first slash":if("/"===_)l="authority second slash";else{i("Expected '/', got: "+_),l="authority ignore slashes";continue}break;case"authority second slash":if(l="authority ignore slashes","/"!==_){i("Expected '/', got: "+_);continue}break;case"authority ignore slashes":if("/"!==_&&"\\"!==_){l="authority";continue}i("Expected authority, got: "+_);break;case"authority":if("@"===_){m&&(i("@ already seen."),d+="%40"),m=!0;for(var S=0;S<d.length;S++){var w=d[S];if(" "===w||"\n"===w||"\r"===w){i("Invalid whitespace in authority.");continue}if(":"===w&&null===this._password){this._password="";continue}var T=g(w);null!==this._password?this._password+=T:this._username+=T}d=""}else if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){u-=d.length,d="",l="host";continue}else d+=_;break;case"file host":if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){2===d.length&&s.test(d[0])&&(":"===d[1]||"|"===d[1])?l="relative path":(0===d.length||(this._host=p.call(this,d),d=""),l="relative path start");continue}" "===_||"\n"===_||"\r"===_?i("Invalid whitespace in file host."):d+=_;break;case"host":case"hostname":if(":"!==_||b){if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){if(this._host=p.call(this,d),d="",l="relative path start",t)break i;continue}" "!==_&&"\n"!==_&&"\r"!==_?("["===_?b=!0:"]"===_&&(b=!1),d+=_):i("Invalid code point in host/hostname: "+_)}else if(this._host=p.call(this,d),d="",l="port","hostname"===t)break i;break;case"port":if(/[0-9]/.test(_))d+=_;else if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_||t){if(""!==d){var D=parseInt(d,10);D!==r[this._scheme]&&(this._port=D+""),d=""}if(t)break i;l="relative path start";continue}else" "===_||"\n"===_||"\r"===_?i("Invalid code point in port: "+_):f.call(this);break;case"relative path start":if("\\"===_&&i("'\\' not allowed in path."),l="relative path","/"!==_&&"\\"!==_)continue;break;case"relative path":_!==o&&"/"!==_&&"\\"!==_&&(t||"?"!==_&&"#"!==_)?" "!==_&&"\n"!==_&&"\r"!==_&&(d+=g(_)):("\\"===_&&i("\\ not allowed in relative path."),(y=a[d.toLowerCase()])&&(d=y),".."===d?(this._path.pop(),"/"!==_&&"\\"!==_&&this._path.push("")):"."===d&&"/"!==_&&"\\"!==_?this._path.push(""):"."!==d&&("file"===this._scheme&&0===this._path.length&&2===d.length&&s.test(d[0])&&"|"===d[1]&&(d=d[0]+":"),this._path.push(d)),d="","?"===_?(this._query="?",l="query"):"#"===_&&(this._fragment="#",l="fragment"));break;case"query":t||"#"!==_?_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._query+=function(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}(_)):(this._fragment="#",l="fragment");break;case"fragment":_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._fragment+=_)}u++}}function b(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function v(e,t){void 0===t||t instanceof v||(t=new v(String(t))),this._url=e,b.call(this);var r=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");m.call(this,r,null,t)}}()}},function(e,t,r){"use strict";var n=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),n=!0}catch(e){}n?t.ReadableStream=ReadableStream:t.ReadableStream=r(10).ReadableStream}])},e.exports=n()},69455:function(e,t,r){var n;n=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,(function(t){return e[t]}).bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";var n=r(1),i=r(114),a=r(126),o=r(127),s=r(115),c=r(128),l=r(120),u=r(117);if(r(4)()){var d=r(129).PDFNodeStream;i.setPDFNetworkStreamFactory(function(e){return new d(e)})}else if("undefined"!=typeof Response&&"body"in Response.prototype&&"undefined"!=typeof ReadableStream){var h=r(132).PDFFetchStream;i.setPDFNetworkStreamFactory(function(e){return new h(e)})}else{var f=r(133).PDFNetworkStream;i.setPDFNetworkStreamFactory(function(e){return new f(e)})}t.build=i.build,t.version=i.version,t.getDocument=i.getDocument,t.LoopbackPort=i.LoopbackPort,t.PDFDataRangeTransport=i.PDFDataRangeTransport,t.PDFWorker=i.PDFWorker,t.renderTextLayer=a.renderTextLayer,t.AnnotationLayer=o.AnnotationLayer,t.createPromiseCapability=n.createPromiseCapability,t.PasswordResponses=n.PasswordResponses,t.InvalidPDFException=n.InvalidPDFException,t.MissingPDFException=n.MissingPDFException,t.SVGGraphics=c.SVGGraphics,t.NativeImageDecoding=n.NativeImageDecoding,t.UnexpectedResponseException=n.UnexpectedResponseException,t.OPS=n.OPS,t.VerbosityLevel=n.VerbosityLevel,t.UNSUPPORTED_FEATURES=n.UNSUPPORTED_FEATURES,t.createValidAbsoluteUrl=n.createValidAbsoluteUrl,t.createObjectURL=n.createObjectURL,t.removeNullCharacters=n.removeNullCharacters,t.shadow=n.shadow,t.createBlob=n.createBlob,t.Util=n.Util,t.RenderingCancelledException=s.RenderingCancelledException,t.getFilenameFromUrl=s.getFilenameFromUrl,t.LinkTarget=s.LinkTarget,t.addLinkAttributes=s.addLinkAttributes,t.GlobalWorkerOptions=l.GlobalWorkerOptions,t.apiCompatibilityParams=u.apiCompatibilityParams},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unreachable=t.warn=t.utf8StringToString=t.stringToUTF8String=t.stringToPDFString=t.stringToBytes=t.string32=t.shadow=t.setVerbosityLevel=t.ReadableStream=t.removeNullCharacters=t.readUint32=t.readUint16=t.readInt8=t.log2=t.isEvalSupported=t.isLittleEndian=t.createValidAbsoluteUrl=t.isSameOrigin=t.isSpace=t.isString=t.isNum=t.isEmptyObj=t.isBool=t.isArrayBuffer=t.info=t.getVerbosityLevel=t.getLookupTableFactory=t.getInheritableProperty=t.deprecated=t.createObjectURL=t.createPromiseCapability=t.createBlob=t.bytesToString=t.assert=t.arraysToBytes=t.arrayByteLength=t.FormatError=t.XRefParseException=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PasswordResponses=t.PasswordException=t.NotImplementedException=t.NativeImageDecoding=t.MissingPDFException=t.MissingDataException=t.InvalidPDFException=t.AbortException=t.CMapCompressionType=t.ImageKind=t.FontType=t.AnnotationType=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.UNSUPPORTED_FEATURES=t.VerbosityLevel=t.OPS=t.IDENTITY_MATRIX=t.FONT_IDENTITY_MATRIX=void 0;var n,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};r(2);var a=r(112),o={ERRORS:0,WARNINGS:1,INFOS:5},s=o.WARNINGS;function c(e){s>=o.WARNINGS&&console.log("Warning: "+e)}function l(e){throw Error(e)}function u(e,t){e||l(t)}var d=function(){function e(e,t){this.name="PasswordException",this.message=e,this.code=t}return e.prototype=Error(),e.constructor=e,e}(),h=function(){function e(e,t){this.name="UnknownErrorException",this.message=e,this.details=t}return e.prototype=Error(),e.constructor=e,e}(),f=function(){function e(e){this.name="InvalidPDFException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),p=function(){function e(e){this.name="MissingPDFException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),g=function(){function e(e,t){this.name="UnexpectedResponseException",this.message=e,this.status=t}return e.prototype=Error(),e.constructor=e,e}(),m=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="NotImplementedException",e.constructor=e,e}(),b=function(){function e(e,t){this.begin=e,this.end=t,this.message="Missing data ["+e+", "+t+")"}return e.prototype=Error(),e.prototype.name="MissingDataException",e.constructor=e,e}(),v=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="XRefParseException",e.constructor=e,e}(),y=function(){function e(e){this.message=e}return e.prototype=Error(),e.prototype.name="FormatError",e.constructor=e,e}(),_=function(){function e(e){this.name="AbortException",this.message=e}return e.prototype=Error(),e.constructor=e,e}(),A=/\x00/g;function x(e){u("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),n=0;n<t;++n)r[n]=255&e.charCodeAt(n);return r}function S(e){return void 0!==e.length?e.length:(u(void 0!==e.byteLength),e.byteLength)}var w=function(){function e(){}var t=["rgb(",0,",",0,",",0,")"];e.makeCssRgb=function(e,r,n){return t[1]=e,t[3]=r,t[5]=n,t.join("")},e.transform=function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]},e.applyTransform=function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]},e.applyInverseTransform=function(e,t){var r=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]},e.getAxialAlignedBoundingBox=function(t,r){var n=e.applyTransform(t,r),i=e.applyTransform(t.slice(2,4),r),a=e.applyTransform([t[0],t[3]],r),o=e.applyTransform([t[2],t[1]],r);return[Math.min(n[0],i[0],a[0],o[0]),Math.min(n[1],i[1],a[1],o[1]),Math.max(n[0],i[0],a[0],o[0]),Math.max(n[1],i[1],a[1],o[1])]},e.inverseTransform=function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]},e.apply3dTransform=function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]},e.singularValueDecompose2dScale=function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],n=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],a=e[2]*t[1]+e[3]*t[3],o=(r+a)/2,s=Math.sqrt((r+a)*(r+a)-4*(r*a-i*n))/2;return[Math.sqrt(o+s||1),Math.sqrt(o-s||1)]},e.normalizeRect=function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t},e.intersect=function(t,r){function n(e,t){return e-t}var i=[t[0],t[2],r[0],r[2]].sort(n),a=[t[1],t[3],r[1],r[3]].sort(n),o=[];return t=e.normalizeRect(t),r=e.normalizeRect(r),(i[0]===t[0]&&i[1]===r[0]||i[0]===r[0]&&i[1]===t[0])&&(o[0]=i[1],o[2]=i[2],(a[0]===t[1]&&a[1]===r[1]||a[0]===r[1]&&a[1]===t[1])&&(o[1]=a[1],o[3]=a[2],o))};var r=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];return e.toRoman=function(e,t){u(Number.isInteger(e)&&e>0,"The number should be a positive integer.");for(var n,i=[];e>=1e3;)e-=1e3,i.push("M");n=e/100|0,e%=100,i.push(r[n]),n=e/10|0,e%=10,i.push(r[10+n]),i.push(r[20+e]);var a=i.join("");return t?a.toLowerCase():a},e.appendToArray=function(e,t){Array.prototype.push.apply(e,t)},e.prependToArray=function(e,t){Array.prototype.unshift.apply(e,t)},e.extendObj=function(e,t){for(var r in t)e[r]=t[r]},e.inherit=function(e,t,r){for(var n in e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r)e.prototype[n]=r[n]},e.loadScript=function(e,t){var r=document.createElement("script"),n=!1;r.setAttribute("src",e),t&&(r.onload=function(){n||t(),n=!0}),document.getElementsByTagName("head")[0].appendChild(r)},e}(),T=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364],D=function(e,t){if("undefined"!=typeof Blob)return new Blob([e],{type:t});throw Error('The "Blob" constructor is not supported.')},C=(n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!r&&URL.createObjectURL){var i=D(e,t);return URL.createObjectURL(i)}for(var a="data:"+t+";base64,",o=0,s=e.length;o<s;o+=3){var c=255&e[o],l=255&e[o+1],u=255&e[o+2],d=c>>2,h=(3&c)<<4|l>>4,f=o+1<s?(15&l)<<2|u>>6:64,p=o+2<s?63&u:64;a+=n[d]+n[h]+n[f]+n[p]}return a});t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.VerbosityLevel=o,t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:0x1000000,RICHTEXT:0x2000000,RADIOSINUNISON:0x2000000,COMMITONSELCHANGE:0x4000000},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.FontType={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.AbortException=_,t.InvalidPDFException=f,t.MissingDataException=b,t.MissingPDFException=p,t.NativeImageDecoding={NONE:"none",DECODE:"decode",DISPLAY:"display"},t.NotImplementedException=m,t.PasswordException=d,t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},t.StreamType={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.UnexpectedResponseException=g,t.UnknownErrorException=h,t.Util=w,t.XRefParseException=v,t.FormatError=y,t.arrayByteLength=S,t.arraysToBytes=function(e){if(1===e.length&&e[0]instanceof Uint8Array)return e[0];var t,r,n,i=0,a=e.length;for(n=0;n<a;n++)i+=r=S(t=e[n]);var o=0,s=new Uint8Array(i);for(n=0;n<a;n++)(t=e[n])instanceof Uint8Array||(t="string"==typeof t?x(t):new Uint8Array(t)),r=t.byteLength,s.set(t,o),o+=r;return s},t.assert=u,t.bytesToString=function(e){u(null!==e&&(void 0===e?"undefined":i(e))==="object"&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length;if(t<8192)return String.fromCharCode.apply(null,e);for(var r=[],n=0;n<t;n+=8192){var a=Math.min(n+8192,t),o=e.subarray(n,a);r.push(String.fromCharCode.apply(null,o))}return r.join("")},t.createBlob=D,t.createPromiseCapability=function(){var e={};return e.promise=new Promise(function(t,r){e.resolve=t,e.reject=r}),e},t.createObjectURL=C,t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.getInheritableProperty=function(e){for(var t=e.dict,r=e.key,n=e.getArray,i=void 0!==n&&n,a=e.stopWhenFound,o=void 0===a||a,s=0,l=void 0;t;){var u=i?t.getArray(r):t.get(r);if(void 0!==u){if(o)return u;l||(l=[]),l.push(u)}if(++s>100){c('getInheritableProperty: maximum loop count exceeded for "'+r+'"');break}t=t.get("Parent")}return l},t.getLookupTableFactory=function(e){var t;return function(){return e&&(t=Object.create(null),e(t),e=null),t}},t.getVerbosityLevel=function(){return s},t.info=function(e){s>=o.INFOS&&console.log("Info: "+e)},t.isArrayBuffer=function(e){return(void 0===e?"undefined":i(e))==="object"&&null!==e&&void 0!==e.byteLength},t.isBool=function(e){return"boolean"==typeof e},t.isEmptyObj=function(e){for(var t in e)return!1;return!0},t.isNum=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSpace=function(e){return 32===e||9===e||13===e||10===e},t.isSameOrigin=function(e,t){try{var r=new URL(e);if(!r.origin||"null"===r.origin)return!1}catch(e){return!1}var n=new URL(t,r);return r.origin===n.origin},t.createValidAbsoluteUrl=function(e,t){if(!e)return null;try{var r=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(r))return r}catch(e){}return null},t.isLittleEndian=function(){var e=new Uint8Array(4);return e[0]=1,1===new Uint32Array(e.buffer,0,1)[0]},t.isEvalSupported=function(){try{return Function(""),!0}catch(e){return!1}},t.log2=function(e){return e<=0?0:Math.ceil(Math.log2(e))},t.readInt8=function(e,t){return e[t]<<24>>24},t.readUint16=function(e,t){return e[t]<<8|e[t+1]},t.readUint32=function(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0},t.removeNullCharacters=function(e){return"string"!=typeof e?(c("The argument for removeNullCharacters must be a string."),e):e.replace(A,"")},t.ReadableStream=a.ReadableStream,t.setVerbosityLevel=function(e){Number.isInteger(e)&&(s=e)},t.shadow=function(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r},t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=x,t.stringToPDFString=function(e){var t,r=e.length,n=[];if("\xfe"===e[0]&&"\xff"===e[1])for(t=2;t<r;t+=2)n.push(String.fromCharCode(e.charCodeAt(t)<<8|e.charCodeAt(t+1)));else for(t=0;t<r;++t){var i=T[e.charCodeAt(t)];n.push(i?String.fromCharCode(i):e.charAt(t))}return n.join("")},t.stringToUTF8String=function(e){return decodeURIComponent(escape(e))},t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=c,t.unreachable=l},function(e,t,r){"use strict";var n="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},i=r(3);if(!i._pdfjsCompatibilityChecked){i._pdfjsCompatibilityChecked=!0;var a=r(4),o=("undefined"==typeof window?"undefined":n(window))==="object"&&("undefined"==typeof document?"undefined":n(document))==="object";i.btoa||!a()||(i.btoa=function(e){return Buffer.from(e,"binary").toString("base64")}),i.atob||!a()||(i.atob=function(e){return Buffer.from(e,"base64").toString("binary")}),!o||"currentScript"in document||Object.defineProperty(document,"currentScript",{get:function(){var e=document.getElementsByTagName("script");return e[e.length-1]},enumerable:!0,configurable:!0}),o&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),String.prototype.includes||r(5),Array.prototype.includes||r(33),Math.log2||(Math.log2=r(42)),Number.isNaN||(Number.isNaN=r(44)),Number.isInteger||(Number.isInteger=r(46)),i.Promise||(i.Promise=r(49)),i.WeakMap||(i.WeakMap=r(89)),function(){var e=!1;try{if("function"==typeof URL&&"object"===n(URL.prototype)&&"origin"in URL.prototype){var t=new URL("b","http://a");t.pathname="c%20d",e="http://a/c%20d"===t.href}}catch(e){}if(!e){var r=Object.create(null);r.ftp=21,r.file=0,r.gopher=70,r.http=80,r.https=443,r.ws=80,r.wss=443;var a=Object.create(null);a["%2e"]=".",a[".%2e"]="..",a["%2e."]="..",a["%2e%2e"]="..";var o,s=/[a-zA-Z]/,c=/[a-zA-Z0-9\+\-\.]/;v.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var l="";return(""!==this._username||null!==this._password)&&(l=this._username+(null!==this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+l+this.host:"")+this.pathname+this._query+this._fragment},set href(value){b.call(this),m.call(this,value)},get protocol(){return this._scheme+":"},set protocol(value){if(this._isInvalid)return;m.call(this,value+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"host")},get hostname(){return this._host},set hostname(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"hostname")},get port(){return this._port},set port(value){if(this._isInvalid||!this._isRelative)return;m.call(this,value,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(value){if(this._isInvalid||!this._isRelative)return;this._path=[],m.call(this,value,"relative path start")},get search(){return this._isInvalid||!this._query||"?"===this._query?"":this._query},set search(value){if(this._isInvalid||!this._isRelative)return;this._query="?","?"===value[0]&&(value=value.slice(1)),m.call(this,value,"query")},get hash(){return this._isInvalid||!this._fragment||"#"===this._fragment?"":this._fragment},set hash(value){if(this._isInvalid)return;this._fragment="#","#"===value[0]&&(value=value.slice(1)),m.call(this,value,"fragment")},get origin(){var u;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null";case"blob":try{return new v(this._schemeData).origin||"null"}catch(e){}return"null"}if(!(u=this.host))return"";return this._scheme+"://"+u}};var d=i.URL;d&&(v.createObjectURL=function(e){return d.createObjectURL.apply(d,arguments)},v.revokeObjectURL=function(e){d.revokeObjectURL(e)}),i.URL=v}function h(e){return void 0!==r[e]}function f(){b.call(this),this._isInvalid=!0}function p(e){return""===e&&f.call(this),e.toLowerCase()}function g(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function m(e,t,n){function i(e){v.push(e)}var l=t||"scheme start",u=0,d="",m=!1,b=!1,v=[];i:for(;(e[u-1]!==o||0===u)&&!this._isInvalid;){var y,_=e[u];switch(l){case"scheme start":if(_&&s.test(_))d+=_.toLowerCase(),l="scheme";else if(t){i("Invalid scheme.");break i}else{d="",l="no scheme";continue}break;case"scheme":if(_&&c.test(_))d+=_.toLowerCase();else if(":"===_){if(this._scheme=d,d="",t)break i;h(this._scheme)&&(this._isRelative=!0),l="file"===this._scheme?"relative":this._isRelative&&n&&n._scheme===this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}else if(t){if(_===o)break i;i("Code point not allowed in scheme: "+_);break i}else{d="",u=0,l="no scheme";continue}break;case"scheme data":"?"===_?(this._query="?",l="query"):"#"===_?(this._fragment="#",l="fragment"):_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._schemeData+=g(_));break;case"no scheme":if(n&&h(n._scheme)){l="relative";continue}i("Missing scheme."),f.call(this);break;case"relative or authority":if("/"===_&&"/"===e[u+1])l="authority ignore slashes";else{i("Expected /, got: "+_),l="relative";continue}break;case"relative":if(this._isRelative=!0,"file"!==this._scheme&&(this._scheme=n._scheme),_===o){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break i}if("/"===_||"\\"===_)"\\"===_&&i("\\ is an invalid code point."),l="relative slash";else if("?"===_)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,l="query";else if("#"===_)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,l="fragment";else{var A=e[u+1],x=e[u+2];"file"===this._scheme&&s.test(_)&&(":"===A||"|"===A)&&(x===o||"/"===x||"\\"===x||"?"===x||"#"===x)||(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),l="relative path";continue}break;case"relative slash":if("/"===_||"\\"===_)"\\"===_&&i("\\ is an invalid code point."),l="file"===this._scheme?"file host":"authority ignore slashes";else{"file"!==this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),l="relative path";continue}break;case"authority first slash":if("/"===_)l="authority second slash";else{i("Expected '/', got: "+_),l="authority ignore slashes";continue}break;case"authority second slash":if(l="authority ignore slashes","/"!==_){i("Expected '/', got: "+_);continue}break;case"authority ignore slashes":if("/"!==_&&"\\"!==_){l="authority";continue}i("Expected authority, got: "+_);break;case"authority":if("@"===_){m&&(i("@ already seen."),d+="%40"),m=!0;for(var S=0;S<d.length;S++){var w=d[S];if(" "===w||"\n"===w||"\r"===w){i("Invalid whitespace in authority.");continue}if(":"===w&&null===this._password){this._password="";continue}var T=g(w);null!==this._password?this._password+=T:this._username+=T}d=""}else if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){u-=d.length,d="",l="host";continue}else d+=_;break;case"file host":if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){2===d.length&&s.test(d[0])&&(":"===d[1]||"|"===d[1])?l="relative path":(0===d.length||(this._host=p.call(this,d),d=""),l="relative path start");continue}" "===_||"\n"===_||"\r"===_?i("Invalid whitespace in file host."):d+=_;break;case"host":case"hostname":if(":"!==_||b){if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_){if(this._host=p.call(this,d),d="",l="relative path start",t)break i;continue}" "!==_&&"\n"!==_&&"\r"!==_?("["===_?b=!0:"]"===_&&(b=!1),d+=_):i("Invalid code point in host/hostname: "+_)}else if(this._host=p.call(this,d),d="",l="port","hostname"===t)break i;break;case"port":if(/[0-9]/.test(_))d+=_;else if(_===o||"/"===_||"\\"===_||"?"===_||"#"===_||t){if(""!==d){var D=parseInt(d,10);D!==r[this._scheme]&&(this._port=D+""),d=""}if(t)break i;l="relative path start";continue}else" "===_||"\n"===_||"\r"===_?i("Invalid code point in port: "+_):f.call(this);break;case"relative path start":if("\\"===_&&i("'\\' not allowed in path."),l="relative path","/"!==_&&"\\"!==_)continue;break;case"relative path":_!==o&&"/"!==_&&"\\"!==_&&(t||"?"!==_&&"#"!==_)?" "!==_&&"\n"!==_&&"\r"!==_&&(d+=g(_)):("\\"===_&&i("\\ not allowed in relative path."),(y=a[d.toLowerCase()])&&(d=y),".."===d?(this._path.pop(),"/"!==_&&"\\"!==_&&this._path.push("")):"."===d&&"/"!==_&&"\\"!==_?this._path.push(""):"."!==d&&("file"===this._scheme&&0===this._path.length&&2===d.length&&s.test(d[0])&&"|"===d[1]&&(d=d[0]+":"),this._path.push(d)),d="","?"===_?(this._query="?",l="query"):"#"===_&&(this._fragment="#",l="fragment"));break;case"query":t||"#"!==_?_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._query+=function(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}(_)):(this._fragment="#",l="fragment");break;case"fragment":_!==o&&" "!==_&&"\n"!==_&&"\r"!==_&&(this._fragment+=_)}u++}}function b(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function v(e,t){void 0===t||t instanceof v||(t=new v(String(t))),this._url=e,b.call(this);var r=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");m.call(this,r,null,t)}}(),Object.values||(Object.values=r(109))}},function(e,t,r){"use strict";e.exports="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:{}},function(e,t,r){"use strict";var n="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.exports=function(){return("undefined"==typeof process?"undefined":n(process))==="object"&&process+""=="[object process]"}},function(e,t,r){"use strict";r(6),e.exports=r(9).String.includes},function(e,t,r){"use strict";var n=r(7),i=r(25),a="includes";n(n.P+n.F*r(32)(a),"String",{includes:function(e){return!!~i(this,e,a).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){"use strict";var n=r(8),i=r(9),a=r(10),o=r(20),s=r(23),c="prototype",l=function e(t,r,l){var u,d,h,f,p=t&e.F,g=t&e.G,m=t&e.S,b=t&e.P,v=t&e.B,y=g?n:m?n[r]||(n[r]={}):(n[r]||{})[c],_=g?i:i[r]||(i[r]={}),A=_[c]||(_[c]={});for(u in g&&(l=r),l)h=((d=!p&&y&&void 0!==y[u])?y:l)[u],f=v&&d?s(h,n):b&&"function"==typeof h?s(Function.call,h):h,y&&o(y,u,h,t&e.U),_[u]!=h&&a(_,u,f),b&&A[u]!=h&&(A[u]=h)};n.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,r){"use strict";var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,r){"use strict";var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,r){"use strict";var n=r(11),i=r(19);e.exports=r(15)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){"use strict";var n=r(12),i=r(14),a=r(18),o=Object.defineProperty;t.f=r(15)?Object.defineProperty:function(e,t,r){if(n(e),t=a(t,!0),n(r),i)try{return o(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){"use strict";var n=r(13);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){"use strict";var n="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.exports=function(e){return(void 0===e?"undefined":n(e))==="object"?null!==e:"function"==typeof e}},function(e,t,r){"use strict";e.exports=!r(15)&&!r(16)(function(){return 7!=Object.defineProperty(r(17)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){"use strict";e.exports=!r(16)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,r){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){"use strict";var n=r(13),i=r(8).document,a=n(i)&&n(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,r){"use strict";var n=r(13);e.exports=function(e,t){var r,i;if(!n(e))return e;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e))||"function"==typeof(r=e.valueOf)&&!n(i=r.call(e))||!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){"use strict";var n=r(8),i=r(10),a=r(21),o=r(22)("src"),s="toString",c=Function[s],l=(""+c).split(s);r(9).inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,r,s){var c="function"==typeof r;c&&(a(r,"name")||i(r,"name",t)),e[t]!==r&&(c&&(a(r,o)||i(r,o,e[t]?""+e[t]:l.join(String(t)))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,s,function(){return"function"==typeof this&&this[o]||c.call(this)})},function(e,t,r){"use strict";var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,r){"use strict";var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,r){"use strict";var n=r(24);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(26),i=r(31);e.exports=function(e,t,r){if(n(t))throw TypeError("String#"+r+" doesn't accept regex!");return String(i(e))}},function(e,t,r){"use strict";var n=r(13),i=r(27),a=r(28)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},function(e,t,r){"use strict";var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,r){"use strict";var n=r(29)("wks"),i=r(22),a=r(8).Symbol,o="function"==typeof a;(e.exports=function(e){return n[e]||(n[e]=o&&a[e]||(o?a:i)("Symbol."+e))}).store=n},function(e,t,r){"use strict";var n=r(9),i=r(8),a="__core-js_shared__",o=i[a]||(i[a]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(30)?"pure":"global",copyright:"\xa9 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){"use strict";e.exports=!1},function(e,t,r){"use strict";e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(28)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,r){"use strict";r(34),e.exports=r(9).Array.includes},function(e,t,r){"use strict";var n=r(7),i=r(35)(!0);n(n.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r(41)("includes")},function(e,t,r){"use strict";var n=r(36),i=r(38),a=r(40);e.exports=function(e){return function(t,r,o){var s,c=n(t),l=i(c.length),u=a(o,l);if(e&&r!=r){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}}},function(e,t,r){"use strict";var n=r(37),i=r(31);e.exports=function(e){return n(i(e))}},function(e,t,r){"use strict";var n=r(27);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){"use strict";var n=r(39),i=Math.min;e.exports=function(e){return e>0?i(n(e),0x1fffffffffffff):0}},function(e,t,r){"use strict";var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,r){"use strict";var n=r(39),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=n(e))<0?i(e+t,0):a(e,t)}},function(e,t,r){"use strict";var n=r(28)("unscopables"),i=Array.prototype;void 0==i[n]&&r(10)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t,r){"use strict";r(43),e.exports=r(9).Math.log2},function(e,t,r){"use strict";var n=r(7);n(n.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,r){"use strict";r(45),e.exports=r(9).Number.isNaN},function(e,t,r){"use strict";var n=r(7);n(n.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,r){"use strict";r(47),e.exports=r(9).Number.isInteger},function(e,t,r){"use strict";var n=r(7);n(n.S,"Number",{isInteger:r(48)})},function(e,t,r){"use strict";var n=r(13),i=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&i(e)===e}},function(e,t,r){"use strict";r(50),r(52),r(67),r(70),r(87),r(88),e.exports=r(9).Promise},function(e,t,r){"use strict";var n=r(51),i={};i[r(28)("toStringTag")]="z",i+""!="[object z]"&&r(20)(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},function(e,t,r){"use strict";var n=r(27),i=r(28)("toStringTag"),a="Arguments"==n(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=o(t=Object(e),i))?r:a?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,r){"use strict";var n=r(53)(!0);r(54)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){"use strict";var n=r(39),i=r(31);e.exports=function(e){return function(t,r){var a,o,s=String(i(t)),c=n(r),l=s.length;return c<0||c>=l?e?"":void 0:(a=s.charCodeAt(c))<55296||a>56319||c+1===l||(o=s.charCodeAt(c+1))<56320||o>57343?e?s.charAt(c):a:e?s.slice(c,c+2):(a-55296<<10)+(o-56320)+65536}}},function(e,t,r){"use strict";var n=r(30),i=r(7),a=r(20),o=r(10),s=r(55),c=r(56),l=r(64),u=r(65),d=r(28)("iterator"),h=!([].keys&&"next"in[].keys()),f="keys",p="values",g=function(){return this};e.exports=function(e,t,r,m,b,v,y){c(r,t,m);var _,A,x,S=function(e){if(!h&&e in C)return C[e];switch(e){case f:case p:return function(){return new r(this,e)}}return function(){return new r(this,e)}},w=t+" Iterator",T=b==p,D=!1,C=e.prototype,k=C[d]||C["@@iterator"]||b&&C[b],E=k||S(b),P=b?T?S("entries"):E:void 0,R="Array"==t&&C.entries||k;if(R&&(x=u(R.call(new e)))!==Object.prototype&&x.next&&(l(x,w,!0),n||"function"==typeof x[d]||o(x,d,g)),T&&k&&k.name!==p&&(D=!0,E=function(){return k.call(this)}),(!n||y)&&(h||D||!C[d])&&o(C,d,E),s[t]=E,s[w]=g,b){if(_={values:T?E:S(p),keys:v?E:S(f),entries:P},y)for(A in _)A in C||a(C,A,_[A]);else i(i.P+i.F*(h||D),t,_)}return _}},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";var n=r(57),i=r(19),a=r(64),o={};r(10)(o,r(28)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(o,{next:i(1,r)}),a(e,t+" Iterator")}},function(e,t,r){"use strict";var n=r(12),i=r(58),a=r(62),o=r(61)("IE_PROTO"),s=function(){},c="prototype",l=function(){var e,t=r(17)("iframe"),n=a.length;for(t.style.display="none",r(63).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l[c][a[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[c]=n(e),r=new s,s[c]=null,r[o]=e):r=l(),void 0===t?r:i(r,t)}},function(e,t,r){"use strict";var n=r(11),i=r(12),a=r(59);e.exports=r(15)?Object.defineProperties:function(e,t){i(e);for(var r,o=a(t),s=o.length,c=0;s>c;)n.f(e,r=o[c++],t[r]);return e}},function(e,t,r){"use strict";var n=r(60),i=r(62);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(21),i=r(36),a=r(35)(!1),o=r(61)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),c=0,l=[];for(r in s)r!=o&&n(s,r)&&l.push(r);for(;t.length>c;)n(s,r=t[c++])&&(~a(l,r)||l.push(r));return l}},function(e,t,r){"use strict";var n=r(29)("keys"),i=r(22);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t,r){"use strict";e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){"use strict";var n=r(8).document;e.exports=n&&n.documentElement},function(e,t,r){"use strict";var n=r(11).f,i=r(21),a=r(28)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},function(e,t,r){"use strict";var n=r(21),i=r(66),a=r(61)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return n(e=i(e),a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,r){"use strict";var n=r(31);e.exports=function(e){return Object(n(e))}},function(e,t,r){"use strict";for(var n=r(68),i=r(59),a=r(20),o=r(8),s=r(10),c=r(55),l=r(28),u=l("iterator"),d=l("toStringTag"),h=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(f),g=0;g<p.length;g++){var m,b=p[g],v=f[b],y=o[b],_=y&&y.prototype;if(_&&(_[u]||s(_,u,h),_[d]||s(_,d,b),c[b]=h,v))for(m in n)_[m]||a(_,m,n[m],!0)}},function(e,t,r){"use strict";var n=r(41),i=r(69),a=r(55),o=r(36);e.exports=r(54)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,r):"values"==t?i(0,e[r]):i(0,[r,e[r]])},"values"),a.Arguments=a.Array,n("keys"),n("values"),n("entries")},function(e,t,r){"use strict";e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){"use strict";var n,i,a,o,s=r(30),c=r(8),l=r(23),u=r(51),d=r(7),h=r(13),f=r(24),p=r(71),g=r(72),m=r(76),b=r(77).set,v=r(79)(),y=r(80),_=r(81),A=r(82),x=r(83),S="Promise",w=c.TypeError,T=c.process,D=T&&T.versions,C=D&&D.v8||"",k=c[S],E="process"==u(T),P=function(){},R=i=y.f,F=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[r(28)("species")]=function(e){e(P,P)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(P)instanceof t&&0!==C.indexOf("6.6")&&-1===A.indexOf("Chrome/66")}catch(e){}}(),U=function(e){var t;return!!h(e)&&"function"==typeof(t=e.then)&&t},O=function(e,t){if(!e._n){e._n=!0;var r=e._c;v(function(){for(var n=e._v,i=1==e._s,a=0;r.length>a;)!function(t){var r,a,o,s=i?t.ok:t.fail,c=t.resolve,l=t.reject,u=t.domain;try{s?(i||(2==e._h&&N(e),e._h=1),!0===s?r=n:(u&&u.enter(),r=s(n),u&&(u.exit(),o=!0)),r===t.promise?l(w("Promise-chain cycle")):(a=U(r))?a.call(r,c,l):c(r)):l(n)}catch(e){u&&!o&&u.exit(),l(e)}}(r[a++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){b.call(c,function(){var t,r,n,i=e._v,a=L(e);if(a&&(t=_(function(){E?T.emit("unhandledRejection",i,e):(r=c.onunhandledrejection)?r({promise:e,reason:i}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",i)}),e._h=E||L(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){b.call(c,function(){var t;E?T.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),O(t,!0))},M=function e(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw w("Promise can't be resolved itself");(r=U(t))?v(function(){var i={_w:n,_d:!1};try{r.call(t,l(e,i,1),l(j,i,1))}catch(e){j.call(i,e)}}):(n._v=t,n._s=1,O(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};F||(k=function(e){p(this,k,S,"_h"),f(e),n.call(this);try{e(l(M,this,1),l(j,this,1))}catch(e){j.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(84)(k.prototype,{then:function(e,t){var r=R(m(this,k));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=E?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&O(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n;this.promise=e,this.resolve=l(M,e,1),this.reject=l(j,e,1)},y.f=R=function(e){return e===k||e===o?new a(e):i(e)}),d(d.G+d.W+!F*d.F,{Promise:k}),r(64)(k,S),r(85)(S),o=r(9)[S],d(d.S+!F*d.F,S,{reject:function(e){var t=R(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!F),S,{resolve:function(e){return x(s&&this===o?k:this,e)}}),d(d.S+!(F&&r(86)(function(e){k.all(e).catch(P)}))*d.F,S,{all:function(e){var t=this,r=R(t),n=r.resolve,i=r.reject,a=_(function(){var r=[],a=0,o=1;g(e,!1,function(e){var s=a++,c=!1;r.push(void 0),o++,t.resolve(e).then(function(e){!c&&(c=!0,r[s]=e,--o||n(r))},i)}),--o||n(r)});return a.e&&i(a.v),r.promise},race:function(e){var t=this,r=R(t),n=r.reject,i=_(function(){g(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return i.e&&n(i.v),r.promise}})},function(e,t,r){"use strict";e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){"use strict";var n=r(23),i=r(73),a=r(74),o=r(12),s=r(38),c=r(75),l={},u={},d=e.exports=function(e,t,r,d,h){var f,p,g,m,b=h?function(){return e}:c(e),v=n(r,d,t?2:1),y=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(a(b)){for(f=s(e.length);f>y;y++)if((m=t?v(o(p=e[y])[0],p[1]):v(e[y]))===l||m===u)return m}else for(g=b.call(e);!(p=g.next()).done;)if((m=i(g,v,p.value,t))===l||m===u)return m};d.BREAK=l,d.RETURN=u},function(e,t,r){"use strict";var n=r(12);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){var a=e.return;throw void 0!==a&&n(a.call(e)),t}}},function(e,t,r){"use strict";var n=r(55),i=r(28)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[i]===e)}},function(e,t,r){"use strict";var n=r(51),i=r(28)("iterator"),a=r(55);e.exports=r(9).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||a[n(e)]}},function(e,t,r){"use strict";var n=r(12),i=r(24),a=r(28)("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||void 0==(r=n(o)[a])?t:i(r)}},function(e,t,r){"use strict";var n,i,a,o=r(23),s=r(78),c=r(63),l=r(17),u=r(8),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,g=u.Dispatch,m=0,b={},v="onreadystatechange",y=function(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},_=function(e){y.call(e.data)};h&&f||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return b[++m]=function(){s("function"==typeof e?e:Function(e),t)},n(m),m},f=function(e){delete b[e]},"process"==r(27)(d)?n=function(e){d.nextTick(o(y,e,1))}:g&&g.now?n=function(e){g.now(o(y,e,1))}:p?(a=(i=new p).port2,i.port1.onmessage=_,n=o(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(n=function(e){u.postMessage(e+"","*")},u.addEventListener("message",_,!1)):n=v in l("script")?function(e){c.appendChild(l("script"))[v]=function(){c.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:f}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){"use strict";var n=r(8),i=r(77).set,a=n.MutationObserver||n.WebKitMutationObserver,o=n.process,s=n.Promise,c="process"==r(27)(o);e.exports=function(){var e,t,r,l=function(){var n,i;for(c&&(n=o.domain)&&n.exit();e;){i=e.fn,e=e.next;try{i()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(c)r=function(){o.nextTick(l)};else if(a&&!(n.navigator&&n.navigator.standalone)){var u=!0,d=document.createTextNode("");new a(l).observe(d,{characterData:!0}),r=function(){d.data=u=!u}}else if(s&&s.resolve){var h=s.resolve(void 0);r=function(){h.then(l)}}else r=function(){i.call(n,l)};return function(n){var i={fn:n,next:void 0};t&&(t.next=i),e||(e=i,r()),t=i}}},function(e,t,r){"use strict";var n=r(24);function i(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)}e.exports.f=function(e){return new i(e)}},function(e,t,r){"use strict";e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,r){"use strict";var n=r(8).navigator;e.exports=n&&n.userAgent||""},function(e,t,r){"use strict";var n=r(12),i=r(13),a=r(80);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){"use strict";var n=r(20);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},function(e,t,r){"use strict";var n=r(8),i=r(11),a=r(15),o=r(28)("species");e.exports=function(e){var t=n[e];a&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n=r(28)("iterator"),i=!1;try{var a=[7][n]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var a=[7],o=a[n]();o.next=function(){return{done:r=!0}},a[n]=function(){return o},e(a)}catch(e){}return r}},function(e,t,r){"use strict";var n=r(7),i=r(9),a=r(8),o=r(76),s=r(83);n(n.P+n.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then(function(){return r})}:e,r?function(r){return s(t,e()).then(function(){throw r})}:e)}})},function(e,t,r){"use strict";var n=r(7),i=r(80),a=r(81);n(n.S,"Promise",{try:function(e){var t=i.f(this),r=a(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){"use strict";r(50),r(67),r(90),r(105),r(107),e.exports=r(9).WeakMap},function(e,t,r){"use strict";var n,i=r(91)(0),a=r(20),o=r(95),s=r(96),c=r(99),l=r(13),u=r(16),d=r(100),h="WeakMap",f=o.getWeak,p=Object.isExtensible,g=c.ufstore,m={},b=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(e){if(l(e)){var t=f(e);return!0===t?g(d(this,h)).get(e):t?t[this._i]:void 0}},set:function(e,t){return c.def(d(this,h),e,t)}},y=e.exports=r(101)(h,b,v,c,!0,!0);u(function(){return 7!=new y().set((Object.freeze||Object)(m),7).get(m)})&&(s((n=c.getConstructor(b,h)).prototype,v),o.NEED=!0,i(["delete","has","get","set"],function(e){var t=y.prototype,r=t[e];a(t,e,function(t,i){if(l(t)&&!p(t)){this._f||(this._f=new n);var a=this._f[e](t,i);return"set"==e?this:a}return r.call(this,t,i)})}))},function(e,t,r){"use strict";var n=r(23),i=r(37),a=r(66),o=r(38),s=r(92);e.exports=function(e,t){var r=1==e,c=2==e,l=3==e,u=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var g,m,b=a(t),v=i(b),y=n(s,p,3),_=o(v.length),A=0,x=r?f(t,_):c?f(t,0):void 0;_>A;A++)if((h||A in v)&&(m=y(g=v[A],A,b),e)){if(r)x[A]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return A;case 2:x.push(g)}else if(u)return!1}return d?-1:l||u?u:x}}},function(e,t,r){"use strict";var n=r(93);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){"use strict";var n=r(13),i=r(94),a=r(28)("species");e.exports=function(e){var t;return i(e)&&("function"==typeof(t=e.constructor)&&(t===Array||i(t.prototype))&&(t=void 0),n(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?Array:t}},function(e,t,r){"use strict";var n=r(27);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){"use strict";var n="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},i=r(22)("meta"),a=r(13),o=r(21),s=r(11).f,c=0,l=Object.isExtensible||function(){return!0},u=!r(16)(function(){return l(Object.preventExtensions({}))}),d=function(e){s(e,i,{value:{i:"O"+ ++c,w:{}}})},h=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!a(e))return(void 0===e?"undefined":n(e))=="symbol"?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";d(e)}return e[i].i},getWeak:function(e,t){if(!o(e,i)){if(!l(e))return!0;if(!t)return!1;d(e)}return e[i].w},onFreeze:function(e){return u&&h.NEED&&l(e)&&!o(e,i)&&d(e),e}}},function(e,t,r){"use strict";var n=r(59),i=r(97),a=r(98),o=r(66),s=r(37),c=Object.assign;e.exports=!c||r(16)(function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=c({},e)[r]||Object.keys(c({},t)).join("")!=n})?function(e,t){for(var r=o(e),c=arguments.length,l=1,u=i.f,d=a.f;c>l;)for(var h,f=s(arguments[l++]),p=u?n(f).concat(u(f)):n(f),g=p.length,m=0;g>m;)d.call(f,h=p[m++])&&(r[h]=f[h]);return r}:c},function(e,t,r){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";t.f=({}).propertyIsEnumerable},function(e,t,r){"use strict";var n=r(84),i=r(95).getWeak,a=r(12),o=r(13),s=r(71),c=r(72),l=r(91),u=r(21),d=r(100),h=l(5),f=l(6),p=0,g=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},b=function(e,t){return h(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var r=b(this,e);r?r[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,a){var l=e(function(e,n){s(e,l,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=n&&c(n,r,e[a],e)});return n(l.prototype,{delete:function(e){if(!o(e))return!1;var r=i(e);return!0===r?g(d(this,t)).delete(e):r&&u(r,this._i)&&delete r[this._i]},has:function(e){if(!o(e))return!1;var r=i(e);return!0===r?g(d(this,t)).has(e):r&&u(r,this._i)}}),l},def:function(e,t,r){var n=i(a(t),!0);return!0===n?g(e).set(t,r):n[e._i]=r,e},ufstore:g}},function(e,t,r){"use strict";var n=r(13);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,r){"use strict";var n=r(8),i=r(7),a=r(20),o=r(84),s=r(95),c=r(72),l=r(71),u=r(13),d=r(16),h=r(86),f=r(64),p=r(102);e.exports=function(e,t,r,g,m,b){var v=n[e],y=v,_=m?"set":"add",A=y&&y.prototype,x={},S=function(e){var t=A[e];a(A,e,"delete"==e?function(e){return(!b||!!u(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return(!b||!!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return b&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,r){return t.call(this,0===e?0:e,r),this})};if("function"==typeof y&&(b||A.forEach&&!d(function(){new y().entries().next()}))){var w=new y,T=w[_](b?{}:-0,1)!=w,D=d(function(){w.has(1)}),C=h(function(e){new y(e)}),k=!b&&d(function(){for(var e=new y,t=5;t--;)e[_](t,t);return!e.has(-0)});C||((y=t(function(t,r){l(t,y,e);var n=p(new v,t,y);return void 0!=r&&c(r,m,n[_],n),n})).prototype=A,A.constructor=y),(D||k)&&(S("delete"),S("has"),m&&S("get")),(k||T)&&S(_),b&&A.clear&&delete A.clear}else o((y=g.getConstructor(t,e,m,_)).prototype,r),s.NEED=!0;return f(y,e),x[e]=y,i(i.G+i.W+i.F*(y!=v),x),b||g.setStrong(y,e,m),y}},function(e,t,r){"use strict";var n=r(13),i=r(103).set;e.exports=function(e,t,r){var a,o=t.constructor;return o!==r&&"function"==typeof o&&(a=o.prototype)!==r.prototype&&n(a)&&i&&i(e,a),e}},function(e,t,r){"use strict";var n=r(13),i=r(12),a=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(23)(Function.call,r(104).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return a(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:a}},function(e,t,r){"use strict";var n=r(98),i=r(19),a=r(36),o=r(18),s=r(21),c=r(14),l=Object.getOwnPropertyDescriptor;t.f=r(15)?l:function(e,t){if(e=a(e),t=o(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,r){"use strict";r(106)("WeakMap")},function(e,t,r){"use strict";var n=r(7);e.exports=function(e){n(n.S,e,{of:function(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,r){"use strict";r(108)("WeakMap")},function(e,t,r){"use strict";var n=r(7),i=r(24),a=r(23),o=r(72);e.exports=function(e){n(n.S,e,{from:function(e){var t,r,n,s,c=arguments[1];return(i(this),(t=void 0!==c)&&i(c),void 0==e)?new this:(r=[],t?(n=0,s=a(c,arguments[2],2),o(e,!1,function(e){r.push(s(e,n++))})):o(e,!1,r.push,r),new this(r))}})}},function(e,t,r){"use strict";r(110),e.exports=r(9).Object.values},function(e,t,r){"use strict";var n=r(7),i=r(111)(!1);n(n.S,"Object",{values:function(e){return i(e)}})},function(e,t,r){"use strict";var n=r(59),i=r(36),a=r(98).f;e.exports=function(e){return function(t){for(var r,o=i(t),s=n(o),c=s.length,l=0,u=[];c>l;)a.call(o,r=s[l++])&&u.push(e?[r,o[r]]:o[r]);return u}}},function(e,t,r){"use strict";var n=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),n=!0}catch(e){}n?t.ReadableStream=ReadableStream:t.ReadableStream=r(113).ReadableStream},function(e,t,r){"use strict";var n="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};!function(e,t){for(var r in t)e[r]=t[r]}(t,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){var i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)},a=r(1).assert;function o(e){return"string"==typeof e||(void 0===e?"undefined":i(e))==="symbol"}function s(e,t,r){if("function"!=typeof e)throw TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}t.typeIsObject=function(e){return(void 0===e?"undefined":i(e))==="object"&&null!==e||"function"==typeof e},t.createDataProperty=function(e,r,n){a(t.typeIsObject(e)),Object.defineProperty(e,r,{value:n,writable:!0,enumerable:!0,configurable:!0})},t.createArrayFromList=function(e){return e.slice()},t.ArrayBufferCopy=function(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)},t.CreateIterResultObject=function(e,t){a("boolean"==typeof t);var r={};return Object.defineProperty(r,"value",{value:e,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(r,"done",{value:t,enumerable:!0,writable:!0,configurable:!0}),r},t.IsFiniteNonNegativeNumber=function(e){return!Number.isNaN(e)&&e!==1/0&&!(e<0)},t.InvokeOrNoop=function(e,t,r){a(void 0!==e),a(o(t)),a(Array.isArray(r));var n=e[t];if(void 0!==n)return s(n,e,r)},t.PromiseInvokeOrNoop=function(e,r,n){a(void 0!==e),a(o(r)),a(Array.isArray(n));try{return Promise.resolve(t.InvokeOrNoop(e,r,n))}catch(e){return Promise.reject(e)}},t.PromiseInvokeOrPerformFallback=function(e,t,r,n,i){a(void 0!==e),a(o(t)),a(Array.isArray(r)),a(Array.isArray(i));var c=void 0;try{c=e[t]}catch(e){return Promise.reject(e)}if(void 0===c)return n.apply(null,i);try{return Promise.resolve(s(c,e,r))}catch(e){return Promise.reject(e)}},t.TransferArrayBuffer=function(e){return e.slice()},t.ValidateAndNormalizeHighWaterMark=function(e){if(Number.isNaN(e=Number(e))||e<0)throw RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e},t.ValidateAndNormalizeQueuingStrategy=function(e,r){if(void 0!==e&&"function"!=typeof e)throw TypeError("size property of a queuing strategy must be a function");return{size:e,highWaterMark:r=t.ValidateAndNormalizeHighWaterMark(r)}}},function(e,t,r){function n(e){this.name="AssertionError",this.message=e||"",this.stack=Error().stack}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,e.exports={rethrowAssertionErrorRejection:function(e){e&&e.constructor===n&&setTimeout(function(){throw e},0)},AssertionError:n,assert:function(e,t){if(!e)throw new n(t)}}},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(0),o=a.InvokeOrNoop,s=a.PromiseInvokeOrNoop,c=a.ValidateAndNormalizeQueuingStrategy,l=a.typeIsObject,u=r(1),d=u.assert,h=u.rethrowAssertionErrorRejection,f=r(3),p=f.DequeueValue,g=f.EnqueueValueWithSize,m=f.PeekQueueValue,b=f.ResetQueue,v=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,a=r.highWaterMark;if(i(this,e),this._state="writable",this._storedError=void 0,this._writer=void 0,this._writableStreamController=void 0,this._writeRequests=[],this._inFlightWriteRequest=void 0,this._closeRequest=void 0,this._inFlightCloseRequest=void 0,this._pendingAbortRequest=void 0,this._backpressure=!1,void 0!==t.type)throw RangeError("Invalid type is specified");this._writableStreamController=new L(this,t,n,void 0===a?1:a),this._writableStreamController.__startSteps()}return n(e,[{key:"abort",value:function(e){return!1===_(this)?Promise.reject(q("abort")):!0===A(this)?Promise.reject(TypeError("Cannot abort a stream that already has a writer")):x(this,e)}},{key:"getWriter",value:function(){if(!1===_(this))throw q("getWriter");return y(this)}},{key:"locked",get:function(){if(!1===_(this))throw q("locked");return A(this)}}]),e}();function y(e){return new P(e)}function _(e){return!!(l(e)&&Object.prototype.hasOwnProperty.call(e,"_writableStreamController"))}function A(e){return d(!0===_(e),"IsWritableStreamLocked should only be used on known writable streams"),void 0!==e._writer}function x(e,t){var r=e._state;if("closed"===r)return Promise.resolve(void 0);if("errored"===r)return Promise.reject(e._storedError);var n=TypeError("Requested to abort");if(void 0!==e._pendingAbortRequest)return Promise.reject(n);d("writable"===r||"erroring"===r,"state must be writable or erroring");var i=!1;"erroring"===r&&(i=!0,t=void 0);var a=new Promise(function(r,n){e._pendingAbortRequest={_resolve:r,_reject:n,_reason:t,_wasAlreadyErroring:i}});return!1===i&&w(e,n),a}function S(e,t){var r=e._state;if("writable"===r){w(e,t);return}d("erroring"===r),T(e)}function w(e,t){d(void 0===e._storedError,"stream._storedError === undefined"),d("writable"===e._state,"state must be writable");var r=e._writableStreamController;d(void 0!==r,"controller must not be undefined"),e._state="erroring",e._storedError=t;var n=e._writer;void 0!==n&&U(n,t),!1===C(e)&&!0===r._started&&T(e)}function T(e){d("erroring"===e._state,"stream._state === erroring"),d(!1===C(e),"WritableStreamHasOperationMarkedInFlight(stream) === false"),e._state="errored",e._writableStreamController.__errorSteps();for(var t=e._storedError,r=0;r<e._writeRequests.length;r++)e._writeRequests[r]._reject(t);if(e._writeRequests=[],void 0===e._pendingAbortRequest){k(e);return}var n=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,!0===n._wasAlreadyErroring){n._reject(t),k(e);return}e._writableStreamController.__abortSteps(n._reason).then(function(){n._resolve(),k(e)},function(t){n._reject(t),k(e)})}function D(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function C(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}function k(e){d("errored"===e._state,'_stream_.[[state]] is `"errored"`'),void 0!==e._closeRequest&&(d(void 0===e._inFlightCloseRequest),e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&(G(t,e._storedError),t._closedPromise.catch(function(){}))}function E(e,t){d("writable"===e._state),d(!1===D(e));var r=e._writer;void 0!==r&&t!==e._backpressure&&(!0===t?(d(void 0===r._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),d(void 0===r._readyPromise_reject,"writer._readyPromise_reject === undefined"),r._readyPromise=new Promise(function(e,t){r._readyPromise_resolve=e,r._readyPromise_reject=t}),r._readyPromiseState="pending"):(d(!1===t),Y(r))),e._backpressure=t}e.exports={AcquireWritableStreamDefaultWriter:y,IsWritableStream:_,IsWritableStreamLocked:A,WritableStream:v,WritableStreamAbort:x,WritableStreamDefaultControllerError:W,WritableStreamDefaultWriterCloseWithErrorPropagation:function(e){var t=e._ownerWritableStream;d(void 0!==t);var r=t._state;return!0===D(t)||"closed"===r?Promise.resolve():"errored"===r?Promise.reject(t._storedError):(d("writable"===r||"erroring"===r),F(e))},WritableStreamDefaultWriterRelease:O,WritableStreamDefaultWriterWrite:I,WritableStreamCloseQueuedOrInFlight:D};var P=function(){function e(t){if(i(this,e),!1===_(t))throw TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===A(t))throw TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;var r=t._state;if("writable"===r)!1===D(t)&&!0===t._backpressure?(n=this,n._readyPromise=new Promise(function(e,t){n._readyPromise_resolve=e,n._readyPromise_reject=t}),n._readyPromiseState="pending"):V(this),H(this);else if("erroring"===r)X(this,t._storedError),this._readyPromise.catch(function(){}),H(this);else if("closed"===r)V(this),this._closedPromise=Promise.resolve(void 0),this._closedPromise_resolve=void 0,this._closedPromise_reject=void 0,this._closedPromiseState="resolved";else{d("errored"===r,"state must be errored");var n,a=t._storedError;X(this,a),this._readyPromise.catch(function(){}),this._closedPromise=Promise.reject(a),this._closedPromise_resolve=void 0,this._closedPromise_reject=void 0,this._closedPromiseState="rejected",this._closedPromise.catch(function(){})}}return n(e,[{key:"abort",value:function(e){var t;return!1===R(this)?Promise.reject(B("abort")):void 0===this._ownerWritableStream?Promise.reject(z("abort")):(d(void 0!==(t=this._ownerWritableStream)),x(t,e))}},{key:"close",value:function(){if(!1===R(this))return Promise.reject(B("close"));var e=this._ownerWritableStream;return void 0===e?Promise.reject(z("close")):!0===D(e)?Promise.reject(TypeError("cannot close an already-closing stream")):F(this)}},{key:"releaseLock",value:function(){if(!1===R(this))throw B("releaseLock");var e=this._ownerWritableStream;void 0!==e&&(d(void 0!==e._writer),O(this))}},{key:"write",value:function(e){return!1===R(this)?Promise.reject(B("write")):void 0===this._ownerWritableStream?Promise.reject(z("write to")):I(this,e)}},{key:"closed",get:function(){return!1===R(this)?Promise.reject(B("closed")):this._closedPromise}},{key:"desiredSize",get:function(){var e,t;if(!1===R(this))throw B("desiredSize");if(void 0===this._ownerWritableStream)throw z("desiredSize");return"errored"===(t=(e=this._ownerWritableStream)._state)||"erroring"===t?null:"closed"===t?0:N(e._writableStreamController)}},{key:"ready",get:function(){return!1===R(this)?Promise.reject(B("ready")):this._readyPromise}}]),e}();function R(e){return!!(l(e)&&Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream"))}function F(e){var t,r=e._ownerWritableStream;d(void 0!==r);var n=r._state;if("closed"===n||"errored"===n)return Promise.reject(TypeError("The stream (in "+n+" state) is not in the writable state and cannot be closed"));d("writable"===n||"erroring"===n),d(!1===D(r));var i=new Promise(function(e,t){r._closeRequest={_resolve:e,_reject:t}});return!0===r._backpressure&&"writable"===n&&Y(e),g(t=r._writableStreamController,"close",0),j(t),i}function U(e,t){"pending"===e._readyPromiseState?(d(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),d(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0):(d(void 0===e._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),d(void 0===e._readyPromise_reject,"writer._readyPromise_reject === undefined"),e._readyPromise=Promise.reject(t)),e._readyPromiseState="rejected",e._readyPromise.catch(function(){})}function O(e){var t=e._ownerWritableStream;d(void 0!==t),d(t._writer===e);var r=TypeError("Writer was released and can no longer be used to monitor the stream's closedness");U(e,r),"pending"===e._closedPromiseState?G(e,r):(d(void 0===e._closedPromise_resolve,"writer._closedPromise_resolve === undefined"),d(void 0===e._closedPromise_reject,"writer._closedPromise_reject === undefined"),d("pending"!==e._closedPromiseState,"writer._closedPromiseState is not pending"),e._closedPromise=Promise.reject(r),e._closedPromiseState="rejected"),e._closedPromise.catch(function(){}),t._writer=void 0,e._ownerWritableStream=void 0}function I(e,t){var r=e._ownerWritableStream;d(void 0!==r);var n=r._writableStreamController,i=function(e,t){var r=e._strategySize;if(void 0===r)return 1;try{return r(t)}catch(t){return M(e,t),1}}(n,t);if(r!==e._ownerWritableStream)return Promise.reject(z("write to"));var a=r._state;if("errored"===a)return Promise.reject(r._storedError);if(!0===D(r)||"closed"===a)return Promise.reject(TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===a)return Promise.reject(r._storedError);d("writable"===a);var o=(d(!0===A(r)),d("writable"===r._state),new Promise(function(e,t){r._writeRequests.push({_resolve:e,_reject:t})}));return function(e,t,r){try{g(e,{chunk:t},r)}catch(t){M(e,t);return}var n=e._controlledWritableStream;!1===D(n)&&"writable"===n._state&&E(n,0>=N(e)),j(e)}(n,t,i),o}var L=function(){function e(t,r,n,a){if(i(this,e),!1===_(t))throw TypeError("WritableStreamDefaultController can only be constructed with a WritableStream instance");if(void 0!==t._writableStreamController)throw TypeError("WritableStreamDefaultController instances can only be created by the WritableStream constructor");this._controlledWritableStream=t,this._underlyingSink=r,this._queue=void 0,this._queueTotalSize=void 0,b(this),this._started=!1;var o=c(n,a);this._strategySize=o.size,this._strategyHWM=o.highWaterMark,E(t,0>=N(this))}return n(e,[{key:"error",value:function(e){if(!1==!!(l(this)&&Object.prototype.hasOwnProperty.call(this,"_underlyingSink")))throw TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&W(this,e)}},{key:"__abortSteps",value:function(e){return s(this._underlyingSink,"abort",[e])}},{key:"__errorSteps",value:function(){b(this)}},{key:"__startSteps",value:function(){var e=this,t=o(this._underlyingSink,"start",[this]),r=this._controlledWritableStream;Promise.resolve(t).then(function(){d("writable"===r._state||"erroring"===r._state),e._started=!0,j(e)},function(t){d("writable"===r._state||"erroring"===r._state),e._started=!0,S(r,t)}).catch(h)}}]),e}();function N(e){return e._strategyHWM-e._queueTotalSize}function j(e){var t=e._controlledWritableStream;if(!1!==e._started&&void 0===t._inFlightWriteRequest){var r=t._state;if("closed"!==r&&"errored"!==r){if("erroring"===r){T(t);return}if(0!==e._queue.length){var n,i,a,o,c,l=m(e);"close"===l?(d(void 0===(i=(n=e)._controlledWritableStream)._inFlightCloseRequest),d(void 0!==i._closeRequest),i._inFlightCloseRequest=i._closeRequest,i._closeRequest=void 0,p(n),d(0===n._queue.length,"queue must be empty once the final write record is dequeued"),s(n._underlyingSink,"close",[]).then(function(){var e,t;d(void 0!==i._inFlightCloseRequest),i._inFlightCloseRequest._resolve(void 0),i._inFlightCloseRequest=void 0,d("writable"===(e=i._state)||"erroring"===e),"erroring"===e&&(i._storedError=void 0,void 0!==i._pendingAbortRequest&&(i._pendingAbortRequest._resolve(),i._pendingAbortRequest=void 0)),i._state="closed",void 0!==(t=i._writer)&&(d(void 0!==t._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),d(void 0!==t._closedPromise_reject,"writer._closedPromise_reject !== undefined"),d("pending"===t._closedPromiseState,"writer._closedPromiseState is pending"),t._closedPromise_resolve(void 0),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0,t._closedPromiseState="resolved"),d(void 0===i._pendingAbortRequest,"stream._pendingAbortRequest === undefined"),d(void 0===i._storedError,"stream._storedError === undefined")},function(e){d(void 0!==i._inFlightCloseRequest),i._inFlightCloseRequest._reject(e),i._inFlightCloseRequest=void 0,d("writable"===i._state||"erroring"===i._state),void 0!==i._pendingAbortRequest&&(i._pendingAbortRequest._reject(e),i._pendingAbortRequest=void 0),S(i,e)}).catch(h)):(a=e,o=l.chunk,d(void 0===(c=a._controlledWritableStream)._inFlightWriteRequest,"there must be no pending write request"),d(0!==c._writeRequests.length,"writeRequests must not be empty"),c._inFlightWriteRequest=c._writeRequests.shift(),s(a._underlyingSink,"write",[o,a]).then(function(){d(void 0!==c._inFlightWriteRequest),c._inFlightWriteRequest._resolve(void 0),c._inFlightWriteRequest=void 0;var e=c._state;d("writable"===e||"erroring"===e),p(a),!1===D(c)&&"writable"===e&&E(c,0>=N(a)),j(a)},function(e){d(void 0!==c._inFlightWriteRequest),c._inFlightWriteRequest._reject(e),c._inFlightWriteRequest=void 0,d("writable"===c._state||"erroring"===c._state),S(c,e)}).catch(h))}}}}function M(e,t){"writable"===e._controlledWritableStream._state&&W(e,t)}function W(e,t){var r=e._controlledWritableStream;d("writable"===r._state),w(r,t)}function q(e){return TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function B(e){return TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function z(e){return TypeError("Cannot "+e+" a stream using a released writer")}function H(e){e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function G(e,t){d(void 0!==e._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),d(void 0!==e._closedPromise_reject,"writer._closedPromise_reject !== undefined"),d("pending"===e._closedPromiseState,"writer._closedPromiseState is pending"),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function X(e,t){e._readyPromise=Promise.reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function V(e){e._readyPromise=Promise.resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}function Y(e){d(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),d(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}},function(e,t,r){var n=r(0).IsFiniteNonNegativeNumber,i=r(1).assert;t.DequeueValue=function(e){i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: DequeueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),i(e._queue.length>0,"Spec-level failure: should never dequeue from an empty queue.");var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value},t.EnqueueValueWithSize=function(e,t,r){if(i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: EnqueueValueWithSize should only be used on containers with [[queue]] and [[queueTotalSize]]."),!n(r=Number(r)))throw RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r},t.PeekQueueValue=function(e){return i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: PeekQueueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),i(e._queue.length>0,"Spec-level failure: should never peek at an empty queue."),e._queue[0].value},t.ResetQueue=function(e){i("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: ResetQueue should only be used on containers with [[queue]] and [[queueTotalSize]]."),e._queue=[],e._queueTotalSize=0}},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(0),o=a.ArrayBufferCopy,s=a.CreateIterResultObject,c=a.IsFiniteNonNegativeNumber,l=a.InvokeOrNoop,u=a.PromiseInvokeOrNoop,d=a.TransferArrayBuffer,h=a.ValidateAndNormalizeQueuingStrategy,f=a.ValidateAndNormalizeHighWaterMark,p=r(0),g=p.createArrayFromList,m=p.createDataProperty,b=p.typeIsObject,v=r(1),y=v.assert,_=v.rethrowAssertionErrorRejection,A=r(3),x=A.DequeueValue,S=A.EnqueueValueWithSize,w=A.ResetQueue,T=r(2),D=T.AcquireWritableStreamDefaultWriter,C=T.IsWritableStream,k=T.IsWritableStreamLocked,E=T.WritableStreamAbort,P=T.WritableStreamDefaultWriterCloseWithErrorPropagation,R=T.WritableStreamDefaultWriterRelease,F=T.WritableStreamDefaultWriterWrite,U=T.WritableStreamCloseQueuedOrInFlight,O=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,a=r.highWaterMark;i(this,e),this._state="readable",this._reader=void 0,this._storedError=void 0,this._disturbed=!1,this._readableStreamController=void 0;var o=t.type;if("bytes"===String(o))void 0===a&&(a=0),this._readableStreamController=new eu(this,t,a);else if(void 0===o)void 0===a&&(a=1),this._readableStreamController=new et(this,t,n,a);else throw RangeError("Invalid type is specified")}return n(e,[{key:"cancel",value:function(e){return!1===I(this)?Promise.reject(eC("cancel")):!0===L(this)?Promise.reject(TypeError("Cannot cancel a stream that already has a reader")):M(this,e)}},{key:"getReader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode;if(!1===I(this))throw eC("getReader");if(void 0===t)return new V(this);if("byob"===(t=String(t)))return new Y(this);throw RangeError("Invalid mode is specified")}},{key:"pipeThrough",value:function(e,t){var r=e.writable,n=e.readable;return function(e){try{Promise.prototype.then.call(e,void 0,function(){})}catch(e){}}(this.pipeTo(r,t)),n}},{key:"pipeTo",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.preventClose,i=r.preventAbort,a=r.preventCancel;if(!1===I(this))return Promise.reject(eC("pipeTo"));if(!1===C(e))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));if(n=!!n,i=!!i,a=!!a,!0===L(this))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===k(e))return Promise.reject(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));var o=new V(this),s=D(e),c=!1,l=Promise.resolve();return new Promise(function(r,u){var d,h;if(g(t,o._closedPromise,function(t){!1===i?m(function(){return E(e,t)},!0,t):b(!0,t)}),g(e,s._closedPromise,function(e){!1===a?m(function(){return M(t,e)},!0,e):b(!0,e)}),d=o._closedPromise,h=function(){!1===n?m(function(){return P(s)}):b()},"closed"===t._state?h():d.then(h).catch(_),!0===U(e)||"closed"===e._state){var f=TypeError("the destination writable stream closed before all data could be piped to it");!1===a?m(function(){return M(t,f)},!0,f):b(!0,f)}function p(){var e=l;return l.then(function(){return e!==l?p():void 0})}function g(e,t,r){"errored"===e._state?r(e._storedError):t.catch(r).catch(_)}function m(t,r,n){!0!==c&&(c=!0,"writable"===e._state&&!1===U(e)?p().then(i):i());function i(){t().then(function(){return v(r,n)},function(e){return v(!0,e)}).catch(_)}}function b(t,r){!0!==c&&(c=!0,"writable"===e._state&&!1===U(e)?p().then(function(){return v(t,r)}).catch(_):v(t,r))}function v(e,t){R(s),$(o),e?u(t):r(void 0)}(function e(){return(l=Promise.resolve(),!0===c)?Promise.resolve():s._readyPromise.then(function(){return ee(o).then(function(e){var t=e.value;!0!==e.done&&(l=F(s,t).catch(function(){}))})}).then(e)})().catch(function(e){l=Promise.resolve(),_(e)})})}},{key:"tee",value:function(){var e,t,r,n,i,a,o,s,c;if(!1===I(this))throw eC("tee");return g((y(!0===I(this)),y("boolean"==typeof!1),e=new V(this),(t={closedOrErrored:!1,canceled1:!1,canceled2:!1,reason1:void 0,reason2:void 0}).promise=new Promise(function(e){t._resolve=e}),(r=function e(){var t=e._reader,r=e._branch1,n=e._branch2,i=e._teeState;return ee(t).then(function(e){y(b(e));var t=e.value,a=e.done;y("boolean"==typeof a),!0===a&&!1===i.closedOrErrored&&(!1===i.canceled1&&ei(r),!1===i.canceled2&&ei(n),i.closedOrErrored=!0),!0!==i.closedOrErrored&&(!1===i.canceled1&&ea(r,t),!1===i.canceled2&&ea(n,t))})})._reader=e,r._teeState=t,r._cloneForBranch2=!1,(n=function e(t){var r=e._stream,n=e._teeState;if(n.canceled1=!0,n.reason1=t,!0===n.canceled2){var i=M(r,g([n.reason1,n.reason2]));n._resolve(i)}return n.promise})._stream=this,n._teeState=t,(i=function e(t){var r=e._stream,n=e._teeState;if(n.canceled2=!0,n.reason2=t,!0===n.canceled1){var i=M(r,g([n.reason1,n.reason2]));n._resolve(i)}return n.promise})._stream=this,i._teeState=t,m(a=Object.create(Object.prototype),"pull",r),m(a,"cancel",n),o=new O(a),m(s=Object.create(Object.prototype),"pull",r),m(s,"cancel",i),c=new O(s),r._branch1=o._readableStreamController,r._branch2=c._readableStreamController,e._closedPromise.catch(function(e){!0!==t.closedOrErrored&&(eo(r._branch1,e),eo(r._branch2,e),t.closedOrErrored=!0)}),[o,c]))}},{key:"locked",get:function(){if(!1===I(this))throw eC("locked");return L(this)}}]),e}();function I(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readableStreamController"))}function L(e){return y(!0===I(e),"IsReadableStreamLocked should only be used on known readable streams"),void 0!==e._reader}function N(e){return y(!0===Q(e._reader)),y("readable"===e._state||"closed"===e._state),new Promise(function(t,r){e._reader._readIntoRequests.push({_resolve:t,_reject:r})})}function j(e){return y(!0===J(e._reader)),y("readable"===e._state),new Promise(function(t,r){e._reader._readRequests.push({_resolve:t,_reject:r})})}function M(e,t){return(e._disturbed=!0,"closed"===e._state)?Promise.resolve(void 0):"errored"===e._state?Promise.reject(e._storedError):(W(e),e._readableStreamController.__cancelSteps(t).then(function(){}))}function W(e){y("readable"===e._state),e._state="closed";var t=e._reader;if(void 0!==t){if(!0===J(t)){for(var r=0;r<t._readRequests.length;r++)(0,t._readRequests[r]._resolve)(s(void 0,!0));t._readRequests=[]}y(void 0!==t._closedPromise_resolve),y(void 0!==t._closedPromise_reject),t._closedPromise_resolve(void 0),t._closedPromise_resolve=void 0,t._closedPromise_reject=void 0}}function q(e,t){y(!0===I(e),"stream must be ReadableStream"),y("readable"===e._state,"state must be readable"),e._state="errored",e._storedError=t;var r=e._reader;if(void 0!==r){if(!0===J(r)){for(var n=0;n<r._readRequests.length;n++)r._readRequests[n]._reject(t);r._readRequests=[]}else{y(Q(r),"reader must be ReadableStreamBYOBReader");for(var i=0;i<r._readIntoRequests.length;i++)r._readIntoRequests[i]._reject(t);r._readIntoRequests=[]}eP(r,t),r._closedPromise.catch(function(){})}}function B(e,t,r){var n=e._reader;y(n._readRequests.length>0),n._readRequests.shift()._resolve(s(t,r))}function z(e){return e._reader._readIntoRequests.length}function H(e){return e._reader._readRequests.length}function G(e){var t=e._reader;return void 0!==t&&!1!==Q(t)}function X(e){var t=e._reader;return void 0!==t&&!1!==J(t)}e.exports={ReadableStream:O,IsReadableStreamDisturbed:function(e){return y(!0===I(e),"IsReadableStreamDisturbed should only be used on known readable streams"),e._disturbed},ReadableStreamDefaultControllerClose:ei,ReadableStreamDefaultControllerEnqueue:ea,ReadableStreamDefaultControllerError:eo,ReadableStreamDefaultControllerGetDesiredSize:ec};var V=function(){function e(t){if(i(this,e),!1===I(t))throw TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===L(t))throw TypeError("This stream has already been locked for exclusive reading by another reader");K(this,t),this._readRequests=[]}return n(e,[{key:"cancel",value:function(e){return!1===J(this)?Promise.reject(eE("cancel")):void 0===this._ownerReadableStream?Promise.reject(ek("cancel")):Z(this,e)}},{key:"read",value:function(){return!1===J(this)?Promise.reject(eE("read")):void 0===this._ownerReadableStream?Promise.reject(ek("read from")):ee(this)}},{key:"releaseLock",value:function(){if(!1===J(this))throw eE("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");$(this)}}},{key:"closed",get:function(){return!1===J(this)?Promise.reject(eE("closed")):this._closedPromise}}]),e}(),Y=function(){function e(t){if(i(this,e),!I(t))throw TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===ed(t._readableStreamController))throw TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(L(t))throw TypeError("This stream has already been locked for exclusive reading by another reader");K(this,t),this._readIntoRequests=[]}return n(e,[{key:"cancel",value:function(e){return Q(this)?void 0===this._ownerReadableStream?Promise.reject(ek("cancel")):Z(this,e):Promise.reject(eR("cancel"))}},{key:"read",value:function(e){var t;return Q(this)?void 0===this._ownerReadableStream?Promise.reject(ek("read from")):ArrayBuffer.isView(e)?0===e.byteLength?Promise.reject(TypeError("view must have non-zero byteLength")):(y(void 0!==(t=this._ownerReadableStream)),t._disturbed=!0,"errored"===t._state)?Promise.reject(t._storedError):function(e,t){var r=e._controlledReadableStream,n=1;t.constructor!==DataView&&(n=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,a={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:n,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return a.buffer=d(a.buffer),e._pendingPullIntos.push(a),N(r);if("closed"===r._state)return Promise.resolve(s(new t.constructor(a.buffer,a.byteOffset,0),!0));if(e._queueTotalSize>0){if(!0===ev(e,a)){var o=em(a);return e_(e),Promise.resolve(s(o,!1))}if(!0===e._closeRequested){var c=TypeError("Insufficient bytes to fill elements in the given buffer");return eT(e,c),Promise.reject(c)}}a.buffer=d(a.buffer),e._pendingPullIntos.push(a);var l=N(r);return ef(e),l}(t._readableStreamController,e):Promise.reject(TypeError("view must be an array buffer view")):Promise.reject(eR("read"))}},{key:"releaseLock",value:function(){if(!Q(this))throw eR("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");$(this)}}},{key:"closed",get:function(){return Q(this)?this._closedPromise:Promise.reject(eR("closed"))}}]),e}();function Q(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readIntoRequests"))}function J(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_readRequests"))}function K(e,t){var r;e._ownerReadableStream=t,t._reader=e,"readable"===t._state?e._closedPromise=new Promise(function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r}):"closed"===t._state?(e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0):(y("errored"===t._state,"state must be errored"),r=t._storedError,e._closedPromise=Promise.reject(r),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromise.catch(function(){}))}function Z(e,t){var r=e._ownerReadableStream;return y(void 0!==r),M(r,t)}function $(e){var t;y(void 0!==e._ownerReadableStream),y(e._ownerReadableStream._reader===e),"readable"===e._ownerReadableStream._state?eP(e,TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):(t=TypeError("Reader was released and can no longer be used to monitor the stream's closedness"),y(void 0===e._closedPromise_resolve),y(void 0===e._closedPromise_reject),e._closedPromise=Promise.reject(t)),e._closedPromise.catch(function(){}),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function ee(e){var t=e._ownerReadableStream;return(y(void 0!==t),t._disturbed=!0,"closed"===t._state)?Promise.resolve(s(void 0,!0)):"errored"===t._state?Promise.reject(t._storedError):(y("readable"===t._state),t._readableStreamController.__pullSteps())}var et=function(){function e(t,r,n,a){if(i(this,e),!1===I(t))throw TypeError("ReadableStreamDefaultController can only be constructed with a ReadableStream instance");if(void 0!==t._readableStreamController)throw TypeError("ReadableStreamDefaultController instances can only be created by the ReadableStream constructor");this._controlledReadableStream=t,this._underlyingSource=r,this._queue=void 0,this._queueTotalSize=void 0,w(this),this._started=!1,this._closeRequested=!1,this._pullAgain=!1,this._pulling=!1;var o=h(n,a);this._strategySize=o.size,this._strategyHWM=o.highWaterMark;var s=this;Promise.resolve(l(r,"start",[this])).then(function(){s._started=!0,y(!1===s._pulling),y(!1===s._pullAgain),en(s)},function(e){es(s,e)}).catch(_)}return n(e,[{key:"close",value:function(){if(!1===er(this))throw eF("close");if(!0===this._closeRequested)throw TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");ei(this)}},{key:"enqueue",value:function(e){if(!1===er(this))throw eF("enqueue");if(!0===this._closeRequested)throw TypeError("stream is closed or draining");var t=this._controlledReadableStream._state;if("readable"!==t)throw TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");return ea(this,e)}},{key:"error",value:function(e){if(!1===er(this))throw eF("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw TypeError("The stream is "+t._state+" and so cannot be errored");eo(this,e)}},{key:"__cancelSteps",value:function(e){return w(this),u(this._underlyingSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(this._queue.length>0){var t=x(this);return!0===this._closeRequested&&0===this._queue.length?W(e):en(this),Promise.resolve(s(t,!1))}var r=j(e);return en(this),r}},{key:"desiredSize",get:function(){if(!1===er(this))throw eF("desiredSize");return ec(this)}}]),e}();function er(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_underlyingSource"))}function en(e){var t;if(!1!=("closed"!==(t=e._controlledReadableStream)._state&&"errored"!==t._state&&!0!==e._closeRequested&&!1!==e._started&&!!(!0===L(t)&&H(t)>0||ec(e)>0))){if(!0===e._pulling){e._pullAgain=!0;return}y(!1===e._pullAgain),e._pulling=!0,u(e._underlyingSource,"pull",[e]).then(function(){if(e._pulling=!1,!0===e._pullAgain)return e._pullAgain=!1,en(e)},function(t){es(e,t)}).catch(_)}}function ei(e){var t=e._controlledReadableStream;y(!1===e._closeRequested),y("readable"===t._state),e._closeRequested=!0,0===e._queue.length&&W(t)}function ea(e,t){var r=e._controlledReadableStream;if(y(!1===e._closeRequested),y("readable"===r._state),!0===L(r)&&H(r)>0)B(r,t,!1);else{var n=1;if(void 0!==e._strategySize){var i=e._strategySize;try{n=i(t)}catch(t){throw es(e,t),t}}try{S(e,t,n)}catch(t){throw es(e,t),t}}en(e)}function eo(e,t){var r=e._controlledReadableStream;y("readable"===r._state),w(e),q(r,t)}function es(e,t){"readable"===e._controlledReadableStream._state&&eo(e,t)}function ec(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}var el=function(){function e(t,r){i(this,e),this._associatedReadableByteStreamController=t,this._view=r}return n(e,[{key:"respond",value:function(e){if(!1===eh(this))throw eU("respond");if(void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");(function(e,t){if(!1===c(t=Number(t)))throw RangeError("bytesWritten must be a finite");y(e._pendingPullIntos.length>0),eS(e,t)})(this._associatedReadableByteStreamController,e)}},{key:"respondWithNewView",value:function(e){if(!1===eh(this))throw eU("respond");if(void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(e))throw TypeError("You can only respond with array buffer views");(function(e,t){y(e._pendingPullIntos.length>0);var r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,eS(e,t.byteLength)})(this._associatedReadableByteStreamController,e)}},{key:"view",get:function(){return this._view}}]),e}(),eu=function(){function e(t,r,n){if(i(this,e),!1===I(t))throw TypeError("ReadableByteStreamController can only be constructed with a ReadableStream instance given a byte source");if(void 0!==t._readableStreamController)throw TypeError("ReadableByteStreamController instances can only be created by the ReadableStream constructor given a byte source");this._controlledReadableStream=t,this._underlyingByteSource=r,this._pullAgain=!1,this._pulling=!1,ep(this),this._queue=this._queueTotalSize=void 0,w(this),this._closeRequested=!1,this._started=!1,this._strategyHWM=f(n);var a=r.autoAllocateChunkSize;if(void 0!==a&&(!1===Number.isInteger(a)||a<=0))throw RangeError("autoAllocateChunkSize must be a positive integer");this._autoAllocateChunkSize=a,this._pendingPullIntos=[];var o=this;Promise.resolve(l(r,"start",[this])).then(function(){o._started=!0,y(!1===o._pulling),y(!1===o._pullAgain),ef(o)},function(e){"readable"===t._state&&eT(o,e)}).catch(_)}return n(e,[{key:"close",value:function(){if(!1===ed(this))throw eO("close");if(!0===this._closeRequested)throw TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");(function(e){var t=e._controlledReadableStream;if(y(!1===e._closeRequested),y("readable"===t._state),e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0&&e._pendingPullIntos[0].bytesFilled>0){var r=TypeError("Insufficient bytes to fill elements in the given buffer");throw eT(e,r),r}W(t)})(this)}},{key:"enqueue",value:function(e){if(!1===ed(this))throw eO("enqueue");if(!0===this._closeRequested)throw TypeError("stream is closed or draining");var t,r,n,i,a,o=this._controlledReadableStream._state;if("readable"!==o)throw TypeError("The stream (in "+o+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(e))throw TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");t=this._controlledReadableStream,y(!1===this._closeRequested),y("readable"===t._state),r=e.buffer,n=e.byteOffset,i=e.byteLength,a=d(r),!0===X(t)?0===H(t)?eb(this,a,n,i):(y(0===this._queue.length),B(t,new Uint8Array(a,n,i),!1)):!0===G(t)?(eb(this,a,n,i),ex(this)):(y(!1===L(t),"stream must not be locked"),eb(this,a,n,i))}},{key:"error",value:function(e){if(!1===ed(this))throw eO("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw TypeError("The stream is "+t._state+" and so cannot be errored");eT(this,e)}},{key:"__cancelSteps",value:function(e){return this._pendingPullIntos.length>0&&(this._pendingPullIntos[0].bytesFilled=0),w(this),u(this._underlyingByteSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(y(!0===X(e)),this._queueTotalSize>0){y(0===H(e));var t=this._queue.shift();this._queueTotalSize-=t.byteLength,e_(this);var r=void 0;try{r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(e){return Promise.reject(e)}return Promise.resolve(s(r,!1))}var n=this._autoAllocateChunkSize;if(void 0!==n){var i=void 0;try{i=new ArrayBuffer(n)}catch(e){return Promise.reject(e)}var a={buffer:i,byteOffset:0,byteLength:n,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(a)}var o=j(e);return ef(this),o}},{key:"byobRequest",get:function(){if(!1===ed(this))throw eO("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var e=this._pendingPullIntos[0],t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled);this._byobRequest=new el(this,t)}return this._byobRequest}},{key:"desiredSize",get:function(){if(!1===ed(this))throw eO("desiredSize");return eD(this)}}]),e}();function ed(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_underlyingByteSource"))}function eh(e){return!!(b(e)&&Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController"))}function ef(e){var t;if(!1!=("readable"===(t=e._controlledReadableStream)._state&&!0!==e._closeRequested&&!1!==e._started&&!!(!0===X(t)&&H(t)>0||!0===G(t)&&z(t)>0||eD(e)>0))){if(!0===e._pulling){e._pullAgain=!0;return}y(!1===e._pullAgain),e._pulling=!0,u(e._underlyingByteSource,"pull",[e]).then(function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,ef(e))},function(t){"readable"===e._controlledReadableStream._state&&eT(e,t)}).catch(_)}}function ep(e){eA(e),e._pendingPullIntos=[]}function eg(e,t){y("errored"!==e._state,"state must not be errored");var r,n,i=!1;"closed"===e._state&&(y(0===t.bytesFilled),i=!0);var a=em(t);"default"===t.readerType?B(e,a,i):(y("byob"===t.readerType),r=i,y((n=e._reader)._readIntoRequests.length>0),n._readIntoRequests.shift()._resolve(s(a,r)))}function em(e){var t=e.bytesFilled,r=e.elementSize;return y(t<=e.byteLength),y(t%r==0),new e.ctor(e.buffer,e.byteOffset,t/r)}function eb(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function ev(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),a=t.bytesFilled+i,s=a-a%r,c=i,l=!1;s>n&&(c=s-t.bytesFilled,l=!0);for(var u=e._queue;c>0;){var d=u[0],h=Math.min(c,d.byteLength),f=t.byteOffset+t.bytesFilled;o(t.buffer,f,d.buffer,d.byteOffset,h),d.byteLength===h?u.shift():(d.byteOffset+=h,d.byteLength-=h),e._queueTotalSize-=h,ey(e,h,t),c-=h}return!1===l&&(y(0===e._queueTotalSize,"queue must be empty"),y(t.bytesFilled>0),y(t.bytesFilled<t.elementSize)),l}function ey(e,t,r){y(0===e._pendingPullIntos.length||e._pendingPullIntos[0]===r),eA(e),r.bytesFilled+=t}function e_(e){y("readable"===e._controlledReadableStream._state),0===e._queueTotalSize&&!0===e._closeRequested?W(e._controlledReadableStream):ef(e)}function eA(e){void 0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function ex(e){for(y(!1===e._closeRequested);e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos[0];!0===ev(e,t)&&(ew(e),eg(e._controlledReadableStream,t))}}function eS(e,t){var r=e._pendingPullIntos[0],n=e._controlledReadableStream;if("closed"===n._state){if(0!==t)throw TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function(e,t){t.buffer=d(t.buffer),y(0===t.bytesFilled,"bytesFilled must be 0");var r=e._controlledReadableStream;if(!0===G(r))for(;z(r)>0;)eg(r,ew(e))}(e,r)}else y("readable"===n._state),function(e,t,r){if(r.bytesFilled+t>r.byteLength)throw RangeError("bytesWritten out of range");if(ey(e,t,r),!(r.bytesFilled<r.elementSize)){ew(e);var n=r.bytesFilled%r.elementSize;if(n>0){var i=r.byteOffset+r.bytesFilled,a=r.buffer.slice(i-n,i);eb(e,a,0,a.byteLength)}r.buffer=d(r.buffer),r.bytesFilled-=n,eg(e._controlledReadableStream,r),ex(e)}}(e,t,r)}function ew(e){var t=e._pendingPullIntos.shift();return eA(e),t}function eT(e,t){var r=e._controlledReadableStream;y("readable"===r._state),ep(e),w(e),q(r,t)}function eD(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function eC(e){return TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function ek(e){return TypeError("Cannot "+e+" a stream using a released reader")}function eE(e){return TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}function eP(e,t){y(void 0!==e._closedPromise_resolve),y(void 0!==e._closedPromise_reject),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function eR(e){return TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function eF(e){return TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function eU(e){return TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function eO(e){return TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}},function(e,t,r){var n=r(6),i=r(4),a=r(2);t.TransformStream=n.TransformStream,t.ReadableStream=i.ReadableStream,t.IsReadableStreamDisturbed=i.IsReadableStreamDisturbed,t.ReadableStreamDefaultControllerClose=i.ReadableStreamDefaultControllerClose,t.ReadableStreamDefaultControllerEnqueue=i.ReadableStreamDefaultControllerEnqueue,t.ReadableStreamDefaultControllerError=i.ReadableStreamDefaultControllerError,t.ReadableStreamDefaultControllerGetDesiredSize=i.ReadableStreamDefaultControllerGetDesiredSize,t.AcquireWritableStreamDefaultWriter=a.AcquireWritableStreamDefaultWriter,t.IsWritableStream=a.IsWritableStream,t.IsWritableStreamLocked=a.IsWritableStreamLocked,t.WritableStream=a.WritableStream,t.WritableStreamAbort=a.WritableStreamAbort,t.WritableStreamDefaultControllerError=a.WritableStreamDefaultControllerError,t.WritableStreamDefaultWriterCloseWithErrorPropagation=a.WritableStreamDefaultWriterCloseWithErrorPropagation,t.WritableStreamDefaultWriterRelease=a.WritableStreamDefaultWriterRelease,t.WritableStreamDefaultWriterWrite=a.WritableStreamDefaultWriterWrite},function(e,t,r){var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var a=r(1).assert,o=r(0),s=o.InvokeOrNoop,c=o.PromiseInvokeOrPerformFallback,l=o.PromiseInvokeOrNoop,u=o.typeIsObject,d=r(4),h=d.ReadableStream,f=d.ReadableStreamDefaultControllerClose,p=d.ReadableStreamDefaultControllerEnqueue,g=d.ReadableStreamDefaultControllerError,m=d.ReadableStreamDefaultControllerGetDesiredSize,b=r(2),v=b.WritableStream,y=b.WritableStreamDefaultControllerError;function _(e,t){if(!0===e._errored)throw TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw TypeError("Readable side is already closed");var r=e._readableController;try{p(r,t)}catch(t){throw e._readableClosed=!0,x(e,t),e._storedError}!0==0>=m(r)&&!1===e._backpressure&&T(e,!0)}function A(e){a(!1===e._errored),a(!1===e._readableClosed);try{f(e._readableController)}catch(e){a(!1)}e._readableClosed=!0}function x(e,t){!1===e._errored&&S(e,t)}function S(e,t){a(!1===e._errored),e._errored=!0,e._storedError=t,!1===e._writableDone&&y(e._writableController,t),!1===e._readableClosed&&g(e._readableController,t)}function w(e){return(a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!1===e._backpressure)?Promise.resolve():(a(!0===e._backpressure,"_backpressure should have been initialized"),e._backpressureChangePromise)}function T(e,t){a(e._backpressure!==t,"TransformStreamSetBackpressure() should be called only when backpressure is changed"),void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(t),e._backpressureChangePromise=new Promise(function(t){e._backpressureChangePromise_resolve=t}),e._backpressureChangePromise.then(function(e){a(e!==t,"_backpressureChangePromise should be fulfilled only when backpressure is changed")}),e._backpressure=t}function D(e,t){return _(t._controlledTransformStream,e),Promise.resolve()}function C(e){return!!(u(e)&&Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream"))}function k(e){return!!(u(e)&&Object.prototype.hasOwnProperty.call(e,"_transformStreamController"))}var E=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._writableController=e,this._startPromise.then(function(){return w(t)})}},{key:"write",value:function(e){var t,r;return a(!1===(t=this._transformStream)._errored),a(!1===t._transforming),a(!1===t._backpressure),t._transforming=!0,c(t._transformer,"transform",[e,r=t._transformStreamController],D,[e,r]).then(function(){return t._transforming=!1,w(t)},function(e){return x(t,e),Promise.reject(e)})}},{key:"abort",value:function(){var e=this._transformStream;e._writableDone=!0,S(e,TypeError("Writable side aborted"))}},{key:"close",value:function(){var e=this._transformStream;return a(!1===e._transforming),e._writableDone=!0,l(e._transformer,"flush",[e._transformStreamController]).then(function(){return!0===e._errored?Promise.reject(e._storedError):(!1===e._readableClosed&&A(e),Promise.resolve())}).catch(function(t){return x(e,t),Promise.reject(e._storedError)})}}]),e}(),P=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._readableController=e,this._startPromise.then(function(){return(a(void 0!==t._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!0===t._backpressure)?Promise.resolve():(a(!1===t._backpressure,"_backpressure should have been initialized"),t._backpressureChangePromise)})}},{key:"pull",value:function(){var e=this._transformStream;return a(!0===e._backpressure,"pull() should be never called while _backpressure is false"),a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),T(e,!1),e._backpressureChangePromise}},{key:"cancel",value:function(){var e=this._transformStream;e._readableClosed=!0,S(e,TypeError("Readable side canceled"))}}]),e}(),R=function(){function e(t){if(i(this,e),!1===k(t))throw TypeError("TransformStreamDefaultController can only be constructed with a TransformStream instance");if(void 0!==t._transformStreamController)throw TypeError("TransformStreamDefaultController instances can only be created by the TransformStream constructor");this._controlledTransformStream=t}return n(e,[{key:"enqueue",value:function(e){if(!1===C(this))throw U("enqueue");_(this._controlledTransformStream,e)}},{key:"close",value:function(){if(!1===C(this))throw U("close");!function(e){if(!0===e._errored)throw TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw TypeError("Readable side is already closed");A(e)}(this._controlledTransformStream)}},{key:"error",value:function(e){if(!1===C(this))throw U("error");!function(e,t){if(!0===e._errored)throw TypeError("TransformStream is already errored");S(e,t)}(this._controlledTransformStream,e)}},{key:"desiredSize",get:function(){if(!1===C(this))throw U("desiredSize");return m(this._controlledTransformStream._readableController)}}]),e}(),F=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e),this._transformer=t;var r=t.readableStrategy,n=t.writableStrategy;this._transforming=!1,this._errored=!1,this._storedError=void 0,this._writableController=void 0,this._readableController=void 0,this._transformStreamController=void 0,this._writableDone=!1,this._readableClosed=!1,this._backpressure=void 0,this._backpressureChangePromise=void 0,this._backpressureChangePromise_resolve=void 0,this._transformStreamController=new R(this);var o=void 0,c=new Promise(function(e){o=e}),l=new P(this,c);this._readable=new h(l,r);var u=new E(this,c);this._writable=new v(u,n),a(void 0!==this._writableController),a(void 0!==this._readableController),T(this,0>=m(this._readableController));var d=this,f=s(t,"start",[d._transformStreamController]);o(f),c.catch(function(e){!1===d._errored&&(d._errored=!0,d._storedError=e)})}return n(e,[{key:"readable",get:function(){if(!1===k(this))throw O("readable");return this._readable}},{key:"writable",get:function(){if(!1===k(this))throw O("writable");return this._writable}}]),e}();function U(e){return TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function O(e){return TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}e.exports={TransformStream:F}},function(e,t,r){e.exports=r(5)}]))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.build=t.version=t.setPDFNetworkStreamFactory=t.PDFPageProxy=t.PDFDocumentProxy=t.PDFWorker=t.PDFDataRangeTransport=t.LoopbackPort=t.getDocument=void 0;var i,a,o,s,c=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),l="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},u=n(1),d=n(115),h=n(116),f=n(117),p=n(118),g=(i=n(3))&&i.__esModule?i:{default:i},m=n(120),b=n(121),v=n(122),y=n(124),_=n(125),A=!1,x=void 0,S="undefined"!=typeof document&&document.currentScript?document.currentScript.src:null,w=null,T=!1;"undefined"==typeof window&&(A=!0),T=!0,"undefined"!=typeof requirejs&&requirejs.toUrl&&(x=requirejs.toUrl("pdfjs-dist/build/pdf.worker.js"));var D="undefined"!=typeof requirejs&&requirejs.load;w=T?function(e){r.e(3651).then((function(){e(r(73651).WorkerMessageHandler)}).bind(null,r)).catch(r.oe)}:D?function(e){requirejs(["pdfjs-dist/build/pdf.worker"],function(t){e(t.WorkerMessageHandler)})}:null;var C=function(){var e=0;function t(){this._capability=(0,u.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return t.prototype={get promise(){return this._capability.promise},destroy:function(){var e=this;return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then(function(){e._transport=null,e._worker&&(e._worker.destroy(),e._worker=null)})},then:function(e,t){return this.promise.then.apply(this.promise,arguments)}},t}(),k=function(){function e(e,t){this.length=e,this.initialData=t,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._readyCapability=(0,u.createPromiseCapability)()}return e.prototype={addRangeListener:function(e){this._rangeListeners.push(e)},addProgressListener:function(e){this._progressListeners.push(e)},addProgressiveReadListener:function(e){this._progressiveReadListeners.push(e)},onDataRange:function(e,t){for(var r=this._rangeListeners,n=0,i=r.length;n<i;++n)r[n](e,t)},onDataProgress:function(e){var t=this;this._readyCapability.promise.then(function(){for(var r=t._progressListeners,n=0,i=r.length;n<i;++n)r[n](e)})},onDataProgressiveRead:function(e){var t=this;this._readyCapability.promise.then(function(){for(var r=t._progressiveReadListeners,n=0,i=r.length;n<i;++n)r[n](e)})},transportReady:function(){this._readyCapability.resolve()},requestDataRange:function(e,t){(0,u.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")},abort:function(){}},e}(),E=function(){function e(e,t,r){this.pdfInfo=e,this.transport=t,this.loadingTask=r}return e.prototype={get numPages(){return this.pdfInfo.numPages},get fingerprint(){return this.pdfInfo.fingerprint},getPage:function(e){return this.transport.getPage(e)},getPageIndex:function(e){return this.transport.getPageIndex(e)},getDestinations:function(){return this.transport.getDestinations()},getDestination:function(e){return this.transport.getDestination(e)},getPageLabels:function(){return this.transport.getPageLabels()},getPageMode:function(){return this.transport.getPageMode()},getAttachments:function(){return this.transport.getAttachments()},getJavaScript:function(){return this.transport.getJavaScript()},getOutline:function(){return this.transport.getOutline()},getMetadata:function(){return this.transport.getMetadata()},getData:function(){return this.transport.getData()},getDownloadInfo:function(){return this.transport.downloadInfoCapability.promise},getStats:function(){return this.transport.getStats()},cleanup:function(){this.transport.startCleanup()},destroy:function(){return this.loadingTask.destroy()},get loadingParams(){return this.transport.loadingParams}},e}(),P=function(){function e(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.pageIndex=e,this.pageInfo=t,this.transport=r,this._stats=n?new d.StatTimer:d.DummyStatTimer,this._pdfBug=n,this.commonObjs=r.commonObjs,this.objs=new O,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return e.prototype={get pageNumber(){return this.pageIndex+1},get rotate(){return this.pageInfo.rotate},get ref(){return this.pageInfo.ref},get userUnit(){return this.pageInfo.userUnit},get view(){return this.pageInfo.view},getViewport:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.rotate,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return new d.PageViewport({viewBox:this.view,scale:e,rotation:t,dontFlip:r})},getAnnotations:function(e){var t=e&&e.intent||null;return this.annotationsPromise&&this.annotationsIntent===t||(this.annotationsPromise=this.transport.getAnnotations(this.pageIndex,t),this.annotationsIntent=t),this.annotationsPromise},render:function(e){var t=this,r=this._stats;r.time("Overall"),this.pendingCleanup=!1;var n="print"===e.intent?"print":"display",i=e.canvasFactory||new d.DOMCanvasFactory,a=new _.WebGLContext({enable:e.enableWebGL});this.intentStates[n]||(this.intentStates[n]=Object.create(null));var o=this.intentStates[n];o.displayReadyCapability||(o.receivingOperatorList=!0,o.displayReadyCapability=(0,u.createPromiseCapability)(),o.operatorList={fnArray:[],argsArray:[],lastChunk:!1},r.time("Page Request"),this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageNumber-1,intent:n,renderInteractiveForms:!0===e.renderInteractiveForms}));var s=function(e){var n=o.renderTasks.indexOf(c);n>=0&&o.renderTasks.splice(n,1),t.cleanupAfterRender&&(t.pendingCleanup=!0),t._tryCleanup(),e?c.capability.reject(e):c.capability.resolve(),r.timeEnd("Rendering"),r.timeEnd("Overall")},c=new L(s,e,this.objs,this.commonObjs,o.operatorList,this.pageNumber,i,a,this._pdfBug);c.useRequestAnimationFrame="print"!==n,o.renderTasks||(o.renderTasks=[]),o.renderTasks.push(c);var l=c.task;return o.displayReadyCapability.promise.then(function(e){if(t.pendingCleanup){s();return}r.time("Rendering"),c.initializeGraphics(e),c.operatorListChanged()}).catch(s),l},getOperatorList:function(){var e,t="oplist";this.intentStates[t]||(this.intentStates[t]=Object.create(null));var r=this.intentStates[t];return r.opListReadCapability||((e={}).operatorListChanged=function(){if(r.operatorList.lastChunk){r.opListReadCapability.resolve(r.operatorList);var t=r.renderTasks.indexOf(e);t>=0&&r.renderTasks.splice(t,1)}},r.receivingOperatorList=!0,r.opListReadCapability=(0,u.createPromiseCapability)(),r.renderTasks=[],r.renderTasks.push(e),r.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageIndex,intent:t})),r.opListReadCapability.promise},streamTextContent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this.pageNumber-1,normalizeWhitespace:!0===e.normalizeWhitespace,combineTextItems:!0!==e.disableCombineTextItems},{highWaterMark:100,size:function(e){return e.items.length}})},getTextContent:function(e){e=e||{};var t=this.streamTextContent(e);return new Promise(function(e,r){var n=t.getReader(),i={items:[],styles:Object.create(null)};!function t(){n.read().then(function(r){var n=r.value;if(r.done){e(i);return}u.Util.extendObj(i.styles,n.styles),u.Util.appendToArray(i.items,n.items),t()},r)}()})},_destroy:function(){this.destroyed=!0,this.transport.pageCache[this.pageIndex]=null;var e=[];return Object.keys(this.intentStates).forEach(function(t){"oplist"!==t&&this.intentStates[t].renderTasks.forEach(function(t){var r=t.capability.promise.catch(function(){});e.push(r),t.cancel()})},this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(e)},cleanup:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pendingCleanup=!0,this._tryCleanup(e)},_tryCleanup:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];!this.pendingCleanup||Object.keys(this.intentStates).some(function(e){var t=this.intentStates[e];return 0!==t.renderTasks.length||t.receivingOperatorList},this)||(Object.keys(this.intentStates).forEach(function(e){delete this.intentStates[e]},this),this.objs.clear(),this.annotationsPromise=null,e&&this._stats instanceof d.StatTimer&&(this._stats=new d.StatTimer),this.pendingCleanup=!1)},_startRenderPage:function(e,t){var r=this.intentStates[t];r.displayReadyCapability&&r.displayReadyCapability.resolve(e)},_renderPageChunk:function(e,t){var r,n,i=this.intentStates[t];for(r=0,n=e.length;r<n;r++)i.operatorList.fnArray.push(e.fnArray[r]),i.operatorList.argsArray.push(e.argsArray[r]);for(r=0,i.operatorList.lastChunk=e.lastChunk;r<i.renderTasks.length;r++)i.renderTasks[r].operatorListChanged();e.lastChunk&&(i.receivingOperatorList=!1,this._tryCleanup())},get stats(){return this._stats instanceof d.StatTimer?this._stats:null}},e}(),R=function(){function e(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this._listeners=[],this._defer=t,this._deferred=Promise.resolve(void 0)}return c(e,[{key:"postMessage",value:function(e,t){var r=this;if(!this._defer){this._listeners.forEach(function(t){t.call(this,{data:e})},this);return}var n=new WeakMap,i={data:function e(r){if((void 0===r?"undefined":l(r))!=="object"||null===r)return r;if(n.has(r))return n.get(r);if((s=r.buffer)&&(0,u.isArrayBuffer)(s)){var i=t&&t.includes(s);return o=r===s?r:i?new r.constructor(s,r.byteOffset,r.byteLength):new r.constructor(r),n.set(r,o),o}for(var a in o=Array.isArray(r)?[]:{},n.set(r,o),r){for(var o,s,c,d=r;!(c=Object.getOwnPropertyDescriptor(d,a));)d=Object.getPrototypeOf(d);void 0!==c.value&&"function"!=typeof c.value&&(o[a]=e(c.value))}return o}(e)};this._deferred.then(function(){r._listeners.forEach(function(e){e.call(this,i)},r)})}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var r=this._listeners.indexOf(t);this._listeners.splice(r,1)}},{key:"terminate",value:function(){this._listeners=[]}}]),e}(),F=function(){var e=0;function t(){if(m.GlobalWorkerOptions.workerSrc)return m.GlobalWorkerOptions.workerSrc;if(void 0!==x)return x;if(S)return S.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2");throw Error('No "GlobalWorkerOptions.workerSrc" specified.')}function r(){return"undefined"==typeof window?null:window.pdfjsWorker&&window.pdfjsWorker.WorkerMessageHandler}var n=void 0,i=new WeakMap;function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,r=e.port,n=void 0===r?null:r,a=e.postMessageTransfers,o=e.verbosity,s=void 0===o?null:o;if(n&&i.has(n))throw Error("Cannot use more than one PDFWorker per port");if(this.name=void 0===t?null:t,this.destroyed=!1,this.postMessageTransfers=!1!==(void 0===a||a),this.verbosity=(0,u.isNum)(s)?s:(0,u.getVerbosityLevel)(),this._readyCapability=(0,u.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,n){i.set(n,this),this._initializeFromPort(n);return}this._initialize()}return a.prototype={get promise(){return this._readyCapability.promise},get port(){return this._port},get messageHandler(){return this._messageHandler},_initializeFromPort:function(e){this._port=e,this._messageHandler=new b.MessageHandler("main","worker",e),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()},_initialize:function(){var e=this;if("undefined"!=typeof Worker&&!A&&!r()){var n,i=t();try{(0,u.isSameOrigin)(window.location.href,i)||(n=new URL(i,window.location).href,i=URL.createObjectURL(new Blob(["importScripts('"+n+"');"])));var a=new Worker(i),o=new b.MessageHandler("main","worker",a),s=function(){a.removeEventListener("error",c),o.destroy(),a.terminate(),e.destroyed?e._readyCapability.reject(Error("Worker was destroyed")):e._setupFakeWorker()},c=function(){e._webWorker||s()};a.addEventListener("error",c),o.on("test",function(t){if(a.removeEventListener("error",c),e.destroyed){s();return}t&&t.supportTypedArray?(e._messageHandler=o,e._port=a,e._webWorker=a,t.supportTransfers||(e.postMessageTransfers=!1),e._readyCapability.resolve(),o.send("configure",{verbosity:e.verbosity})):(e._setupFakeWorker(),o.destroy(),a.terminate())}),o.on("ready",function(t){if(a.removeEventListener("error",c),e.destroyed){s();return}try{l()}catch(t){e._setupFakeWorker()}});var l=function(){var t=new Uint8Array([e.postMessageTransfers?255:0]);try{o.send("test",t,[t.buffer])}catch(e){(0,u.info)("Cannot use postMessage transfers"),t[0]=0,o.send("test",t)}};l();return}catch(e){(0,u.info)("The worker has been disabled.")}}this._setupFakeWorker()},_setupFakeWorker:function(){var i=this;A||((0,u.warn)("Setting up fake worker."),A=!0),(function(){if(n)return n.promise;n=(0,u.createPromiseCapability)();var e=r();return e?n.resolve(e):(w||function(e){u.Util.loadScript(t(),function(){e(window.pdfjsWorker.WorkerMessageHandler)})})(n.resolve),n.promise})().then(function(t){if(i.destroyed){i._readyCapability.reject(Error("Worker was destroyed"));return}var r=new R(Uint8Array!==Float32Array);i._port=r;var n="fake"+e++,a=new b.MessageHandler(n+"_worker",n,r);t.setup(a,r);var o=new b.MessageHandler(n,n+"_worker",r);i._messageHandler=o,i._readyCapability.resolve()})},destroy:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),i.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},a.fromPort=function(e){return i.has(e.port)?i.get(e.port):new a(e)},a.getWorkerSrc=function(){return t()},a}(),U=function(){function e(e,t,r,n,i){this.messageHandler=e,this.loadingTask=t,this.commonObjs=new O,this.fontLoader=new h.FontLoader(t.docId),this._params=n,this.CMapReaderFactory=new i({baseUrl:n.cMapUrl,isCompressed:n.cMapPacked}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=r,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,u.createPromiseCapability)(),this.setupMessageHandler()}return e.prototype={destroy:function(){var e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,u.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(Error("Worker was destroyed during onPassword callback"));var t=[];this.pageCache.forEach(function(e){e&&t.push(e._destroy())}),this.pageCache=[],this.pagePromises=[];var r=this.messageHandler.sendWithPromise("Terminate",null);return t.push(r),Promise.all(t).then(function(){e.fontLoader.clear(),e._networkStream&&e._networkStream.cancelAllRequests(),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise},setupMessageHandler:function(){var e=this.messageHandler,t=this.loadingTask;e.on("GetReader",function(e,t){var r=this;(0,u.assert)(this._networkStream),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=function(e){r._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=function(){r._fullReader.read().then(function(e){var r=e.value;if(e.done){t.close();return}(0,u.assert)((0,u.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r])}).catch(function(e){t.error(e)})},t.onCancel=function(e){r._fullReader.cancel(e)}},this),e.on("ReaderHeadersReady",function(e){var t=this,r=(0,u.createPromiseCapability)(),n=this._fullReader;return n.headersReady.then(function(){if(!n.isStreamingSupported||!n.isRangeSupported){if(t._lastProgress){var e=t.loadingTask;e.onProgress&&e.onProgress(t._lastProgress)}n.onProgress=function(e){var r=t.loadingTask;r.onProgress&&r.onProgress({loaded:e.loaded,total:e.total})}}r.resolve({isStreamingSupported:n.isStreamingSupported,isRangeSupported:n.isRangeSupported,contentLength:n.contentLength})},r.reject),r.promise},this),e.on("GetRangeReader",function(e,t){(0,u.assert)(this._networkStream);var r=this._networkStream.getRangeReader(e.begin,e.end);t.onPull=function(){r.read().then(function(e){var r=e.value;if(e.done){t.close();return}(0,u.assert)((0,u.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r])}).catch(function(e){t.error(e)})},t.onCancel=function(e){r.cancel(e)}},this),e.on("GetDoc",function(e){var t=e.pdfInfo;this.numPages=t.numPages;var r=this.loadingTask,n=new E(t,this,r);this.pdfDocument=n,r._capability.resolve(n)},this),e.on("PasswordRequest",function(e){var r=this;if(this._passwordCapability=(0,u.createPromiseCapability)(),t.onPassword)try{t.onPassword(function(e){r._passwordCapability.resolve({password:e})},e.code)}catch(e){this._passwordCapability.reject(e)}else this._passwordCapability.reject(new u.PasswordException(e.message,e.code));return this._passwordCapability.promise},this),e.on("PasswordException",function(e){t._capability.reject(new u.PasswordException(e.message,e.code))},this),e.on("InvalidPDF",function(e){this.loadingTask._capability.reject(new u.InvalidPDFException(e.message))},this),e.on("MissingPDF",function(e){this.loadingTask._capability.reject(new u.MissingPDFException(e.message))},this),e.on("UnexpectedResponse",function(e){this.loadingTask._capability.reject(new u.UnexpectedResponseException(e.message,e.status))},this),e.on("UnknownError",function(e){this.loadingTask._capability.reject(new u.UnknownErrorException(e.message,e.details))},this),e.on("DataLoaded",function(e){this.downloadInfoCapability.resolve(e)},this),e.on("PDFManagerReady",function(e){},this),e.on("StartRenderPage",function(e){if(!this.destroyed){var t=this.pageCache[e.pageIndex];t._stats.timeEnd("Page Request"),t._startRenderPage(e.transparency,e.intent)}},this),e.on("RenderPageChunk",function(e){this.destroyed||this.pageCache[e.pageIndex]._renderPageChunk(e.operatorList,e.intent)},this),e.on("commonobj",function(e){var t=this;if(!this.destroyed){var r=e[0],n=e[1];if(!this.commonObjs.hasData(r))switch(n){case"Font":var i=e[2],a=this._params;if("error"in i){var o=i.error;(0,u.warn)("Error during font loading: "+o),this.commonObjs.resolve(r,o);break}var s=null;a.pdfBug&&g.default.FontInspector&&g.default.FontInspector.enabled&&(s={registerFont:function(e,t){g.default.FontInspector.fontAdded(e,t)}});var c=new h.FontFaceObject(i,{isEvalSupported:a.isEvalSupported,disableFontFace:a.disableFontFace,fontRegistry:s});this.fontLoader.bind([c],function(e){t.commonObjs.resolve(r,c)});break;case"FontPath":this.commonObjs.resolve(r,e[2]);break;default:throw Error("Got unknown common object type "+n)}}},this),e.on("obj",function(e){if(!this.destroyed){var t,r=e[0],n=e[1],i=e[2],a=this.pageCache[n];if(!a.objs.hasData(r))switch(i){case"JpegStream":return t=e[3],new Promise(function(e,r){var n=new Image;n.onload=function(){e(n)},n.onerror=function(){r(Error("Error during JPEG image loading"))},n.src=t}).then(function(e){a.objs.resolve(r,e)});case"Image":t=e[3],a.objs.resolve(r,t),t&&"data"in t&&t.data.length>8e6&&(a.cleanupAfterRender=!0);break;default:throw Error("Got unknown object type "+i)}}},this),e.on("DocProgress",function(e){if(!this.destroyed){var t=this.loadingTask;t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}},this),e.on("PageError",function(e){if(!this.destroyed){var t=this.pageCache[e.pageNum-1].intentStates[e.intent];if(t.displayReadyCapability)t.displayReadyCapability.reject(e.error);else throw Error(e.error);if(t.operatorList){t.operatorList.lastChunk=!0;for(var r=0;r<t.renderTasks.length;r++)t.renderTasks[r].operatorListChanged()}}},this),e.on("UnsupportedFeature",function(e){if(!this.destroyed){var t=this.loadingTask;t.onUnsupportedFeature&&t.onUnsupportedFeature(e.featureId)}},this),e.on("JpegDecode",function(e){if(this.destroyed)return Promise.reject(Error("Worker was destroyed"));if("undefined"==typeof document)return Promise.reject(Error('"document" is not defined.'));var t=e[0],r=e[1];return 3!==r&&1!==r?Promise.reject(Error("Only 3 components or 1 component can be returned")):new Promise(function(e,n){var i=new Image;i.onload=function(){var t,n,a=i.width,o=i.height,s=a*o,c=4*s,l=new Uint8Array(s*r),u=document.createElement("canvas");u.width=a,u.height=o;var d=u.getContext("2d");d.drawImage(i,0,0);var h=d.getImageData(0,0,a,o).data;if(3===r)for(t=0,n=0;t<c;t+=4,n+=3)l[n]=h[t],l[n+1]=h[t+1],l[n+2]=h[t+2];else if(1===r)for(t=0,n=0;t<c;t+=4,n++)l[n]=h[t];e({data:l,width:a,height:o})},i.onerror=function(){n(Error("JpegDecode failed to load image"))},i.src=t})},this),e.on("FetchBuiltInCMap",function(e){return this.destroyed?Promise.reject(Error("Worker was destroyed")):this.CMapReaderFactory.fetch({name:e.name})},this)},getData:function(){return this.messageHandler.sendWithPromise("GetData",null)},getPage:function(e){var t=this;if(!Number.isInteger(e)||e<=0||e>this.numPages)return Promise.reject(Error("Invalid page request"));var r=e-1;if(r in this.pagePromises)return this.pagePromises[r];var n=this.messageHandler.sendWithPromise("GetPage",{pageIndex:r}).then(function(e){if(t.destroyed)throw Error("Transport destroyed");var n=new P(r,e,t,t._params.pdfBug);return t.pageCache[r]=n,n});return this.pagePromises[r]=n,n},getPageIndex:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e}).catch(function(e){return Promise.reject(Error(e))})},getAnnotations:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})},getDestinations:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)},getDestination:function(e){return this.messageHandler.sendWithPromise("GetDestination",{id:e})},getPageLabels:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)},getPageMode:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)},getAttachments:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)},getJavaScript:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)},getOutline:function(){return this.messageHandler.sendWithPromise("GetOutline",null)},getMetadata:function(){var e=this;return this.messageHandler.sendWithPromise("GetMetadata",null).then(function(t){return{info:t[0],metadata:t[1]?new v.Metadata(t[1]):null,contentDispositionFilename:e._fullReader?e._fullReader.filename:null}})},getStats:function(){return this.messageHandler.sendWithPromise("GetStats",null)},startCleanup:function(){var e=this;this.messageHandler.sendWithPromise("Cleanup",null).then(function(){for(var t=0,r=e.pageCache.length;t<r;t++){var n=e.pageCache[t];n&&n.cleanup()}e.commonObjs.clear(),e.fontLoader.clear()})},get loadingParams(){var t=this._params;return(0,u.shadow)(this,"loadingParams",{disableRange:t.disableRange,disableStream:t.disableStream,disableAutoFetch:t.disableAutoFetch,disableCreateObjectURL:t.disableCreateObjectURL,disableFontFace:t.disableFontFace,nativeImageDecoderSupport:t.nativeImageDecoderSupport})}},e}(),O=function(){function e(){this.objs=Object.create(null)}return e.prototype={ensureObj:function(e){if(this.objs[e])return this.objs[e];var t={capability:(0,u.createPromiseCapability)(),data:null,resolved:!1};return this.objs[e]=t,t},get:function(e,t){if(t)return this.ensureObj(e).capability.promise.then(t),null;var r=this.objs[e];if(!r||!r.resolved)throw Error("Requesting object that isn't resolved yet "+e);return r.data},resolve:function(e,t){var r=this.ensureObj(e);r.resolved=!0,r.data=t,r.capability.resolve(t)},isResolved:function(e){var t=this.objs;return!!t[e]&&t[e].resolved},hasData:function(e){return this.isResolved(e)},getData:function(e){var t=this.objs;return t[e]&&t[e].resolved?t[e].data:null},clear:function(){this.objs=Object.create(null)}},e}(),I=function(){function e(e){this._internalRenderTask=e,this.onContinue=null}return e.prototype={get promise(){return this._internalRenderTask.capability.promise},cancel:function(){this._internalRenderTask.cancel()},then:function(e,t){return this.promise.then.apply(this.promise,arguments)}},e}(),L=function(){var e=new WeakMap;function t(e,t,r,n,i,a,o,s){var c=arguments.length>8&&void 0!==arguments[8]&&arguments[8];this.callback=e,this.params=t,this.objs=r,this.commonObjs=n,this.operatorListIdx=null,this.operatorList=i,this.pageNumber=a,this.canvasFactory=o,this.webGLContext=s,this._pdfBug=c,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this.useRequestAnimationFrame=!1,this.cancelled=!1,this.capability=(0,u.createPromiseCapability)(),this.task=new I(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvasContext.canvas}return t.prototype={initializeGraphics:function(t){if(this._canvas){if(e.has(this._canvas))throw Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");e.set(this._canvas,this)}if(!this.cancelled){this._pdfBug&&g.default.StepperManager&&g.default.StepperManager.enabled&&(this.stepper=g.default.StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var r=this.params;this.gfx=new p.CanvasGraphics(r.canvasContext,this.commonObjs,this.objs,this.canvasFactory,this.webGLContext,r.imageLayer),this.gfx.beginDrawing({transform:r.transform,viewport:r.viewport,transparency:t,background:r.background}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}},cancel:function(){this.running=!1,this.cancelled=!0,this._canvas&&e.delete(this._canvas),this.callback(new d.RenderingCancelledException("Rendering cancelled, page "+this.pageNumber,"canvas"))},operatorListChanged:function(){if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()},_continue:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())},_scheduleNext:function(){this.useRequestAnimationFrame&&"undefined"!=typeof window?window.requestAnimationFrame(this._nextBound):Promise.resolve(void 0).then(this._nextBound)},_next:function(){!this.cancelled&&(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&e.delete(this._canvas),this.callback())))}},t}();t.version=o="2.0.550",t.build=s="76337fdc",t.getDocument=function(e){var t,r=new C;if("string"==typeof e)t={url:e};else if((0,u.isArrayBuffer)(e))t={data:e};else if(e instanceof k)t={range:e};else{if((void 0===e?"undefined":l(e))!=="object")throw Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!e.url&&!e.data&&!e.range)throw Error("Invalid parameter object: need either .data, .range or .url");t=e}var n=Object.create(null),i=null,o=null,s=d.DOMCMapReaderFactory;for(var c in t){if("url"===c&&"undefined"!=typeof window){n[c]=new URL(t[c],window.location).href;continue}if("range"===c){i=t[c];continue}if("worker"===c){o=t[c];continue}if("data"!==c||t[c]instanceof Uint8Array){if("CMapReaderFactory"===c){s=t[c];continue}}else{var h=t[c];if("string"==typeof h)n[c]=(0,u.stringToBytes)(h);else if((void 0===h?"undefined":l(h))!=="object"||null===h||isNaN(h.length)){if((0,u.isArrayBuffer)(h))n[c]=new Uint8Array(h);else throw Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.")}else n[c]=new Uint8Array(h);continue}n[c]=t[c]}n.rangeChunkSize=n.rangeChunkSize||65536,n.ignoreErrors=!0!==n.stopAtErrors,n.pdfBug=!0===n.pdfBug;var p=Object.values(u.NativeImageDecoding);if(void 0!==n.nativeImageDecoderSupport&&p.includes(n.nativeImageDecoderSupport)||(n.nativeImageDecoderSupport=f.apiCompatibilityParams.nativeImageDecoderSupport||u.NativeImageDecoding.DECODE),Number.isInteger(n.maxImageSize)||(n.maxImageSize=-1),"boolean"!=typeof n.isEvalSupported&&(n.isEvalSupported=!0),"boolean"!=typeof n.disableFontFace&&(n.disableFontFace=f.apiCompatibilityParams.disableFontFace||!1),"boolean"!=typeof n.disableRange&&(n.disableRange=f.apiCompatibilityParams.disableRange||!1),"boolean"!=typeof n.disableStream&&(n.disableStream=f.apiCompatibilityParams.disableStream||!1),"boolean"!=typeof n.disableAutoFetch&&(n.disableAutoFetch=!1),"boolean"!=typeof n.disableCreateObjectURL&&(n.disableCreateObjectURL=f.apiCompatibilityParams.disableCreateObjectURL||!1),(0,u.setVerbosityLevel)(n.verbosity),!o){var g={postMessageTransfers:n.postMessageTransfers,verbosity:n.verbosity},v=m.GlobalWorkerOptions.workerPort;v?(g.port=v,o=F.fromPort(g)):o=new F(g),r._worker=o}var _=r.docId;return o.promise.then(function(){var e,t;if(r.destroyed)throw Error("Loading aborted");return(e=o,t=i,e.destroyed?Promise.reject(Error("Worker was destroyed")):(t&&(n.length=t.length,n.initialData=t.initialData),e.messageHandler.sendWithPromise("GetDocRequest",{docId:_,apiVersion:"2.0.550",source:{data:n.data,url:n.url,password:n.password,disableAutoFetch:n.disableAutoFetch,rangeChunkSize:n.rangeChunkSize,length:n.length},maxImageSize:n.maxImageSize,disableFontFace:n.disableFontFace,disableCreateObjectURL:n.disableCreateObjectURL,postMessageTransfers:e.postMessageTransfers,docBaseUrl:n.docBaseUrl,nativeImageDecoderSupport:n.nativeImageDecoderSupport,ignoreErrors:n.ignoreErrors,isEvalSupported:n.isEvalSupported}).then(function(t){if(e.destroyed)throw Error("Worker was destroyed");return t}))).then(function(e){if(r.destroyed)throw Error("Loading aborted");var t=void 0;i?t=new y.PDFDataTransportStream({length:n.length,initialData:n.initialData,disableRange:n.disableRange,disableStream:n.disableStream},i):n.data||(t=a({url:n.url,length:n.length,httpHeaders:n.httpHeaders,withCredentials:n.withCredentials,rangeChunkSize:n.rangeChunkSize,disableRange:n.disableRange,disableStream:n.disableStream}));var c=new b.MessageHandler(_,e,o.port);c.postMessageTransfers=o.postMessageTransfers;var l=new U(c,r,t,n,s);r._transport=l,c.send("Ready",null)})}).catch(r._capability.reject),r},t.LoopbackPort=R,t.PDFDataRangeTransport=k,t.PDFWorker=F,t.PDFDocumentProxy=E,t.PDFPageProxy=P,t.setPDFNetworkStreamFactory=function(e){a=e},t.version=o,t.build=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DummyStatTimer=t.StatTimer=t.DOMSVGFactory=t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.LinkTarget=t.getFilenameFromUrl=t.addLinkAttributes=t.RenderingCancelledException=t.PageViewport=void 0;var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(1);function a(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var o="noopener noreferrer nofollow",s="http://www.w3.org/2000/svg",c=function(){function e(){a(this,e)}return n(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw Error("invalid canvas size");var r=document.createElement("canvas"),n=r.getContext("2d");return r.width=e,r.height=t,{canvas:r,context:n}}},{key:"reset",value:function(e,t,r){if(!e.canvas)throw Error("canvas is not specified");if(t<=0||r<=0)throw Error("invalid canvas size");e.canvas.width=t,e.canvas.height=r}},{key:"destroy",value:function(e){if(!e.canvas)throw Error("canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}}]),e}(),l=function(){function e(t){var r=t.baseUrl,n=t.isCompressed;a(this,e),this.baseUrl=void 0===r?null:r,this.isCompressed=void 0!==n&&n}return n(e,[{key:"fetch",value:function(e){var t=this,r=e.name;return this.baseUrl?r?new Promise(function(e,n){var a=t.baseUrl+r+(t.isCompressed?".bcmap":""),o=new XMLHttpRequest;o.open("GET",a,!0),t.isCompressed&&(o.responseType="arraybuffer"),o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE){if(200===o.status||0===o.status){var r=void 0;if(t.isCompressed&&o.response?r=new Uint8Array(o.response):!t.isCompressed&&o.responseText&&(r=(0,i.stringToBytes)(o.responseText)),r){e({cMapData:r,compressionType:t.isCompressed?i.CMapCompressionType.BINARY:i.CMapCompressionType.NONE});return}}n(Error("Unable to load "+(t.isCompressed?"binary ":"")+"CMap at: "+a))}},o.send(null)}):Promise.reject(Error("CMap name must be specified.")):Promise.reject(Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.'))}}]),e}(),u=function(){function e(){a(this,e)}return n(e,[{key:"create",value:function(e,t){(0,i.assert)(e>0&&t>0,"Invalid SVG dimensions");var r=document.createElementNS(s,"svg:svg");return r.setAttribute("version","1.1"),r.setAttribute("width",e+"px"),r.setAttribute("height",t+"px"),r.setAttribute("preserveAspectRatio","none"),r.setAttribute("viewBox","0 0 "+e+" "+t),r}},{key:"createElement",value:function(e){return(0,i.assert)("string"==typeof e,"Invalid SVG element type"),document.createElementNS(s,e)}}]),e}(),d=function(){function e(t){var r=t.viewBox,n=t.scale,i=t.rotation,o=t.offsetX,s=void 0===o?0:o,c=t.offsetY,l=void 0===c?0:c,u=t.dontFlip;a(this,e),this.viewBox=r,this.scale=n,this.rotation=i,this.offsetX=s,this.offsetY=l;var d=(r[2]+r[0])/2,h=(r[3]+r[1])/2,f=void 0,p=void 0,g=void 0,m=void 0;switch(i%=360,i=i<0?i+360:i){case 180:f=-1,p=0,g=0,m=1;break;case 90:f=0,p=1,g=1,m=0;break;case 270:f=0,p=-1,g=-1,m=0;break;default:f=1,p=0,g=0,m=-1}void 0!==u&&u&&(g=-g,m=-m);var b=void 0,v=void 0,y=void 0,_=void 0;0===f?(b=Math.abs(h-r[1])*n+s,v=Math.abs(d-r[0])*n+l,y=Math.abs(r[3]-r[1])*n,_=Math.abs(r[2]-r[0])*n):(b=Math.abs(d-r[0])*n+s,v=Math.abs(h-r[1])*n+l,y=Math.abs(r[2]-r[0])*n,_=Math.abs(r[3]-r[1])*n),this.transform=[f*n,p*n,g*n,m*n,b-f*n*d-g*n*h,v-p*n*d-m*n*h],this.width=y,this.height=_}return n(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.scale,n=void 0===r?this.scale:r,i=t.rotation,a=void 0===i?this.rotation:i,o=t.dontFlip;return new e({viewBox:this.viewBox.slice(),scale:n,rotation:a,offsetX:this.offsetX,offsetY:this.offsetY,dontFlip:void 0!==o&&o})}},{key:"convertToViewportPoint",value:function(e,t){return i.Util.applyTransform([e,t],this.transform)}},{key:"convertToViewportRectangle",value:function(e){var t=i.Util.applyTransform([e[0],e[1]],this.transform),r=i.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],r[0],r[1]]}},{key:"convertToPdfPoint",value:function(e,t){return i.Util.applyInverseTransform([e,t],this.transform)}}]),e}(),h=function(){function e(e,t){this.message=e,this.type=t}return e.prototype=Error(),e.prototype.name="RenderingCancelledException",e.constructor=e,e}(),f={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4},p=["","_self","_blank","_parent","_top"],g=function(){function e(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];a(this,e),this.enabled=!!t,this.started=Object.create(null),this.times=[]}return n(e,[{key:"time",value:function(e){this.enabled&&(e in this.started&&(0,i.warn)("Timer is already running for "+e),this.started[e]=Date.now())}},{key:"timeEnd",value:function(e){this.enabled&&(e in this.started||(0,i.warn)("Timer has not been started for "+e),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e])}},{key:"toString",value:function(){for(var e=this.times,t="",r=0,n=0,i=e.length;n<i;++n){var a=e[n].name;a.length>r&&(r=a.length)}for(var o=0,s=e.length;o<s;++o){var c=e[o],l=c.end-c.start;t+=c.name.padEnd(r)+" "+l+"ms\n"}return t}}]),e}(),m=function(){function e(){a(this,e),(0,i.unreachable)("Cannot initialize DummyStatTimer.")}return n(e,null,[{key:"time",value:function(e){}},{key:"timeEnd",value:function(e){}},{key:"toString",value:function(){return""}}]),e}();t.PageViewport=d,t.RenderingCancelledException=h,t.addLinkAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.url,n=t.target,a=t.rel;if(e.href=e.title=r?(0,i.removeNullCharacters)(r):"",r){var s=Object.values(f).includes(n)?n:f.NONE;e.target=p[s],e.rel="string"==typeof a?a:o}},t.getFilenameFromUrl=function(e){var t=e.indexOf("#"),r=e.indexOf("?"),n=Math.min(t>0?t:e.length,r>0?r:e.length);return e.substring(e.lastIndexOf("/",n)+1,n)},t.LinkTarget=f,t.DEFAULT_LINK_REL=o,t.DOMCanvasFactory=c,t.DOMCMapReaderFactory=l,t.DOMSVGFactory=u,t.StatTimer=g,t.DummyStatTimer=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var n=r(1);function i(e){this.docId=e,this.styleElement=null,this.nativeFontFaces=[],this.loadTestFontId=0,this.loadingContext={requests:[],nextRequestId:0}}i.prototype={insertRule:function(e){var t=this.styleElement;t||((t=this.styleElement=document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_"+this.docId,document.documentElement.getElementsByTagName("head")[0].appendChild(t));var r=t.sheet;r.insertRule(e,r.cssRules.length)},clear:function(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null),this.nativeFontFaces.forEach(function(e){document.fonts.delete(e)}),this.nativeFontFaces.length=0}},Object.defineProperty(i.prototype,"loadTestFont",{get:function(){return(0,n.shadow)(this,"loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))},configurable:!0}),i.prototype.addNativeFontFace=function(e){this.nativeFontFaces.push(e),document.fonts.add(e)},i.prototype.bind=function(e,t){for(var r=[],a=[],o=[],s=function(e){return e.loaded.catch(function(t){(0,n.warn)('Failed to load font "'+e.family+'": '+t)})},c=i.isFontLoadingAPISupported&&!i.isSyncFontLoadingSupported,l=0,u=e.length;l<u;l++){var d=e[l];if(!d.attached&&!1!==d.loading){if(d.attached=!0,c){var h=d.createNativeFontFace();h&&(this.addNativeFontFace(h),o.push(s(h)))}else{var f=d.createFontFaceRule();f&&(this.insertRule(f),r.push(f),a.push(d))}}}var p=this.queueLoadingCallback(t);c?Promise.all(o).then(function(){p.complete()}):r.length>0&&!i.isSyncFontLoadingSupported?this.prepareFontLoadEvent(r,a,p):p.complete()},i.prototype.queueLoadingCallback=function(e){var t=this.loadingContext,r={id:"pdfjs-font-loading-"+t.nextRequestId++,complete:function(){for((0,n.assert)(!r.end,"completeRequest() cannot be called twice"),r.end=Date.now();t.requests.length>0&&t.requests[0].end;)setTimeout(t.requests.shift().callback,0)},callback:e,started:Date.now()};return t.requests.push(r),r},i.prototype.prepareFontLoadEvent=function(e,t,r){function i(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function a(e,t,r,n){return e.substr(0,t)+n+e.substr(t+r)}var o,s,c=document.createElement("canvas");c.width=1,c.height=1;var l=c.getContext("2d"),u=0,d="lt"+Date.now()+this.loadTestFontId++,h=this.loadTestFont,f=i(h=a(h,976,d.length,d),16);for(o=0,s=d.length-3;o<s;o+=4)f=f-0x58585858+i(d,o)|0;o<d.length&&(f=f-0x58585858+i(d+"XXX",o)|0);var p='@font-face { font-family:"'+d+'";src:url(data:font/opentype;base64,'+btoa(h=a(h,16,4,(0,n.string32)(f)))+");}";this.insertRule(p);var g=[];for(o=0,s=t.length;o<s;o++)g.push(t[o].loadedName);g.push(d);var m=document.createElement("div");for(m.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;"),o=0,s=g.length;o<s;++o){var b=document.createElement("span");b.textContent="Hi",b.style.fontFamily=g[o],m.appendChild(b)}document.body.appendChild(m),function e(t,r){if(++u>30){(0,n.warn)("Load test font never loaded."),r();return}if(l.font="30px "+t,l.fillText(".",0,20),l.getImageData(0,0,1,1).data[3]>0){r();return}setTimeout(e.bind(null,t,r))}(d,function(){document.body.removeChild(m),r.complete()})},i.isFontLoadingAPISupported="undefined"!=typeof document&&!!document.fonts;var a=function(){if("undefined"==typeof navigator)return!0;var e=!1,t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);return t&&t[1]>=14&&(e=!0),e};Object.defineProperty(i,"isSyncFontLoadingSupported",{get:function(){return(0,n.shadow)(i,"isSyncFontLoadingSupported",a())},enumerable:!0,configurable:!0});var o={get value(){return(0,n.shadow)(this,"value",(0,n.isEvalSupported)())}},s=function(){function e(e,t){var r=t.isEvalSupported,n=t.disableFontFace,i=t.fontRegistry;for(var a in this.compiledGlyphs=Object.create(null),e)this[a]=e[a];this.isEvalSupported=!1!==(void 0===r||r),this.disableFontFace=!0===(void 0!==n&&n),this.fontRegistry=void 0===i?null:i}return e.prototype={createNativeFontFace:function(){if(!this.data||this.disableFontFace)return null;var e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e},createFontFaceRule:function(){if(!this.data||this.disableFontFace)return null;var e=(0,n.bytesToString)(new Uint8Array(this.data)),t=this.loadedName,r="url(data:"+this.mimetype+";base64,"+btoa(e)+");",i='@font-face { font-family:"'+t+'";src:'+r+"}";return this.fontRegistry&&this.fontRegistry.registerFont(this,r),i},getPathGenerator:function(e,t){if(!(t in this.compiledGlyphs)){var r=e.get(this.loadedName+"_path_"+t);if(this.isEvalSupported&&o.value){var n,i,a,s,c="";for(i=0,a=r.length;i<a;i++)s=void 0!==(n=r[i]).args?n.args.join(","):"",c+="c."+n.cmd+"("+s+");\n";this.compiledGlyphs[t]=Function("c","size",c)}else this.compiledGlyphs[t]=function(e,t){for(i=0,a=r.length;i<a;i++)"scale"===(n=r[i]).cmd&&(n.args=[t,-t]),e[n.cmd].apply(e,n.args)}}return this.compiledGlyphs[t]}},e}();t.FontFaceObject=s,t.FontLoader=i},function(e,t,r){"use strict";var n=Object.create(null),i=r(4),a="undefined"!=typeof navigator&&navigator.userAgent||"",o=/Trident/.test(a),s=/\b(iPad|iPhone|iPod)(?=;)/.test(a),c=/CriOS/.test(a),l=/Safari\//.test(a)&&!/(Chrome\/|Android\s)/.test(a);(o||c)&&(n.disableCreateObjectURL=!0),(l||s)&&(n.disableRange=!0,n.disableStream=!0),i()&&(n.disableFontFace=!0,n.nativeImageDecoderSupport="none"),t.apiCompatibilityParams=Object.freeze(n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var n=r(1),i=r(119),a={get value(){return(0,n.shadow)(a,"value",(0,n.isLittleEndian)())}};function o(e){e.mozCurrentTransform||(e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[],Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){var e=this._transformMatrix,t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],o=e[5],s=t*i-r*n,c=r*n-t*i;return[i/s,r/c,n/c,t/s,(i*a-n*o)/c,(r*a-t*o)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var r=this._transformMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5],this._originalTranslate(e,t)},e.scale=function(e,t){var r=this._transformMatrix;r[0]=r[0]*e,r[1]=r[1]*e,r[2]=r[2]*t,r[3]=r[3]*t,this._originalScale(e,t)},e.transform=function(t,r,n,i,a,o){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*r,s[1]*t+s[3]*r,s[0]*n+s[2]*i,s[1]*n+s[3]*i,s[0]*a+s[2]*o+s[4],s[1]*a+s[3]*o+s[5]],e._originalTransform(t,r,n,i,a,o)},e.setTransform=function(t,r,n,i,a,o){this._transformMatrix=[t,r,n,i,a,o],e._originalSetTransform(t,r,n,i,a,o)},e.rotate=function(e){var t=Math.cos(e),r=Math.sin(e),n=this._transformMatrix;this._transformMatrix=[n[0]*t+n[2]*r,n[1]*t+n[3]*r,-(n[0]*r)+n[2]*t,-(n[1]*r)+n[3]*t,n[4],n[5]],this._originalRotate(e)})}var s=function(){function e(e){this.canvasFactory=e,this.cache=Object.create(null)}return e.prototype={getCanvas:function(e,t,r,n){var i;return void 0!==this.cache[e]?(i=this.cache[e],this.canvasFactory.reset(i,t,r),i.context.setTransform(1,0,0,1,0,0)):(i=this.canvasFactory.create(t,r),this.cache[e]=i),n&&o(i.context),i},clear:function(){for(var e in this.cache){var t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}},e}(),c=function(){function e(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=n.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=n.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}(),l=function(){function e(e,t,r,n,i,a){this.ctx=e,this.current=new c,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=r,this.canvasFactory=n,this.webGLContext=i,this.imageLayer=a,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new s(this.canvasFactory),e&&o(e),this.cachedGetSinglePixelWidth=null}function t(e,t){if("undefined"!=typeof ImageData&&t instanceof ImageData){e.putImageData(t,0,0);return}var r,i,o,s,c,l=t.height,u=t.width,d=l%16,h=(l-d)/16,f=0===d?h:h+1,p=e.createImageData(u,16),g=0,m=t.data,b=p.data;if(t.kind===n.ImageKind.GRAYSCALE_1BPP){var v=m.byteLength,y=new Uint32Array(b.buffer,0,b.byteLength>>2),_=y.length,A=u+7>>3,x=a.value?0xff000000:255;for(r=0;r<f;r++){for(i=0,o=r<h?16:d,c=0;i<o;i++){for(var S=v-g,w=0,T=S>A?u:8*S-7,D=-8&T,C=0,k=0;w<D;w+=8)k=m[g++],y[c++]=128&k?0xffffffff:x,y[c++]=64&k?0xffffffff:x,y[c++]=32&k?0xffffffff:x,y[c++]=16&k?0xffffffff:x,y[c++]=8&k?0xffffffff:x,y[c++]=4&k?0xffffffff:x,y[c++]=2&k?0xffffffff:x,y[c++]=1&k?0xffffffff:x;for(;w<T;w++)0===C&&(k=m[g++],C=128),y[c++]=k&C?0xffffffff:x,C>>=1}for(;c<_;)y[c++]=0;e.putImageData(p,0,16*r)}}else if(t.kind===n.ImageKind.RGBA_32BPP){for(r=0,i=0,s=64*u;r<h;r++)b.set(m.subarray(g,g+s)),g+=s,e.putImageData(p,0,i),i+=16;r<f&&(s=u*d*4,b.set(m.subarray(g,g+s)),e.putImageData(p,0,i))}else if(t.kind===n.ImageKind.RGB_24BPP)for(r=0,s=u*(o=16);r<f;r++){for(r>=h&&(s=u*(o=d)),c=0,i=s;i--;)b[c++]=m[g++],b[c++]=m[g++],b[c++]=m[g++],b[c++]=255;e.putImageData(p,0,16*r)}else throw Error("bad image kind: "+t.kind)}function r(e,t){for(var r=t.height,n=t.width,i=r%16,a=(r-i)/16,o=0===i?a:a+1,s=e.createImageData(n,16),c=0,l=t.data,u=s.data,d=0;d<o;d++){for(var h=d<a?16:i,f=3,p=0;p<h;p++)for(var g=0,m=0;m<n;m++){if(!g){var b=l[c++];g=128}u[f]=b&g?0:255,f+=4,g>>=1}e.putImageData(s,0,16*d)}}function l(e,t){for(var r=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],n=0,i=r.length;n<i;n++){var a=r[n];void 0!==e[a]&&(t[a]=e[a])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function u(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function d(e,t,r){for(var n=e.length,i=1/255,a=3;a<n;a+=4){var o=r?r[e[a]]:e[a];t[a]=t[a]*o*i|0}}function h(e,t,r){for(var n=e.length,i=3;i<n;i+=4){var a=77*e[i-3]+152*e[i-2]+28*e[i-1];t[i]=r?t[i]*r[a>>8]>>8:t[i]*a>>16}}function f(e,t,r,n){var i=t.canvas,a=t.context;e.setTransform(t.scaleX,0,0,t.scaleY,t.offsetX,t.offsetY);var o=t.backdrop||null;if(!t.transferMap&&n.isEnabled){var s=n.composeSMask({layer:r.canvas,mask:i,properties:{subtype:t.subtype,backdrop:o}});e.setTransform(1,0,0,1,0,0),e.drawImage(s,t.offsetX,t.offsetY);return}(function(e,t,r,n,i,a,o){var s,c=!!a,l=c?a[0]:0,u=c?a[1]:0,f=c?a[2]:0;s="Luminosity"===i?h:d;for(var p=Math.min(n,Math.ceil(1048576/r)),g=0;g<n;g+=p){var m=Math.min(p,n-g),b=e.getImageData(0,g,r,m),v=t.getImageData(0,g,r,m);c&&function(e,t,r,n){for(var i=e.length,a=3;a<i;a+=4){var o=e[a];if(0===o)e[a-3]=t,e[a-2]=r,e[a-1]=n;else if(o<255){var s=255-o;e[a-3]=e[a-3]*o+t*s>>8,e[a-2]=e[a-2]*o+r*s>>8,e[a-1]=e[a-1]*o+n*s>>8}}}(b.data,l,u,f),s(b.data,v.data,o),e.putImageData(v,0,g)}})(a,r,i.width,i.height,t.subtype,o,t.transferMap),e.drawImage(i,0,0)}var p=["butt","round","square"],g=["miter","round","bevel"],m={},b={};for(var v in e.prototype={beginDrawing:function(e){var t=e.transform,r=e.viewport,n=e.transparency,i=e.background,a=this.ctx.canvas.width,o=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=(void 0===i?null:i)||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,a,o),this.ctx.restore(),n){var s=this.cachedCanvases.getCanvas("transparent",a,o,!0);this.compositeCtx=this.ctx,this.transparentCanvas=s.canvas,this.ctx=s.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),u(this.ctx),t&&this.ctx.transform.apply(this.ctx,t),this.ctx.transform.apply(this.ctx,r.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(e,t,r,i){var a,o=e.argsArray,s=e.fnArray,c=t||0,l=o.length;if(l===c)return c;for(var u=l-c>10&&"function"==typeof r,d=u?Date.now()+15:0,h=0,f=this.commonObjs,p=this.objs;;){if(void 0!==i&&c===i.nextBreakPoint)return i.breakIt(c,r),c;if((a=s[c])!==n.OPS.dependency)this[a].apply(this,o[c]);else for(var g=o[c],m=0,b=g.length;m<b;m++){var v=g[m],y="g"===v[0]&&"_"===v[1]?f:p;if(!y.isResolved(v))return y.get(v,r),c}if(++c===l)return c;if(u&&++h>10){if(Date.now()>d)return r(),c;h=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),this.webGLContext.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e},setLineCap:function(e){this.ctx.lineCap=p[e]},setLineJoin:function(e){this.ctx.lineJoin=g[e]},setMiterLimit:function(e){this.ctx.miterLimit=e},setDash:function(e,t){var r=this.ctx;void 0!==r.setLineDash&&(r.setLineDash(e),r.lineDashOffset=t)},setRenderingIntent:function(e){},setFlatness:function(e){},setGState:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],i=n[0],a=n[1];switch(i){case"LW":this.setLineWidth(a);break;case"LC":this.setLineCap(a);break;case"LJ":this.setLineJoin(a);break;case"ML":this.setMiterLimit(a);break;case"D":this.setDash(a[0],a[1]);break;case"RI":this.setRenderingIntent(a);break;case"FL":this.setFlatness(a);break;case"Font":this.setFont(a[0],a[1]);break;case"CA":this.current.strokeAlpha=n[1];break;case"ca":this.current.fillAlpha=n[1],this.ctx.globalAlpha=n[1];break;case"BM":this.ctx.globalCompositeOperation=a;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=a?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function(){var e=this.current.activeSMask,t=e.canvas.width,r=e.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,t,r,!0),a=this.ctx,o=a.mozCurrentTransform;this.ctx.save();var s=i.context;s.scale(1/e.scaleX,1/e.scaleY),s.translate(-e.offsetX,-e.offsetY),s.transform.apply(s,o),e.startTransformInverse=s.mozCurrentTransformInverse,l(a,s),this.ctx=s,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(a),this.groupLevel++},suspendSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),f(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),this.ctx.save(),l(e,this.ctx),this.current.resumeSMaskCtx=e;var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t),e.save(),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.restore()},resumeSMaskGroup:function(){var e=this.current.resumeSMaskCtx,t=this.ctx;this.ctx=e,this.groupStack.push(t),this.groupLevel++},endSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),f(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),l(e,this.ctx);var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t)},save:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null!==this.current.activeSMask&&(0===this.stateStack.length||this.stateStack[this.stateStack.length-1].activeSMask!==this.current.activeSMask)&&this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this.cachedGetSinglePixelWidth=null)},transform:function(e,t,r,n,i,a){this.ctx.transform(e,t,r,n,i,a),this.cachedGetSinglePixelWidth=null},constructPath:function(e,t){for(var r=this.ctx,i=this.current,a=i.x,o=i.y,s=0,c=0,l=e.length;s<l;s++)switch(0|e[s]){case n.OPS.rectangle:a=t[c++],o=t[c++];var u=t[c++],d=t[c++];0===u&&(u=this.getSinglePixelWidth()),0===d&&(d=this.getSinglePixelWidth());var h=a+u,f=o+d;this.ctx.moveTo(a,o),this.ctx.lineTo(h,o),this.ctx.lineTo(h,f),this.ctx.lineTo(a,f),this.ctx.lineTo(a,o),this.ctx.closePath();break;case n.OPS.moveTo:a=t[c++],o=t[c++],r.moveTo(a,o);break;case n.OPS.lineTo:a=t[c++],o=t[c++],r.lineTo(a,o);break;case n.OPS.curveTo:a=t[c+4],o=t[c+5],r.bezierCurveTo(t[c],t[c+1],t[c+2],t[c+3],a,o),c+=6;break;case n.OPS.curveTo2:r.bezierCurveTo(a,o,t[c],t[c+1],t[c+2],t[c+3]),a=t[c+2],o=t[c+3],c+=4;break;case n.OPS.curveTo3:a=t[c+2],o=t[c+3],r.bezierCurveTo(t[c],t[c+1],a,o,a,o),c+=4;break;case n.OPS.closePath:r.closePath()}i.setCurrentPoint(a,o)},closePath:function(){this.ctx.closePath()},stroke:function(e){e=void 0===e||e;var t=this.ctx,r=this.current.strokeColor;t.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth),t.globalAlpha=this.current.strokeAlpha,r&&r.hasOwnProperty("type")&&"Pattern"===r.type?(t.save(),t.strokeStyle=r.getPattern(t,this),t.stroke(),t.restore()):t.stroke(),e&&this.consumePath(),t.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(e){e=void 0===e||e;var t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,i=!1;n&&(t.save(),this.baseTransform&&t.setTransform.apply(t,this.baseTransform),t.fillStyle=r.getPattern(t,this),i=!0),this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill(),i&&t.restore(),e&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=m},eoClip:function(){this.pendingClip=b},beginText:function(){this.current.textMatrix=n.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0===e){t.beginPath();return}t.save(),t.beginPath();for(var r=0;r<e.length;r++){var n=e[r];t.setTransform.apply(t,n.transform),t.translate(n.x,n.y),n.addToPath(t,n.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths},setCharSpacing:function(e){this.current.charSpacing=e},setWordSpacing:function(e){this.current.wordSpacing=e},setHScale:function(e){this.current.textHScale=e/100},setLeading:function(e){this.current.leading=-e},setFont:function(e,t){var r=this.commonObjs.get(e),i=this.current;if(!r)throw Error("Can't find font for "+e);if(i.fontMatrix=r.fontMatrix?r.fontMatrix:n.FONT_IDENTITY_MATRIX,(0===i.fontMatrix[0]||0===i.fontMatrix[3])&&(0,n.warn)("Invalid font matrix for font "+e),t<0?(t=-t,i.fontDirection=-1):i.fontDirection=1,this.current.font=r,this.current.fontSize=t,!r.isType3Font){var a=r.loadedName||"sans-serif",o=r.black?"900":r.bold?"bold":"normal",s=r.italic?"italic":"normal",c='"'+a+'", '+r.fallbackName,l=t<16?16:t>100?100:t;this.current.fontSizeScale=t/l,this.ctx.font=s+" "+o+" "+l+"px "+c}},setTextRenderingMode:function(e){this.current.textRenderingMode=e},setTextRise:function(e){this.current.textRise=e},moveText:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},setTextMatrix:function(e,t,r,n,i,a){this.current.textMatrix=[e,t,r,n,i,a],this.current.textMatrixScale=Math.sqrt(e*e+t*t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(e,t,r,i){var a,o=this.ctx,s=this.current,c=s.font,l=s.textRenderingMode,u=s.fontSize/s.fontSizeScale,d=l&n.TextRenderingMode.FILL_STROKE_MASK,h=!!(l&n.TextRenderingMode.ADD_TO_PATH_FLAG),f=s.patternFill&&c.data;(c.disableFontFace||h||f)&&(a=c.getPathGenerator(this.commonObjs,e)),c.disableFontFace||f?(o.save(),o.translate(t,r),o.beginPath(),a(o,u),i&&o.setTransform.apply(o,i),(d===n.TextRenderingMode.FILL||d===n.TextRenderingMode.FILL_STROKE)&&o.fill(),(d===n.TextRenderingMode.STROKE||d===n.TextRenderingMode.FILL_STROKE)&&o.stroke(),o.restore()):((d===n.TextRenderingMode.FILL||d===n.TextRenderingMode.FILL_STROKE)&&o.fillText(e,t,r),(d===n.TextRenderingMode.STROKE||d===n.TextRenderingMode.FILL_STROKE)&&o.strokeText(e,t,r)),h&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:o.mozCurrentTransform,x:t,y:r,fontSize:u,addToPath:a})},get isFontSubpixelAAEnabled(){var y=this.canvasFactory.create(10,10).context;y.scale(1.5,1),y.fillText("I",0,10);for(var _=y.getImageData(0,0,10,10).data,A=!1,x=3;x<_.length;x+=4)if(_[x]>0&&_[x]<255){A=!0;break}return(0,n.shadow)(this,"isFontSubpixelAAEnabled",A)},showText:function(e){var t=this.current,r=t.font;if(r.isType3Font)return this.showType3Text(e);var i=t.fontSize;if(0!==i){var a=this.ctx,o=t.fontSizeScale,s=t.charSpacing,c=t.wordSpacing,l=t.fontDirection,u=t.textHScale*l,d=e.length,h=r.vertical,f=h?1:-1,p=r.defaultVMetrics,g=i*t.fontMatrix[0],m=t.textRenderingMode===n.TextRenderingMode.FILL&&!r.disableFontFace&&!t.patternFill;a.save();var b=void 0;if(t.patternFill){a.save();var v=t.fillColor.getPattern(a,this);b=a.mozCurrentTransform,a.restore(),a.fillStyle=v}a.transform.apply(a,t.textMatrix),a.translate(t.x,t.y+t.textRise),l>0?a.scale(u,-1):a.scale(u,1);var y=t.lineWidth,_=t.textMatrixScale;if(0===_||0===y){var A=t.textRenderingMode&n.TextRenderingMode.FILL_STROKE_MASK;(A===n.TextRenderingMode.STROKE||A===n.TextRenderingMode.FILL_STROKE)&&(this.cachedGetSinglePixelWidth=null,y=.65*this.getSinglePixelWidth())}else y/=_;1!==o&&(a.scale(o,o),y/=o),a.lineWidth=y;var x,S=0;for(x=0;x<d;++x){var w,T,D,C,k,E,P,R=e[x];if((0,n.isNum)(R)){S+=f*R*i/1e3;continue}var F=!1,U=(R.isSpace?c:0)+s,O=R.fontChar,I=R.accent,L=R.width;if(h?(k=R.vmetric||p,E=-(E=R.vmetric?k[1]:.5*L)*g,P=k[2]*g,L=k?-k[0]:L,w=E/o,T=(S+P)/o):(w=S/o,T=0),r.remeasure&&L>0){var N=1e3*a.measureText(O).width/i*o;if(L<N&&this.isFontSubpixelAAEnabled){var j=L/N;F=!0,a.save(),a.scale(j,1),w/=j}else L!==N&&(w+=(L-N)/2e3*i/o)}(R.isInFont||r.missingFile)&&(m&&!I?a.fillText(O,w,T):(this.paintChar(O,w,T,b),I&&(D=w+I.offset.x/o,C=T-I.offset.y/o,this.paintChar(I.fontChar,D,C,b)))),S+=L*g+U*l,F&&a.restore()}h?t.y-=S*u:t.x+=S*u,a.restore()}},showType3Text:function(e){var t,r,i,a,o=this.ctx,s=this.current,c=s.font,l=s.fontSize,u=s.fontDirection,d=c.vertical?1:-1,h=s.charSpacing,f=s.wordSpacing,p=s.textHScale*u,g=s.fontMatrix||n.FONT_IDENTITY_MATRIX,m=e.length;if(s.textRenderingMode!==n.TextRenderingMode.INVISIBLE&&0!==l){for(this.cachedGetSinglePixelWidth=null,o.save(),o.transform.apply(o,s.textMatrix),o.translate(s.x,s.y),o.scale(p,u),t=0;t<m;++t){if(r=e[t],(0,n.isNum)(r)){a=d*r*l/1e3,this.ctx.translate(a,0),s.x+=a*p;continue}var b=(r.isSpace?f:0)+h,v=c.charProcOperatorList[r.operatorListId];if(!v){(0,n.warn)('Type3 character "'+r.operatorListId+'" is not available.');continue}this.processingType3=r,this.save(),o.scale(l,l),o.transform.apply(o,g),this.executeOperatorList(v),this.restore(),i=n.Util.applyTransform([r.width,0],g)[0]*l+b,o.translate(i,0),s.x+=i*p}o.restore(),this.processingType3=null}},setCharWidth:function(e,t){},setCharWidthAndBounds:function(e,t,r,n,i,a){this.ctx.rect(r,n,i-r,a-n),this.clip(),this.endPath()},getColorN_Pattern:function(t){var r,n=this;if("TilingPattern"===t[0]){var a=t[1],o=this.baseTransform||this.ctx.mozCurrentTransform.slice();r=new i.TilingPattern(t,a,this.ctx,{createCanvasGraphics:function(t){return new e(t,n.commonObjs,n.objs,n.canvasFactory,n.webGLContext)}},o)}else r=(0,i.getShadingPatternFromIR)(t);return r},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.strokeStyle=i,this.current.strokeColor=i},setFillRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1},shadingFill:function(e){var t=this.ctx;this.save();var r=(0,i.getShadingPatternFromIR)(e);t.fillStyle=r.getPattern(t,this,!0);var a=t.mozCurrentTransformInverse;if(a){var o=t.canvas,s=o.width,c=o.height,l=n.Util.applyTransform([0,0],a),u=n.Util.applyTransform([0,c],a),d=n.Util.applyTransform([s,0],a),h=n.Util.applyTransform([s,c],a),f=Math.min(l[0],u[0],d[0],h[0]),p=Math.min(l[1],u[1],d[1],h[1]),g=Math.max(l[0],u[0],d[0],h[0]),m=Math.max(l[1],u[1],d[1],h[1]);this.ctx.fillRect(f,p,g-f,m-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){(0,n.unreachable)("Should not call beginInlineImage")},beginImageData:function(){(0,n.unreachable)("Should not call beginImageData")},paintFormXObjectBegin:function(e,t){if(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,Array.isArray(t)&&4===t.length){var r=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],r,n),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(e){this.save();var t=this.ctx;e.isolated||(0,n.info)("TODO: Support non-isolated groups."),e.knockout&&(0,n.warn)("Knockout groups not supported.");var r=t.mozCurrentTransform;if(e.matrix&&t.transform.apply(t,e.matrix),!e.bbox)throw Error("Bounding box is required.");var i=n.Util.getAxialAlignedBoundingBox(e.bbox,t.mozCurrentTransform),a=[0,0,t.canvas.width,t.canvas.height],o=Math.floor((i=n.Util.intersect(i,a)||[0,0,0,0])[0]),s=Math.floor(i[1]),c=Math.max(Math.ceil(i[2])-o,1),u=Math.max(Math.ceil(i[3])-s,1),d=1,h=1;c>4096&&(d=c/4096,c=4096),u>4096&&(h=u/4096,u=4096);var f="groupAt"+this.groupLevel;e.smask&&(f+="_smask_"+this.smaskCounter++%2);var p=this.cachedCanvases.getCanvas(f,c,u,!0),g=p.context;g.scale(1/d,1/h),g.translate(-o,-s),g.transform.apply(g,r),e.smask?this.smaskStack.push({canvas:p.canvas,context:g,offsetX:o,offsetY:s,scaleX:d,scaleY:h,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(o,s),t.scale(d,h)),l(t,g),this.ctx=g,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++,this.current.activeSMask=null},endGroup:function(e){this.groupLevel--;var t=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,e.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(t.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(e,t,r){if(this.save(),u(this.ctx),this.current=new c,Array.isArray(e)&&4===e.length){var n=e[2]-e[0],i=e[3]-e[1];this.ctx.rect(e[0],e[1],n,i),this.clip(),this.endPath()}this.transform.apply(this,t),this.transform.apply(this,r)},endAnnotation:function(){this.restore()},paintJpegXObject:function(e,t,r){var i=this.objs.get(e);if(!i){(0,n.warn)("Dependent image isn't ready yet");return}this.save();var a=this.ctx;if(a.scale(1/t,-1/r),a.drawImage(i,0,0,i.width,i.height,0,-r,t,r),this.imageLayer){var o=a.mozCurrentTransformInverse,s=this.getCanvasPosition(0,0);this.imageLayer.appendImage({objId:e,left:s[0],top:s[1],width:t/o[0],height:r/o[3]})}this.restore()},paintImageMaskXObject:function(e){var t=this.ctx,n=e.width,i=e.height,a=this.current.fillColor,o=this.current.patternFill,s=this.processingType3;if(s&&void 0===s.compiled&&(n<=1e3&&i<=1e3?s.compiled=function(e){var t,r,n,i,a=e.width,o=e.height,s=a+1,c=new Uint8Array(s*(o+1)),l=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),u=a+7&-8,d=e.data,h=new Uint8Array(u*o),f=0;for(t=0,i=d.length;t<i;t++)for(var p=128,g=d[t];p>0;)h[f++]=g&p?0:255,p>>=1;var m=0;for(0!==h[f=0]&&(c[0]=1,++m),r=1;r<a;r++)h[f]!==h[f+1]&&(c[r]=h[f]?2:1,++m),f++;for(0!==h[f]&&(c[r]=2,++m),t=1;t<o;t++){f=t*u,n=t*s,h[f-u]!==h[f]&&(c[n]=h[f]?1:8,++m);var b=(h[f]?4:0)+(h[f-u]?8:0);for(r=1;r<a;r++)l[b=(b>>2)+(h[f+1]?4:0)+(h[f-u+1]?8:0)]&&(c[n+r]=l[b],++m),f++;if(h[f-u]!==h[f]&&(c[n+r]=h[f]?2:4,++m),m>1e3)return null}for(f=u*(o-1),n=t*s,0!==h[f]&&(c[n]=8,++m),r=1;r<a;r++)h[f]!==h[f+1]&&(c[n+r]=h[f]?4:8,++m),f++;if(0!==h[f]&&(c[n+r]=4,++m),m>1e3)return null;var v=new Int32Array([0,s,-1,0,-s,0,0,0,1]),y=[];for(t=0;m&&t<=o;t++){for(var _=t*s,A=_+a;_<A&&!c[_];)_++;if(_!==A){var x,S=[_%s,t],w=c[_],T=_;do{var D=v[w];do _+=D;while(!c[_]);5!==(x=c[_])&&10!==x?(w=x,c[_]=0):(w=x&51*w>>4,c[_]&=w>>2|w<<2),S.push(_%s),S.push(_/s|0),--m}while(T!==_);y.push(S),--t}}return function(e){e.save(),e.scale(1/a,-1/o),e.translate(0,-o),e.beginPath();for(var t=0,r=y.length;t<r;t++){var n=y[t];e.moveTo(n[0],n[1]);for(var i=2,s=n.length;i<s;i+=2)e.lineTo(n[i],n[i+1])}e.fill(),e.beginPath(),e.restore()}}({data:e.data,width:n,height:i}):s.compiled=null),s&&s.compiled){s.compiled(t);return}var c=this.cachedCanvases.getCanvas("maskCanvas",n,i),l=c.context;l.save(),r(l,e),l.globalCompositeOperation="source-in",l.fillStyle=o?a.getPattern(l,this):a,l.fillRect(0,0,n,i),l.restore(),this.paintInlineImageXObject(c.canvas)},paintImageMaskXObjectRepeat:function(e,t,n,i){var a=e.width,o=e.height,s=this.current.fillColor,c=this.current.patternFill,l=this.cachedCanvases.getCanvas("maskCanvas",a,o),u=l.context;u.save(),r(u,e),u.globalCompositeOperation="source-in",u.fillStyle=c?s.getPattern(u,this):s,u.fillRect(0,0,a,o),u.restore();for(var d=this.ctx,h=0,f=i.length;h<f;h+=2)d.save(),d.transform(t,0,0,n,i[h],i[h+1]),d.scale(1,-1),d.drawImage(l.canvas,0,0,a,o,0,-1,1,1),d.restore()},paintImageMaskXObjectGroup:function(e){for(var t=this.ctx,n=this.current.fillColor,i=this.current.patternFill,a=0,o=e.length;a<o;a++){var s=e[a],c=s.width,l=s.height,u=this.cachedCanvases.getCanvas("maskCanvas",c,l),d=u.context;d.save(),r(d,s),d.globalCompositeOperation="source-in",d.fillStyle=i?n.getPattern(d,this):n,d.fillRect(0,0,c,l),d.restore(),t.save(),t.transform.apply(t,s.transform),t.scale(1,-1),t.drawImage(u.canvas,0,0,c,l,0,-1,1,1),t.restore()}},paintImageXObject:function(e){var t=this.objs.get(e);if(!t){(0,n.warn)("Dependent image isn't ready yet");return}this.paintInlineImageXObject(t)},paintImageXObjectRepeat:function(e,t,r,i){var a=this.objs.get(e);if(!a){(0,n.warn)("Dependent image isn't ready yet");return}for(var o=a.width,s=a.height,c=[],l=0,u=i.length;l<u;l+=2)c.push({transform:[t,0,0,r,i[l],i[l+1]],x:0,y:0,w:o,h:s});this.paintInlineImageXObjectGroup(a,c)},paintInlineImageXObject:function(e){var r,n,i=e.width,a=e.height,o=this.ctx;this.save(),o.scale(1/i,-1/a);var s=o.mozCurrentTransformInverse,c=s[0],l=s[1],u=Math.max(Math.sqrt(c*c+l*l),1),d=s[2],h=s[3],f=Math.max(Math.sqrt(d*d+h*h),1);if("function"==typeof HTMLElement&&e instanceof HTMLElement||!e.data)r=e;else{var p=(n=this.cachedCanvases.getCanvas("inlineImage",i,a)).context;t(p,e),r=n.canvas}for(var g=i,m=a,b="prescale1";u>2&&g>1||f>2&&m>1;){var v=g,y=m;u>2&&g>1&&(v=Math.ceil(g/2),u/=g/v),f>2&&m>1&&(y=Math.ceil(m/2),f/=m/y),(p=(n=this.cachedCanvases.getCanvas(b,v,y)).context).clearRect(0,0,v,y),p.drawImage(r,0,0,g,m,0,0,v,y),r=n.canvas,g=v,m=y,b="prescale1"===b?"prescale2":"prescale1"}if(o.drawImage(r,0,0,g,m,0,-a,i,a),this.imageLayer){var _=this.getCanvasPosition(0,-a);this.imageLayer.appendImage({imgData:e,left:_[0],top:_[1],width:i/s[0],height:a/s[3]})}this.restore()},paintInlineImageXObjectGroup:function(e,r){var n=this.ctx,i=e.width,a=e.height,o=this.cachedCanvases.getCanvas("inlineImage",i,a);t(o.context,e);for(var s=0,c=r.length;s<c;s++){var l=r[s];if(n.save(),n.transform.apply(n,l.transform),n.scale(1,-1),n.drawImage(o.canvas,l.x,l.y,l.w,l.h,0,-1,1,1),this.imageLayer){var u=this.getCanvasPosition(l.x,l.y);this.imageLayer.appendImage({imgData:e,left:u[0],top:u[1],width:i,height:a})}n.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){(0,n.warn)("Unsupported 'paintXObject' command.")},markPoint:function(e){},markPointProps:function(e,t){},beginMarkedContent:function(e){},beginMarkedContentProps:function(e,t){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var e=this.ctx;this.pendingClip&&(this.pendingClip===b?e.clip("evenodd"):e.clip(),this.pendingClip=null),e.beginPath()},getSinglePixelWidth:function(e){if(null===this.cachedGetSinglePixelWidth){this.ctx.save();var t=this.ctx.mozCurrentTransformInverse;this.ctx.restore(),this.cachedGetSinglePixelWidth=Math.sqrt(Math.max(t[0]*t[0]+t[1]*t[1],t[2]*t[2]+t[3]*t[3]))}return this.cachedGetSinglePixelWidth},getCanvasPosition:function(e,t){var r=this.ctx.mozCurrentTransform;return[r[0]*e+r[2]*t+r[4],r[1]*e+r[3]*t+r[5]]}},n.OPS)e.prototype[n.OPS[v]]=e.prototype[v];return e}();t.CanvasGraphics=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TilingPattern=t.getShadingPatternFromIR=void 0;var n=r(1),i={};i.RadialAxial={fromIR:function(e){var t=e[1],r=e[2],n=e[3],i=e[4],a=e[5],o=e[6];return{type:"Pattern",getPattern:function(e){var s;"axial"===t?s=e.createLinearGradient(n[0],n[1],i[0],i[1]):"radial"===t&&(s=e.createRadialGradient(n[0],n[1],a,i[0],i[1],o));for(var c=0,l=r.length;c<l;++c){var u=r[c];s.addColorStop(u[0],u[1])}return s}}}};var a=function(){function e(e,t,r,n,i,a,o,s){var c,l,u,d,h,f,p,g,m,b,v=t.coords,y=t.colors,_=e.data,A=4*e.width;v[r+1]>v[n+1]&&(c=r,r=n,n=c,c=a,a=o,o=c),v[n+1]>v[i+1]&&(c=n,n=i,i=c,c=o,o=s,s=c),v[r+1]>v[n+1]&&(c=r,r=n,n=c,c=a,a=o,o=c);var x=(v[r]+t.offsetX)*t.scaleX,S=(v[r+1]+t.offsetY)*t.scaleY,w=(v[n]+t.offsetX)*t.scaleX,T=(v[n+1]+t.offsetY)*t.scaleY,D=(v[i]+t.offsetX)*t.scaleX,C=(v[i+1]+t.offsetY)*t.scaleY;if(!(S>=C))for(var k=y[a],E=y[a+1],P=y[a+2],R=y[o],F=y[o+1],U=y[o+2],O=y[s],I=y[s+1],L=y[s+2],N=Math.round(S),j=Math.round(C),M=N;M<=j;M++){M<T?(l=x-(x-w)*(b=M<S?0:S===T?1:(S-M)/(S-T)),u=k-(k-R)*b,d=E-(E-F)*b,h=P-(P-U)*b):(l=w-(w-D)*(b=M>C?1:T===C?0:(T-M)/(T-C)),u=R-(R-O)*b,d=F-(F-I)*b,h=U-(U-L)*b),f=x-(x-D)*(b=M<S?0:M>C?1:(S-M)/(S-C)),p=k-(k-O)*b,g=E-(E-I)*b,m=P-(P-L)*b;for(var W=Math.round(Math.min(l,f)),q=Math.round(Math.max(l,f)),B=A*M+4*W,z=W;z<=q;z++)b=(b=(l-z)/(l-f))<0?0:b>1?1:b,_[B++]=u-(u-p)*b|0,_[B++]=d-(d-g)*b|0,_[B++]=h-(h-m)*b|0,_[B++]=255}}return function(t,r,n,i,a,o,s,c){var l,u,d,h,f=Math.floor(t[0]),p=Math.floor(t[1]),g=Math.ceil(t[2])-f,m=Math.ceil(t[3])-p,b=Math.min(Math.ceil(Math.abs(g*r[0]*1.1)),3e3),v=Math.min(Math.ceil(Math.abs(m*r[1]*1.1)),3e3),y=g/b,_=m/v,A={coords:n,colors:i,offsetX:-f,offsetY:-p,scaleX:1/y,scaleY:1/_},x=b+4,S=v+4;if(c.isEnabled)l=c.drawFigures({width:b,height:v,backgroundColor:o,figures:a,context:A}),(u=s.getCanvas("mesh",x,S,!1)).context.drawImage(l,2,2),l=u.canvas;else{var w=(u=s.getCanvas("mesh",x,S,!1)).context,T=w.createImageData(b,v);if(o){var D=T.data;for(d=0,h=D.length;d<h;d+=4)D[d]=o[0],D[d+1]=o[1],D[d+2]=o[2],D[d+3]=255}for(d=0;d<a.length;d++)!function(t,r,n){var i,a,o=r.coords,s=r.colors;switch(r.type){case"lattice":var c=r.verticesPerRow,l=Math.floor(o.length/c)-1,u=c-1;for(i=0;i<l;i++)for(var d=i*c,h=0;h<u;h++,d++)e(t,n,o[d],o[d+1],o[d+c],s[d],s[d+1],s[d+c]),e(t,n,o[d+c+1],o[d+1],o[d+c],s[d+c+1],s[d+1],s[d+c]);break;case"triangles":for(i=0,a=o.length;i<a;i+=3)e(t,n,o[i],o[i+1],o[i+2],s[i],s[i+1],s[i+2]);break;default:throw Error("illegal figure")}}(T,a[d],A);w.putImageData(T,2,2),l=u.canvas}return{canvas:l,offsetX:f-2*y,offsetY:p-2*_,scaleX:y,scaleY:_}}}();i.Mesh={fromIR:function(e){var t=e[2],r=e[3],i=e[4],o=e[5],s=e[6],c=e[8];return{type:"Pattern",getPattern:function(e,l,u){if(u)d=n.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(d=n.Util.singularValueDecompose2dScale(l.baseTransform),s){var d,h=n.Util.singularValueDecompose2dScale(s);d=[d[0]*h[0],d[1]*h[1]]}var f=a(o,d,t,r,i,u?null:c,l.cachedCanvases,l.webGLContext);return!u&&(e.setTransform.apply(e,l.baseTransform),s&&e.transform.apply(e,s)),e.translate(f.offsetX,f.offsetY),e.scale(f.scaleX,f.scaleY),e.createPattern(f.canvas,"no-repeat")}}}},i.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var o=function(){var e={COLORED:1,UNCOLORED:2};function t(e,t,r,n,i){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.canvasGraphicsFactory=n,this.baseTransform=i,this.type="Pattern",this.ctx=r}return t.prototype={createPatternCanvas:function(e){var t=this.operatorList,r=this.bbox,i=this.xstep,a=this.ystep,o=this.paintType,s=this.tilingType,c=this.color,l=this.canvasGraphicsFactory;(0,n.info)("TilingType: "+s);var u=r[0],d=r[1],h=r[2],f=r[3],p=[u,d],g=[u+i,d+a],m=g[0]-p[0],b=g[1]-p[1],v=n.Util.singularValueDecompose2dScale(this.matrix),y=n.Util.singularValueDecompose2dScale(this.baseTransform),_=[v[0]*y[0],v[1]*y[1]];m=Math.min(Math.ceil(Math.abs(m*_[0])),3e3),b=Math.min(Math.ceil(Math.abs(b*_[1])),3e3);var A=e.cachedCanvases.getCanvas("pattern",m,b,!0),x=A.context,S=l.createCanvasGraphics(x);S.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(S,o,c),this.setScale(m,b,i,a),this.transformToScale(S);var w=[1,0,0,1,-p[0],-p[1]];return S.transform.apply(S,w),this.clipBbox(S,r,u,d,h,f),S.executeOperatorList(t),A.canvas},setScale:function(e,t,r,n){this.scale=[e/r,t/n]},transformToScale:function(e){var t=this.scale,r=[t[0],0,0,t[1],0,0];e.transform.apply(e,r)},scaleToContext:function(){var e=this.scale;this.ctx.scale(1/e[0],1/e[1])},clipBbox:function(e,t,r,n,i,a){Array.isArray(t)&&4===t.length&&(e.ctx.rect(r,n,i-r,a-n),e.clip(),e.endPath())},setFillAndStrokeStyleToContext:function(t,r,i){var a=t.ctx,o=t.current;switch(r){case e.COLORED:var s=this.ctx;a.fillStyle=s.fillStyle,a.strokeStyle=s.strokeStyle,o.fillColor=s.fillStyle,o.strokeColor=s.strokeStyle;break;case e.UNCOLORED:var c=n.Util.makeCssRgb(i[0],i[1],i[2]);a.fillStyle=c,a.strokeStyle=c,o.fillColor=c,o.strokeColor=c;break;default:throw new n.FormatError("Unsupported paint type: "+r)}},getPattern:function(e,t){var r=this.createPatternCanvas(t);return(e=this.ctx).setTransform.apply(e,this.baseTransform),e.transform.apply(e,this.matrix),this.scaleToContext(),e.createPattern(r,"repeat")}},t}();t.getShadingPatternFromIR=function(e){var t=i[e[0]];if(!t)throw Error("Unknown IR type: "+e[0]);return t.fromIR(e)},t.TilingPattern=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.create(null);n.workerPort=void 0===n.workerPort?null:n.workerPort,n.workerSrc=void 0===n.workerSrc?"":n.workerSrc,t.GlobalWorkerOptions=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var n="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},i=r(1);function a(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e?new Promise(function(n,i){n(e.apply(r,t))}):Promise.resolve(void 0)}function o(e){if((void 0===e?"undefined":n(e))!=="object")return e;switch(e.name){case"AbortException":return new i.AbortException(e.message);case"MissingPDFException":return new i.MissingPDFException(e.message);case"UnexpectedResponseException":return new i.UnexpectedResponseException(e.message,e.status);default:return new i.UnknownErrorException(e.message,e.details)}}function s(e,t,r){t?e.resolve():e.reject(r)}function c(e,t,r){var n=this;this.sourceName=e,this.targetName=t,this.comObj=r,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null);var a=this.callbacksCapabilities=Object.create(null),s=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===n.sourceName){if(t.stream)n._processStreamMessage(t);else if(t.isReply){var c=t.callbackId;if(t.callbackId in a){var l=a[c];delete a[c],"error"in t?l.reject(o(t.error)):l.resolve(t.data)}else throw Error("Cannot resolve callback "+c)}else if(t.action in s){var u=s[t.action];if(t.callbackId){var d=n.sourceName,h=t.sourceName;Promise.resolve().then(function(){return u[0].call(u[1],t.data)}).then(function(e){r.postMessage({sourceName:d,targetName:h,isReply:!0,callbackId:t.callbackId,data:e})},function(e){r.postMessage({sourceName:d,targetName:h,isReply:!0,callbackId:t.callbackId,error:!(e instanceof Error)||e instanceof i.AbortException||e instanceof i.MissingPDFException||e instanceof i.UnexpectedResponseException||e instanceof i.UnknownErrorException?e:new i.UnknownErrorException(e.message,e.toString())})})}else t.streamId?n._createStreamSink(t):u[0].call(u[1],t.data)}else throw Error("Unknown action from worker: "+t.action)}},r.addEventListener("message",this._onComObjOnMessage)}c.prototype={on:function(e,t,r){var n=this.actionHandler;if(n[e])throw Error('There is already an actionName called "'+e+'"');n[e]=[t,r]},send:function(e,t,r){var n={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t};this.postMessage(n,r)},sendWithPromise:function(e,t,r){var n=this.callbackId++,a={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t,callbackId:n},o=(0,i.createPromiseCapability)();this.callbacksCapabilities[n]=o;try{this.postMessage(a,r)}catch(e){o.reject(e)}return o.promise},sendWithStream:function(e,t,r,n){var a=this,o=this.streamId++,s=this.sourceName,c=this.targetName;return new i.ReadableStream({start:function(r){var n=(0,i.createPromiseCapability)();return a.streamControllers[o]={controller:r,startCall:n,isClosed:!1},a.postMessage({sourceName:s,targetName:c,action:e,streamId:o,data:t,desiredSize:r.desiredSize}),n.promise},pull:function(e){var t=(0,i.createPromiseCapability)();return a.streamControllers[o].pullCall=t,a.postMessage({sourceName:s,targetName:c,stream:"pull",streamId:o,desiredSize:e.desiredSize}),t.promise},cancel:function(e){var t=(0,i.createPromiseCapability)();return a.streamControllers[o].cancelCall=t,a.streamControllers[o].isClosed=!0,a.postMessage({sourceName:s,targetName:c,stream:"cancel",reason:e,streamId:o}),t.promise}},r)},_createStreamSink:function(e){var t=this,r=this,n=this.actionHandler[e.action],o=e.streamId,s=e.desiredSize,c=this.sourceName,l=e.sourceName,u=(0,i.createPromiseCapability)(),d=function(e){var r=e.stream,n=e.chunk,i=e.transfers,a=e.success,s=e.reason;t.postMessage({sourceName:c,targetName:l,stream:r,streamId:o,chunk:n,success:a,reason:s},i)},h={enqueue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments[2];if(!this.isCancelled){var n=this.desiredSize;this.desiredSize-=t,n>0&&this.desiredSize<=0&&(this.sinkCapability=(0,i.createPromiseCapability)(),this.ready=this.sinkCapability.promise),d({stream:"enqueue",chunk:e,transfers:r})}},close:function(){this.isCancelled||(this.isCancelled=!0,d({stream:"close"}),delete r.streamSinks[o])},error:function(e){this.isCancelled||(this.isCancelled=!0,d({stream:"error",reason:e}))},sinkCapability:u,onPull:null,onCancel:null,isCancelled:!1,desiredSize:s,ready:null};h.sinkCapability.resolve(),h.ready=h.sinkCapability.promise,this.streamSinks[o]=h,a(n[0],[e.data,h],n[1]).then(function(){d({stream:"start_complete",success:!0})},function(e){d({stream:"start_complete",success:!1,reason:e})})},_processStreamMessage:function(e){var t=this,r=this.sourceName,n=e.sourceName,c=e.streamId,l=function(e){var i=e.stream,a=e.success,o=e.reason;t.comObj.postMessage({sourceName:r,targetName:n,stream:i,success:a,streamId:c,reason:o})},u=function(){Promise.all([t.streamControllers[e.streamId].startCall,t.streamControllers[e.streamId].pullCall,t.streamControllers[e.streamId].cancelCall].map(function(e){return e&&Promise.resolve(e.promise).catch(function(){})})).then(function(){delete t.streamControllers[e.streamId]})};switch(e.stream){case"start_complete":s(this.streamControllers[e.streamId].startCall,e.success,o(e.reason));break;case"pull_complete":s(this.streamControllers[e.streamId].pullCall,e.success,o(e.reason));break;case"pull":if(!this.streamSinks[e.streamId]){l({stream:"pull_complete",success:!0});break}this.streamSinks[e.streamId].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[e.streamId].sinkCapability.resolve(),this.streamSinks[e.streamId].desiredSize=e.desiredSize,a(this.streamSinks[e.streamId].onPull).then(function(){l({stream:"pull_complete",success:!0})},function(e){l({stream:"pull_complete",success:!1,reason:e})});break;case"enqueue":(0,i.assert)(this.streamControllers[e.streamId],"enqueue should have stream controller"),this.streamControllers[e.streamId].isClosed||this.streamControllers[e.streamId].controller.enqueue(e.chunk);break;case"close":if((0,i.assert)(this.streamControllers[e.streamId],"close should have stream controller"),this.streamControllers[e.streamId].isClosed)break;this.streamControllers[e.streamId].isClosed=!0,this.streamControllers[e.streamId].controller.close(),u();break;case"error":(0,i.assert)(this.streamControllers[e.streamId],"error should have stream controller"),this.streamControllers[e.streamId].controller.error(o(e.reason)),u();break;case"cancel_complete":s(this.streamControllers[e.streamId].cancelCall,e.success,o(e.reason)),u();break;case"cancel":if(!this.streamSinks[e.streamId])break;a(this.streamSinks[e.streamId].onCancel,[o(e.reason)]).then(function(){l({stream:"cancel_complete",success:!0})},function(e){l({stream:"cancel_complete",success:!1,reason:e})}),this.streamSinks[e.streamId].sinkCapability.reject(o(e.reason)),this.streamSinks[e.streamId].isCancelled=!0,delete this.streamSinks[e.streamId];break;default:throw Error("Unexpected stream case")}},postMessage:function(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)},destroy:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}},t.MessageHandler=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(1),a=r(123),o=function(){function e(t){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),(0,i.assert)("string"==typeof t,"Metadata: input is not a string"),t=this._repair(t);var r=new a.SimpleXMLParser().parseFromString(t);this._metadata=Object.create(null),r&&this._parse(r)}return n(e,[{key:"_repair",value:function(e){return e.replace(/>\\376\\377([^<]+)/g,function(e,t){for(var r=t.replace(/\\([0-3])([0-7])([0-7])/g,function(e,t,r,n){return String.fromCharCode(64*t+8*r+1*n)}).replace(/&(amp|apos|gt|lt|quot);/g,function(e,t){switch(t){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw Error("_repair: "+t+" isn't defined.")}),n="",i=0,a=r.length;i<a;i+=2){var o=256*r.charCodeAt(i)+r.charCodeAt(i+1);o>=32&&o<127&&60!==o&&62!==o&&38!==o?n+=String.fromCharCode(o):n+="&#x"+(65536+o).toString(16).substring(1)+";"}return">"+n})}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName.toLowerCase())for(t=t.firstChild;t&&"rdf:rdf"!==t.nodeName.toLowerCase();)t=t.nextSibling;var r=t?t.nodeName.toLowerCase():null;if(t&&"rdf:rdf"===r&&t.hasChildNodes())for(var n=t.childNodes,i=0,a=n.length;i<a;i++){var o=n[i];if("rdf:description"===o.nodeName.toLowerCase()){for(var s=0,c=o.childNodes.length;s<c;s++)if("#text"!==o.childNodes[s].nodeName.toLowerCase()){var l=o.childNodes[s],u=l.nodeName.toLowerCase();this._metadata[u]=l.textContent.trim()}}}}},{key:"get",value:function(e){return this._metadata[e]||null}},{key:"getAll",value:function(){return this._metadata}},{key:"has",value:function(e){return void 0!==this._metadata[e]}}]),e}();t.Metadata=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}return r}(e,t);throw TypeError("Invalid attempt to destructure non-iterable instance")},i=function e(t,r,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,r);if(void 0===i){var a=Object.getPrototypeOf(t);if(null===a)return;return e(a,r,n)}if("value"in i)return i.value;var o=i.get;if(void 0!==o)return o.call(n)},a=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var s={NoError:0,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,UnterminatedElement:-9};function c(e,t){var r=e[t];return" "===r||"\n"===r||"\r"===r||" "===r}var l=function(){function e(){o(this,e)}return a(e,[{key:"_resolveEntities",value:function(e){return e.replace(/&([^;]+);/g,function(e,t){if("#x"===t.substring(0,2))return String.fromCharCode(parseInt(t.substring(2),16));if("#"===t.substring(0,1))return String.fromCharCode(parseInt(t.substring(1),10));switch(t){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"'}return this.onResolveEntity(t)})}},{key:"_parseContent",value:function(e,t){var r=t,n=void 0,i=[];function a(){for(;r<e.length&&c(e,r);)++r}for(;r<e.length&&!c(e,r)&&">"!==e[r]&&"/"!==e[r];)++r;for(n=e.substring(t,r),a();r<e.length&&">"!==e[r]&&"/"!==e[r]&&"?"!==e[r];){a();for(var o="",s="";r<e.length&&!c(e,r)&&"="!==e[r];)o+=e[r],++r;if(a(),"="!==e[r])return null;++r,a();var l=e[r];if('"'!==l&&"'"!==l)return null;var u=e.indexOf(l,++r);if(u<0)return null;s=e.substring(r,u),i.push({name:o,value:this._resolveEntities(s)}),r=u+1,a()}return{name:n,attributes:i,parsed:r-t}}},{key:"_parseProcessingInstruction",value:function(e,t){for(var r=t,n=void 0;r<e.length&&!c(e,r)&&">"!==e[r]&&"/"!==e[r];)++r;n=e.substring(t,r),function(){for(;r<e.length&&c(e,r);)++r}();for(var i=r;r<e.length&&("?"!==e[r]||">"!==e[r+1]);)++r;return{name:n,value:e.substring(i,r),parsed:r-t}}},{key:"parseXml",value:function(e){for(var t=0;t<e.length;){var r=e[t],n=t;if("<"===r){var i=e[++n],a=void 0;switch(i){case"/":if(++n,(a=e.indexOf(">",n))<0){this.onError(s.UnterminatedElement);return}this.onEndElement(e.substring(n,a)),n=a+1;break;case"?":++n;var o=this._parseProcessingInstruction(e,n);if("?>"!==e.substring(n+o.parsed,n+o.parsed+2)){this.onError(s.UnterminatedXmlDeclaration);return}this.onPi(o.name,o.value),n+=o.parsed+2;break;case"!":if("--"===e.substring(n+1,n+3)){if((a=e.indexOf("--\x3e",n+3))<0){this.onError(s.UnterminatedComment);return}this.onComment(e.substring(n+3,a)),n=a+3}else if("[CDATA["===e.substring(n+1,n+8)){if((a=e.indexOf("]]>",n+8))<0){this.onError(s.UnterminatedCdat);return}this.onCdata(e.substring(n+8,a)),n=a+3}else if("DOCTYPE"===e.substring(n+1,n+8)){var c=e.indexOf("[",n+8),l=!1;if((a=e.indexOf(">",n+8))<0){this.onError(s.UnterminatedDoctypeDeclaration);return}if(c>0&&a>c){if((a=e.indexOf("]>",n+8))<0){this.onError(s.UnterminatedDoctypeDeclaration);return}l=!0}var u=e.substring(n+8,a+(l?1:0));this.onDoctype(u),n=a+(l?2:1)}else{this.onError(s.MalformedElement);return}break;default:var d=this._parseContent(e,n);if(null===d){this.onError(s.MalformedElement);return}var h=!1;if("/>"===e.substring(n+d.parsed,n+d.parsed+2))h=!0;else if(">"!==e.substring(n+d.parsed,n+d.parsed+1)){this.onError(s.UnterminatedElement);return}this.onBeginElement(d.name,d.attributes,h),n+=d.parsed+(h?2:1)}}else{for(;n<e.length&&"<"!==e[n];)n++;var f=e.substring(t,n);this.onText(this._resolveEntities(f))}t=n}}},{key:"onResolveEntity",value:function(e){return"&"+e+";"}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,r){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}]),e}(),u=function(){function e(t,r){o(this,e),this.nodeName=t,this.nodeValue=r,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return a(e,[{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"firstChild",get:function(){return this.childNodes[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[e+1]}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map(function(e){return e.textContent}).join(""):this.nodeValue||""}}]),e}(),d=function(e){function t(){o(this,t);var e=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e._currentFragment=null,e._stack=null,e._errorCode=s.NoError,e}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=s.NoError,this.parseXml(e),this._errorCode===s.NoError)return{documentElement:n(this._currentFragment,1)[0]}}},{key:"onResolveEntity",value:function(e){return"apos"===e?"'":i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"onResolveEntity",this).call(this,e)}},{key:"onText",value:function(e){if(!function(e){for(var t=0,r=e.length;t<r;t++)if(!c(e,t))return!1;return!0}(e)){var t=new u("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new u("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,r){var n=new u(e);n.childNodes=[],this._currentFragment.push(n),r||(this._stack.push(this._currentFragment),this._currentFragment=n.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop();for(var t=this._currentFragment[this._currentFragment.length-1],r=0,n=t.childNodes.length;r<n;r++)t.childNodes[r].parentNode=t}},{key:"onError",value:function(e){this._errorCode=e}}]),t}(l);t.SimpleXMLParser=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var n=r(1),i=function(){function e(e,t){var r=this;(0,n.assert)(t),this._queuedChunks=[];var i=e.initialData;if(i&&i.length>0){var a=new Uint8Array(i).buffer;this._queuedChunks.push(a)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!e.disableStream,this._isRangeSupported=!e.disableRange,this._contentLength=e.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener(function(e,t){r._onReceiveData({begin:e,chunk:t})}),this._pdfDataRangeTransport.addProgressListener(function(e){r._onProgress({loaded:e})}),this._pdfDataRangeTransport.addProgressiveReadListener(function(e){r._onReceiveData({chunk:e})}),this._pdfDataRangeTransport.transportReady()}function t(e,t){this._stream=e,this._done=!1,this._filename=null,this._queuedChunks=t||[],this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}function r(e,t,r){this._stream=e,this._begin=t,this._end=r,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}return e.prototype={_onReceiveData:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var r=this._rangeReaders.some(function(r){return r._begin===e.begin&&(r._enqueue(t),!0)});(0,n.assert)(r)}},_onProgress:function(e){if(this._rangeReaders.length>0){var t=this._rangeReaders[0];t.onProgress&&t.onProgress({loaded:e.loaded})}},_removeRangeReader:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)},getFullReader:function(){(0,n.assert)(!this._fullRequestReader);var e=this._queuedChunks;return this._queuedChunks=null,new t(this,e)},getRangeReader:function(e,t){var n=new r(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n},cancelAllRequests:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeReaders.slice(0).forEach(function(t){t.cancel(e)}),this._pdfDataRangeTransport.abort()}},t.prototype={_enqueue:function(e){if(!this._done){if(this._requests.length>0){this._requests.shift().resolve({value:e,done:!1});return}this._queuedChunks.push(e)}},get headersReady(){return this._headersReady},get filename(){return this._filename},get isRangeSupported(){return this._stream._isRangeSupported},get isStreamingSupported(){return this._stream._isStreamingSupported},get contentLength(){return this._stream._contentLength},read:function(){if(this._queuedChunks.length>0)return Promise.resolve({value:this._queuedChunks.shift(),done:!1});if(this._done)return Promise.resolve({value:void 0,done:!0});var e=(0,n.createPromiseCapability)();return this._requests.push(e),e.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[]}},r.prototype={_enqueue:function(e){this._done||(0===this._requests.length?this._queuedChunk=e:(this._requests.shift().resolve({value:e,done:!1}),this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[]),this._done=!0,this._stream._removeRangeReader(this))},get isStreamingSupported(){return!1},read:function(){if(this._queuedChunk){var e=this._queuedChunk;return this._queuedChunk=null,Promise.resolve({value:e,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var t=(0,n.createPromiseCapability)();return this._requests.push(t),t.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._stream._removeRangeReader(this)}},e}();t.PDFDataTransportStream=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLContext=void 0;var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(1),a=function(){function e(t){var r=t.enable;(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this._enabled=!0===(void 0!==r&&r)}return n(e,[{key:"composeSMask",value:function(e){var t=e.layer,r=e.mask,n=e.properties;return o.composeSMask(t,r,n)}},{key:"drawFigures",value:function(e){var t=e.width,r=e.height,n=e.backgroundColor,i=e.figures,a=e.context;return o.drawFigures(t,r,n,i,a)}},{key:"clear",value:function(){o.cleanup()}},{key:"isEnabled",get:function(){var e=this._enabled;return e&&(e=o.tryInitGL()),(0,i.shadow)(this,"isEnabled",e)}}]),e}(),o=function(){function e(e,t,r){var n=e.createShader(r);if(e.shaderSource(n,t),e.compileShader(n),!e.getShaderParameter(n,e.COMPILE_STATUS))throw Error("Error during shader compilation: "+e.getShaderInfoLog(n));return n}function t(t,r){return e(t,r,t.VERTEX_SHADER)}function r(t,r){return e(t,r,t.FRAGMENT_SHADER)}function n(e,t){for(var r=e.createProgram(),n=0,i=t.length;n<i;++n)e.attachShader(r,t[n]);if(e.linkProgram(r),!e.getProgramParameter(r,e.LINK_STATUS))throw Error("Error during program linking: "+e.getProgramInfoLog(r));return r}function i(e,t,r){e.activeTexture(r);var n=e.createTexture();return e.bindTexture(e.TEXTURE_2D,n),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t),n}function a(){o||(o=(s=document.createElement("canvas")).getContext("webgl",{premultipliedalpha:!1}))}var o,s,c=null,l=null;return{tryInitGL:function(){try{return a(),!!o}catch(e){}return!1},composeSMask:function(e,l,u){var d,h,f,p,g,m,b,v,y,_,A=e.width,x=e.height;c||(a(),d=s,s=null,h=o,o=null,f=t(h," attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } "),p=r(h," precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } "),g=n(h,[f,p]),h.useProgram(g),(m={}).gl=h,m.canvas=d,m.resolutionLocation=h.getUniformLocation(g,"u_resolution"),m.positionLocation=h.getAttribLocation(g,"a_position"),m.backdropLocation=h.getUniformLocation(g,"u_backdrop"),m.subtypeLocation=h.getUniformLocation(g,"u_subtype"),b=h.getAttribLocation(g,"a_texCoord"),v=h.getUniformLocation(g,"u_image"),y=h.getUniformLocation(g,"u_mask"),_=h.createBuffer(),h.bindBuffer(h.ARRAY_BUFFER,_),h.bufferData(h.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),h.STATIC_DRAW),h.enableVertexAttribArray(b),h.vertexAttribPointer(b,2,h.FLOAT,!1,0,0),h.uniform1i(v,0),h.uniform1i(y,1),c=m);var S=c,w=S.canvas,T=S.gl;w.width=A,w.height=x,T.viewport(0,0,T.drawingBufferWidth,T.drawingBufferHeight),T.uniform2f(S.resolutionLocation,A,x),u.backdrop?T.uniform4f(S.resolutionLocation,u.backdrop[0],u.backdrop[1],u.backdrop[2],1):T.uniform4f(S.resolutionLocation,0,0,0,0),T.uniform1i(S.subtypeLocation,"Luminosity"===u.subtype?1:0);var D=i(T,e,T.TEXTURE0),C=i(T,l,T.TEXTURE1),k=T.createBuffer();return T.bindBuffer(T.ARRAY_BUFFER,k),T.bufferData(T.ARRAY_BUFFER,new Float32Array([0,0,A,0,0,x,0,x,A,0,A,x]),T.STATIC_DRAW),T.enableVertexAttribArray(S.positionLocation),T.vertexAttribPointer(S.positionLocation,2,T.FLOAT,!1,0,0),T.clearColor(0,0,0,0),T.enable(T.BLEND),T.blendFunc(T.ONE,T.ONE_MINUS_SRC_ALPHA),T.clear(T.COLOR_BUFFER_BIT),T.drawArrays(T.TRIANGLES,0,6),T.flush(),T.deleteTexture(D),T.deleteTexture(C),T.deleteBuffer(k),w},drawFigures:function(e,i,c,u,d){if(!l){var h,f,p,g,m,b;a(),h=s,s=null,f=o,o=null,p=t(f," attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } "),g=r(f," precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } "),m=n(f,[p,g]),f.useProgram(m),(b={}).gl=f,b.canvas=h,b.resolutionLocation=f.getUniformLocation(m,"u_resolution"),b.scaleLocation=f.getUniformLocation(m,"u_scale"),b.offsetLocation=f.getUniformLocation(m,"u_offset"),b.positionLocation=f.getAttribLocation(m,"a_position"),b.colorLocation=f.getAttribLocation(m,"a_color"),l=b}var v,y,_,A=l,x=A.canvas,S=A.gl;x.width=e,x.height=i,S.viewport(0,0,S.drawingBufferWidth,S.drawingBufferHeight),S.uniform2f(A.resolutionLocation,e,i);var w=0;for(v=0,y=u.length;v<y;v++)switch(u[v].type){case"lattice":w+=((_=u[v].coords.length/u[v].verticesPerRow|0)-1)*(u[v].verticesPerRow-1)*6;break;case"triangles":w+=u[v].coords.length}var T=new Float32Array(2*w),D=new Uint8Array(3*w),C=d.coords,k=d.colors,E=0,P=0;for(v=0,y=u.length;v<y;v++){var R=u[v],F=R.coords,U=R.colors;switch(R.type){case"lattice":var O=R.verticesPerRow;_=F.length/O|0;for(var I=1;I<_;I++)for(var L=I*O+1,N=1;N<O;N++,L++)T[E]=C[F[L-O-1]],T[E+1]=C[F[L-O-1]+1],T[E+2]=C[F[L-O]],T[E+3]=C[F[L-O]+1],T[E+4]=C[F[L-1]],T[E+5]=C[F[L-1]+1],D[P]=k[U[L-O-1]],D[P+1]=k[U[L-O-1]+1],D[P+2]=k[U[L-O-1]+2],D[P+3]=k[U[L-O]],D[P+4]=k[U[L-O]+1],D[P+5]=k[U[L-O]+2],D[P+6]=k[U[L-1]],D[P+7]=k[U[L-1]+1],D[P+8]=k[U[L-1]+2],T[E+6]=T[E+2],T[E+7]=T[E+3],T[E+8]=T[E+4],T[E+9]=T[E+5],T[E+10]=C[F[L]],T[E+11]=C[F[L]+1],D[P+9]=D[P+3],D[P+10]=D[P+4],D[P+11]=D[P+5],D[P+12]=D[P+6],D[P+13]=D[P+7],D[P+14]=D[P+8],D[P+15]=k[U[L]],D[P+16]=k[U[L]+1],D[P+17]=k[U[L]+2],E+=12,P+=18;break;case"triangles":for(var j=0,M=F.length;j<M;j++)T[E]=C[F[j]],T[E+1]=C[F[j]+1],D[P]=k[U[j]],D[P+1]=k[U[j]+1],D[P+2]=k[U[j]+2],E+=2,P+=3}}c?S.clearColor(c[0]/255,c[1]/255,c[2]/255,1):S.clearColor(0,0,0,0),S.clear(S.COLOR_BUFFER_BIT);var W=S.createBuffer();S.bindBuffer(S.ARRAY_BUFFER,W),S.bufferData(S.ARRAY_BUFFER,T,S.STATIC_DRAW),S.enableVertexAttribArray(A.positionLocation),S.vertexAttribPointer(A.positionLocation,2,S.FLOAT,!1,0,0);var q=S.createBuffer();return S.bindBuffer(S.ARRAY_BUFFER,q),S.bufferData(S.ARRAY_BUFFER,D,S.STATIC_DRAW),S.enableVertexAttribArray(A.colorLocation),S.vertexAttribPointer(A.colorLocation,3,S.UNSIGNED_BYTE,!1,0,0),S.uniform2f(A.scaleLocation,d.scaleX,d.scaleY),S.uniform2f(A.offsetLocation,d.offsetX,d.offsetY),S.drawArrays(S.TRIANGLES,0,w),S.flush(),S.deleteBuffer(W),S.deleteBuffer(q),x},cleanup:function(){c&&c.canvas&&(c.canvas.width=0,c.canvas.height=0),l&&l.canvas&&(l.canvas.width=0,l.canvas.height=0),c=null,l=null}}}();t.WebGLContext=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=void 0;var n,i=r(1),a=(n=r(3))&&n.__esModule?n:{default:n},o=function(){var e=/\S/,t=["left: ",0,"px; top: ",0,"px; font-size: ",0,"px; font-family: ","",";"];function r(e){if(!e._canceled){var t=e._textDivs,r=e._capability,n=t.length;if(n>1e5){e._renderingDone=!0,r.resolve();return}if(!e._textContentStream)for(var i=0;i<n;i++)e._layoutText(t[i]);e._renderingDone=!0,r.resolve()}}function n(e,t){t.sort(function(e,t){return e.x1-t.x1||e.index-t.index});var r=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];t.forEach(function(e){for(var t,n=0;n<r.length&&r[n].end<=e.y1;)n++;for(var i=r.length-1;i>=0&&r[i].start>=e.y2;)i--;var a,o,s,c,l=-1/0;for(s=n;s<=i;s++)(t=(o=(a=r[s]).boundary).x2>e.x1?o.index>e.index?o.x1New:e.x1:void 0===o.x2New?(o.x2+e.x1)/2:o.x2New)>l&&(l=t);for(e.x1New=l,s=n;s<=i;s++)void 0===(o=(a=r[s]).boundary).x2New?o.x2>e.x1?o.index>e.index&&(o.x2New=o.x2):o.x2New=l:o.x2New>l&&(o.x2New=Math.max(l,o.x2));var u=[],d=null;for(s=n;s<=i;s++){var h=(o=(a=r[s]).boundary).x2>e.x2?o:e;d===h?u[u.length-1].end=a.end:(u.push({start:a.start,end:a.end,boundary:h}),d=h)}for(r[n].start<e.y1&&(u[0].start=e.y1,u.unshift({start:r[n].start,end:e.y1,boundary:r[n].boundary})),e.y2<r[i].end&&(u[u.length-1].end=e.y2,u.push({start:e.y2,end:r[i].end,boundary:r[i].boundary})),s=n;s<=i;s++)if(void 0===(o=(a=r[s]).boundary).x2New){var f=!1;for(c=n-1;!f&&c>=0&&r[c].start>=o.y1;c--)f=r[c].boundary===o;for(c=i+1;!f&&c<r.length&&r[c].end<=o.y2;c++)f=r[c].boundary===o;for(c=0;!f&&c<u.length;c++)f=u[c].boundary===o;f||(o.x2New=l)}Array.prototype.splice.apply(r,[n,i-n+1].concat(u))}),r.forEach(function(t){var r=t.boundary;void 0===r.x2New&&(r.x2New=Math.max(e,r.x2))})}function o(e){var t=e.textContent,r=e.textContentStream,n=e.container,o=e.viewport,s=e.textDivs,c=e.textContentItemsStr,l=e.enhanceTextSelection;this._textContent=t,this._textContentStream=r,this._container=n,this._viewport=o,this._textDivs=s||[],this._textContentItemsStr=c||[],this._enhanceTextSelection=!!l,this._fontInspectorEnabled=!!(a.default.FontInspector&&a.default.FontInspector.enabled),this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,i.createPromiseCapability)(),this._renderTimer=null,this._bounds=[]}return o.prototype={get promise(){return this._capability.promise},cancel:function(){this._reader&&(this._reader.cancel(new i.AbortException("text layer task cancelled")),this._reader=null),this._canceled=!0,null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject("canceled")},_processItems:function(r,n){for(var a=0,o=r.length;a<o;a++)this._textContentItemsStr.push(r[a].str),function(r,n,a){var o=document.createElement("div"),s={style:null,angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(r._textDivs.push(o),f=n.str,!e.test(f)){s.isWhitespace=!0,r._textDivProperties.set(o,s);return}var c=i.Util.transform(r._viewport.transform,n.transform),l=Math.atan2(c[1],c[0]),u=a[n.fontName];u.vertical&&(l+=Math.PI/2);var d=Math.sqrt(c[2]*c[2]+c[3]*c[3]),h=d;if(u.ascent?h=u.ascent*h:u.descent&&(h=(1+u.descent)*h),0===l?(p=c[4],g=c[5]-h):(p=c[4]+h*Math.sin(l),g=c[5]-h*Math.cos(l)),t[1]=p,t[3]=g,t[5]=d,t[7]=u.fontFamily,s.style=t.join(""),o.setAttribute("style",s.style),o.textContent=n.str,r._fontInspectorEnabled&&(o.dataset.fontName=n.fontName),0!==l&&(s.angle=180/Math.PI*l),n.str.length>1&&(u.vertical?s.canvasWidth=n.height*r._viewport.scale:s.canvasWidth=n.width*r._viewport.scale),r._textDivProperties.set(o,s),r._textContentStream&&r._layoutText(o),r._enhanceTextSelection){var f,p,g,m,b,v=1,y=0;0!==l&&(v=Math.cos(l),y=Math.sin(l));var _=(u.vertical?n.height:n.width)*r._viewport.scale;0!==l?(m=[v,y,-y,v,p,g],b=i.Util.getAxialAlignedBoundingBox([0,0,_,d],m)):b=[p,g,p+_,g+d],r._bounds.push({left:b[0],top:b[1],right:b[2],bottom:b[3],div:o,size:[_,d],m:m})}}(this,r[a],n)},_layoutText:function(e){var t=this._container,r=this._textDivProperties.get(e);if(!r.isWhitespace){var n=e.style.fontSize,i=e.style.fontFamily;(n!==this._layoutTextLastFontSize||i!==this._layoutTextLastFontFamily)&&(this._layoutTextCtx.font=n+" "+i,this._lastFontSize=n,this._lastFontFamily=i);var a=this._layoutTextCtx.measureText(e.textContent).width,o="";0!==r.canvasWidth&&a>0&&(r.scale=r.canvasWidth/a,o="scaleX("+r.scale+")"),0!==r.angle&&(o="rotate("+r.angle+"deg) "+o),""!==o&&(r.originalTransform=o,e.style.transform=o),this._textDivProperties.set(e,r),t.appendChild(e)}},_render:function(e){var t=this,n=(0,i.createPromiseCapability)(),a=Object.create(null),o=document.createElement("canvas");if(o.mozOpaque=!0,this._layoutTextCtx=o.getContext("2d",{alpha:!1}),this._textContent){var s=this._textContent.items,c=this._textContent.styles;this._processItems(s,c),n.resolve()}else if(this._textContentStream)this._reader=this._textContentStream.getReader(),function e(){t._reader.read().then(function(r){var o=r.value;if(r.done){n.resolve();return}i.Util.extendObj(a,o.styles),t._processItems(o.items,a),e()},n.reject)}();else throw Error('Neither "textContent" nor "textContentStream" parameters specified.');n.promise.then(function(){a=null,e?t._renderTimer=setTimeout(function(){r(t),t._renderTimer=null},e):r(t)},this._capability.reject)},expandTextDivs:function(e){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(function(e){for(var t,r,a,o,s=e._bounds,c=e._viewport,l=(t=c.width,r=c.height,n(t,a=s.map(function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}})),o=Array(s.length),a.forEach(function(e){o[e.index]={left:e.x1New,top:0,right:e.x2New,bottom:0}}),s.map(function(e,r){var n=o[r],i=a[r];i.x1=e.top,i.y1=t-n.right,i.x2=e.bottom,i.y2=t-n.left,i.index=r,i.x1New=void 0,i.x2New=void 0}),n(r,a),a.forEach(function(e){var t=e.index;o[t].top=e.x1New,o[t].bottom=e.x2New}),o),u=0;u<l.length;u++){var d=s[u].div,h=e._textDivProperties.get(d);if(0===h.angle){h.paddingLeft=s[u].left-l[u].left,h.paddingTop=s[u].top-l[u].top,h.paddingRight=l[u].right-s[u].right,h.paddingBottom=l[u].bottom-s[u].bottom,e._textDivProperties.set(d,h);continue}var f=l[u],p=s[u],g=p.m,m=g[0],b=g[1],v=[[0,0],[0,p.size[1]],[p.size[0],0],p.size],y=new Float64Array(64);v.forEach(function(e,t){var r=i.Util.applyTransform(e,g);y[t+0]=m&&(f.left-r[0])/m,y[t+4]=b&&(f.top-r[1])/b,y[t+8]=m&&(f.right-r[0])/m,y[t+12]=b&&(f.bottom-r[1])/b,y[t+16]=b&&-((f.left-r[0])/b),y[t+20]=m&&(f.top-r[1])/m,y[t+24]=b&&-((f.right-r[0])/b),y[t+28]=m&&(f.bottom-r[1])/m,y[t+32]=m&&-((f.left-r[0])/m),y[t+36]=b&&-((f.top-r[1])/b),y[t+40]=m&&-((f.right-r[0])/m),y[t+44]=b&&-((f.bottom-r[1])/b),y[t+48]=b&&(f.left-r[0])/b,y[t+52]=m&&-((f.top-r[1])/m),y[t+56]=b&&(f.right-r[0])/b,y[t+60]=m&&-((f.bottom-r[1])/m)});var _=function(e,t,r){for(var n=0,i=0;i<r;i++){var a=e[t++];a>0&&(n=n?Math.min(a,n):a)}return n},A=1+Math.min(Math.abs(m),Math.abs(b));h.paddingLeft=_(y,32,16)/A,h.paddingTop=_(y,48,16)/A,h.paddingRight=_(y,0,16)/A,h.paddingBottom=_(y,16,16)/A,e._textDivProperties.set(d,h)}}(this),this._bounds=null);for(var t=0,r=this._textDivs.length;t<r;t++){var a=this._textDivs[t],o=this._textDivProperties.get(a);if(!o.isWhitespace){if(e){var s="",c="";1!==o.scale&&(s="scaleX("+o.scale+")"),0!==o.angle&&(s="rotate("+o.angle+"deg) "+s),0!==o.paddingLeft&&(c+=" padding-left: "+o.paddingLeft/o.scale+"px;",s+=" translateX("+-o.paddingLeft/o.scale+"px)"),0!==o.paddingTop&&(c+=" padding-top: "+o.paddingTop+"px;",s+=" translateY("+-o.paddingTop+"px)"),0!==o.paddingRight&&(c+=" padding-right: "+o.paddingRight/o.scale+"px;"),0!==o.paddingBottom&&(c+=" padding-bottom: "+o.paddingBottom+"px;"),""!==c&&a.setAttribute("style",o.style+c),""!==s&&(a.style.transform=s)}else a.style.padding=0,a.style.transform=o.originalTransform||""}}}}},function(e){var t=new o({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t}}();t.renderTextLayer=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var n=function e(t,r,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,r);if(void 0===i){var a=Object.getPrototypeOf(t);if(null===a)return;return e(a,r,n)}if("value"in i)return i.value;var o=i.get;if(void 0!==o)return o.call(n)},i=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(115),o=r(1);function s(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function c(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var u=function(){function e(){l(this,e)}return i(e,null,[{key:"create",value:function(e){switch(e.data.annotationType){case o.AnnotationType.LINK:return new h(e);case o.AnnotationType.TEXT:return new f(e);case o.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new g(e);case"Btn":if(e.data.radioButton)return new b(e);if(e.data.checkBox)return new m(e);return new v(e);case"Ch":return new y(e)}return new p(e);case o.AnnotationType.POPUP:return new _(e);case o.AnnotationType.LINE:return new x(e);case o.AnnotationType.SQUARE:return new S(e);case o.AnnotationType.CIRCLE:return new w(e);case o.AnnotationType.POLYLINE:return new T(e);case o.AnnotationType.POLYGON:return new D(e);case o.AnnotationType.HIGHLIGHT:return new C(e);case o.AnnotationType.UNDERLINE:return new k(e);case o.AnnotationType.SQUIGGLY:return new E(e);case o.AnnotationType.STRIKEOUT:return new P(e);case o.AnnotationType.STAMP:return new R(e);case o.AnnotationType.FILEATTACHMENT:return new F(e);default:return new d(e)}}}]),e}(),d=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];l(this,e),this.isRenderable=r,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderInteractiveForms=t.renderInteractiveForms,this.svgFactory=t.svgFactory,r&&(this.container=this._createContainer(n))}return i(e,[{key:"_createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.data,r=this.page,n=this.viewport,i=document.createElement("section"),a=t.rect[2]-t.rect[0],s=t.rect[3]-t.rect[1];i.setAttribute("data-annotation-id",t.id);var c=o.Util.normalizeRect([t.rect[0],r.view[3]-t.rect[1]+r.view[1],t.rect[2],r.view[3]-t.rect[3]+r.view[1]]);if(i.style.transform="matrix("+n.transform.join(",")+")",i.style.transformOrigin=-c[0]+"px "+-c[1]+"px",!e&&t.borderStyle.width>0){i.style.borderWidth=t.borderStyle.width+"px",t.borderStyle.style!==o.AnnotationBorderStyleType.UNDERLINE&&(a-=2*t.borderStyle.width,s-=2*t.borderStyle.width);var l=t.borderStyle.horizontalCornerRadius,u=t.borderStyle.verticalCornerRadius;switch((l>0||u>0)&&(i.style.borderRadius=l+"px / "+u+"px"),t.borderStyle.style){case o.AnnotationBorderStyleType.SOLID:i.style.borderStyle="solid";break;case o.AnnotationBorderStyleType.DASHED:i.style.borderStyle="dashed";break;case o.AnnotationBorderStyleType.BEVELED:(0,o.warn)("Unimplemented border style: beveled");break;case o.AnnotationBorderStyleType.INSET:(0,o.warn)("Unimplemented border style: inset");break;case o.AnnotationBorderStyleType.UNDERLINE:i.style.borderBottomStyle="solid"}t.color?i.style.borderColor=o.Util.makeCssRgb(0|t.color[0],0|t.color[1],0|t.color[2]):i.style.borderWidth=0}return i.style.left=c[0]+"px",i.style.top=c[1]+"px",i.style.width=a+"px",i.style.height=s+"px",i}},{key:"_createPopup",value:function(e,t,r){t||((t=document.createElement("div")).style.height=e.style.height,t.style.width=e.style.width,e.appendChild(t));var n=new A({container:e,trigger:t,color:r.color,title:r.title,contents:r.contents,hideWrapper:!0}).render();n.style.left=e.style.width,e.appendChild(n)}},{key:"render",value:function(){(0,o.unreachable)("Abstract method `AnnotationElement.render` called")}}]),e}(),h=function(e){function t(e){l(this,t);var r=!!(e.data.url||e.data.dest||e.data.action);return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return c(t,e),i(t,[{key:"render",value:function(){this.container.className="linkAnnotation";var e=this.data,t=this.linkService,r=document.createElement("a");return(0,a.addLinkAttributes)(r,{url:e.url,target:e.newWindow?a.LinkTarget.BLANK:t.externalLinkTarget,rel:t.externalLinkRel}),e.url||(e.action?this._bindNamedAction(r,e.action):this._bindLink(r,e.dest)),this.container.appendChild(r),this.container}},{key:"_bindLink",value:function(e,t){var r=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&r.linkService.navigateTo(t),!1},t&&(e.className="internalLink")}},{key:"_bindNamedAction",value:function(e,t){var r=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return r.linkService.executeNamedAction(t),!1},e.className="internalLink"}}]),t}(d),f=function(e){function t(e){l(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return c(t,e),i(t,[{key:"render",value:function(){this.container.className="textAnnotation";var e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}}]),t}(d),p=function(e){function t(){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),i(t,[{key:"render",value:function(){return this.container}}]),t}(d),g=function(e){function t(e){l(this,t);var r=e.renderInteractiveForms||!e.data.hasAppearance&&!!e.data.fieldValue;return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return c(t,e),i(t,[{key:"render",value:function(){this.container.className="textWidgetAnnotation";var e=null;if(this.renderInteractiveForms){if(this.data.multiLine?(e=document.createElement("textarea")).textContent=this.data.fieldValue:((e=document.createElement("input")).type="text",e.setAttribute("value",this.data.fieldValue)),e.disabled=this.data.readOnly,null!==this.data.maxLen&&(e.maxLength=this.data.maxLen),this.data.comb){var t=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;e.classList.add("comb"),e.style.letterSpacing="calc("+t+"px - 1ch)"}}else{(e=document.createElement("div")).textContent=this.data.fieldValue,e.style.verticalAlign="middle",e.style.display="table-cell";var r=null;this.data.fontRefName&&(r=this.page.commonObjs.getData(this.data.fontRefName)),this._setTextStyle(e,r)}return null!==this.data.textAlignment&&(e.style.textAlign=["left","center","right"][this.data.textAlignment]),this.container.appendChild(e),this.container}},{key:"_setTextStyle",value:function(e,t){var r=e.style;if(r.fontSize=this.data.fontSize+"px",r.direction=this.data.fontDirection<0?"rtl":"ltr",t){r.fontWeight=t.black?t.bold?"900":"bold":t.bold?"bold":"normal",r.fontStyle=t.italic?"italic":"normal";var n=t.loadedName?'"'+t.loadedName+'", ':"",i=t.fallbackName||"Helvetica, sans-serif";r.fontFamily=n+i}}}]),t}(p),m=function(e){function t(e){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,e.renderInteractiveForms))}return c(t,e),i(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation checkBox";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="checkbox",this.data.fieldValue&&"Off"!==this.data.fieldValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(p),b=function(e){function t(e){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,e.renderInteractiveForms))}return c(t,e),i(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation radioButton";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="radio",e.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(p),v=function(e){function t(){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),i(t,[{key:"render",value:function(){var e=n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"render",this).call(this);return e.className="buttonWidgetAnnotation pushButton",e}}]),t}(h),y=function(e){function t(e){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,e.renderInteractiveForms))}return c(t,e),i(t,[{key:"render",value:function(){this.container.className="choiceWidgetAnnotation";var e=document.createElement("select");e.disabled=this.data.readOnly,!this.data.combo&&(e.size=this.data.options.length,this.data.multiSelect&&(e.multiple=!0));for(var t=0,r=this.data.options.length;t<r;t++){var n=this.data.options[t],i=document.createElement("option");i.textContent=n.displayValue,i.value=n.exportValue,this.data.fieldValue.includes(n.displayValue)&&i.setAttribute("selected",!0),e.appendChild(i)}return this.container.appendChild(e),this.container}}]),t}(p),_=function(e){function t(e){l(this,t);var r=!!(e.data.title||e.data.contents);return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return c(t,e),i(t,[{key:"render",value:function(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon"].includes(this.data.parentType))return this.container;var e='[data-annotation-id="'+this.data.parentId+'"]',t=this.layer.querySelector(e);if(!t)return this.container;var r=new A({container:this.container,trigger:t,color:this.data.color,title:this.data.title,contents:this.data.contents}),n=parseFloat(t.style.left),i=parseFloat(t.style.width);return this.container.style.transformOrigin=-(n+i)+"px -"+t.style.top,this.container.style.left=n+i+"px",this.container.appendChild(r.render()),this.container}}]),t}(d),A=function(){function e(t){l(this,e),this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.title=t.title,this.contents=t.contents,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}return i(e,[{key:"render",value:function(){var e=document.createElement("div");e.className="popupWrapper",this.hideElement=this.hideWrapper?e:this.container,this.hideElement.setAttribute("hidden",!0);var t=document.createElement("div");t.className="popup";var r=this.color;if(r){var n=.7*(255-r[0])+r[0],i=.7*(255-r[1])+r[1],a=.7*(255-r[2])+r[2];t.style.backgroundColor=o.Util.makeCssRgb(0|n,0|i,0|a)}var s=this._formatContents(this.contents),c=document.createElement("h1");return c.textContent=this.title,this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),t.addEventListener("click",this._hide.bind(this,!0)),t.appendChild(c),t.appendChild(s),e.appendChild(t),e}},{key:"_formatContents",value:function(e){for(var t=document.createElement("p"),r=e.split(/(?:\r\n?|\n)/),n=0,i=r.length;n<i;++n){var a=r[n];t.appendChild(document.createTextNode(a)),n<i-1&&t.appendChild(document.createElement("br"))}return t}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)}},{key:"_hide",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];e&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}}]),e}(),x=function(e){function t(e){l(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return c(t,e),i(t,[{key:"render",value:function(){this.container.className="lineAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=this.svgFactory.createElement("svg:line");return i.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),i.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),i.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),i.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),i.setAttribute("stroke-width",e.borderStyle.width),i.setAttribute("stroke","transparent"),n.appendChild(i),this.container.append(n),this._createPopup(this.container,i,e),this.container}}]),t}(d),S=function(e){function t(e){l(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return c(t,e),i(t,[{key:"render",value:function(){this.container.className="squareAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,a=this.svgFactory.createElement("svg:rect");return a.setAttribute("x",i/2),a.setAttribute("y",i/2),a.setAttribute("width",t-i),a.setAttribute("height",r-i),a.setAttribute("stroke-width",i),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),n.appendChild(a),this.container.append(n),this._createPopup(this.container,a,e),this.container}}]),t}(d),w=function(e){function t(e){l(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return c(t,e),i(t,[{key:"render",value:function(){this.container.className="circleAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,a=this.svgFactory.createElement("svg:ellipse");return a.setAttribute("cx",t/2),a.setAttribute("cy",r/2),a.setAttribute("rx",t/2-i/2),a.setAttribute("ry",r/2-i/2),a.setAttribute("stroke-width",i),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),n.appendChild(a),this.container.append(n),this._createPopup(this.container,a,e),this.container}}]),t}(d),T=function(e){function t(e){l(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents),n=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0));return n.containerClassName="polylineAnnotation",n.svgElementName="svg:polyline",n}return c(t,e),i(t,[{key:"render",value:function(){this.container.className=this.containerClassName;for(var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.vertices,a=[],o=0,s=i.length;o<s;o++){var c=i[o].x-e.rect[0],l=e.rect[3]-i[o].y;a.push(c+","+l)}a=a.join(" ");var u=e.borderStyle.width,d=this.svgFactory.createElement(this.svgElementName);return d.setAttribute("points",a),d.setAttribute("stroke-width",u),d.setAttribute("stroke","transparent"),d.setAttribute("fill","none"),n.appendChild(d),this.container.append(n),this._createPopup(this.container,d,e),this.container}}]),t}(d),D=function(e){function t(e){l(this,t);var r=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return c(t,e),t}(T),C=function(e){function t(e){l(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return c(t,e),i(t,[{key:"render",value:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(d),k=function(e){function t(e){l(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return c(t,e),i(t,[{key:"render",value:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(d),E=function(e){function t(e){l(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return c(t,e),i(t,[{key:"render",value:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(d),P=function(e){function t(e){l(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return c(t,e),i(t,[{key:"render",value:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(d),R=function(e){function t(e){l(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r,!0))}return c(t,e),i(t,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(d),F=function(e){function t(e){l(this,t);var r=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,!0)),n=r.data.file;return r.filename=(0,a.getFilenameFromUrl)(n.filename),r.content=n.content,r.linkService.onFileAttachmentAnnotation({id:(0,o.stringToPDFString)(n.filename),filename:n.filename,content:n.content}),r}return c(t,e),i(t,[{key:"render",value:function(){this.container.className="fileAttachmentAnnotation";var e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),!this.data.hasPopup&&(this.data.title||this.data.contents)&&this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}},{key:"_download",value:function(){if(!this.downloadManager){(0,o.warn)("Download cannot be started due to unavailable download manager");return}this.downloadManager.downloadData(this.content,this.filename,"")}}]),t}(d),U=function(){function e(){l(this,e)}return i(e,null,[{key:"render",value:function(e){for(var t=0,r=e.annotations.length;t<r;t++){var n=e.annotations[t];if(n){var i=u.create({data:n,layer:e.div,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderInteractiveForms:e.renderInteractiveForms||!1,svgFactory:new a.DOMSVGFactory});i.isRenderable&&e.div.appendChild(i.render())}}}},{key:"update",value:function(e){for(var t=0,r=e.annotations.length;t<r;t++){var n=e.annotations[t],i=e.div.querySelector('[data-annotation-id="'+n.id+'"]');i&&(i.style.transform="matrix("+e.viewport.transform.join(",")+")")}e.div.removeAttribute("hidden")}}]),e}();t.AnnotationLayer=U},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var i,a=n(1),o=n(115),s=(i=n(4))&&i.__esModule?i:{default:i},c=function(){throw Error("Not implemented: SVGGraphics")},l="normal",u="#000000",d=function(){for(var e=new Uint8Array([137,80,78,71,13,10,26,10]),t=new Int32Array(256),n=0;n<256;n++){for(var i=n,o=0;o<8;o++)i=1&i?0xedb88320^i>>1&0x7fffffff:i>>1&0x7fffffff;t[n]=i}function c(e,r,n,i){var a=i,o=r.length;n[a]=o>>24&255,n[a+1]=o>>16&255,n[a+2]=o>>8&255,n[a+3]=255&o,n[a+=4]=255&e.charCodeAt(0),n[a+1]=255&e.charCodeAt(1),n[a+2]=255&e.charCodeAt(2),n[a+3]=255&e.charCodeAt(3),a+=4,n.set(r,a);var s=function(e,r,n){for(var i=-1,a=r;a<n;a++){var o=t[(i^e[a])&255];i=i>>>8^o}return -1^i}(n,i+4,a+=r.length);n[a]=s>>24&255,n[a+1]=s>>16&255,n[a+2]=s>>8&255,n[a+3]=255&s}function l(e){var t=e.length,r=Math.ceil(t/65535),n=new Uint8Array(2+t+5*r+4),i=0;n[i++]=120,n[i++]=156;for(var a=0;t>65535;)n[i++]=0,n[i++]=255,n[i++]=255,n[i++]=0,n[i++]=0,n.set(e.subarray(a,a+65535),i),i+=65535,a+=65535,t-=65535;n[i++]=1,n[i++]=255&t,n[i++]=t>>8&255,n[i++]=255&~t,n[i++]=(65535&~t)>>8&255,n.set(e.subarray(a),i),i+=e.length-a;var o=function(e,t,r){for(var n=1,i=0,a=0;a<r;++a)i=(i+(n=(n+(255&e[a]))%65521))%65521;return i<<16|n}(e,0,e.length);return n[i++]=o>>24&255,n[i++]=o>>16&255,n[i++]=o>>8&255,n[i++]=255&o,n}return function(t,n,i){var o=void 0===t.kind?a.ImageKind.GRAYSCALE_1BPP:t.kind;return function(t,n,i,o){var u,d,h,f,p,g=t.width,m=t.height,b=t.data;switch(n){case a.ImageKind.GRAYSCALE_1BPP:d=0,u=1,h=g+7>>3;break;case a.ImageKind.RGB_24BPP:d=2,u=8,h=3*g;break;case a.ImageKind.RGBA_32BPP:d=6,u=8,h=4*g;break;default:throw Error("invalid format")}var v=new Uint8Array((1+h)*m),y=0,_=0;for(f=0;f<m;++f)v[y++]=0,v.set(b.subarray(_,_+h),y),_+=h,y+=h;if(n===a.ImageKind.GRAYSCALE_1BPP&&o)for(f=0,y=0;f<m;f++)for(y++,p=0;p<h;p++)v[y++]^=255;var A=new Uint8Array([g>>24&255,g>>16&255,g>>8&255,255&g,m>>24&255,m>>16&255,m>>8&255,255&m,u,d,0,0,0]),x=function(e){if(!(0,s.default)())return l(e);try{parseInt(process.versions.node)>=8?t=e:t=new Buffer(e);var t,n=r(74075).deflateSync(t,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(e){(0,a.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return l(e)}(v),S=new Uint8Array(e.length+36+A.length+x.length),w=0;return S.set(e,w),c("IHDR",A,S,w+=e.length),c("IDATA",x,S,w+=12+A.length),w+=12+x.length,c("IEND",new Uint8Array(0),S,w),(0,a.createObjectURL)(S,"image/png",i)}(t,o,n,i)}}(),h=function(){function e(){this.fontSizeScale=1,this.fontWeight=l,this.fontSize=0,this.textMatrix=a.IDENTITY_MATRIX,this.fontMatrix=a.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=u,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}();t.SVGGraphics=c=function(){function e(e){if(Number.isInteger(e))return e.toString();var t=e.toFixed(10),r=t.length-1;if("0"!==t[r])return t;do r--;while("0"===t[r]);return t.substr(0,"."===t[r]?r:r+1)}function t(t){if(0===t[4]&&0===t[5]){if(0===t[1]&&0===t[2])return 1===t[0]&&1===t[3]?"":"scale("+e(t[0])+" "+e(t[3])+")";if(t[0]===t[3]&&t[1]===-t[2])return"rotate("+e(180*Math.acos(t[0])/Math.PI)+")"}else if(1===t[0]&&0===t[1]&&0===t[2]&&1===t[3])return"translate("+e(t[4])+" "+e(t[5])+")";return"matrix("+e(t[0])+" "+e(t[1])+" "+e(t[2])+" "+e(t[3])+" "+e(t[4])+" "+e(t[5])+")"}function r(e,t,r){this.svgFactory=new o.DOMSVGFactory,this.current=new h,this.transformMatrix=a.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=e,this.objs=t,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!r}var n="http://www.w3.org/1999/xlink",i=["butt","round","square"],s=["miter","round","bevel"],c=0,f=0;return r.prototype={save:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()},restore:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null},group:function(e){this.save(),this.executeOpTree(e),this.restore()},loadDependencies:function(e){for(var t=this,r=e.fnArray,n=r.length,i=e.argsArray,o=0;o<n;o++)if(a.OPS.dependency===r[o])for(var s=i[o],c=0,l=s.length;c<l;c++){var u,d=s[c];u=new Promise("g_"===d.substring(0,2)?function(e){t.commonObjs.get(d,e)}:function(e){t.objs.get(d,e)}),this.current.dependencies.push(u)}return Promise.all(this.current.dependencies)},transform:function(e,t,r,n,i,o){this.transformMatrix=a.Util.transform(this.transformMatrix,[e,t,r,n,i,o]),this.tgrp=null},getSVG:function(e,t){var r=this;this.viewport=t;var n=this._initialize(t);return this.loadDependencies(e).then(function(){r.transformMatrix=a.IDENTITY_MATRIX;var t=r.convertOpList(e);return r.executeOpTree(t),n})},convertOpList:function(e){var t=e.argsArray,r=e.fnArray,n=r.length,i=[],o=[];for(var s in a.OPS)i[a.OPS[s]]=s;for(var c=0;c<n;c++){var l=r[c];o.push({fnId:l,fn:i[l],args:t[c]})}return function(e){for(var t=[],r=[],n=e.length,i=0;i<n;i++){if("save"===e[i].fn){t.push({fnId:92,fn:"group",items:[]}),r.push(t),t=t[t.length-1].items;continue}"restore"===e[i].fn?t=r.pop():t.push(e[i])}return t}(o)},executeOpTree:function(e){for(var t=e.length,r=0;r<t;r++){var n=e[r].fn,i=e[r].fnId,o=e[r].args;switch(0|i){case a.OPS.beginText:this.beginText();break;case a.OPS.dependency:break;case a.OPS.setLeading:this.setLeading(o);break;case a.OPS.setLeadingMoveText:this.setLeadingMoveText(o[0],o[1]);break;case a.OPS.setFont:this.setFont(o);break;case a.OPS.showText:case a.OPS.showSpacedText:this.showText(o[0]);break;case a.OPS.endText:this.endText();break;case a.OPS.moveText:this.moveText(o[0],o[1]);break;case a.OPS.setCharSpacing:this.setCharSpacing(o[0]);break;case a.OPS.setWordSpacing:this.setWordSpacing(o[0]);break;case a.OPS.setHScale:this.setHScale(o[0]);break;case a.OPS.setTextMatrix:this.setTextMatrix(o[0],o[1],o[2],o[3],o[4],o[5]);break;case a.OPS.setTextRise:this.setTextRise(o[0]);break;case a.OPS.setLineWidth:this.setLineWidth(o[0]);break;case a.OPS.setLineJoin:this.setLineJoin(o[0]);break;case a.OPS.setLineCap:this.setLineCap(o[0]);break;case a.OPS.setMiterLimit:this.setMiterLimit(o[0]);break;case a.OPS.setFillRGBColor:this.setFillRGBColor(o[0],o[1],o[2]);break;case a.OPS.setStrokeRGBColor:this.setStrokeRGBColor(o[0],o[1],o[2]);break;case a.OPS.setDash:this.setDash(o[0],o[1]);break;case a.OPS.setGState:this.setGState(o[0]);break;case a.OPS.fill:this.fill();break;case a.OPS.eoFill:this.eoFill();break;case a.OPS.stroke:this.stroke();break;case a.OPS.fillStroke:this.fillStroke();break;case a.OPS.eoFillStroke:this.eoFillStroke();break;case a.OPS.clip:this.clip("nonzero");break;case a.OPS.eoClip:this.clip("evenodd");break;case a.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case a.OPS.paintJpegXObject:this.paintJpegXObject(o[0],o[1],o[2]);break;case a.OPS.paintImageXObject:this.paintImageXObject(o[0]);break;case a.OPS.paintInlineImageXObject:this.paintInlineImageXObject(o[0]);break;case a.OPS.paintImageMaskXObject:this.paintImageMaskXObject(o[0]);break;case a.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(o[0],o[1]);break;case a.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case a.OPS.closePath:this.closePath();break;case a.OPS.closeStroke:this.closeStroke();break;case a.OPS.closeFillStroke:this.closeFillStroke();break;case a.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case a.OPS.nextLine:this.nextLine();break;case a.OPS.transform:this.transform(o[0],o[1],o[2],o[3],o[4],o[5]);break;case a.OPS.constructPath:this.constructPath(o[0],o[1]);break;case a.OPS.endPath:this.endPath();break;case 92:this.group(e[r].items);break;default:(0,a.warn)("Unimplemented operator "+n)}}},setWordSpacing:function(e){this.current.wordSpacing=e},setCharSpacing:function(e){this.current.charSpacing=e},nextLine:function(){this.moveText(0,this.current.leading)},setTextMatrix:function(t,r,n,i,a,o){var s=this.current;this.current.textMatrix=this.current.lineMatrix=[t,r,n,i,a,o],this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,s.xcoords=[],s.tspan=this.svgFactory.createElement("svg:tspan"),s.tspan.setAttributeNS(null,"font-family",s.fontFamily),s.tspan.setAttributeNS(null,"font-size",e(s.fontSize)+"px"),s.tspan.setAttributeNS(null,"y",e(-s.y)),s.txtElement=this.svgFactory.createElement("svg:text"),s.txtElement.appendChild(s.tspan)},beginText:function(){this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,this.current.textMatrix=a.IDENTITY_MATRIX,this.current.lineMatrix=a.IDENTITY_MATRIX,this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.txtElement=this.svgFactory.createElement("svg:text"),this.current.txtgrp=this.svgFactory.createElement("svg:g"),this.current.xcoords=[]},moveText:function(t,r){var n=this.current;this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=r,n.xcoords=[],n.tspan=this.svgFactory.createElement("svg:tspan"),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size",e(n.fontSize)+"px"),n.tspan.setAttributeNS(null,"y",e(-n.y))},showText:function(r){var n=this.current,i=n.font,o=n.fontSize;if(0!==o){var s,c=n.charSpacing,d=n.wordSpacing,h=n.fontDirection,f=n.textHScale*h,p=r.length,g=i.vertical,m=o*n.fontMatrix[0],b=0;for(s=0;s<p;++s){var v=r[s];if(null===v){b+=h*d;continue}if((0,a.isNum)(v)){b+=-v*o*.001;continue}var y=v.width,_=v.fontChar,A=y*m+((v.isSpace?d:0)+c)*h;if(!v.isInFont&&!i.missingFile){b+=A;continue}n.xcoords.push(n.x+b*f),n.tspan.textContent+=_,b+=A}g?n.y-=b*f:n.x+=b*f,n.tspan.setAttributeNS(null,"x",n.xcoords.map(e).join(" ")),n.tspan.setAttributeNS(null,"y",e(-n.y)),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size",e(n.fontSize)+"px"),"normal"!==n.fontStyle&&n.tspan.setAttributeNS(null,"font-style",n.fontStyle),n.fontWeight!==l&&n.tspan.setAttributeNS(null,"font-weight",n.fontWeight),n.fillColor!==u&&n.tspan.setAttributeNS(null,"fill",n.fillColor);var x=n.textMatrix;0!==n.textRise&&(x=x.slice(),x[5]+=n.textRise),n.txtElement.setAttributeNS(null,"transform",t(x)+" scale(1, -1)"),n.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.txtElement.appendChild(n.tspan),n.txtgrp.appendChild(n.txtElement),this._ensureTransformGroup().appendChild(n.txtElement)}},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},addFontStyle:function(e){this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var t=(0,a.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'+e.loadedName+'"; src: url('+t+"); }\n"},setFont:function(t){var r=this.current,n=this.commonObjs.get(t[0]),i=t[1];this.current.font=n,this.embedFonts&&n.data&&!this.embeddedFonts[n.loadedName]&&(this.addFontStyle(n),this.embeddedFonts[n.loadedName]=n),r.fontMatrix=n.fontMatrix?n.fontMatrix:a.FONT_IDENTITY_MATRIX;var o=n.black?n.bold?"bolder":"bold":n.bold?"bold":"normal",s=n.italic?"italic":"normal";i<0?(i=-i,r.fontDirection=-1):r.fontDirection=1,r.fontSize=i,r.fontFamily=n.loadedName,r.fontWeight=o,r.fontStyle=s,r.tspan=this.svgFactory.createElement("svg:tspan"),r.tspan.setAttributeNS(null,"y",e(-r.y)),r.xcoords=[]},endText:function(){},setLineWidth:function(e){this.current.lineWidth=e},setLineCap:function(e){this.current.lineCap=i[e]},setLineJoin:function(e){this.current.lineJoin=s[e]},setMiterLimit:function(e){this.current.miterLimit=e},setStrokeAlpha:function(e){this.current.strokeAlpha=e},setStrokeRGBColor:function(e,t,r){var n=a.Util.makeCssRgb(e,t,r);this.current.strokeColor=n},setFillAlpha:function(e){this.current.fillAlpha=e},setFillRGBColor:function(e,t,r){var n=a.Util.makeCssRgb(e,t,r);this.current.fillColor=n,this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[]},setDash:function(e,t){this.current.dashArray=e,this.current.dashPhase=t},constructPath:function(t,r){var n=this.current,i=n.x,o=n.y;n.path=this.svgFactory.createElement("svg:path");for(var s=[],c=t.length,l=0,u=0;l<c;l++)switch(0|t[l]){case a.OPS.rectangle:i=r[u++],o=r[u++];var d=r[u++],h=r[u++],f=i+d,p=o+h;s.push("M",e(i),e(o),"L",e(f),e(o),"L",e(f),e(p),"L",e(i),e(p),"Z");break;case a.OPS.moveTo:i=r[u++],o=r[u++],s.push("M",e(i),e(o));break;case a.OPS.lineTo:i=r[u++],o=r[u++],s.push("L",e(i),e(o));break;case a.OPS.curveTo:i=r[u+4],o=r[u+5],s.push("C",e(r[u]),e(r[u+1]),e(r[u+2]),e(r[u+3]),e(i),e(o)),u+=6;break;case a.OPS.curveTo2:i=r[u+2],o=r[u+3],s.push("C",e(i),e(o),e(r[u]),e(r[u+1]),e(r[u+2]),e(r[u+3])),u+=4;break;case a.OPS.curveTo3:i=r[u+2],o=r[u+3],s.push("C",e(r[u]),e(r[u+1]),e(i),e(o),e(i),e(o)),u+=4;break;case a.OPS.closePath:s.push("Z")}n.path.setAttributeNS(null,"d",s.join(" ")),n.path.setAttributeNS(null,"fill","none"),this._ensureTransformGroup().appendChild(n.path),n.element=n.path,n.setCurrentPoint(i,o)},endPath:function(){if(this.pendingClip){var e=this.current,r="clippath"+c;c++;var n=this.svgFactory.createElement("svg:clipPath");n.setAttributeNS(null,"id",r),n.setAttributeNS(null,"transform",t(this.transformMatrix));var i=e.element.cloneNode();"evenodd"===this.pendingClip?i.setAttributeNS(null,"clip-rule","evenodd"):i.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,n.appendChild(i),this.defs.appendChild(n),e.activeClipUrl&&(e.clipGroup=null,this.extraStack.forEach(function(e){e.clipGroup=null}),n.setAttributeNS(null,"clip-path",e.activeClipUrl)),e.activeClipUrl="url(#"+r+")",this.tgrp=null}},clip:function(e){this.pendingClip=e},closePath:function(){var e=this.current;if(e.path){var t=e.path.getAttributeNS(null,"d");t+="Z",e.path.setAttributeNS(null,"d",t)}},setLeading:function(e){this.current.leading=-e},setTextRise:function(e){this.current.textRise=e},setHScale:function(e){this.current.textHScale=e/100},setGState:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],i=n[0],o=n[1];switch(i){case"LW":this.setLineWidth(o);break;case"LC":this.setLineCap(o);break;case"LJ":this.setLineJoin(o);break;case"ML":this.setMiterLimit(o);break;case"D":this.setDash(o[0],o[1]);break;case"Font":this.setFont(o);break;case"CA":this.setStrokeAlpha(o);break;case"ca":this.setFillAlpha(o);break;default:(0,a.warn)("Unimplemented graphic state "+i)}}},fill:function(){var e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())},stroke:function(){var t=this.current;t.element&&(t.element.setAttributeNS(null,"stroke",t.strokeColor),t.element.setAttributeNS(null,"stroke-opacity",t.strokeAlpha),t.element.setAttributeNS(null,"stroke-miterlimit",e(t.miterLimit)),t.element.setAttributeNS(null,"stroke-linecap",t.lineCap),t.element.setAttributeNS(null,"stroke-linejoin",t.lineJoin),t.element.setAttributeNS(null,"stroke-width",e(t.lineWidth)+"px"),t.element.setAttributeNS(null,"stroke-dasharray",t.dashArray.map(e).join(" ")),t.element.setAttributeNS(null,"stroke-dashoffset",e(t.dashPhase)+"px"),t.element.setAttributeNS(null,"fill","none"),this.endPath())},eoFill:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()},fillStroke:function(){this.stroke(),this.fill()},eoFillStroke:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()},closeStroke:function(){this.closePath(),this.stroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.closePath(),this.eoFillStroke()},paintSolidColorImageMask:function(){var e=this.current,t=this.svgFactory.createElement("svg:rect");t.setAttributeNS(null,"x","0"),t.setAttributeNS(null,"y","0"),t.setAttributeNS(null,"width","1px"),t.setAttributeNS(null,"height","1px"),t.setAttributeNS(null,"fill",e.fillColor),this._ensureTransformGroup().appendChild(t)},paintJpegXObject:function(t,r,i){var a=this.objs.get(t),o=this.svgFactory.createElement("svg:image");o.setAttributeNS(n,"xlink:href",a.src),o.setAttributeNS(null,"width",e(r)),o.setAttributeNS(null,"height",e(i)),o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y",e(-i)),o.setAttributeNS(null,"transform","scale("+e(1/r)+" "+e(-1/i)+")"),this._ensureTransformGroup().appendChild(o)},paintImageXObject:function(e){var t=this.objs.get(e);if(!t){(0,a.warn)("Dependent image isn't ready yet");return}this.paintInlineImageXObject(t)},paintInlineImageXObject:function(t,r){var i=t.width,a=t.height,o=d(t,this.forceDataSchema,!!r),s=this.svgFactory.createElement("svg:rect");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",e(i)),s.setAttributeNS(null,"height",e(a)),this.current.element=s,this.clip("nonzero");var c=this.svgFactory.createElement("svg:image");c.setAttributeNS(n,"xlink:href",o),c.setAttributeNS(null,"x","0"),c.setAttributeNS(null,"y",e(-a)),c.setAttributeNS(null,"width",e(i)+"px"),c.setAttributeNS(null,"height",e(a)+"px"),c.setAttributeNS(null,"transform","scale("+e(1/i)+" "+e(-1/a)+")"),r?r.appendChild(c):this._ensureTransformGroup().appendChild(c)},paintImageMaskXObject:function(t){var r=this.current,n=t.width,i=t.height,a=r.fillColor;r.maskId="mask"+f++;var o=this.svgFactory.createElement("svg:mask");o.setAttributeNS(null,"id",r.maskId);var s=this.svgFactory.createElement("svg:rect");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",e(n)),s.setAttributeNS(null,"height",e(i)),s.setAttributeNS(null,"fill",a),s.setAttributeNS(null,"mask","url(#"+r.maskId+")"),this.defs.appendChild(o),this._ensureTransformGroup().appendChild(s),this.paintInlineImageXObject(t,o)},paintFormXObjectBegin:function(t,r){if(Array.isArray(t)&&6===t.length&&this.transform(t[0],t[1],t[2],t[3],t[4],t[5]),Array.isArray(r)&&4===r.length){var n=r[2]-r[0],i=r[3]-r[1],a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x",r[0]),a.setAttributeNS(null,"y",r[1]),a.setAttributeNS(null,"width",e(n)),a.setAttributeNS(null,"height",e(i)),this.current.element=a,this.clip("nonzero"),this.endPath()}},paintFormXObjectEnd:function(){},_initialize:function(e){var r=this.svgFactory.create(e.width,e.height),n=this.svgFactory.createElement("svg:defs");r.appendChild(n),this.defs=n;var i=this.svgFactory.createElement("svg:g");return i.setAttributeNS(null,"transform",t(e.transform)),r.appendChild(i),this.svg=i,r},_ensureClipGroup:function(){if(!this.current.clipGroup){var e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup},_ensureTransformGroup:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",t(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}},r}(),t.SVGGraphics=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var i=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=n(1),o=n(130);function s(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function c(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var u=r(29021),d=r(81630),h=r(55591),f=r(79551),p=/^file:\/\/\/[a-zA-Z]:\//,g=function(){function e(t){var r,n;l(this,e),this.source=t,this.url=(r=t.url,"file:"===(n=f.parse(r)).protocol||n.host?n:/^[a-z]:[/\\]/i.test(r)?f.parse("file:///"+r):(n.host||(n.protocol="file:"),n)),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequest=null,this._rangeRequestReaders=[]}return i(e,[{key:"getFullReader",value:function(){return(0,a.assert)(!this._fullRequest),this._fullRequest=this.isFsUrl?new A(this):new y(this),this._fullRequest}},{key:"getRangeReader",value:function(e,t){var r=this.isFsUrl?new x(this,e,t):new _(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequest&&this._fullRequest.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}}]),e}(),m=function(){function e(t){l(this,e),this._url=t.url,this._done=!1,this._errored=!1,this._reason=null,this.onProgress=null;var r=t.source;this._contentLength=r.length,this._loaded=0,this._filename=null,this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._readableStream=null,this._readCapability=(0,a.createPromiseCapability)(),this._headersCapability=(0,a.createPromiseCapability)()}return i(e,[{key:"read",value:function(){var e=this;return this._readCapability.promise.then(function(){if(e._done)return Promise.resolve({value:void 0,done:!0});if(e._errored)return Promise.reject(e._reason);var t=e._readableStream.read();return null===t?(e._readCapability=(0,a.createPromiseCapability)(),e.read()):(e._loaded+=t.length,e.onProgress&&e.onProgress({loaded:e._loaded,total:e._contentLength}),Promise.resolve({value:new Uint8Array(t).buffer,done:!1}))})}},{key:"cancel",value:function(e){if(!this._readableStream){this._error(e);return}this._readableStream.destroy(e)}},{key:"_error",value:function(e){this._errored=!0,this._reason=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",function(){t._readCapability.resolve()}),e.on("end",function(){e.destroy(),t._done=!0,t._readCapability.resolve()}),e.on("error",function(e){t._error(e)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new a.AbortException("streaming is disabled")),this._errored&&this._readableStream.destroy(this._reason)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),b=function(){function e(t){l(this,e),this._url=t.url,this._done=!1,this._errored=!1,this._reason=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,a.createPromiseCapability)();var r=t.source;this._isStreamingSupported=!r.disableStream}return i(e,[{key:"read",value:function(){var e=this;return this._readCapability.promise.then(function(){if(e._done)return Promise.resolve({value:void 0,done:!0});if(e._errored)return Promise.reject(e._reason);var t=e._readableStream.read();return null===t?(e._readCapability=(0,a.createPromiseCapability)(),e.read()):(e._loaded+=t.length,e.onProgress&&e.onProgress({loaded:e._loaded}),Promise.resolve({value:new Uint8Array(t).buffer,done:!1}))})}},{key:"cancel",value:function(e){if(!this._readableStream){this._error(e);return}this._readableStream.destroy(e)}},{key:"_error",value:function(e){this._errored=!0,this._reason=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",function(){t._readCapability.resolve()}),e.on("end",function(){e.destroy(),t._done=!0,t._readCapability.resolve()}),e.on("error",function(e){t._error(e)}),this._errored&&this._readableStream.destroy(this._reason)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}();function v(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}var y=function(e){function t(e){l(this,t);var r=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n=function(t){r._headersCapability.resolve(),r._setReadableStream(t);var n=function(e){return r._readableStream.headers[e.toLowerCase()]},i=(0,o.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),a=i.allowRangeRequests,s=i.suggestedLength;r._isRangeSupported=a,r._contentLength=s||r._contentLength,r._filename=(0,o.extractFilenameFromHeader)(n)};return r._request=null,"http:"===r._url.protocol?r._request=d.request(v(r._url,e.httpHeaders),n):r._request=h.request(v(r._url,e.httpHeaders),n),r._request.on("error",function(e){r._errored=!0,r._reason=e,r._headersCapability.reject(e)}),r._request.end(),r}return c(t,e),t}(m),_=function(e){function t(e,r,n){l(this,t);var i=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));for(var a in i._httpHeaders={},e.httpHeaders){var o=e.httpHeaders[a];void 0!==o&&(i._httpHeaders[a]=o)}return i._httpHeaders.Range="bytes="+r+"-"+(n-1),i._request=null,"http:"===i._url.protocol?i._request=d.request(v(i._url,i._httpHeaders),function(e){i._setReadableStream(e)}):i._request=h.request(v(i._url,i._httpHeaders),function(e){i._setReadableStream(e)}),i._request.on("error",function(e){i._errored=!0,i._reason=e}),i._request.end(),i}return c(t,e),t}(b),A=function(e){function t(e){l(this,t);var r=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n=decodeURIComponent(r._url.path);return p.test(r._url.href)&&(n=n.replace(/^\//,"")),u.lstat(n,function(e,t){if(e){r._errored=!0,r._reason=e,r._headersCapability.reject(e);return}r._contentLength=t.size,r._setReadableStream(u.createReadStream(n)),r._headersCapability.resolve()}),r}return c(t,e),t}(m),x=function(e){function t(e,r,n){l(this,t);var i=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),a=decodeURIComponent(i._url.path);return p.test(i._url.href)&&(a=a.replace(/^\//,"")),i._setReadableStream(u.createReadStream(a,{start:r,end:n-1})),i}return c(t,e),t}(b);t.PDFNodeStream=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateResponseStatus=t.validateRangeRequestCapabilities=t.extractFilenameFromHeader=t.createResponseStatusError=void 0;var n=r(1),i=r(131);t.createResponseStatusError=function(e,t){return 404===e||0===e&&/^file:/.test(t)?new n.MissingPDFException('Missing PDF "'+t+'".'):new n.UnexpectedResponseException("Unexpected server response ("+e+') while retrieving PDF "'+t+'".',e)},t.extractFilenameFromHeader=function(e){var t=e("Content-Disposition");if(t){var r=(0,i.getFilenameFromContentDispositionHeader)(t);if(/\.pdf$/i.test(r))return r}return null},t.validateRangeRequestCapabilities=function(e){var t=e.getResponseHeader,r=e.isHttp,i=e.rangeChunkSize,a=e.disableRange;(0,n.assert)(i>0,"Range chunk size must be larger than zero");var o={allowRangeRequests:!1,suggestedLength:void 0};if(a||!r||"bytes"!==t("Accept-Ranges")||"identity"!==(t("Content-Encoding")||"identity"))return o;var s=parseInt(t("Content-Length"),10);return Number.isInteger(s)&&(o.suggestedLength=s,s<=2*i||(o.allowRangeRequests=!0)),o},t.validateResponseStatus=function(e){return 200===e||206===e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}return r}(e,t);throw TypeError("Invalid attempt to destructure non-iterable instance")};t.getFilenameFromContentDispositionHeader=function(e){var t=!0,r=o("filename\\*","i").exec(e);if(r){var i=l(r=r[1]);return c(i=d(i=u(i=unescape(i))))}if(r=function(e){for(var t=[],r=void 0,i=o("filename\\*((?!0\\d)\\d+)(\\*?)","ig");null!==(r=i.exec(e));){var a=n(r,4),s=a[1],c=a[2],d=a[3];if((s=parseInt(s,10))in t){if(0===s)break;continue}t[s]=[c,d]}for(var h=[],f=0;f<t.length&&f in t;++f){var p=n(t[f],2),g=p[0],m=p[1];m=l(m),g&&(m=unescape(m),0===f&&(m=u(m))),h.push(m)}return h.join("")}(e))return c(d(r));if(r=o("filename","i").exec(e)){var a=l(r=r[1]);return c(a=d(a))}function o(e,t){return RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function s(e,r){if(e){if(!/^[\x00-\xFF]+$/.test(r))return r;try{for(var n=new TextDecoder(e,{fatal:!0}),i=Array(r.length),a=0;a<r.length;++a)i[a]=r.charCodeAt(a);r=n.decode(new Uint8Array(i)),t=!1}catch(n){if(/^utf-?8$/i.test(e))try{r=decodeURIComponent(escape(r)),t=!1}catch(e){}}}return r}function c(e){return t&&/[\x80-\xff]/.test(e)&&(e=s("utf-8",e),t&&(e=s("iso-8859-1",e))),e}function l(e){if('"'===e.charAt(0)){for(var t=e.slice(1).split('\\"'),r=0;r<t.length;++r){var n=t[r].indexOf('"');-1!==n&&(t[r]=t[r].slice(0,n),t.length=r+1),t[r]=t[r].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function u(e){var t=e.indexOf("'");return -1===t?e:s(e.slice(0,t),e.slice(t+1).replace(/^[^']*'/,""))}function d(e){return"=?"!==e.slice(0,2)||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(e,t,r,n){if("q"===r||"Q"===r)return s(t,n=(n=n.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,function(e,t){return String.fromCharCode(parseInt(t,16))}));try{n=atob(n)}catch(e){}return s(t,n)})}return""}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var n=function(){function e(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,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(1),a=r(130);function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function s(e,t,r){return{method:"GET",headers:e,signal:r&&r.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}var c=function(){function e(t){o(this,e),this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return n(e,[{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new l(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new u(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}}]),e}(),l=function(){function e(t){var r=this;o(this,e),this._stream=t,this._reader=null,this._loaded=0,this._filename=null;var n=t.source;for(var c in this._withCredentials=n.withCredentials,this._contentLength=n.length,this._headersCapability=(0,i.createPromiseCapability)(),this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._headers=new Headers,this._stream.httpHeaders){var l=this._stream.httpHeaders[c];void 0!==l&&this._headers.append(c,l)}var u=n.url;fetch(u,s(this._headers,this._withCredentials,this._abortController)).then(function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,u);r._reader=e.body.getReader(),r._headersCapability.resolve();var t=function(t){return e.headers.get(t)},n=(0,a.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:r._stream.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),o=n.allowRangeRequests,s=n.suggestedLength;r._isRangeSupported=o,r._contentLength=s||r._contentLength,r._filename=(0,a.extractFilenameFromHeader)(t),!r._isStreamingSupported&&r._isRangeSupported&&r.cancel(new i.AbortException("streaming is disabled"))}).catch(this._headersCapability.reject),this.onProgress=null}return n(e,[{key:"read",value:function(){var e=this;return this._headersCapability.promise.then(function(){return e._reader.read().then(function(t){var r=t.value,n=t.done;return n?Promise.resolve({value:r,done:n}):(e._loaded+=r.byteLength,e.onProgress&&e.onProgress({loaded:e._loaded,total:e._contentLength}),Promise.resolve({value:new Uint8Array(r).buffer,done:!1}))})})}},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),u=function(){function e(t,r,n){var c=this;o(this,e),this._stream=t,this._reader=null,this._loaded=0;var l=t.source;for(var u in this._withCredentials=l.withCredentials,this._readCapability=(0,i.createPromiseCapability)(),this._isStreamingSupported=!l.disableStream,"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._headers=new Headers,this._stream.httpHeaders){var d=this._stream.httpHeaders[u];void 0!==d&&this._headers.append(u,d)}this._headers.append("Range","bytes="+r+"-"+(n-1));var h=l.url;fetch(h,s(this._headers,this._withCredentials,this._abortController)).then(function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,h);c._readCapability.resolve(),c._reader=e.body.getReader()}),this.onProgress=null}return n(e,[{key:"read",value:function(){var e=this;return this._readCapability.promise.then(function(){return e._reader.read().then(function(t){var r=t.value,n=t.done;return n?Promise.resolve({value:r,done:n}):(e._loaded+=r.byteLength,e.onProgress&&e.onProgress({loaded:e._loaded}),Promise.resolve({value:new Uint8Array(r).buffer,done:!1}))})})}},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}();t.PDFFetchStream=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkManager=t.PDFNetworkStream=void 0;var n,i=r(1),a=r(130),o=(n=r(3))&&n.__esModule?n:{default:n};function s(e,t){this.url=e,t=t||{},this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this.withCredentials=t.withCredentials||!1,this.getXhr=t.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null),this.loadedRequests=Object.create(null)}function c(e){var t=e.response;return"string"!=typeof t?t:(0,i.stringToBytes)(t).buffer}var l=function(){try{var e=new XMLHttpRequest;return e.open("GET",o.default.location.href),e.responseType="moz-chunked-arraybuffer","moz-chunked-arraybuffer"===e.responseType}catch(e){return!1}}();function u(e){this._source=e,this._manager=new s(e.url,{httpHeaders:e.httpHeaders,withCredentials:e.withCredentials}),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}function d(e,t){this._manager=e;var r={onHeadersReceived:this._onHeadersReceived.bind(this),onProgressiveData:t.disableStream?null:this._onProgressiveData.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=t.url,this._fullRequestId=e.requestFull(r),this._headersReceivedCapability=(0,i.createPromiseCapability)(),this._disableRange=t.disableRange||!1,this._contentLength=t.length,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}function h(e,t,r){this._manager=e;var n={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=e.requestRange(t,r,n),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}s.prototype={requestRange:function(e,t,r){var n={begin:e,end:t};for(var i in r)n[i]=r[i];return this.request(n)},requestFull:function(e){return this.request(e)},request:function(e){var t=this.getXhr(),r=this.currXhrId++,n=this.pendingRequests[r]={xhr:t};for(var i in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var a=this.httpHeaders[i];void 0!==a&&t.setRequestHeader(i,a)}if(this.isHttp&&"begin"in e&&"end"in e){var o=e.begin+"-"+(e.end-1);t.setRequestHeader("Range","bytes="+o),n.expectedStatus=206}else n.expectedStatus=200;return l&&e.onProgressiveData?(t.responseType="moz-chunked-arraybuffer",n.onProgressiveData=e.onProgressiveData,n.mozChunked=!0):t.responseType="arraybuffer",e.onError&&(t.onerror=function(r){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,r),t.onprogress=this.onProgress.bind(this,r),n.onHeadersReceived=e.onHeadersReceived,n.onDone=e.onDone,n.onError=e.onError,n.onProgress=e.onProgress,t.send(null),r},onProgress:function(e,t){var r=this.pendingRequests[e];if(r){if(r.mozChunked){var n=c(r.xhr);r.onProgressiveData(n)}var i=r.onProgress;i&&i(t)}},onStateChange:function(e,t){var r=this.pendingRequests[e];if(r){var n=r.xhr;if(n.readyState>=2&&r.onHeadersReceived&&(r.onHeadersReceived(),delete r.onHeadersReceived),4===n.readyState&&e in this.pendingRequests){if(delete this.pendingRequests[e],0===n.status&&this.isHttp){r.onError&&r.onError(n.status);return}var i=n.status||200;if(!(200===i&&206===r.expectedStatus)&&i!==r.expectedStatus){r.onError&&r.onError(n.status);return}this.loadedRequests[e]=!0;var a=c(n);if(206===i){var o=n.getResponseHeader("Content-Range"),s=parseInt(/bytes (\d+)-(\d+)\/(\d+)/.exec(o)[1],10);r.onDone({begin:s,chunk:a})}else r.onProgressiveData?r.onDone(null):a?r.onDone({begin:0,chunk:a}):r.onError&&r.onError(n.status)}}},hasPendingRequests:function(){for(var e in this.pendingRequests)return!0;return!1},getRequestXhr:function(e){return this.pendingRequests[e].xhr},isStreamingRequest:function(e){return!!this.pendingRequests[e].onProgressiveData},isPendingRequest:function(e){return e in this.pendingRequests},isLoadedRequest:function(e){return e in this.loadedRequests},abortAllRequests:function(){for(var e in this.pendingRequests)this.abortRequest(0|e)},abortRequest:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}},u.prototype={_onRangeRequestReaderClosed:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)},getFullReader:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new d(this._manager,this._source),this._fullRequestReader},getRangeReader:function(e,t){var r=new h(this._manager,e,t);return r.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r},cancelAllRequests:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}},d.prototype={_onHeadersReceived:function(){var e=this._fullRequestId,t=this._manager.getRequestXhr(e),r=function(e){return t.getResponseHeader(e)},n=(0,a.validateRangeRequestCapabilities)({getResponseHeader:r,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),i=n.allowRangeRequests,o=n.suggestedLength;i&&(this._isRangeSupported=!0),this._contentLength=o||this._contentLength,this._filename=(0,a.extractFilenameFromHeader)(r);var s=this._manager;s.isStreamingRequest(e)?this._isStreamingSupported=!0:this._isRangeSupported&&s.abortRequest(e),this._headersReceivedCapability.resolve()},_onProgressiveData:function(e){this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._cachedChunks.push(e)},_onDone:function(e){e&&this._onProgressiveData(e.chunk),this._done=!0,this._cachedChunks.length>0||(this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[])},_onError:function(e){var t=this._url,r=(0,a.createResponseStatusError)(e,t);this._storedError=r,this._headersReceivedCapability.reject(r),this._requests.forEach(function(e){e.reject(r)}),this._requests=[],this._cachedChunks=[]},_onProgress:function(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})},get filename(){return this._filename},get isRangeSupported(){return this._isRangeSupported},get isStreamingSupported(){return this._isStreamingSupported},get contentLength(){return this._contentLength},get headersReady(){return this._headersReceivedCapability.promise},read:function(){if(this._storedError)return Promise.reject(this._storedError);if(this._cachedChunks.length>0)return Promise.resolve({value:this._cachedChunks.shift(),done:!1});if(this._done)return Promise.resolve({value:void 0,done:!0});var e=(0,i.createPromiseCapability)();return this._requests.push(e),e.promise},cancel:function(e){this._done=!0,this._headersReceivedCapability.reject(e),this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},h.prototype={_close:function(){this.onClosed&&this.onClosed(this)},_onDone:function(e){var t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._close()},_onProgress:function(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})},get isStreamingSupported(){return!1},read:function(){if(null!==this._queuedChunk){var e=this._queuedChunk;return this._queuedChunk=null,Promise.resolve({value:e,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var t=(0,i.createPromiseCapability)();return this._requests.push(t),t.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},t.PDFNetworkStream=u,t.NetworkManager=s}])},e.exports=n()},7984:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VERSION:()=>i,after:()=>tA,all:()=>tq,allKeys:()=>ef,any:()=>tB,assign:()=>eR,before:()=>tx,bind:()=>tl,bindAll:()=>th,chain:()=>ta,chunk:()=>rp,clone:()=>eI,collect:()=>tI,compact:()=>rn,compose:()=>t_,constant:()=>K,contains:()=>tz,countBy:()=>t3,create:()=>eO,debounce:()=>tb,default:()=>ry,defaults:()=>eF,defer:()=>tg,delay:()=>tp,detect:()=>tF,difference:()=>ra,drop:()=>rt,each:()=>tO,escape:()=>e3,every:()=>tq,extend:()=>eP,extendOwn:()=>eR,filter:()=>tM,find:()=>tF,findIndex:()=>tD,findKey:()=>tw,findLastIndex:()=>tC,findWhere:()=>tU,first:()=>re,flatten:()=>ri,foldl:()=>tN,foldr:()=>tj,forEach:()=>tO,functions:()=>ek,get:()=>eW,groupBy:()=>t1,has:()=>eq,head:()=>re,identity:()=>eB,include:()=>tz,includes:()=>tz,indexBy:()=>t2,indexOf:()=>tP,initial:()=>t7,inject:()=>tN,intersection:()=>rl,invert:()=>eC,invoke:()=>tH,isArguments:()=>Y,isArray:()=>G,isArrayBuffer:()=>L,isBoolean:()=>C,isDataView:()=>H,isDate:()=>F,isElement:()=>k,isEmpty:()=>es,isEqual:()=>eh,isError:()=>O,isFinite:()=>Q,isFunction:()=>M,isMap:()=>eA,isMatch:()=>ec,isNaN:()=>J,isNull:()=>T,isNumber:()=>R,isObject:()=>w,isRegExp:()=>U,isSet:()=>eS,isString:()=>P,isSymbol:()=>I,isTypedArray:()=>en,isUndefined:()=>D,isWeakMap:()=>ex,isWeakSet:()=>ew,iteratee:()=>eV,keys:()=>eo,last:()=>rr,lastIndexOf:()=>tR,map:()=>tI,mapObject:()=>eQ,matcher:()=>ez,matches:()=>ez,max:()=>tV,memoize:()=>tf,methods:()=>ek,min:()=>tY,mixin:()=>rm,negate:()=>ty,noop:()=>eJ,now:()=>e0,object:()=>rh,omit:()=>t9,once:()=>tS,pairs:()=>eD,partial:()=>tc,partition:()=>t5,pick:()=>t4,pluck:()=>tG,property:()=>eH,propertyOf:()=>eK,random:()=>e$,range:()=>rf,reduce:()=>tN,reduceRight:()=>tj,reject:()=>tW,rest:()=>rt,restArguments:()=>S,result:()=>tr,sample:()=>tK,select:()=>tM,shuffle:()=>tZ,size:()=>t8,some:()=>tB,sortBy:()=>t$,sortedIndex:()=>tk,tail:()=>rt,take:()=>re,tap:()=>eL,template:()=>tt,templateSettings:()=>e8,throttle:()=>tm,times:()=>eZ,toArray:()=>tJ,toPath:()=>eN,transpose:()=>ru,unescape:()=>e5,union:()=>rc,uniq:()=>rs,unique:()=>rs,uniqueId:()=>ti,unzip:()=>ru,values:()=>eT,where:()=>tX,without:()=>ro,wrap:()=>tv,zip:()=>rd});var n={};r.r(n),r.d(n,{VERSION:()=>i,after:()=>tA,all:()=>tq,allKeys:()=>ef,any:()=>tB,assign:()=>eR,before:()=>tx,bind:()=>tl,bindAll:()=>th,chain:()=>ta,chunk:()=>rp,clone:()=>eI,collect:()=>tI,compact:()=>rn,compose:()=>t_,constant:()=>K,contains:()=>tz,countBy:()=>t3,create:()=>eO,debounce:()=>tb,default:()=>rb,defaults:()=>eF,defer:()=>tg,delay:()=>tp,detect:()=>tF,difference:()=>ra,drop:()=>rt,each:()=>tO,escape:()=>e3,every:()=>tq,extend:()=>eP,extendOwn:()=>eR,filter:()=>tM,find:()=>tF,findIndex:()=>tD,findKey:()=>tw,findLastIndex:()=>tC,findWhere:()=>tU,first:()=>re,flatten:()=>ri,foldl:()=>tN,foldr:()=>tj,forEach:()=>tO,functions:()=>ek,get:()=>eW,groupBy:()=>t1,has:()=>eq,head:()=>re,identity:()=>eB,include:()=>tz,includes:()=>tz,indexBy:()=>t2,indexOf:()=>tP,initial:()=>t7,inject:()=>tN,intersection:()=>rl,invert:()=>eC,invoke:()=>tH,isArguments:()=>Y,isArray:()=>G,isArrayBuffer:()=>L,isBoolean:()=>C,isDataView:()=>H,isDate:()=>F,isElement:()=>k,isEmpty:()=>es,isEqual:()=>eh,isError:()=>O,isFinite:()=>Q,isFunction:()=>M,isMap:()=>eA,isMatch:()=>ec,isNaN:()=>J,isNull:()=>T,isNumber:()=>R,isObject:()=>w,isRegExp:()=>U,isSet:()=>eS,isString:()=>P,isSymbol:()=>I,isTypedArray:()=>en,isUndefined:()=>D,isWeakMap:()=>ex,isWeakSet:()=>ew,iteratee:()=>eV,keys:()=>eo,last:()=>rr,lastIndexOf:()=>tR,map:()=>tI,mapObject:()=>eQ,matcher:()=>ez,matches:()=>ez,max:()=>tV,memoize:()=>tf,methods:()=>ek,min:()=>tY,mixin:()=>rm,negate:()=>ty,noop:()=>eJ,now:()=>e0,object:()=>rh,omit:()=>t9,once:()=>tS,pairs:()=>eD,partial:()=>tc,partition:()=>t5,pick:()=>t4,pluck:()=>tG,property:()=>eH,propertyOf:()=>eK,random:()=>e$,range:()=>rf,reduce:()=>tN,reduceRight:()=>tj,reject:()=>tW,rest:()=>rt,restArguments:()=>S,result:()=>tr,sample:()=>tK,select:()=>tM,shuffle:()=>tZ,size:()=>t8,some:()=>tB,sortBy:()=>t$,sortedIndex:()=>tk,tail:()=>rt,take:()=>re,tap:()=>eL,template:()=>tt,templateSettings:()=>e8,throttle:()=>tm,times:()=>eZ,toArray:()=>tJ,toPath:()=>eN,transpose:()=>ru,unescape:()=>e5,union:()=>rc,uniq:()=>rs,unique:()=>rs,uniqueId:()=>ti,unzip:()=>ru,values:()=>eT,where:()=>tX,without:()=>ro,wrap:()=>tv,zip:()=>rd});var i="1.13.8",a="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},o=Array.prototype,s=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,l=o.push,u=o.slice,d=s.toString,h=s.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,g=Array.isArray,m=Object.keys,b=Object.create,v=f&&ArrayBuffer.isView,y=isNaN,_=isFinite,A=!({toString:null}).propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];function S(e,t){return t=null==t?e.length-1:+t,function(){for(var r=Math.max(arguments.length-t,0),n=Array(r),i=0;i<r;i++)n[i]=arguments[i+t];switch(t){case 0:return e.call(this,n);case 1:return e.call(this,arguments[0],n);case 2:return e.call(this,arguments[0],arguments[1],n)}var a=Array(t+1);for(i=0;i<t;i++)a[i]=arguments[i];return a[t]=n,e.apply(this,a)}}function w(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function T(e){return null===e}function D(e){return void 0===e}function C(e){return!0===e||!1===e||"[object Boolean]"===d.call(e)}function k(e){return!!(e&&1===e.nodeType)}function E(e){var t="[object "+e+"]";return function(e){return d.call(e)===t}}let P=E("String"),R=E("Number"),F=E("Date"),U=E("RegExp"),O=E("Error"),I=E("Symbol"),L=E("ArrayBuffer");var N=E("Function"),j=a.document&&a.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof j&&(N=function(e){return"function"==typeof e});let M=N,W=E("Object");var q=p&&(!/\[native code\]/.test(String(DataView))||W(new DataView(new ArrayBuffer(8)))),B="undefined"!=typeof Map&&W(new Map),z=E("DataView");let H=q?function(e){return null!=e&&M(e.getInt8)&&L(e.buffer)}:z,G=g||E("Array");function X(e,t){return null!=e&&h.call(e,t)}var V=E("Arguments");!function(){V(arguments)||(V=function(e){return X(e,"callee")})}();let Y=V;function Q(e){return!I(e)&&_(e)&&!isNaN(parseFloat(e))}function J(e){return R(e)&&y(e)}function K(e){return function(){return e}}function Z(e){return function(t){var r=e(t);return"number"==typeof r&&r>=0&&r<=0x1fffffffffffff}}function $(e){return function(t){return null==t?void 0:t[e]}}let ee=$("byteLength"),et=Z(ee);var er=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;let en=f?function(e){return v?v(e)&&!H(e):et(e)&&er.test(d.call(e))}:K(!1),ei=$("length");function ea(e,t){t=function(e){for(var t={},r=e.length,n=0;n<r;++n)t[e[n]]=!0;return{contains:function(e){return!0===t[e]},push:function(r){return t[r]=!0,e.push(r)}}}(t);var r=x.length,n=e.constructor,i=M(n)&&n.prototype||s,a="constructor";for(X(e,a)&&!t.contains(a)&&t.push(a);r--;)(a=x[r])in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}function eo(e){if(!w(e))return[];if(m)return m(e);var t=[];for(var r in e)X(e,r)&&t.push(r);return A&&ea(e,t),t}function es(e){if(null==e)return!0;var t=ei(e);return"number"==typeof t&&(G(e)||P(e)||Y(e))?0===t:0===ei(eo(e))}function ec(e,t){var r=eo(t),n=r.length;if(null==e)return!n;for(var i=Object(e),a=0;a<n;a++){var o=r[a];if(t[o]!==i[o]||!(o in i))return!1}return!0}function el(e){return e instanceof el?e:this instanceof el?void(this._wrapped=e):new el(e)}function eu(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,ee(e))}el.VERSION=i,el.prototype.value=function(){return this._wrapped},el.prototype.valueOf=el.prototype.toJSON=el.prototype.value,el.prototype.toString=function(){return String(this._wrapped)};var ed="[object DataView]";function eh(e,t){for(var r=[{a:e,b:t}],n=[],i=[];r.length;){var a=r.pop();if(!0===a){n.pop(),i.pop();continue}if((e=a.a)===(t=a.b)){if(0!==e||1/e==1/t)continue;return!1}if(null==e||null==t)return!1;if(e!=e){if(t!=t)continue;return!1}var o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;e instanceof el&&(e=e._wrapped),t instanceof el&&(t=t._wrapped);var s=d.call(e);if(s!==d.call(t))return!1;if(q&&"[object Object]"==s&&H(e)){if(!H(t))return!1;s=ed}switch(s){case"[object RegExp]":case"[object String]":if(""+e==""+t)continue;return!1;case"[object Number]":r.push({a:+e,b:+t});continue;case"[object Date]":case"[object Boolean]":if(+e==+t)continue;return!1;case"[object Symbol]":if(c.valueOf.call(e)===c.valueOf.call(t))continue;return!1;case"[object ArrayBuffer]":case ed:r.push({a:eu(e),b:eu(t)});continue}var l="[object Array]"===s;if(!l&&en(e)){if(ee(e)!==ee(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)continue;l=!0}if(!l){if("object"!=typeof e||"object"!=typeof t)return!1;var u=e.constructor,h=t.constructor;if(u!==h&&!(M(u)&&u instanceof u&&M(h)&&h instanceof h)&&"constructor"in e&&"constructor"in t)return!1}for(var f=n.length;f--;)if(n[f]===e){if(i[f]===t)break;return!1}if(!(f>=0)){if(n.push(e),i.push(t),r.push(!0),l){if((f=e.length)!==t.length)return!1;for(;f--;)r.push({a:e[f],b:t[f]})}else{var p,g=eo(e);if(f=g.length,eo(t).length!==f)return!1;for(;f--;){if(!X(t,p=g[f]))return!1;r.push({a:e[p],b:t[p]})}}}}return!0}function ef(e){if(!w(e))return[];var t=[];for(var r in e)t.push(r);return A&&ea(e,t),t}function ep(e){var t=ei(e);return function(r){if(null==r||ei(ef(r)))return!1;for(var n=0;n<t;n++)if(!M(r[e[n]]))return!1;return e!==ey||!M(r[eg])}}var eg="forEach",em=["clear","delete"],eb=["get","has","set"],ev=em.concat(eg,eb),ey=em.concat(eb),e_=["add"].concat(em,eg,"has");let eA=B?ep(ev):E("Map"),ex=B?ep(ey):E("WeakMap"),eS=B?ep(e_):E("Set"),ew=E("WeakSet");function eT(e){for(var t=eo(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=e[t[i]];return n}function eD(e){for(var t=eo(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=[t[i],e[t[i]]];return n}function eC(e){for(var t={},r=eo(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t}function ek(e){var t=[];for(var r in e)M(e[r])&&t.push(r);return t.sort()}function eE(e,t){return function(r){var n=arguments.length;if(t&&(r=Object(r)),n<2||null==r)return r;for(var i=1;i<n;i++)for(var a=arguments[i],o=e(a),s=o.length,c=0;c<s;c++){var l=o[c];t&&void 0!==r[l]||(r[l]=a[l])}return r}}let eP=eE(ef),eR=eE(eo),eF=eE(ef,!0);function eU(e){if(!w(e))return{};if(b)return b(e);var t=function(){};t.prototype=e;var r=new t;return t.prototype=null,r}function eO(e,t){var r=eU(e);return t&&eR(r,t),r}function eI(e){return w(e)?G(e)?e.slice():eP({},e):e}function eL(e,t){return t(e),e}function eN(e){return G(e)?e:[e]}function ej(e){return el.toPath(e)}function eM(e,t){for(var r=t.length,n=0;n<r;n++){if(null==e)return;e=e[t[n]]}return r?e:void 0}function eW(e,t,r){var n=eM(e,ej(t));return D(n)?r:n}function eq(e,t){for(var r=(t=ej(t)).length,n=0;n<r;n++){var i=t[n];if(!X(e,i))return!1;e=e[i]}return!!r}function eB(e){return e}function ez(e){return e=eR({},e),function(t){return ec(t,e)}}function eH(e){return e=ej(e),function(t){return eM(t,e)}}function eG(e,t,r){if(void 0===t)return e;switch(null==r?3:r){case 1:return function(r){return e.call(t,r)};case 3:return function(r,n,i){return e.call(t,r,n,i)};case 4:return function(r,n,i,a){return e.call(t,r,n,i,a)}}return function(){return e.apply(t,arguments)}}function eX(e,t,r){return null==e?eB:M(e)?eG(e,t,r):w(e)&&!G(e)?ez(e):eH(e)}function eV(e,t){return eX(e,t,1/0)}function eY(e,t,r){return el.iteratee!==eV?el.iteratee(e,t):eX(e,t,r)}function eQ(e,t,r){t=eY(t,r);for(var n=eo(e),i=n.length,a={},o=0;o<i;o++){var s=n[o];a[s]=t(e[s],s,e)}return a}function eJ(){}function eK(e){return null==e?eJ:function(t){return eW(e,t)}}function eZ(e,t,r){var n=Array(Math.max(0,e));t=eG(t,r,1);for(var i=0;i<e;i++)n[i]=t(i);return n}function e$(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}el.toPath=eN,el.iteratee=eV;let e0=Date.now||function(){return new Date().getTime()};function e1(e){var t=function(t){return e[t]},r="(?:"+eo(e).join("|")+")",n=RegExp(r),i=RegExp(r,"g");return function(e){return e=null==e?"":""+e,n.test(e)?e.replace(i,t):e}}let e2={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},e3=e1(e2),e5=e1(eC(e2)),e8=el.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var e6=/(.)^/,e4={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},e9=/\\|'|\r|\n|\u2028|\u2029/g;function e7(e){return"\\"+e4[e]}var te=/^\s*(\w|\$)+\s*$/;function tt(e,t,r){!t&&r&&(t=r);var n,i=RegExp([((t=eF({},t,el.templateSettings)).escape||e6).source,(t.interpolate||e6).source,(t.evaluate||e6).source].join("|")+"|$","g"),a=0,o="__p+='";e.replace(i,function(t,r,n,i,s){return o+=e.slice(a,s).replace(e9,e7),a=s+t.length,r?o+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?o+="'+\n((__t=("+n+"))==null?'':__t)+\n'":i&&(o+="';\n"+i+"\n__p+='"),t}),o+="';\n";var s=t.variable;if(s){if(!te.test(s))throw Error("variable is not a bare identifier: "+s)}else o="with(obj||{}){\n"+o+"}\n",s="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{n=Function(s,"_",o)}catch(e){throw e.source=o,e}var c=function(e){return n.call(this,e,el)};return c.source="function("+s+"){\n"+o+"}",c}function tr(e,t,r){var n=(t=ej(t)).length;if(!n)return M(r)?r.call(e):r;for(var i=0;i<n;i++){var a=null==e?void 0:e[t[i]];void 0===a&&(a=r,i=n),e=M(a)?a.call(e):a}return e}var tn=0;function ti(e){var t=++tn+"";return e?e+t:t}function ta(e){var t=el(e);return t._chain=!0,t}function to(e,t,r,n,i){if(!(n instanceof t))return e.apply(r,i);var a=eU(e.prototype),o=e.apply(a,i);return w(o)?o:a}var ts=S(function(e,t){var r=ts.placeholder,n=function(){for(var i=0,a=t.length,o=Array(a),s=0;s<a;s++)o[s]=t[s]===r?arguments[i++]:t[s];for(;i<arguments.length;)o.push(arguments[i++]);return to(e,n,this,this,o)};return n});ts.placeholder=el;let tc=ts,tl=S(function(e,t,r){if(!M(e))throw TypeError("Bind must be called on a function");var n=S(function(i){return to(e,n,t,this,r.concat(i))});return n}),tu=Z(ei);function td(e,t,r){t||0===t||(t=1/0);for(var n=[],i=0,a=0,o=ei(e)||0,s=[];;){if(a>=o){if(!s.length)break;var c=s.pop();a=c.i,o=ei(e=c.v);continue}var l=e[a++];s.length>=t?n[i++]=l:tu(l)&&(G(l)||Y(l))?(s.push({i:a,v:e}),a=0,o=ei(e=l)):r||(n[i++]=l)}return n}let th=S(function(e,t){var r=(t=td(t,!1,!1)).length;if(r<1)throw Error("bindAll must be passed function names");for(;r--;){var n=t[r];e[n]=tl(e[n],e)}return e});function tf(e,t){var r=function(n){var i=r.cache,a=""+(t?t.apply(this,arguments):n);return X(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return r.cache={},r}let tp=S(function(e,t,r){return setTimeout(function(){return e.apply(null,r)},t)}),tg=tc(tp,el,1);function tm(e,t,r){var n,i,a,o,s=0;r||(r={});var c=function(){s=!1===r.leading?0:e0(),n=null,o=e.apply(i,a),n||(i=a=null)},l=function(){var l=e0();s||!1!==r.leading||(s=l);var u=t-(l-s);return i=this,a=arguments,u<=0||u>t?(n&&(clearTimeout(n),n=null),s=l,o=e.apply(i,a),n||(i=a=null)):n||!1===r.trailing||(n=setTimeout(c,u)),o};return l.cancel=function(){clearTimeout(n),s=0,n=i=a=null},l}function tb(e,t,r){var n,i,a,o,s,c=function(){var l=e0()-i;t>l?n=setTimeout(c,t-l):(n=null,r||(o=e.apply(s,a)),n||(a=s=null))},l=S(function(l){return s=this,a=l,i=e0(),!n&&(n=setTimeout(c,t),r&&(o=e.apply(s,a))),o});return l.cancel=function(){clearTimeout(n),n=a=s=null},l}function tv(e,t){return tc(t,e)}function ty(e){return function(){return!e.apply(this,arguments)}}function t_(){var e=arguments,t=e.length-1;return function(){for(var r=t,n=e[t].apply(this,arguments);r--;)n=e[r].call(this,n);return n}}function tA(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function tx(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}let tS=tc(tx,2);function tw(e,t,r){t=eY(t,r);for(var n,i=eo(e),a=0,o=i.length;a<o;a++)if(t(e[n=i[a]],n,e))return n}function tT(e){return function(t,r,n){r=eY(r,n);for(var i=ei(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(r(t[a],a,t))return a;return -1}}let tD=tT(1),tC=tT(-1);function tk(e,t,r,n){for(var i=(r=eY(r,n,1))(t),a=0,o=ei(e);a<o;){var s=Math.floor((a+o)/2);r(e[s])<i?a=s+1:o=s}return a}function tE(e,t,r){return function(n,i,a){var o=0,s=ei(n);if("number"==typeof a)e>0?o=a>=0?a:Math.max(a+s,o):s=a>=0?Math.min(a+1,s):a+s+1;else if(r&&a&&s)return a=r(n,i),n[a]===i?a:-1;if(i!=i)return(a=t(u.call(n,o,s),J))>=0?a+o:-1;for(a=e>0?o:s-1;a>=0&&a<s;a+=e)if(n[a]===i)return a;return -1}}let tP=tE(1,tD,tk),tR=tE(-1,tC);function tF(e,t,r){var n=(tu(e)?tD:tw)(e,t,r);if(void 0!==n&&-1!==n)return e[n]}function tU(e,t){return tF(e,ez(t))}function tO(e,t,r){if(t=eG(t,r),tu(e))for(n=0,i=e.length;n<i;n++)t(e[n],n,e);else{var n,i,a=eo(e);for(n=0,i=a.length;n<i;n++)t(e[a[n]],a[n],e)}return e}function tI(e,t,r){t=eY(t,r);for(var n=!tu(e)&&eo(e),i=(n||e).length,a=Array(i),o=0;o<i;o++){var s=n?n[o]:o;a[o]=t(e[s],s,e)}return a}function tL(e){var t=function(t,r,n,i){var a=!tu(t)&&eo(t),o=(a||t).length,s=e>0?0:o-1;for(i||(n=t[a?a[s]:s],s+=e);s>=0&&s<o;s+=e){var c=a?a[s]:s;n=r(n,t[c],c,t)}return n};return function(e,r,n,i){var a=arguments.length>=3;return t(e,eG(r,i,4),n,a)}}let tN=tL(1),tj=tL(-1);function tM(e,t,r){var n=[];return t=eY(t,r),tO(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function tW(e,t,r){return tM(e,ty(eY(t)),r)}function tq(e,t,r){t=eY(t,r);for(var n=!tu(e)&&eo(e),i=(n||e).length,a=0;a<i;a++){var o=n?n[a]:a;if(!t(e[o],o,e))return!1}return!0}function tB(e,t,r){t=eY(t,r);for(var n=!tu(e)&&eo(e),i=(n||e).length,a=0;a<i;a++){var o=n?n[a]:a;if(t(e[o],o,e))return!0}return!1}function tz(e,t,r,n){return tu(e)||(e=eT(e)),("number"!=typeof r||n)&&(r=0),tP(e,t,r)>=0}let tH=S(function(e,t,r){var n,i;return M(t)?i=t:(n=(t=ej(t)).slice(0,-1),t=t[t.length-1]),tI(e,function(e){var a=i;if(!a){if(n&&n.length&&(e=eM(e,n)),null==e)return;a=e[t]}return null==a?a:a.apply(e,r)})});function tG(e,t){return tI(e,eH(t))}function tX(e,t){return tM(e,ez(t))}function tV(e,t,r){var n,i,a=-1/0,o=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e){e=tu(e)?e:eT(e);for(var s=0,c=e.length;s<c;s++)null!=(n=e[s])&&n>a&&(a=n)}else t=eY(t,r),tO(e,function(e,r,n){((i=t(e,r,n))>o||i===-1/0&&a===-1/0)&&(a=e,o=i)});return a}function tY(e,t,r){var n,i,a=1/0,o=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e){e=tu(e)?e:eT(e);for(var s=0,c=e.length;s<c;s++)null!=(n=e[s])&&n<a&&(a=n)}else t=eY(t,r),tO(e,function(e,r,n){((i=t(e,r,n))<o||i===1/0&&a===1/0)&&(a=e,o=i)});return a}var tQ=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function tJ(e){return e?G(e)?u.call(e):P(e)?e.match(tQ):tu(e)?tI(e,eB):eT(e):[]}function tK(e,t,r){if(null==t||r)return tu(e)||(e=eT(e)),e[e$(e.length-1)];var n=tJ(e),i=ei(n);t=Math.max(Math.min(t,i),0);for(var a=i-1,o=0;o<t;o++){var s=e$(o,a),c=n[o];n[o]=n[s],n[s]=c}return n.slice(0,t)}function tZ(e){return tK(e,1/0)}function t$(e,t,r){var n=0;return t=eY(t,r),tG(tI(e,function(e,r,i){return{value:e,index:n++,criteria:t(e,r,i)}}).sort(function(e,t){var r=e.criteria,n=t.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return -1}return e.index-t.index}),"value")}function t0(e,t){return function(r,n,i){var a=t?[[],[]]:{};return n=eY(n,i),tO(r,function(t,i){var o=n(t,i,r);e(a,t,o)}),a}}let t1=t0(function(e,t,r){X(e,r)?e[r].push(t):e[r]=[t]}),t2=t0(function(e,t,r){e[r]=t}),t3=t0(function(e,t,r){X(e,r)?e[r]++:e[r]=1}),t5=t0(function(e,t,r){e[r?0:1].push(t)},!0);function t8(e){return null==e?0:tu(e)?e.length:eo(e).length}function t6(e,t,r){return t in r}let t4=S(function(e,t){var r={},n=t[0];if(null==e)return r;M(n)?(t.length>1&&(n=eG(n,t[1])),t=ef(e)):(n=t6,t=td(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var o=t[i],s=e[o];n(s,o,e)&&(r[o]=s)}return r}),t9=S(function(e,t){var r,n=t[0];return M(n)?(n=ty(n),t.length>1&&(r=t[1])):(t=tI(td(t,!1,!1),String),n=function(e,r){return!tz(t,r)}),t4(e,n,r)});function t7(e,t,r){return u.call(e,0,Math.max(0,e.length-(null==t||r?1:t)))}function re(e,t,r){return null==e||e.length<1?null==t||r?void 0:[]:null==t||r?e[0]:t7(e,e.length-t)}function rt(e,t,r){return u.call(e,null==t||r?1:t)}function rr(e,t,r){return null==e||e.length<1?null==t||r?void 0:[]:null==t||r?e[e.length-1]:rt(e,Math.max(0,e.length-t))}function rn(e){return tM(e,Boolean)}function ri(e,t){return td(e,t,!1)}let ra=S(function(e,t){return t=td(t,!0,!0),tM(e,function(e){return!tz(t,e)})}),ro=S(function(e,t){return ra(e,t)});function rs(e,t,r,n){C(t)||(n=r,r=t,t=!1),null!=r&&(r=eY(r,n));for(var i=[],a=[],o=0,s=ei(e);o<s;o++){var c=e[o],l=r?r(c,o,e):c;t&&!r?(o&&a===l||i.push(c),a=l):r?tz(a,l)||(a.push(l),i.push(c)):tz(i,c)||i.push(c)}return i}let rc=S(function(e){return rs(td(e,!0,!0))});function rl(e){for(var t=[],r=arguments.length,n=0,i=ei(e);n<i;n++){var a,o=e[n];if(!tz(t,o)){for(a=1;a<r&&tz(arguments[a],o);a++);a===r&&t.push(o)}}return t}function ru(e){for(var t=e&&tV(e,ei).length||0,r=Array(t),n=0;n<t;n++)r[n]=tG(e,n);return r}let rd=S(ru);function rh(e,t){for(var r={},n=0,i=ei(e);n<i;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function rf(e,t,r){null==t&&(t=e||0,e=0),r||(r=t<e?-1:1);for(var n=Math.max(Math.ceil((t-e)/r),0),i=Array(n),a=0;a<n;a++,e+=r)i[a]=e;return i}function rp(e,t){if(null==t||t<1)return[];for(var r=[],n=0,i=e.length;n<i;)r.push(u.call(e,n,n+=t));return r}function rg(e,t){return e._chain?el(t).chain():t}function rm(e){return tO(ek(e),function(t){var r=el[t]=e[t];el.prototype[t]=function(){var e=[this._wrapped];return l.apply(e,arguments),rg(this,r.apply(el,e))}}),el}tO(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=o[e];el.prototype[e]=function(){var r=this._wrapped;return null!=r&&(t.apply(r,arguments),("shift"===e||"splice"===e)&&0===r.length&&delete r[0]),rg(this,r)}}),tO(["concat","join","slice"],function(e){var t=o[e];el.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),rg(this,e)}});let rb=el;var rv=rm(n);rv._=rv;let ry=rv},691:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(55511);let i={randomUUID:n.randomUUID},a=new Uint8Array(256),o=a.length,s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));let c=function(e,t,r){if(i.randomUUID&&!t&&!e)return i.randomUUID();let c=(e=e||{}).random??e.rng?.()??(o>a.length-16&&((0,n.randomFillSync)(a),o=0),a.slice(o,o+=16));if(c.length<16)throw Error("Random bytes length must be >= 16");if(c[6]=15&c[6]|64,c[8]=63&c[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=c[e];return t}return function(e,t=0){return(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase()}(c)}}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[5994,5452],()=>r(31824));module.exports=n})();
|